1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for ecasound 2.9.3.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='ecasound'
589PACKAGE_TARNAME='ecasound'
590PACKAGE_VERSION='2.9.3'
591PACKAGE_STRING='ecasound 2.9.3'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="libecasound/audiofx.h"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_header_list=
633ac_subst_vars='LTLIBOBJS
634LIBOBJS
635ECA_AM_ALL_STATIC_FALSE
636ECA_AM_ALL_STATIC_TRUE
637ECA_S_EXTRA_LIBS
638ECA_S_EXTRA_CPPFLAGS
639LIBLO_LIBS
640LIBLO_CFLAGS
641LIBLILV_LIBS
642LIBLILV_CFLAGS
643LIBOIL_LIBS
644LIBOIL_CFLAGS
645PKG_CONFIG_LIBDIR
646PKG_CONFIG_PATH
647PKG_CONFIG
648ECA_S_READLINE_LIBS
649ECA_S_READLINE_INCLUDES
650ECA_AM_SYSTEM_READLINE_FALSE
651ECA_AM_SYSTEM_READLINE_TRUE
652ECA_AM_KVUTILS_INSTALLED_FALSE
653ECA_AM_KVUTILS_INSTALLED_TRUE
654ECA_S_JACK_INCLUDES
655ECA_S_JACK_LIBS
656ECA_AM_COMPILE_JACK_FALSE
657ECA_AM_COMPILE_JACK_TRUE
658ECA_AM_COMPILE_ALSA_FALSE
659ECA_AM_COMPILE_ALSA_TRUE
660ECA_AM_COMPILE_SNDFILE_FALSE
661ECA_AM_COMPILE_SNDFILE_TRUE
662ECA_AM_COMPILE_AUDIOFILE_FALSE
663ECA_AM_COMPILE_AUDIOFILE_TRUE
664ECA_AM_USE_TERMCAP_FALSE
665ECA_AM_USE_TERMCAP_TRUE
666ECA_AM_USE_NCURSES_FALSE
667ECA_AM_USE_NCURSES_TRUE
668LT_SYS_LIBRARY_PATH
669OTOOL64
670OTOOL
671LIPO
672NMEDIT
673DSYMUTIL
674MANIFEST_TOOL
675RANLIB
676ac_ct_AR
677AR
678DLLTOOL
679OBJDUMP
680LN_S
681NM
682ac_ct_DUMPBIN
683DUMPBIN
684LD
685FGREP
686SED
687LIBTOOL
688ECA_AM_RUBYECASOUND_INSTALL_FALSE
689ECA_AM_RUBYECASOUND_INSTALL_TRUE
690ECA_S_RUBY_SITEDIR
691RUBYPATH
692ECA_AM_PYECASOUND_INSTALL_FALSE
693ECA_AM_PYECASOUND_INSTALL_TRUE
694ECA_AM_PYECASOUND_CEXT_FALSE
695ECA_AM_PYECASOUND_CEXT_TRUE
696ECA_S_PYTHON_DLMODULES
697ECA_S_PYTHON_MODULES
698PYTHONPATH
699ECA_AM_COMPILE_SAMPLERATE_FALSE
700ECA_AM_COMPILE_SAMPLERATE_TRUE
701ECA_AM_COMPILE_ARTS_FALSE
702ECA_AM_COMPILE_ARTS_TRUE
703ARTSC_CONFIG
704ECA_AM_COMPILE_OSS_FALSE
705ECA_AM_COMPILE_OSS_TRUE
706EGREP
707GREP
708CXXCPP
709ECA_AM_DISABLE_EFFECTS_FALSE
710ECA_AM_DISABLE_EFFECTS_TRUE
711ECA_S_PREFIX
712ECA_AM_FEELING_EXPERIMENTAL_FALSE
713ECA_AM_FEELING_EXPERIMENTAL_TRUE
714ECA_AM_DEBUG_MODE_FALSE
715ECA_AM_DEBUG_MODE_TRUE
716AM_LDFLAGS
717AM_CPPFLAGS
718AM_CXXFLAGS
719AM_CFLAGS
720host_os
721host_vendor
722host_cpu
723host
724build_os
725build_vendor
726build_cpu
727build
728CPP
729am__fastdepCXX_FALSE
730am__fastdepCXX_TRUE
731CXXDEPMODE
732ac_ct_CXX
733CXXFLAGS
734CXX
735am__fastdepCC_FALSE
736am__fastdepCC_TRUE
737CCDEPMODE
738AMDEPBACKSLASH
739AMDEP_FALSE
740AMDEP_TRUE
741am__quote
742am__include
743DEPDIR
744OBJEXT
745EXEEXT
746ac_ct_CC
747CPPFLAGS
748LDFLAGS
749CFLAGS
750CC
751LIBKVUTILS_VERSION_AGE
752LIBKVUTILS_VERSION
753LIBECASOUNDC_VERSION_AGE
754LIBECASOUNDC_VERSION
755LIBECASOUND_VERSION_AGE
756LIBECASOUND_VERSION
757am__untar
758am__tar
759AMTAR
760am__leading_dot
761SET_MAKE
762AWK
763mkdir_p
764INSTALL_STRIP_PROGRAM
765STRIP
766install_sh
767MAKEINFO
768AUTOHEADER
769AUTOMAKE
770AUTOCONF
771ACLOCAL
772VERSION
773PACKAGE
774CYGPATH_W
775INSTALL_DATA
776INSTALL_SCRIPT
777INSTALL_PROGRAM
778target_alias
779host_alias
780build_alias
781LIBS
782ECHO_T
783ECHO_N
784ECHO_C
785DEFS
786mandir
787localedir
788libdir
789psdir
790pdfdir
791dvidir
792htmldir
793infodir
794docdir
795oldincludedir
796includedir
797runstatedir
798localstatedir
799sharedstatedir
800sysconfdir
801datadir
802datarootdir
803libexecdir
804sbindir
805bindir
806program_transform_name
807prefix
808exec_prefix
809PACKAGE_URL
810PACKAGE_BUGREPORT
811PACKAGE_STRING
812PACKAGE_VERSION
813PACKAGE_TARNAME
814PACKAGE_NAME
815PATH_SEPARATOR
816SHELL'
817ac_subst_files=''
818ac_user_opts='
819enable_option_checking
820enable_dependency_tracking
821enable_debug
822enable_experimental
823enable_dbc
824enable_effects
825with_extra_cppflags
826with_extra_libs
827with_largefile
828enable_largefile
829enable_oss
830enable_osstrigger
831enable_arts
832with_libsamplerate
833enable_libsamplerate
834enable_pyecasound
835with_python_modules
836enable_python_force_site_packages
837enable_rubyecasound
838enable_shared
839enable_static
840with_pic
841enable_fast_install
842with_aix_soname
843with_gnu_ld
844with_sysroot
845enable_libtool_lock
846enable_ncurses
847enable_audiofile
848enable_sndfile
849enable_alsa
850with_jack
851enable_jack
852enable_sys_readline
853enable_liboil
854enable_liblilv
855enable_liblo
856enable_all_static
857'
858      ac_precious_vars='build_alias
859host_alias
860target_alias
861CC
862CFLAGS
863LDFLAGS
864LIBS
865CPPFLAGS
866CXX
867CXXFLAGS
868CCC
869CPP
870CXXCPP
871LT_SYS_LIBRARY_PATH
872PKG_CONFIG
873PKG_CONFIG_PATH
874PKG_CONFIG_LIBDIR
875LIBOIL_CFLAGS
876LIBOIL_LIBS
877LIBLILV_CFLAGS
878LIBLILV_LIBS
879LIBLO_CFLAGS
880LIBLO_LIBS'
881
882
883# Initialize some variables set by options.
884ac_init_help=
885ac_init_version=false
886ac_unrecognized_opts=
887ac_unrecognized_sep=
888# The variables have the same names as the options, with
889# dashes changed to underlines.
890cache_file=/dev/null
891exec_prefix=NONE
892no_create=
893no_recursion=
894prefix=NONE
895program_prefix=NONE
896program_suffix=NONE
897program_transform_name=s,x,x,
898silent=
899site=
900srcdir=
901verbose=
902x_includes=NONE
903x_libraries=NONE
904
905# Installation directory options.
906# These are left unexpanded so users can "make install exec_prefix=/foo"
907# and all the variables that are supposed to be based on exec_prefix
908# by default will actually change.
909# Use braces instead of parens because sh, perl, etc. also accept them.
910# (The list follows the same order as the GNU Coding Standards.)
911bindir='${exec_prefix}/bin'
912sbindir='${exec_prefix}/sbin'
913libexecdir='${exec_prefix}/libexec'
914datarootdir='${prefix}/share'
915datadir='${datarootdir}'
916sysconfdir='${prefix}/etc'
917sharedstatedir='${prefix}/com'
918localstatedir='${prefix}/var'
919runstatedir='${localstatedir}/run'
920includedir='${prefix}/include'
921oldincludedir='/usr/include'
922docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
923infodir='${datarootdir}/info'
924htmldir='${docdir}'
925dvidir='${docdir}'
926pdfdir='${docdir}'
927psdir='${docdir}'
928libdir='${exec_prefix}/lib'
929localedir='${datarootdir}/locale'
930mandir='${datarootdir}/man'
931
932ac_prev=
933ac_dashdash=
934for ac_option
935do
936  # If the previous option needs an argument, assign it.
937  if test -n "$ac_prev"; then
938    eval $ac_prev=\$ac_option
939    ac_prev=
940    continue
941  fi
942
943  case $ac_option in
944  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945  *=)   ac_optarg= ;;
946  *)    ac_optarg=yes ;;
947  esac
948
949  # Accept the important Cygnus configure options, so we can diagnose typos.
950
951  case $ac_dashdash$ac_option in
952  --)
953    ac_dashdash=yes ;;
954
955  -bindir | --bindir | --bindi | --bind | --bin | --bi)
956    ac_prev=bindir ;;
957  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
958    bindir=$ac_optarg ;;
959
960  -build | --build | --buil | --bui | --bu)
961    ac_prev=build_alias ;;
962  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
963    build_alias=$ac_optarg ;;
964
965  -cache-file | --cache-file | --cache-fil | --cache-fi \
966  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
967    ac_prev=cache_file ;;
968  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
969  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
970    cache_file=$ac_optarg ;;
971
972  --config-cache | -C)
973    cache_file=config.cache ;;
974
975  -datadir | --datadir | --datadi | --datad)
976    ac_prev=datadir ;;
977  -datadir=* | --datadir=* | --datadi=* | --datad=*)
978    datadir=$ac_optarg ;;
979
980  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
981  | --dataroo | --dataro | --datar)
982    ac_prev=datarootdir ;;
983  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
984  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
985    datarootdir=$ac_optarg ;;
986
987  -disable-* | --disable-*)
988    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989    # Reject names that are not valid shell variable names.
990    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991      as_fn_error $? "invalid feature name: $ac_useropt"
992    ac_useropt_orig=$ac_useropt
993    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994    case $ac_user_opts in
995      *"
996"enable_$ac_useropt"
997"*) ;;
998      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999	 ac_unrecognized_sep=', ';;
1000    esac
1001    eval enable_$ac_useropt=no ;;
1002
1003  -docdir | --docdir | --docdi | --doc | --do)
1004    ac_prev=docdir ;;
1005  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1006    docdir=$ac_optarg ;;
1007
1008  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1009    ac_prev=dvidir ;;
1010  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1011    dvidir=$ac_optarg ;;
1012
1013  -enable-* | --enable-*)
1014    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015    # Reject names that are not valid shell variable names.
1016    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017      as_fn_error $? "invalid feature name: $ac_useropt"
1018    ac_useropt_orig=$ac_useropt
1019    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020    case $ac_user_opts in
1021      *"
1022"enable_$ac_useropt"
1023"*) ;;
1024      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1025	 ac_unrecognized_sep=', ';;
1026    esac
1027    eval enable_$ac_useropt=\$ac_optarg ;;
1028
1029  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1031  | --exec | --exe | --ex)
1032    ac_prev=exec_prefix ;;
1033  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1034  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1035  | --exec=* | --exe=* | --ex=*)
1036    exec_prefix=$ac_optarg ;;
1037
1038  -gas | --gas | --ga | --g)
1039    # Obsolete; use --with-gas.
1040    with_gas=yes ;;
1041
1042  -help | --help | --hel | --he | -h)
1043    ac_init_help=long ;;
1044  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1045    ac_init_help=recursive ;;
1046  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1047    ac_init_help=short ;;
1048
1049  -host | --host | --hos | --ho)
1050    ac_prev=host_alias ;;
1051  -host=* | --host=* | --hos=* | --ho=*)
1052    host_alias=$ac_optarg ;;
1053
1054  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1055    ac_prev=htmldir ;;
1056  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1057  | --ht=*)
1058    htmldir=$ac_optarg ;;
1059
1060  -includedir | --includedir | --includedi | --included | --include \
1061  | --includ | --inclu | --incl | --inc)
1062    ac_prev=includedir ;;
1063  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1064  | --includ=* | --inclu=* | --incl=* | --inc=*)
1065    includedir=$ac_optarg ;;
1066
1067  -infodir | --infodir | --infodi | --infod | --info | --inf)
1068    ac_prev=infodir ;;
1069  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1070    infodir=$ac_optarg ;;
1071
1072  -libdir | --libdir | --libdi | --libd)
1073    ac_prev=libdir ;;
1074  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1075    libdir=$ac_optarg ;;
1076
1077  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1078  | --libexe | --libex | --libe)
1079    ac_prev=libexecdir ;;
1080  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1081  | --libexe=* | --libex=* | --libe=*)
1082    libexecdir=$ac_optarg ;;
1083
1084  -localedir | --localedir | --localedi | --localed | --locale)
1085    ac_prev=localedir ;;
1086  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1087    localedir=$ac_optarg ;;
1088
1089  -localstatedir | --localstatedir | --localstatedi | --localstated \
1090  | --localstate | --localstat | --localsta | --localst | --locals)
1091    ac_prev=localstatedir ;;
1092  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1093  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1094    localstatedir=$ac_optarg ;;
1095
1096  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1097    ac_prev=mandir ;;
1098  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1099    mandir=$ac_optarg ;;
1100
1101  -nfp | --nfp | --nf)
1102    # Obsolete; use --without-fp.
1103    with_fp=no ;;
1104
1105  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1106  | --no-cr | --no-c | -n)
1107    no_create=yes ;;
1108
1109  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1110  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1111    no_recursion=yes ;;
1112
1113  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1114  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1115  | --oldin | --oldi | --old | --ol | --o)
1116    ac_prev=oldincludedir ;;
1117  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1118  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1119  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1120    oldincludedir=$ac_optarg ;;
1121
1122  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1123    ac_prev=prefix ;;
1124  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1125    prefix=$ac_optarg ;;
1126
1127  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1128  | --program-pre | --program-pr | --program-p)
1129    ac_prev=program_prefix ;;
1130  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1131  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1132    program_prefix=$ac_optarg ;;
1133
1134  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1135  | --program-suf | --program-su | --program-s)
1136    ac_prev=program_suffix ;;
1137  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1138  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1139    program_suffix=$ac_optarg ;;
1140
1141  -program-transform-name | --program-transform-name \
1142  | --program-transform-nam | --program-transform-na \
1143  | --program-transform-n | --program-transform- \
1144  | --program-transform | --program-transfor \
1145  | --program-transfo | --program-transf \
1146  | --program-trans | --program-tran \
1147  | --progr-tra | --program-tr | --program-t)
1148    ac_prev=program_transform_name ;;
1149  -program-transform-name=* | --program-transform-name=* \
1150  | --program-transform-nam=* | --program-transform-na=* \
1151  | --program-transform-n=* | --program-transform-=* \
1152  | --program-transform=* | --program-transfor=* \
1153  | --program-transfo=* | --program-transf=* \
1154  | --program-trans=* | --program-tran=* \
1155  | --progr-tra=* | --program-tr=* | --program-t=*)
1156    program_transform_name=$ac_optarg ;;
1157
1158  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1159    ac_prev=pdfdir ;;
1160  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1161    pdfdir=$ac_optarg ;;
1162
1163  -psdir | --psdir | --psdi | --psd | --ps)
1164    ac_prev=psdir ;;
1165  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1166    psdir=$ac_optarg ;;
1167
1168  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1169  | -silent | --silent | --silen | --sile | --sil)
1170    silent=yes ;;
1171
1172  -runstatedir | --runstatedir | --runstatedi | --runstated \
1173  | --runstate | --runstat | --runsta | --runst | --runs \
1174  | --run | --ru | --r)
1175    ac_prev=runstatedir ;;
1176  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1177  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1178  | --run=* | --ru=* | --r=*)
1179    runstatedir=$ac_optarg ;;
1180
1181  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182    ac_prev=sbindir ;;
1183  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184  | --sbi=* | --sb=*)
1185    sbindir=$ac_optarg ;;
1186
1187  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189  | --sharedst | --shareds | --shared | --share | --shar \
1190  | --sha | --sh)
1191    ac_prev=sharedstatedir ;;
1192  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195  | --sha=* | --sh=*)
1196    sharedstatedir=$ac_optarg ;;
1197
1198  -site | --site | --sit)
1199    ac_prev=site ;;
1200  -site=* | --site=* | --sit=*)
1201    site=$ac_optarg ;;
1202
1203  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204    ac_prev=srcdir ;;
1205  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206    srcdir=$ac_optarg ;;
1207
1208  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209  | --syscon | --sysco | --sysc | --sys | --sy)
1210    ac_prev=sysconfdir ;;
1211  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213    sysconfdir=$ac_optarg ;;
1214
1215  -target | --target | --targe | --targ | --tar | --ta | --t)
1216    ac_prev=target_alias ;;
1217  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218    target_alias=$ac_optarg ;;
1219
1220  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221    verbose=yes ;;
1222
1223  -version | --version | --versio | --versi | --vers | -V)
1224    ac_init_version=: ;;
1225
1226  -with-* | --with-*)
1227    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228    # Reject names that are not valid shell variable names.
1229    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230      as_fn_error $? "invalid package name: $ac_useropt"
1231    ac_useropt_orig=$ac_useropt
1232    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233    case $ac_user_opts in
1234      *"
1235"with_$ac_useropt"
1236"*) ;;
1237      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238	 ac_unrecognized_sep=', ';;
1239    esac
1240    eval with_$ac_useropt=\$ac_optarg ;;
1241
1242  -without-* | --without-*)
1243    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244    # Reject names that are not valid shell variable names.
1245    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246      as_fn_error $? "invalid package name: $ac_useropt"
1247    ac_useropt_orig=$ac_useropt
1248    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249    case $ac_user_opts in
1250      *"
1251"with_$ac_useropt"
1252"*) ;;
1253      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254	 ac_unrecognized_sep=', ';;
1255    esac
1256    eval with_$ac_useropt=no ;;
1257
1258  --x)
1259    # Obsolete; use --with-x.
1260    with_x=yes ;;
1261
1262  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263  | --x-incl | --x-inc | --x-in | --x-i)
1264    ac_prev=x_includes ;;
1265  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267    x_includes=$ac_optarg ;;
1268
1269  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271    ac_prev=x_libraries ;;
1272  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274    x_libraries=$ac_optarg ;;
1275
1276  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1277Try \`$0 --help' for more information"
1278    ;;
1279
1280  *=*)
1281    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282    # Reject names that are not valid shell variable names.
1283    case $ac_envvar in #(
1284      '' | [0-9]* | *[!_$as_cr_alnum]* )
1285      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1286    esac
1287    eval $ac_envvar=\$ac_optarg
1288    export $ac_envvar ;;
1289
1290  *)
1291    # FIXME: should be removed in autoconf 3.0.
1292    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1296    ;;
1297
1298  esac
1299done
1300
1301if test -n "$ac_prev"; then
1302  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303  as_fn_error $? "missing argument to $ac_option"
1304fi
1305
1306if test -n "$ac_unrecognized_opts"; then
1307  case $enable_option_checking in
1308    no) ;;
1309    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1310    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311  esac
1312fi
1313
1314# Check all directory arguments for consistency.
1315for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316		datadir sysconfdir sharedstatedir localstatedir includedir \
1317		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318		libdir localedir mandir runstatedir
1319do
1320  eval ac_val=\$$ac_var
1321  # Remove trailing slashes.
1322  case $ac_val in
1323    */ )
1324      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325      eval $ac_var=\$ac_val;;
1326  esac
1327  # Be sure to have absolute directory names.
1328  case $ac_val in
1329    [\\/$]* | ?:[\\/]* )  continue;;
1330    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331  esac
1332  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1333done
1334
1335# There might be people who depend on the old broken behavior: `$host'
1336# used to hold the argument of --host etc.
1337# FIXME: To remove some day.
1338build=$build_alias
1339host=$host_alias
1340target=$target_alias
1341
1342# FIXME: To remove some day.
1343if test "x$host_alias" != x; then
1344  if test "x$build_alias" = x; then
1345    cross_compiling=maybe
1346  elif test "x$build_alias" != "x$host_alias"; then
1347    cross_compiling=yes
1348  fi
1349fi
1350
1351ac_tool_prefix=
1352test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354test "$silent" = yes && exec 6>/dev/null
1355
1356
1357ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358ac_ls_di=`ls -di .` &&
1359ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360  as_fn_error $? "working directory cannot be determined"
1361test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362  as_fn_error $? "pwd does not report name of working directory"
1363
1364
1365# Find the source files, if location was not specified.
1366if test -z "$srcdir"; then
1367  ac_srcdir_defaulted=yes
1368  # Try the directory containing this script, then the parent directory.
1369  ac_confdir=`$as_dirname -- "$as_myself" ||
1370$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371	 X"$as_myself" : 'X\(//\)[^/]' \| \
1372	 X"$as_myself" : 'X\(//\)$' \| \
1373	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374$as_echo X"$as_myself" |
1375    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376	    s//\1/
1377	    q
1378	  }
1379	  /^X\(\/\/\)[^/].*/{
1380	    s//\1/
1381	    q
1382	  }
1383	  /^X\(\/\/\)$/{
1384	    s//\1/
1385	    q
1386	  }
1387	  /^X\(\/\).*/{
1388	    s//\1/
1389	    q
1390	  }
1391	  s/.*/./; q'`
1392  srcdir=$ac_confdir
1393  if test ! -r "$srcdir/$ac_unique_file"; then
1394    srcdir=..
1395  fi
1396else
1397  ac_srcdir_defaulted=no
1398fi
1399if test ! -r "$srcdir/$ac_unique_file"; then
1400  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1402fi
1403ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404ac_abs_confdir=`(
1405	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1406	pwd)`
1407# When building in place, set srcdir=.
1408if test "$ac_abs_confdir" = "$ac_pwd"; then
1409  srcdir=.
1410fi
1411# Remove unnecessary trailing slashes from srcdir.
1412# Double slashes in file names in object file debugging info
1413# mess up M-x gdb in Emacs.
1414case $srcdir in
1415*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416esac
1417for ac_var in $ac_precious_vars; do
1418  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419  eval ac_env_${ac_var}_value=\$${ac_var}
1420  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422done
1423
1424#
1425# Report the --help message.
1426#
1427if test "$ac_init_help" = "long"; then
1428  # Omit some internal or obsolete options to make the list less imposing.
1429  # This message is too long to be a string in the A/UX 3.1 sh.
1430  cat <<_ACEOF
1431\`configure' configures ecasound 2.9.3 to adapt to many kinds of systems.
1432
1433Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436VAR=VALUE.  See below for descriptions of some of the useful variables.
1437
1438Defaults for the options are specified in brackets.
1439
1440Configuration:
1441  -h, --help              display this help and exit
1442      --help=short        display options specific to this package
1443      --help=recursive    display the short help of all the included packages
1444  -V, --version           display version information and exit
1445  -q, --quiet, --silent   do not print \`checking ...' messages
1446      --cache-file=FILE   cache test results in FILE [disabled]
1447  -C, --config-cache      alias for \`--cache-file=config.cache'
1448  -n, --no-create         do not create output files
1449      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1450
1451Installation directories:
1452  --prefix=PREFIX         install architecture-independent files in PREFIX
1453                          [$ac_default_prefix]
1454  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1455                          [PREFIX]
1456
1457By default, \`make install' will install all the files in
1458\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1459an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460for instance \`--prefix=\$HOME'.
1461
1462For better control, use the options below.
1463
1464Fine tuning of the installation directories:
1465  --bindir=DIR            user executables [EPREFIX/bin]
1466  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1467  --libexecdir=DIR        program executables [EPREFIX/libexec]
1468  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1469  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1470  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1471  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1472  --libdir=DIR            object code libraries [EPREFIX/lib]
1473  --includedir=DIR        C header files [PREFIX/include]
1474  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1475  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1476  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1477  --infodir=DIR           info documentation [DATAROOTDIR/info]
1478  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1479  --mandir=DIR            man documentation [DATAROOTDIR/man]
1480  --docdir=DIR            documentation root [DATAROOTDIR/doc/ecasound]
1481  --htmldir=DIR           html documentation [DOCDIR]
1482  --dvidir=DIR            dvi documentation [DOCDIR]
1483  --pdfdir=DIR            pdf documentation [DOCDIR]
1484  --psdir=DIR             ps documentation [DOCDIR]
1485_ACEOF
1486
1487  cat <<\_ACEOF
1488
1489Program names:
1490  --program-prefix=PREFIX            prepend PREFIX to installed program names
1491  --program-suffix=SUFFIX            append SUFFIX to installed program names
1492  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1493
1494System types:
1495  --build=BUILD     configure for building on BUILD [guessed]
1496  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1497_ACEOF
1498fi
1499
1500if test -n "$ac_init_help"; then
1501  case $ac_init_help in
1502     short | recursive ) echo "Configuration of ecasound 2.9.3:";;
1503   esac
1504  cat <<\_ACEOF
1505
1506Optional Features:
1507  --disable-option-checking  ignore unrecognized --enable/--with options
1508  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1509  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1510  --disable-dependency-tracking  speeds up one-time build
1511  --enable-dependency-tracking   do not reject slow dependency extractors
1512  --enable-debug	  Enable debugging (default = no)
1513  --enable-experimental	  Enable experimental code (default = no)
1514  --disable-dbc		  Don't check design-by-contract assertions (default = check)
1515  --disable-effects	  Disable effects (default = no)
1516  --disable-largefile     omit support for large files
1517  --disable-oss		  Disable OSS (default = no)
1518  --disable-osstrigger 	  Disable the use of OSS trigger functions (default = no)
1519  --disable-arts	  Disable aRts support (default = no)
1520  --disable-libsamplerate Disable libsamplerate support (default = no)
1521  --enable-pyecasound 	  Enable compilation of pyecasound (default = python)
1522  --enable-python-force-site-packages force install Python modules into site-packages even when it doesn't exist default=no
1523  --enable-rubyecasound	  Enable rubyecasound (default = yes)
1524  --enable-shared[=PKGS]  build shared libraries [default=yes]
1525  --enable-static[=PKGS]  build static libraries [default=yes]
1526  --enable-fast-install[=PKGS]
1527                          optimize for fast installation [default=yes]
1528  --disable-libtool-lock  avoid locking (might break parallel builds)
1529  --disable-ncurses	  Disable ncurses (default = no)
1530  --disable-audiofile	  Disable libaudiofile (default = no)
1531  --disable-sndfile	  Disable libsndfile (default = no)
1532  --disable-alsa	  Disable ALSA (default = no)
1533  --enable-jack		  Enable JACK support (default=yes, if found)
1534  --enable-sys-readline	  Compile with system readline (default=yes)
1535  --enable-liboil		Use liboil if available (default=no)
1536  --enable-liblilv		Use liblilv if available (default=yes)
1537  --enable-liblo		Use liblo if available (default=yes)
1538  --enable-all-static	  Build only static binaries (default = no)
1539
1540Optional Packages:
1541  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1542  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1543  --with-extra-cppflags=FLAGS pass extra flags to cpp
1544  --with-extra-libs=FLAGS pass extra flags to linker
1545  --with-largefile        deprecated option, now used by default
1546  --with-libsamplerate=DIR	Compile against libsamplerate installed in DIR
1547  --with-python-modules=DIR install Python modules in DIR
1548  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1549                          both]
1550  --with-aix-soname=aix|svr4|both
1551                          shared library versioning (aka "SONAME") variant to
1552                          provide on AIX, [default=aix].
1553  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1554  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1555                          compiler's sysroot if not specified).
1556  --with-jack=DIR	  Compile against JACK installed in DIR
1557
1558Some influential environment variables:
1559  CC          C compiler command
1560  CFLAGS      C compiler flags
1561  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1562              nonstandard directory <lib dir>
1563  LIBS        libraries to pass to the linker, e.g. -l<library>
1564  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565              you have headers in a nonstandard directory <include dir>
1566  CXX         C++ compiler command
1567  CXXFLAGS    C++ compiler flags
1568  CPP         C preprocessor
1569  CXXCPP      C++ preprocessor
1570  LT_SYS_LIBRARY_PATH
1571              User-defined run-time library search path.
1572  PKG_CONFIG  path to pkg-config utility
1573  PKG_CONFIG_PATH
1574              directories to add to pkg-config's search path
1575  PKG_CONFIG_LIBDIR
1576              path overriding pkg-config's built-in search path
1577  LIBOIL_CFLAGS
1578              C compiler flags for LIBOIL, overriding pkg-config
1579  LIBOIL_LIBS linker flags for LIBOIL, overriding pkg-config
1580  LIBLILV_CFLAGS
1581              C compiler flags for LIBLILV, overriding pkg-config
1582  LIBLILV_LIBS
1583              linker flags for LIBLILV, overriding pkg-config
1584  LIBLO_CFLAGS
1585              C compiler flags for LIBLO, overriding pkg-config
1586  LIBLO_LIBS  linker flags for LIBLO, overriding pkg-config
1587
1588Use these variables to override the choices made by `configure' or to help
1589it to find libraries and programs with nonstandard names/locations.
1590
1591Report bugs to the package provider.
1592_ACEOF
1593ac_status=$?
1594fi
1595
1596if test "$ac_init_help" = "recursive"; then
1597  # If there are subdirs, report their specific --help.
1598  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1599    test -d "$ac_dir" ||
1600      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601      continue
1602    ac_builddir=.
1603
1604case "$ac_dir" in
1605.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606*)
1607  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1608  # A ".." for each directory in $ac_dir_suffix.
1609  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1610  case $ac_top_builddir_sub in
1611  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1613  esac ;;
1614esac
1615ac_abs_top_builddir=$ac_pwd
1616ac_abs_builddir=$ac_pwd$ac_dir_suffix
1617# for backward compatibility:
1618ac_top_builddir=$ac_top_build_prefix
1619
1620case $srcdir in
1621  .)  # We are building in place.
1622    ac_srcdir=.
1623    ac_top_srcdir=$ac_top_builddir_sub
1624    ac_abs_top_srcdir=$ac_pwd ;;
1625  [\\/]* | ?:[\\/]* )  # Absolute name.
1626    ac_srcdir=$srcdir$ac_dir_suffix;
1627    ac_top_srcdir=$srcdir
1628    ac_abs_top_srcdir=$srcdir ;;
1629  *) # Relative name.
1630    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631    ac_top_srcdir=$ac_top_build_prefix$srcdir
1632    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633esac
1634ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635
1636    cd "$ac_dir" || { ac_status=$?; continue; }
1637    # Check for guested configure.
1638    if test -f "$ac_srcdir/configure.gnu"; then
1639      echo &&
1640      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641    elif test -f "$ac_srcdir/configure"; then
1642      echo &&
1643      $SHELL "$ac_srcdir/configure" --help=recursive
1644    else
1645      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646    fi || ac_status=$?
1647    cd "$ac_pwd" || { ac_status=$?; break; }
1648  done
1649fi
1650
1651test -n "$ac_init_help" && exit $ac_status
1652if $ac_init_version; then
1653  cat <<\_ACEOF
1654ecasound configure 2.9.3
1655generated by GNU Autoconf 2.69
1656
1657Copyright (C) 2012 Free Software Foundation, Inc.
1658This configure script is free software; the Free Software Foundation
1659gives unlimited permission to copy, distribute and modify it.
1660_ACEOF
1661  exit
1662fi
1663
1664## ------------------------ ##
1665## Autoconf initialization. ##
1666## ------------------------ ##
1667
1668# ac_fn_c_try_compile LINENO
1669# --------------------------
1670# Try to compile conftest.$ac_ext, and return whether this succeeded.
1671ac_fn_c_try_compile ()
1672{
1673  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674  rm -f conftest.$ac_objext
1675  if { { ac_try="$ac_compile"
1676case "(($ac_try" in
1677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678  *) ac_try_echo=$ac_try;;
1679esac
1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681$as_echo "$ac_try_echo"; } >&5
1682  (eval "$ac_compile") 2>conftest.err
1683  ac_status=$?
1684  if test -s conftest.err; then
1685    grep -v '^ *+' conftest.err >conftest.er1
1686    cat conftest.er1 >&5
1687    mv -f conftest.er1 conftest.err
1688  fi
1689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690  test $ac_status = 0; } && {
1691	 test -z "$ac_c_werror_flag" ||
1692	 test ! -s conftest.err
1693       } && test -s conftest.$ac_objext; then :
1694  ac_retval=0
1695else
1696  $as_echo "$as_me: failed program was:" >&5
1697sed 's/^/| /' conftest.$ac_ext >&5
1698
1699	ac_retval=1
1700fi
1701  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702  as_fn_set_status $ac_retval
1703
1704} # ac_fn_c_try_compile
1705
1706# ac_fn_cxx_try_compile LINENO
1707# ----------------------------
1708# Try to compile conftest.$ac_ext, and return whether this succeeded.
1709ac_fn_cxx_try_compile ()
1710{
1711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712  rm -f conftest.$ac_objext
1713  if { { ac_try="$ac_compile"
1714case "(($ac_try" in
1715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716  *) ac_try_echo=$ac_try;;
1717esac
1718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719$as_echo "$ac_try_echo"; } >&5
1720  (eval "$ac_compile") 2>conftest.err
1721  ac_status=$?
1722  if test -s conftest.err; then
1723    grep -v '^ *+' conftest.err >conftest.er1
1724    cat conftest.er1 >&5
1725    mv -f conftest.er1 conftest.err
1726  fi
1727  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728  test $ac_status = 0; } && {
1729	 test -z "$ac_cxx_werror_flag" ||
1730	 test ! -s conftest.err
1731       } && test -s conftest.$ac_objext; then :
1732  ac_retval=0
1733else
1734  $as_echo "$as_me: failed program was:" >&5
1735sed 's/^/| /' conftest.$ac_ext >&5
1736
1737	ac_retval=1
1738fi
1739  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740  as_fn_set_status $ac_retval
1741
1742} # ac_fn_cxx_try_compile
1743
1744# ac_fn_c_try_cpp LINENO
1745# ----------------------
1746# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1747ac_fn_c_try_cpp ()
1748{
1749  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750  if { { ac_try="$ac_cpp conftest.$ac_ext"
1751case "(($ac_try" in
1752  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753  *) ac_try_echo=$ac_try;;
1754esac
1755eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756$as_echo "$ac_try_echo"; } >&5
1757  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758  ac_status=$?
1759  if test -s conftest.err; then
1760    grep -v '^ *+' conftest.err >conftest.er1
1761    cat conftest.er1 >&5
1762    mv -f conftest.er1 conftest.err
1763  fi
1764  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765  test $ac_status = 0; } > conftest.i && {
1766	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1767	 test ! -s conftest.err
1768       }; then :
1769  ac_retval=0
1770else
1771  $as_echo "$as_me: failed program was:" >&5
1772sed 's/^/| /' conftest.$ac_ext >&5
1773
1774    ac_retval=1
1775fi
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777  as_fn_set_status $ac_retval
1778
1779} # ac_fn_c_try_cpp
1780
1781# ac_fn_c_try_link LINENO
1782# -----------------------
1783# Try to link conftest.$ac_ext, and return whether this succeeded.
1784ac_fn_c_try_link ()
1785{
1786  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787  rm -f conftest.$ac_objext conftest$ac_exeext
1788  if { { ac_try="$ac_link"
1789case "(($ac_try" in
1790  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791  *) ac_try_echo=$ac_try;;
1792esac
1793eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794$as_echo "$ac_try_echo"; } >&5
1795  (eval "$ac_link") 2>conftest.err
1796  ac_status=$?
1797  if test -s conftest.err; then
1798    grep -v '^ *+' conftest.err >conftest.er1
1799    cat conftest.er1 >&5
1800    mv -f conftest.er1 conftest.err
1801  fi
1802  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803  test $ac_status = 0; } && {
1804	 test -z "$ac_c_werror_flag" ||
1805	 test ! -s conftest.err
1806       } && test -s conftest$ac_exeext && {
1807	 test "$cross_compiling" = yes ||
1808	 test -x conftest$ac_exeext
1809       }; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: failed program was:" >&5
1813sed 's/^/| /' conftest.$ac_ext >&5
1814
1815	ac_retval=1
1816fi
1817  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819  # interfere with the next link command; also delete a directory that is
1820  # left behind by Apple's compiler.  We do this before executing the actions.
1821  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823  as_fn_set_status $ac_retval
1824
1825} # ac_fn_c_try_link
1826
1827# ac_fn_cxx_try_cpp LINENO
1828# ------------------------
1829# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1830ac_fn_cxx_try_cpp ()
1831{
1832  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833  if { { ac_try="$ac_cpp conftest.$ac_ext"
1834case "(($ac_try" in
1835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836  *) ac_try_echo=$ac_try;;
1837esac
1838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839$as_echo "$ac_try_echo"; } >&5
1840  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1841  ac_status=$?
1842  if test -s conftest.err; then
1843    grep -v '^ *+' conftest.err >conftest.er1
1844    cat conftest.er1 >&5
1845    mv -f conftest.er1 conftest.err
1846  fi
1847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848  test $ac_status = 0; } > conftest.i && {
1849	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1850	 test ! -s conftest.err
1851       }; then :
1852  ac_retval=0
1853else
1854  $as_echo "$as_me: failed program was:" >&5
1855sed 's/^/| /' conftest.$ac_ext >&5
1856
1857    ac_retval=1
1858fi
1859  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860  as_fn_set_status $ac_retval
1861
1862} # ac_fn_cxx_try_cpp
1863
1864# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1865# ---------------------------------------------------------
1866# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1867# the include files in INCLUDES and setting the cache variable VAR
1868# accordingly.
1869ac_fn_cxx_check_header_mongrel ()
1870{
1871  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872  if eval \${$3+:} false; then :
1873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874$as_echo_n "checking for $2... " >&6; }
1875if eval \${$3+:} false; then :
1876  $as_echo_n "(cached) " >&6
1877fi
1878eval ac_res=\$$3
1879	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; }
1881else
1882  # Is the header compilable?
1883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1884$as_echo_n "checking $2 usability... " >&6; }
1885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886/* end confdefs.h.  */
1887$4
1888#include <$2>
1889_ACEOF
1890if ac_fn_cxx_try_compile "$LINENO"; then :
1891  ac_header_compiler=yes
1892else
1893  ac_header_compiler=no
1894fi
1895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1897$as_echo "$ac_header_compiler" >&6; }
1898
1899# Is the header present?
1900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1901$as_echo_n "checking $2 presence... " >&6; }
1902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903/* end confdefs.h.  */
1904#include <$2>
1905_ACEOF
1906if ac_fn_cxx_try_cpp "$LINENO"; then :
1907  ac_header_preproc=yes
1908else
1909  ac_header_preproc=no
1910fi
1911rm -f conftest.err conftest.i conftest.$ac_ext
1912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1913$as_echo "$ac_header_preproc" >&6; }
1914
1915# So?  What about this header?
1916case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1917  yes:no: )
1918    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1919$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1920    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1921$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1922    ;;
1923  no:yes:* )
1924    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1925$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1926    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1927$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1928    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1929$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1930    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1931$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1932    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934    ;;
1935esac
1936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937$as_echo_n "checking for $2... " >&6; }
1938if eval \${$3+:} false; then :
1939  $as_echo_n "(cached) " >&6
1940else
1941  eval "$3=\$ac_header_compiler"
1942fi
1943eval ac_res=\$$3
1944	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945$as_echo "$ac_res" >&6; }
1946fi
1947  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
1949} # ac_fn_cxx_check_header_mongrel
1950
1951# ac_fn_cxx_try_run LINENO
1952# ------------------------
1953# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1954# that executables *can* be run.
1955ac_fn_cxx_try_run ()
1956{
1957  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958  if { { ac_try="$ac_link"
1959case "(($ac_try" in
1960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961  *) ac_try_echo=$ac_try;;
1962esac
1963eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964$as_echo "$ac_try_echo"; } >&5
1965  (eval "$ac_link") 2>&5
1966  ac_status=$?
1967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1969  { { case "(($ac_try" in
1970  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1971  *) ac_try_echo=$ac_try;;
1972esac
1973eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974$as_echo "$ac_try_echo"; } >&5
1975  (eval "$ac_try") 2>&5
1976  ac_status=$?
1977  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978  test $ac_status = 0; }; }; then :
1979  ac_retval=0
1980else
1981  $as_echo "$as_me: program exited with status $ac_status" >&5
1982       $as_echo "$as_me: failed program was:" >&5
1983sed 's/^/| /' conftest.$ac_ext >&5
1984
1985       ac_retval=$ac_status
1986fi
1987  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1988  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989  as_fn_set_status $ac_retval
1990
1991} # ac_fn_cxx_try_run
1992
1993# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1994# ---------------------------------------------------------
1995# Tests whether HEADER exists and can be compiled using the include files in
1996# INCLUDES, setting the cache variable VAR accordingly.
1997ac_fn_cxx_check_header_compile ()
1998{
1999  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001$as_echo_n "checking for $2... " >&6; }
2002if eval \${$3+:} false; then :
2003  $as_echo_n "(cached) " >&6
2004else
2005  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006/* end confdefs.h.  */
2007$4
2008#include <$2>
2009_ACEOF
2010if ac_fn_cxx_try_compile "$LINENO"; then :
2011  eval "$3=yes"
2012else
2013  eval "$3=no"
2014fi
2015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016fi
2017eval ac_res=\$$3
2018	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019$as_echo "$ac_res" >&6; }
2020  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021
2022} # ac_fn_cxx_check_header_compile
2023
2024# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2025# -------------------------------------------------------
2026# Tests whether HEADER exists and can be compiled using the include files in
2027# INCLUDES, setting the cache variable VAR accordingly.
2028ac_fn_c_check_header_compile ()
2029{
2030  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032$as_echo_n "checking for $2... " >&6; }
2033if eval \${$3+:} false; then :
2034  $as_echo_n "(cached) " >&6
2035else
2036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037/* end confdefs.h.  */
2038$4
2039#include <$2>
2040_ACEOF
2041if ac_fn_c_try_compile "$LINENO"; then :
2042  eval "$3=yes"
2043else
2044  eval "$3=no"
2045fi
2046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047fi
2048eval ac_res=\$$3
2049	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2050$as_echo "$ac_res" >&6; }
2051  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052
2053} # ac_fn_c_check_header_compile
2054
2055# ac_fn_c_check_func LINENO FUNC VAR
2056# ----------------------------------
2057# Tests whether FUNC exists, setting the cache variable VAR accordingly
2058ac_fn_c_check_func ()
2059{
2060  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062$as_echo_n "checking for $2... " >&6; }
2063if eval \${$3+:} false; then :
2064  $as_echo_n "(cached) " >&6
2065else
2066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067/* end confdefs.h.  */
2068/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2069   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2070#define $2 innocuous_$2
2071
2072/* System header to define __stub macros and hopefully few prototypes,
2073    which can conflict with char $2 (); below.
2074    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2075    <limits.h> exists even on freestanding compilers.  */
2076
2077#ifdef __STDC__
2078# include <limits.h>
2079#else
2080# include <assert.h>
2081#endif
2082
2083#undef $2
2084
2085/* Override any GCC internal prototype to avoid an error.
2086   Use char because int might match the return type of a GCC
2087   builtin and then its argument prototype would still apply.  */
2088#ifdef __cplusplus
2089extern "C"
2090#endif
2091char $2 ();
2092/* The GNU C library defines this for functions which it implements
2093    to always fail with ENOSYS.  Some functions are actually named
2094    something starting with __ and the normal name is an alias.  */
2095#if defined __stub_$2 || defined __stub___$2
2096choke me
2097#endif
2098
2099int
2100main ()
2101{
2102return $2 ();
2103  ;
2104  return 0;
2105}
2106_ACEOF
2107if ac_fn_c_try_link "$LINENO"; then :
2108  eval "$3=yes"
2109else
2110  eval "$3=no"
2111fi
2112rm -f core conftest.err conftest.$ac_objext \
2113    conftest$ac_exeext conftest.$ac_ext
2114fi
2115eval ac_res=\$$3
2116	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117$as_echo "$ac_res" >&6; }
2118  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119
2120} # ac_fn_c_check_func
2121
2122# ac_fn_cxx_try_link LINENO
2123# -------------------------
2124# Try to link conftest.$ac_ext, and return whether this succeeded.
2125ac_fn_cxx_try_link ()
2126{
2127  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128  rm -f conftest.$ac_objext conftest$ac_exeext
2129  if { { ac_try="$ac_link"
2130case "(($ac_try" in
2131  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132  *) ac_try_echo=$ac_try;;
2133esac
2134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135$as_echo "$ac_try_echo"; } >&5
2136  (eval "$ac_link") 2>conftest.err
2137  ac_status=$?
2138  if test -s conftest.err; then
2139    grep -v '^ *+' conftest.err >conftest.er1
2140    cat conftest.er1 >&5
2141    mv -f conftest.er1 conftest.err
2142  fi
2143  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144  test $ac_status = 0; } && {
2145	 test -z "$ac_cxx_werror_flag" ||
2146	 test ! -s conftest.err
2147       } && test -s conftest$ac_exeext && {
2148	 test "$cross_compiling" = yes ||
2149	 test -x conftest$ac_exeext
2150       }; then :
2151  ac_retval=0
2152else
2153  $as_echo "$as_me: failed program was:" >&5
2154sed 's/^/| /' conftest.$ac_ext >&5
2155
2156	ac_retval=1
2157fi
2158  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2159  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2160  # interfere with the next link command; also delete a directory that is
2161  # left behind by Apple's compiler.  We do this before executing the actions.
2162  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2163  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164  as_fn_set_status $ac_retval
2165
2166} # ac_fn_cxx_try_link
2167
2168# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2169# -------------------------------------------------------
2170# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2171# the include files in INCLUDES and setting the cache variable VAR
2172# accordingly.
2173ac_fn_c_check_header_mongrel ()
2174{
2175  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176  if eval \${$3+:} false; then :
2177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178$as_echo_n "checking for $2... " >&6; }
2179if eval \${$3+:} false; then :
2180  $as_echo_n "(cached) " >&6
2181fi
2182eval ac_res=\$$3
2183	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184$as_echo "$ac_res" >&6; }
2185else
2186  # Is the header compilable?
2187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2188$as_echo_n "checking $2 usability... " >&6; }
2189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190/* end confdefs.h.  */
2191$4
2192#include <$2>
2193_ACEOF
2194if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_header_compiler=yes
2196else
2197  ac_header_compiler=no
2198fi
2199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2201$as_echo "$ac_header_compiler" >&6; }
2202
2203# Is the header present?
2204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2205$as_echo_n "checking $2 presence... " >&6; }
2206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207/* end confdefs.h.  */
2208#include <$2>
2209_ACEOF
2210if ac_fn_c_try_cpp "$LINENO"; then :
2211  ac_header_preproc=yes
2212else
2213  ac_header_preproc=no
2214fi
2215rm -f conftest.err conftest.i conftest.$ac_ext
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2217$as_echo "$ac_header_preproc" >&6; }
2218
2219# So?  What about this header?
2220case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2221  yes:no: )
2222    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2223$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2224    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226    ;;
2227  no:yes:* )
2228    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2229$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2230    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2231$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2232    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2233$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2235$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2236    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2237$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2238    ;;
2239esac
2240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241$as_echo_n "checking for $2... " >&6; }
2242if eval \${$3+:} false; then :
2243  $as_echo_n "(cached) " >&6
2244else
2245  eval "$3=\$ac_header_compiler"
2246fi
2247eval ac_res=\$$3
2248	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2249$as_echo "$ac_res" >&6; }
2250fi
2251  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2252
2253} # ac_fn_c_check_header_mongrel
2254
2255# ac_fn_c_try_run LINENO
2256# ----------------------
2257# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2258# that executables *can* be run.
2259ac_fn_c_try_run ()
2260{
2261  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262  if { { ac_try="$ac_link"
2263case "(($ac_try" in
2264  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265  *) ac_try_echo=$ac_try;;
2266esac
2267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268$as_echo "$ac_try_echo"; } >&5
2269  (eval "$ac_link") 2>&5
2270  ac_status=$?
2271  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2273  { { case "(($ac_try" in
2274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275  *) ac_try_echo=$ac_try;;
2276esac
2277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278$as_echo "$ac_try_echo"; } >&5
2279  (eval "$ac_try") 2>&5
2280  ac_status=$?
2281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2282  test $ac_status = 0; }; }; then :
2283  ac_retval=0
2284else
2285  $as_echo "$as_me: program exited with status $ac_status" >&5
2286       $as_echo "$as_me: failed program was:" >&5
2287sed 's/^/| /' conftest.$ac_ext >&5
2288
2289       ac_retval=$ac_status
2290fi
2291  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2292  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293  as_fn_set_status $ac_retval
2294
2295} # ac_fn_c_try_run
2296
2297# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2298# -------------------------------------------
2299# Tests whether TYPE exists after having included INCLUDES, setting cache
2300# variable VAR accordingly.
2301ac_fn_c_check_type ()
2302{
2303  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2305$as_echo_n "checking for $2... " >&6; }
2306if eval \${$3+:} false; then :
2307  $as_echo_n "(cached) " >&6
2308else
2309  eval "$3=no"
2310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311/* end confdefs.h.  */
2312$4
2313int
2314main ()
2315{
2316if (sizeof ($2))
2317	 return 0;
2318  ;
2319  return 0;
2320}
2321_ACEOF
2322if ac_fn_c_try_compile "$LINENO"; then :
2323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324/* end confdefs.h.  */
2325$4
2326int
2327main ()
2328{
2329if (sizeof (($2)))
2330	    return 0;
2331  ;
2332  return 0;
2333}
2334_ACEOF
2335if ac_fn_c_try_compile "$LINENO"; then :
2336
2337else
2338  eval "$3=yes"
2339fi
2340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341fi
2342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2343fi
2344eval ac_res=\$$3
2345	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2346$as_echo "$ac_res" >&6; }
2347  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2348
2349} # ac_fn_c_check_type
2350cat >config.log <<_ACEOF
2351This file contains any messages produced by compilers while
2352running configure, to aid debugging if configure makes a mistake.
2353
2354It was created by ecasound $as_me 2.9.3, which was
2355generated by GNU Autoconf 2.69.  Invocation command line was
2356
2357  $ $0 $@
2358
2359_ACEOF
2360exec 5>>config.log
2361{
2362cat <<_ASUNAME
2363## --------- ##
2364## Platform. ##
2365## --------- ##
2366
2367hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2368uname -m = `(uname -m) 2>/dev/null || echo unknown`
2369uname -r = `(uname -r) 2>/dev/null || echo unknown`
2370uname -s = `(uname -s) 2>/dev/null || echo unknown`
2371uname -v = `(uname -v) 2>/dev/null || echo unknown`
2372
2373/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2374/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2375
2376/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2377/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2378/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2379/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2380/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2381/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2382/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2383
2384_ASUNAME
2385
2386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387for as_dir in $PATH
2388do
2389  IFS=$as_save_IFS
2390  test -z "$as_dir" && as_dir=.
2391    $as_echo "PATH: $as_dir"
2392  done
2393IFS=$as_save_IFS
2394
2395} >&5
2396
2397cat >&5 <<_ACEOF
2398
2399
2400## ----------- ##
2401## Core tests. ##
2402## ----------- ##
2403
2404_ACEOF
2405
2406
2407# Keep a trace of the command line.
2408# Strip out --no-create and --no-recursion so they do not pile up.
2409# Strip out --silent because we don't want to record it for future runs.
2410# Also quote any args containing shell meta-characters.
2411# Make two passes to allow for proper duplicate-argument suppression.
2412ac_configure_args=
2413ac_configure_args0=
2414ac_configure_args1=
2415ac_must_keep_next=false
2416for ac_pass in 1 2
2417do
2418  for ac_arg
2419  do
2420    case $ac_arg in
2421    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2422    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2423    | -silent | --silent | --silen | --sile | --sil)
2424      continue ;;
2425    *\'*)
2426      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2427    esac
2428    case $ac_pass in
2429    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2430    2)
2431      as_fn_append ac_configure_args1 " '$ac_arg'"
2432      if test $ac_must_keep_next = true; then
2433	ac_must_keep_next=false # Got value, back to normal.
2434      else
2435	case $ac_arg in
2436	  *=* | --config-cache | -C | -disable-* | --disable-* \
2437	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2438	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2439	  | -with-* | --with-* | -without-* | --without-* | --x)
2440	    case "$ac_configure_args0 " in
2441	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2442	    esac
2443	    ;;
2444	  -* ) ac_must_keep_next=true ;;
2445	esac
2446      fi
2447      as_fn_append ac_configure_args " '$ac_arg'"
2448      ;;
2449    esac
2450  done
2451done
2452{ ac_configure_args0=; unset ac_configure_args0;}
2453{ ac_configure_args1=; unset ac_configure_args1;}
2454
2455# When interrupted or exit'd, cleanup temporary files, and complete
2456# config.log.  We remove comments because anyway the quotes in there
2457# would cause problems or look ugly.
2458# WARNING: Use '\'' to represent an apostrophe within the trap.
2459# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2460trap 'exit_status=$?
2461  # Save into config.log some information that might help in debugging.
2462  {
2463    echo
2464
2465    $as_echo "## ---------------- ##
2466## Cache variables. ##
2467## ---------------- ##"
2468    echo
2469    # The following way of writing the cache mishandles newlines in values,
2470(
2471  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2472    eval ac_val=\$$ac_var
2473    case $ac_val in #(
2474    *${as_nl}*)
2475      case $ac_var in #(
2476      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2477$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2478      esac
2479      case $ac_var in #(
2480      _ | IFS | as_nl) ;; #(
2481      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2482      *) { eval $ac_var=; unset $ac_var;} ;;
2483      esac ;;
2484    esac
2485  done
2486  (set) 2>&1 |
2487    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2488    *${as_nl}ac_space=\ *)
2489      sed -n \
2490	"s/'\''/'\''\\\\'\'''\''/g;
2491	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2492      ;; #(
2493    *)
2494      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2495      ;;
2496    esac |
2497    sort
2498)
2499    echo
2500
2501    $as_echo "## ----------------- ##
2502## Output variables. ##
2503## ----------------- ##"
2504    echo
2505    for ac_var in $ac_subst_vars
2506    do
2507      eval ac_val=\$$ac_var
2508      case $ac_val in
2509      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2510      esac
2511      $as_echo "$ac_var='\''$ac_val'\''"
2512    done | sort
2513    echo
2514
2515    if test -n "$ac_subst_files"; then
2516      $as_echo "## ------------------- ##
2517## File substitutions. ##
2518## ------------------- ##"
2519      echo
2520      for ac_var in $ac_subst_files
2521      do
2522	eval ac_val=\$$ac_var
2523	case $ac_val in
2524	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2525	esac
2526	$as_echo "$ac_var='\''$ac_val'\''"
2527      done | sort
2528      echo
2529    fi
2530
2531    if test -s confdefs.h; then
2532      $as_echo "## ----------- ##
2533## confdefs.h. ##
2534## ----------- ##"
2535      echo
2536      cat confdefs.h
2537      echo
2538    fi
2539    test "$ac_signal" != 0 &&
2540      $as_echo "$as_me: caught signal $ac_signal"
2541    $as_echo "$as_me: exit $exit_status"
2542  } >&5
2543  rm -f core *.core core.conftest.* &&
2544    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2545    exit $exit_status
2546' 0
2547for ac_signal in 1 2 13 15; do
2548  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2549done
2550ac_signal=0
2551
2552# confdefs.h avoids OS command line length limits that DEFS can exceed.
2553rm -f -r conftest* confdefs.h
2554
2555$as_echo "/* confdefs.h */" > confdefs.h
2556
2557# Predefined preprocessor variables.
2558
2559cat >>confdefs.h <<_ACEOF
2560#define PACKAGE_NAME "$PACKAGE_NAME"
2561_ACEOF
2562
2563cat >>confdefs.h <<_ACEOF
2564#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2565_ACEOF
2566
2567cat >>confdefs.h <<_ACEOF
2568#define PACKAGE_VERSION "$PACKAGE_VERSION"
2569_ACEOF
2570
2571cat >>confdefs.h <<_ACEOF
2572#define PACKAGE_STRING "$PACKAGE_STRING"
2573_ACEOF
2574
2575cat >>confdefs.h <<_ACEOF
2576#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2577_ACEOF
2578
2579cat >>confdefs.h <<_ACEOF
2580#define PACKAGE_URL "$PACKAGE_URL"
2581_ACEOF
2582
2583
2584# Let the site file select an alternate cache file if it wants to.
2585# Prefer an explicitly selected file to automatically selected ones.
2586ac_site_file1=NONE
2587ac_site_file2=NONE
2588if test -n "$CONFIG_SITE"; then
2589  # We do not want a PATH search for config.site.
2590  case $CONFIG_SITE in #((
2591    -*)  ac_site_file1=./$CONFIG_SITE;;
2592    */*) ac_site_file1=$CONFIG_SITE;;
2593    *)   ac_site_file1=./$CONFIG_SITE;;
2594  esac
2595elif test "x$prefix" != xNONE; then
2596  ac_site_file1=$prefix/share/config.site
2597  ac_site_file2=$prefix/etc/config.site
2598else
2599  ac_site_file1=$ac_default_prefix/share/config.site
2600  ac_site_file2=$ac_default_prefix/etc/config.site
2601fi
2602for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2603do
2604  test "x$ac_site_file" = xNONE && continue
2605  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2606    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2607$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2608    sed 's/^/| /' "$ac_site_file" >&5
2609    . "$ac_site_file" \
2610      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612as_fn_error $? "failed to load site script $ac_site_file
2613See \`config.log' for more details" "$LINENO" 5; }
2614  fi
2615done
2616
2617if test -r "$cache_file"; then
2618  # Some versions of bash will fail to source /dev/null (special files
2619  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2620  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2621    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2622$as_echo "$as_me: loading cache $cache_file" >&6;}
2623    case $cache_file in
2624      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2625      *)                      . "./$cache_file";;
2626    esac
2627  fi
2628else
2629  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2630$as_echo "$as_me: creating cache $cache_file" >&6;}
2631  >$cache_file
2632fi
2633
2634as_fn_append ac_header_list " stdlib.h"
2635as_fn_append ac_header_list " unistd.h"
2636as_fn_append ac_header_list " sys/param.h"
2637# Check that the precious variables saved in the cache have kept the same
2638# value.
2639ac_cache_corrupted=false
2640for ac_var in $ac_precious_vars; do
2641  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2642  eval ac_new_set=\$ac_env_${ac_var}_set
2643  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2644  eval ac_new_val=\$ac_env_${ac_var}_value
2645  case $ac_old_set,$ac_new_set in
2646    set,)
2647      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2648$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2649      ac_cache_corrupted=: ;;
2650    ,set)
2651      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2652$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2653      ac_cache_corrupted=: ;;
2654    ,);;
2655    *)
2656      if test "x$ac_old_val" != "x$ac_new_val"; then
2657	# differences in whitespace do not lead to failure.
2658	ac_old_val_w=`echo x $ac_old_val`
2659	ac_new_val_w=`echo x $ac_new_val`
2660	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2661	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2662$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2663	  ac_cache_corrupted=:
2664	else
2665	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2666$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2667	  eval $ac_var=\$ac_old_val
2668	fi
2669	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2670$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2671	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2672$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2673      fi;;
2674  esac
2675  # Pass precious variables to config.status.
2676  if test "$ac_new_set" = set; then
2677    case $ac_new_val in
2678    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2679    *) ac_arg=$ac_var=$ac_new_val ;;
2680    esac
2681    case " $ac_configure_args " in
2682      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2683      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2684    esac
2685  fi
2686done
2687if $ac_cache_corrupted; then
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2690  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2691$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2692  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2693fi
2694## -------------------- ##
2695## Main body of script. ##
2696## -------------------- ##
2697
2698ac_ext=c
2699ac_cpp='$CPP $CPPFLAGS'
2700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703
2704
2705
2706
2707am__api_version="1.9"
2708ac_aux_dir=
2709for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2710  if test -f "$ac_dir/install-sh"; then
2711    ac_aux_dir=$ac_dir
2712    ac_install_sh="$ac_aux_dir/install-sh -c"
2713    break
2714  elif test -f "$ac_dir/install.sh"; then
2715    ac_aux_dir=$ac_dir
2716    ac_install_sh="$ac_aux_dir/install.sh -c"
2717    break
2718  elif test -f "$ac_dir/shtool"; then
2719    ac_aux_dir=$ac_dir
2720    ac_install_sh="$ac_aux_dir/shtool install -c"
2721    break
2722  fi
2723done
2724if test -z "$ac_aux_dir"; then
2725  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2726fi
2727
2728# These three variables are undocumented and unsupported,
2729# and are intended to be withdrawn in a future Autoconf release.
2730# They can cause serious problems if a builder's source tree is in a directory
2731# whose full name contains unusual characters.
2732ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2733ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2734ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2735
2736
2737# Find a good install program.  We prefer a C program (faster),
2738# so one script is as good as another.  But avoid the broken or
2739# incompatible versions:
2740# SysV /etc/install, /usr/sbin/install
2741# SunOS /usr/etc/install
2742# IRIX /sbin/install
2743# AIX /bin/install
2744# AmigaOS /C/install, which installs bootblocks on floppy discs
2745# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2746# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2747# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2748# OS/2's system install, which has a completely different semantic
2749# ./install, which can be erroneously created by make from ./install.sh.
2750# Reject install programs that cannot install multiple files.
2751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2752$as_echo_n "checking for a BSD-compatible install... " >&6; }
2753if test -z "$INSTALL"; then
2754if ${ac_cv_path_install+:} false; then :
2755  $as_echo_n "(cached) " >&6
2756else
2757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758for as_dir in $PATH
2759do
2760  IFS=$as_save_IFS
2761  test -z "$as_dir" && as_dir=.
2762    # Account for people who put trailing slashes in PATH elements.
2763case $as_dir/ in #((
2764  ./ | .// | /[cC]/* | \
2765  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2766  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2767  /usr/ucb/* ) ;;
2768  *)
2769    # OSF1 and SCO ODT 3.0 have their own names for install.
2770    # Don't use installbsd from OSF since it installs stuff as root
2771    # by default.
2772    for ac_prog in ginstall scoinst install; do
2773      for ac_exec_ext in '' $ac_executable_extensions; do
2774	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2775	  if test $ac_prog = install &&
2776	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2777	    # AIX install.  It has an incompatible calling convention.
2778	    :
2779	  elif test $ac_prog = install &&
2780	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2781	    # program-specific install script used by HP pwplus--don't use.
2782	    :
2783	  else
2784	    rm -rf conftest.one conftest.two conftest.dir
2785	    echo one > conftest.one
2786	    echo two > conftest.two
2787	    mkdir conftest.dir
2788	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2789	      test -s conftest.one && test -s conftest.two &&
2790	      test -s conftest.dir/conftest.one &&
2791	      test -s conftest.dir/conftest.two
2792	    then
2793	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2794	      break 3
2795	    fi
2796	  fi
2797	fi
2798      done
2799    done
2800    ;;
2801esac
2802
2803  done
2804IFS=$as_save_IFS
2805
2806rm -rf conftest.one conftest.two conftest.dir
2807
2808fi
2809  if test "${ac_cv_path_install+set}" = set; then
2810    INSTALL=$ac_cv_path_install
2811  else
2812    # As a last resort, use the slow shell script.  Don't cache a
2813    # value for INSTALL within a source directory, because that will
2814    # break other packages using the cache if that directory is
2815    # removed, or if the value is a relative name.
2816    INSTALL=$ac_install_sh
2817  fi
2818fi
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2820$as_echo "$INSTALL" >&6; }
2821
2822# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2823# It thinks the first close brace ends the variable substitution.
2824test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2825
2826test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2827
2828test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2829
2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2831$as_echo_n "checking whether build environment is sane... " >&6; }
2832# Just in case
2833sleep 1
2834echo timestamp > conftest.file
2835# Do `set' in a subshell so we don't clobber the current shell's
2836# arguments.  Must try -L first in case configure is actually a
2837# symlink; some systems play weird games with the mod time of symlinks
2838# (eg FreeBSD returns the mod time of the symlink's containing
2839# directory).
2840if (
2841   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2842   if test "$*" = "X"; then
2843      # -L didn't work.
2844      set X `ls -t $srcdir/configure conftest.file`
2845   fi
2846   rm -f conftest.file
2847   if test "$*" != "X $srcdir/configure conftest.file" \
2848      && test "$*" != "X conftest.file $srcdir/configure"; then
2849
2850      # If neither matched, then we have a broken ls.  This can happen
2851      # if, for instance, CONFIG_SHELL is bash and it inherits a
2852      # broken ls alias from the environment.  This has actually
2853      # happened.  Such a system could not be considered "sane".
2854      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2855alias in your environment" "$LINENO" 5
2856   fi
2857
2858   test "$2" = conftest.file
2859   )
2860then
2861   # Ok.
2862   :
2863else
2864   as_fn_error $? "newly created file is older than distributed files!
2865Check your system clock" "$LINENO" 5
2866fi
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868$as_echo "yes" >&6; }
2869test "$program_prefix" != NONE &&
2870  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2871# Use a double $ so make ignores it.
2872test "$program_suffix" != NONE &&
2873  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2874# Double any \ or $.
2875# By default was `s,x,x', remove it if useless.
2876ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2877program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2878
2879# expand $ac_aux_dir to an absolute path
2880am_aux_dir=`cd $ac_aux_dir && pwd`
2881
2882test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2883# Use eval to expand $SHELL
2884if eval "$MISSING --run true"; then
2885  am_missing_run="$MISSING --run "
2886else
2887  am_missing_run=
2888  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2889$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2890fi
2891
2892if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2893  # We used to keeping the `.' as first argument, in order to
2894  # allow $(mkdir_p) to be used without argument.  As in
2895  #   $(mkdir_p) $(somedir)
2896  # where $(somedir) is conditionally defined.  However this is wrong
2897  # for two reasons:
2898  #  1. if the package is installed by a user who cannot write `.'
2899  #     make install will fail,
2900  #  2. the above comment should most certainly read
2901  #     $(mkdir_p) $(DESTDIR)$(somedir)
2902  #     so it does not work when $(somedir) is undefined and
2903  #     $(DESTDIR) is not.
2904  #  To support the latter case, we have to write
2905  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2906  #  so the `.' trick is pointless.
2907  mkdir_p='mkdir -p --'
2908else
2909  # On NextStep and OpenStep, the `mkdir' command does not
2910  # recognize any option.  It will interpret all options as
2911  # directories to create, and then abort because `.' already
2912  # exists.
2913  for d in ./-p ./--version;
2914  do
2915    test -d $d && rmdir $d
2916  done
2917  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2918  if test -f "$ac_aux_dir/mkinstalldirs"; then
2919    mkdir_p='$(mkinstalldirs)'
2920  else
2921    mkdir_p='$(install_sh) -d'
2922  fi
2923fi
2924
2925for ac_prog in gawk mawk nawk awk
2926do
2927  # Extract the first word of "$ac_prog", so it can be a program name with args.
2928set dummy $ac_prog; ac_word=$2
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930$as_echo_n "checking for $ac_word... " >&6; }
2931if ${ac_cv_prog_AWK+:} false; then :
2932  $as_echo_n "(cached) " >&6
2933else
2934  if test -n "$AWK"; then
2935  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2936else
2937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938for as_dir in $PATH
2939do
2940  IFS=$as_save_IFS
2941  test -z "$as_dir" && as_dir=.
2942    for ac_exec_ext in '' $ac_executable_extensions; do
2943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2944    ac_cv_prog_AWK="$ac_prog"
2945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946    break 2
2947  fi
2948done
2949  done
2950IFS=$as_save_IFS
2951
2952fi
2953fi
2954AWK=$ac_cv_prog_AWK
2955if test -n "$AWK"; then
2956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2957$as_echo "$AWK" >&6; }
2958else
2959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960$as_echo "no" >&6; }
2961fi
2962
2963
2964  test -n "$AWK" && break
2965done
2966
2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2968$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2969set x ${MAKE-make}
2970ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2971if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2972  $as_echo_n "(cached) " >&6
2973else
2974  cat >conftest.make <<\_ACEOF
2975SHELL = /bin/sh
2976all:
2977	@echo '@@@%%%=$(MAKE)=@@@%%%'
2978_ACEOF
2979# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2980case `${MAKE-make} -f conftest.make 2>/dev/null` in
2981  *@@@%%%=?*=@@@%%%*)
2982    eval ac_cv_prog_make_${ac_make}_set=yes;;
2983  *)
2984    eval ac_cv_prog_make_${ac_make}_set=no;;
2985esac
2986rm -f conftest.make
2987fi
2988if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2990$as_echo "yes" >&6; }
2991  SET_MAKE=
2992else
2993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994$as_echo "no" >&6; }
2995  SET_MAKE="MAKE=${MAKE-make}"
2996fi
2997
2998rm -rf .tst 2>/dev/null
2999mkdir .tst 2>/dev/null
3000if test -d .tst; then
3001  am__leading_dot=.
3002else
3003  am__leading_dot=_
3004fi
3005rmdir .tst 2>/dev/null
3006
3007# test to see if srcdir already configured
3008if test "`cd $srcdir && pwd`" != "`pwd`" &&
3009   test -f $srcdir/config.status; then
3010  as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3011fi
3012
3013# test whether we have cygpath
3014if test -z "$CYGPATH_W"; then
3015  if (cygpath --version) >/dev/null 2>/dev/null; then
3016    CYGPATH_W='cygpath -w'
3017  else
3018    CYGPATH_W=echo
3019  fi
3020fi
3021
3022
3023# Define the identity of the package.
3024 PACKAGE='ecasound'
3025 VERSION='2.9.3'
3026
3027
3028cat >>confdefs.h <<_ACEOF
3029#define PACKAGE "$PACKAGE"
3030_ACEOF
3031
3032
3033cat >>confdefs.h <<_ACEOF
3034#define VERSION "$VERSION"
3035_ACEOF
3036
3037# Some tools Automake needs.
3038
3039ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3040
3041
3042AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3043
3044
3045AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3046
3047
3048AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3049
3050
3051MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3052
3053install_sh=${install_sh-"$am_aux_dir/install-sh"}
3054
3055# Installed binaries are usually stripped using `strip' when the user
3056# run `make install-strip'.  However `strip' might not be the right
3057# tool to use in cross-compilation environments, therefore Automake
3058# will honor the `STRIP' environment variable to overrule this program.
3059if test "$cross_compiling" != no; then
3060  if test -n "$ac_tool_prefix"; then
3061  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3062set dummy ${ac_tool_prefix}strip; ac_word=$2
3063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064$as_echo_n "checking for $ac_word... " >&6; }
3065if ${ac_cv_prog_STRIP+:} false; then :
3066  $as_echo_n "(cached) " >&6
3067else
3068  if test -n "$STRIP"; then
3069  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3070else
3071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072for as_dir in $PATH
3073do
3074  IFS=$as_save_IFS
3075  test -z "$as_dir" && as_dir=.
3076    for ac_exec_ext in '' $ac_executable_extensions; do
3077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080    break 2
3081  fi
3082done
3083  done
3084IFS=$as_save_IFS
3085
3086fi
3087fi
3088STRIP=$ac_cv_prog_STRIP
3089if test -n "$STRIP"; then
3090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3091$as_echo "$STRIP" >&6; }
3092else
3093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094$as_echo "no" >&6; }
3095fi
3096
3097
3098fi
3099if test -z "$ac_cv_prog_STRIP"; then
3100  ac_ct_STRIP=$STRIP
3101  # Extract the first word of "strip", so it can be a program name with args.
3102set dummy strip; ac_word=$2
3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104$as_echo_n "checking for $ac_word... " >&6; }
3105if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3106  $as_echo_n "(cached) " >&6
3107else
3108  if test -n "$ac_ct_STRIP"; then
3109  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3110else
3111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112for as_dir in $PATH
3113do
3114  IFS=$as_save_IFS
3115  test -z "$as_dir" && as_dir=.
3116    for ac_exec_ext in '' $ac_executable_extensions; do
3117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118    ac_cv_prog_ac_ct_STRIP="strip"
3119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120    break 2
3121  fi
3122done
3123  done
3124IFS=$as_save_IFS
3125
3126fi
3127fi
3128ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3129if test -n "$ac_ct_STRIP"; then
3130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3131$as_echo "$ac_ct_STRIP" >&6; }
3132else
3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134$as_echo "no" >&6; }
3135fi
3136
3137  if test "x$ac_ct_STRIP" = x; then
3138    STRIP=":"
3139  else
3140    case $cross_compiling:$ac_tool_warned in
3141yes:)
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144ac_tool_warned=yes ;;
3145esac
3146    STRIP=$ac_ct_STRIP
3147  fi
3148else
3149  STRIP="$ac_cv_prog_STRIP"
3150fi
3151
3152fi
3153INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3154
3155# We need awk for the "check" target.  The system "awk" is bad on
3156# some platforms.
3157# Always define AMTAR for backward compatibility.
3158
3159AMTAR=${AMTAR-"${am_missing_run}tar"}
3160
3161am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3162
3163
3164
3165
3166
3167
3168ac_config_headers="$ac_config_headers config.h"
3169
3170
3171
3172echo "------------------------------------------------------------------"
3173echo "1. Section: Basic setup"
3174echo "------------------------------------------------------------------"
3175
3176
3177LIBECASOUND_VERSION=24
3178LIBECASOUND_VERSION_AGE=0
3179LIBECASOUNDC_VERSION=2
3180LIBECASOUNDC_VERSION_AGE=1
3181LIBKVUTILS_VERSION=10
3182LIBKVUTILS_VERSION_AGE=0
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192cat >>confdefs.h <<_ACEOF
3193#define LIBECASOUND_VERSION ${LIBECASOUND_VERSION}
3194_ACEOF
3195
3196
3197cat >>confdefs.h <<_ACEOF
3198#define LIBECASOUND_VERSION_AGE ${LIBECASOUND_VERSION_AGE}
3199_ACEOF
3200
3201
3202cat >>confdefs.h <<_ACEOF
3203#define LIBECASOUNDC_VERSION ${LIBECASOUNDC_VERSION}
3204_ACEOF
3205
3206
3207cat >>confdefs.h <<_ACEOF
3208#define LIBKVUTILS_VERSION ${LIBKVUTILS_VERSION}
3209_ACEOF
3210
3211
3212cat >>confdefs.h <<_ACEOF
3213#define LIBKVUTILS_VERSION_AGE ${LIBKVUTILS_VERSION_AGE}
3214_ACEOF
3215
3216
3217
3218ac_ext=c
3219ac_cpp='$CPP $CPPFLAGS'
3220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223if test -n "$ac_tool_prefix"; then
3224  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3225set dummy ${ac_tool_prefix}gcc; ac_word=$2
3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227$as_echo_n "checking for $ac_word... " >&6; }
3228if ${ac_cv_prog_CC+:} false; then :
3229  $as_echo_n "(cached) " >&6
3230else
3231  if test -n "$CC"; then
3232  ac_cv_prog_CC="$CC" # Let the user override the test.
3233else
3234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235for as_dir in $PATH
3236do
3237  IFS=$as_save_IFS
3238  test -z "$as_dir" && as_dir=.
3239    for ac_exec_ext in '' $ac_executable_extensions; do
3240  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3241    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243    break 2
3244  fi
3245done
3246  done
3247IFS=$as_save_IFS
3248
3249fi
3250fi
3251CC=$ac_cv_prog_CC
3252if test -n "$CC"; then
3253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3254$as_echo "$CC" >&6; }
3255else
3256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257$as_echo "no" >&6; }
3258fi
3259
3260
3261fi
3262if test -z "$ac_cv_prog_CC"; then
3263  ac_ct_CC=$CC
3264  # Extract the first word of "gcc", so it can be a program name with args.
3265set dummy gcc; ac_word=$2
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267$as_echo_n "checking for $ac_word... " >&6; }
3268if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269  $as_echo_n "(cached) " >&6
3270else
3271  if test -n "$ac_ct_CC"; then
3272  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3273else
3274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275for as_dir in $PATH
3276do
3277  IFS=$as_save_IFS
3278  test -z "$as_dir" && as_dir=.
3279    for ac_exec_ext in '' $ac_executable_extensions; do
3280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281    ac_cv_prog_ac_ct_CC="gcc"
3282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283    break 2
3284  fi
3285done
3286  done
3287IFS=$as_save_IFS
3288
3289fi
3290fi
3291ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292if test -n "$ac_ct_CC"; then
3293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294$as_echo "$ac_ct_CC" >&6; }
3295else
3296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297$as_echo "no" >&6; }
3298fi
3299
3300  if test "x$ac_ct_CC" = x; then
3301    CC=""
3302  else
3303    case $cross_compiling:$ac_tool_warned in
3304yes:)
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3307ac_tool_warned=yes ;;
3308esac
3309    CC=$ac_ct_CC
3310  fi
3311else
3312  CC="$ac_cv_prog_CC"
3313fi
3314
3315if test -z "$CC"; then
3316          if test -n "$ac_tool_prefix"; then
3317    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3318set dummy ${ac_tool_prefix}cc; ac_word=$2
3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320$as_echo_n "checking for $ac_word... " >&6; }
3321if ${ac_cv_prog_CC+:} false; then :
3322  $as_echo_n "(cached) " >&6
3323else
3324  if test -n "$CC"; then
3325  ac_cv_prog_CC="$CC" # Let the user override the test.
3326else
3327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328for as_dir in $PATH
3329do
3330  IFS=$as_save_IFS
3331  test -z "$as_dir" && as_dir=.
3332    for ac_exec_ext in '' $ac_executable_extensions; do
3333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3334    ac_cv_prog_CC="${ac_tool_prefix}cc"
3335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336    break 2
3337  fi
3338done
3339  done
3340IFS=$as_save_IFS
3341
3342fi
3343fi
3344CC=$ac_cv_prog_CC
3345if test -n "$CC"; then
3346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3347$as_echo "$CC" >&6; }
3348else
3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350$as_echo "no" >&6; }
3351fi
3352
3353
3354  fi
3355fi
3356if test -z "$CC"; then
3357  # Extract the first word of "cc", so it can be a program name with args.
3358set dummy cc; ac_word=$2
3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360$as_echo_n "checking for $ac_word... " >&6; }
3361if ${ac_cv_prog_CC+:} false; then :
3362  $as_echo_n "(cached) " >&6
3363else
3364  if test -n "$CC"; then
3365  ac_cv_prog_CC="$CC" # Let the user override the test.
3366else
3367  ac_prog_rejected=no
3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369for as_dir in $PATH
3370do
3371  IFS=$as_save_IFS
3372  test -z "$as_dir" && as_dir=.
3373    for ac_exec_ext in '' $ac_executable_extensions; do
3374  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3375    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3376       ac_prog_rejected=yes
3377       continue
3378     fi
3379    ac_cv_prog_CC="cc"
3380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381    break 2
3382  fi
3383done
3384  done
3385IFS=$as_save_IFS
3386
3387if test $ac_prog_rejected = yes; then
3388  # We found a bogon in the path, so make sure we never use it.
3389  set dummy $ac_cv_prog_CC
3390  shift
3391  if test $# != 0; then
3392    # We chose a different compiler from the bogus one.
3393    # However, it has the same basename, so the bogon will be chosen
3394    # first if we set CC to just the basename; use the full file name.
3395    shift
3396    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3397  fi
3398fi
3399fi
3400fi
3401CC=$ac_cv_prog_CC
3402if test -n "$CC"; then
3403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404$as_echo "$CC" >&6; }
3405else
3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407$as_echo "no" >&6; }
3408fi
3409
3410
3411fi
3412if test -z "$CC"; then
3413  if test -n "$ac_tool_prefix"; then
3414  for ac_prog in cl.exe
3415  do
3416    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3417set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419$as_echo_n "checking for $ac_word... " >&6; }
3420if ${ac_cv_prog_CC+:} false; then :
3421  $as_echo_n "(cached) " >&6
3422else
3423  if test -n "$CC"; then
3424  ac_cv_prog_CC="$CC" # Let the user override the test.
3425else
3426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427for as_dir in $PATH
3428do
3429  IFS=$as_save_IFS
3430  test -z "$as_dir" && as_dir=.
3431    for ac_exec_ext in '' $ac_executable_extensions; do
3432  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435    break 2
3436  fi
3437done
3438  done
3439IFS=$as_save_IFS
3440
3441fi
3442fi
3443CC=$ac_cv_prog_CC
3444if test -n "$CC"; then
3445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3446$as_echo "$CC" >&6; }
3447else
3448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449$as_echo "no" >&6; }
3450fi
3451
3452
3453    test -n "$CC" && break
3454  done
3455fi
3456if test -z "$CC"; then
3457  ac_ct_CC=$CC
3458  for ac_prog in cl.exe
3459do
3460  # Extract the first word of "$ac_prog", so it can be a program name with args.
3461set dummy $ac_prog; ac_word=$2
3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463$as_echo_n "checking for $ac_word... " >&6; }
3464if ${ac_cv_prog_ac_ct_CC+:} false; then :
3465  $as_echo_n "(cached) " >&6
3466else
3467  if test -n "$ac_ct_CC"; then
3468  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3469else
3470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471for as_dir in $PATH
3472do
3473  IFS=$as_save_IFS
3474  test -z "$as_dir" && as_dir=.
3475    for ac_exec_ext in '' $ac_executable_extensions; do
3476  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3477    ac_cv_prog_ac_ct_CC="$ac_prog"
3478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479    break 2
3480  fi
3481done
3482  done
3483IFS=$as_save_IFS
3484
3485fi
3486fi
3487ac_ct_CC=$ac_cv_prog_ac_ct_CC
3488if test -n "$ac_ct_CC"; then
3489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490$as_echo "$ac_ct_CC" >&6; }
3491else
3492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493$as_echo "no" >&6; }
3494fi
3495
3496
3497  test -n "$ac_ct_CC" && break
3498done
3499
3500  if test "x$ac_ct_CC" = x; then
3501    CC=""
3502  else
3503    case $cross_compiling:$ac_tool_warned in
3504yes:)
3505{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3506$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3507ac_tool_warned=yes ;;
3508esac
3509    CC=$ac_ct_CC
3510  fi
3511fi
3512
3513fi
3514
3515
3516test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518as_fn_error $? "no acceptable C compiler found in \$PATH
3519See \`config.log' for more details" "$LINENO" 5; }
3520
3521# Provide some information about the compiler.
3522$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3523set X $ac_compile
3524ac_compiler=$2
3525for ac_option in --version -v -V -qversion; do
3526  { { ac_try="$ac_compiler $ac_option >&5"
3527case "(($ac_try" in
3528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529  *) ac_try_echo=$ac_try;;
3530esac
3531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532$as_echo "$ac_try_echo"; } >&5
3533  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3534  ac_status=$?
3535  if test -s conftest.err; then
3536    sed '10a\
3537... rest of stderr output deleted ...
3538         10q' conftest.err >conftest.er1
3539    cat conftest.er1 >&5
3540  fi
3541  rm -f conftest.er1 conftest.err
3542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543  test $ac_status = 0; }
3544done
3545
3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547/* end confdefs.h.  */
3548
3549int
3550main ()
3551{
3552
3553  ;
3554  return 0;
3555}
3556_ACEOF
3557ac_clean_files_save=$ac_clean_files
3558ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3559# Try to create an executable without -o first, disregard a.out.
3560# It will help us diagnose broken compilers, and finding out an intuition
3561# of exeext.
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3563$as_echo_n "checking whether the C compiler works... " >&6; }
3564ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3565
3566# The possible output files:
3567ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3568
3569ac_rmfiles=
3570for ac_file in $ac_files
3571do
3572  case $ac_file in
3573    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3574    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3575  esac
3576done
3577rm -f $ac_rmfiles
3578
3579if { { ac_try="$ac_link_default"
3580case "(($ac_try" in
3581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582  *) ac_try_echo=$ac_try;;
3583esac
3584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3585$as_echo "$ac_try_echo"; } >&5
3586  (eval "$ac_link_default") 2>&5
3587  ac_status=$?
3588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589  test $ac_status = 0; }; then :
3590  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3591# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3592# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3593# so that the user can short-circuit this test for compilers unknown to
3594# Autoconf.
3595for ac_file in $ac_files ''
3596do
3597  test -f "$ac_file" || continue
3598  case $ac_file in
3599    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3600	;;
3601    [ab].out )
3602	# We found the default executable, but exeext='' is most
3603	# certainly right.
3604	break;;
3605    *.* )
3606	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3607	then :; else
3608	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3609	fi
3610	# We set ac_cv_exeext here because the later test for it is not
3611	# safe: cross compilers may not add the suffix if given an `-o'
3612	# argument, so we may need to know it at that point already.
3613	# Even if this section looks crufty: it has the advantage of
3614	# actually working.
3615	break;;
3616    * )
3617	break;;
3618  esac
3619done
3620test "$ac_cv_exeext" = no && ac_cv_exeext=
3621
3622else
3623  ac_file=''
3624fi
3625if test -z "$ac_file"; then :
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627$as_echo "no" >&6; }
3628$as_echo "$as_me: failed program was:" >&5
3629sed 's/^/| /' conftest.$ac_ext >&5
3630
3631{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633as_fn_error 77 "C compiler cannot create executables
3634See \`config.log' for more details" "$LINENO" 5; }
3635else
3636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637$as_echo "yes" >&6; }
3638fi
3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3640$as_echo_n "checking for C compiler default output file name... " >&6; }
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3642$as_echo "$ac_file" >&6; }
3643ac_exeext=$ac_cv_exeext
3644
3645rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3646ac_clean_files=$ac_clean_files_save
3647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3648$as_echo_n "checking for suffix of executables... " >&6; }
3649if { { ac_try="$ac_link"
3650case "(($ac_try" in
3651  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652  *) ac_try_echo=$ac_try;;
3653esac
3654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655$as_echo "$ac_try_echo"; } >&5
3656  (eval "$ac_link") 2>&5
3657  ac_status=$?
3658  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659  test $ac_status = 0; }; then :
3660  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3661# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3662# work properly (i.e., refer to `conftest.exe'), while it won't with
3663# `rm'.
3664for ac_file in conftest.exe conftest conftest.*; do
3665  test -f "$ac_file" || continue
3666  case $ac_file in
3667    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3668    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3669	  break;;
3670    * ) break;;
3671  esac
3672done
3673else
3674  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3677See \`config.log' for more details" "$LINENO" 5; }
3678fi
3679rm -f conftest conftest$ac_cv_exeext
3680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3681$as_echo "$ac_cv_exeext" >&6; }
3682
3683rm -f conftest.$ac_ext
3684EXEEXT=$ac_cv_exeext
3685ac_exeext=$EXEEXT
3686cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h.  */
3688#include <stdio.h>
3689int
3690main ()
3691{
3692FILE *f = fopen ("conftest.out", "w");
3693 return ferror (f) || fclose (f) != 0;
3694
3695  ;
3696  return 0;
3697}
3698_ACEOF
3699ac_clean_files="$ac_clean_files conftest.out"
3700# Check that the compiler produces executables we can run.  If not, either
3701# the compiler is broken, or we cross compile.
3702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3703$as_echo_n "checking whether we are cross compiling... " >&6; }
3704if test "$cross_compiling" != yes; then
3705  { { ac_try="$ac_link"
3706case "(($ac_try" in
3707  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3708  *) ac_try_echo=$ac_try;;
3709esac
3710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3711$as_echo "$ac_try_echo"; } >&5
3712  (eval "$ac_link") 2>&5
3713  ac_status=$?
3714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3715  test $ac_status = 0; }
3716  if { ac_try='./conftest$ac_cv_exeext'
3717  { { case "(($ac_try" in
3718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719  *) ac_try_echo=$ac_try;;
3720esac
3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722$as_echo "$ac_try_echo"; } >&5
3723  (eval "$ac_try") 2>&5
3724  ac_status=$?
3725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726  test $ac_status = 0; }; }; then
3727    cross_compiling=no
3728  else
3729    if test "$cross_compiling" = maybe; then
3730	cross_compiling=yes
3731    else
3732	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734as_fn_error $? "cannot run C compiled programs.
3735If you meant to cross compile, use \`--host'.
3736See \`config.log' for more details" "$LINENO" 5; }
3737    fi
3738  fi
3739fi
3740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3741$as_echo "$cross_compiling" >&6; }
3742
3743rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3744ac_clean_files=$ac_clean_files_save
3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3746$as_echo_n "checking for suffix of object files... " >&6; }
3747if ${ac_cv_objext+:} false; then :
3748  $as_echo_n "(cached) " >&6
3749else
3750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h.  */
3752
3753int
3754main ()
3755{
3756
3757  ;
3758  return 0;
3759}
3760_ACEOF
3761rm -f conftest.o conftest.obj
3762if { { ac_try="$ac_compile"
3763case "(($ac_try" in
3764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3765  *) ac_try_echo=$ac_try;;
3766esac
3767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768$as_echo "$ac_try_echo"; } >&5
3769  (eval "$ac_compile") 2>&5
3770  ac_status=$?
3771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772  test $ac_status = 0; }; then :
3773  for ac_file in conftest.o conftest.obj conftest.*; do
3774  test -f "$ac_file" || continue;
3775  case $ac_file in
3776    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3777    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3778       break;;
3779  esac
3780done
3781else
3782  $as_echo "$as_me: failed program was:" >&5
3783sed 's/^/| /' conftest.$ac_ext >&5
3784
3785{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787as_fn_error $? "cannot compute suffix of object files: cannot compile
3788See \`config.log' for more details" "$LINENO" 5; }
3789fi
3790rm -f conftest.$ac_cv_objext conftest.$ac_ext
3791fi
3792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3793$as_echo "$ac_cv_objext" >&6; }
3794OBJEXT=$ac_cv_objext
3795ac_objext=$OBJEXT
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3797$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3798if ${ac_cv_c_compiler_gnu+:} false; then :
3799  $as_echo_n "(cached) " >&6
3800else
3801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802/* end confdefs.h.  */
3803
3804int
3805main ()
3806{
3807#ifndef __GNUC__
3808       choke me
3809#endif
3810
3811  ;
3812  return 0;
3813}
3814_ACEOF
3815if ac_fn_c_try_compile "$LINENO"; then :
3816  ac_compiler_gnu=yes
3817else
3818  ac_compiler_gnu=no
3819fi
3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821ac_cv_c_compiler_gnu=$ac_compiler_gnu
3822
3823fi
3824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3825$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3826if test $ac_compiler_gnu = yes; then
3827  GCC=yes
3828else
3829  GCC=
3830fi
3831ac_test_CFLAGS=${CFLAGS+set}
3832ac_save_CFLAGS=$CFLAGS
3833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3834$as_echo_n "checking whether $CC accepts -g... " >&6; }
3835if ${ac_cv_prog_cc_g+:} false; then :
3836  $as_echo_n "(cached) " >&6
3837else
3838  ac_save_c_werror_flag=$ac_c_werror_flag
3839   ac_c_werror_flag=yes
3840   ac_cv_prog_cc_g=no
3841   CFLAGS="-g"
3842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843/* end confdefs.h.  */
3844
3845int
3846main ()
3847{
3848
3849  ;
3850  return 0;
3851}
3852_ACEOF
3853if ac_fn_c_try_compile "$LINENO"; then :
3854  ac_cv_prog_cc_g=yes
3855else
3856  CFLAGS=""
3857      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858/* end confdefs.h.  */
3859
3860int
3861main ()
3862{
3863
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868if ac_fn_c_try_compile "$LINENO"; then :
3869
3870else
3871  ac_c_werror_flag=$ac_save_c_werror_flag
3872	 CFLAGS="-g"
3873	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874/* end confdefs.h.  */
3875
3876int
3877main ()
3878{
3879
3880  ;
3881  return 0;
3882}
3883_ACEOF
3884if ac_fn_c_try_compile "$LINENO"; then :
3885  ac_cv_prog_cc_g=yes
3886fi
3887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888fi
3889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890fi
3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892   ac_c_werror_flag=$ac_save_c_werror_flag
3893fi
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3895$as_echo "$ac_cv_prog_cc_g" >&6; }
3896if test "$ac_test_CFLAGS" = set; then
3897  CFLAGS=$ac_save_CFLAGS
3898elif test $ac_cv_prog_cc_g = yes; then
3899  if test "$GCC" = yes; then
3900    CFLAGS="-g -O2"
3901  else
3902    CFLAGS="-g"
3903  fi
3904else
3905  if test "$GCC" = yes; then
3906    CFLAGS="-O2"
3907  else
3908    CFLAGS=
3909  fi
3910fi
3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3912$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3913if ${ac_cv_prog_cc_c89+:} false; then :
3914  $as_echo_n "(cached) " >&6
3915else
3916  ac_cv_prog_cc_c89=no
3917ac_save_CC=$CC
3918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919/* end confdefs.h.  */
3920#include <stdarg.h>
3921#include <stdio.h>
3922struct stat;
3923/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3924struct buf { int x; };
3925FILE * (*rcsopen) (struct buf *, struct stat *, int);
3926static char *e (p, i)
3927     char **p;
3928     int i;
3929{
3930  return p[i];
3931}
3932static char *f (char * (*g) (char **, int), char **p, ...)
3933{
3934  char *s;
3935  va_list v;
3936  va_start (v,p);
3937  s = g (p, va_arg (v,int));
3938  va_end (v);
3939  return s;
3940}
3941
3942/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3943   function prototypes and stuff, but not '\xHH' hex character constants.
3944   These don't provoke an error unfortunately, instead are silently treated
3945   as 'x'.  The following induces an error, until -std is added to get
3946   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3947   array size at least.  It's necessary to write '\x00'==0 to get something
3948   that's true only with -std.  */
3949int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3950
3951/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3952   inside strings and character constants.  */
3953#define FOO(x) 'x'
3954int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3955
3956int test (int i, double x);
3957struct s1 {int (*f) (int a);};
3958struct s2 {int (*f) (double a);};
3959int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3960int argc;
3961char **argv;
3962int
3963main ()
3964{
3965return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3966  ;
3967  return 0;
3968}
3969_ACEOF
3970for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3971	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3972do
3973  CC="$ac_save_CC $ac_arg"
3974  if ac_fn_c_try_compile "$LINENO"; then :
3975  ac_cv_prog_cc_c89=$ac_arg
3976fi
3977rm -f core conftest.err conftest.$ac_objext
3978  test "x$ac_cv_prog_cc_c89" != "xno" && break
3979done
3980rm -f conftest.$ac_ext
3981CC=$ac_save_CC
3982
3983fi
3984# AC_CACHE_VAL
3985case "x$ac_cv_prog_cc_c89" in
3986  x)
3987    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3988$as_echo "none needed" >&6; } ;;
3989  xno)
3990    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3991$as_echo "unsupported" >&6; } ;;
3992  *)
3993    CC="$CC $ac_cv_prog_cc_c89"
3994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3995$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3996esac
3997if test "x$ac_cv_prog_cc_c89" != xno; then :
3998
3999fi
4000
4001ac_ext=c
4002ac_cpp='$CPP $CPPFLAGS'
4003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4005ac_compiler_gnu=$ac_cv_c_compiler_gnu
4006DEPDIR="${am__leading_dot}deps"
4007
4008ac_config_commands="$ac_config_commands depfiles"
4009
4010
4011am_make=${MAKE-make}
4012cat > confinc << 'END'
4013am__doit:
4014	@echo done
4015.PHONY: am__doit
4016END
4017# If we don't find an include directive, just comment out the code.
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4019$as_echo_n "checking for style of include used by $am_make... " >&6; }
4020am__include="#"
4021am__quote=
4022_am_result=none
4023# First try GNU make style include.
4024echo "include confinc" > confmf
4025# We grep out `Entering directory' and `Leaving directory'
4026# messages which can occur if `w' ends up in MAKEFLAGS.
4027# In particular we don't look at `^make:' because GNU make might
4028# be invoked under some other name (usually "gmake"), in which
4029# case it prints its new name instead of `make'.
4030if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4031   am__include=include
4032   am__quote=
4033   _am_result=GNU
4034fi
4035# Now try BSD make style include.
4036if test "$am__include" = "#"; then
4037   echo '.include "confinc"' > confmf
4038   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4039      am__include=.include
4040      am__quote="\""
4041      _am_result=BSD
4042   fi
4043fi
4044
4045
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4047$as_echo "$_am_result" >&6; }
4048rm -f confinc confmf
4049
4050# Check whether --enable-dependency-tracking was given.
4051if test "${enable_dependency_tracking+set}" = set; then :
4052  enableval=$enable_dependency_tracking;
4053fi
4054
4055if test "x$enable_dependency_tracking" != xno; then
4056  am_depcomp="$ac_aux_dir/depcomp"
4057  AMDEPBACKSLASH='\'
4058fi
4059
4060
4061if test "x$enable_dependency_tracking" != xno; then
4062  AMDEP_TRUE=
4063  AMDEP_FALSE='#'
4064else
4065  AMDEP_TRUE='#'
4066  AMDEP_FALSE=
4067fi
4068
4069
4070
4071
4072depcc="$CC"   am_compiler_list=
4073
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4075$as_echo_n "checking dependency style of $depcc... " >&6; }
4076if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4077  $as_echo_n "(cached) " >&6
4078else
4079  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4080  # We make a subdir and do the tests there.  Otherwise we can end up
4081  # making bogus files that we don't know about and never remove.  For
4082  # instance it was reported that on HP-UX the gcc test will end up
4083  # making a dummy file named `D' -- because `-MD' means `put the output
4084  # in D'.
4085  mkdir conftest.dir
4086  # Copy depcomp to subdir because otherwise we won't find it if we're
4087  # using a relative directory.
4088  cp "$am_depcomp" conftest.dir
4089  cd conftest.dir
4090  # We will build objects and dependencies in a subdirectory because
4091  # it helps to detect inapplicable dependency modes.  For instance
4092  # both Tru64's cc and ICC support -MD to output dependencies as a
4093  # side effect of compilation, but ICC will put the dependencies in
4094  # the current directory while Tru64 will put them in the object
4095  # directory.
4096  mkdir sub
4097
4098  am_cv_CC_dependencies_compiler_type=none
4099  if test "$am_compiler_list" = ""; then
4100     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4101  fi
4102  for depmode in $am_compiler_list; do
4103    # Setup a source with many dependencies, because some compilers
4104    # like to wrap large dependency lists on column 80 (with \), and
4105    # we should not choose a depcomp mode which is confused by this.
4106    #
4107    # We need to recreate these files for each test, as the compiler may
4108    # overwrite some of them when testing with obscure command lines.
4109    # This happens at least with the AIX C compiler.
4110    : > sub/conftest.c
4111    for i in 1 2 3 4 5 6; do
4112      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4113      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4114      # Solaris 8's {/usr,}/bin/sh.
4115      touch sub/conftst$i.h
4116    done
4117    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4118
4119    case $depmode in
4120    nosideeffect)
4121      # after this tag, mechanisms are not by side-effect, so they'll
4122      # only be used when explicitly requested
4123      if test "x$enable_dependency_tracking" = xyes; then
4124	continue
4125      else
4126	break
4127      fi
4128      ;;
4129    none) break ;;
4130    esac
4131    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4132    # mode.  It turns out that the SunPro C++ compiler does not properly
4133    # handle `-M -o', and we need to detect this.
4134    if depmode=$depmode \
4135       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4136       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4137       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4138         >/dev/null 2>conftest.err &&
4139       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4140       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4141       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4142      # icc doesn't choke on unknown options, it will just issue warnings
4143      # or remarks (even with -Werror).  So we grep stderr for any message
4144      # that says an option was ignored or not supported.
4145      # When given -MP, icc 7.0 and 7.1 complain thusly:
4146      #   icc: Command line warning: ignoring option '-M'; no argument required
4147      # The diagnosis changed in icc 8.0:
4148      #   icc: Command line remark: option '-MP' not supported
4149      if (grep 'ignoring option' conftest.err ||
4150          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4151        am_cv_CC_dependencies_compiler_type=$depmode
4152        break
4153      fi
4154    fi
4155  done
4156
4157  cd ..
4158  rm -rf conftest.dir
4159else
4160  am_cv_CC_dependencies_compiler_type=none
4161fi
4162
4163fi
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4165$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4166CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4167
4168
4169
4170if
4171  test "x$enable_dependency_tracking" != xno \
4172  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4173  am__fastdepCC_TRUE=
4174  am__fastdepCC_FALSE='#'
4175else
4176  am__fastdepCC_TRUE='#'
4177  am__fastdepCC_FALSE=
4178fi
4179
4180
4181ac_ext=cpp
4182ac_cpp='$CXXCPP $CPPFLAGS'
4183ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4184ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4185ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4186if test -z "$CXX"; then
4187  if test -n "$CCC"; then
4188    CXX=$CCC
4189  else
4190    if test -n "$ac_tool_prefix"; then
4191  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4192  do
4193    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196$as_echo_n "checking for $ac_word... " >&6; }
4197if ${ac_cv_prog_CXX+:} false; then :
4198  $as_echo_n "(cached) " >&6
4199else
4200  if test -n "$CXX"; then
4201  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4202else
4203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204for as_dir in $PATH
4205do
4206  IFS=$as_save_IFS
4207  test -z "$as_dir" && as_dir=.
4208    for ac_exec_ext in '' $ac_executable_extensions; do
4209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212    break 2
4213  fi
4214done
4215  done
4216IFS=$as_save_IFS
4217
4218fi
4219fi
4220CXX=$ac_cv_prog_CXX
4221if test -n "$CXX"; then
4222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4223$as_echo "$CXX" >&6; }
4224else
4225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226$as_echo "no" >&6; }
4227fi
4228
4229
4230    test -n "$CXX" && break
4231  done
4232fi
4233if test -z "$CXX"; then
4234  ac_ct_CXX=$CXX
4235  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4236do
4237  # Extract the first word of "$ac_prog", so it can be a program name with args.
4238set dummy $ac_prog; ac_word=$2
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240$as_echo_n "checking for $ac_word... " >&6; }
4241if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4242  $as_echo_n "(cached) " >&6
4243else
4244  if test -n "$ac_ct_CXX"; then
4245  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4246else
4247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248for as_dir in $PATH
4249do
4250  IFS=$as_save_IFS
4251  test -z "$as_dir" && as_dir=.
4252    for ac_exec_ext in '' $ac_executable_extensions; do
4253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254    ac_cv_prog_ac_ct_CXX="$ac_prog"
4255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256    break 2
4257  fi
4258done
4259  done
4260IFS=$as_save_IFS
4261
4262fi
4263fi
4264ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4265if test -n "$ac_ct_CXX"; then
4266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4267$as_echo "$ac_ct_CXX" >&6; }
4268else
4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270$as_echo "no" >&6; }
4271fi
4272
4273
4274  test -n "$ac_ct_CXX" && break
4275done
4276
4277  if test "x$ac_ct_CXX" = x; then
4278    CXX="g++"
4279  else
4280    case $cross_compiling:$ac_tool_warned in
4281yes:)
4282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4284ac_tool_warned=yes ;;
4285esac
4286    CXX=$ac_ct_CXX
4287  fi
4288fi
4289
4290  fi
4291fi
4292# Provide some information about the compiler.
4293$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4294set X $ac_compile
4295ac_compiler=$2
4296for ac_option in --version -v -V -qversion; do
4297  { { ac_try="$ac_compiler $ac_option >&5"
4298case "(($ac_try" in
4299  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300  *) ac_try_echo=$ac_try;;
4301esac
4302eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4303$as_echo "$ac_try_echo"; } >&5
4304  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4305  ac_status=$?
4306  if test -s conftest.err; then
4307    sed '10a\
4308... rest of stderr output deleted ...
4309         10q' conftest.err >conftest.er1
4310    cat conftest.er1 >&5
4311  fi
4312  rm -f conftest.er1 conftest.err
4313  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4314  test $ac_status = 0; }
4315done
4316
4317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4318$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4319if ${ac_cv_cxx_compiler_gnu+:} false; then :
4320  $as_echo_n "(cached) " >&6
4321else
4322  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323/* end confdefs.h.  */
4324
4325int
4326main ()
4327{
4328#ifndef __GNUC__
4329       choke me
4330#endif
4331
4332  ;
4333  return 0;
4334}
4335_ACEOF
4336if ac_fn_cxx_try_compile "$LINENO"; then :
4337  ac_compiler_gnu=yes
4338else
4339  ac_compiler_gnu=no
4340fi
4341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4343
4344fi
4345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4346$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4347if test $ac_compiler_gnu = yes; then
4348  GXX=yes
4349else
4350  GXX=
4351fi
4352ac_test_CXXFLAGS=${CXXFLAGS+set}
4353ac_save_CXXFLAGS=$CXXFLAGS
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4355$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4356if ${ac_cv_prog_cxx_g+:} false; then :
4357  $as_echo_n "(cached) " >&6
4358else
4359  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4360   ac_cxx_werror_flag=yes
4361   ac_cv_prog_cxx_g=no
4362   CXXFLAGS="-g"
4363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364/* end confdefs.h.  */
4365
4366int
4367main ()
4368{
4369
4370  ;
4371  return 0;
4372}
4373_ACEOF
4374if ac_fn_cxx_try_compile "$LINENO"; then :
4375  ac_cv_prog_cxx_g=yes
4376else
4377  CXXFLAGS=""
4378      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379/* end confdefs.h.  */
4380
4381int
4382main ()
4383{
4384
4385  ;
4386  return 0;
4387}
4388_ACEOF
4389if ac_fn_cxx_try_compile "$LINENO"; then :
4390
4391else
4392  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4393	 CXXFLAGS="-g"
4394	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395/* end confdefs.h.  */
4396
4397int
4398main ()
4399{
4400
4401  ;
4402  return 0;
4403}
4404_ACEOF
4405if ac_fn_cxx_try_compile "$LINENO"; then :
4406  ac_cv_prog_cxx_g=yes
4407fi
4408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409fi
4410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411fi
4412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4414fi
4415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4416$as_echo "$ac_cv_prog_cxx_g" >&6; }
4417if test "$ac_test_CXXFLAGS" = set; then
4418  CXXFLAGS=$ac_save_CXXFLAGS
4419elif test $ac_cv_prog_cxx_g = yes; then
4420  if test "$GXX" = yes; then
4421    CXXFLAGS="-g -O2"
4422  else
4423    CXXFLAGS="-g"
4424  fi
4425else
4426  if test "$GXX" = yes; then
4427    CXXFLAGS="-O2"
4428  else
4429    CXXFLAGS=
4430  fi
4431fi
4432ac_ext=c
4433ac_cpp='$CPP $CPPFLAGS'
4434ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437
4438depcc="$CXX"  am_compiler_list=
4439
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4441$as_echo_n "checking dependency style of $depcc... " >&6; }
4442if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4443  $as_echo_n "(cached) " >&6
4444else
4445  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4446  # We make a subdir and do the tests there.  Otherwise we can end up
4447  # making bogus files that we don't know about and never remove.  For
4448  # instance it was reported that on HP-UX the gcc test will end up
4449  # making a dummy file named `D' -- because `-MD' means `put the output
4450  # in D'.
4451  mkdir conftest.dir
4452  # Copy depcomp to subdir because otherwise we won't find it if we're
4453  # using a relative directory.
4454  cp "$am_depcomp" conftest.dir
4455  cd conftest.dir
4456  # We will build objects and dependencies in a subdirectory because
4457  # it helps to detect inapplicable dependency modes.  For instance
4458  # both Tru64's cc and ICC support -MD to output dependencies as a
4459  # side effect of compilation, but ICC will put the dependencies in
4460  # the current directory while Tru64 will put them in the object
4461  # directory.
4462  mkdir sub
4463
4464  am_cv_CXX_dependencies_compiler_type=none
4465  if test "$am_compiler_list" = ""; then
4466     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4467  fi
4468  for depmode in $am_compiler_list; do
4469    # Setup a source with many dependencies, because some compilers
4470    # like to wrap large dependency lists on column 80 (with \), and
4471    # we should not choose a depcomp mode which is confused by this.
4472    #
4473    # We need to recreate these files for each test, as the compiler may
4474    # overwrite some of them when testing with obscure command lines.
4475    # This happens at least with the AIX C compiler.
4476    : > sub/conftest.c
4477    for i in 1 2 3 4 5 6; do
4478      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4479      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4480      # Solaris 8's {/usr,}/bin/sh.
4481      touch sub/conftst$i.h
4482    done
4483    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4484
4485    case $depmode in
4486    nosideeffect)
4487      # after this tag, mechanisms are not by side-effect, so they'll
4488      # only be used when explicitly requested
4489      if test "x$enable_dependency_tracking" = xyes; then
4490	continue
4491      else
4492	break
4493      fi
4494      ;;
4495    none) break ;;
4496    esac
4497    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4498    # mode.  It turns out that the SunPro C++ compiler does not properly
4499    # handle `-M -o', and we need to detect this.
4500    if depmode=$depmode \
4501       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4502       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4503       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4504         >/dev/null 2>conftest.err &&
4505       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4506       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4507       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4508      # icc doesn't choke on unknown options, it will just issue warnings
4509      # or remarks (even with -Werror).  So we grep stderr for any message
4510      # that says an option was ignored or not supported.
4511      # When given -MP, icc 7.0 and 7.1 complain thusly:
4512      #   icc: Command line warning: ignoring option '-M'; no argument required
4513      # The diagnosis changed in icc 8.0:
4514      #   icc: Command line remark: option '-MP' not supported
4515      if (grep 'ignoring option' conftest.err ||
4516          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4517        am_cv_CXX_dependencies_compiler_type=$depmode
4518        break
4519      fi
4520    fi
4521  done
4522
4523  cd ..
4524  rm -rf conftest.dir
4525else
4526  am_cv_CXX_dependencies_compiler_type=none
4527fi
4528
4529fi
4530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4531$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4532CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4533
4534
4535
4536if
4537  test "x$enable_dependency_tracking" != xno \
4538  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4539  am__fastdepCXX_TRUE=
4540  am__fastdepCXX_FALSE='#'
4541else
4542  am__fastdepCXX_TRUE='#'
4543  am__fastdepCXX_FALSE=
4544fi
4545
4546
4547ac_ext=c
4548ac_cpp='$CPP $CPPFLAGS'
4549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551ac_compiler_gnu=$ac_cv_c_compiler_gnu
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4553$as_echo_n "checking how to run the C preprocessor... " >&6; }
4554# On Suns, sometimes $CPP names a directory.
4555if test -n "$CPP" && test -d "$CPP"; then
4556  CPP=
4557fi
4558if test -z "$CPP"; then
4559  if ${ac_cv_prog_CPP+:} false; then :
4560  $as_echo_n "(cached) " >&6
4561else
4562      # Double quotes because CPP needs to be expanded
4563    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4564    do
4565      ac_preproc_ok=false
4566for ac_c_preproc_warn_flag in '' yes
4567do
4568  # Use a header file that comes with gcc, so configuring glibc
4569  # with a fresh cross-compiler works.
4570  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4571  # <limits.h> exists even on freestanding compilers.
4572  # On the NeXT, cc -E runs the code through the compiler's parser,
4573  # not just through cpp. "Syntax error" is here to catch this case.
4574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575/* end confdefs.h.  */
4576#ifdef __STDC__
4577# include <limits.h>
4578#else
4579# include <assert.h>
4580#endif
4581		     Syntax error
4582_ACEOF
4583if ac_fn_c_try_cpp "$LINENO"; then :
4584
4585else
4586  # Broken: fails on valid input.
4587continue
4588fi
4589rm -f conftest.err conftest.i conftest.$ac_ext
4590
4591  # OK, works on sane cases.  Now check whether nonexistent headers
4592  # can be detected and how.
4593  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594/* end confdefs.h.  */
4595#include <ac_nonexistent.h>
4596_ACEOF
4597if ac_fn_c_try_cpp "$LINENO"; then :
4598  # Broken: success on invalid input.
4599continue
4600else
4601  # Passes both tests.
4602ac_preproc_ok=:
4603break
4604fi
4605rm -f conftest.err conftest.i conftest.$ac_ext
4606
4607done
4608# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4609rm -f conftest.i conftest.err conftest.$ac_ext
4610if $ac_preproc_ok; then :
4611  break
4612fi
4613
4614    done
4615    ac_cv_prog_CPP=$CPP
4616
4617fi
4618  CPP=$ac_cv_prog_CPP
4619else
4620  ac_cv_prog_CPP=$CPP
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4623$as_echo "$CPP" >&6; }
4624ac_preproc_ok=false
4625for ac_c_preproc_warn_flag in '' yes
4626do
4627  # Use a header file that comes with gcc, so configuring glibc
4628  # with a fresh cross-compiler works.
4629  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4630  # <limits.h> exists even on freestanding compilers.
4631  # On the NeXT, cc -E runs the code through the compiler's parser,
4632  # not just through cpp. "Syntax error" is here to catch this case.
4633  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634/* end confdefs.h.  */
4635#ifdef __STDC__
4636# include <limits.h>
4637#else
4638# include <assert.h>
4639#endif
4640		     Syntax error
4641_ACEOF
4642if ac_fn_c_try_cpp "$LINENO"; then :
4643
4644else
4645  # Broken: fails on valid input.
4646continue
4647fi
4648rm -f conftest.err conftest.i conftest.$ac_ext
4649
4650  # OK, works on sane cases.  Now check whether nonexistent headers
4651  # can be detected and how.
4652  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653/* end confdefs.h.  */
4654#include <ac_nonexistent.h>
4655_ACEOF
4656if ac_fn_c_try_cpp "$LINENO"; then :
4657  # Broken: success on invalid input.
4658continue
4659else
4660  # Passes both tests.
4661ac_preproc_ok=:
4662break
4663fi
4664rm -f conftest.err conftest.i conftest.$ac_ext
4665
4666done
4667# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4668rm -f conftest.i conftest.err conftest.$ac_ext
4669if $ac_preproc_ok; then :
4670
4671else
4672  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4674as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4675See \`config.log' for more details" "$LINENO" 5; }
4676fi
4677
4678ac_ext=c
4679ac_cpp='$CPP $CPPFLAGS'
4680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682ac_compiler_gnu=$ac_cv_c_compiler_gnu
4683
4684ac_ext=cpp
4685ac_cpp='$CXXCPP $CPPFLAGS'
4686ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4689
4690# Make sure we can run config.sub.
4691$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4692  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4693
4694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4695$as_echo_n "checking build system type... " >&6; }
4696if ${ac_cv_build+:} false; then :
4697  $as_echo_n "(cached) " >&6
4698else
4699  ac_build_alias=$build_alias
4700test "x$ac_build_alias" = x &&
4701  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4702test "x$ac_build_alias" = x &&
4703  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4704ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4705  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4706
4707fi
4708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4709$as_echo "$ac_cv_build" >&6; }
4710case $ac_cv_build in
4711*-*-*) ;;
4712*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4713esac
4714build=$ac_cv_build
4715ac_save_IFS=$IFS; IFS='-'
4716set x $ac_cv_build
4717shift
4718build_cpu=$1
4719build_vendor=$2
4720shift; shift
4721# Remember, the first character of IFS is used to create $*,
4722# except with old shells:
4723build_os=$*
4724IFS=$ac_save_IFS
4725case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4726
4727
4728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4729$as_echo_n "checking host system type... " >&6; }
4730if ${ac_cv_host+:} false; then :
4731  $as_echo_n "(cached) " >&6
4732else
4733  if test "x$host_alias" = x; then
4734  ac_cv_host=$ac_cv_build
4735else
4736  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4737    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4738fi
4739
4740fi
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4742$as_echo "$ac_cv_host" >&6; }
4743case $ac_cv_host in
4744*-*-*) ;;
4745*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4746esac
4747host=$ac_cv_host
4748ac_save_IFS=$IFS; IFS='-'
4749set x $ac_cv_host
4750shift
4751host_cpu=$1
4752host_vendor=$2
4753shift; shift
4754# Remember, the first character of IFS is used to create $*,
4755# except with old shells:
4756host_os=$*
4757IFS=$ac_save_IFS
4758case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4759
4760
4761
4762EXTRACPPFLAGS="-D_REENTRANT -D_XOPEN_SOURCE=600"
4763EXTRAGCCFLAGS="-ffast-math -fstrict-aliasing"
4764EXTRACXXFLAGS="-std=c++98"
4765if test x${GXX} = xyes; then
4766   AM_CXXFLAGS="$AM_CXXFLAGS"
4767   AM_CFLAGS="$AM_CFLAGS"
4768fi
4769AM_CPPFLAGS="$AM_CPPFLAGS"
4770AM_CXXFLAGS="$AM_CXXFLAGS $EXTRACXXFLAGS"
4771
4772
4773
4774
4775
4776
4777
4778
4779eca_platform_python_impl="python"
4780
4781eca_platform_curses_support="yes"
4782
4783
4784case "$host" in
4785	*-*-openbsd*)
4786               AM_CFLAGS="$AM_CFLAGS -pthread"
4787               AM_CXXFLAGS="$AM_CXXFLAGS -pthread"
4788               echo "Setting OpenBSD compilation options for POSIX threads"
4789               ;;
4790	*-*-freebsd*)
4791               AM_CFLAGS="$AM_CFLAGS -pthread"
4792               AM_CPPFLAGS="$AM_CPPFLAGS -D_THREAD_SAFE"
4793               AM_CXXFLAGS="$AM_CXXFLAGS -pthread"
4794               echo "Setting FreeBSD compilation options for POSIX threads"
4795               ;;
4796	*-*-solaris*)
4797               AM_CPPFLAGS="$AM_CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS"
4798	       LIBS="$LIBS -lposix4 -lpthread"
4799	       echo "Setting Solaris compilation options for POSIX threads"
4800	       if test x$CXX = xCC; then
4801	          LIBS="$LIBS -mt"
4802		  AM_CXXFLAGS="$AM_CXXFLAGS -instances=static"
4803		  echo "Sun Workshop C++ compiler detected. Enabling static template instantation."
4804	       fi
4805               ;;
4806	*-*-linux-gnu)
4807	       ;;
4808	alpha*-*-linux-*)
4809	       AM_CFLAGS="$AM_CFLAGS -mieee"
4810	       AM_CXXFLAGS="$AM_CXXFLAGS -mieee"
4811	       echo "Enabling fully IEEE compliant floating-point code generation on Alpha."
4812	       ;;
4813	*darwin*)
4814	       if test "$GCC" = yes; then
4815		  AM_CPPFLAGS="$AM_CPPFLAGS"
4816	       fi
4817	       ;;
4818	*)
4819	       echo "Using generic settings for POSIX thread support."
4820	       ;;
4821esac
4822
4823
4824
4825ac_ext=c
4826ac_cpp='$CPP $CPPFLAGS'
4827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829ac_compiler_gnu=$ac_cv_c_compiler_gnu
4830
4831
4832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
4833$as_echo_n "checking for library containing pthread_create... " >&6; }
4834if ${ac_cv_search_pthread_create+:} false; then :
4835  $as_echo_n "(cached) " >&6
4836else
4837  ac_func_search_save_LIBS=$LIBS
4838cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839/* end confdefs.h.  */
4840
4841/* Override any GCC internal prototype to avoid an error.
4842   Use char because int might match the return type of a GCC
4843   builtin and then its argument prototype would still apply.  */
4844#ifdef __cplusplus
4845extern "C"
4846#endif
4847char pthread_create ();
4848int
4849main ()
4850{
4851return pthread_create ();
4852  ;
4853  return 0;
4854}
4855_ACEOF
4856for ac_lib in '' pthread c_r; do
4857  if test -z "$ac_lib"; then
4858    ac_res="none required"
4859  else
4860    ac_res=-l$ac_lib
4861    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4862  fi
4863  if ac_fn_c_try_link "$LINENO"; then :
4864  ac_cv_search_pthread_create=$ac_res
4865fi
4866rm -f core conftest.err conftest.$ac_objext \
4867    conftest$ac_exeext
4868  if ${ac_cv_search_pthread_create+:} false; then :
4869  break
4870fi
4871done
4872if ${ac_cv_search_pthread_create+:} false; then :
4873
4874else
4875  ac_cv_search_pthread_create=no
4876fi
4877rm conftest.$ac_ext
4878LIBS=$ac_func_search_save_LIBS
4879fi
4880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
4881$as_echo "$ac_cv_search_pthread_create" >&6; }
4882ac_res=$ac_cv_search_pthread_create
4883if test "$ac_res" != no; then :
4884  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4885
4886else
4887  as_fn_error $? "** POSIX.4 threads not installed or broken **" "$LINENO" 5
4888fi
4889
4890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
4891$as_echo_n "checking for library containing clock_gettime... " >&6; }
4892if ${ac_cv_search_clock_gettime+:} false; then :
4893  $as_echo_n "(cached) " >&6
4894else
4895  ac_func_search_save_LIBS=$LIBS
4896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897/* end confdefs.h.  */
4898
4899/* Override any GCC internal prototype to avoid an error.
4900   Use char because int might match the return type of a GCC
4901   builtin and then its argument prototype would still apply.  */
4902#ifdef __cplusplus
4903extern "C"
4904#endif
4905char clock_gettime ();
4906int
4907main ()
4908{
4909return clock_gettime ();
4910  ;
4911  return 0;
4912}
4913_ACEOF
4914for ac_lib in '' rt; do
4915  if test -z "$ac_lib"; then
4916    ac_res="none required"
4917  else
4918    ac_res=-l$ac_lib
4919    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4920  fi
4921  if ac_fn_c_try_link "$LINENO"; then :
4922  ac_cv_search_clock_gettime=$ac_res
4923fi
4924rm -f core conftest.err conftest.$ac_objext \
4925    conftest$ac_exeext
4926  if ${ac_cv_search_clock_gettime+:} false; then :
4927  break
4928fi
4929done
4930if ${ac_cv_search_clock_gettime+:} false; then :
4931
4932else
4933  ac_cv_search_clock_gettime=no
4934fi
4935rm conftest.$ac_ext
4936LIBS=$ac_func_search_save_LIBS
4937fi
4938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
4939$as_echo "$ac_cv_search_clock_gettime" >&6; }
4940ac_res=$ac_cv_search_clock_gettime
4941if test "$ac_res" != no; then :
4942  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4943
4944fi
4945
4946ac_ext=cpp
4947ac_cpp='$CXXCPP $CPPFLAGS'
4948ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4951
4952
4953echo "------------------------------------------------------------------"
4954echo "2. Section: Options for the configure script"
4955echo "------------------------------------------------------------------"
4956
4957
4958
4959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
4960$as_echo_n "checking whether to enable debugging... " >&6; }
4961# Check whether --enable-debug was given.
4962if test "${enable_debug+set}" = set; then :
4963  enableval=$enable_debug;
4964    case "$enableval" in
4965      y | yes)
4966        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967$as_echo "yes" >&6; }
4968	include_debug=yes
4969      ;;
4970
4971      n | no)
4972        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973$as_echo "no" >&6; }
4974	include_debug=no
4975      ;;
4976
4977      *)
4978        as_fn_error $? "Invalid parameter value for --enable-debug: $enableval" "$LINENO" 5
4979      ;;
4980    esac
4981
4982
4983
4984fi
4985
4986
4987
4988if test x$include_debug = xyes; then
4989  ECA_AM_DEBUG_MODE_TRUE=
4990  ECA_AM_DEBUG_MODE_FALSE='#'
4991else
4992  ECA_AM_DEBUG_MODE_TRUE='#'
4993  ECA_AM_DEBUG_MODE_FALSE=
4994fi
4995
4996if test x$include_debug = xyes; then
4997    EXTRADEBUGFLAGS="-Wall -O"
4998
4999$as_echo "#define ECA_DEBUG_MODE 1" >>confdefs.h
5000
5001else
5002    EXTRADEBUGFLAGS="-DNDEBUG"
5003fi
5004AM_CXXFLAGS="$AM_CXXFLAGS $EXTRADEBUGFLAGS"
5005AM_CFLAGS="$AM_CFLAGS $EXTRADEBUGFLAGS"
5006
5007
5008# Check whether --enable-experimental was given.
5009if test "${enable_experimental+set}" = set; then :
5010  enableval=$enable_experimental;
5011	      case "$enableval" in
5012	        y | yes)
5013		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5014$as_echo "yes" >&6; }
5015		  experimental=yes
5016		;;
5017
5018		n | no)
5019		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020$as_echo "no" >&6; }
5021		  experimental=no
5022		;;
5023
5024		*)
5025		  as_fn_error $? "Invalid parameter value for --enable-experimental: $enableval" "$LINENO" 5
5026		;;
5027	      esac
5028
5029fi
5030
5031if test x$experimental = xyes; then
5032
5033$as_echo "#define ECA_FEELING_EXPERIMENTAL 1" >>confdefs.h
5034
5035fi
5036
5037
5038if test x$experimental = xyes; then
5039  ECA_AM_FEELING_EXPERIMENTAL_TRUE=
5040  ECA_AM_FEELING_EXPERIMENTAL_FALSE='#'
5041else
5042  ECA_AM_FEELING_EXPERIMENTAL_TRUE='#'
5043  ECA_AM_FEELING_EXPERIMENTAL_FALSE=
5044fi
5045
5046
5047
5048
5049if test "x${prefix}" = "xNONE"; then
5050    ecaprefix=${ac_default_prefix}
5051else
5052    ecaprefix=${prefix}
5053fi
5054ECA_S_PREFIX=${ecaprefix}
5055
5056
5057
5058cat >>confdefs.h <<_ACEOF
5059#define ECA_PREFIX "${ecaprefix}"
5060_ACEOF
5061
5062
5063
5064
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check design-by-contract assertions" >&5
5066$as_echo_n "checking whether to check design-by-contract assertions... " >&6; }
5067enable_dbc_d=yes
5068# Check whether --enable-dbc was given.
5069if test "${enable_dbc+set}" = set; then :
5070  enableval=$enable_dbc;
5071    case "$enableval" in
5072      y | yes)
5073        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074$as_echo "yes" >&6; }
5075	enable_dbc_d=yes
5076      ;;
5077
5078      n | no)
5079        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080$as_echo "no" >&6; }
5081	enable_dbc_d=no
5082      ;;
5083
5084      *)
5085        as_fn_error $? "Invalid parameter value for --enable-dbc: $enableval" "$LINENO" 5
5086      ;;
5087    esac
5088
5089else
5090
5091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5092$as_echo "yes" >&6; }
5093
5094
5095fi
5096
5097if test x$enable_dbc_d = xyes; then
5098AM_CXXFLAGS="$AM_CXXFLAGS -DENABLE_DBC"
5099AM_CFLAGS="$AM_CFLAGS -DENABLE_DBC"
5100fi
5101
5102
5103
5104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable effects" >&5
5105$as_echo_n "checking whether to enable effects... " >&6; }
5106# Check whether --enable-effects was given.
5107if test "${enable_effects+set}" = set; then :
5108  enableval=$enable_effects;
5109    echo "Enableval: ${enableval}."
5110    case "$enableval" in
5111      y | yes)
5112        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5113$as_echo "yes" >&6; }
5114	enable_effects_d=yes
5115      ;;
5116
5117      n | no)
5118        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119$as_echo "no" >&6; }
5120	enable_effects_d=no
5121      ;;
5122
5123      *)
5124        as_fn_error $? "Invalid parameter value for --enable-effects: $enableval" "$LINENO" 5
5125      ;;
5126    esac
5127
5128else
5129
5130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5131$as_echo "yes" >&6; }
5132    enable_effects_d=yes
5133
5134
5135fi
5136
5137
5138
5139if test x$enable_effects_d = xno; then
5140  ECA_AM_DISABLE_EFFECTS_TRUE=
5141  ECA_AM_DISABLE_EFFECTS_FALSE='#'
5142else
5143  ECA_AM_DISABLE_EFFECTS_TRUE='#'
5144  ECA_AM_DISABLE_EFFECTS_FALSE=
5145fi
5146
5147if test x$enable_effects_d = xno; then
5148
5149$as_echo "#define ECA_DISABLE_EFFECTS 1" >>confdefs.h
5150
5151fi
5152
5153
5154
5155
5156# Check whether --with-extra-cppflags was given.
5157if test "${with_extra_cppflags+set}" = set; then :
5158  withval=$with_extra_cppflags;
5159	    ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${withval}"
5160
5161fi
5162
5163
5164# Check whether --with-extra-libs was given.
5165if test "${with_extra_libs+set}" = set; then :
5166  withval=$with_extra_libs;
5167	    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${withval}"
5168
5169fi
5170
5171
5172
5173
5174
5175  echo "checking for largefile support (>2GB files)..."
5176
5177
5178# Check whether --with-largefile was given.
5179if test "${with_largefile+set}" = set; then :
5180  withval=$with_largefile;
5181fi
5182
5183
5184  # Check whether --enable-largefile was given.
5185if test "${enable_largefile+set}" = set; then :
5186  enableval=$enable_largefile;
5187fi
5188
5189if test "$enable_largefile" != no; then
5190
5191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5192$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5193if ${ac_cv_sys_largefile_CC+:} false; then :
5194  $as_echo_n "(cached) " >&6
5195else
5196  ac_cv_sys_largefile_CC=no
5197     if test "$GCC" != yes; then
5198       ac_save_CC=$CC
5199       while :; do
5200	 # IRIX 6.2 and later do not support large files by default,
5201	 # so use the C compiler's -n32 option if that helps.
5202	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203/* end confdefs.h.  */
5204#include <sys/types.h>
5205 /* Check that off_t can represent 2**63 - 1 correctly.
5206    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5207    since some C++ compilers masquerading as C compilers
5208    incorrectly reject 9223372036854775807.  */
5209#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5210  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5211		       && LARGE_OFF_T % 2147483647 == 1)
5212		      ? 1 : -1];
5213int
5214main ()
5215{
5216
5217  ;
5218  return 0;
5219}
5220_ACEOF
5221	 if ac_fn_cxx_try_compile "$LINENO"; then :
5222  break
5223fi
5224rm -f core conftest.err conftest.$ac_objext
5225	 CC="$CC -n32"
5226	 if ac_fn_cxx_try_compile "$LINENO"; then :
5227  ac_cv_sys_largefile_CC=' -n32'; break
5228fi
5229rm -f core conftest.err conftest.$ac_objext
5230	 break
5231       done
5232       CC=$ac_save_CC
5233       rm -f conftest.$ac_ext
5234    fi
5235fi
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5237$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5238  if test "$ac_cv_sys_largefile_CC" != no; then
5239    CC=$CC$ac_cv_sys_largefile_CC
5240  fi
5241
5242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5243$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5244if ${ac_cv_sys_file_offset_bits+:} false; then :
5245  $as_echo_n "(cached) " >&6
5246else
5247  while :; do
5248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249/* end confdefs.h.  */
5250#include <sys/types.h>
5251 /* Check that off_t can represent 2**63 - 1 correctly.
5252    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5253    since some C++ compilers masquerading as C compilers
5254    incorrectly reject 9223372036854775807.  */
5255#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5256  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5257		       && LARGE_OFF_T % 2147483647 == 1)
5258		      ? 1 : -1];
5259int
5260main ()
5261{
5262
5263  ;
5264  return 0;
5265}
5266_ACEOF
5267if ac_fn_cxx_try_compile "$LINENO"; then :
5268  ac_cv_sys_file_offset_bits=no; break
5269fi
5270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272/* end confdefs.h.  */
5273#define _FILE_OFFSET_BITS 64
5274#include <sys/types.h>
5275 /* Check that off_t can represent 2**63 - 1 correctly.
5276    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5277    since some C++ compilers masquerading as C compilers
5278    incorrectly reject 9223372036854775807.  */
5279#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5280  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5281		       && LARGE_OFF_T % 2147483647 == 1)
5282		      ? 1 : -1];
5283int
5284main ()
5285{
5286
5287  ;
5288  return 0;
5289}
5290_ACEOF
5291if ac_fn_cxx_try_compile "$LINENO"; then :
5292  ac_cv_sys_file_offset_bits=64; break
5293fi
5294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295  ac_cv_sys_file_offset_bits=unknown
5296  break
5297done
5298fi
5299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5300$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5301case $ac_cv_sys_file_offset_bits in #(
5302  no | unknown) ;;
5303  *)
5304cat >>confdefs.h <<_ACEOF
5305#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5306_ACEOF
5307;;
5308esac
5309rm -rf conftest*
5310  if test $ac_cv_sys_file_offset_bits = unknown; then
5311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5312$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5313if ${ac_cv_sys_large_files+:} false; then :
5314  $as_echo_n "(cached) " >&6
5315else
5316  while :; do
5317  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318/* end confdefs.h.  */
5319#include <sys/types.h>
5320 /* Check that off_t can represent 2**63 - 1 correctly.
5321    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5322    since some C++ compilers masquerading as C compilers
5323    incorrectly reject 9223372036854775807.  */
5324#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5325  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5326		       && LARGE_OFF_T % 2147483647 == 1)
5327		      ? 1 : -1];
5328int
5329main ()
5330{
5331
5332  ;
5333  return 0;
5334}
5335_ACEOF
5336if ac_fn_cxx_try_compile "$LINENO"; then :
5337  ac_cv_sys_large_files=no; break
5338fi
5339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341/* end confdefs.h.  */
5342#define _LARGE_FILES 1
5343#include <sys/types.h>
5344 /* Check that off_t can represent 2**63 - 1 correctly.
5345    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5346    since some C++ compilers masquerading as C compilers
5347    incorrectly reject 9223372036854775807.  */
5348#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5349  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5350		       && LARGE_OFF_T % 2147483647 == 1)
5351		      ? 1 : -1];
5352int
5353main ()
5354{
5355
5356  ;
5357  return 0;
5358}
5359_ACEOF
5360if ac_fn_cxx_try_compile "$LINENO"; then :
5361  ac_cv_sys_large_files=1; break
5362fi
5363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364  ac_cv_sys_large_files=unknown
5365  break
5366done
5367fi
5368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5369$as_echo "$ac_cv_sys_large_files" >&6; }
5370case $ac_cv_sys_large_files in #(
5371  no | unknown) ;;
5372  *)
5373cat >>confdefs.h <<_ACEOF
5374#define _LARGE_FILES $ac_cv_sys_large_files
5375_ACEOF
5376;;
5377esac
5378rm -rf conftest*
5379  fi
5380
5381
5382fi
5383
5384  if test x$ac_cv_sys_file_offset_bits = x64 ; then
5385                AM_CXXFLAGS="$AM_CXXFLAGS -D_FILE_OFFSET_BITS=64"
5386    AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64"
5387
5388    enable_largefile=yes
5389  fi
5390
5391
5392
5393
5394
5395
5396
5397
5398ac_ext=cpp
5399ac_cpp='$CXXCPP $CPPFLAGS'
5400ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5401ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5402ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5404$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5405if test -z "$CXXCPP"; then
5406  if ${ac_cv_prog_CXXCPP+:} false; then :
5407  $as_echo_n "(cached) " >&6
5408else
5409      # Double quotes because CXXCPP needs to be expanded
5410    for CXXCPP in "$CXX -E" "/lib/cpp"
5411    do
5412      ac_preproc_ok=false
5413for ac_cxx_preproc_warn_flag in '' yes
5414do
5415  # Use a header file that comes with gcc, so configuring glibc
5416  # with a fresh cross-compiler works.
5417  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5418  # <limits.h> exists even on freestanding compilers.
5419  # On the NeXT, cc -E runs the code through the compiler's parser,
5420  # not just through cpp. "Syntax error" is here to catch this case.
5421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422/* end confdefs.h.  */
5423#ifdef __STDC__
5424# include <limits.h>
5425#else
5426# include <assert.h>
5427#endif
5428		     Syntax error
5429_ACEOF
5430if ac_fn_cxx_try_cpp "$LINENO"; then :
5431
5432else
5433  # Broken: fails on valid input.
5434continue
5435fi
5436rm -f conftest.err conftest.i conftest.$ac_ext
5437
5438  # OK, works on sane cases.  Now check whether nonexistent headers
5439  # can be detected and how.
5440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441/* end confdefs.h.  */
5442#include <ac_nonexistent.h>
5443_ACEOF
5444if ac_fn_cxx_try_cpp "$LINENO"; then :
5445  # Broken: success on invalid input.
5446continue
5447else
5448  # Passes both tests.
5449ac_preproc_ok=:
5450break
5451fi
5452rm -f conftest.err conftest.i conftest.$ac_ext
5453
5454done
5455# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5456rm -f conftest.i conftest.err conftest.$ac_ext
5457if $ac_preproc_ok; then :
5458  break
5459fi
5460
5461    done
5462    ac_cv_prog_CXXCPP=$CXXCPP
5463
5464fi
5465  CXXCPP=$ac_cv_prog_CXXCPP
5466else
5467  ac_cv_prog_CXXCPP=$CXXCPP
5468fi
5469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5470$as_echo "$CXXCPP" >&6; }
5471ac_preproc_ok=false
5472for ac_cxx_preproc_warn_flag in '' yes
5473do
5474  # Use a header file that comes with gcc, so configuring glibc
5475  # with a fresh cross-compiler works.
5476  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5477  # <limits.h> exists even on freestanding compilers.
5478  # On the NeXT, cc -E runs the code through the compiler's parser,
5479  # not just through cpp. "Syntax error" is here to catch this case.
5480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481/* end confdefs.h.  */
5482#ifdef __STDC__
5483# include <limits.h>
5484#else
5485# include <assert.h>
5486#endif
5487		     Syntax error
5488_ACEOF
5489if ac_fn_cxx_try_cpp "$LINENO"; then :
5490
5491else
5492  # Broken: fails on valid input.
5493continue
5494fi
5495rm -f conftest.err conftest.i conftest.$ac_ext
5496
5497  # OK, works on sane cases.  Now check whether nonexistent headers
5498  # can be detected and how.
5499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500/* end confdefs.h.  */
5501#include <ac_nonexistent.h>
5502_ACEOF
5503if ac_fn_cxx_try_cpp "$LINENO"; then :
5504  # Broken: success on invalid input.
5505continue
5506else
5507  # Passes both tests.
5508ac_preproc_ok=:
5509break
5510fi
5511rm -f conftest.err conftest.i conftest.$ac_ext
5512
5513done
5514# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5515rm -f conftest.i conftest.err conftest.$ac_ext
5516if $ac_preproc_ok; then :
5517
5518else
5519  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5520$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5521as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5522See \`config.log' for more details" "$LINENO" 5; }
5523fi
5524
5525ac_ext=cpp
5526ac_cpp='$CXXCPP $CPPFLAGS'
5527ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5528ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5529ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5530
5531
5532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5533$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5534if ${ac_cv_path_GREP+:} false; then :
5535  $as_echo_n "(cached) " >&6
5536else
5537  if test -z "$GREP"; then
5538  ac_path_GREP_found=false
5539  # Loop through the user's path and test for each of PROGNAME-LIST
5540  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5542do
5543  IFS=$as_save_IFS
5544  test -z "$as_dir" && as_dir=.
5545    for ac_prog in grep ggrep; do
5546    for ac_exec_ext in '' $ac_executable_extensions; do
5547      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5548      as_fn_executable_p "$ac_path_GREP" || continue
5549# Check for GNU ac_path_GREP and select it if it is found.
5550  # Check for GNU $ac_path_GREP
5551case `"$ac_path_GREP" --version 2>&1` in
5552*GNU*)
5553  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5554*)
5555  ac_count=0
5556  $as_echo_n 0123456789 >"conftest.in"
5557  while :
5558  do
5559    cat "conftest.in" "conftest.in" >"conftest.tmp"
5560    mv "conftest.tmp" "conftest.in"
5561    cp "conftest.in" "conftest.nl"
5562    $as_echo 'GREP' >> "conftest.nl"
5563    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5564    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5565    as_fn_arith $ac_count + 1 && ac_count=$as_val
5566    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5567      # Best one so far, save it but keep looking for a better one
5568      ac_cv_path_GREP="$ac_path_GREP"
5569      ac_path_GREP_max=$ac_count
5570    fi
5571    # 10*(2^10) chars as input seems more than enough
5572    test $ac_count -gt 10 && break
5573  done
5574  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5575esac
5576
5577      $ac_path_GREP_found && break 3
5578    done
5579  done
5580  done
5581IFS=$as_save_IFS
5582  if test -z "$ac_cv_path_GREP"; then
5583    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5584  fi
5585else
5586  ac_cv_path_GREP=$GREP
5587fi
5588
5589fi
5590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5591$as_echo "$ac_cv_path_GREP" >&6; }
5592 GREP="$ac_cv_path_GREP"
5593
5594
5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5596$as_echo_n "checking for egrep... " >&6; }
5597if ${ac_cv_path_EGREP+:} false; then :
5598  $as_echo_n "(cached) " >&6
5599else
5600  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5601   then ac_cv_path_EGREP="$GREP -E"
5602   else
5603     if test -z "$EGREP"; then
5604  ac_path_EGREP_found=false
5605  # Loop through the user's path and test for each of PROGNAME-LIST
5606  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5608do
5609  IFS=$as_save_IFS
5610  test -z "$as_dir" && as_dir=.
5611    for ac_prog in egrep; do
5612    for ac_exec_ext in '' $ac_executable_extensions; do
5613      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5614      as_fn_executable_p "$ac_path_EGREP" || continue
5615# Check for GNU ac_path_EGREP and select it if it is found.
5616  # Check for GNU $ac_path_EGREP
5617case `"$ac_path_EGREP" --version 2>&1` in
5618*GNU*)
5619  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5620*)
5621  ac_count=0
5622  $as_echo_n 0123456789 >"conftest.in"
5623  while :
5624  do
5625    cat "conftest.in" "conftest.in" >"conftest.tmp"
5626    mv "conftest.tmp" "conftest.in"
5627    cp "conftest.in" "conftest.nl"
5628    $as_echo 'EGREP' >> "conftest.nl"
5629    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5630    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5631    as_fn_arith $ac_count + 1 && ac_count=$as_val
5632    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5633      # Best one so far, save it but keep looking for a better one
5634      ac_cv_path_EGREP="$ac_path_EGREP"
5635      ac_path_EGREP_max=$ac_count
5636    fi
5637    # 10*(2^10) chars as input seems more than enough
5638    test $ac_count -gt 10 && break
5639  done
5640  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5641esac
5642
5643      $ac_path_EGREP_found && break 3
5644    done
5645  done
5646  done
5647IFS=$as_save_IFS
5648  if test -z "$ac_cv_path_EGREP"; then
5649    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5650  fi
5651else
5652  ac_cv_path_EGREP=$EGREP
5653fi
5654
5655   fi
5656fi
5657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5658$as_echo "$ac_cv_path_EGREP" >&6; }
5659 EGREP="$ac_cv_path_EGREP"
5660
5661
5662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5663$as_echo_n "checking for ANSI C header files... " >&6; }
5664if ${ac_cv_header_stdc+:} false; then :
5665  $as_echo_n "(cached) " >&6
5666else
5667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668/* end confdefs.h.  */
5669#include <stdlib.h>
5670#include <stdarg.h>
5671#include <string.h>
5672#include <float.h>
5673
5674int
5675main ()
5676{
5677
5678  ;
5679  return 0;
5680}
5681_ACEOF
5682if ac_fn_cxx_try_compile "$LINENO"; then :
5683  ac_cv_header_stdc=yes
5684else
5685  ac_cv_header_stdc=no
5686fi
5687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5688
5689if test $ac_cv_header_stdc = yes; then
5690  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692/* end confdefs.h.  */
5693#include <string.h>
5694
5695_ACEOF
5696if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5697  $EGREP "memchr" >/dev/null 2>&1; then :
5698
5699else
5700  ac_cv_header_stdc=no
5701fi
5702rm -f conftest*
5703
5704fi
5705
5706if test $ac_cv_header_stdc = yes; then
5707  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709/* end confdefs.h.  */
5710#include <stdlib.h>
5711
5712_ACEOF
5713if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5714  $EGREP "free" >/dev/null 2>&1; then :
5715
5716else
5717  ac_cv_header_stdc=no
5718fi
5719rm -f conftest*
5720
5721fi
5722
5723if test $ac_cv_header_stdc = yes; then
5724  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5725  if test "$cross_compiling" = yes; then :
5726  :
5727else
5728  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5729/* end confdefs.h.  */
5730#include <ctype.h>
5731#include <stdlib.h>
5732#if ((' ' & 0x0FF) == 0x020)
5733# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5734# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5735#else
5736# define ISLOWER(c) \
5737		   (('a' <= (c) && (c) <= 'i') \
5738		     || ('j' <= (c) && (c) <= 'r') \
5739		     || ('s' <= (c) && (c) <= 'z'))
5740# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5741#endif
5742
5743#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5744int
5745main ()
5746{
5747  int i;
5748  for (i = 0; i < 256; i++)
5749    if (XOR (islower (i), ISLOWER (i))
5750	|| toupper (i) != TOUPPER (i))
5751      return 2;
5752  return 0;
5753}
5754_ACEOF
5755if ac_fn_cxx_try_run "$LINENO"; then :
5756
5757else
5758  ac_cv_header_stdc=no
5759fi
5760rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5761  conftest.$ac_objext conftest.beam conftest.$ac_ext
5762fi
5763
5764fi
5765fi
5766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5767$as_echo "$ac_cv_header_stdc" >&6; }
5768if test $ac_cv_header_stdc = yes; then
5769
5770$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5771
5772fi
5773
5774# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5775for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5776		  inttypes.h stdint.h unistd.h
5777do :
5778  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5779ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5780"
5781if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5782  cat >>confdefs.h <<_ACEOF
5783#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5784_ACEOF
5785
5786fi
5787
5788done
5789
5790
5791ac_fn_cxx_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
5792if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
5793  oss_support=yes
5794else
5795  oss_support=no
5796fi
5797
5798
5799# Check whether --enable-oss was given.
5800if test "${enable_oss+set}" = set; then :
5801  enableval=$enable_oss;
5802	      case "$enableval" in
5803	        y | yes)
5804		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5805$as_echo "yes" >&6; }
5806		  oss_support=yes
5807		;;
5808
5809		n | no)
5810		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811$as_echo "no" >&6; }
5812		  oss_support=no
5813		;;
5814
5815		*)
5816		  as_fn_error $? "Invalid parameter value for --enable-oss: $enableval" "$LINENO" 5
5817		;;
5818	      esac
5819
5820fi
5821
5822
5823
5824if test x$oss_support = xyes; then
5825  ECA_AM_COMPILE_OSS_TRUE=
5826  ECA_AM_COMPILE_OSS_FALSE='#'
5827else
5828  ECA_AM_COMPILE_OSS_TRUE='#'
5829  ECA_AM_COMPILE_OSS_FALSE=
5830fi
5831
5832if test x$oss_support = xyes; then
5833
5834$as_echo "#define ECA_COMPILE_OSS 1" >>confdefs.h
5835
5836fi
5837
5838# Check whether --enable-osstrigger was given.
5839if test "${enable_osstrigger+set}" = set; then :
5840  enableval=$enable_osstrigger;
5841	      case "$enableval" in
5842	        y | yes)
5843		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5844$as_echo "yes" >&6; }
5845		  osstrigger=yes
5846		;;
5847
5848		n | no)
5849		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850$as_echo "no" >&6; }
5851		  osstrigger=no
5852		;;
5853
5854		*)
5855		  as_fn_error $? "Invalid parameter value for --enable-osstrigger: $enableval" "$LINENO" 5
5856		;;
5857	      esac
5858
5859fi
5860
5861if test x$osstrigger = xyes; then
5862
5863$as_echo "#define ECA_DISABLE_OSS_TRIGGER 1" >>confdefs.h
5864
5865fi
5866
5867
5868# Extract the first word of "artsc-config", so it can be a program name with args.
5869set dummy artsc-config; ac_word=$2
5870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871$as_echo_n "checking for $ac_word... " >&6; }
5872if ${ac_cv_path_ARTSC_CONFIG+:} false; then :
5873  $as_echo_n "(cached) " >&6
5874else
5875  case $ARTSC_CONFIG in
5876  [\\/]* | ?:[\\/]*)
5877  ac_cv_path_ARTSC_CONFIG="$ARTSC_CONFIG" # Let the user override the test with a path.
5878  ;;
5879  *)
5880  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881for as_dir in $PATH
5882do
5883  IFS=$as_save_IFS
5884  test -z "$as_dir" && as_dir=.
5885    for ac_exec_ext in '' $ac_executable_extensions; do
5886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887    ac_cv_path_ARTSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889    break 2
5890  fi
5891done
5892  done
5893IFS=$as_save_IFS
5894
5895  test -z "$ac_cv_path_ARTSC_CONFIG" && ac_cv_path_ARTSC_CONFIG="none"
5896  ;;
5897esac
5898fi
5899ARTSC_CONFIG=$ac_cv_path_ARTSC_CONFIG
5900if test -n "$ARTSC_CONFIG"; then
5901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARTSC_CONFIG" >&5
5902$as_echo "$ARTSC_CONFIG" >&6; }
5903else
5904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905$as_echo "no" >&6; }
5906fi
5907
5908
5909if test x$ARTSC_CONFIG = xnone; then
5910  arts_support=no
5911else
5912  arts_support=yes
5913  ECA_ARTSC_CFLAGS="`$ARTSC_CONFIG --cflags`"
5914  ECA_ARTSC_LIBS="`$ARTSC_CONFIG --libs`"
5915fi
5916
5917if test x$arts_support = xyes; then
5918  old_LIBS=$LIBS
5919  LIBS="$LIBS $ECA_ARTSC_LIBS"
5920  old_CFLAGS=$CFLAGS
5921  CFLAGS="$CFLAGS $ECA_ARTSC_CFLAGS"
5922  ac_ext=c
5923ac_cpp='$CPP $CPPFLAGS'
5924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5926ac_compiler_gnu=$ac_cv_c_compiler_gnu
5927
5928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929/* end confdefs.h.  */
5930 #include <artsc.h>
5931int
5932main ()
5933{
5934
5935	arts_init();
5936	return 0;
5937
5938  ;
5939  return 0;
5940}
5941_ACEOF
5942if ac_fn_c_try_link "$LINENO"; then :
5943   /bin/true
5944else
5945   arts_support=no
5946
5947fi
5948rm -f core conftest.err conftest.$ac_objext \
5949    conftest$ac_exeext conftest.$ac_ext
5950  ac_ext=cpp
5951ac_cpp='$CXXCPP $CPPFLAGS'
5952ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5955
5956  LIBS=${old_LIBS}
5957  CFLAGS=${old_CFLAGS}
5958fi
5959
5960# Check whether --enable-arts was given.
5961if test "${enable_arts+set}" = set; then :
5962  enableval=$enable_arts;
5963	      case "$enableval" in
5964	        y | yes)
5965		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5966$as_echo "yes" >&6; }
5967		  arts_support=yes
5968		;;
5969
5970		n | no)
5971		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972$as_echo "no" >&6; }
5973		  arts_support=no
5974		;;
5975
5976		*)
5977		  as_fn_error $? "Invalid parameter value for --enable-arts: $enableval" "$LINENO" 5
5978		;;
5979	      esac
5980
5981fi
5982
5983
5984
5985if test x$arts_support = xyes; then
5986  ECA_AM_COMPILE_ARTS_TRUE=
5987  ECA_AM_COMPILE_ARTS_FALSE='#'
5988else
5989  ECA_AM_COMPILE_ARTS_TRUE='#'
5990  ECA_AM_COMPILE_ARTS_FALSE=
5991fi
5992
5993if test x$arts_support = xyes; then
5994    ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${ECA_ARTSC_CFLAGS}"
5995    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${ECA_ARTSC_LIBS}"
5996
5997$as_echo "#define ECA_COMPILE_ARTS 1" >>confdefs.h
5998
5999fi
6000
6001
6002ac_fn_cxx_check_header_mongrel "$LINENO" "samplerate.h" "ac_cv_header_samplerate_h" "$ac_includes_default"
6003if test "x$ac_cv_header_samplerate_h" = xyes; then :
6004  samplerate_support=yes
6005else
6006  samplerate_support=no
6007fi
6008
6009
6010
6011# Check whether --with-libsamplerate was given.
6012if test "${with_libsamplerate+set}" = set; then :
6013  withval=$with_libsamplerate;
6014	        ECA_SAMPLERATE_LIBS="-L${withval}/lib"
6015		ECA_SAMPLERATE_INCLUDES="-I${withval}/include"
6016		samplerate_support=yes
6017
6018fi
6019
6020# Check whether --enable-libsamplerate was given.
6021if test "${enable_libsamplerate+set}" = set; then :
6022  enableval=$enable_libsamplerate;
6023	      case "$enableval" in
6024	        y | yes)
6025		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6026$as_echo "yes" >&6; }
6027		  samplerate_support=yes
6028		;;
6029
6030		n | no)
6031		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6032$as_echo "no" >&6; }
6033		  samplerate_support=no
6034		;;
6035
6036		*)
6037		  as_fn_error $? "Invalid parameter value for --enable-samplerate: $enableval" "$LINENO" 5
6038		;;
6039	      esac
6040
6041fi
6042
6043
6044
6045if test x$samplerate_support = xyes; then
6046  ECA_AM_COMPILE_SAMPLERATE_TRUE=
6047  ECA_AM_COMPILE_SAMPLERATE_FALSE='#'
6048else
6049  ECA_AM_COMPILE_SAMPLERATE_TRUE='#'
6050  ECA_AM_COMPILE_SAMPLERATE_FALSE=
6051fi
6052
6053
6054if test x$samplerate_support = xyes; then
6055    ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${ECA_SAMPLERATE_INCLUDES}"
6056    ECA_SAMPLERATE_LIBS="${ECA_SAMPLERATE_LIBS} -lsamplerate"
6057    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${ECA_SAMPLERATE_LIBS}"
6058
6059$as_echo "#define ECA_COMPILE_SAMPLERATE 1" >>confdefs.h
6060
6061fi
6062
6063
6064
6065pyecasound_support=${eca_platform_python_impl}
6066
6067# Check whether --enable-pyecasound was given.
6068if test "${enable_pyecasound+set}" = set; then :
6069  enableval=$enable_pyecasound;
6070	      case "$enableval" in
6071	        y | yes)
6072		  pyecasound_support=python
6073		;;
6074
6075		n | no | none)
6076		  pyecasound_support=none
6077		;;
6078
6079		python)
6080		  pyecasound_support=python
6081		;;
6082
6083		*)
6084		  pyecasound_support=python
6085		;;
6086	      esac
6087
6088fi
6089
6090
6091
6092# Extract the first word of "python", so it can be a program name with args.
6093set dummy python; ac_word=$2
6094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095$as_echo_n "checking for $ac_word... " >&6; }
6096if ${ac_cv_path_PYTHONPATH+:} false; then :
6097  $as_echo_n "(cached) " >&6
6098else
6099  case $PYTHONPATH in
6100  [\\/]* | ?:[\\/]*)
6101  ac_cv_path_PYTHONPATH="$PYTHONPATH" # Let the user override the test with a path.
6102  ;;
6103  *)
6104  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105for as_dir in $PATH
6106do
6107  IFS=$as_save_IFS
6108  test -z "$as_dir" && as_dir=.
6109    for ac_exec_ext in '' $ac_executable_extensions; do
6110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111    ac_cv_path_PYTHONPATH="$as_dir/$ac_word$ac_exec_ext"
6112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113    break 2
6114  fi
6115done
6116  done
6117IFS=$as_save_IFS
6118
6119  test -z "$ac_cv_path_PYTHONPATH" && ac_cv_path_PYTHONPATH="none"
6120  ;;
6121esac
6122fi
6123PYTHONPATH=$ac_cv_path_PYTHONPATH
6124if test -n "$PYTHONPATH"; then
6125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONPATH" >&5
6126$as_echo "$PYTHONPATH" >&6; }
6127else
6128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129$as_echo "no" >&6; }
6130fi
6131
6132
6133if test x$PYTHONPATH = xnone; then
6134  pyecasound_support=none
6135  python_install_prefix=""
6136else
6137  python_install_prefix=`$PYTHONPATH -c "import sys; print (sys.prefix)"`
6138fi
6139
6140
6141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5
6142$as_echo_n "checking for Python libraries... " >&6; }
6143
6144# Check whether --with-python-modules was given.
6145if test "${with_python_modules+set}" = set; then :
6146  withval=$with_python_modules;
6147fi
6148
6149
6150if test "X$with_python_modules" = "X"
6151then
6152    if test x${python_install_prefix} != x${ecaprefix} -a \
6153            x${ecaprefix} != x/usr -a \
6154	    x${ecaprefix} != x/usr/local ; then
6155        pyecasound_support=none
6156	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6157$as_echo "none" >&6; }
6158	if test x$PYTHONPATH != xnone; then
6159	    python_prefix_tmp=`$PYTHONPATH -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
6160	else
6161	    python_prefix_tmp="DIR"
6162	fi
6163        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
6164	***
6165	*** Python modules won't be installed as the module install prefix does
6166	*** not match ecasound's build prefix! To override, set python
6167	*** module directory explicitly (for example
6168	*** \"--with-python-modules=${python_prefix_tmp}\").
6169	***
6170	" >&5
6171$as_echo "$as_me: WARNING:
6172	***
6173	*** Python modules won't be installed as the module install prefix does
6174	*** not match ecasound's build prefix! To override, set python
6175	*** module directory explicitly (for example
6176	*** \"--with-python-modules=${python_prefix_tmp}\").
6177	***
6178	" >&2;}
6179    else
6180        pymoddirs="/usr/local/lib /usr/lib"
6181                pymoddirsmore=`$PYTHONPATH -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3])"`
6182        pymoddirs="$pymoddirs $pymoddirsmore"
6183	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pymoddirs" >&5
6184$as_echo "$pymoddirs" >&6; }
6185    fi
6186else
6187    pymoddirs=$with_python_modules
6188    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pymoddirs" >&5
6189$as_echo "$pymoddirs" >&6; }
6190fi
6191
6192
6193# Check whether --enable-python-force-site-packages was given.
6194if test "${enable_python_force_site_packages+set}" = set; then :
6195  enableval=$enable_python_force_site_packages;
6196	      case "$enableval" in
6197	        y | yes)
6198		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6199$as_echo "yes" >&6; }
6200		  python_force_site_packages=yes
6201		;;
6202
6203		n | no)
6204		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205$as_echo "no" >&6; }
6206		  python_force_site_packages=no
6207		;;
6208
6209		*)
6210		  as_fn_error $? "Invalid parameter value for --enable-python-force-site-packages: $enableval" "$LINENO" 5
6211		;;
6212	      esac
6213
6214fi
6215
6216
6217
6218ECA_S_PYTHON_MODULES=NO
6219for i in $pymoddirs;
6220do
6221  for j in lib-dynload;
6222  do
6223    if test -r "$i/$j"; then
6224      ECA_S_PYTHON_MODULES=$i
6225      break 2
6226    fi
6227  done
6228done
6229
6230if test -d $ECA_S_PYTHON_MODULES/site-packages -o "X$python_force_site_packages" = "Xyes"
6231then
6232    ECA_S_PYTHON_MODULES=$ECA_S_PYTHON_MODULES/site-packages
6233    ECA_S_PYTHON_DLMODULES=$ECA_S_PYTHON_MODULES
6234else
6235    ECA_S_PYTHON_DLMODULES=$ECA_S_PYTHON_MODULES/lib-dynload
6236fi
6237
6238
6239
6240
6241
6242if test x$pyecasound_support = xc; then
6243  ECA_AM_PYECASOUND_CEXT_TRUE=
6244  ECA_AM_PYECASOUND_CEXT_FALSE='#'
6245else
6246  ECA_AM_PYECASOUND_CEXT_TRUE='#'
6247  ECA_AM_PYECASOUND_CEXT_FALSE=
6248fi
6249
6250
6251
6252if test x$pyecasound_support != xnone; then
6253  ECA_AM_PYECASOUND_INSTALL_TRUE=
6254  ECA_AM_PYECASOUND_INSTALL_FALSE='#'
6255else
6256  ECA_AM_PYECASOUND_INSTALL_TRUE='#'
6257  ECA_AM_PYECASOUND_INSTALL_FALSE=
6258fi
6259
6260
6261
6262
6263rubyecasound_support=yes
6264
6265# Check whether --enable-rubyecasound was given.
6266if test "${enable_rubyecasound+set}" = set; then :
6267  enableval=$enable_rubyecasound;
6268	      case "$enableval" in
6269	        y | yes)
6270		  rubyecasound_support=yes
6271		;;
6272
6273		n | no | none)
6274		  rubyecasound_support=no
6275		;;
6276
6277		*)
6278		  rubyecasound_support=no
6279		;;
6280	      esac
6281
6282fi
6283
6284
6285
6286# Extract the first word of "ruby", so it can be a program name with args.
6287set dummy ruby; ac_word=$2
6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289$as_echo_n "checking for $ac_word... " >&6; }
6290if ${ac_cv_path_RUBYPATH+:} false; then :
6291  $as_echo_n "(cached) " >&6
6292else
6293  case $RUBYPATH in
6294  [\\/]* | ?:[\\/]*)
6295  ac_cv_path_RUBYPATH="$RUBYPATH" # Let the user override the test with a path.
6296  ;;
6297  *)
6298  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299for as_dir in $PATH
6300do
6301  IFS=$as_save_IFS
6302  test -z "$as_dir" && as_dir=.
6303    for ac_exec_ext in '' $ac_executable_extensions; do
6304  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305    ac_cv_path_RUBYPATH="$as_dir/$ac_word$ac_exec_ext"
6306    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307    break 2
6308  fi
6309done
6310  done
6311IFS=$as_save_IFS
6312
6313  test -z "$ac_cv_path_RUBYPATH" && ac_cv_path_RUBYPATH="none"
6314  ;;
6315esac
6316fi
6317RUBYPATH=$ac_cv_path_RUBYPATH
6318if test -n "$RUBYPATH"; then
6319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBYPATH" >&5
6320$as_echo "$RUBYPATH" >&6; }
6321else
6322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323$as_echo "no" >&6; }
6324fi
6325
6326
6327if test x$RUBYPATH = xnone; then
6328  rubyecasound_support=no
6329  ECA_S_RUBY_SITEDIR=""
6330else
6331  ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include RbConfig; print CONFIG["sitedir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`"
6332fi
6333
6334
6335
6336
6337if test x$rubyecasound_support = xyes; then
6338  ECA_AM_RUBYECASOUND_INSTALL_TRUE=
6339  ECA_AM_RUBYECASOUND_INSTALL_FALSE='#'
6340else
6341  ECA_AM_RUBYECASOUND_INSTALL_TRUE='#'
6342  ECA_AM_RUBYECASOUND_INSTALL_FALSE=
6343fi
6344
6345
6346
6347echo "------------------------------------------------------------------"
6348echo "3. Section: Programs "
6349echo "------------------------------------------------------------------"
6350
6351
6352
6353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports namespaces" >&5
6354$as_echo_n "checking if C++ compiler supports namespaces... " >&6; }
6355ac_ext=cpp
6356ac_cpp='$CXXCPP $CPPFLAGS'
6357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6360
6361old_cxx_flags=$CXXFLAGS
6362CXXFLAGS="-fno-exceptions $CXXFLAGS" # hack around gcc3.x feature
6363if test "$cross_compiling" = yes; then :
6364
6365	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no." >&5
6366$as_echo "no." >&6; }
6367
6368
6369else
6370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371/* end confdefs.h.  */
6372
6373#include <string>
6374#include <vector>
6375
6376using std::string;
6377
6378int main(void)
6379{
6380	string s ("foo");
6381 	std::vector<string> v;
6382	return(0);
6383}
6384
6385_ACEOF
6386if ac_fn_cxx_try_run "$LINENO"; then :
6387
6388	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes." >&5
6389$as_echo "yes." >&6; }
6390
6391$as_echo "#define ECA_USE_CXX_STD_NAMESPACE 1" >>confdefs.h
6392
6393
6394else
6395
6396	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no." >&5
6397$as_echo "no." >&6; }
6398	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++ compiler has problems with namespaces. Build process can fail because of this." >&5
6399$as_echo "$as_me: WARNING: C++ compiler has problems with namespaces. Build process can fail because of this." >&2;}
6400
6401
6402fi
6403rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6404  conftest.$ac_objext conftest.beam conftest.$ac_ext
6405fi
6406
6407CXXFLAGS=$old_cxx_flags
6408
6409
6410
6411ac_ext=c
6412ac_cpp='$CPP $CPPFLAGS'
6413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6415ac_compiler_gnu=$ac_cv_c_compiler_gnu
6416
6417case `pwd` in
6418  *\ * | *\	*)
6419    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6420$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6421esac
6422
6423
6424
6425macro_version='2.4.6'
6426macro_revision='2.4.6'
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440ltmain=$ac_aux_dir/ltmain.sh
6441
6442# Backslashify metacharacters that are still active within
6443# double-quoted strings.
6444sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6445
6446# Same as above, but do not quote variable references.
6447double_quote_subst='s/\(["`\\]\)/\\\1/g'
6448
6449# Sed substitution to delay expansion of an escaped shell variable in a
6450# double_quote_subst'ed string.
6451delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6452
6453# Sed substitution to delay expansion of an escaped single quote.
6454delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6455
6456# Sed substitution to avoid accidental globbing in evaled expressions
6457no_glob_subst='s/\*/\\\*/g'
6458
6459ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6460ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6461ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6462
6463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6464$as_echo_n "checking how to print strings... " >&6; }
6465# Test print first, because it will be a builtin if present.
6466if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6467   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6468  ECHO='print -r --'
6469elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6470  ECHO='printf %s\n'
6471else
6472  # Use this function as a fallback that always works.
6473  func_fallback_echo ()
6474  {
6475    eval 'cat <<_LTECHO_EOF
6476$1
6477_LTECHO_EOF'
6478  }
6479  ECHO='func_fallback_echo'
6480fi
6481
6482# func_echo_all arg...
6483# Invoke $ECHO with all args, space-separated.
6484func_echo_all ()
6485{
6486    $ECHO ""
6487}
6488
6489case $ECHO in
6490  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6491$as_echo "printf" >&6; } ;;
6492  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6493$as_echo "print -r" >&6; } ;;
6494  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6495$as_echo "cat" >&6; } ;;
6496esac
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6512$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6513if ${ac_cv_path_SED+:} false; then :
6514  $as_echo_n "(cached) " >&6
6515else
6516            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6517     for ac_i in 1 2 3 4 5 6 7; do
6518       ac_script="$ac_script$as_nl$ac_script"
6519     done
6520     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6521     { ac_script=; unset ac_script;}
6522     if test -z "$SED"; then
6523  ac_path_SED_found=false
6524  # Loop through the user's path and test for each of PROGNAME-LIST
6525  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526for as_dir in $PATH
6527do
6528  IFS=$as_save_IFS
6529  test -z "$as_dir" && as_dir=.
6530    for ac_prog in sed gsed; do
6531    for ac_exec_ext in '' $ac_executable_extensions; do
6532      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6533      as_fn_executable_p "$ac_path_SED" || continue
6534# Check for GNU ac_path_SED and select it if it is found.
6535  # Check for GNU $ac_path_SED
6536case `"$ac_path_SED" --version 2>&1` in
6537*GNU*)
6538  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6539*)
6540  ac_count=0
6541  $as_echo_n 0123456789 >"conftest.in"
6542  while :
6543  do
6544    cat "conftest.in" "conftest.in" >"conftest.tmp"
6545    mv "conftest.tmp" "conftest.in"
6546    cp "conftest.in" "conftest.nl"
6547    $as_echo '' >> "conftest.nl"
6548    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6549    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6550    as_fn_arith $ac_count + 1 && ac_count=$as_val
6551    if test $ac_count -gt ${ac_path_SED_max-0}; then
6552      # Best one so far, save it but keep looking for a better one
6553      ac_cv_path_SED="$ac_path_SED"
6554      ac_path_SED_max=$ac_count
6555    fi
6556    # 10*(2^10) chars as input seems more than enough
6557    test $ac_count -gt 10 && break
6558  done
6559  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6560esac
6561
6562      $ac_path_SED_found && break 3
6563    done
6564  done
6565  done
6566IFS=$as_save_IFS
6567  if test -z "$ac_cv_path_SED"; then
6568    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6569  fi
6570else
6571  ac_cv_path_SED=$SED
6572fi
6573
6574fi
6575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6576$as_echo "$ac_cv_path_SED" >&6; }
6577 SED="$ac_cv_path_SED"
6578  rm -f conftest.sed
6579
6580test -z "$SED" && SED=sed
6581Xsed="$SED -e 1s/^X//"
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6594$as_echo_n "checking for fgrep... " >&6; }
6595if ${ac_cv_path_FGREP+:} false; then :
6596  $as_echo_n "(cached) " >&6
6597else
6598  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6599   then ac_cv_path_FGREP="$GREP -F"
6600   else
6601     if test -z "$FGREP"; then
6602  ac_path_FGREP_found=false
6603  # Loop through the user's path and test for each of PROGNAME-LIST
6604  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6606do
6607  IFS=$as_save_IFS
6608  test -z "$as_dir" && as_dir=.
6609    for ac_prog in fgrep; do
6610    for ac_exec_ext in '' $ac_executable_extensions; do
6611      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6612      as_fn_executable_p "$ac_path_FGREP" || continue
6613# Check for GNU ac_path_FGREP and select it if it is found.
6614  # Check for GNU $ac_path_FGREP
6615case `"$ac_path_FGREP" --version 2>&1` in
6616*GNU*)
6617  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6618*)
6619  ac_count=0
6620  $as_echo_n 0123456789 >"conftest.in"
6621  while :
6622  do
6623    cat "conftest.in" "conftest.in" >"conftest.tmp"
6624    mv "conftest.tmp" "conftest.in"
6625    cp "conftest.in" "conftest.nl"
6626    $as_echo 'FGREP' >> "conftest.nl"
6627    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6628    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6629    as_fn_arith $ac_count + 1 && ac_count=$as_val
6630    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6631      # Best one so far, save it but keep looking for a better one
6632      ac_cv_path_FGREP="$ac_path_FGREP"
6633      ac_path_FGREP_max=$ac_count
6634    fi
6635    # 10*(2^10) chars as input seems more than enough
6636    test $ac_count -gt 10 && break
6637  done
6638  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6639esac
6640
6641      $ac_path_FGREP_found && break 3
6642    done
6643  done
6644  done
6645IFS=$as_save_IFS
6646  if test -z "$ac_cv_path_FGREP"; then
6647    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6648  fi
6649else
6650  ac_cv_path_FGREP=$FGREP
6651fi
6652
6653   fi
6654fi
6655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6656$as_echo "$ac_cv_path_FGREP" >&6; }
6657 FGREP="$ac_cv_path_FGREP"
6658
6659
6660test -z "$GREP" && GREP=grep
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680# Check whether --with-gnu-ld was given.
6681if test "${with_gnu_ld+set}" = set; then :
6682  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6683else
6684  with_gnu_ld=no
6685fi
6686
6687ac_prog=ld
6688if test yes = "$GCC"; then
6689  # Check if gcc -print-prog-name=ld gives a path.
6690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6691$as_echo_n "checking for ld used by $CC... " >&6; }
6692  case $host in
6693  *-*-mingw*)
6694    # gcc leaves a trailing carriage return, which upsets mingw
6695    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6696  *)
6697    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6698  esac
6699  case $ac_prog in
6700    # Accept absolute paths.
6701    [\\/]* | ?:[\\/]*)
6702      re_direlt='/[^/][^/]*/\.\./'
6703      # Canonicalize the pathname of ld
6704      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6705      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6706	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6707      done
6708      test -z "$LD" && LD=$ac_prog
6709      ;;
6710  "")
6711    # If it fails, then pretend we aren't using GCC.
6712    ac_prog=ld
6713    ;;
6714  *)
6715    # If it is relative, then search for the first ld in PATH.
6716    with_gnu_ld=unknown
6717    ;;
6718  esac
6719elif test yes = "$with_gnu_ld"; then
6720  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6721$as_echo_n "checking for GNU ld... " >&6; }
6722else
6723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6724$as_echo_n "checking for non-GNU ld... " >&6; }
6725fi
6726if ${lt_cv_path_LD+:} false; then :
6727  $as_echo_n "(cached) " >&6
6728else
6729  if test -z "$LD"; then
6730  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6731  for ac_dir in $PATH; do
6732    IFS=$lt_save_ifs
6733    test -z "$ac_dir" && ac_dir=.
6734    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6735      lt_cv_path_LD=$ac_dir/$ac_prog
6736      # Check to see if the program is GNU ld.  I'd rather use --version,
6737      # but apparently some variants of GNU ld only accept -v.
6738      # Break only if it was the GNU/non-GNU ld that we prefer.
6739      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6740      *GNU* | *'with BFD'*)
6741	test no != "$with_gnu_ld" && break
6742	;;
6743      *)
6744	test yes != "$with_gnu_ld" && break
6745	;;
6746      esac
6747    fi
6748  done
6749  IFS=$lt_save_ifs
6750else
6751  lt_cv_path_LD=$LD # Let the user override the test with a path.
6752fi
6753fi
6754
6755LD=$lt_cv_path_LD
6756if test -n "$LD"; then
6757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6758$as_echo "$LD" >&6; }
6759else
6760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761$as_echo "no" >&6; }
6762fi
6763test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6765$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6766if ${lt_cv_prog_gnu_ld+:} false; then :
6767  $as_echo_n "(cached) " >&6
6768else
6769  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6770case `$LD -v 2>&1 </dev/null` in
6771*GNU* | *'with BFD'*)
6772  lt_cv_prog_gnu_ld=yes
6773  ;;
6774*)
6775  lt_cv_prog_gnu_ld=no
6776  ;;
6777esac
6778fi
6779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6780$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6781with_gnu_ld=$lt_cv_prog_gnu_ld
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6792$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6793if ${lt_cv_path_NM+:} false; then :
6794  $as_echo_n "(cached) " >&6
6795else
6796  if test -n "$NM"; then
6797  # Let the user override the test.
6798  lt_cv_path_NM=$NM
6799else
6800  lt_nm_to_check=${ac_tool_prefix}nm
6801  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6802    lt_nm_to_check="$lt_nm_to_check nm"
6803  fi
6804  for lt_tmp_nm in $lt_nm_to_check; do
6805    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6806    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6807      IFS=$lt_save_ifs
6808      test -z "$ac_dir" && ac_dir=.
6809      tmp_nm=$ac_dir/$lt_tmp_nm
6810      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6811	# Check to see if the nm accepts a BSD-compat flag.
6812	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6813	#   nm: unknown option "B" ignored
6814	# Tru64's nm complains that /dev/null is an invalid object file
6815	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6816	case $build_os in
6817	mingw*) lt_bad_file=conftest.nm/nofile ;;
6818	*) lt_bad_file=/dev/null ;;
6819	esac
6820	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6821	*$lt_bad_file* | *'Invalid file or object type'*)
6822	  lt_cv_path_NM="$tmp_nm -B"
6823	  break 2
6824	  ;;
6825	*)
6826	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6827	  */dev/null*)
6828	    lt_cv_path_NM="$tmp_nm -p"
6829	    break 2
6830	    ;;
6831	  *)
6832	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6833	    continue # so that we can try to find one that supports BSD flags
6834	    ;;
6835	  esac
6836	  ;;
6837	esac
6838      fi
6839    done
6840    IFS=$lt_save_ifs
6841  done
6842  : ${lt_cv_path_NM=no}
6843fi
6844fi
6845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6846$as_echo "$lt_cv_path_NM" >&6; }
6847if test no != "$lt_cv_path_NM"; then
6848  NM=$lt_cv_path_NM
6849else
6850  # Didn't find any BSD compatible name lister, look for dumpbin.
6851  if test -n "$DUMPBIN"; then :
6852    # Let the user override the test.
6853  else
6854    if test -n "$ac_tool_prefix"; then
6855  for ac_prog in dumpbin "link -dump"
6856  do
6857    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6858set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860$as_echo_n "checking for $ac_word... " >&6; }
6861if ${ac_cv_prog_DUMPBIN+:} false; then :
6862  $as_echo_n "(cached) " >&6
6863else
6864  if test -n "$DUMPBIN"; then
6865  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6866else
6867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868for as_dir in $PATH
6869do
6870  IFS=$as_save_IFS
6871  test -z "$as_dir" && as_dir=.
6872    for ac_exec_ext in '' $ac_executable_extensions; do
6873  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6875    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876    break 2
6877  fi
6878done
6879  done
6880IFS=$as_save_IFS
6881
6882fi
6883fi
6884DUMPBIN=$ac_cv_prog_DUMPBIN
6885if test -n "$DUMPBIN"; then
6886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6887$as_echo "$DUMPBIN" >&6; }
6888else
6889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890$as_echo "no" >&6; }
6891fi
6892
6893
6894    test -n "$DUMPBIN" && break
6895  done
6896fi
6897if test -z "$DUMPBIN"; then
6898  ac_ct_DUMPBIN=$DUMPBIN
6899  for ac_prog in dumpbin "link -dump"
6900do
6901  # Extract the first word of "$ac_prog", so it can be a program name with args.
6902set dummy $ac_prog; ac_word=$2
6903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904$as_echo_n "checking for $ac_word... " >&6; }
6905if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6906  $as_echo_n "(cached) " >&6
6907else
6908  if test -n "$ac_ct_DUMPBIN"; then
6909  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6910else
6911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912for as_dir in $PATH
6913do
6914  IFS=$as_save_IFS
6915  test -z "$as_dir" && as_dir=.
6916    for ac_exec_ext in '' $ac_executable_extensions; do
6917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920    break 2
6921  fi
6922done
6923  done
6924IFS=$as_save_IFS
6925
6926fi
6927fi
6928ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6929if test -n "$ac_ct_DUMPBIN"; then
6930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6931$as_echo "$ac_ct_DUMPBIN" >&6; }
6932else
6933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934$as_echo "no" >&6; }
6935fi
6936
6937
6938  test -n "$ac_ct_DUMPBIN" && break
6939done
6940
6941  if test "x$ac_ct_DUMPBIN" = x; then
6942    DUMPBIN=":"
6943  else
6944    case $cross_compiling:$ac_tool_warned in
6945yes:)
6946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6948ac_tool_warned=yes ;;
6949esac
6950    DUMPBIN=$ac_ct_DUMPBIN
6951  fi
6952fi
6953
6954    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6955    *COFF*)
6956      DUMPBIN="$DUMPBIN -symbols -headers"
6957      ;;
6958    *)
6959      DUMPBIN=:
6960      ;;
6961    esac
6962  fi
6963
6964  if test : != "$DUMPBIN"; then
6965    NM=$DUMPBIN
6966  fi
6967fi
6968test -z "$NM" && NM=nm
6969
6970
6971
6972
6973
6974
6975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6976$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6977if ${lt_cv_nm_interface+:} false; then :
6978  $as_echo_n "(cached) " >&6
6979else
6980  lt_cv_nm_interface="BSD nm"
6981  echo "int some_variable = 0;" > conftest.$ac_ext
6982  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6983  (eval "$ac_compile" 2>conftest.err)
6984  cat conftest.err >&5
6985  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6986  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6987  cat conftest.err >&5
6988  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6989  cat conftest.out >&5
6990  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6991    lt_cv_nm_interface="MS dumpbin"
6992  fi
6993  rm -f conftest*
6994fi
6995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6996$as_echo "$lt_cv_nm_interface" >&6; }
6997
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6999$as_echo_n "checking whether ln -s works... " >&6; }
7000LN_S=$as_ln_s
7001if test "$LN_S" = "ln -s"; then
7002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7003$as_echo "yes" >&6; }
7004else
7005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7006$as_echo "no, using $LN_S" >&6; }
7007fi
7008
7009# find the maximum length of command line arguments
7010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7011$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7012if ${lt_cv_sys_max_cmd_len+:} false; then :
7013  $as_echo_n "(cached) " >&6
7014else
7015    i=0
7016  teststring=ABCD
7017
7018  case $build_os in
7019  msdosdjgpp*)
7020    # On DJGPP, this test can blow up pretty badly due to problems in libc
7021    # (any single argument exceeding 2000 bytes causes a buffer overrun
7022    # during glob expansion).  Even if it were fixed, the result of this
7023    # check would be larger than it should be.
7024    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7025    ;;
7026
7027  gnu*)
7028    # Under GNU Hurd, this test is not required because there is
7029    # no limit to the length of command line arguments.
7030    # Libtool will interpret -1 as no limit whatsoever
7031    lt_cv_sys_max_cmd_len=-1;
7032    ;;
7033
7034  cygwin* | mingw* | cegcc*)
7035    # On Win9x/ME, this test blows up -- it succeeds, but takes
7036    # about 5 minutes as the teststring grows exponentially.
7037    # Worse, since 9x/ME are not pre-emptively multitasking,
7038    # you end up with a "frozen" computer, even though with patience
7039    # the test eventually succeeds (with a max line length of 256k).
7040    # Instead, let's just punt: use the minimum linelength reported by
7041    # all of the supported platforms: 8192 (on NT/2K/XP).
7042    lt_cv_sys_max_cmd_len=8192;
7043    ;;
7044
7045  mint*)
7046    # On MiNT this can take a long time and run out of memory.
7047    lt_cv_sys_max_cmd_len=8192;
7048    ;;
7049
7050  amigaos*)
7051    # On AmigaOS with pdksh, this test takes hours, literally.
7052    # So we just punt and use a minimum line length of 8192.
7053    lt_cv_sys_max_cmd_len=8192;
7054    ;;
7055
7056  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7057    # This has been around since 386BSD, at least.  Likely further.
7058    if test -x /sbin/sysctl; then
7059      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7060    elif test -x /usr/sbin/sysctl; then
7061      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7062    else
7063      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7064    fi
7065    # And add a safety zone
7066    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7067    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7068    ;;
7069
7070  interix*)
7071    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7072    lt_cv_sys_max_cmd_len=196608
7073    ;;
7074
7075  os2*)
7076    # The test takes a long time on OS/2.
7077    lt_cv_sys_max_cmd_len=8192
7078    ;;
7079
7080  osf*)
7081    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7082    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7083    # nice to cause kernel panics so lets avoid the loop below.
7084    # First set a reasonable default.
7085    lt_cv_sys_max_cmd_len=16384
7086    #
7087    if test -x /sbin/sysconfig; then
7088      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7089        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7090      esac
7091    fi
7092    ;;
7093  sco3.2v5*)
7094    lt_cv_sys_max_cmd_len=102400
7095    ;;
7096  sysv5* | sco5v6* | sysv4.2uw2*)
7097    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7098    if test -n "$kargmax"; then
7099      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7100    else
7101      lt_cv_sys_max_cmd_len=32768
7102    fi
7103    ;;
7104  *)
7105    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7106    if test -n "$lt_cv_sys_max_cmd_len" && \
7107       test undefined != "$lt_cv_sys_max_cmd_len"; then
7108      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7109      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7110    else
7111      # Make teststring a little bigger before we do anything with it.
7112      # a 1K string should be a reasonable start.
7113      for i in 1 2 3 4 5 6 7 8; do
7114        teststring=$teststring$teststring
7115      done
7116      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7117      # If test is not a shell built-in, we'll probably end up computing a
7118      # maximum length that is only half of the actual maximum length, but
7119      # we can't tell.
7120      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7121	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7122	      test 17 != "$i" # 1/2 MB should be enough
7123      do
7124        i=`expr $i + 1`
7125        teststring=$teststring$teststring
7126      done
7127      # Only check the string length outside the loop.
7128      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7129      teststring=
7130      # Add a significant safety factor because C++ compilers can tack on
7131      # massive amounts of additional arguments before passing them to the
7132      # linker.  It appears as though 1/2 is a usable value.
7133      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7134    fi
7135    ;;
7136  esac
7137
7138fi
7139
7140if test -n "$lt_cv_sys_max_cmd_len"; then
7141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7142$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7143else
7144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7145$as_echo "none" >&6; }
7146fi
7147max_cmd_len=$lt_cv_sys_max_cmd_len
7148
7149
7150
7151
7152
7153
7154: ${CP="cp -f"}
7155: ${MV="mv -f"}
7156: ${RM="rm -f"}
7157
7158if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7159  lt_unset=unset
7160else
7161  lt_unset=false
7162fi
7163
7164
7165
7166
7167
7168# test EBCDIC or ASCII
7169case `echo X|tr X '\101'` in
7170 A) # ASCII based system
7171    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7172  lt_SP2NL='tr \040 \012'
7173  lt_NL2SP='tr \015\012 \040\040'
7174  ;;
7175 *) # EBCDIC based system
7176  lt_SP2NL='tr \100 \n'
7177  lt_NL2SP='tr \r\n \100\100'
7178  ;;
7179esac
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7190$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7191if ${lt_cv_to_host_file_cmd+:} false; then :
7192  $as_echo_n "(cached) " >&6
7193else
7194  case $host in
7195  *-*-mingw* )
7196    case $build in
7197      *-*-mingw* ) # actually msys
7198        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7199        ;;
7200      *-*-cygwin* )
7201        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7202        ;;
7203      * ) # otherwise, assume *nix
7204        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7205        ;;
7206    esac
7207    ;;
7208  *-*-cygwin* )
7209    case $build in
7210      *-*-mingw* ) # actually msys
7211        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7212        ;;
7213      *-*-cygwin* )
7214        lt_cv_to_host_file_cmd=func_convert_file_noop
7215        ;;
7216      * ) # otherwise, assume *nix
7217        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7218        ;;
7219    esac
7220    ;;
7221  * ) # unhandled hosts (and "normal" native builds)
7222    lt_cv_to_host_file_cmd=func_convert_file_noop
7223    ;;
7224esac
7225
7226fi
7227
7228to_host_file_cmd=$lt_cv_to_host_file_cmd
7229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7230$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7231
7232
7233
7234
7235
7236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7237$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7238if ${lt_cv_to_tool_file_cmd+:} false; then :
7239  $as_echo_n "(cached) " >&6
7240else
7241  #assume ordinary cross tools, or native build.
7242lt_cv_to_tool_file_cmd=func_convert_file_noop
7243case $host in
7244  *-*-mingw* )
7245    case $build in
7246      *-*-mingw* ) # actually msys
7247        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7248        ;;
7249    esac
7250    ;;
7251esac
7252
7253fi
7254
7255to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7257$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7258
7259
7260
7261
7262
7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7264$as_echo_n "checking for $LD option to reload object files... " >&6; }
7265if ${lt_cv_ld_reload_flag+:} false; then :
7266  $as_echo_n "(cached) " >&6
7267else
7268  lt_cv_ld_reload_flag='-r'
7269fi
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7271$as_echo "$lt_cv_ld_reload_flag" >&6; }
7272reload_flag=$lt_cv_ld_reload_flag
7273case $reload_flag in
7274"" | " "*) ;;
7275*) reload_flag=" $reload_flag" ;;
7276esac
7277reload_cmds='$LD$reload_flag -o $output$reload_objs'
7278case $host_os in
7279  cygwin* | mingw* | pw32* | cegcc*)
7280    if test yes != "$GCC"; then
7281      reload_cmds=false
7282    fi
7283    ;;
7284  darwin*)
7285    if test yes = "$GCC"; then
7286      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7287    else
7288      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7289    fi
7290    ;;
7291esac
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301if test -n "$ac_tool_prefix"; then
7302  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7303set dummy ${ac_tool_prefix}objdump; ac_word=$2
7304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305$as_echo_n "checking for $ac_word... " >&6; }
7306if ${ac_cv_prog_OBJDUMP+:} false; then :
7307  $as_echo_n "(cached) " >&6
7308else
7309  if test -n "$OBJDUMP"; then
7310  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7311else
7312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313for as_dir in $PATH
7314do
7315  IFS=$as_save_IFS
7316  test -z "$as_dir" && as_dir=.
7317    for ac_exec_ext in '' $ac_executable_extensions; do
7318  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7319    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7320    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321    break 2
7322  fi
7323done
7324  done
7325IFS=$as_save_IFS
7326
7327fi
7328fi
7329OBJDUMP=$ac_cv_prog_OBJDUMP
7330if test -n "$OBJDUMP"; then
7331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7332$as_echo "$OBJDUMP" >&6; }
7333else
7334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335$as_echo "no" >&6; }
7336fi
7337
7338
7339fi
7340if test -z "$ac_cv_prog_OBJDUMP"; then
7341  ac_ct_OBJDUMP=$OBJDUMP
7342  # Extract the first word of "objdump", so it can be a program name with args.
7343set dummy objdump; ac_word=$2
7344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345$as_echo_n "checking for $ac_word... " >&6; }
7346if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7347  $as_echo_n "(cached) " >&6
7348else
7349  if test -n "$ac_ct_OBJDUMP"; then
7350  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7351else
7352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353for as_dir in $PATH
7354do
7355  IFS=$as_save_IFS
7356  test -z "$as_dir" && as_dir=.
7357    for ac_exec_ext in '' $ac_executable_extensions; do
7358  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7359    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361    break 2
7362  fi
7363done
7364  done
7365IFS=$as_save_IFS
7366
7367fi
7368fi
7369ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7370if test -n "$ac_ct_OBJDUMP"; then
7371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7372$as_echo "$ac_ct_OBJDUMP" >&6; }
7373else
7374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375$as_echo "no" >&6; }
7376fi
7377
7378  if test "x$ac_ct_OBJDUMP" = x; then
7379    OBJDUMP="false"
7380  else
7381    case $cross_compiling:$ac_tool_warned in
7382yes:)
7383{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7384$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7385ac_tool_warned=yes ;;
7386esac
7387    OBJDUMP=$ac_ct_OBJDUMP
7388  fi
7389else
7390  OBJDUMP="$ac_cv_prog_OBJDUMP"
7391fi
7392
7393test -z "$OBJDUMP" && OBJDUMP=objdump
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7404$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7405if ${lt_cv_deplibs_check_method+:} false; then :
7406  $as_echo_n "(cached) " >&6
7407else
7408  lt_cv_file_magic_cmd='$MAGIC_CMD'
7409lt_cv_file_magic_test_file=
7410lt_cv_deplibs_check_method='unknown'
7411# Need to set the preceding variable on all platforms that support
7412# interlibrary dependencies.
7413# 'none' -- dependencies not supported.
7414# 'unknown' -- same as none, but documents that we really don't know.
7415# 'pass_all' -- all dependencies passed with no checks.
7416# 'test_compile' -- check by making test program.
7417# 'file_magic [[regex]]' -- check by looking for files in library path
7418# that responds to the $file_magic_cmd with a given extended regex.
7419# If you have 'file' or equivalent on your system and you're not sure
7420# whether 'pass_all' will *always* work, you probably want this one.
7421
7422case $host_os in
7423aix[4-9]*)
7424  lt_cv_deplibs_check_method=pass_all
7425  ;;
7426
7427beos*)
7428  lt_cv_deplibs_check_method=pass_all
7429  ;;
7430
7431bsdi[45]*)
7432  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7433  lt_cv_file_magic_cmd='/usr/bin/file -L'
7434  lt_cv_file_magic_test_file=/shlib/libc.so
7435  ;;
7436
7437cygwin*)
7438  # func_win32_libid is a shell function defined in ltmain.sh
7439  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7440  lt_cv_file_magic_cmd='func_win32_libid'
7441  ;;
7442
7443mingw* | pw32*)
7444  # Base MSYS/MinGW do not provide the 'file' command needed by
7445  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7446  # unless we find 'file', for example because we are cross-compiling.
7447  if ( file / ) >/dev/null 2>&1; then
7448    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7449    lt_cv_file_magic_cmd='func_win32_libid'
7450  else
7451    # Keep this pattern in sync with the one in func_win32_libid.
7452    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7453    lt_cv_file_magic_cmd='$OBJDUMP -f'
7454  fi
7455  ;;
7456
7457cegcc*)
7458  # use the weaker test based on 'objdump'. See mingw*.
7459  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7460  lt_cv_file_magic_cmd='$OBJDUMP -f'
7461  ;;
7462
7463darwin* | rhapsody*)
7464  lt_cv_deplibs_check_method=pass_all
7465  ;;
7466
7467freebsd* | dragonfly*)
7468  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7469    case $host_cpu in
7470    i*86 )
7471      # Not sure whether the presence of OpenBSD here was a mistake.
7472      # Let's accept both of them until this is cleared up.
7473      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7474      lt_cv_file_magic_cmd=/usr/bin/file
7475      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7476      ;;
7477    esac
7478  else
7479    lt_cv_deplibs_check_method=pass_all
7480  fi
7481  ;;
7482
7483haiku*)
7484  lt_cv_deplibs_check_method=pass_all
7485  ;;
7486
7487hpux10.20* | hpux11*)
7488  lt_cv_file_magic_cmd=/usr/bin/file
7489  case $host_cpu in
7490  ia64*)
7491    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7492    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7493    ;;
7494  hppa*64*)
7495    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]'
7496    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7497    ;;
7498  *)
7499    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7500    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7501    ;;
7502  esac
7503  ;;
7504
7505interix[3-9]*)
7506  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7507  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7508  ;;
7509
7510irix5* | irix6* | nonstopux*)
7511  case $LD in
7512  *-32|*"-32 ") libmagic=32-bit;;
7513  *-n32|*"-n32 ") libmagic=N32;;
7514  *-64|*"-64 ") libmagic=64-bit;;
7515  *) libmagic=never-match;;
7516  esac
7517  lt_cv_deplibs_check_method=pass_all
7518  ;;
7519
7520# This must be glibc/ELF.
7521linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7522  lt_cv_deplibs_check_method=pass_all
7523  ;;
7524
7525netbsd* | netbsdelf*-gnu)
7526  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7527    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7528  else
7529    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7530  fi
7531  ;;
7532
7533newos6*)
7534  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7535  lt_cv_file_magic_cmd=/usr/bin/file
7536  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7537  ;;
7538
7539*nto* | *qnx*)
7540  lt_cv_deplibs_check_method=pass_all
7541  ;;
7542
7543openbsd* | bitrig*)
7544  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7545    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7546  else
7547    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7548  fi
7549  ;;
7550
7551osf3* | osf4* | osf5*)
7552  lt_cv_deplibs_check_method=pass_all
7553  ;;
7554
7555rdos*)
7556  lt_cv_deplibs_check_method=pass_all
7557  ;;
7558
7559solaris*)
7560  lt_cv_deplibs_check_method=pass_all
7561  ;;
7562
7563sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7564  lt_cv_deplibs_check_method=pass_all
7565  ;;
7566
7567sysv4 | sysv4.3*)
7568  case $host_vendor in
7569  motorola)
7570    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]'
7571    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7572    ;;
7573  ncr)
7574    lt_cv_deplibs_check_method=pass_all
7575    ;;
7576  sequent)
7577    lt_cv_file_magic_cmd='/bin/file'
7578    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7579    ;;
7580  sni)
7581    lt_cv_file_magic_cmd='/bin/file'
7582    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7583    lt_cv_file_magic_test_file=/lib/libc.so
7584    ;;
7585  siemens)
7586    lt_cv_deplibs_check_method=pass_all
7587    ;;
7588  pc)
7589    lt_cv_deplibs_check_method=pass_all
7590    ;;
7591  esac
7592  ;;
7593
7594tpf*)
7595  lt_cv_deplibs_check_method=pass_all
7596  ;;
7597os2*)
7598  lt_cv_deplibs_check_method=pass_all
7599  ;;
7600esac
7601
7602fi
7603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7604$as_echo "$lt_cv_deplibs_check_method" >&6; }
7605
7606file_magic_glob=
7607want_nocaseglob=no
7608if test "$build" = "$host"; then
7609  case $host_os in
7610  mingw* | pw32*)
7611    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7612      want_nocaseglob=yes
7613    else
7614      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7615    fi
7616    ;;
7617  esac
7618fi
7619
7620file_magic_cmd=$lt_cv_file_magic_cmd
7621deplibs_check_method=$lt_cv_deplibs_check_method
7622test -z "$deplibs_check_method" && deplibs_check_method=unknown
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645if test -n "$ac_tool_prefix"; then
7646  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7647set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649$as_echo_n "checking for $ac_word... " >&6; }
7650if ${ac_cv_prog_DLLTOOL+:} false; then :
7651  $as_echo_n "(cached) " >&6
7652else
7653  if test -n "$DLLTOOL"; then
7654  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7655else
7656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657for as_dir in $PATH
7658do
7659  IFS=$as_save_IFS
7660  test -z "$as_dir" && as_dir=.
7661    for ac_exec_ext in '' $ac_executable_extensions; do
7662  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665    break 2
7666  fi
7667done
7668  done
7669IFS=$as_save_IFS
7670
7671fi
7672fi
7673DLLTOOL=$ac_cv_prog_DLLTOOL
7674if test -n "$DLLTOOL"; then
7675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7676$as_echo "$DLLTOOL" >&6; }
7677else
7678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679$as_echo "no" >&6; }
7680fi
7681
7682
7683fi
7684if test -z "$ac_cv_prog_DLLTOOL"; then
7685  ac_ct_DLLTOOL=$DLLTOOL
7686  # Extract the first word of "dlltool", so it can be a program name with args.
7687set dummy dlltool; ac_word=$2
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689$as_echo_n "checking for $ac_word... " >&6; }
7690if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7691  $as_echo_n "(cached) " >&6
7692else
7693  if test -n "$ac_ct_DLLTOOL"; then
7694  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7695else
7696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697for as_dir in $PATH
7698do
7699  IFS=$as_save_IFS
7700  test -z "$as_dir" && as_dir=.
7701    for ac_exec_ext in '' $ac_executable_extensions; do
7702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705    break 2
7706  fi
7707done
7708  done
7709IFS=$as_save_IFS
7710
7711fi
7712fi
7713ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7714if test -n "$ac_ct_DLLTOOL"; then
7715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7716$as_echo "$ac_ct_DLLTOOL" >&6; }
7717else
7718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719$as_echo "no" >&6; }
7720fi
7721
7722  if test "x$ac_ct_DLLTOOL" = x; then
7723    DLLTOOL="false"
7724  else
7725    case $cross_compiling:$ac_tool_warned in
7726yes:)
7727{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7728$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7729ac_tool_warned=yes ;;
7730esac
7731    DLLTOOL=$ac_ct_DLLTOOL
7732  fi
7733else
7734  DLLTOOL="$ac_cv_prog_DLLTOOL"
7735fi
7736
7737test -z "$DLLTOOL" && DLLTOOL=dlltool
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7749$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7750if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7751  $as_echo_n "(cached) " >&6
7752else
7753  lt_cv_sharedlib_from_linklib_cmd='unknown'
7754
7755case $host_os in
7756cygwin* | mingw* | pw32* | cegcc*)
7757  # two different shell functions defined in ltmain.sh;
7758  # decide which one to use based on capabilities of $DLLTOOL
7759  case `$DLLTOOL --help 2>&1` in
7760  *--identify-strict*)
7761    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7762    ;;
7763  *)
7764    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7765    ;;
7766  esac
7767  ;;
7768*)
7769  # fallback: assume linklib IS sharedlib
7770  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7771  ;;
7772esac
7773
7774fi
7775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7776$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7777sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7778test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7779
7780
7781
7782
7783
7784
7785
7786if test -n "$ac_tool_prefix"; then
7787  for ac_prog in ar
7788  do
7789    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7790set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792$as_echo_n "checking for $ac_word... " >&6; }
7793if ${ac_cv_prog_AR+:} false; then :
7794  $as_echo_n "(cached) " >&6
7795else
7796  if test -n "$AR"; then
7797  ac_cv_prog_AR="$AR" # Let the user override the test.
7798else
7799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800for as_dir in $PATH
7801do
7802  IFS=$as_save_IFS
7803  test -z "$as_dir" && as_dir=.
7804    for ac_exec_ext in '' $ac_executable_extensions; do
7805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7808    break 2
7809  fi
7810done
7811  done
7812IFS=$as_save_IFS
7813
7814fi
7815fi
7816AR=$ac_cv_prog_AR
7817if test -n "$AR"; then
7818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7819$as_echo "$AR" >&6; }
7820else
7821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822$as_echo "no" >&6; }
7823fi
7824
7825
7826    test -n "$AR" && break
7827  done
7828fi
7829if test -z "$AR"; then
7830  ac_ct_AR=$AR
7831  for ac_prog in ar
7832do
7833  # Extract the first word of "$ac_prog", so it can be a program name with args.
7834set dummy $ac_prog; ac_word=$2
7835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836$as_echo_n "checking for $ac_word... " >&6; }
7837if ${ac_cv_prog_ac_ct_AR+:} false; then :
7838  $as_echo_n "(cached) " >&6
7839else
7840  if test -n "$ac_ct_AR"; then
7841  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7842else
7843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844for as_dir in $PATH
7845do
7846  IFS=$as_save_IFS
7847  test -z "$as_dir" && as_dir=.
7848    for ac_exec_ext in '' $ac_executable_extensions; do
7849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7850    ac_cv_prog_ac_ct_AR="$ac_prog"
7851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7852    break 2
7853  fi
7854done
7855  done
7856IFS=$as_save_IFS
7857
7858fi
7859fi
7860ac_ct_AR=$ac_cv_prog_ac_ct_AR
7861if test -n "$ac_ct_AR"; then
7862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7863$as_echo "$ac_ct_AR" >&6; }
7864else
7865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7866$as_echo "no" >&6; }
7867fi
7868
7869
7870  test -n "$ac_ct_AR" && break
7871done
7872
7873  if test "x$ac_ct_AR" = x; then
7874    AR="false"
7875  else
7876    case $cross_compiling:$ac_tool_warned in
7877yes:)
7878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880ac_tool_warned=yes ;;
7881esac
7882    AR=$ac_ct_AR
7883  fi
7884fi
7885
7886: ${AR=ar}
7887: ${AR_FLAGS=cru}
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7900$as_echo_n "checking for archiver @FILE support... " >&6; }
7901if ${lt_cv_ar_at_file+:} false; then :
7902  $as_echo_n "(cached) " >&6
7903else
7904  lt_cv_ar_at_file=no
7905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906/* end confdefs.h.  */
7907
7908int
7909main ()
7910{
7911
7912  ;
7913  return 0;
7914}
7915_ACEOF
7916if ac_fn_c_try_compile "$LINENO"; then :
7917  echo conftest.$ac_objext > conftest.lst
7918      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7919      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7920  (eval $lt_ar_try) 2>&5
7921  ac_status=$?
7922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7923  test $ac_status = 0; }
7924      if test 0 -eq "$ac_status"; then
7925	# Ensure the archiver fails upon bogus file names.
7926	rm -f conftest.$ac_objext libconftest.a
7927	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7928  (eval $lt_ar_try) 2>&5
7929  ac_status=$?
7930  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7931  test $ac_status = 0; }
7932	if test 0 -ne "$ac_status"; then
7933          lt_cv_ar_at_file=@
7934        fi
7935      fi
7936      rm -f conftest.* libconftest.a
7937
7938fi
7939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7940
7941fi
7942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7943$as_echo "$lt_cv_ar_at_file" >&6; }
7944
7945if test no = "$lt_cv_ar_at_file"; then
7946  archiver_list_spec=
7947else
7948  archiver_list_spec=$lt_cv_ar_at_file
7949fi
7950
7951
7952
7953
7954
7955
7956
7957if test -n "$ac_tool_prefix"; then
7958  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7959set dummy ${ac_tool_prefix}strip; ac_word=$2
7960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961$as_echo_n "checking for $ac_word... " >&6; }
7962if ${ac_cv_prog_STRIP+:} false; then :
7963  $as_echo_n "(cached) " >&6
7964else
7965  if test -n "$STRIP"; then
7966  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7967else
7968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969for as_dir in $PATH
7970do
7971  IFS=$as_save_IFS
7972  test -z "$as_dir" && as_dir=.
7973    for ac_exec_ext in '' $ac_executable_extensions; do
7974  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977    break 2
7978  fi
7979done
7980  done
7981IFS=$as_save_IFS
7982
7983fi
7984fi
7985STRIP=$ac_cv_prog_STRIP
7986if test -n "$STRIP"; then
7987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7988$as_echo "$STRIP" >&6; }
7989else
7990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991$as_echo "no" >&6; }
7992fi
7993
7994
7995fi
7996if test -z "$ac_cv_prog_STRIP"; then
7997  ac_ct_STRIP=$STRIP
7998  # Extract the first word of "strip", so it can be a program name with args.
7999set dummy strip; ac_word=$2
8000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001$as_echo_n "checking for $ac_word... " >&6; }
8002if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8003  $as_echo_n "(cached) " >&6
8004else
8005  if test -n "$ac_ct_STRIP"; then
8006  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8007else
8008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009for as_dir in $PATH
8010do
8011  IFS=$as_save_IFS
8012  test -z "$as_dir" && as_dir=.
8013    for ac_exec_ext in '' $ac_executable_extensions; do
8014  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015    ac_cv_prog_ac_ct_STRIP="strip"
8016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017    break 2
8018  fi
8019done
8020  done
8021IFS=$as_save_IFS
8022
8023fi
8024fi
8025ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8026if test -n "$ac_ct_STRIP"; then
8027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8028$as_echo "$ac_ct_STRIP" >&6; }
8029else
8030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031$as_echo "no" >&6; }
8032fi
8033
8034  if test "x$ac_ct_STRIP" = x; then
8035    STRIP=":"
8036  else
8037    case $cross_compiling:$ac_tool_warned in
8038yes:)
8039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041ac_tool_warned=yes ;;
8042esac
8043    STRIP=$ac_ct_STRIP
8044  fi
8045else
8046  STRIP="$ac_cv_prog_STRIP"
8047fi
8048
8049test -z "$STRIP" && STRIP=:
8050
8051
8052
8053
8054
8055
8056if test -n "$ac_tool_prefix"; then
8057  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8058set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8060$as_echo_n "checking for $ac_word... " >&6; }
8061if ${ac_cv_prog_RANLIB+:} false; then :
8062  $as_echo_n "(cached) " >&6
8063else
8064  if test -n "$RANLIB"; then
8065  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8066else
8067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068for as_dir in $PATH
8069do
8070  IFS=$as_save_IFS
8071  test -z "$as_dir" && as_dir=.
8072    for ac_exec_ext in '' $ac_executable_extensions; do
8073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8074    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8076    break 2
8077  fi
8078done
8079  done
8080IFS=$as_save_IFS
8081
8082fi
8083fi
8084RANLIB=$ac_cv_prog_RANLIB
8085if test -n "$RANLIB"; then
8086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8087$as_echo "$RANLIB" >&6; }
8088else
8089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8090$as_echo "no" >&6; }
8091fi
8092
8093
8094fi
8095if test -z "$ac_cv_prog_RANLIB"; then
8096  ac_ct_RANLIB=$RANLIB
8097  # Extract the first word of "ranlib", so it can be a program name with args.
8098set dummy ranlib; ac_word=$2
8099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100$as_echo_n "checking for $ac_word... " >&6; }
8101if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8102  $as_echo_n "(cached) " >&6
8103else
8104  if test -n "$ac_ct_RANLIB"; then
8105  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8106else
8107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108for as_dir in $PATH
8109do
8110  IFS=$as_save_IFS
8111  test -z "$as_dir" && as_dir=.
8112    for ac_exec_ext in '' $ac_executable_extensions; do
8113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114    ac_cv_prog_ac_ct_RANLIB="ranlib"
8115    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116    break 2
8117  fi
8118done
8119  done
8120IFS=$as_save_IFS
8121
8122fi
8123fi
8124ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8125if test -n "$ac_ct_RANLIB"; then
8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8127$as_echo "$ac_ct_RANLIB" >&6; }
8128else
8129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130$as_echo "no" >&6; }
8131fi
8132
8133  if test "x$ac_ct_RANLIB" = x; then
8134    RANLIB=":"
8135  else
8136    case $cross_compiling:$ac_tool_warned in
8137yes:)
8138{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8139$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8140ac_tool_warned=yes ;;
8141esac
8142    RANLIB=$ac_ct_RANLIB
8143  fi
8144else
8145  RANLIB="$ac_cv_prog_RANLIB"
8146fi
8147
8148test -z "$RANLIB" && RANLIB=:
8149
8150
8151
8152
8153
8154
8155# Determine commands to create old-style static archives.
8156old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8157old_postinstall_cmds='chmod 644 $oldlib'
8158old_postuninstall_cmds=
8159
8160if test -n "$RANLIB"; then
8161  case $host_os in
8162  bitrig* | openbsd*)
8163    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8164    ;;
8165  *)
8166    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8167    ;;
8168  esac
8169  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8170fi
8171
8172case $host_os in
8173  darwin*)
8174    lock_old_archive_extraction=yes ;;
8175  *)
8176    lock_old_archive_extraction=no ;;
8177esac
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217# If no C compiler was specified, use CC.
8218LTCC=${LTCC-"$CC"}
8219
8220# If no C compiler flags were specified, use CFLAGS.
8221LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8222
8223# Allow CC to be a program name with arguments.
8224compiler=$CC
8225
8226
8227# Check for command to grab the raw symbol name followed by C symbol from nm.
8228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8229$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8230if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8231  $as_echo_n "(cached) " >&6
8232else
8233
8234# These are sane defaults that work on at least a few old systems.
8235# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8236
8237# Character class describing NM global symbol codes.
8238symcode='[BCDEGRST]'
8239
8240# Regexp to match symbols that can be accessed directly from C.
8241sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8242
8243# Define system-specific variables.
8244case $host_os in
8245aix*)
8246  symcode='[BCDT]'
8247  ;;
8248cygwin* | mingw* | pw32* | cegcc*)
8249  symcode='[ABCDGISTW]'
8250  ;;
8251hpux*)
8252  if test ia64 = "$host_cpu"; then
8253    symcode='[ABCDEGRST]'
8254  fi
8255  ;;
8256irix* | nonstopux*)
8257  symcode='[BCDEGRST]'
8258  ;;
8259osf*)
8260  symcode='[BCDEGQRST]'
8261  ;;
8262solaris*)
8263  symcode='[BDRT]'
8264  ;;
8265sco3.2v5*)
8266  symcode='[DT]'
8267  ;;
8268sysv4.2uw2*)
8269  symcode='[DT]'
8270  ;;
8271sysv5* | sco5v6* | unixware* | OpenUNIX*)
8272  symcode='[ABDT]'
8273  ;;
8274sysv4)
8275  symcode='[DFNSTU]'
8276  ;;
8277esac
8278
8279# If we're using GNU nm, then use its standard symbol codes.
8280case `$NM -V 2>&1` in
8281*GNU* | *'with BFD'*)
8282  symcode='[ABCDGIRSTW]' ;;
8283esac
8284
8285if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8286  # Gets list of data symbols to import.
8287  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8288  # Adjust the below global symbol transforms to fixup imported variables.
8289  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8290  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8291  lt_c_name_lib_hook="\
8292  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8293  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8294else
8295  # Disable hooks by default.
8296  lt_cv_sys_global_symbol_to_import=
8297  lt_cdecl_hook=
8298  lt_c_name_hook=
8299  lt_c_name_lib_hook=
8300fi
8301
8302# Transform an extracted symbol line into a proper C declaration.
8303# Some systems (esp. on ia64) link data and code symbols differently,
8304# so use this general approach.
8305lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8306$lt_cdecl_hook\
8307" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8308" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8309
8310# Transform an extracted symbol line into symbol name and symbol address
8311lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8312$lt_c_name_hook\
8313" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8314" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8315
8316# Transform an extracted symbol line into symbol name with lib prefix and
8317# symbol address.
8318lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8319$lt_c_name_lib_hook\
8320" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8321" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8322" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8323
8324# Handle CRLF in mingw tool chain
8325opt_cr=
8326case $build_os in
8327mingw*)
8328  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8329  ;;
8330esac
8331
8332# Try without a prefix underscore, then with it.
8333for ac_symprfx in "" "_"; do
8334
8335  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8336  symxfrm="\\1 $ac_symprfx\\2 \\2"
8337
8338  # Write the raw and C identifiers.
8339  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8340    # Fake it for dumpbin and say T for any non-static function,
8341    # D for any global variable and I for any imported variable.
8342    # Also find C++ and __fastcall symbols from MSVC++,
8343    # which start with @ or ?.
8344    lt_cv_sys_global_symbol_pipe="$AWK '"\
8345"     {last_section=section; section=\$ 3};"\
8346"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8347"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8348"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8349"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8350"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8351"     \$ 0!~/External *\|/{next};"\
8352"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8353"     {if(hide[section]) next};"\
8354"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8355"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8356"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8357"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8358"     ' prfx=^$ac_symprfx"
8359  else
8360    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8361  fi
8362  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8363
8364  # Check to see that the pipe works correctly.
8365  pipe_works=no
8366
8367  rm -f conftest*
8368  cat > conftest.$ac_ext <<_LT_EOF
8369#ifdef __cplusplus
8370extern "C" {
8371#endif
8372char nm_test_var;
8373void nm_test_func(void);
8374void nm_test_func(void){}
8375#ifdef __cplusplus
8376}
8377#endif
8378int main(){nm_test_var='a';nm_test_func();return(0);}
8379_LT_EOF
8380
8381  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8382  (eval $ac_compile) 2>&5
8383  ac_status=$?
8384  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8385  test $ac_status = 0; }; then
8386    # Now try to grab the symbols.
8387    nlist=conftest.nm
8388    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
8389    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
8390      # Try sorting and uniquifying the output.
8391      if sort "$nlist" | uniq > "$nlist"T; then
8392	mv -f "$nlist"T "$nlist"
8393      else
8394	rm -f "$nlist"T
8395      fi
8396
8397      # Make sure that we snagged all the symbols we need.
8398      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8399	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8400	  cat <<_LT_EOF > conftest.$ac_ext
8401/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8402#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8403/* DATA imports from DLLs on WIN32 can't be const, because runtime
8404   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8405# define LT_DLSYM_CONST
8406#elif defined __osf__
8407/* This system does not cope well with relocations in const data.  */
8408# define LT_DLSYM_CONST
8409#else
8410# define LT_DLSYM_CONST const
8411#endif
8412
8413#ifdef __cplusplus
8414extern "C" {
8415#endif
8416
8417_LT_EOF
8418	  # Now generate the symbol file.
8419	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8420
8421	  cat <<_LT_EOF >> conftest.$ac_ext
8422
8423/* The mapping between symbol names and symbols.  */
8424LT_DLSYM_CONST struct {
8425  const char *name;
8426  void       *address;
8427}
8428lt__PROGRAM__LTX_preloaded_symbols[] =
8429{
8430  { "@PROGRAM@", (void *) 0 },
8431_LT_EOF
8432	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8433	  cat <<\_LT_EOF >> conftest.$ac_ext
8434  {0, (void *) 0}
8435};
8436
8437/* This works around a problem in FreeBSD linker */
8438#ifdef FREEBSD_WORKAROUND
8439static const void *lt_preloaded_setup() {
8440  return lt__PROGRAM__LTX_preloaded_symbols;
8441}
8442#endif
8443
8444#ifdef __cplusplus
8445}
8446#endif
8447_LT_EOF
8448	  # Now try linking the two files.
8449	  mv conftest.$ac_objext conftstm.$ac_objext
8450	  lt_globsym_save_LIBS=$LIBS
8451	  lt_globsym_save_CFLAGS=$CFLAGS
8452	  LIBS=conftstm.$ac_objext
8453	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8454	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8455  (eval $ac_link) 2>&5
8456  ac_status=$?
8457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8458  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8459	    pipe_works=yes
8460	  fi
8461	  LIBS=$lt_globsym_save_LIBS
8462	  CFLAGS=$lt_globsym_save_CFLAGS
8463	else
8464	  echo "cannot find nm_test_func in $nlist" >&5
8465	fi
8466      else
8467	echo "cannot find nm_test_var in $nlist" >&5
8468      fi
8469    else
8470      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8471    fi
8472  else
8473    echo "$progname: failed program was:" >&5
8474    cat conftest.$ac_ext >&5
8475  fi
8476  rm -rf conftest* conftst*
8477
8478  # Do not use the global_symbol_pipe unless it works.
8479  if test yes = "$pipe_works"; then
8480    break
8481  else
8482    lt_cv_sys_global_symbol_pipe=
8483  fi
8484done
8485
8486fi
8487
8488if test -z "$lt_cv_sys_global_symbol_pipe"; then
8489  lt_cv_sys_global_symbol_to_cdecl=
8490fi
8491if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8493$as_echo "failed" >&6; }
8494else
8495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8496$as_echo "ok" >&6; }
8497fi
8498
8499# Response file support.
8500if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8501  nm_file_list_spec='@'
8502elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8503  nm_file_list_spec='@'
8504fi
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8543$as_echo_n "checking for sysroot... " >&6; }
8544
8545# Check whether --with-sysroot was given.
8546if test "${with_sysroot+set}" = set; then :
8547  withval=$with_sysroot;
8548else
8549  with_sysroot=no
8550fi
8551
8552
8553lt_sysroot=
8554case $with_sysroot in #(
8555 yes)
8556   if test yes = "$GCC"; then
8557     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8558   fi
8559   ;; #(
8560 /*)
8561   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8562   ;; #(
8563 no|'')
8564   ;; #(
8565 *)
8566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8567$as_echo "$with_sysroot" >&6; }
8568   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8569   ;;
8570esac
8571
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8573$as_echo "${lt_sysroot:-no}" >&6; }
8574
8575
8576
8577
8578
8579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8580$as_echo_n "checking for a working dd... " >&6; }
8581if ${ac_cv_path_lt_DD+:} false; then :
8582  $as_echo_n "(cached) " >&6
8583else
8584  printf 0123456789abcdef0123456789abcdef >conftest.i
8585cat conftest.i conftest.i >conftest2.i
8586: ${lt_DD:=$DD}
8587if test -z "$lt_DD"; then
8588  ac_path_lt_DD_found=false
8589  # Loop through the user's path and test for each of PROGNAME-LIST
8590  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8591for as_dir in $PATH
8592do
8593  IFS=$as_save_IFS
8594  test -z "$as_dir" && as_dir=.
8595    for ac_prog in dd; do
8596    for ac_exec_ext in '' $ac_executable_extensions; do
8597      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8598      as_fn_executable_p "$ac_path_lt_DD" || continue
8599if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8600  cmp -s conftest.i conftest.out \
8601  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8602fi
8603      $ac_path_lt_DD_found && break 3
8604    done
8605  done
8606  done
8607IFS=$as_save_IFS
8608  if test -z "$ac_cv_path_lt_DD"; then
8609    :
8610  fi
8611else
8612  ac_cv_path_lt_DD=$lt_DD
8613fi
8614
8615rm -f conftest.i conftest2.i conftest.out
8616fi
8617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8618$as_echo "$ac_cv_path_lt_DD" >&6; }
8619
8620
8621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8622$as_echo_n "checking how to truncate binary pipes... " >&6; }
8623if ${lt_cv_truncate_bin+:} false; then :
8624  $as_echo_n "(cached) " >&6
8625else
8626  printf 0123456789abcdef0123456789abcdef >conftest.i
8627cat conftest.i conftest.i >conftest2.i
8628lt_cv_truncate_bin=
8629if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8630  cmp -s conftest.i conftest.out \
8631  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8632fi
8633rm -f conftest.i conftest2.i conftest.out
8634test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8635fi
8636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8637$as_echo "$lt_cv_truncate_bin" >&6; }
8638
8639
8640
8641
8642
8643
8644
8645# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8646func_cc_basename ()
8647{
8648    for cc_temp in $*""; do
8649      case $cc_temp in
8650        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8651        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8652        \-*) ;;
8653        *) break;;
8654      esac
8655    done
8656    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8657}
8658
8659# Check whether --enable-libtool-lock was given.
8660if test "${enable_libtool_lock+set}" = set; then :
8661  enableval=$enable_libtool_lock;
8662fi
8663
8664test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8665
8666# Some flags need to be propagated to the compiler or linker for good
8667# libtool support.
8668case $host in
8669ia64-*-hpux*)
8670  # Find out what ABI is being produced by ac_compile, and set mode
8671  # options accordingly.
8672  echo 'int i;' > conftest.$ac_ext
8673  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8674  (eval $ac_compile) 2>&5
8675  ac_status=$?
8676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8677  test $ac_status = 0; }; then
8678    case `/usr/bin/file conftest.$ac_objext` in
8679      *ELF-32*)
8680	HPUX_IA64_MODE=32
8681	;;
8682      *ELF-64*)
8683	HPUX_IA64_MODE=64
8684	;;
8685    esac
8686  fi
8687  rm -rf conftest*
8688  ;;
8689*-*-irix6*)
8690  # Find out what ABI is being produced by ac_compile, and set linker
8691  # options accordingly.
8692  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8693  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8694  (eval $ac_compile) 2>&5
8695  ac_status=$?
8696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8697  test $ac_status = 0; }; then
8698    if test yes = "$lt_cv_prog_gnu_ld"; then
8699      case `/usr/bin/file conftest.$ac_objext` in
8700	*32-bit*)
8701	  LD="${LD-ld} -melf32bsmip"
8702	  ;;
8703	*N32*)
8704	  LD="${LD-ld} -melf32bmipn32"
8705	  ;;
8706	*64-bit*)
8707	  LD="${LD-ld} -melf64bmip"
8708	;;
8709      esac
8710    else
8711      case `/usr/bin/file conftest.$ac_objext` in
8712	*32-bit*)
8713	  LD="${LD-ld} -32"
8714	  ;;
8715	*N32*)
8716	  LD="${LD-ld} -n32"
8717	  ;;
8718	*64-bit*)
8719	  LD="${LD-ld} -64"
8720	  ;;
8721      esac
8722    fi
8723  fi
8724  rm -rf conftest*
8725  ;;
8726
8727mips64*-*linux*)
8728  # Find out what ABI is being produced by ac_compile, and set linker
8729  # options accordingly.
8730  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8731  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8732  (eval $ac_compile) 2>&5
8733  ac_status=$?
8734  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8735  test $ac_status = 0; }; then
8736    emul=elf
8737    case `/usr/bin/file conftest.$ac_objext` in
8738      *32-bit*)
8739	emul="${emul}32"
8740	;;
8741      *64-bit*)
8742	emul="${emul}64"
8743	;;
8744    esac
8745    case `/usr/bin/file conftest.$ac_objext` in
8746      *MSB*)
8747	emul="${emul}btsmip"
8748	;;
8749      *LSB*)
8750	emul="${emul}ltsmip"
8751	;;
8752    esac
8753    case `/usr/bin/file conftest.$ac_objext` in
8754      *N32*)
8755	emul="${emul}n32"
8756	;;
8757    esac
8758    LD="${LD-ld} -m $emul"
8759  fi
8760  rm -rf conftest*
8761  ;;
8762
8763x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8764s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8765  # Find out what ABI is being produced by ac_compile, and set linker
8766  # options accordingly.  Note that the listed cases only cover the
8767  # situations where additional linker options are needed (such as when
8768  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8769  # vice versa); the common cases where no linker options are needed do
8770  # not appear in the list.
8771  echo 'int i;' > conftest.$ac_ext
8772  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8773  (eval $ac_compile) 2>&5
8774  ac_status=$?
8775  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8776  test $ac_status = 0; }; then
8777    case `/usr/bin/file conftest.o` in
8778      *32-bit*)
8779	case $host in
8780	  x86_64-*kfreebsd*-gnu)
8781	    LD="${LD-ld} -m elf_i386_fbsd"
8782	    ;;
8783	  x86_64-*linux*)
8784	    case `/usr/bin/file conftest.o` in
8785	      *x86-64*)
8786		LD="${LD-ld} -m elf32_x86_64"
8787		;;
8788	      *)
8789		LD="${LD-ld} -m elf_i386"
8790		;;
8791	    esac
8792	    ;;
8793	  powerpc64le-*linux*)
8794	    LD="${LD-ld} -m elf32lppclinux"
8795	    ;;
8796	  powerpc64-*linux*)
8797	    LD="${LD-ld} -m elf32ppclinux"
8798	    ;;
8799	  s390x-*linux*)
8800	    LD="${LD-ld} -m elf_s390"
8801	    ;;
8802	  sparc64-*linux*)
8803	    LD="${LD-ld} -m elf32_sparc"
8804	    ;;
8805	esac
8806	;;
8807      *64-bit*)
8808	case $host in
8809	  x86_64-*kfreebsd*-gnu)
8810	    LD="${LD-ld} -m elf_x86_64_fbsd"
8811	    ;;
8812	  x86_64-*linux*)
8813	    LD="${LD-ld} -m elf_x86_64"
8814	    ;;
8815	  powerpcle-*linux*)
8816	    LD="${LD-ld} -m elf64lppc"
8817	    ;;
8818	  powerpc-*linux*)
8819	    LD="${LD-ld} -m elf64ppc"
8820	    ;;
8821	  s390*-*linux*|s390*-*tpf*)
8822	    LD="${LD-ld} -m elf64_s390"
8823	    ;;
8824	  sparc*-*linux*)
8825	    LD="${LD-ld} -m elf64_sparc"
8826	    ;;
8827	esac
8828	;;
8829    esac
8830  fi
8831  rm -rf conftest*
8832  ;;
8833
8834*-*-sco3.2v5*)
8835  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8836  SAVE_CFLAGS=$CFLAGS
8837  CFLAGS="$CFLAGS -belf"
8838  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8839$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8840if ${lt_cv_cc_needs_belf+:} false; then :
8841  $as_echo_n "(cached) " >&6
8842else
8843  ac_ext=c
8844ac_cpp='$CPP $CPPFLAGS'
8845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8847ac_compiler_gnu=$ac_cv_c_compiler_gnu
8848
8849     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850/* end confdefs.h.  */
8851
8852int
8853main ()
8854{
8855
8856  ;
8857  return 0;
8858}
8859_ACEOF
8860if ac_fn_c_try_link "$LINENO"; then :
8861  lt_cv_cc_needs_belf=yes
8862else
8863  lt_cv_cc_needs_belf=no
8864fi
8865rm -f core conftest.err conftest.$ac_objext \
8866    conftest$ac_exeext conftest.$ac_ext
8867     ac_ext=c
8868ac_cpp='$CPP $CPPFLAGS'
8869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8871ac_compiler_gnu=$ac_cv_c_compiler_gnu
8872
8873fi
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8875$as_echo "$lt_cv_cc_needs_belf" >&6; }
8876  if test yes != "$lt_cv_cc_needs_belf"; then
8877    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8878    CFLAGS=$SAVE_CFLAGS
8879  fi
8880  ;;
8881*-*solaris*)
8882  # Find out what ABI is being produced by ac_compile, and set linker
8883  # options accordingly.
8884  echo 'int i;' > conftest.$ac_ext
8885  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8886  (eval $ac_compile) 2>&5
8887  ac_status=$?
8888  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8889  test $ac_status = 0; }; then
8890    case `/usr/bin/file conftest.o` in
8891    *64-bit*)
8892      case $lt_cv_prog_gnu_ld in
8893      yes*)
8894        case $host in
8895        i?86-*-solaris*|x86_64-*-solaris*)
8896          LD="${LD-ld} -m elf_x86_64"
8897          ;;
8898        sparc*-*-solaris*)
8899          LD="${LD-ld} -m elf64_sparc"
8900          ;;
8901        esac
8902        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8903        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8904          LD=${LD-ld}_sol2
8905        fi
8906        ;;
8907      *)
8908	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8909	  LD="${LD-ld} -64"
8910	fi
8911	;;
8912      esac
8913      ;;
8914    esac
8915  fi
8916  rm -rf conftest*
8917  ;;
8918esac
8919
8920need_locks=$enable_libtool_lock
8921
8922if test -n "$ac_tool_prefix"; then
8923  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8924set dummy ${ac_tool_prefix}mt; ac_word=$2
8925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926$as_echo_n "checking for $ac_word... " >&6; }
8927if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8928  $as_echo_n "(cached) " >&6
8929else
8930  if test -n "$MANIFEST_TOOL"; then
8931  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8932else
8933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934for as_dir in $PATH
8935do
8936  IFS=$as_save_IFS
8937  test -z "$as_dir" && as_dir=.
8938    for ac_exec_ext in '' $ac_executable_extensions; do
8939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8940    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942    break 2
8943  fi
8944done
8945  done
8946IFS=$as_save_IFS
8947
8948fi
8949fi
8950MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8951if test -n "$MANIFEST_TOOL"; then
8952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8953$as_echo "$MANIFEST_TOOL" >&6; }
8954else
8955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956$as_echo "no" >&6; }
8957fi
8958
8959
8960fi
8961if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8962  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8963  # Extract the first word of "mt", so it can be a program name with args.
8964set dummy mt; ac_word=$2
8965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8966$as_echo_n "checking for $ac_word... " >&6; }
8967if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8968  $as_echo_n "(cached) " >&6
8969else
8970  if test -n "$ac_ct_MANIFEST_TOOL"; then
8971  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8972else
8973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8974for as_dir in $PATH
8975do
8976  IFS=$as_save_IFS
8977  test -z "$as_dir" && as_dir=.
8978    for ac_exec_ext in '' $ac_executable_extensions; do
8979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8980    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8982    break 2
8983  fi
8984done
8985  done
8986IFS=$as_save_IFS
8987
8988fi
8989fi
8990ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8991if test -n "$ac_ct_MANIFEST_TOOL"; then
8992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8993$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8994else
8995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8996$as_echo "no" >&6; }
8997fi
8998
8999  if test "x$ac_ct_MANIFEST_TOOL" = x; then
9000    MANIFEST_TOOL=":"
9001  else
9002    case $cross_compiling:$ac_tool_warned in
9003yes:)
9004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9006ac_tool_warned=yes ;;
9007esac
9008    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9009  fi
9010else
9011  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9012fi
9013
9014test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9016$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9017if ${lt_cv_path_mainfest_tool+:} false; then :
9018  $as_echo_n "(cached) " >&6
9019else
9020  lt_cv_path_mainfest_tool=no
9021  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9022  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9023  cat conftest.err >&5
9024  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9025    lt_cv_path_mainfest_tool=yes
9026  fi
9027  rm -f conftest*
9028fi
9029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9030$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9031if test yes != "$lt_cv_path_mainfest_tool"; then
9032  MANIFEST_TOOL=:
9033fi
9034
9035
9036
9037
9038
9039
9040  case $host_os in
9041    rhapsody* | darwin*)
9042    if test -n "$ac_tool_prefix"; then
9043  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9044set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046$as_echo_n "checking for $ac_word... " >&6; }
9047if ${ac_cv_prog_DSYMUTIL+:} false; then :
9048  $as_echo_n "(cached) " >&6
9049else
9050  if test -n "$DSYMUTIL"; then
9051  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9052else
9053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054for as_dir in $PATH
9055do
9056  IFS=$as_save_IFS
9057  test -z "$as_dir" && as_dir=.
9058    for ac_exec_ext in '' $ac_executable_extensions; do
9059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9060    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9062    break 2
9063  fi
9064done
9065  done
9066IFS=$as_save_IFS
9067
9068fi
9069fi
9070DSYMUTIL=$ac_cv_prog_DSYMUTIL
9071if test -n "$DSYMUTIL"; then
9072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9073$as_echo "$DSYMUTIL" >&6; }
9074else
9075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076$as_echo "no" >&6; }
9077fi
9078
9079
9080fi
9081if test -z "$ac_cv_prog_DSYMUTIL"; then
9082  ac_ct_DSYMUTIL=$DSYMUTIL
9083  # Extract the first word of "dsymutil", so it can be a program name with args.
9084set dummy dsymutil; ac_word=$2
9085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9086$as_echo_n "checking for $ac_word... " >&6; }
9087if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9088  $as_echo_n "(cached) " >&6
9089else
9090  if test -n "$ac_ct_DSYMUTIL"; then
9091  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9092else
9093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094for as_dir in $PATH
9095do
9096  IFS=$as_save_IFS
9097  test -z "$as_dir" && as_dir=.
9098    for ac_exec_ext in '' $ac_executable_extensions; do
9099  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9100    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9102    break 2
9103  fi
9104done
9105  done
9106IFS=$as_save_IFS
9107
9108fi
9109fi
9110ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9111if test -n "$ac_ct_DSYMUTIL"; then
9112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9113$as_echo "$ac_ct_DSYMUTIL" >&6; }
9114else
9115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116$as_echo "no" >&6; }
9117fi
9118
9119  if test "x$ac_ct_DSYMUTIL" = x; then
9120    DSYMUTIL=":"
9121  else
9122    case $cross_compiling:$ac_tool_warned in
9123yes:)
9124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9126ac_tool_warned=yes ;;
9127esac
9128    DSYMUTIL=$ac_ct_DSYMUTIL
9129  fi
9130else
9131  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9132fi
9133
9134    if test -n "$ac_tool_prefix"; then
9135  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9136set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9138$as_echo_n "checking for $ac_word... " >&6; }
9139if ${ac_cv_prog_NMEDIT+:} false; then :
9140  $as_echo_n "(cached) " >&6
9141else
9142  if test -n "$NMEDIT"; then
9143  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9144else
9145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9146for as_dir in $PATH
9147do
9148  IFS=$as_save_IFS
9149  test -z "$as_dir" && as_dir=.
9150    for ac_exec_ext in '' $ac_executable_extensions; do
9151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9152    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9154    break 2
9155  fi
9156done
9157  done
9158IFS=$as_save_IFS
9159
9160fi
9161fi
9162NMEDIT=$ac_cv_prog_NMEDIT
9163if test -n "$NMEDIT"; then
9164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9165$as_echo "$NMEDIT" >&6; }
9166else
9167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9168$as_echo "no" >&6; }
9169fi
9170
9171
9172fi
9173if test -z "$ac_cv_prog_NMEDIT"; then
9174  ac_ct_NMEDIT=$NMEDIT
9175  # Extract the first word of "nmedit", so it can be a program name with args.
9176set dummy nmedit; ac_word=$2
9177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9178$as_echo_n "checking for $ac_word... " >&6; }
9179if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9180  $as_echo_n "(cached) " >&6
9181else
9182  if test -n "$ac_ct_NMEDIT"; then
9183  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9184else
9185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186for as_dir in $PATH
9187do
9188  IFS=$as_save_IFS
9189  test -z "$as_dir" && as_dir=.
9190    for ac_exec_ext in '' $ac_executable_extensions; do
9191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9192    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9194    break 2
9195  fi
9196done
9197  done
9198IFS=$as_save_IFS
9199
9200fi
9201fi
9202ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9203if test -n "$ac_ct_NMEDIT"; then
9204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9205$as_echo "$ac_ct_NMEDIT" >&6; }
9206else
9207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9208$as_echo "no" >&6; }
9209fi
9210
9211  if test "x$ac_ct_NMEDIT" = x; then
9212    NMEDIT=":"
9213  else
9214    case $cross_compiling:$ac_tool_warned in
9215yes:)
9216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9218ac_tool_warned=yes ;;
9219esac
9220    NMEDIT=$ac_ct_NMEDIT
9221  fi
9222else
9223  NMEDIT="$ac_cv_prog_NMEDIT"
9224fi
9225
9226    if test -n "$ac_tool_prefix"; then
9227  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9228set dummy ${ac_tool_prefix}lipo; ac_word=$2
9229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9230$as_echo_n "checking for $ac_word... " >&6; }
9231if ${ac_cv_prog_LIPO+:} false; then :
9232  $as_echo_n "(cached) " >&6
9233else
9234  if test -n "$LIPO"; then
9235  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9236else
9237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238for as_dir in $PATH
9239do
9240  IFS=$as_save_IFS
9241  test -z "$as_dir" && as_dir=.
9242    for ac_exec_ext in '' $ac_executable_extensions; do
9243  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9244    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9246    break 2
9247  fi
9248done
9249  done
9250IFS=$as_save_IFS
9251
9252fi
9253fi
9254LIPO=$ac_cv_prog_LIPO
9255if test -n "$LIPO"; then
9256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9257$as_echo "$LIPO" >&6; }
9258else
9259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260$as_echo "no" >&6; }
9261fi
9262
9263
9264fi
9265if test -z "$ac_cv_prog_LIPO"; then
9266  ac_ct_LIPO=$LIPO
9267  # Extract the first word of "lipo", so it can be a program name with args.
9268set dummy lipo; ac_word=$2
9269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270$as_echo_n "checking for $ac_word... " >&6; }
9271if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9272  $as_echo_n "(cached) " >&6
9273else
9274  if test -n "$ac_ct_LIPO"; then
9275  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9276else
9277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9278for as_dir in $PATH
9279do
9280  IFS=$as_save_IFS
9281  test -z "$as_dir" && as_dir=.
9282    for ac_exec_ext in '' $ac_executable_extensions; do
9283  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9284    ac_cv_prog_ac_ct_LIPO="lipo"
9285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9286    break 2
9287  fi
9288done
9289  done
9290IFS=$as_save_IFS
9291
9292fi
9293fi
9294ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9295if test -n "$ac_ct_LIPO"; then
9296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9297$as_echo "$ac_ct_LIPO" >&6; }
9298else
9299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300$as_echo "no" >&6; }
9301fi
9302
9303  if test "x$ac_ct_LIPO" = x; then
9304    LIPO=":"
9305  else
9306    case $cross_compiling:$ac_tool_warned in
9307yes:)
9308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9310ac_tool_warned=yes ;;
9311esac
9312    LIPO=$ac_ct_LIPO
9313  fi
9314else
9315  LIPO="$ac_cv_prog_LIPO"
9316fi
9317
9318    if test -n "$ac_tool_prefix"; then
9319  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9320set dummy ${ac_tool_prefix}otool; ac_word=$2
9321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9322$as_echo_n "checking for $ac_word... " >&6; }
9323if ${ac_cv_prog_OTOOL+:} false; then :
9324  $as_echo_n "(cached) " >&6
9325else
9326  if test -n "$OTOOL"; then
9327  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9328else
9329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330for as_dir in $PATH
9331do
9332  IFS=$as_save_IFS
9333  test -z "$as_dir" && as_dir=.
9334    for ac_exec_ext in '' $ac_executable_extensions; do
9335  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9336    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9338    break 2
9339  fi
9340done
9341  done
9342IFS=$as_save_IFS
9343
9344fi
9345fi
9346OTOOL=$ac_cv_prog_OTOOL
9347if test -n "$OTOOL"; then
9348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9349$as_echo "$OTOOL" >&6; }
9350else
9351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9352$as_echo "no" >&6; }
9353fi
9354
9355
9356fi
9357if test -z "$ac_cv_prog_OTOOL"; then
9358  ac_ct_OTOOL=$OTOOL
9359  # Extract the first word of "otool", so it can be a program name with args.
9360set dummy otool; ac_word=$2
9361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9362$as_echo_n "checking for $ac_word... " >&6; }
9363if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9364  $as_echo_n "(cached) " >&6
9365else
9366  if test -n "$ac_ct_OTOOL"; then
9367  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9368else
9369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9370for as_dir in $PATH
9371do
9372  IFS=$as_save_IFS
9373  test -z "$as_dir" && as_dir=.
9374    for ac_exec_ext in '' $ac_executable_extensions; do
9375  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9376    ac_cv_prog_ac_ct_OTOOL="otool"
9377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9378    break 2
9379  fi
9380done
9381  done
9382IFS=$as_save_IFS
9383
9384fi
9385fi
9386ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9387if test -n "$ac_ct_OTOOL"; then
9388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9389$as_echo "$ac_ct_OTOOL" >&6; }
9390else
9391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392$as_echo "no" >&6; }
9393fi
9394
9395  if test "x$ac_ct_OTOOL" = x; then
9396    OTOOL=":"
9397  else
9398    case $cross_compiling:$ac_tool_warned in
9399yes:)
9400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9402ac_tool_warned=yes ;;
9403esac
9404    OTOOL=$ac_ct_OTOOL
9405  fi
9406else
9407  OTOOL="$ac_cv_prog_OTOOL"
9408fi
9409
9410    if test -n "$ac_tool_prefix"; then
9411  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9412set dummy ${ac_tool_prefix}otool64; ac_word=$2
9413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9414$as_echo_n "checking for $ac_word... " >&6; }
9415if ${ac_cv_prog_OTOOL64+:} false; then :
9416  $as_echo_n "(cached) " >&6
9417else
9418  if test -n "$OTOOL64"; then
9419  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9420else
9421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422for as_dir in $PATH
9423do
9424  IFS=$as_save_IFS
9425  test -z "$as_dir" && as_dir=.
9426    for ac_exec_ext in '' $ac_executable_extensions; do
9427  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9428    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9429    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9430    break 2
9431  fi
9432done
9433  done
9434IFS=$as_save_IFS
9435
9436fi
9437fi
9438OTOOL64=$ac_cv_prog_OTOOL64
9439if test -n "$OTOOL64"; then
9440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9441$as_echo "$OTOOL64" >&6; }
9442else
9443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444$as_echo "no" >&6; }
9445fi
9446
9447
9448fi
9449if test -z "$ac_cv_prog_OTOOL64"; then
9450  ac_ct_OTOOL64=$OTOOL64
9451  # Extract the first word of "otool64", so it can be a program name with args.
9452set dummy otool64; ac_word=$2
9453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9454$as_echo_n "checking for $ac_word... " >&6; }
9455if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9456  $as_echo_n "(cached) " >&6
9457else
9458  if test -n "$ac_ct_OTOOL64"; then
9459  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9460else
9461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9462for as_dir in $PATH
9463do
9464  IFS=$as_save_IFS
9465  test -z "$as_dir" && as_dir=.
9466    for ac_exec_ext in '' $ac_executable_extensions; do
9467  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9468    ac_cv_prog_ac_ct_OTOOL64="otool64"
9469    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9470    break 2
9471  fi
9472done
9473  done
9474IFS=$as_save_IFS
9475
9476fi
9477fi
9478ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9479if test -n "$ac_ct_OTOOL64"; then
9480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9481$as_echo "$ac_ct_OTOOL64" >&6; }
9482else
9483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9484$as_echo "no" >&6; }
9485fi
9486
9487  if test "x$ac_ct_OTOOL64" = x; then
9488    OTOOL64=":"
9489  else
9490    case $cross_compiling:$ac_tool_warned in
9491yes:)
9492{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9493$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9494ac_tool_warned=yes ;;
9495esac
9496    OTOOL64=$ac_ct_OTOOL64
9497  fi
9498else
9499  OTOOL64="$ac_cv_prog_OTOOL64"
9500fi
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9529$as_echo_n "checking for -single_module linker flag... " >&6; }
9530if ${lt_cv_apple_cc_single_mod+:} false; then :
9531  $as_echo_n "(cached) " >&6
9532else
9533  lt_cv_apple_cc_single_mod=no
9534      if test -z "$LT_MULTI_MODULE"; then
9535	# By default we will add the -single_module flag. You can override
9536	# by either setting the environment variable LT_MULTI_MODULE
9537	# non-empty at configure time, or by adding -multi_module to the
9538	# link flags.
9539	rm -rf libconftest.dylib*
9540	echo "int foo(void){return 1;}" > conftest.c
9541	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9542-dynamiclib -Wl,-single_module conftest.c" >&5
9543	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9544	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9545        _lt_result=$?
9546	# If there is a non-empty error log, and "single_module"
9547	# appears in it, assume the flag caused a linker warning
9548        if test -s conftest.err && $GREP single_module conftest.err; then
9549	  cat conftest.err >&5
9550	# Otherwise, if the output was created with a 0 exit code from
9551	# the compiler, it worked.
9552	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9553	  lt_cv_apple_cc_single_mod=yes
9554	else
9555	  cat conftest.err >&5
9556	fi
9557	rm -rf libconftest.dylib*
9558	rm -f conftest.*
9559      fi
9560fi
9561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9562$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9563
9564    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9565$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9566if ${lt_cv_ld_exported_symbols_list+:} false; then :
9567  $as_echo_n "(cached) " >&6
9568else
9569  lt_cv_ld_exported_symbols_list=no
9570      save_LDFLAGS=$LDFLAGS
9571      echo "_main" > conftest.sym
9572      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9573      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574/* end confdefs.h.  */
9575
9576int
9577main ()
9578{
9579
9580  ;
9581  return 0;
9582}
9583_ACEOF
9584if ac_fn_c_try_link "$LINENO"; then :
9585  lt_cv_ld_exported_symbols_list=yes
9586else
9587  lt_cv_ld_exported_symbols_list=no
9588fi
9589rm -f core conftest.err conftest.$ac_objext \
9590    conftest$ac_exeext conftest.$ac_ext
9591	LDFLAGS=$save_LDFLAGS
9592
9593fi
9594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9595$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9596
9597    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9598$as_echo_n "checking for -force_load linker flag... " >&6; }
9599if ${lt_cv_ld_force_load+:} false; then :
9600  $as_echo_n "(cached) " >&6
9601else
9602  lt_cv_ld_force_load=no
9603      cat > conftest.c << _LT_EOF
9604int forced_loaded() { return 2;}
9605_LT_EOF
9606      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9607      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9608      echo "$AR cru libconftest.a conftest.o" >&5
9609      $AR cru libconftest.a conftest.o 2>&5
9610      echo "$RANLIB libconftest.a" >&5
9611      $RANLIB libconftest.a 2>&5
9612      cat > conftest.c << _LT_EOF
9613int main() { return 0;}
9614_LT_EOF
9615      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9616      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9617      _lt_result=$?
9618      if test -s conftest.err && $GREP force_load conftest.err; then
9619	cat conftest.err >&5
9620      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9621	lt_cv_ld_force_load=yes
9622      else
9623	cat conftest.err >&5
9624      fi
9625        rm -f conftest.err libconftest.a conftest conftest.c
9626        rm -rf conftest.dSYM
9627
9628fi
9629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9630$as_echo "$lt_cv_ld_force_load" >&6; }
9631    case $host_os in
9632    rhapsody* | darwin1.[012])
9633      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9634    darwin1.*)
9635      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9636    darwin*) # darwin 5.x on
9637      # if running on 10.5 or later, the deployment target defaults
9638      # to the OS version, if on x86, and 10.4, the deployment
9639      # target defaults to 10.4. Don't you love it?
9640      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9641	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9642	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9643	10.[012][,.]*)
9644	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9645	10.*)
9646	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9647      esac
9648    ;;
9649  esac
9650    if test yes = "$lt_cv_apple_cc_single_mod"; then
9651      _lt_dar_single_mod='$single_module'
9652    fi
9653    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9654      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9655    else
9656      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9657    fi
9658    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9659      _lt_dsymutil='~$DSYMUTIL $lib || :'
9660    else
9661      _lt_dsymutil=
9662    fi
9663    ;;
9664  esac
9665
9666# func_munge_path_list VARIABLE PATH
9667# -----------------------------------
9668# VARIABLE is name of variable containing _space_ separated list of
9669# directories to be munged by the contents of PATH, which is string
9670# having a format:
9671# "DIR[:DIR]:"
9672#       string "DIR[ DIR]" will be prepended to VARIABLE
9673# ":DIR[:DIR]"
9674#       string "DIR[ DIR]" will be appended to VARIABLE
9675# "DIRP[:DIRP]::[DIRA:]DIRA"
9676#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9677#       "DIRA[ DIRA]" will be appended to VARIABLE
9678# "DIR[:DIR]"
9679#       VARIABLE will be replaced by "DIR[ DIR]"
9680func_munge_path_list ()
9681{
9682    case x$2 in
9683    x)
9684        ;;
9685    *:)
9686        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9687        ;;
9688    x:*)
9689        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9690        ;;
9691    *::*)
9692        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9693        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9694        ;;
9695    *)
9696        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9697        ;;
9698    esac
9699}
9700
9701for ac_header in dlfcn.h
9702do :
9703  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9704"
9705if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9706  cat >>confdefs.h <<_ACEOF
9707#define HAVE_DLFCN_H 1
9708_ACEOF
9709
9710fi
9711
9712done
9713
9714
9715
9716func_stripname_cnf ()
9717{
9718  case $2 in
9719  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9720  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9721  esac
9722} # func_stripname_cnf
9723
9724
9725
9726
9727
9728# Set options
9729
9730
9731
9732        enable_dlopen=no
9733
9734
9735  enable_win32_dll=no
9736
9737
9738            # Check whether --enable-shared was given.
9739if test "${enable_shared+set}" = set; then :
9740  enableval=$enable_shared; p=${PACKAGE-default}
9741    case $enableval in
9742    yes) enable_shared=yes ;;
9743    no) enable_shared=no ;;
9744    *)
9745      enable_shared=no
9746      # Look at the argument we got.  We use all the common list separators.
9747      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9748      for pkg in $enableval; do
9749	IFS=$lt_save_ifs
9750	if test "X$pkg" = "X$p"; then
9751	  enable_shared=yes
9752	fi
9753      done
9754      IFS=$lt_save_ifs
9755      ;;
9756    esac
9757else
9758  enable_shared=yes
9759fi
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769  # Check whether --enable-static was given.
9770if test "${enable_static+set}" = set; then :
9771  enableval=$enable_static; p=${PACKAGE-default}
9772    case $enableval in
9773    yes) enable_static=yes ;;
9774    no) enable_static=no ;;
9775    *)
9776     enable_static=no
9777      # Look at the argument we got.  We use all the common list separators.
9778      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9779      for pkg in $enableval; do
9780	IFS=$lt_save_ifs
9781	if test "X$pkg" = "X$p"; then
9782	  enable_static=yes
9783	fi
9784      done
9785      IFS=$lt_save_ifs
9786      ;;
9787    esac
9788else
9789  enable_static=yes
9790fi
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801# Check whether --with-pic was given.
9802if test "${with_pic+set}" = set; then :
9803  withval=$with_pic; lt_p=${PACKAGE-default}
9804    case $withval in
9805    yes|no) pic_mode=$withval ;;
9806    *)
9807      pic_mode=default
9808      # Look at the argument we got.  We use all the common list separators.
9809      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9810      for lt_pkg in $withval; do
9811	IFS=$lt_save_ifs
9812	if test "X$lt_pkg" = "X$lt_p"; then
9813	  pic_mode=yes
9814	fi
9815      done
9816      IFS=$lt_save_ifs
9817      ;;
9818    esac
9819else
9820  pic_mode=default
9821fi
9822
9823
9824
9825
9826
9827
9828
9829
9830  # Check whether --enable-fast-install was given.
9831if test "${enable_fast_install+set}" = set; then :
9832  enableval=$enable_fast_install; p=${PACKAGE-default}
9833    case $enableval in
9834    yes) enable_fast_install=yes ;;
9835    no) enable_fast_install=no ;;
9836    *)
9837      enable_fast_install=no
9838      # Look at the argument we got.  We use all the common list separators.
9839      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9840      for pkg in $enableval; do
9841	IFS=$lt_save_ifs
9842	if test "X$pkg" = "X$p"; then
9843	  enable_fast_install=yes
9844	fi
9845      done
9846      IFS=$lt_save_ifs
9847      ;;
9848    esac
9849else
9850  enable_fast_install=yes
9851fi
9852
9853
9854
9855
9856
9857
9858
9859
9860  shared_archive_member_spec=
9861case $host,$enable_shared in
9862power*-*-aix[5-9]*,yes)
9863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9864$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9865
9866# Check whether --with-aix-soname was given.
9867if test "${with_aix_soname+set}" = set; then :
9868  withval=$with_aix_soname; case $withval in
9869    aix|svr4|both)
9870      ;;
9871    *)
9872      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9873      ;;
9874    esac
9875    lt_cv_with_aix_soname=$with_aix_soname
9876else
9877  if ${lt_cv_with_aix_soname+:} false; then :
9878  $as_echo_n "(cached) " >&6
9879else
9880  lt_cv_with_aix_soname=aix
9881fi
9882
9883    with_aix_soname=$lt_cv_with_aix_soname
9884fi
9885
9886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9887$as_echo "$with_aix_soname" >&6; }
9888  if test aix != "$with_aix_soname"; then
9889    # For the AIX way of multilib, we name the shared archive member
9890    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9891    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9892    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9893    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9894    if test 64 = "${OBJECT_MODE-32}"; then
9895      shared_archive_member_spec=shr_64
9896    else
9897      shared_archive_member_spec=shr
9898    fi
9899  fi
9900  ;;
9901*)
9902  with_aix_soname=aix
9903  ;;
9904esac
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915# This can be used to rebuild libtool when needed
9916LIBTOOL_DEPS=$ltmain
9917
9918# Always use our own libtool.
9919LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950test -z "$LN_S" && LN_S="ln -s"
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965if test -n "${ZSH_VERSION+set}"; then
9966   setopt NO_GLOB_SUBST
9967fi
9968
9969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9970$as_echo_n "checking for objdir... " >&6; }
9971if ${lt_cv_objdir+:} false; then :
9972  $as_echo_n "(cached) " >&6
9973else
9974  rm -f .libs 2>/dev/null
9975mkdir .libs 2>/dev/null
9976if test -d .libs; then
9977  lt_cv_objdir=.libs
9978else
9979  # MS-DOS does not allow filenames that begin with a dot.
9980  lt_cv_objdir=_libs
9981fi
9982rmdir .libs 2>/dev/null
9983fi
9984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9985$as_echo "$lt_cv_objdir" >&6; }
9986objdir=$lt_cv_objdir
9987
9988
9989
9990
9991
9992cat >>confdefs.h <<_ACEOF
9993#define LT_OBJDIR "$lt_cv_objdir/"
9994_ACEOF
9995
9996
9997
9998
9999case $host_os in
10000aix3*)
10001  # AIX sometimes has problems with the GCC collect2 program.  For some
10002  # reason, if we set the COLLECT_NAMES environment variable, the problems
10003  # vanish in a puff of smoke.
10004  if test set != "${COLLECT_NAMES+set}"; then
10005    COLLECT_NAMES=
10006    export COLLECT_NAMES
10007  fi
10008  ;;
10009esac
10010
10011# Global variables:
10012ofile=libtool
10013can_build_shared=yes
10014
10015# All known linkers require a '.a' archive for static linking (except MSVC,
10016# which needs '.lib').
10017libext=a
10018
10019with_gnu_ld=$lt_cv_prog_gnu_ld
10020
10021old_CC=$CC
10022old_CFLAGS=$CFLAGS
10023
10024# Set sane defaults for various variables
10025test -z "$CC" && CC=cc
10026test -z "$LTCC" && LTCC=$CC
10027test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10028test -z "$LD" && LD=ld
10029test -z "$ac_objext" && ac_objext=o
10030
10031func_cc_basename $compiler
10032cc_basename=$func_cc_basename_result
10033
10034
10035# Only perform the check for file, if the check method requires it
10036test -z "$MAGIC_CMD" && MAGIC_CMD=file
10037case $deplibs_check_method in
10038file_magic*)
10039  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10040    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10041$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10042if ${lt_cv_path_MAGIC_CMD+:} false; then :
10043  $as_echo_n "(cached) " >&6
10044else
10045  case $MAGIC_CMD in
10046[\\/*] |  ?:[\\/]*)
10047  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10048  ;;
10049*)
10050  lt_save_MAGIC_CMD=$MAGIC_CMD
10051  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10052  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10053  for ac_dir in $ac_dummy; do
10054    IFS=$lt_save_ifs
10055    test -z "$ac_dir" && ac_dir=.
10056    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10057      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10058      if test -n "$file_magic_test_file"; then
10059	case $deplibs_check_method in
10060	"file_magic "*)
10061	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10062	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10063	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10064	    $EGREP "$file_magic_regex" > /dev/null; then
10065	    :
10066	  else
10067	    cat <<_LT_EOF 1>&2
10068
10069*** Warning: the command libtool uses to detect shared libraries,
10070*** $file_magic_cmd, produces output that libtool cannot recognize.
10071*** The result is that libtool may fail to recognize shared libraries
10072*** as such.  This will affect the creation of libtool libraries that
10073*** depend on shared libraries, but programs linked with such libtool
10074*** libraries will work regardless of this problem.  Nevertheless, you
10075*** may want to report the problem to your system manager and/or to
10076*** bug-libtool@gnu.org
10077
10078_LT_EOF
10079	  fi ;;
10080	esac
10081      fi
10082      break
10083    fi
10084  done
10085  IFS=$lt_save_ifs
10086  MAGIC_CMD=$lt_save_MAGIC_CMD
10087  ;;
10088esac
10089fi
10090
10091MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10092if test -n "$MAGIC_CMD"; then
10093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10094$as_echo "$MAGIC_CMD" >&6; }
10095else
10096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10097$as_echo "no" >&6; }
10098fi
10099
10100
10101
10102
10103
10104if test -z "$lt_cv_path_MAGIC_CMD"; then
10105  if test -n "$ac_tool_prefix"; then
10106    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10107$as_echo_n "checking for file... " >&6; }
10108if ${lt_cv_path_MAGIC_CMD+:} false; then :
10109  $as_echo_n "(cached) " >&6
10110else
10111  case $MAGIC_CMD in
10112[\\/*] |  ?:[\\/]*)
10113  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10114  ;;
10115*)
10116  lt_save_MAGIC_CMD=$MAGIC_CMD
10117  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10118  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10119  for ac_dir in $ac_dummy; do
10120    IFS=$lt_save_ifs
10121    test -z "$ac_dir" && ac_dir=.
10122    if test -f "$ac_dir/file"; then
10123      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10124      if test -n "$file_magic_test_file"; then
10125	case $deplibs_check_method in
10126	"file_magic "*)
10127	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10128	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10129	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10130	    $EGREP "$file_magic_regex" > /dev/null; then
10131	    :
10132	  else
10133	    cat <<_LT_EOF 1>&2
10134
10135*** Warning: the command libtool uses to detect shared libraries,
10136*** $file_magic_cmd, produces output that libtool cannot recognize.
10137*** The result is that libtool may fail to recognize shared libraries
10138*** as such.  This will affect the creation of libtool libraries that
10139*** depend on shared libraries, but programs linked with such libtool
10140*** libraries will work regardless of this problem.  Nevertheless, you
10141*** may want to report the problem to your system manager and/or to
10142*** bug-libtool@gnu.org
10143
10144_LT_EOF
10145	  fi ;;
10146	esac
10147      fi
10148      break
10149    fi
10150  done
10151  IFS=$lt_save_ifs
10152  MAGIC_CMD=$lt_save_MAGIC_CMD
10153  ;;
10154esac
10155fi
10156
10157MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10158if test -n "$MAGIC_CMD"; then
10159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10160$as_echo "$MAGIC_CMD" >&6; }
10161else
10162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163$as_echo "no" >&6; }
10164fi
10165
10166
10167  else
10168    MAGIC_CMD=:
10169  fi
10170fi
10171
10172  fi
10173  ;;
10174esac
10175
10176# Use C for the default configuration in the libtool script
10177
10178lt_save_CC=$CC
10179ac_ext=c
10180ac_cpp='$CPP $CPPFLAGS'
10181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10183ac_compiler_gnu=$ac_cv_c_compiler_gnu
10184
10185
10186# Source file extension for C test sources.
10187ac_ext=c
10188
10189# Object file extension for compiled C test sources.
10190objext=o
10191objext=$objext
10192
10193# Code to be used in simple compile tests
10194lt_simple_compile_test_code="int some_variable = 0;"
10195
10196# Code to be used in simple link tests
10197lt_simple_link_test_code='int main(){return(0);}'
10198
10199
10200
10201
10202
10203
10204
10205# If no C compiler was specified, use CC.
10206LTCC=${LTCC-"$CC"}
10207
10208# If no C compiler flags were specified, use CFLAGS.
10209LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10210
10211# Allow CC to be a program name with arguments.
10212compiler=$CC
10213
10214# Save the default compiler, since it gets overwritten when the other
10215# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10216compiler_DEFAULT=$CC
10217
10218# save warnings/boilerplate of simple test code
10219ac_outfile=conftest.$ac_objext
10220echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10221eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10222_lt_compiler_boilerplate=`cat conftest.err`
10223$RM conftest*
10224
10225ac_outfile=conftest.$ac_objext
10226echo "$lt_simple_link_test_code" >conftest.$ac_ext
10227eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10228_lt_linker_boilerplate=`cat conftest.err`
10229$RM -r conftest*
10230
10231
10232if test -n "$compiler"; then
10233
10234lt_prog_compiler_no_builtin_flag=
10235
10236if test yes = "$GCC"; then
10237  case $cc_basename in
10238  nvcc*)
10239    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10240  *)
10241    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10242  esac
10243
10244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10245$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10246if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10247  $as_echo_n "(cached) " >&6
10248else
10249  lt_cv_prog_compiler_rtti_exceptions=no
10250   ac_outfile=conftest.$ac_objext
10251   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10252   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10253   # Insert the option either (1) after the last *FLAGS variable, or
10254   # (2) before a word containing "conftest.", or (3) at the end.
10255   # Note that $ac_compile itself does not contain backslashes and begins
10256   # with a dollar sign (not a hyphen), so the echo should work correctly.
10257   # The option is referenced via a variable to avoid confusing sed.
10258   lt_compile=`echo "$ac_compile" | $SED \
10259   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10260   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10261   -e 's:$: $lt_compiler_flag:'`
10262   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10263   (eval "$lt_compile" 2>conftest.err)
10264   ac_status=$?
10265   cat conftest.err >&5
10266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267   if (exit $ac_status) && test -s "$ac_outfile"; then
10268     # The compiler can only warn and ignore the option if not recognized
10269     # So say no if there are warnings other than the usual output.
10270     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10271     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10272     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10273       lt_cv_prog_compiler_rtti_exceptions=yes
10274     fi
10275   fi
10276   $RM conftest*
10277
10278fi
10279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10280$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10281
10282if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10283    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10284else
10285    :
10286fi
10287
10288fi
10289
10290
10291
10292
10293
10294
10295  lt_prog_compiler_wl=
10296lt_prog_compiler_pic=
10297lt_prog_compiler_static=
10298
10299
10300  if test yes = "$GCC"; then
10301    lt_prog_compiler_wl='-Wl,'
10302    lt_prog_compiler_static='-static'
10303
10304    case $host_os in
10305      aix*)
10306      # All AIX code is PIC.
10307      if test ia64 = "$host_cpu"; then
10308	# AIX 5 now supports IA64 processor
10309	lt_prog_compiler_static='-Bstatic'
10310      fi
10311      lt_prog_compiler_pic='-fPIC'
10312      ;;
10313
10314    amigaos*)
10315      case $host_cpu in
10316      powerpc)
10317            # see comment about AmigaOS4 .so support
10318            lt_prog_compiler_pic='-fPIC'
10319        ;;
10320      m68k)
10321            # FIXME: we need at least 68020 code to build shared libraries, but
10322            # adding the '-m68020' flag to GCC prevents building anything better,
10323            # like '-m68040'.
10324            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10325        ;;
10326      esac
10327      ;;
10328
10329    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10330      # PIC is the default for these OSes.
10331      ;;
10332
10333    mingw* | cygwin* | pw32* | os2* | cegcc*)
10334      # This hack is so that the source file can tell whether it is being
10335      # built for inclusion in a dll (and should export symbols for example).
10336      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10337      # (--disable-auto-import) libraries
10338      lt_prog_compiler_pic='-DDLL_EXPORT'
10339      case $host_os in
10340      os2*)
10341	lt_prog_compiler_static='$wl-static'
10342	;;
10343      esac
10344      ;;
10345
10346    darwin* | rhapsody*)
10347      # PIC is the default on this platform
10348      # Common symbols not allowed in MH_DYLIB files
10349      lt_prog_compiler_pic='-fno-common'
10350      ;;
10351
10352    haiku*)
10353      # PIC is the default for Haiku.
10354      # The "-static" flag exists, but is broken.
10355      lt_prog_compiler_static=
10356      ;;
10357
10358    hpux*)
10359      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10360      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10361      # sets the default TLS model and affects inlining.
10362      case $host_cpu in
10363      hppa*64*)
10364	# +Z the default
10365	;;
10366      *)
10367	lt_prog_compiler_pic='-fPIC'
10368	;;
10369      esac
10370      ;;
10371
10372    interix[3-9]*)
10373      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10374      # Instead, we relocate shared libraries at runtime.
10375      ;;
10376
10377    msdosdjgpp*)
10378      # Just because we use GCC doesn't mean we suddenly get shared libraries
10379      # on systems that don't support them.
10380      lt_prog_compiler_can_build_shared=no
10381      enable_shared=no
10382      ;;
10383
10384    *nto* | *qnx*)
10385      # QNX uses GNU C++, but need to define -shared option too, otherwise
10386      # it will coredump.
10387      lt_prog_compiler_pic='-fPIC -shared'
10388      ;;
10389
10390    sysv4*MP*)
10391      if test -d /usr/nec; then
10392	lt_prog_compiler_pic=-Kconform_pic
10393      fi
10394      ;;
10395
10396    *)
10397      lt_prog_compiler_pic='-fPIC'
10398      ;;
10399    esac
10400
10401    case $cc_basename in
10402    nvcc*) # Cuda Compiler Driver 2.2
10403      lt_prog_compiler_wl='-Xlinker '
10404      if test -n "$lt_prog_compiler_pic"; then
10405        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10406      fi
10407      ;;
10408    esac
10409  else
10410    # PORTME Check for flag to pass linker flags through the system compiler.
10411    case $host_os in
10412    aix*)
10413      lt_prog_compiler_wl='-Wl,'
10414      if test ia64 = "$host_cpu"; then
10415	# AIX 5 now supports IA64 processor
10416	lt_prog_compiler_static='-Bstatic'
10417      else
10418	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10419      fi
10420      ;;
10421
10422    darwin* | rhapsody*)
10423      # PIC is the default on this platform
10424      # Common symbols not allowed in MH_DYLIB files
10425      lt_prog_compiler_pic='-fno-common'
10426      case $cc_basename in
10427      nagfor*)
10428        # NAG Fortran compiler
10429        lt_prog_compiler_wl='-Wl,-Wl,,'
10430        lt_prog_compiler_pic='-PIC'
10431        lt_prog_compiler_static='-Bstatic'
10432        ;;
10433      esac
10434      ;;
10435
10436    mingw* | cygwin* | pw32* | os2* | cegcc*)
10437      # This hack is so that the source file can tell whether it is being
10438      # built for inclusion in a dll (and should export symbols for example).
10439      lt_prog_compiler_pic='-DDLL_EXPORT'
10440      case $host_os in
10441      os2*)
10442	lt_prog_compiler_static='$wl-static'
10443	;;
10444      esac
10445      ;;
10446
10447    hpux9* | hpux10* | hpux11*)
10448      lt_prog_compiler_wl='-Wl,'
10449      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10450      # not for PA HP-UX.
10451      case $host_cpu in
10452      hppa*64*|ia64*)
10453	# +Z the default
10454	;;
10455      *)
10456	lt_prog_compiler_pic='+Z'
10457	;;
10458      esac
10459      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10460      lt_prog_compiler_static='$wl-a ${wl}archive'
10461      ;;
10462
10463    irix5* | irix6* | nonstopux*)
10464      lt_prog_compiler_wl='-Wl,'
10465      # PIC (with -KPIC) is the default.
10466      lt_prog_compiler_static='-non_shared'
10467      ;;
10468
10469    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10470      case $cc_basename in
10471      # old Intel for x86_64, which still supported -KPIC.
10472      ecc*)
10473	lt_prog_compiler_wl='-Wl,'
10474	lt_prog_compiler_pic='-KPIC'
10475	lt_prog_compiler_static='-static'
10476        ;;
10477      # icc used to be incompatible with GCC.
10478      # ICC 10 doesn't accept -KPIC any more.
10479      icc* | ifort*)
10480	lt_prog_compiler_wl='-Wl,'
10481	lt_prog_compiler_pic='-fPIC'
10482	lt_prog_compiler_static='-static'
10483        ;;
10484      # Lahey Fortran 8.1.
10485      lf95*)
10486	lt_prog_compiler_wl='-Wl,'
10487	lt_prog_compiler_pic='--shared'
10488	lt_prog_compiler_static='--static'
10489	;;
10490      nagfor*)
10491	# NAG Fortran compiler
10492	lt_prog_compiler_wl='-Wl,-Wl,,'
10493	lt_prog_compiler_pic='-PIC'
10494	lt_prog_compiler_static='-Bstatic'
10495	;;
10496      tcc*)
10497	# Fabrice Bellard et al's Tiny C Compiler
10498	lt_prog_compiler_wl='-Wl,'
10499	lt_prog_compiler_pic='-fPIC'
10500	lt_prog_compiler_static='-static'
10501	;;
10502      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10503        # Portland Group compilers (*not* the Pentium gcc compiler,
10504	# which looks to be a dead project)
10505	lt_prog_compiler_wl='-Wl,'
10506	lt_prog_compiler_pic='-fpic'
10507	lt_prog_compiler_static='-Bstatic'
10508        ;;
10509      ccc*)
10510        lt_prog_compiler_wl='-Wl,'
10511        # All Alpha code is PIC.
10512        lt_prog_compiler_static='-non_shared'
10513        ;;
10514      xl* | bgxl* | bgf* | mpixl*)
10515	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10516	lt_prog_compiler_wl='-Wl,'
10517	lt_prog_compiler_pic='-qpic'
10518	lt_prog_compiler_static='-qstaticlink'
10519	;;
10520      *)
10521	case `$CC -V 2>&1 | sed 5q` in
10522	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10523	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10524	  lt_prog_compiler_pic='-KPIC'
10525	  lt_prog_compiler_static='-Bstatic'
10526	  lt_prog_compiler_wl=''
10527	  ;;
10528	*Sun\ F* | *Sun*Fortran*)
10529	  lt_prog_compiler_pic='-KPIC'
10530	  lt_prog_compiler_static='-Bstatic'
10531	  lt_prog_compiler_wl='-Qoption ld '
10532	  ;;
10533	*Sun\ C*)
10534	  # Sun C 5.9
10535	  lt_prog_compiler_pic='-KPIC'
10536	  lt_prog_compiler_static='-Bstatic'
10537	  lt_prog_compiler_wl='-Wl,'
10538	  ;;
10539        *Intel*\ [CF]*Compiler*)
10540	  lt_prog_compiler_wl='-Wl,'
10541	  lt_prog_compiler_pic='-fPIC'
10542	  lt_prog_compiler_static='-static'
10543	  ;;
10544	*Portland\ Group*)
10545	  lt_prog_compiler_wl='-Wl,'
10546	  lt_prog_compiler_pic='-fpic'
10547	  lt_prog_compiler_static='-Bstatic'
10548	  ;;
10549	esac
10550	;;
10551      esac
10552      ;;
10553
10554    newsos6)
10555      lt_prog_compiler_pic='-KPIC'
10556      lt_prog_compiler_static='-Bstatic'
10557      ;;
10558
10559    *nto* | *qnx*)
10560      # QNX uses GNU C++, but need to define -shared option too, otherwise
10561      # it will coredump.
10562      lt_prog_compiler_pic='-fPIC -shared'
10563      ;;
10564
10565    osf3* | osf4* | osf5*)
10566      lt_prog_compiler_wl='-Wl,'
10567      # All OSF/1 code is PIC.
10568      lt_prog_compiler_static='-non_shared'
10569      ;;
10570
10571    rdos*)
10572      lt_prog_compiler_static='-non_shared'
10573      ;;
10574
10575    solaris*)
10576      lt_prog_compiler_pic='-KPIC'
10577      lt_prog_compiler_static='-Bstatic'
10578      case $cc_basename in
10579      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10580	lt_prog_compiler_wl='-Qoption ld ';;
10581      *)
10582	lt_prog_compiler_wl='-Wl,';;
10583      esac
10584      ;;
10585
10586    sunos4*)
10587      lt_prog_compiler_wl='-Qoption ld '
10588      lt_prog_compiler_pic='-PIC'
10589      lt_prog_compiler_static='-Bstatic'
10590      ;;
10591
10592    sysv4 | sysv4.2uw2* | sysv4.3*)
10593      lt_prog_compiler_wl='-Wl,'
10594      lt_prog_compiler_pic='-KPIC'
10595      lt_prog_compiler_static='-Bstatic'
10596      ;;
10597
10598    sysv4*MP*)
10599      if test -d /usr/nec; then
10600	lt_prog_compiler_pic='-Kconform_pic'
10601	lt_prog_compiler_static='-Bstatic'
10602      fi
10603      ;;
10604
10605    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10606      lt_prog_compiler_wl='-Wl,'
10607      lt_prog_compiler_pic='-KPIC'
10608      lt_prog_compiler_static='-Bstatic'
10609      ;;
10610
10611    unicos*)
10612      lt_prog_compiler_wl='-Wl,'
10613      lt_prog_compiler_can_build_shared=no
10614      ;;
10615
10616    uts4*)
10617      lt_prog_compiler_pic='-pic'
10618      lt_prog_compiler_static='-Bstatic'
10619      ;;
10620
10621    *)
10622      lt_prog_compiler_can_build_shared=no
10623      ;;
10624    esac
10625  fi
10626
10627case $host_os in
10628  # For platforms that do not support PIC, -DPIC is meaningless:
10629  *djgpp*)
10630    lt_prog_compiler_pic=
10631    ;;
10632  *)
10633    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10634    ;;
10635esac
10636
10637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10638$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10639if ${lt_cv_prog_compiler_pic+:} false; then :
10640  $as_echo_n "(cached) " >&6
10641else
10642  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10643fi
10644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10645$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10646lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10647
10648#
10649# Check to make sure the PIC flag actually works.
10650#
10651if test -n "$lt_prog_compiler_pic"; then
10652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10653$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10654if ${lt_cv_prog_compiler_pic_works+:} false; then :
10655  $as_echo_n "(cached) " >&6
10656else
10657  lt_cv_prog_compiler_pic_works=no
10658   ac_outfile=conftest.$ac_objext
10659   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10660   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10661   # Insert the option either (1) after the last *FLAGS variable, or
10662   # (2) before a word containing "conftest.", or (3) at the end.
10663   # Note that $ac_compile itself does not contain backslashes and begins
10664   # with a dollar sign (not a hyphen), so the echo should work correctly.
10665   # The option is referenced via a variable to avoid confusing sed.
10666   lt_compile=`echo "$ac_compile" | $SED \
10667   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10668   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10669   -e 's:$: $lt_compiler_flag:'`
10670   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10671   (eval "$lt_compile" 2>conftest.err)
10672   ac_status=$?
10673   cat conftest.err >&5
10674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675   if (exit $ac_status) && test -s "$ac_outfile"; then
10676     # The compiler can only warn and ignore the option if not recognized
10677     # So say no if there are warnings other than the usual output.
10678     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10679     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10680     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10681       lt_cv_prog_compiler_pic_works=yes
10682     fi
10683   fi
10684   $RM conftest*
10685
10686fi
10687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10688$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10689
10690if test yes = "$lt_cv_prog_compiler_pic_works"; then
10691    case $lt_prog_compiler_pic in
10692     "" | " "*) ;;
10693     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10694     esac
10695else
10696    lt_prog_compiler_pic=
10697     lt_prog_compiler_can_build_shared=no
10698fi
10699
10700fi
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712#
10713# Check to make sure the static flag actually works.
10714#
10715wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10717$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10718if ${lt_cv_prog_compiler_static_works+:} false; then :
10719  $as_echo_n "(cached) " >&6
10720else
10721  lt_cv_prog_compiler_static_works=no
10722   save_LDFLAGS=$LDFLAGS
10723   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10724   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10725   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10726     # The linker can only warn and ignore the option if not recognized
10727     # So say no if there are warnings
10728     if test -s conftest.err; then
10729       # Append any errors to the config.log.
10730       cat conftest.err 1>&5
10731       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10732       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10733       if diff conftest.exp conftest.er2 >/dev/null; then
10734         lt_cv_prog_compiler_static_works=yes
10735       fi
10736     else
10737       lt_cv_prog_compiler_static_works=yes
10738     fi
10739   fi
10740   $RM -r conftest*
10741   LDFLAGS=$save_LDFLAGS
10742
10743fi
10744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10745$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10746
10747if test yes = "$lt_cv_prog_compiler_static_works"; then
10748    :
10749else
10750    lt_prog_compiler_static=
10751fi
10752
10753
10754
10755
10756
10757
10758
10759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10760$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10761if ${lt_cv_prog_compiler_c_o+:} false; then :
10762  $as_echo_n "(cached) " >&6
10763else
10764  lt_cv_prog_compiler_c_o=no
10765   $RM -r conftest 2>/dev/null
10766   mkdir conftest
10767   cd conftest
10768   mkdir out
10769   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10770
10771   lt_compiler_flag="-o out/conftest2.$ac_objext"
10772   # Insert the option either (1) after the last *FLAGS variable, or
10773   # (2) before a word containing "conftest.", or (3) at the end.
10774   # Note that $ac_compile itself does not contain backslashes and begins
10775   # with a dollar sign (not a hyphen), so the echo should work correctly.
10776   lt_compile=`echo "$ac_compile" | $SED \
10777   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10778   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10779   -e 's:$: $lt_compiler_flag:'`
10780   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10781   (eval "$lt_compile" 2>out/conftest.err)
10782   ac_status=$?
10783   cat out/conftest.err >&5
10784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10786   then
10787     # The compiler can only warn and ignore the option if not recognized
10788     # So say no if there are warnings
10789     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10790     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10791     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10792       lt_cv_prog_compiler_c_o=yes
10793     fi
10794   fi
10795   chmod u+w . 2>&5
10796   $RM conftest*
10797   # SGI C++ compiler will create directory out/ii_files/ for
10798   # template instantiation
10799   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10800   $RM out/* && rmdir out
10801   cd ..
10802   $RM -r conftest
10803   $RM conftest*
10804
10805fi
10806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10807$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10808
10809
10810
10811
10812
10813
10814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10815$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10816if ${lt_cv_prog_compiler_c_o+:} false; then :
10817  $as_echo_n "(cached) " >&6
10818else
10819  lt_cv_prog_compiler_c_o=no
10820   $RM -r conftest 2>/dev/null
10821   mkdir conftest
10822   cd conftest
10823   mkdir out
10824   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10825
10826   lt_compiler_flag="-o out/conftest2.$ac_objext"
10827   # Insert the option either (1) after the last *FLAGS variable, or
10828   # (2) before a word containing "conftest.", or (3) at the end.
10829   # Note that $ac_compile itself does not contain backslashes and begins
10830   # with a dollar sign (not a hyphen), so the echo should work correctly.
10831   lt_compile=`echo "$ac_compile" | $SED \
10832   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10833   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10834   -e 's:$: $lt_compiler_flag:'`
10835   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10836   (eval "$lt_compile" 2>out/conftest.err)
10837   ac_status=$?
10838   cat out/conftest.err >&5
10839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10841   then
10842     # The compiler can only warn and ignore the option if not recognized
10843     # So say no if there are warnings
10844     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10845     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10846     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10847       lt_cv_prog_compiler_c_o=yes
10848     fi
10849   fi
10850   chmod u+w . 2>&5
10851   $RM conftest*
10852   # SGI C++ compiler will create directory out/ii_files/ for
10853   # template instantiation
10854   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10855   $RM out/* && rmdir out
10856   cd ..
10857   $RM -r conftest
10858   $RM conftest*
10859
10860fi
10861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10862$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10863
10864
10865
10866
10867hard_links=nottested
10868if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10869  # do not overwrite the value of need_locks provided by the user
10870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10871$as_echo_n "checking if we can lock with hard links... " >&6; }
10872  hard_links=yes
10873  $RM conftest*
10874  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10875  touch conftest.a
10876  ln conftest.a conftest.b 2>&5 || hard_links=no
10877  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10879$as_echo "$hard_links" >&6; }
10880  if test no = "$hard_links"; then
10881    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10882$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10883    need_locks=warn
10884  fi
10885else
10886  need_locks=no
10887fi
10888
10889
10890
10891
10892
10893
10894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10895$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10896
10897  runpath_var=
10898  allow_undefined_flag=
10899  always_export_symbols=no
10900  archive_cmds=
10901  archive_expsym_cmds=
10902  compiler_needs_object=no
10903  enable_shared_with_static_runtimes=no
10904  export_dynamic_flag_spec=
10905  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10906  hardcode_automatic=no
10907  hardcode_direct=no
10908  hardcode_direct_absolute=no
10909  hardcode_libdir_flag_spec=
10910  hardcode_libdir_separator=
10911  hardcode_minus_L=no
10912  hardcode_shlibpath_var=unsupported
10913  inherit_rpath=no
10914  link_all_deplibs=unknown
10915  module_cmds=
10916  module_expsym_cmds=
10917  old_archive_from_new_cmds=
10918  old_archive_from_expsyms_cmds=
10919  thread_safe_flag_spec=
10920  whole_archive_flag_spec=
10921  # include_expsyms should be a list of space-separated symbols to be *always*
10922  # included in the symbol list
10923  include_expsyms=
10924  # exclude_expsyms can be an extended regexp of symbols to exclude
10925  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10926  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10927  # as well as any symbol that contains 'd'.
10928  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10929  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10930  # platforms (ab)use it in PIC code, but their linkers get confused if
10931  # the symbol is explicitly referenced.  Since portable code cannot
10932  # rely on this symbol name, it's probably fine to never include it in
10933  # preloaded symbol tables.
10934  # Exclude shared library initialization/finalization symbols.
10935  extract_expsyms_cmds=
10936
10937  case $host_os in
10938  cygwin* | mingw* | pw32* | cegcc*)
10939    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10940    # When not using gcc, we currently assume that we are using
10941    # Microsoft Visual C++.
10942    if test yes != "$GCC"; then
10943      with_gnu_ld=no
10944    fi
10945    ;;
10946  interix*)
10947    # we just hope/assume this is gcc and not c89 (= MSVC++)
10948    with_gnu_ld=yes
10949    ;;
10950  openbsd* | bitrig*)
10951    with_gnu_ld=no
10952    ;;
10953  linux* | k*bsd*-gnu | gnu*)
10954    link_all_deplibs=no
10955    ;;
10956  esac
10957
10958  ld_shlibs=yes
10959
10960  # On some targets, GNU ld is compatible enough with the native linker
10961  # that we're better off using the native interface for both.
10962  lt_use_gnu_ld_interface=no
10963  if test yes = "$with_gnu_ld"; then
10964    case $host_os in
10965      aix*)
10966	# The AIX port of GNU ld has always aspired to compatibility
10967	# with the native linker.  However, as the warning in the GNU ld
10968	# block says, versions before 2.19.5* couldn't really create working
10969	# shared libraries, regardless of the interface used.
10970	case `$LD -v 2>&1` in
10971	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10972	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10973	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10974	  *)
10975	    lt_use_gnu_ld_interface=yes
10976	    ;;
10977	esac
10978	;;
10979      *)
10980	lt_use_gnu_ld_interface=yes
10981	;;
10982    esac
10983  fi
10984
10985  if test yes = "$lt_use_gnu_ld_interface"; then
10986    # If archive_cmds runs LD, not CC, wlarc should be empty
10987    wlarc='$wl'
10988
10989    # Set some defaults for GNU ld with shared library support. These
10990    # are reset later if shared libraries are not supported. Putting them
10991    # here allows them to be overridden if necessary.
10992    runpath_var=LD_RUN_PATH
10993    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10994    export_dynamic_flag_spec='$wl--export-dynamic'
10995    # ancient GNU ld didn't support --whole-archive et. al.
10996    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10997      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10998    else
10999      whole_archive_flag_spec=
11000    fi
11001    supports_anon_versioning=no
11002    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11003      *GNU\ gold*) supports_anon_versioning=yes ;;
11004      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11005      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11006      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11007      *\ 2.11.*) ;; # other 2.11 versions
11008      *) supports_anon_versioning=yes ;;
11009    esac
11010
11011    # See if GNU ld supports shared libraries.
11012    case $host_os in
11013    aix[3-9]*)
11014      # On AIX/PPC, the GNU linker is very broken
11015      if test ia64 != "$host_cpu"; then
11016	ld_shlibs=no
11017	cat <<_LT_EOF 1>&2
11018
11019*** Warning: the GNU linker, at least up to release 2.19, is reported
11020*** to be unable to reliably create shared libraries on AIX.
11021*** Therefore, libtool is disabling shared libraries support.  If you
11022*** really care for shared libraries, you may want to install binutils
11023*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11024*** You will then need to restart the configuration process.
11025
11026_LT_EOF
11027      fi
11028      ;;
11029
11030    amigaos*)
11031      case $host_cpu in
11032      powerpc)
11033            # see comment about AmigaOS4 .so support
11034            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11035            archive_expsym_cmds=''
11036        ;;
11037      m68k)
11038            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)'
11039            hardcode_libdir_flag_spec='-L$libdir'
11040            hardcode_minus_L=yes
11041        ;;
11042      esac
11043      ;;
11044
11045    beos*)
11046      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11047	allow_undefined_flag=unsupported
11048	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11049	# support --undefined.  This deserves some investigation.  FIXME
11050	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11051      else
11052	ld_shlibs=no
11053      fi
11054      ;;
11055
11056    cygwin* | mingw* | pw32* | cegcc*)
11057      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11058      # as there is no search path for DLLs.
11059      hardcode_libdir_flag_spec='-L$libdir'
11060      export_dynamic_flag_spec='$wl--export-all-symbols'
11061      allow_undefined_flag=unsupported
11062      always_export_symbols=no
11063      enable_shared_with_static_runtimes=yes
11064      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'
11065      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11066
11067      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11068        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11069	# If the export-symbols file already is a .def file, use it as
11070	# is; otherwise, prepend EXPORTS...
11071	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11072          cp $export_symbols $output_objdir/$soname.def;
11073        else
11074          echo EXPORTS > $output_objdir/$soname.def;
11075          cat $export_symbols >> $output_objdir/$soname.def;
11076        fi~
11077        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11078      else
11079	ld_shlibs=no
11080      fi
11081      ;;
11082
11083    haiku*)
11084      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11085      link_all_deplibs=yes
11086      ;;
11087
11088    os2*)
11089      hardcode_libdir_flag_spec='-L$libdir'
11090      hardcode_minus_L=yes
11091      allow_undefined_flag=unsupported
11092      shrext_cmds=.dll
11093      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11094	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11095	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11096	$ECHO EXPORTS >> $output_objdir/$libname.def~
11097	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11098	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11099	emximp -o $lib $output_objdir/$libname.def'
11100      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11101	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11102	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11103	$ECHO EXPORTS >> $output_objdir/$libname.def~
11104	prefix_cmds="$SED"~
11105	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11106	  prefix_cmds="$prefix_cmds -e 1d";
11107	fi~
11108	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11109	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11110	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11111	emximp -o $lib $output_objdir/$libname.def'
11112      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11113      enable_shared_with_static_runtimes=yes
11114      ;;
11115
11116    interix[3-9]*)
11117      hardcode_direct=no
11118      hardcode_shlibpath_var=no
11119      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11120      export_dynamic_flag_spec='$wl-E'
11121      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11122      # Instead, shared libraries are loaded at an image base (0x10000000 by
11123      # default) and relocated if they conflict, which is a slow very memory
11124      # consuming and fragmenting process.  To avoid this, we pick a random,
11125      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11126      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11127      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11128      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'
11129      ;;
11130
11131    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11132      tmp_diet=no
11133      if test linux-dietlibc = "$host_os"; then
11134	case $cc_basename in
11135	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11136	esac
11137      fi
11138      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11139	 && test no = "$tmp_diet"
11140      then
11141	tmp_addflag=' $pic_flag'
11142	tmp_sharedflag='-shared'
11143	case $cc_basename,$host_cpu in
11144        pgcc*)				# Portland Group C compiler
11145	  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'
11146	  tmp_addflag=' $pic_flag'
11147	  ;;
11148	pgf77* | pgf90* | pgf95* | pgfortran*)
11149					# Portland Group f77 and f90 compilers
11150	  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'
11151	  tmp_addflag=' $pic_flag -Mnomain' ;;
11152	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11153	  tmp_addflag=' -i_dynamic' ;;
11154	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11155	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11156	ifc* | ifort*)			# Intel Fortran compiler
11157	  tmp_addflag=' -nofor_main' ;;
11158	lf95*)				# Lahey Fortran 8.1
11159	  whole_archive_flag_spec=
11160	  tmp_sharedflag='--shared' ;;
11161        nagfor*)                        # NAGFOR 5.3
11162          tmp_sharedflag='-Wl,-shared' ;;
11163	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11164	  tmp_sharedflag='-qmkshrobj'
11165	  tmp_addflag= ;;
11166	nvcc*)	# Cuda Compiler Driver 2.2
11167	  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'
11168	  compiler_needs_object=yes
11169	  ;;
11170	esac
11171	case `$CC -V 2>&1 | sed 5q` in
11172	*Sun\ C*)			# Sun C 5.9
11173	  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'
11174	  compiler_needs_object=yes
11175	  tmp_sharedflag='-G' ;;
11176	*Sun\ F*)			# Sun Fortran 8.3
11177	  tmp_sharedflag='-G' ;;
11178	esac
11179	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11180
11181        if test yes = "$supports_anon_versioning"; then
11182          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11183            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11184            echo "local: *; };" >> $output_objdir/$libname.ver~
11185            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11186        fi
11187
11188	case $cc_basename in
11189	tcc*)
11190	  export_dynamic_flag_spec='-rdynamic'
11191	  ;;
11192	xlf* | bgf* | bgxlf* | mpixlf*)
11193	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11194	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11195	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11196	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11197	  if test yes = "$supports_anon_versioning"; then
11198	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11199              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11200              echo "local: *; };" >> $output_objdir/$libname.ver~
11201              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11202	  fi
11203	  ;;
11204	esac
11205      else
11206        ld_shlibs=no
11207      fi
11208      ;;
11209
11210    netbsd* | netbsdelf*-gnu)
11211      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11212	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11213	wlarc=
11214      else
11215	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11216	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11217      fi
11218      ;;
11219
11220    solaris*)
11221      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11222	ld_shlibs=no
11223	cat <<_LT_EOF 1>&2
11224
11225*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11226*** create shared libraries on Solaris systems.  Therefore, libtool
11227*** is disabling shared libraries support.  We urge you to upgrade GNU
11228*** binutils to release 2.9.1 or newer.  Another option is to modify
11229*** your PATH or compiler configuration so that the native linker is
11230*** used, and then restart.
11231
11232_LT_EOF
11233      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11234	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11235	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11236      else
11237	ld_shlibs=no
11238      fi
11239      ;;
11240
11241    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11242      case `$LD -v 2>&1` in
11243        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11244	ld_shlibs=no
11245	cat <<_LT_EOF 1>&2
11246
11247*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11248*** reliably create shared libraries on SCO systems.  Therefore, libtool
11249*** is disabling shared libraries support.  We urge you to upgrade GNU
11250*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11251*** your PATH or compiler configuration so that the native linker is
11252*** used, and then restart.
11253
11254_LT_EOF
11255	;;
11256	*)
11257	  # For security reasons, it is highly recommended that you always
11258	  # use absolute paths for naming shared libraries, and exclude the
11259	  # DT_RUNPATH tag from executables and libraries.  But doing so
11260	  # requires that you compile everything twice, which is a pain.
11261	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11262	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11263	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11264	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11265	  else
11266	    ld_shlibs=no
11267	  fi
11268	;;
11269      esac
11270      ;;
11271
11272    sunos4*)
11273      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11274      wlarc=
11275      hardcode_direct=yes
11276      hardcode_shlibpath_var=no
11277      ;;
11278
11279    *)
11280      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11281	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11282	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11283      else
11284	ld_shlibs=no
11285      fi
11286      ;;
11287    esac
11288
11289    if test no = "$ld_shlibs"; then
11290      runpath_var=
11291      hardcode_libdir_flag_spec=
11292      export_dynamic_flag_spec=
11293      whole_archive_flag_spec=
11294    fi
11295  else
11296    # PORTME fill in a description of your system's linker (not GNU ld)
11297    case $host_os in
11298    aix3*)
11299      allow_undefined_flag=unsupported
11300      always_export_symbols=yes
11301      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'
11302      # Note: this linker hardcodes the directories in LIBPATH if there
11303      # are no directories specified by -L.
11304      hardcode_minus_L=yes
11305      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11306	# Neither direct hardcoding nor static linking is supported with a
11307	# broken collect2.
11308	hardcode_direct=unsupported
11309      fi
11310      ;;
11311
11312    aix[4-9]*)
11313      if test ia64 = "$host_cpu"; then
11314	# On IA64, the linker does run time linking by default, so we don't
11315	# have to do anything special.
11316	aix_use_runtimelinking=no
11317	exp_sym_flag='-Bexport'
11318	no_entry_flag=
11319      else
11320	# If we're using GNU nm, then we don't want the "-C" option.
11321	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11322	# Without the "-l" option, or with the "-B" option, AIX nm treats
11323	# weak defined symbols like other global defined symbols, whereas
11324	# GNU nm marks them as "W".
11325	# While the 'weak' keyword is ignored in the Export File, we need
11326	# it in the Import File for the 'aix-soname' feature, so we have
11327	# to replace the "-B" option with "-P" for AIX nm.
11328	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11329	  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'
11330	else
11331	  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'
11332	fi
11333	aix_use_runtimelinking=no
11334
11335	# Test if we are trying to use run time linking or normal
11336	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11337	# have runtime linking enabled, and use it for executables.
11338	# For shared libraries, we enable/disable runtime linking
11339	# depending on the kind of the shared library created -
11340	# when "with_aix_soname,aix_use_runtimelinking" is:
11341	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11342	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11343	#            lib.a           static archive
11344	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11345	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11346	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11347	#            lib.a(lib.so.V) shared, rtl:no
11348	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11349	#            lib.a           static archive
11350	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11351	  for ld_flag in $LDFLAGS; do
11352	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11353	    aix_use_runtimelinking=yes
11354	    break
11355	  fi
11356	  done
11357	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11358	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11359	    # so we don't have lib.a shared libs to link our executables.
11360	    # We have to force runtime linking in this case.
11361	    aix_use_runtimelinking=yes
11362	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11363	  fi
11364	  ;;
11365	esac
11366
11367	exp_sym_flag='-bexport'
11368	no_entry_flag='-bnoentry'
11369      fi
11370
11371      # When large executables or shared objects are built, AIX ld can
11372      # have problems creating the table of contents.  If linking a library
11373      # or program results in "error TOC overflow" add -mminimal-toc to
11374      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11375      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11376
11377      archive_cmds=''
11378      hardcode_direct=yes
11379      hardcode_direct_absolute=yes
11380      hardcode_libdir_separator=':'
11381      link_all_deplibs=yes
11382      file_list_spec='$wl-f,'
11383      case $with_aix_soname,$aix_use_runtimelinking in
11384      aix,*) ;; # traditional, no import file
11385      svr4,* | *,yes) # use import file
11386	# The Import File defines what to hardcode.
11387	hardcode_direct=no
11388	hardcode_direct_absolute=no
11389	;;
11390      esac
11391
11392      if test yes = "$GCC"; then
11393	case $host_os in aix4.[012]|aix4.[012].*)
11394	# We only want to do this on AIX 4.2 and lower, the check
11395	# below for broken collect2 doesn't work under 4.3+
11396	  collect2name=`$CC -print-prog-name=collect2`
11397	  if test -f "$collect2name" &&
11398	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11399	  then
11400	  # We have reworked collect2
11401	  :
11402	  else
11403	  # We have old collect2
11404	  hardcode_direct=unsupported
11405	  # It fails to find uninstalled libraries when the uninstalled
11406	  # path is not listed in the libpath.  Setting hardcode_minus_L
11407	  # to unsupported forces relinking
11408	  hardcode_minus_L=yes
11409	  hardcode_libdir_flag_spec='-L$libdir'
11410	  hardcode_libdir_separator=
11411	  fi
11412	  ;;
11413	esac
11414	shared_flag='-shared'
11415	if test yes = "$aix_use_runtimelinking"; then
11416	  shared_flag="$shared_flag "'$wl-G'
11417	fi
11418	# Need to ensure runtime linking is disabled for the traditional
11419	# shared library, or the linker may eventually find shared libraries
11420	# /with/ Import File - we do not want to mix them.
11421	shared_flag_aix='-shared'
11422	shared_flag_svr4='-shared $wl-G'
11423      else
11424	# not using gcc
11425	if test ia64 = "$host_cpu"; then
11426	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11427	# chokes on -Wl,-G. The following line is correct:
11428	  shared_flag='-G'
11429	else
11430	  if test yes = "$aix_use_runtimelinking"; then
11431	    shared_flag='$wl-G'
11432	  else
11433	    shared_flag='$wl-bM:SRE'
11434	  fi
11435	  shared_flag_aix='$wl-bM:SRE'
11436	  shared_flag_svr4='$wl-G'
11437	fi
11438      fi
11439
11440      export_dynamic_flag_spec='$wl-bexpall'
11441      # It seems that -bexpall does not export symbols beginning with
11442      # underscore (_), so it is better to generate a list of symbols to export.
11443      always_export_symbols=yes
11444      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11445	# Warning - without using the other runtime loading flags (-brtl),
11446	# -berok will link without error, but may produce a broken library.
11447	allow_undefined_flag='-berok'
11448        # Determine the default libpath from the value encoded in an
11449        # empty executable.
11450        if test set = "${lt_cv_aix_libpath+set}"; then
11451  aix_libpath=$lt_cv_aix_libpath
11452else
11453  if ${lt_cv_aix_libpath_+:} false; then :
11454  $as_echo_n "(cached) " >&6
11455else
11456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457/* end confdefs.h.  */
11458
11459int
11460main ()
11461{
11462
11463  ;
11464  return 0;
11465}
11466_ACEOF
11467if ac_fn_c_try_link "$LINENO"; then :
11468
11469  lt_aix_libpath_sed='
11470      /Import File Strings/,/^$/ {
11471	  /^0/ {
11472	      s/^0  *\([^ ]*\) *$/\1/
11473	      p
11474	  }
11475      }'
11476  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11477  # Check for a 64-bit object if we didn't find anything.
11478  if test -z "$lt_cv_aix_libpath_"; then
11479    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11480  fi
11481fi
11482rm -f core conftest.err conftest.$ac_objext \
11483    conftest$ac_exeext conftest.$ac_ext
11484  if test -z "$lt_cv_aix_libpath_"; then
11485    lt_cv_aix_libpath_=/usr/lib:/lib
11486  fi
11487
11488fi
11489
11490  aix_libpath=$lt_cv_aix_libpath_
11491fi
11492
11493        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11494        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
11495      else
11496	if test ia64 = "$host_cpu"; then
11497	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11498	  allow_undefined_flag="-z nodefs"
11499	  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"
11500	else
11501	 # Determine the default libpath from the value encoded in an
11502	 # empty executable.
11503	 if test set = "${lt_cv_aix_libpath+set}"; then
11504  aix_libpath=$lt_cv_aix_libpath
11505else
11506  if ${lt_cv_aix_libpath_+:} false; then :
11507  $as_echo_n "(cached) " >&6
11508else
11509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510/* end confdefs.h.  */
11511
11512int
11513main ()
11514{
11515
11516  ;
11517  return 0;
11518}
11519_ACEOF
11520if ac_fn_c_try_link "$LINENO"; then :
11521
11522  lt_aix_libpath_sed='
11523      /Import File Strings/,/^$/ {
11524	  /^0/ {
11525	      s/^0  *\([^ ]*\) *$/\1/
11526	      p
11527	  }
11528      }'
11529  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11530  # Check for a 64-bit object if we didn't find anything.
11531  if test -z "$lt_cv_aix_libpath_"; then
11532    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11533  fi
11534fi
11535rm -f core conftest.err conftest.$ac_objext \
11536    conftest$ac_exeext conftest.$ac_ext
11537  if test -z "$lt_cv_aix_libpath_"; then
11538    lt_cv_aix_libpath_=/usr/lib:/lib
11539  fi
11540
11541fi
11542
11543  aix_libpath=$lt_cv_aix_libpath_
11544fi
11545
11546	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11547	  # Warning - without using the other run time loading flags,
11548	  # -berok will link without error, but may produce a broken library.
11549	  no_undefined_flag=' $wl-bernotok'
11550	  allow_undefined_flag=' $wl-berok'
11551	  if test yes = "$with_gnu_ld"; then
11552	    # We only use this code for GNU lds that support --whole-archive.
11553	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11554	  else
11555	    # Exported symbols can be pulled into shared objects from archives
11556	    whole_archive_flag_spec='$convenience'
11557	  fi
11558	  archive_cmds_need_lc=yes
11559	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11560	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11561	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11562	  if test svr4 != "$with_aix_soname"; then
11563	    # This is similar to how AIX traditionally builds its shared libraries.
11564	    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'
11565	  fi
11566	  if test aix != "$with_aix_soname"; then
11567	    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'
11568	  else
11569	    # used by -dlpreopen to get the symbols
11570	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11571	  fi
11572	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11573	fi
11574      fi
11575      ;;
11576
11577    amigaos*)
11578      case $host_cpu in
11579      powerpc)
11580            # see comment about AmigaOS4 .so support
11581            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11582            archive_expsym_cmds=''
11583        ;;
11584      m68k)
11585            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)'
11586            hardcode_libdir_flag_spec='-L$libdir'
11587            hardcode_minus_L=yes
11588        ;;
11589      esac
11590      ;;
11591
11592    bsdi[45]*)
11593      export_dynamic_flag_spec=-rdynamic
11594      ;;
11595
11596    cygwin* | mingw* | pw32* | cegcc*)
11597      # When not using gcc, we currently assume that we are using
11598      # Microsoft Visual C++.
11599      # hardcode_libdir_flag_spec is actually meaningless, as there is
11600      # no search path for DLLs.
11601      case $cc_basename in
11602      cl*)
11603	# Native MSVC
11604	hardcode_libdir_flag_spec=' '
11605	allow_undefined_flag=unsupported
11606	always_export_symbols=yes
11607	file_list_spec='@'
11608	# Tell ltmain to make .lib files, not .a files.
11609	libext=lib
11610	# Tell ltmain to make .dll files, not .so files.
11611	shrext_cmds=.dll
11612	# FIXME: Setting linknames here is a bad hack.
11613	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11614	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11615            cp "$export_symbols" "$output_objdir/$soname.def";
11616            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11617          else
11618            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11619          fi~
11620          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11621          linknames='
11622	# The linker will not automatically build a static lib if we build a DLL.
11623	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11624	enable_shared_with_static_runtimes=yes
11625	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11626	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11627	# Don't use ranlib
11628	old_postinstall_cmds='chmod 644 $oldlib'
11629	postlink_cmds='lt_outputfile="@OUTPUT@"~
11630          lt_tool_outputfile="@TOOL_OUTPUT@"~
11631          case $lt_outputfile in
11632            *.exe|*.EXE) ;;
11633            *)
11634              lt_outputfile=$lt_outputfile.exe
11635              lt_tool_outputfile=$lt_tool_outputfile.exe
11636              ;;
11637          esac~
11638          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11639            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11640            $RM "$lt_outputfile.manifest";
11641          fi'
11642	;;
11643      *)
11644	# Assume MSVC wrapper
11645	hardcode_libdir_flag_spec=' '
11646	allow_undefined_flag=unsupported
11647	# Tell ltmain to make .lib files, not .a files.
11648	libext=lib
11649	# Tell ltmain to make .dll files, not .so files.
11650	shrext_cmds=.dll
11651	# FIXME: Setting linknames here is a bad hack.
11652	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11653	# The linker will automatically build a .lib file if we build a DLL.
11654	old_archive_from_new_cmds='true'
11655	# FIXME: Should let the user specify the lib program.
11656	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11657	enable_shared_with_static_runtimes=yes
11658	;;
11659      esac
11660      ;;
11661
11662    darwin* | rhapsody*)
11663
11664
11665  archive_cmds_need_lc=no
11666  hardcode_direct=no
11667  hardcode_automatic=yes
11668  hardcode_shlibpath_var=unsupported
11669  if test yes = "$lt_cv_ld_force_load"; then
11670    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\"`'
11671
11672  else
11673    whole_archive_flag_spec=''
11674  fi
11675  link_all_deplibs=yes
11676  allow_undefined_flag=$_lt_dar_allow_undefined
11677  case $cc_basename in
11678     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11679     *) _lt_dar_can_shared=$GCC ;;
11680  esac
11681  if test yes = "$_lt_dar_can_shared"; then
11682    output_verbose_link_cmd=func_echo_all
11683    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11684    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11685    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"
11686    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"
11687
11688  else
11689  ld_shlibs=no
11690  fi
11691
11692      ;;
11693
11694    dgux*)
11695      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11696      hardcode_libdir_flag_spec='-L$libdir'
11697      hardcode_shlibpath_var=no
11698      ;;
11699
11700    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11701    # support.  Future versions do this automatically, but an explicit c++rt0.o
11702    # does not break anything, and helps significantly (at the cost of a little
11703    # extra space).
11704    freebsd2.2*)
11705      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11706      hardcode_libdir_flag_spec='-R$libdir'
11707      hardcode_direct=yes
11708      hardcode_shlibpath_var=no
11709      ;;
11710
11711    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11712    freebsd2.*)
11713      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11714      hardcode_direct=yes
11715      hardcode_minus_L=yes
11716      hardcode_shlibpath_var=no
11717      ;;
11718
11719    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11720    freebsd* | dragonfly*)
11721      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11722      hardcode_libdir_flag_spec='-R$libdir'
11723      hardcode_direct=yes
11724      hardcode_shlibpath_var=no
11725      ;;
11726
11727    hpux9*)
11728      if test yes = "$GCC"; then
11729	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'
11730      else
11731	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'
11732      fi
11733      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11734      hardcode_libdir_separator=:
11735      hardcode_direct=yes
11736
11737      # hardcode_minus_L: Not really in the search PATH,
11738      # but as the default location of the library.
11739      hardcode_minus_L=yes
11740      export_dynamic_flag_spec='$wl-E'
11741      ;;
11742
11743    hpux10*)
11744      if test yes,no = "$GCC,$with_gnu_ld"; then
11745	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11746      else
11747	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11748      fi
11749      if test no = "$with_gnu_ld"; then
11750	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11751	hardcode_libdir_separator=:
11752	hardcode_direct=yes
11753	hardcode_direct_absolute=yes
11754	export_dynamic_flag_spec='$wl-E'
11755	# hardcode_minus_L: Not really in the search PATH,
11756	# but as the default location of the library.
11757	hardcode_minus_L=yes
11758      fi
11759      ;;
11760
11761    hpux11*)
11762      if test yes,no = "$GCC,$with_gnu_ld"; then
11763	case $host_cpu in
11764	hppa*64*)
11765	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11766	  ;;
11767	ia64*)
11768	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11769	  ;;
11770	*)
11771	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11772	  ;;
11773	esac
11774      else
11775	case $host_cpu in
11776	hppa*64*)
11777	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11778	  ;;
11779	ia64*)
11780	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11781	  ;;
11782	*)
11783
11784	  # Older versions of the 11.00 compiler do not understand -b yet
11785	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11786	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11787$as_echo_n "checking if $CC understands -b... " >&6; }
11788if ${lt_cv_prog_compiler__b+:} false; then :
11789  $as_echo_n "(cached) " >&6
11790else
11791  lt_cv_prog_compiler__b=no
11792   save_LDFLAGS=$LDFLAGS
11793   LDFLAGS="$LDFLAGS -b"
11794   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11795   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11796     # The linker can only warn and ignore the option if not recognized
11797     # So say no if there are warnings
11798     if test -s conftest.err; then
11799       # Append any errors to the config.log.
11800       cat conftest.err 1>&5
11801       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11802       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11803       if diff conftest.exp conftest.er2 >/dev/null; then
11804         lt_cv_prog_compiler__b=yes
11805       fi
11806     else
11807       lt_cv_prog_compiler__b=yes
11808     fi
11809   fi
11810   $RM -r conftest*
11811   LDFLAGS=$save_LDFLAGS
11812
11813fi
11814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11815$as_echo "$lt_cv_prog_compiler__b" >&6; }
11816
11817if test yes = "$lt_cv_prog_compiler__b"; then
11818    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11819else
11820    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11821fi
11822
11823	  ;;
11824	esac
11825      fi
11826      if test no = "$with_gnu_ld"; then
11827	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11828	hardcode_libdir_separator=:
11829
11830	case $host_cpu in
11831	hppa*64*|ia64*)
11832	  hardcode_direct=no
11833	  hardcode_shlibpath_var=no
11834	  ;;
11835	*)
11836	  hardcode_direct=yes
11837	  hardcode_direct_absolute=yes
11838	  export_dynamic_flag_spec='$wl-E'
11839
11840	  # hardcode_minus_L: Not really in the search PATH,
11841	  # but as the default location of the library.
11842	  hardcode_minus_L=yes
11843	  ;;
11844	esac
11845      fi
11846      ;;
11847
11848    irix5* | irix6* | nonstopux*)
11849      if test yes = "$GCC"; then
11850	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'
11851	# Try to use the -exported_symbol ld option, if it does not
11852	# work, assume that -exports_file does not work either and
11853	# implicitly export all symbols.
11854	# This should be the same for all languages, so no per-tag cache variable.
11855	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11856$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11857if ${lt_cv_irix_exported_symbol+:} false; then :
11858  $as_echo_n "(cached) " >&6
11859else
11860  save_LDFLAGS=$LDFLAGS
11861	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11862	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863/* end confdefs.h.  */
11864int foo (void) { return 0; }
11865_ACEOF
11866if ac_fn_c_try_link "$LINENO"; then :
11867  lt_cv_irix_exported_symbol=yes
11868else
11869  lt_cv_irix_exported_symbol=no
11870fi
11871rm -f core conftest.err conftest.$ac_objext \
11872    conftest$ac_exeext conftest.$ac_ext
11873           LDFLAGS=$save_LDFLAGS
11874fi
11875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11876$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11877	if test yes = "$lt_cv_irix_exported_symbol"; then
11878          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'
11879	fi
11880	link_all_deplibs=no
11881      else
11882	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'
11883	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'
11884      fi
11885      archive_cmds_need_lc='no'
11886      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11887      hardcode_libdir_separator=:
11888      inherit_rpath=yes
11889      link_all_deplibs=yes
11890      ;;
11891
11892    linux*)
11893      case $cc_basename in
11894      tcc*)
11895	# Fabrice Bellard et al's Tiny C Compiler
11896	ld_shlibs=yes
11897	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11898	;;
11899      esac
11900      ;;
11901
11902    netbsd* | netbsdelf*-gnu)
11903      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11904	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11905      else
11906	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11907      fi
11908      hardcode_libdir_flag_spec='-R$libdir'
11909      hardcode_direct=yes
11910      hardcode_shlibpath_var=no
11911      ;;
11912
11913    newsos6)
11914      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11915      hardcode_direct=yes
11916      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11917      hardcode_libdir_separator=:
11918      hardcode_shlibpath_var=no
11919      ;;
11920
11921    *nto* | *qnx*)
11922      ;;
11923
11924    openbsd* | bitrig*)
11925      if test -f /usr/libexec/ld.so; then
11926	hardcode_direct=yes
11927	hardcode_shlibpath_var=no
11928	hardcode_direct_absolute=yes
11929	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11930	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11931	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11932	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11933	  export_dynamic_flag_spec='$wl-E'
11934	else
11935	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11936	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11937	fi
11938      else
11939	ld_shlibs=no
11940      fi
11941      ;;
11942
11943    os2*)
11944      hardcode_libdir_flag_spec='-L$libdir'
11945      hardcode_minus_L=yes
11946      allow_undefined_flag=unsupported
11947      shrext_cmds=.dll
11948      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11949	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11950	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11951	$ECHO EXPORTS >> $output_objdir/$libname.def~
11952	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11953	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11954	emximp -o $lib $output_objdir/$libname.def'
11955      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11956	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11957	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11958	$ECHO EXPORTS >> $output_objdir/$libname.def~
11959	prefix_cmds="$SED"~
11960	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11961	  prefix_cmds="$prefix_cmds -e 1d";
11962	fi~
11963	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11964	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11965	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11966	emximp -o $lib $output_objdir/$libname.def'
11967      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11968      enable_shared_with_static_runtimes=yes
11969      ;;
11970
11971    osf3*)
11972      if test yes = "$GCC"; then
11973	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11974	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'
11975      else
11976	allow_undefined_flag=' -expect_unresolved \*'
11977	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'
11978      fi
11979      archive_cmds_need_lc='no'
11980      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11981      hardcode_libdir_separator=:
11982      ;;
11983
11984    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11985      if test yes = "$GCC"; then
11986	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11987	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'
11988	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11989      else
11990	allow_undefined_flag=' -expect_unresolved \*'
11991	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'
11992	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~
11993          $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'
11994
11995	# Both c and cxx compiler support -rpath directly
11996	hardcode_libdir_flag_spec='-rpath $libdir'
11997      fi
11998      archive_cmds_need_lc='no'
11999      hardcode_libdir_separator=:
12000      ;;
12001
12002    solaris*)
12003      no_undefined_flag=' -z defs'
12004      if test yes = "$GCC"; then
12005	wlarc='$wl'
12006	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12007	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12008          $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'
12009      else
12010	case `$CC -V 2>&1` in
12011	*"Compilers 5.0"*)
12012	  wlarc=''
12013	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12014	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12015            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12016	  ;;
12017	*)
12018	  wlarc='$wl'
12019	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12020	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12021            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12022	  ;;
12023	esac
12024      fi
12025      hardcode_libdir_flag_spec='-R$libdir'
12026      hardcode_shlibpath_var=no
12027      case $host_os in
12028      solaris2.[0-5] | solaris2.[0-5].*) ;;
12029      *)
12030	# The compiler driver will combine and reorder linker options,
12031	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12032	# but is careful enough not to reorder.
12033	# Supported since Solaris 2.6 (maybe 2.5.1?)
12034	if test yes = "$GCC"; then
12035	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12036	else
12037	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12038	fi
12039	;;
12040      esac
12041      link_all_deplibs=yes
12042      ;;
12043
12044    sunos4*)
12045      if test sequent = "$host_vendor"; then
12046	# Use $CC to link under sequent, because it throws in some extra .o
12047	# files that make .init and .fini sections work.
12048	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12049      else
12050	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12051      fi
12052      hardcode_libdir_flag_spec='-L$libdir'
12053      hardcode_direct=yes
12054      hardcode_minus_L=yes
12055      hardcode_shlibpath_var=no
12056      ;;
12057
12058    sysv4)
12059      case $host_vendor in
12060	sni)
12061	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12062	  hardcode_direct=yes # is this really true???
12063	;;
12064	siemens)
12065	  ## LD is ld it makes a PLAMLIB
12066	  ## CC just makes a GrossModule.
12067	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12068	  reload_cmds='$CC -r -o $output$reload_objs'
12069	  hardcode_direct=no
12070        ;;
12071	motorola)
12072	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12073	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12074	;;
12075      esac
12076      runpath_var='LD_RUN_PATH'
12077      hardcode_shlibpath_var=no
12078      ;;
12079
12080    sysv4.3*)
12081      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12082      hardcode_shlibpath_var=no
12083      export_dynamic_flag_spec='-Bexport'
12084      ;;
12085
12086    sysv4*MP*)
12087      if test -d /usr/nec; then
12088	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12089	hardcode_shlibpath_var=no
12090	runpath_var=LD_RUN_PATH
12091	hardcode_runpath_var=yes
12092	ld_shlibs=yes
12093      fi
12094      ;;
12095
12096    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12097      no_undefined_flag='$wl-z,text'
12098      archive_cmds_need_lc=no
12099      hardcode_shlibpath_var=no
12100      runpath_var='LD_RUN_PATH'
12101
12102      if test yes = "$GCC"; then
12103	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12105      else
12106	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12107	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12108      fi
12109      ;;
12110
12111    sysv5* | sco3.2v5* | sco5v6*)
12112      # Note: We CANNOT use -z defs as we might desire, because we do not
12113      # link with -lc, and that would cause any symbols used from libc to
12114      # always be unresolved, which means just about no library would
12115      # ever link correctly.  If we're not using GNU ld we use -z text
12116      # though, which does catch some bad symbols but isn't as heavy-handed
12117      # as -z defs.
12118      no_undefined_flag='$wl-z,text'
12119      allow_undefined_flag='$wl-z,nodefs'
12120      archive_cmds_need_lc=no
12121      hardcode_shlibpath_var=no
12122      hardcode_libdir_flag_spec='$wl-R,$libdir'
12123      hardcode_libdir_separator=':'
12124      link_all_deplibs=yes
12125      export_dynamic_flag_spec='$wl-Bexport'
12126      runpath_var='LD_RUN_PATH'
12127
12128      if test yes = "$GCC"; then
12129	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12130	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12131      else
12132	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12133	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12134      fi
12135      ;;
12136
12137    uts4*)
12138      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12139      hardcode_libdir_flag_spec='-L$libdir'
12140      hardcode_shlibpath_var=no
12141      ;;
12142
12143    *)
12144      ld_shlibs=no
12145      ;;
12146    esac
12147
12148    if test sni = "$host_vendor"; then
12149      case $host in
12150      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12151	export_dynamic_flag_spec='$wl-Blargedynsym'
12152	;;
12153      esac
12154    fi
12155  fi
12156
12157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12158$as_echo "$ld_shlibs" >&6; }
12159test no = "$ld_shlibs" && can_build_shared=no
12160
12161with_gnu_ld=$with_gnu_ld
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177#
12178# Do we need to explicitly link libc?
12179#
12180case "x$archive_cmds_need_lc" in
12181x|xyes)
12182  # Assume -lc should be added
12183  archive_cmds_need_lc=yes
12184
12185  if test yes,yes = "$GCC,$enable_shared"; then
12186    case $archive_cmds in
12187    *'~'*)
12188      # FIXME: we may have to deal with multi-command sequences.
12189      ;;
12190    '$CC '*)
12191      # Test whether the compiler implicitly links with -lc since on some
12192      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12193      # to ld, don't add -lc before -lgcc.
12194      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12195$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12196if ${lt_cv_archive_cmds_need_lc+:} false; then :
12197  $as_echo_n "(cached) " >&6
12198else
12199  $RM conftest*
12200	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12201
12202	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12203  (eval $ac_compile) 2>&5
12204  ac_status=$?
12205  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12206  test $ac_status = 0; } 2>conftest.err; then
12207	  soname=conftest
12208	  lib=conftest
12209	  libobjs=conftest.$ac_objext
12210	  deplibs=
12211	  wl=$lt_prog_compiler_wl
12212	  pic_flag=$lt_prog_compiler_pic
12213	  compiler_flags=-v
12214	  linker_flags=-v
12215	  verstring=
12216	  output_objdir=.
12217	  libname=conftest
12218	  lt_save_allow_undefined_flag=$allow_undefined_flag
12219	  allow_undefined_flag=
12220	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12221  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12222  ac_status=$?
12223  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12224  test $ac_status = 0; }
12225	  then
12226	    lt_cv_archive_cmds_need_lc=no
12227	  else
12228	    lt_cv_archive_cmds_need_lc=yes
12229	  fi
12230	  allow_undefined_flag=$lt_save_allow_undefined_flag
12231	else
12232	  cat conftest.err 1>&5
12233	fi
12234	$RM conftest*
12235
12236fi
12237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12238$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12239      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12240      ;;
12241    esac
12242  fi
12243  ;;
12244esac
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12398$as_echo_n "checking dynamic linker characteristics... " >&6; }
12399
12400if test yes = "$GCC"; then
12401  case $host_os in
12402    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12403    *) lt_awk_arg='/^libraries:/' ;;
12404  esac
12405  case $host_os in
12406    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12407    *) lt_sed_strip_eq='s|=/|/|g' ;;
12408  esac
12409  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12410  case $lt_search_path_spec in
12411  *\;*)
12412    # if the path contains ";" then we assume it to be the separator
12413    # otherwise default to the standard path separator (i.e. ":") - it is
12414    # assumed that no part of a normal pathname contains ";" but that should
12415    # okay in the real world where ";" in dirpaths is itself problematic.
12416    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12417    ;;
12418  *)
12419    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12420    ;;
12421  esac
12422  # Ok, now we have the path, separated by spaces, we can step through it
12423  # and add multilib dir if necessary...
12424  lt_tmp_lt_search_path_spec=
12425  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12426  # ...but if some path component already ends with the multilib dir we assume
12427  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12428  case "$lt_multi_os_dir; $lt_search_path_spec " in
12429  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12430    lt_multi_os_dir=
12431    ;;
12432  esac
12433  for lt_sys_path in $lt_search_path_spec; do
12434    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12435      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12436    elif test -n "$lt_multi_os_dir"; then
12437      test -d "$lt_sys_path" && \
12438	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12439    fi
12440  done
12441  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12442BEGIN {RS = " "; FS = "/|\n";} {
12443  lt_foo = "";
12444  lt_count = 0;
12445  for (lt_i = NF; lt_i > 0; lt_i--) {
12446    if ($lt_i != "" && $lt_i != ".") {
12447      if ($lt_i == "..") {
12448        lt_count++;
12449      } else {
12450        if (lt_count == 0) {
12451          lt_foo = "/" $lt_i lt_foo;
12452        } else {
12453          lt_count--;
12454        }
12455      }
12456    }
12457  }
12458  if (lt_foo != "") { lt_freq[lt_foo]++; }
12459  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12460}'`
12461  # AWK program above erroneously prepends '/' to C:/dos/paths
12462  # for these hosts.
12463  case $host_os in
12464    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12465      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12466  esac
12467  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12468else
12469  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12470fi
12471library_names_spec=
12472libname_spec='lib$name'
12473soname_spec=
12474shrext_cmds=.so
12475postinstall_cmds=
12476postuninstall_cmds=
12477finish_cmds=
12478finish_eval=
12479shlibpath_var=
12480shlibpath_overrides_runpath=unknown
12481version_type=none
12482dynamic_linker="$host_os ld.so"
12483sys_lib_dlsearch_path_spec="/lib /usr/lib"
12484need_lib_prefix=unknown
12485hardcode_into_libs=no
12486
12487# when you set need_version to no, make sure it does not cause -set_version
12488# flags to be left without arguments
12489need_version=unknown
12490
12491
12492
12493case $host_os in
12494aix3*)
12495  version_type=linux # correct to gnu/linux during the next big refactor
12496  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12497  shlibpath_var=LIBPATH
12498
12499  # AIX 3 has no versioning support, so we append a major version to the name.
12500  soname_spec='$libname$release$shared_ext$major'
12501  ;;
12502
12503aix[4-9]*)
12504  version_type=linux # correct to gnu/linux during the next big refactor
12505  need_lib_prefix=no
12506  need_version=no
12507  hardcode_into_libs=yes
12508  if test ia64 = "$host_cpu"; then
12509    # AIX 5 supports IA64
12510    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12511    shlibpath_var=LD_LIBRARY_PATH
12512  else
12513    # With GCC up to 2.95.x, collect2 would create an import file
12514    # for dependence libraries.  The import file would start with
12515    # the line '#! .'.  This would cause the generated library to
12516    # depend on '.', always an invalid library.  This was fixed in
12517    # development snapshots of GCC prior to 3.0.
12518    case $host_os in
12519      aix4 | aix4.[01] | aix4.[01].*)
12520      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12521	   echo ' yes '
12522	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12523	:
12524      else
12525	can_build_shared=no
12526      fi
12527      ;;
12528    esac
12529    # Using Import Files as archive members, it is possible to support
12530    # filename-based versioning of shared library archives on AIX. While
12531    # this would work for both with and without runtime linking, it will
12532    # prevent static linking of such archives. So we do filename-based
12533    # shared library versioning with .so extension only, which is used
12534    # when both runtime linking and shared linking is enabled.
12535    # Unfortunately, runtime linking may impact performance, so we do
12536    # not want this to be the default eventually. Also, we use the
12537    # versioned .so libs for executables only if there is the -brtl
12538    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12539    # To allow for filename-based versioning support, we need to create
12540    # libNAME.so.V as an archive file, containing:
12541    # *) an Import File, referring to the versioned filename of the
12542    #    archive as well as the shared archive member, telling the
12543    #    bitwidth (32 or 64) of that shared object, and providing the
12544    #    list of exported symbols of that shared object, eventually
12545    #    decorated with the 'weak' keyword
12546    # *) the shared object with the F_LOADONLY flag set, to really avoid
12547    #    it being seen by the linker.
12548    # At run time we better use the real file rather than another symlink,
12549    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12550
12551    case $with_aix_soname,$aix_use_runtimelinking in
12552    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12553    # soname into executable. Probably we can add versioning support to
12554    # collect2, so additional links can be useful in future.
12555    aix,yes) # traditional libtool
12556      dynamic_linker='AIX unversionable lib.so'
12557      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12558      # instead of lib<name>.a to let people know that these are not
12559      # typical AIX shared libraries.
12560      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12561      ;;
12562    aix,no) # traditional AIX only
12563      dynamic_linker='AIX lib.a(lib.so.V)'
12564      # We preserve .a as extension for shared libraries through AIX4.2
12565      # and later when we are not doing run time linking.
12566      library_names_spec='$libname$release.a $libname.a'
12567      soname_spec='$libname$release$shared_ext$major'
12568      ;;
12569    svr4,*) # full svr4 only
12570      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12571      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12572      # We do not specify a path in Import Files, so LIBPATH fires.
12573      shlibpath_overrides_runpath=yes
12574      ;;
12575    *,yes) # both, prefer svr4
12576      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12577      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12578      # unpreferred sharedlib libNAME.a needs extra handling
12579      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"'
12580      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"'
12581      # We do not specify a path in Import Files, so LIBPATH fires.
12582      shlibpath_overrides_runpath=yes
12583      ;;
12584    *,no) # both, prefer aix
12585      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12586      library_names_spec='$libname$release.a $libname.a'
12587      soname_spec='$libname$release$shared_ext$major'
12588      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12589      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)'
12590      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"'
12591      ;;
12592    esac
12593    shlibpath_var=LIBPATH
12594  fi
12595  ;;
12596
12597amigaos*)
12598  case $host_cpu in
12599  powerpc)
12600    # Since July 2007 AmigaOS4 officially supports .so libraries.
12601    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12602    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12603    ;;
12604  m68k)
12605    library_names_spec='$libname.ixlibrary $libname.a'
12606    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12607    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'
12608    ;;
12609  esac
12610  ;;
12611
12612beos*)
12613  library_names_spec='$libname$shared_ext'
12614  dynamic_linker="$host_os ld.so"
12615  shlibpath_var=LIBRARY_PATH
12616  ;;
12617
12618bsdi[45]*)
12619  version_type=linux # correct to gnu/linux during the next big refactor
12620  need_version=no
12621  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12622  soname_spec='$libname$release$shared_ext$major'
12623  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12624  shlibpath_var=LD_LIBRARY_PATH
12625  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12626  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12627  # the default ld.so.conf also contains /usr/contrib/lib and
12628  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12629  # libtool to hard-code these into programs
12630  ;;
12631
12632cygwin* | mingw* | pw32* | cegcc*)
12633  version_type=windows
12634  shrext_cmds=.dll
12635  need_version=no
12636  need_lib_prefix=no
12637
12638  case $GCC,$cc_basename in
12639  yes,*)
12640    # gcc
12641    library_names_spec='$libname.dll.a'
12642    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12643    postinstall_cmds='base_file=`basename \$file`~
12644      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12645      dldir=$destdir/`dirname \$dlpath`~
12646      test -d \$dldir || mkdir -p \$dldir~
12647      $install_prog $dir/$dlname \$dldir/$dlname~
12648      chmod a+x \$dldir/$dlname~
12649      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12650        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12651      fi'
12652    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12653      dlpath=$dir/\$dldll~
12654       $RM \$dlpath'
12655    shlibpath_overrides_runpath=yes
12656
12657    case $host_os in
12658    cygwin*)
12659      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12660      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12661
12662      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12663      ;;
12664    mingw* | cegcc*)
12665      # MinGW DLLs use traditional 'lib' prefix
12666      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12667      ;;
12668    pw32*)
12669      # pw32 DLLs use 'pw' prefix rather than 'lib'
12670      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12671      ;;
12672    esac
12673    dynamic_linker='Win32 ld.exe'
12674    ;;
12675
12676  *,cl*)
12677    # Native MSVC
12678    libname_spec='$name'
12679    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12680    library_names_spec='$libname.dll.lib'
12681
12682    case $build_os in
12683    mingw*)
12684      sys_lib_search_path_spec=
12685      lt_save_ifs=$IFS
12686      IFS=';'
12687      for lt_path in $LIB
12688      do
12689        IFS=$lt_save_ifs
12690        # Let DOS variable expansion print the short 8.3 style file name.
12691        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12692        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12693      done
12694      IFS=$lt_save_ifs
12695      # Convert to MSYS style.
12696      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12697      ;;
12698    cygwin*)
12699      # Convert to unix form, then to dos form, then back to unix form
12700      # but this time dos style (no spaces!) so that the unix form looks
12701      # like /cygdrive/c/PROGRA~1:/cygdr...
12702      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12703      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12704      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12705      ;;
12706    *)
12707      sys_lib_search_path_spec=$LIB
12708      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12709        # It is most probably a Windows format PATH.
12710        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12711      else
12712        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12713      fi
12714      # FIXME: find the short name or the path components, as spaces are
12715      # common. (e.g. "Program Files" -> "PROGRA~1")
12716      ;;
12717    esac
12718
12719    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12720    postinstall_cmds='base_file=`basename \$file`~
12721      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12722      dldir=$destdir/`dirname \$dlpath`~
12723      test -d \$dldir || mkdir -p \$dldir~
12724      $install_prog $dir/$dlname \$dldir/$dlname'
12725    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12726      dlpath=$dir/\$dldll~
12727       $RM \$dlpath'
12728    shlibpath_overrides_runpath=yes
12729    dynamic_linker='Win32 link.exe'
12730    ;;
12731
12732  *)
12733    # Assume MSVC wrapper
12734    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12735    dynamic_linker='Win32 ld.exe'
12736    ;;
12737  esac
12738  # FIXME: first we should search . and the directory the executable is in
12739  shlibpath_var=PATH
12740  ;;
12741
12742darwin* | rhapsody*)
12743  dynamic_linker="$host_os dyld"
12744  version_type=darwin
12745  need_lib_prefix=no
12746  need_version=no
12747  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12748  soname_spec='$libname$release$major$shared_ext'
12749  shlibpath_overrides_runpath=yes
12750  shlibpath_var=DYLD_LIBRARY_PATH
12751  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12752
12753  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12754  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12755  ;;
12756
12757dgux*)
12758  version_type=linux # correct to gnu/linux during the next big refactor
12759  need_lib_prefix=no
12760  need_version=no
12761  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12762  soname_spec='$libname$release$shared_ext$major'
12763  shlibpath_var=LD_LIBRARY_PATH
12764  ;;
12765
12766freebsd* | dragonfly*)
12767  # DragonFly does not have aout.  When/if they implement a new
12768  # versioning mechanism, adjust this.
12769  if test -x /usr/bin/objformat; then
12770    objformat=`/usr/bin/objformat`
12771  else
12772    case $host_os in
12773    freebsd[23].*) objformat=aout ;;
12774    *) objformat=elf ;;
12775    esac
12776  fi
12777  version_type=freebsd-$objformat
12778  case $version_type in
12779    freebsd-elf*)
12780      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12781      soname_spec='$libname$release$shared_ext$major'
12782      need_version=no
12783      need_lib_prefix=no
12784      ;;
12785    freebsd-*)
12786      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12787      need_version=yes
12788      ;;
12789  esac
12790  shlibpath_var=LD_LIBRARY_PATH
12791  case $host_os in
12792  freebsd2.*)
12793    shlibpath_overrides_runpath=yes
12794    ;;
12795  freebsd3.[01]* | freebsdelf3.[01]*)
12796    shlibpath_overrides_runpath=yes
12797    hardcode_into_libs=yes
12798    ;;
12799  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12800  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12801    shlibpath_overrides_runpath=no
12802    hardcode_into_libs=yes
12803    ;;
12804  *) # from 4.6 on, and DragonFly
12805    shlibpath_overrides_runpath=yes
12806    hardcode_into_libs=yes
12807    ;;
12808  esac
12809  ;;
12810
12811haiku*)
12812  version_type=linux # correct to gnu/linux during the next big refactor
12813  need_lib_prefix=no
12814  need_version=no
12815  dynamic_linker="$host_os runtime_loader"
12816  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12817  soname_spec='$libname$release$shared_ext$major'
12818  shlibpath_var=LIBRARY_PATH
12819  shlibpath_overrides_runpath=no
12820  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12821  hardcode_into_libs=yes
12822  ;;
12823
12824hpux9* | hpux10* | hpux11*)
12825  # Give a soname corresponding to the major version so that dld.sl refuses to
12826  # link against other versions.
12827  version_type=sunos
12828  need_lib_prefix=no
12829  need_version=no
12830  case $host_cpu in
12831  ia64*)
12832    shrext_cmds='.so'
12833    hardcode_into_libs=yes
12834    dynamic_linker="$host_os dld.so"
12835    shlibpath_var=LD_LIBRARY_PATH
12836    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12837    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12838    soname_spec='$libname$release$shared_ext$major'
12839    if test 32 = "$HPUX_IA64_MODE"; then
12840      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12841      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12842    else
12843      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12844      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12845    fi
12846    ;;
12847  hppa*64*)
12848    shrext_cmds='.sl'
12849    hardcode_into_libs=yes
12850    dynamic_linker="$host_os dld.sl"
12851    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12852    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12853    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12854    soname_spec='$libname$release$shared_ext$major'
12855    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12856    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12857    ;;
12858  *)
12859    shrext_cmds='.sl'
12860    dynamic_linker="$host_os dld.sl"
12861    shlibpath_var=SHLIB_PATH
12862    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12863    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12864    soname_spec='$libname$release$shared_ext$major'
12865    ;;
12866  esac
12867  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12868  postinstall_cmds='chmod 555 $lib'
12869  # or fails outright, so override atomically:
12870  install_override_mode=555
12871  ;;
12872
12873interix[3-9]*)
12874  version_type=linux # correct to gnu/linux during the next big refactor
12875  need_lib_prefix=no
12876  need_version=no
12877  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12878  soname_spec='$libname$release$shared_ext$major'
12879  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12880  shlibpath_var=LD_LIBRARY_PATH
12881  shlibpath_overrides_runpath=no
12882  hardcode_into_libs=yes
12883  ;;
12884
12885irix5* | irix6* | nonstopux*)
12886  case $host_os in
12887    nonstopux*) version_type=nonstopux ;;
12888    *)
12889	if test yes = "$lt_cv_prog_gnu_ld"; then
12890		version_type=linux # correct to gnu/linux during the next big refactor
12891	else
12892		version_type=irix
12893	fi ;;
12894  esac
12895  need_lib_prefix=no
12896  need_version=no
12897  soname_spec='$libname$release$shared_ext$major'
12898  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12899  case $host_os in
12900  irix5* | nonstopux*)
12901    libsuff= shlibsuff=
12902    ;;
12903  *)
12904    case $LD in # libtool.m4 will add one of these switches to LD
12905    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12906      libsuff= shlibsuff= libmagic=32-bit;;
12907    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12908      libsuff=32 shlibsuff=N32 libmagic=N32;;
12909    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12910      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12911    *) libsuff= shlibsuff= libmagic=never-match;;
12912    esac
12913    ;;
12914  esac
12915  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12916  shlibpath_overrides_runpath=no
12917  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12918  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12919  hardcode_into_libs=yes
12920  ;;
12921
12922# No shared lib support for Linux oldld, aout, or coff.
12923linux*oldld* | linux*aout* | linux*coff*)
12924  dynamic_linker=no
12925  ;;
12926
12927linux*android*)
12928  version_type=none # Android doesn't support versioned libraries.
12929  need_lib_prefix=no
12930  need_version=no
12931  library_names_spec='$libname$release$shared_ext'
12932  soname_spec='$libname$release$shared_ext'
12933  finish_cmds=
12934  shlibpath_var=LD_LIBRARY_PATH
12935  shlibpath_overrides_runpath=yes
12936
12937  # This implies no fast_install, which is unacceptable.
12938  # Some rework will be needed to allow for fast_install
12939  # before this can be enabled.
12940  hardcode_into_libs=yes
12941
12942  dynamic_linker='Android linker'
12943  # Don't embed -rpath directories since the linker doesn't support them.
12944  hardcode_libdir_flag_spec='-L$libdir'
12945  ;;
12946
12947# This must be glibc/ELF.
12948linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12949  version_type=linux # correct to gnu/linux during the next big refactor
12950  need_lib_prefix=no
12951  need_version=no
12952  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12953  soname_spec='$libname$release$shared_ext$major'
12954  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12955  shlibpath_var=LD_LIBRARY_PATH
12956  shlibpath_overrides_runpath=no
12957
12958  # Some binutils ld are patched to set DT_RUNPATH
12959  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12960  $as_echo_n "(cached) " >&6
12961else
12962  lt_cv_shlibpath_overrides_runpath=no
12963    save_LDFLAGS=$LDFLAGS
12964    save_libdir=$libdir
12965    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12966	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12967    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968/* end confdefs.h.  */
12969
12970int
12971main ()
12972{
12973
12974  ;
12975  return 0;
12976}
12977_ACEOF
12978if ac_fn_c_try_link "$LINENO"; then :
12979  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12980  lt_cv_shlibpath_overrides_runpath=yes
12981fi
12982fi
12983rm -f core conftest.err conftest.$ac_objext \
12984    conftest$ac_exeext conftest.$ac_ext
12985    LDFLAGS=$save_LDFLAGS
12986    libdir=$save_libdir
12987
12988fi
12989
12990  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12991
12992  # This implies no fast_install, which is unacceptable.
12993  # Some rework will be needed to allow for fast_install
12994  # before this can be enabled.
12995  hardcode_into_libs=yes
12996
12997  # Ideally, we could use ldconfig to report *all* directores which are
12998  # searched for libraries, however this is still not possible.  Aside from not
12999  # being certain /sbin/ldconfig is available, command
13000  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13001  # even though it is searched at run-time.  Try to do the best guess by
13002  # appending ld.so.conf contents (and includes) to the search path.
13003  if test -f /etc/ld.so.conf; then
13004    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' ' '`
13005    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13006  fi
13007
13008  # We used to test for /lib/ld.so.1 and disable shared libraries on
13009  # powerpc, because MkLinux only supported shared libraries with the
13010  # GNU dynamic linker.  Since this was broken with cross compilers,
13011  # most powerpc-linux boxes support dynamic linking these days and
13012  # people can always --disable-shared, the test was removed, and we
13013  # assume the GNU/Linux dynamic linker is in use.
13014  dynamic_linker='GNU/Linux ld.so'
13015  ;;
13016
13017netbsdelf*-gnu)
13018  version_type=linux
13019  need_lib_prefix=no
13020  need_version=no
13021  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13022  soname_spec='${libname}${release}${shared_ext}$major'
13023  shlibpath_var=LD_LIBRARY_PATH
13024  shlibpath_overrides_runpath=no
13025  hardcode_into_libs=yes
13026  dynamic_linker='NetBSD ld.elf_so'
13027  ;;
13028
13029netbsd*)
13030  version_type=sunos
13031  need_lib_prefix=no
13032  need_version=no
13033  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13034    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13035    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13036    dynamic_linker='NetBSD (a.out) ld.so'
13037  else
13038    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13039    soname_spec='$libname$release$shared_ext$major'
13040    dynamic_linker='NetBSD ld.elf_so'
13041  fi
13042  shlibpath_var=LD_LIBRARY_PATH
13043  shlibpath_overrides_runpath=yes
13044  hardcode_into_libs=yes
13045  ;;
13046
13047newsos6)
13048  version_type=linux # correct to gnu/linux during the next big refactor
13049  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13050  shlibpath_var=LD_LIBRARY_PATH
13051  shlibpath_overrides_runpath=yes
13052  ;;
13053
13054*nto* | *qnx*)
13055  version_type=qnx
13056  need_lib_prefix=no
13057  need_version=no
13058  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13059  soname_spec='$libname$release$shared_ext$major'
13060  shlibpath_var=LD_LIBRARY_PATH
13061  shlibpath_overrides_runpath=no
13062  hardcode_into_libs=yes
13063  dynamic_linker='ldqnx.so'
13064  ;;
13065
13066openbsd* | bitrig*)
13067  version_type=sunos
13068  sys_lib_dlsearch_path_spec=/usr/lib
13069  need_lib_prefix=no
13070  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13071    need_version=no
13072  else
13073    need_version=yes
13074  fi
13075  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13076  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13077  shlibpath_var=LD_LIBRARY_PATH
13078  shlibpath_overrides_runpath=yes
13079  ;;
13080
13081os2*)
13082  libname_spec='$name'
13083  version_type=windows
13084  shrext_cmds=.dll
13085  need_version=no
13086  need_lib_prefix=no
13087  # OS/2 can only load a DLL with a base name of 8 characters or less.
13088  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13089    v=$($ECHO $release$versuffix | tr -d .-);
13090    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13091    $ECHO $n$v`$shared_ext'
13092  library_names_spec='${libname}_dll.$libext'
13093  dynamic_linker='OS/2 ld.exe'
13094  shlibpath_var=BEGINLIBPATH
13095  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13096  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13097  postinstall_cmds='base_file=`basename \$file`~
13098    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13099    dldir=$destdir/`dirname \$dlpath`~
13100    test -d \$dldir || mkdir -p \$dldir~
13101    $install_prog $dir/$dlname \$dldir/$dlname~
13102    chmod a+x \$dldir/$dlname~
13103    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13104      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13105    fi'
13106  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13107    dlpath=$dir/\$dldll~
13108    $RM \$dlpath'
13109  ;;
13110
13111osf3* | osf4* | osf5*)
13112  version_type=osf
13113  need_lib_prefix=no
13114  need_version=no
13115  soname_spec='$libname$release$shared_ext$major'
13116  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13117  shlibpath_var=LD_LIBRARY_PATH
13118  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13119  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13120  ;;
13121
13122rdos*)
13123  dynamic_linker=no
13124  ;;
13125
13126solaris*)
13127  version_type=linux # correct to gnu/linux during the next big refactor
13128  need_lib_prefix=no
13129  need_version=no
13130  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13131  soname_spec='$libname$release$shared_ext$major'
13132  shlibpath_var=LD_LIBRARY_PATH
13133  shlibpath_overrides_runpath=yes
13134  hardcode_into_libs=yes
13135  # ldd complains unless libraries are executable
13136  postinstall_cmds='chmod +x $lib'
13137  ;;
13138
13139sunos4*)
13140  version_type=sunos
13141  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13142  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13143  shlibpath_var=LD_LIBRARY_PATH
13144  shlibpath_overrides_runpath=yes
13145  if test yes = "$with_gnu_ld"; then
13146    need_lib_prefix=no
13147  fi
13148  need_version=yes
13149  ;;
13150
13151sysv4 | sysv4.3*)
13152  version_type=linux # correct to gnu/linux during the next big refactor
13153  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13154  soname_spec='$libname$release$shared_ext$major'
13155  shlibpath_var=LD_LIBRARY_PATH
13156  case $host_vendor in
13157    sni)
13158      shlibpath_overrides_runpath=no
13159      need_lib_prefix=no
13160      runpath_var=LD_RUN_PATH
13161      ;;
13162    siemens)
13163      need_lib_prefix=no
13164      ;;
13165    motorola)
13166      need_lib_prefix=no
13167      need_version=no
13168      shlibpath_overrides_runpath=no
13169      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13170      ;;
13171  esac
13172  ;;
13173
13174sysv4*MP*)
13175  if test -d /usr/nec; then
13176    version_type=linux # correct to gnu/linux during the next big refactor
13177    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13178    soname_spec='$libname$shared_ext.$major'
13179    shlibpath_var=LD_LIBRARY_PATH
13180  fi
13181  ;;
13182
13183sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13184  version_type=sco
13185  need_lib_prefix=no
13186  need_version=no
13187  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13188  soname_spec='$libname$release$shared_ext$major'
13189  shlibpath_var=LD_LIBRARY_PATH
13190  shlibpath_overrides_runpath=yes
13191  hardcode_into_libs=yes
13192  if test yes = "$with_gnu_ld"; then
13193    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13194  else
13195    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13196    case $host_os in
13197      sco3.2v5*)
13198        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13199	;;
13200    esac
13201  fi
13202  sys_lib_dlsearch_path_spec='/usr/lib'
13203  ;;
13204
13205tpf*)
13206  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13207  version_type=linux # correct to gnu/linux during the next big refactor
13208  need_lib_prefix=no
13209  need_version=no
13210  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13211  shlibpath_var=LD_LIBRARY_PATH
13212  shlibpath_overrides_runpath=no
13213  hardcode_into_libs=yes
13214  ;;
13215
13216uts4*)
13217  version_type=linux # correct to gnu/linux during the next big refactor
13218  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13219  soname_spec='$libname$release$shared_ext$major'
13220  shlibpath_var=LD_LIBRARY_PATH
13221  ;;
13222
13223*)
13224  dynamic_linker=no
13225  ;;
13226esac
13227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13228$as_echo "$dynamic_linker" >&6; }
13229test no = "$dynamic_linker" && can_build_shared=no
13230
13231variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13232if test yes = "$GCC"; then
13233  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13234fi
13235
13236if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13237  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13238fi
13239
13240if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13241  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13242fi
13243
13244# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13245configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13246
13247# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13248func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13249
13250# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13251configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13350$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13351hardcode_action=
13352if test -n "$hardcode_libdir_flag_spec" ||
13353   test -n "$runpath_var" ||
13354   test yes = "$hardcode_automatic"; then
13355
13356  # We can hardcode non-existent directories.
13357  if test no != "$hardcode_direct" &&
13358     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13359     # have to relink, otherwise we might link with an installed library
13360     # when we should be linking with a yet-to-be-installed one
13361     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13362     test no != "$hardcode_minus_L"; then
13363    # Linking always hardcodes the temporary library directory.
13364    hardcode_action=relink
13365  else
13366    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13367    hardcode_action=immediate
13368  fi
13369else
13370  # We cannot hardcode anything, or else we can only hardcode existing
13371  # directories.
13372  hardcode_action=unsupported
13373fi
13374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13375$as_echo "$hardcode_action" >&6; }
13376
13377if test relink = "$hardcode_action" ||
13378   test yes = "$inherit_rpath"; then
13379  # Fast installation is not supported
13380  enable_fast_install=no
13381elif test yes = "$shlibpath_overrides_runpath" ||
13382     test no = "$enable_shared"; then
13383  # Fast installation is not necessary
13384  enable_fast_install=needless
13385fi
13386
13387
13388
13389
13390
13391
13392  if test yes != "$enable_dlopen"; then
13393  enable_dlopen=unknown
13394  enable_dlopen_self=unknown
13395  enable_dlopen_self_static=unknown
13396else
13397  lt_cv_dlopen=no
13398  lt_cv_dlopen_libs=
13399
13400  case $host_os in
13401  beos*)
13402    lt_cv_dlopen=load_add_on
13403    lt_cv_dlopen_libs=
13404    lt_cv_dlopen_self=yes
13405    ;;
13406
13407  mingw* | pw32* | cegcc*)
13408    lt_cv_dlopen=LoadLibrary
13409    lt_cv_dlopen_libs=
13410    ;;
13411
13412  cygwin*)
13413    lt_cv_dlopen=dlopen
13414    lt_cv_dlopen_libs=
13415    ;;
13416
13417  darwin*)
13418    # if libdl is installed we need to link against it
13419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13420$as_echo_n "checking for dlopen in -ldl... " >&6; }
13421if ${ac_cv_lib_dl_dlopen+:} false; then :
13422  $as_echo_n "(cached) " >&6
13423else
13424  ac_check_lib_save_LIBS=$LIBS
13425LIBS="-ldl  $LIBS"
13426cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427/* end confdefs.h.  */
13428
13429/* Override any GCC internal prototype to avoid an error.
13430   Use char because int might match the return type of a GCC
13431   builtin and then its argument prototype would still apply.  */
13432#ifdef __cplusplus
13433extern "C"
13434#endif
13435char dlopen ();
13436int
13437main ()
13438{
13439return dlopen ();
13440  ;
13441  return 0;
13442}
13443_ACEOF
13444if ac_fn_c_try_link "$LINENO"; then :
13445  ac_cv_lib_dl_dlopen=yes
13446else
13447  ac_cv_lib_dl_dlopen=no
13448fi
13449rm -f core conftest.err conftest.$ac_objext \
13450    conftest$ac_exeext conftest.$ac_ext
13451LIBS=$ac_check_lib_save_LIBS
13452fi
13453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13454$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13455if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13456  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13457else
13458
13459    lt_cv_dlopen=dyld
13460    lt_cv_dlopen_libs=
13461    lt_cv_dlopen_self=yes
13462
13463fi
13464
13465    ;;
13466
13467  tpf*)
13468    # Don't try to run any link tests for TPF.  We know it's impossible
13469    # because TPF is a cross-compiler, and we know how we open DSOs.
13470    lt_cv_dlopen=dlopen
13471    lt_cv_dlopen_libs=
13472    lt_cv_dlopen_self=no
13473    ;;
13474
13475  *)
13476    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13477if test "x$ac_cv_func_shl_load" = xyes; then :
13478  lt_cv_dlopen=shl_load
13479else
13480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13481$as_echo_n "checking for shl_load in -ldld... " >&6; }
13482if ${ac_cv_lib_dld_shl_load+:} false; then :
13483  $as_echo_n "(cached) " >&6
13484else
13485  ac_check_lib_save_LIBS=$LIBS
13486LIBS="-ldld  $LIBS"
13487cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488/* end confdefs.h.  */
13489
13490/* Override any GCC internal prototype to avoid an error.
13491   Use char because int might match the return type of a GCC
13492   builtin and then its argument prototype would still apply.  */
13493#ifdef __cplusplus
13494extern "C"
13495#endif
13496char shl_load ();
13497int
13498main ()
13499{
13500return shl_load ();
13501  ;
13502  return 0;
13503}
13504_ACEOF
13505if ac_fn_c_try_link "$LINENO"; then :
13506  ac_cv_lib_dld_shl_load=yes
13507else
13508  ac_cv_lib_dld_shl_load=no
13509fi
13510rm -f core conftest.err conftest.$ac_objext \
13511    conftest$ac_exeext conftest.$ac_ext
13512LIBS=$ac_check_lib_save_LIBS
13513fi
13514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13515$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13516if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13517  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13518else
13519  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13520if test "x$ac_cv_func_dlopen" = xyes; then :
13521  lt_cv_dlopen=dlopen
13522else
13523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13524$as_echo_n "checking for dlopen in -ldl... " >&6; }
13525if ${ac_cv_lib_dl_dlopen+:} false; then :
13526  $as_echo_n "(cached) " >&6
13527else
13528  ac_check_lib_save_LIBS=$LIBS
13529LIBS="-ldl  $LIBS"
13530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531/* end confdefs.h.  */
13532
13533/* Override any GCC internal prototype to avoid an error.
13534   Use char because int might match the return type of a GCC
13535   builtin and then its argument prototype would still apply.  */
13536#ifdef __cplusplus
13537extern "C"
13538#endif
13539char dlopen ();
13540int
13541main ()
13542{
13543return dlopen ();
13544  ;
13545  return 0;
13546}
13547_ACEOF
13548if ac_fn_c_try_link "$LINENO"; then :
13549  ac_cv_lib_dl_dlopen=yes
13550else
13551  ac_cv_lib_dl_dlopen=no
13552fi
13553rm -f core conftest.err conftest.$ac_objext \
13554    conftest$ac_exeext conftest.$ac_ext
13555LIBS=$ac_check_lib_save_LIBS
13556fi
13557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13558$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13559if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13560  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13561else
13562  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13563$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13564if ${ac_cv_lib_svld_dlopen+:} false; then :
13565  $as_echo_n "(cached) " >&6
13566else
13567  ac_check_lib_save_LIBS=$LIBS
13568LIBS="-lsvld  $LIBS"
13569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570/* end confdefs.h.  */
13571
13572/* Override any GCC internal prototype to avoid an error.
13573   Use char because int might match the return type of a GCC
13574   builtin and then its argument prototype would still apply.  */
13575#ifdef __cplusplus
13576extern "C"
13577#endif
13578char dlopen ();
13579int
13580main ()
13581{
13582return dlopen ();
13583  ;
13584  return 0;
13585}
13586_ACEOF
13587if ac_fn_c_try_link "$LINENO"; then :
13588  ac_cv_lib_svld_dlopen=yes
13589else
13590  ac_cv_lib_svld_dlopen=no
13591fi
13592rm -f core conftest.err conftest.$ac_objext \
13593    conftest$ac_exeext conftest.$ac_ext
13594LIBS=$ac_check_lib_save_LIBS
13595fi
13596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13597$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13598if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13599  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13600else
13601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13602$as_echo_n "checking for dld_link in -ldld... " >&6; }
13603if ${ac_cv_lib_dld_dld_link+:} false; then :
13604  $as_echo_n "(cached) " >&6
13605else
13606  ac_check_lib_save_LIBS=$LIBS
13607LIBS="-ldld  $LIBS"
13608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609/* end confdefs.h.  */
13610
13611/* Override any GCC internal prototype to avoid an error.
13612   Use char because int might match the return type of a GCC
13613   builtin and then its argument prototype would still apply.  */
13614#ifdef __cplusplus
13615extern "C"
13616#endif
13617char dld_link ();
13618int
13619main ()
13620{
13621return dld_link ();
13622  ;
13623  return 0;
13624}
13625_ACEOF
13626if ac_fn_c_try_link "$LINENO"; then :
13627  ac_cv_lib_dld_dld_link=yes
13628else
13629  ac_cv_lib_dld_dld_link=no
13630fi
13631rm -f core conftest.err conftest.$ac_objext \
13632    conftest$ac_exeext conftest.$ac_ext
13633LIBS=$ac_check_lib_save_LIBS
13634fi
13635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13636$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13637if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13638  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13639fi
13640
13641
13642fi
13643
13644
13645fi
13646
13647
13648fi
13649
13650
13651fi
13652
13653
13654fi
13655
13656    ;;
13657  esac
13658
13659  if test no = "$lt_cv_dlopen"; then
13660    enable_dlopen=no
13661  else
13662    enable_dlopen=yes
13663  fi
13664
13665  case $lt_cv_dlopen in
13666  dlopen)
13667    save_CPPFLAGS=$CPPFLAGS
13668    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13669
13670    save_LDFLAGS=$LDFLAGS
13671    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13672
13673    save_LIBS=$LIBS
13674    LIBS="$lt_cv_dlopen_libs $LIBS"
13675
13676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13677$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13678if ${lt_cv_dlopen_self+:} false; then :
13679  $as_echo_n "(cached) " >&6
13680else
13681  	  if test yes = "$cross_compiling"; then :
13682  lt_cv_dlopen_self=cross
13683else
13684  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13685  lt_status=$lt_dlunknown
13686  cat > conftest.$ac_ext <<_LT_EOF
13687#line $LINENO "configure"
13688#include "confdefs.h"
13689
13690#if HAVE_DLFCN_H
13691#include <dlfcn.h>
13692#endif
13693
13694#include <stdio.h>
13695
13696#ifdef RTLD_GLOBAL
13697#  define LT_DLGLOBAL		RTLD_GLOBAL
13698#else
13699#  ifdef DL_GLOBAL
13700#    define LT_DLGLOBAL		DL_GLOBAL
13701#  else
13702#    define LT_DLGLOBAL		0
13703#  endif
13704#endif
13705
13706/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13707   find out it does not work in some platform. */
13708#ifndef LT_DLLAZY_OR_NOW
13709#  ifdef RTLD_LAZY
13710#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13711#  else
13712#    ifdef DL_LAZY
13713#      define LT_DLLAZY_OR_NOW		DL_LAZY
13714#    else
13715#      ifdef RTLD_NOW
13716#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13717#      else
13718#        ifdef DL_NOW
13719#          define LT_DLLAZY_OR_NOW	DL_NOW
13720#        else
13721#          define LT_DLLAZY_OR_NOW	0
13722#        endif
13723#      endif
13724#    endif
13725#  endif
13726#endif
13727
13728/* When -fvisibility=hidden is used, assume the code has been annotated
13729   correspondingly for the symbols needed.  */
13730#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13731int fnord () __attribute__((visibility("default")));
13732#endif
13733
13734int fnord () { return 42; }
13735int main ()
13736{
13737  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13738  int status = $lt_dlunknown;
13739
13740  if (self)
13741    {
13742      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13743      else
13744        {
13745	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13746          else puts (dlerror ());
13747	}
13748      /* dlclose (self); */
13749    }
13750  else
13751    puts (dlerror ());
13752
13753  return status;
13754}
13755_LT_EOF
13756  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13757  (eval $ac_link) 2>&5
13758  ac_status=$?
13759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13760  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13761    (./conftest; exit; ) >&5 2>/dev/null
13762    lt_status=$?
13763    case x$lt_status in
13764      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13765      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13766      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13767    esac
13768  else :
13769    # compilation failed
13770    lt_cv_dlopen_self=no
13771  fi
13772fi
13773rm -fr conftest*
13774
13775
13776fi
13777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13778$as_echo "$lt_cv_dlopen_self" >&6; }
13779
13780    if test yes = "$lt_cv_dlopen_self"; then
13781      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13782      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13783$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13784if ${lt_cv_dlopen_self_static+:} false; then :
13785  $as_echo_n "(cached) " >&6
13786else
13787  	  if test yes = "$cross_compiling"; then :
13788  lt_cv_dlopen_self_static=cross
13789else
13790  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13791  lt_status=$lt_dlunknown
13792  cat > conftest.$ac_ext <<_LT_EOF
13793#line $LINENO "configure"
13794#include "confdefs.h"
13795
13796#if HAVE_DLFCN_H
13797#include <dlfcn.h>
13798#endif
13799
13800#include <stdio.h>
13801
13802#ifdef RTLD_GLOBAL
13803#  define LT_DLGLOBAL		RTLD_GLOBAL
13804#else
13805#  ifdef DL_GLOBAL
13806#    define LT_DLGLOBAL		DL_GLOBAL
13807#  else
13808#    define LT_DLGLOBAL		0
13809#  endif
13810#endif
13811
13812/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13813   find out it does not work in some platform. */
13814#ifndef LT_DLLAZY_OR_NOW
13815#  ifdef RTLD_LAZY
13816#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13817#  else
13818#    ifdef DL_LAZY
13819#      define LT_DLLAZY_OR_NOW		DL_LAZY
13820#    else
13821#      ifdef RTLD_NOW
13822#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13823#      else
13824#        ifdef DL_NOW
13825#          define LT_DLLAZY_OR_NOW	DL_NOW
13826#        else
13827#          define LT_DLLAZY_OR_NOW	0
13828#        endif
13829#      endif
13830#    endif
13831#  endif
13832#endif
13833
13834/* When -fvisibility=hidden is used, assume the code has been annotated
13835   correspondingly for the symbols needed.  */
13836#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13837int fnord () __attribute__((visibility("default")));
13838#endif
13839
13840int fnord () { return 42; }
13841int main ()
13842{
13843  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13844  int status = $lt_dlunknown;
13845
13846  if (self)
13847    {
13848      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13849      else
13850        {
13851	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13852          else puts (dlerror ());
13853	}
13854      /* dlclose (self); */
13855    }
13856  else
13857    puts (dlerror ());
13858
13859  return status;
13860}
13861_LT_EOF
13862  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13863  (eval $ac_link) 2>&5
13864  ac_status=$?
13865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13866  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13867    (./conftest; exit; ) >&5 2>/dev/null
13868    lt_status=$?
13869    case x$lt_status in
13870      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13871      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13872      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13873    esac
13874  else :
13875    # compilation failed
13876    lt_cv_dlopen_self_static=no
13877  fi
13878fi
13879rm -fr conftest*
13880
13881
13882fi
13883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13884$as_echo "$lt_cv_dlopen_self_static" >&6; }
13885    fi
13886
13887    CPPFLAGS=$save_CPPFLAGS
13888    LDFLAGS=$save_LDFLAGS
13889    LIBS=$save_LIBS
13890    ;;
13891  esac
13892
13893  case $lt_cv_dlopen_self in
13894  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13895  *) enable_dlopen_self=unknown ;;
13896  esac
13897
13898  case $lt_cv_dlopen_self_static in
13899  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13900  *) enable_dlopen_self_static=unknown ;;
13901  esac
13902fi
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920striplib=
13921old_striplib=
13922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13923$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13924if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13925  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13926  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13928$as_echo "yes" >&6; }
13929else
13930# FIXME - insert some real tests, host_os isn't really good enough
13931  case $host_os in
13932  darwin*)
13933    if test -n "$STRIP"; then
13934      striplib="$STRIP -x"
13935      old_striplib="$STRIP -S"
13936      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13937$as_echo "yes" >&6; }
13938    else
13939      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13940$as_echo "no" >&6; }
13941    fi
13942    ;;
13943  *)
13944    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945$as_echo "no" >&6; }
13946    ;;
13947  esac
13948fi
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961  # Report what library types will actually be built
13962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13963$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13965$as_echo "$can_build_shared" >&6; }
13966
13967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13968$as_echo_n "checking whether to build shared libraries... " >&6; }
13969  test no = "$can_build_shared" && enable_shared=no
13970
13971  # On AIX, shared libraries and static libraries use the same namespace, and
13972  # are all built from PIC.
13973  case $host_os in
13974  aix3*)
13975    test yes = "$enable_shared" && enable_static=no
13976    if test -n "$RANLIB"; then
13977      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13978      postinstall_cmds='$RANLIB $lib'
13979    fi
13980    ;;
13981
13982  aix[4-9]*)
13983    if test ia64 != "$host_cpu"; then
13984      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13985      yes,aix,yes) ;;			# shared object as lib.so file only
13986      yes,svr4,*) ;;			# shared object as lib.so archive member only
13987      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13988      esac
13989    fi
13990    ;;
13991  esac
13992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13993$as_echo "$enable_shared" >&6; }
13994
13995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13996$as_echo_n "checking whether to build static libraries... " >&6; }
13997  # Make sure either enable_shared or enable_static is yes.
13998  test yes = "$enable_shared" || enable_static=yes
13999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14000$as_echo "$enable_static" >&6; }
14001
14002
14003
14004
14005fi
14006ac_ext=c
14007ac_cpp='$CPP $CPPFLAGS'
14008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010ac_compiler_gnu=$ac_cv_c_compiler_gnu
14011
14012CC=$lt_save_CC
14013
14014      if test -n "$CXX" && ( test no != "$CXX" &&
14015    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14016    (test g++ != "$CXX"))); then
14017  ac_ext=cpp
14018ac_cpp='$CXXCPP $CPPFLAGS'
14019ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14020ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14021ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14023$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14024if test -z "$CXXCPP"; then
14025  if ${ac_cv_prog_CXXCPP+:} false; then :
14026  $as_echo_n "(cached) " >&6
14027else
14028      # Double quotes because CXXCPP needs to be expanded
14029    for CXXCPP in "$CXX -E" "/lib/cpp"
14030    do
14031      ac_preproc_ok=false
14032for ac_cxx_preproc_warn_flag in '' yes
14033do
14034  # Use a header file that comes with gcc, so configuring glibc
14035  # with a fresh cross-compiler works.
14036  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14037  # <limits.h> exists even on freestanding compilers.
14038  # On the NeXT, cc -E runs the code through the compiler's parser,
14039  # not just through cpp. "Syntax error" is here to catch this case.
14040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041/* end confdefs.h.  */
14042#ifdef __STDC__
14043# include <limits.h>
14044#else
14045# include <assert.h>
14046#endif
14047		     Syntax error
14048_ACEOF
14049if ac_fn_cxx_try_cpp "$LINENO"; then :
14050
14051else
14052  # Broken: fails on valid input.
14053continue
14054fi
14055rm -f conftest.err conftest.i conftest.$ac_ext
14056
14057  # OK, works on sane cases.  Now check whether nonexistent headers
14058  # can be detected and how.
14059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060/* end confdefs.h.  */
14061#include <ac_nonexistent.h>
14062_ACEOF
14063if ac_fn_cxx_try_cpp "$LINENO"; then :
14064  # Broken: success on invalid input.
14065continue
14066else
14067  # Passes both tests.
14068ac_preproc_ok=:
14069break
14070fi
14071rm -f conftest.err conftest.i conftest.$ac_ext
14072
14073done
14074# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14075rm -f conftest.i conftest.err conftest.$ac_ext
14076if $ac_preproc_ok; then :
14077  break
14078fi
14079
14080    done
14081    ac_cv_prog_CXXCPP=$CXXCPP
14082
14083fi
14084  CXXCPP=$ac_cv_prog_CXXCPP
14085else
14086  ac_cv_prog_CXXCPP=$CXXCPP
14087fi
14088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14089$as_echo "$CXXCPP" >&6; }
14090ac_preproc_ok=false
14091for ac_cxx_preproc_warn_flag in '' yes
14092do
14093  # Use a header file that comes with gcc, so configuring glibc
14094  # with a fresh cross-compiler works.
14095  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14096  # <limits.h> exists even on freestanding compilers.
14097  # On the NeXT, cc -E runs the code through the compiler's parser,
14098  # not just through cpp. "Syntax error" is here to catch this case.
14099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100/* end confdefs.h.  */
14101#ifdef __STDC__
14102# include <limits.h>
14103#else
14104# include <assert.h>
14105#endif
14106		     Syntax error
14107_ACEOF
14108if ac_fn_cxx_try_cpp "$LINENO"; then :
14109
14110else
14111  # Broken: fails on valid input.
14112continue
14113fi
14114rm -f conftest.err conftest.i conftest.$ac_ext
14115
14116  # OK, works on sane cases.  Now check whether nonexistent headers
14117  # can be detected and how.
14118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119/* end confdefs.h.  */
14120#include <ac_nonexistent.h>
14121_ACEOF
14122if ac_fn_cxx_try_cpp "$LINENO"; then :
14123  # Broken: success on invalid input.
14124continue
14125else
14126  # Passes both tests.
14127ac_preproc_ok=:
14128break
14129fi
14130rm -f conftest.err conftest.i conftest.$ac_ext
14131
14132done
14133# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14134rm -f conftest.i conftest.err conftest.$ac_ext
14135if $ac_preproc_ok; then :
14136
14137else
14138  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14140as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14141See \`config.log' for more details" "$LINENO" 5; }
14142fi
14143
14144ac_ext=c
14145ac_cpp='$CPP $CPPFLAGS'
14146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14148ac_compiler_gnu=$ac_cv_c_compiler_gnu
14149
14150else
14151  _lt_caught_CXX_error=yes
14152fi
14153
14154ac_ext=cpp
14155ac_cpp='$CXXCPP $CPPFLAGS'
14156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14159
14160archive_cmds_need_lc_CXX=no
14161allow_undefined_flag_CXX=
14162always_export_symbols_CXX=no
14163archive_expsym_cmds_CXX=
14164compiler_needs_object_CXX=no
14165export_dynamic_flag_spec_CXX=
14166hardcode_direct_CXX=no
14167hardcode_direct_absolute_CXX=no
14168hardcode_libdir_flag_spec_CXX=
14169hardcode_libdir_separator_CXX=
14170hardcode_minus_L_CXX=no
14171hardcode_shlibpath_var_CXX=unsupported
14172hardcode_automatic_CXX=no
14173inherit_rpath_CXX=no
14174module_cmds_CXX=
14175module_expsym_cmds_CXX=
14176link_all_deplibs_CXX=unknown
14177old_archive_cmds_CXX=$old_archive_cmds
14178reload_flag_CXX=$reload_flag
14179reload_cmds_CXX=$reload_cmds
14180no_undefined_flag_CXX=
14181whole_archive_flag_spec_CXX=
14182enable_shared_with_static_runtimes_CXX=no
14183
14184# Source file extension for C++ test sources.
14185ac_ext=cpp
14186
14187# Object file extension for compiled C++ test sources.
14188objext=o
14189objext_CXX=$objext
14190
14191# No sense in running all these tests if we already determined that
14192# the CXX compiler isn't working.  Some variables (like enable_shared)
14193# are currently assumed to apply to all compilers on this platform,
14194# and will be corrupted by setting them based on a non-working compiler.
14195if test yes != "$_lt_caught_CXX_error"; then
14196  # Code to be used in simple compile tests
14197  lt_simple_compile_test_code="int some_variable = 0;"
14198
14199  # Code to be used in simple link tests
14200  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14201
14202  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14203
14204
14205
14206
14207
14208
14209# If no C compiler was specified, use CC.
14210LTCC=${LTCC-"$CC"}
14211
14212# If no C compiler flags were specified, use CFLAGS.
14213LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14214
14215# Allow CC to be a program name with arguments.
14216compiler=$CC
14217
14218
14219  # save warnings/boilerplate of simple test code
14220  ac_outfile=conftest.$ac_objext
14221echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14222eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14223_lt_compiler_boilerplate=`cat conftest.err`
14224$RM conftest*
14225
14226  ac_outfile=conftest.$ac_objext
14227echo "$lt_simple_link_test_code" >conftest.$ac_ext
14228eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14229_lt_linker_boilerplate=`cat conftest.err`
14230$RM -r conftest*
14231
14232
14233  # Allow CC to be a program name with arguments.
14234  lt_save_CC=$CC
14235  lt_save_CFLAGS=$CFLAGS
14236  lt_save_LD=$LD
14237  lt_save_GCC=$GCC
14238  GCC=$GXX
14239  lt_save_with_gnu_ld=$with_gnu_ld
14240  lt_save_path_LD=$lt_cv_path_LD
14241  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14242    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14243  else
14244    $as_unset lt_cv_prog_gnu_ld
14245  fi
14246  if test -n "${lt_cv_path_LDCXX+set}"; then
14247    lt_cv_path_LD=$lt_cv_path_LDCXX
14248  else
14249    $as_unset lt_cv_path_LD
14250  fi
14251  test -z "${LDCXX+set}" || LD=$LDCXX
14252  CC=${CXX-"c++"}
14253  CFLAGS=$CXXFLAGS
14254  compiler=$CC
14255  compiler_CXX=$CC
14256  func_cc_basename $compiler
14257cc_basename=$func_cc_basename_result
14258
14259
14260  if test -n "$compiler"; then
14261    # We don't want -fno-exception when compiling C++ code, so set the
14262    # no_builtin_flag separately
14263    if test yes = "$GXX"; then
14264      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14265    else
14266      lt_prog_compiler_no_builtin_flag_CXX=
14267    fi
14268
14269    if test yes = "$GXX"; then
14270      # Set up default GNU C++ configuration
14271
14272
14273
14274# Check whether --with-gnu-ld was given.
14275if test "${with_gnu_ld+set}" = set; then :
14276  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14277else
14278  with_gnu_ld=no
14279fi
14280
14281ac_prog=ld
14282if test yes = "$GCC"; then
14283  # Check if gcc -print-prog-name=ld gives a path.
14284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14285$as_echo_n "checking for ld used by $CC... " >&6; }
14286  case $host in
14287  *-*-mingw*)
14288    # gcc leaves a trailing carriage return, which upsets mingw
14289    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14290  *)
14291    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14292  esac
14293  case $ac_prog in
14294    # Accept absolute paths.
14295    [\\/]* | ?:[\\/]*)
14296      re_direlt='/[^/][^/]*/\.\./'
14297      # Canonicalize the pathname of ld
14298      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14299      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14300	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14301      done
14302      test -z "$LD" && LD=$ac_prog
14303      ;;
14304  "")
14305    # If it fails, then pretend we aren't using GCC.
14306    ac_prog=ld
14307    ;;
14308  *)
14309    # If it is relative, then search for the first ld in PATH.
14310    with_gnu_ld=unknown
14311    ;;
14312  esac
14313elif test yes = "$with_gnu_ld"; then
14314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14315$as_echo_n "checking for GNU ld... " >&6; }
14316else
14317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14318$as_echo_n "checking for non-GNU ld... " >&6; }
14319fi
14320if ${lt_cv_path_LD+:} false; then :
14321  $as_echo_n "(cached) " >&6
14322else
14323  if test -z "$LD"; then
14324  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14325  for ac_dir in $PATH; do
14326    IFS=$lt_save_ifs
14327    test -z "$ac_dir" && ac_dir=.
14328    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14329      lt_cv_path_LD=$ac_dir/$ac_prog
14330      # Check to see if the program is GNU ld.  I'd rather use --version,
14331      # but apparently some variants of GNU ld only accept -v.
14332      # Break only if it was the GNU/non-GNU ld that we prefer.
14333      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14334      *GNU* | *'with BFD'*)
14335	test no != "$with_gnu_ld" && break
14336	;;
14337      *)
14338	test yes != "$with_gnu_ld" && break
14339	;;
14340      esac
14341    fi
14342  done
14343  IFS=$lt_save_ifs
14344else
14345  lt_cv_path_LD=$LD # Let the user override the test with a path.
14346fi
14347fi
14348
14349LD=$lt_cv_path_LD
14350if test -n "$LD"; then
14351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14352$as_echo "$LD" >&6; }
14353else
14354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14355$as_echo "no" >&6; }
14356fi
14357test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14359$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14360if ${lt_cv_prog_gnu_ld+:} false; then :
14361  $as_echo_n "(cached) " >&6
14362else
14363  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14364case `$LD -v 2>&1 </dev/null` in
14365*GNU* | *'with BFD'*)
14366  lt_cv_prog_gnu_ld=yes
14367  ;;
14368*)
14369  lt_cv_prog_gnu_ld=no
14370  ;;
14371esac
14372fi
14373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14374$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14375with_gnu_ld=$lt_cv_prog_gnu_ld
14376
14377
14378
14379
14380
14381
14382
14383      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14384      # archiving commands below assume that GNU ld is being used.
14385      if test yes = "$with_gnu_ld"; then
14386        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14387        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'
14388
14389        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14390        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14391
14392        # If archive_cmds runs LD, not CC, wlarc should be empty
14393        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14394        #     investigate it a little bit more. (MM)
14395        wlarc='$wl'
14396
14397        # ancient GNU ld didn't support --whole-archive et. al.
14398        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14399	  $GREP 'no-whole-archive' > /dev/null; then
14400          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14401        else
14402          whole_archive_flag_spec_CXX=
14403        fi
14404      else
14405        with_gnu_ld=no
14406        wlarc=
14407
14408        # A generic and very simple default shared library creation
14409        # command for GNU C++ for the case where it uses the native
14410        # linker, instead of GNU ld.  If possible, this setting should
14411        # overridden to take advantage of the native linker features on
14412        # the platform it is being used on.
14413        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14414      fi
14415
14416      # Commands to make compiler produce verbose output that lists
14417      # what "hidden" libraries, object files and flags are used when
14418      # linking a shared library.
14419      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14420
14421    else
14422      GXX=no
14423      with_gnu_ld=no
14424      wlarc=
14425    fi
14426
14427    # PORTME: fill in a description of your system's C++ link characteristics
14428    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14429$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14430    ld_shlibs_CXX=yes
14431    case $host_os in
14432      aix3*)
14433        # FIXME: insert proper C++ library support
14434        ld_shlibs_CXX=no
14435        ;;
14436      aix[4-9]*)
14437        if test ia64 = "$host_cpu"; then
14438          # On IA64, the linker does run time linking by default, so we don't
14439          # have to do anything special.
14440          aix_use_runtimelinking=no
14441          exp_sym_flag='-Bexport'
14442          no_entry_flag=
14443        else
14444          aix_use_runtimelinking=no
14445
14446          # Test if we are trying to use run time linking or normal
14447          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14448          # have runtime linking enabled, and use it for executables.
14449          # For shared libraries, we enable/disable runtime linking
14450          # depending on the kind of the shared library created -
14451          # when "with_aix_soname,aix_use_runtimelinking" is:
14452          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14453          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14454          #            lib.a           static archive
14455          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14456          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14457          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14458          #            lib.a(lib.so.V) shared, rtl:no
14459          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14460          #            lib.a           static archive
14461          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14462	    for ld_flag in $LDFLAGS; do
14463	      case $ld_flag in
14464	      *-brtl*)
14465	        aix_use_runtimelinking=yes
14466	        break
14467	        ;;
14468	      esac
14469	    done
14470	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14471	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14472	      # so we don't have lib.a shared libs to link our executables.
14473	      # We have to force runtime linking in this case.
14474	      aix_use_runtimelinking=yes
14475	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14476	    fi
14477	    ;;
14478          esac
14479
14480          exp_sym_flag='-bexport'
14481          no_entry_flag='-bnoentry'
14482        fi
14483
14484        # When large executables or shared objects are built, AIX ld can
14485        # have problems creating the table of contents.  If linking a library
14486        # or program results in "error TOC overflow" add -mminimal-toc to
14487        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14488        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14489
14490        archive_cmds_CXX=''
14491        hardcode_direct_CXX=yes
14492        hardcode_direct_absolute_CXX=yes
14493        hardcode_libdir_separator_CXX=':'
14494        link_all_deplibs_CXX=yes
14495        file_list_spec_CXX='$wl-f,'
14496        case $with_aix_soname,$aix_use_runtimelinking in
14497        aix,*) ;;	# no import file
14498        svr4,* | *,yes) # use import file
14499          # The Import File defines what to hardcode.
14500          hardcode_direct_CXX=no
14501          hardcode_direct_absolute_CXX=no
14502          ;;
14503        esac
14504
14505        if test yes = "$GXX"; then
14506          case $host_os in aix4.[012]|aix4.[012].*)
14507          # We only want to do this on AIX 4.2 and lower, the check
14508          # below for broken collect2 doesn't work under 4.3+
14509	  collect2name=`$CC -print-prog-name=collect2`
14510	  if test -f "$collect2name" &&
14511	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14512	  then
14513	    # We have reworked collect2
14514	    :
14515	  else
14516	    # We have old collect2
14517	    hardcode_direct_CXX=unsupported
14518	    # It fails to find uninstalled libraries when the uninstalled
14519	    # path is not listed in the libpath.  Setting hardcode_minus_L
14520	    # to unsupported forces relinking
14521	    hardcode_minus_L_CXX=yes
14522	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14523	    hardcode_libdir_separator_CXX=
14524	  fi
14525          esac
14526          shared_flag='-shared'
14527	  if test yes = "$aix_use_runtimelinking"; then
14528	    shared_flag=$shared_flag' $wl-G'
14529	  fi
14530	  # Need to ensure runtime linking is disabled for the traditional
14531	  # shared library, or the linker may eventually find shared libraries
14532	  # /with/ Import File - we do not want to mix them.
14533	  shared_flag_aix='-shared'
14534	  shared_flag_svr4='-shared $wl-G'
14535        else
14536          # not using gcc
14537          if test ia64 = "$host_cpu"; then
14538	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14539	  # chokes on -Wl,-G. The following line is correct:
14540	  shared_flag='-G'
14541          else
14542	    if test yes = "$aix_use_runtimelinking"; then
14543	      shared_flag='$wl-G'
14544	    else
14545	      shared_flag='$wl-bM:SRE'
14546	    fi
14547	    shared_flag_aix='$wl-bM:SRE'
14548	    shared_flag_svr4='$wl-G'
14549          fi
14550        fi
14551
14552        export_dynamic_flag_spec_CXX='$wl-bexpall'
14553        # It seems that -bexpall does not export symbols beginning with
14554        # underscore (_), so it is better to generate a list of symbols to
14555	# export.
14556        always_export_symbols_CXX=yes
14557	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14558          # Warning - without using the other runtime loading flags (-brtl),
14559          # -berok will link without error, but may produce a broken library.
14560          # The "-G" linker flag allows undefined symbols.
14561          no_undefined_flag_CXX='-bernotok'
14562          # Determine the default libpath from the value encoded in an empty
14563          # executable.
14564          if test set = "${lt_cv_aix_libpath+set}"; then
14565  aix_libpath=$lt_cv_aix_libpath
14566else
14567  if ${lt_cv_aix_libpath__CXX+:} false; then :
14568  $as_echo_n "(cached) " >&6
14569else
14570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571/* end confdefs.h.  */
14572
14573int
14574main ()
14575{
14576
14577  ;
14578  return 0;
14579}
14580_ACEOF
14581if ac_fn_cxx_try_link "$LINENO"; then :
14582
14583  lt_aix_libpath_sed='
14584      /Import File Strings/,/^$/ {
14585	  /^0/ {
14586	      s/^0  *\([^ ]*\) *$/\1/
14587	      p
14588	  }
14589      }'
14590  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14591  # Check for a 64-bit object if we didn't find anything.
14592  if test -z "$lt_cv_aix_libpath__CXX"; then
14593    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14594  fi
14595fi
14596rm -f core conftest.err conftest.$ac_objext \
14597    conftest$ac_exeext conftest.$ac_ext
14598  if test -z "$lt_cv_aix_libpath__CXX"; then
14599    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14600  fi
14601
14602fi
14603
14604  aix_libpath=$lt_cv_aix_libpath__CXX
14605fi
14606
14607          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14608
14609          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
14610        else
14611          if test ia64 = "$host_cpu"; then
14612	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14613	    allow_undefined_flag_CXX="-z nodefs"
14614	    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"
14615          else
14616	    # Determine the default libpath from the value encoded in an
14617	    # empty executable.
14618	    if test set = "${lt_cv_aix_libpath+set}"; then
14619  aix_libpath=$lt_cv_aix_libpath
14620else
14621  if ${lt_cv_aix_libpath__CXX+:} false; then :
14622  $as_echo_n "(cached) " >&6
14623else
14624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625/* end confdefs.h.  */
14626
14627int
14628main ()
14629{
14630
14631  ;
14632  return 0;
14633}
14634_ACEOF
14635if ac_fn_cxx_try_link "$LINENO"; then :
14636
14637  lt_aix_libpath_sed='
14638      /Import File Strings/,/^$/ {
14639	  /^0/ {
14640	      s/^0  *\([^ ]*\) *$/\1/
14641	      p
14642	  }
14643      }'
14644  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14645  # Check for a 64-bit object if we didn't find anything.
14646  if test -z "$lt_cv_aix_libpath__CXX"; then
14647    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14648  fi
14649fi
14650rm -f core conftest.err conftest.$ac_objext \
14651    conftest$ac_exeext conftest.$ac_ext
14652  if test -z "$lt_cv_aix_libpath__CXX"; then
14653    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14654  fi
14655
14656fi
14657
14658  aix_libpath=$lt_cv_aix_libpath__CXX
14659fi
14660
14661	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14662	    # Warning - without using the other run time loading flags,
14663	    # -berok will link without error, but may produce a broken library.
14664	    no_undefined_flag_CXX=' $wl-bernotok'
14665	    allow_undefined_flag_CXX=' $wl-berok'
14666	    if test yes = "$with_gnu_ld"; then
14667	      # We only use this code for GNU lds that support --whole-archive.
14668	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14669	    else
14670	      # Exported symbols can be pulled into shared objects from archives
14671	      whole_archive_flag_spec_CXX='$convenience'
14672	    fi
14673	    archive_cmds_need_lc_CXX=yes
14674	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14675	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14676	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14677	    if test svr4 != "$with_aix_soname"; then
14678	      # This is similar to how AIX traditionally builds its shared
14679	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14680	      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'
14681	    fi
14682	    if test aix != "$with_aix_soname"; then
14683	      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'
14684	    else
14685	      # used by -dlpreopen to get the symbols
14686	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14687	    fi
14688	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14689          fi
14690        fi
14691        ;;
14692
14693      beos*)
14694	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14695	  allow_undefined_flag_CXX=unsupported
14696	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14697	  # support --undefined.  This deserves some investigation.  FIXME
14698	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14699	else
14700	  ld_shlibs_CXX=no
14701	fi
14702	;;
14703
14704      chorus*)
14705        case $cc_basename in
14706          *)
14707	  # FIXME: insert proper C++ library support
14708	  ld_shlibs_CXX=no
14709	  ;;
14710        esac
14711        ;;
14712
14713      cygwin* | mingw* | pw32* | cegcc*)
14714	case $GXX,$cc_basename in
14715	,cl* | no,cl*)
14716	  # Native MSVC
14717	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14718	  # no search path for DLLs.
14719	  hardcode_libdir_flag_spec_CXX=' '
14720	  allow_undefined_flag_CXX=unsupported
14721	  always_export_symbols_CXX=yes
14722	  file_list_spec_CXX='@'
14723	  # Tell ltmain to make .lib files, not .a files.
14724	  libext=lib
14725	  # Tell ltmain to make .dll files, not .so files.
14726	  shrext_cmds=.dll
14727	  # FIXME: Setting linknames here is a bad hack.
14728	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14729	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14730              cp "$export_symbols" "$output_objdir/$soname.def";
14731              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14732            else
14733              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14734            fi~
14735            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14736            linknames='
14737	  # The linker will not automatically build a static lib if we build a DLL.
14738	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14739	  enable_shared_with_static_runtimes_CXX=yes
14740	  # Don't use ranlib
14741	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14742	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14743            lt_tool_outputfile="@TOOL_OUTPUT@"~
14744            case $lt_outputfile in
14745              *.exe|*.EXE) ;;
14746              *)
14747                lt_outputfile=$lt_outputfile.exe
14748                lt_tool_outputfile=$lt_tool_outputfile.exe
14749                ;;
14750            esac~
14751            func_to_tool_file "$lt_outputfile"~
14752            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14753              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14754              $RM "$lt_outputfile.manifest";
14755            fi'
14756	  ;;
14757	*)
14758	  # g++
14759	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14760	  # as there is no search path for DLLs.
14761	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14762	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14763	  allow_undefined_flag_CXX=unsupported
14764	  always_export_symbols_CXX=no
14765	  enable_shared_with_static_runtimes_CXX=yes
14766
14767	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14768	    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'
14769	    # If the export-symbols file already is a .def file, use it as
14770	    # is; otherwise, prepend EXPORTS...
14771	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14772              cp $export_symbols $output_objdir/$soname.def;
14773            else
14774              echo EXPORTS > $output_objdir/$soname.def;
14775              cat $export_symbols >> $output_objdir/$soname.def;
14776            fi~
14777            $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'
14778	  else
14779	    ld_shlibs_CXX=no
14780	  fi
14781	  ;;
14782	esac
14783	;;
14784      darwin* | rhapsody*)
14785
14786
14787  archive_cmds_need_lc_CXX=no
14788  hardcode_direct_CXX=no
14789  hardcode_automatic_CXX=yes
14790  hardcode_shlibpath_var_CXX=unsupported
14791  if test yes = "$lt_cv_ld_force_load"; then
14792    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\"`'
14793
14794  else
14795    whole_archive_flag_spec_CXX=''
14796  fi
14797  link_all_deplibs_CXX=yes
14798  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14799  case $cc_basename in
14800     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14801     *) _lt_dar_can_shared=$GCC ;;
14802  esac
14803  if test yes = "$_lt_dar_can_shared"; then
14804    output_verbose_link_cmd=func_echo_all
14805    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"
14806    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14807    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"
14808    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"
14809       if test yes != "$lt_cv_apple_cc_single_mod"; then
14810      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"
14811      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"
14812    fi
14813
14814  else
14815  ld_shlibs_CXX=no
14816  fi
14817
14818	;;
14819
14820      os2*)
14821	hardcode_libdir_flag_spec_CXX='-L$libdir'
14822	hardcode_minus_L_CXX=yes
14823	allow_undefined_flag_CXX=unsupported
14824	shrext_cmds=.dll
14825	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14826	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14827	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14828	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14829	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14830	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14831	  emximp -o $lib $output_objdir/$libname.def'
14832	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14833	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14834	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14835	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14836	  prefix_cmds="$SED"~
14837	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14838	    prefix_cmds="$prefix_cmds -e 1d";
14839	  fi~
14840	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14841	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14842	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14843	  emximp -o $lib $output_objdir/$libname.def'
14844	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14845	enable_shared_with_static_runtimes_CXX=yes
14846	;;
14847
14848      dgux*)
14849        case $cc_basename in
14850          ec++*)
14851	    # FIXME: insert proper C++ library support
14852	    ld_shlibs_CXX=no
14853	    ;;
14854          ghcx*)
14855	    # Green Hills C++ Compiler
14856	    # FIXME: insert proper C++ library support
14857	    ld_shlibs_CXX=no
14858	    ;;
14859          *)
14860	    # FIXME: insert proper C++ library support
14861	    ld_shlibs_CXX=no
14862	    ;;
14863        esac
14864        ;;
14865
14866      freebsd2.*)
14867        # C++ shared libraries reported to be fairly broken before
14868	# switch to ELF
14869        ld_shlibs_CXX=no
14870        ;;
14871
14872      freebsd-elf*)
14873        archive_cmds_need_lc_CXX=no
14874        ;;
14875
14876      freebsd* | dragonfly*)
14877        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14878        # conventions
14879        ld_shlibs_CXX=yes
14880        ;;
14881
14882      haiku*)
14883        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14884        link_all_deplibs_CXX=yes
14885        ;;
14886
14887      hpux9*)
14888        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14889        hardcode_libdir_separator_CXX=:
14890        export_dynamic_flag_spec_CXX='$wl-E'
14891        hardcode_direct_CXX=yes
14892        hardcode_minus_L_CXX=yes # Not in the search PATH,
14893				             # but as the default
14894				             # location of the library.
14895
14896        case $cc_basename in
14897          CC*)
14898            # FIXME: insert proper C++ library support
14899            ld_shlibs_CXX=no
14900            ;;
14901          aCC*)
14902            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'
14903            # Commands to make compiler produce verbose output that lists
14904            # what "hidden" libraries, object files and flags are used when
14905            # linking a shared library.
14906            #
14907            # There doesn't appear to be a way to prevent this compiler from
14908            # explicitly linking system object files so we need to strip them
14909            # from the output so that they don't get included in the library
14910            # dependencies.
14911            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"'
14912            ;;
14913          *)
14914            if test yes = "$GXX"; then
14915              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'
14916            else
14917              # FIXME: insert proper C++ library support
14918              ld_shlibs_CXX=no
14919            fi
14920            ;;
14921        esac
14922        ;;
14923
14924      hpux10*|hpux11*)
14925        if test no = "$with_gnu_ld"; then
14926	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14927	  hardcode_libdir_separator_CXX=:
14928
14929          case $host_cpu in
14930            hppa*64*|ia64*)
14931              ;;
14932            *)
14933	      export_dynamic_flag_spec_CXX='$wl-E'
14934              ;;
14935          esac
14936        fi
14937        case $host_cpu in
14938          hppa*64*|ia64*)
14939            hardcode_direct_CXX=no
14940            hardcode_shlibpath_var_CXX=no
14941            ;;
14942          *)
14943            hardcode_direct_CXX=yes
14944            hardcode_direct_absolute_CXX=yes
14945            hardcode_minus_L_CXX=yes # Not in the search PATH,
14946					         # but as the default
14947					         # location of the library.
14948            ;;
14949        esac
14950
14951        case $cc_basename in
14952          CC*)
14953	    # FIXME: insert proper C++ library support
14954	    ld_shlibs_CXX=no
14955	    ;;
14956          aCC*)
14957	    case $host_cpu in
14958	      hppa*64*)
14959	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14960	        ;;
14961	      ia64*)
14962	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14963	        ;;
14964	      *)
14965	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14966	        ;;
14967	    esac
14968	    # Commands to make compiler produce verbose output that lists
14969	    # what "hidden" libraries, object files and flags are used when
14970	    # linking a shared library.
14971	    #
14972	    # There doesn't appear to be a way to prevent this compiler from
14973	    # explicitly linking system object files so we need to strip them
14974	    # from the output so that they don't get included in the library
14975	    # dependencies.
14976	    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"'
14977	    ;;
14978          *)
14979	    if test yes = "$GXX"; then
14980	      if test no = "$with_gnu_ld"; then
14981	        case $host_cpu in
14982	          hppa*64*)
14983	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14984	            ;;
14985	          ia64*)
14986	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14987	            ;;
14988	          *)
14989	            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'
14990	            ;;
14991	        esac
14992	      fi
14993	    else
14994	      # FIXME: insert proper C++ library support
14995	      ld_shlibs_CXX=no
14996	    fi
14997	    ;;
14998        esac
14999        ;;
15000
15001      interix[3-9]*)
15002	hardcode_direct_CXX=no
15003	hardcode_shlibpath_var_CXX=no
15004	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15005	export_dynamic_flag_spec_CXX='$wl-E'
15006	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15007	# Instead, shared libraries are loaded at an image base (0x10000000 by
15008	# default) and relocated if they conflict, which is a slow very memory
15009	# consuming and fragmenting process.  To avoid this, we pick a random,
15010	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15011	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15012	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'
15013	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'
15014	;;
15015      irix5* | irix6*)
15016        case $cc_basename in
15017          CC*)
15018	    # SGI C++
15019	    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'
15020
15021	    # Archives containing C++ object files must be created using
15022	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15023	    # necessary to make sure instantiated templates are included
15024	    # in the archive.
15025	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15026	    ;;
15027          *)
15028	    if test yes = "$GXX"; then
15029	      if test no = "$with_gnu_ld"; then
15030	        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'
15031	      else
15032	        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'
15033	      fi
15034	    fi
15035	    link_all_deplibs_CXX=yes
15036	    ;;
15037        esac
15038        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15039        hardcode_libdir_separator_CXX=:
15040        inherit_rpath_CXX=yes
15041        ;;
15042
15043      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15044        case $cc_basename in
15045          KCC*)
15046	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15047
15048	    # KCC will only create a shared library if the output file
15049	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15050	    # to its proper name (with version) after linking.
15051	    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'
15052	    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'
15053	    # Commands to make compiler produce verbose output that lists
15054	    # what "hidden" libraries, object files and flags are used when
15055	    # linking a shared library.
15056	    #
15057	    # There doesn't appear to be a way to prevent this compiler from
15058	    # explicitly linking system object files so we need to strip them
15059	    # from the output so that they don't get included in the library
15060	    # dependencies.
15061	    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"'
15062
15063	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15064	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15065
15066	    # Archives containing C++ object files must be created using
15067	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15068	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15069	    ;;
15070	  icpc* | ecpc* )
15071	    # Intel C++
15072	    with_gnu_ld=yes
15073	    # version 8.0 and above of icpc choke on multiply defined symbols
15074	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15075	    # earlier do not add the objects themselves.
15076	    case `$CC -V 2>&1` in
15077	      *"Version 7."*)
15078	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15079		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'
15080		;;
15081	      *)  # Version 8.0 or newer
15082	        tmp_idyn=
15083	        case $host_cpu in
15084		  ia64*) tmp_idyn=' -i_dynamic';;
15085		esac
15086	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15087		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'
15088		;;
15089	    esac
15090	    archive_cmds_need_lc_CXX=no
15091	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15092	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15093	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15094	    ;;
15095          pgCC* | pgcpp*)
15096            # Portland Group C++ compiler
15097	    case `$CC -V` in
15098	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15099	      prelink_cmds_CXX='tpldir=Template.dir~
15100               rm -rf $tpldir~
15101               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15102               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15103	      old_archive_cmds_CXX='tpldir=Template.dir~
15104                rm -rf $tpldir~
15105                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15106                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15107                $RANLIB $oldlib'
15108	      archive_cmds_CXX='tpldir=Template.dir~
15109                rm -rf $tpldir~
15110                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15111                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15112	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15113                rm -rf $tpldir~
15114                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15115                $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'
15116	      ;;
15117	    *) # Version 6 and above use weak symbols
15118	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15119	      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'
15120	      ;;
15121	    esac
15122
15123	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15124	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15125	    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'
15126            ;;
15127	  cxx*)
15128	    # Compaq C++
15129	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15130	    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'
15131
15132	    runpath_var=LD_RUN_PATH
15133	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15134	    hardcode_libdir_separator_CXX=:
15135
15136	    # Commands to make compiler produce verbose output that lists
15137	    # what "hidden" libraries, object files and flags are used when
15138	    # linking a shared library.
15139	    #
15140	    # There doesn't appear to be a way to prevent this compiler from
15141	    # explicitly linking system object files so we need to strip them
15142	    # from the output so that they don't get included in the library
15143	    # dependencies.
15144	    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'
15145	    ;;
15146	  xl* | mpixl* | bgxl*)
15147	    # IBM XL 8.0 on PPC, with GNU ld
15148	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15149	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15150	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15151	    if test yes = "$supports_anon_versioning"; then
15152	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15153                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15154                echo "local: *; };" >> $output_objdir/$libname.ver~
15155                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15156	    fi
15157	    ;;
15158	  *)
15159	    case `$CC -V 2>&1 | sed 5q` in
15160	    *Sun\ C*)
15161	      # Sun C++ 5.9
15162	      no_undefined_flag_CXX=' -zdefs'
15163	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15164	      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'
15165	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15166	      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'
15167	      compiler_needs_object_CXX=yes
15168
15169	      # Not sure whether something based on
15170	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15171	      # would be better.
15172	      output_verbose_link_cmd='func_echo_all'
15173
15174	      # Archives containing C++ object files must be created using
15175	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15176	      # necessary to make sure instantiated templates are included
15177	      # in the archive.
15178	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15179	      ;;
15180	    esac
15181	    ;;
15182	esac
15183	;;
15184
15185      lynxos*)
15186        # FIXME: insert proper C++ library support
15187	ld_shlibs_CXX=no
15188	;;
15189
15190      m88k*)
15191        # FIXME: insert proper C++ library support
15192        ld_shlibs_CXX=no
15193	;;
15194
15195      mvs*)
15196        case $cc_basename in
15197          cxx*)
15198	    # FIXME: insert proper C++ library support
15199	    ld_shlibs_CXX=no
15200	    ;;
15201	  *)
15202	    # FIXME: insert proper C++ library support
15203	    ld_shlibs_CXX=no
15204	    ;;
15205	esac
15206	;;
15207
15208      netbsd*)
15209        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15210	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15211	  wlarc=
15212	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15213	  hardcode_direct_CXX=yes
15214	  hardcode_shlibpath_var_CXX=no
15215	fi
15216	# Workaround some broken pre-1.5 toolchains
15217	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15218	;;
15219
15220      *nto* | *qnx*)
15221        ld_shlibs_CXX=yes
15222	;;
15223
15224      openbsd* | bitrig*)
15225	if test -f /usr/libexec/ld.so; then
15226	  hardcode_direct_CXX=yes
15227	  hardcode_shlibpath_var_CXX=no
15228	  hardcode_direct_absolute_CXX=yes
15229	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15230	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15231	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15232	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15233	    export_dynamic_flag_spec_CXX='$wl-E'
15234	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15235	  fi
15236	  output_verbose_link_cmd=func_echo_all
15237	else
15238	  ld_shlibs_CXX=no
15239	fi
15240	;;
15241
15242      osf3* | osf4* | osf5*)
15243        case $cc_basename in
15244          KCC*)
15245	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15246
15247	    # KCC will only create a shared library if the output file
15248	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15249	    # to its proper name (with version) after linking.
15250	    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'
15251
15252	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15253	    hardcode_libdir_separator_CXX=:
15254
15255	    # Archives containing C++ object files must be created using
15256	    # the KAI C++ compiler.
15257	    case $host in
15258	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15259	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15260	    esac
15261	    ;;
15262          RCC*)
15263	    # Rational C++ 2.4.1
15264	    # FIXME: insert proper C++ library support
15265	    ld_shlibs_CXX=no
15266	    ;;
15267          cxx*)
15268	    case $host in
15269	      osf3*)
15270	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15271	        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'
15272	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15273		;;
15274	      *)
15275	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15276	        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'
15277	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15278                  echo "-hidden">> $lib.exp~
15279                  $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~
15280                  $RM $lib.exp'
15281	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15282		;;
15283	    esac
15284
15285	    hardcode_libdir_separator_CXX=:
15286
15287	    # Commands to make compiler produce verbose output that lists
15288	    # what "hidden" libraries, object files and flags are used when
15289	    # linking a shared library.
15290	    #
15291	    # There doesn't appear to be a way to prevent this compiler from
15292	    # explicitly linking system object files so we need to strip them
15293	    # from the output so that they don't get included in the library
15294	    # dependencies.
15295	    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"'
15296	    ;;
15297	  *)
15298	    if test yes,no = "$GXX,$with_gnu_ld"; then
15299	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15300	      case $host in
15301	        osf3*)
15302	          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'
15303		  ;;
15304	        *)
15305	          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'
15306		  ;;
15307	      esac
15308
15309	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15310	      hardcode_libdir_separator_CXX=:
15311
15312	      # Commands to make compiler produce verbose output that lists
15313	      # what "hidden" libraries, object files and flags are used when
15314	      # linking a shared library.
15315	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15316
15317	    else
15318	      # FIXME: insert proper C++ library support
15319	      ld_shlibs_CXX=no
15320	    fi
15321	    ;;
15322        esac
15323        ;;
15324
15325      psos*)
15326        # FIXME: insert proper C++ library support
15327        ld_shlibs_CXX=no
15328        ;;
15329
15330      sunos4*)
15331        case $cc_basename in
15332          CC*)
15333	    # Sun C++ 4.x
15334	    # FIXME: insert proper C++ library support
15335	    ld_shlibs_CXX=no
15336	    ;;
15337          lcc*)
15338	    # Lucid
15339	    # FIXME: insert proper C++ library support
15340	    ld_shlibs_CXX=no
15341	    ;;
15342          *)
15343	    # FIXME: insert proper C++ library support
15344	    ld_shlibs_CXX=no
15345	    ;;
15346        esac
15347        ;;
15348
15349      solaris*)
15350        case $cc_basename in
15351          CC* | sunCC*)
15352	    # Sun C++ 4.2, 5.x and Centerline C++
15353            archive_cmds_need_lc_CXX=yes
15354	    no_undefined_flag_CXX=' -zdefs'
15355	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15356	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15357              $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'
15358
15359	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15360	    hardcode_shlibpath_var_CXX=no
15361	    case $host_os in
15362	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15363	      *)
15364		# The compiler driver will combine and reorder linker options,
15365		# but understands '-z linker_flag'.
15366	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15367		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15368	        ;;
15369	    esac
15370	    link_all_deplibs_CXX=yes
15371
15372	    output_verbose_link_cmd='func_echo_all'
15373
15374	    # Archives containing C++ object files must be created using
15375	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15376	    # necessary to make sure instantiated templates are included
15377	    # in the archive.
15378	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15379	    ;;
15380          gcx*)
15381	    # Green Hills C++ Compiler
15382	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15383
15384	    # The C++ compiler must be used to create the archive.
15385	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15386	    ;;
15387          *)
15388	    # GNU C++ compiler with Solaris linker
15389	    if test yes,no = "$GXX,$with_gnu_ld"; then
15390	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15391	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15392	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15393	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15394                  $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'
15395
15396	        # Commands to make compiler produce verbose output that lists
15397	        # what "hidden" libraries, object files and flags are used when
15398	        # linking a shared library.
15399	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15400	      else
15401	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15402	        # platform.
15403	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15404	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15405                  $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'
15406
15407	        # Commands to make compiler produce verbose output that lists
15408	        # what "hidden" libraries, object files and flags are used when
15409	        # linking a shared library.
15410	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
15411	      fi
15412
15413	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15414	      case $host_os in
15415		solaris2.[0-5] | solaris2.[0-5].*) ;;
15416		*)
15417		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15418		  ;;
15419	      esac
15420	    fi
15421	    ;;
15422        esac
15423        ;;
15424
15425    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15426      no_undefined_flag_CXX='$wl-z,text'
15427      archive_cmds_need_lc_CXX=no
15428      hardcode_shlibpath_var_CXX=no
15429      runpath_var='LD_RUN_PATH'
15430
15431      case $cc_basename in
15432        CC*)
15433	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15434	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15435	  ;;
15436	*)
15437	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15438	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15439	  ;;
15440      esac
15441      ;;
15442
15443      sysv5* | sco3.2v5* | sco5v6*)
15444	# Note: We CANNOT use -z defs as we might desire, because we do not
15445	# link with -lc, and that would cause any symbols used from libc to
15446	# always be unresolved, which means just about no library would
15447	# ever link correctly.  If we're not using GNU ld we use -z text
15448	# though, which does catch some bad symbols but isn't as heavy-handed
15449	# as -z defs.
15450	no_undefined_flag_CXX='$wl-z,text'
15451	allow_undefined_flag_CXX='$wl-z,nodefs'
15452	archive_cmds_need_lc_CXX=no
15453	hardcode_shlibpath_var_CXX=no
15454	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15455	hardcode_libdir_separator_CXX=':'
15456	link_all_deplibs_CXX=yes
15457	export_dynamic_flag_spec_CXX='$wl-Bexport'
15458	runpath_var='LD_RUN_PATH'
15459
15460	case $cc_basename in
15461          CC*)
15462	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15463	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15464	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15465              '"$old_archive_cmds_CXX"
15466	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15467              '"$reload_cmds_CXX"
15468	    ;;
15469	  *)
15470	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15471	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15472	    ;;
15473	esac
15474      ;;
15475
15476      tandem*)
15477        case $cc_basename in
15478          NCC*)
15479	    # NonStop-UX NCC 3.20
15480	    # FIXME: insert proper C++ library support
15481	    ld_shlibs_CXX=no
15482	    ;;
15483          *)
15484	    # FIXME: insert proper C++ library support
15485	    ld_shlibs_CXX=no
15486	    ;;
15487        esac
15488        ;;
15489
15490      vxworks*)
15491        # FIXME: insert proper C++ library support
15492        ld_shlibs_CXX=no
15493        ;;
15494
15495      *)
15496        # FIXME: insert proper C++ library support
15497        ld_shlibs_CXX=no
15498        ;;
15499    esac
15500
15501    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15502$as_echo "$ld_shlibs_CXX" >&6; }
15503    test no = "$ld_shlibs_CXX" && can_build_shared=no
15504
15505    GCC_CXX=$GXX
15506    LD_CXX=$LD
15507
15508    ## CAVEAT EMPTOR:
15509    ## There is no encapsulation within the following macros, do not change
15510    ## the running order or otherwise move them around unless you know exactly
15511    ## what you are doing...
15512    # Dependencies to place before and after the object being linked:
15513predep_objects_CXX=
15514postdep_objects_CXX=
15515predeps_CXX=
15516postdeps_CXX=
15517compiler_lib_search_path_CXX=
15518
15519cat > conftest.$ac_ext <<_LT_EOF
15520class Foo
15521{
15522public:
15523  Foo (void) { a = 0; }
15524private:
15525  int a;
15526};
15527_LT_EOF
15528
15529
15530_lt_libdeps_save_CFLAGS=$CFLAGS
15531case "$CC $CFLAGS " in #(
15532*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15533*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15534*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15535esac
15536
15537if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15538  (eval $ac_compile) 2>&5
15539  ac_status=$?
15540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541  test $ac_status = 0; }; then
15542  # Parse the compiler output and extract the necessary
15543  # objects, libraries and library flags.
15544
15545  # Sentinel used to keep track of whether or not we are before
15546  # the conftest object file.
15547  pre_test_object_deps_done=no
15548
15549  for p in `eval "$output_verbose_link_cmd"`; do
15550    case $prev$p in
15551
15552    -L* | -R* | -l*)
15553       # Some compilers place space between "-{L,R}" and the path.
15554       # Remove the space.
15555       if test x-L = "$p" ||
15556          test x-R = "$p"; then
15557	 prev=$p
15558	 continue
15559       fi
15560
15561       # Expand the sysroot to ease extracting the directories later.
15562       if test -z "$prev"; then
15563         case $p in
15564         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15565         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15566         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15567         esac
15568       fi
15569       case $p in
15570       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15571       esac
15572       if test no = "$pre_test_object_deps_done"; then
15573	 case $prev in
15574	 -L | -R)
15575	   # Internal compiler library paths should come after those
15576	   # provided the user.  The postdeps already come after the
15577	   # user supplied libs so there is no need to process them.
15578	   if test -z "$compiler_lib_search_path_CXX"; then
15579	     compiler_lib_search_path_CXX=$prev$p
15580	   else
15581	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15582	   fi
15583	   ;;
15584	 # The "-l" case would never come before the object being
15585	 # linked, so don't bother handling this case.
15586	 esac
15587       else
15588	 if test -z "$postdeps_CXX"; then
15589	   postdeps_CXX=$prev$p
15590	 else
15591	   postdeps_CXX="${postdeps_CXX} $prev$p"
15592	 fi
15593       fi
15594       prev=
15595       ;;
15596
15597    *.lto.$objext) ;; # Ignore GCC LTO objects
15598    *.$objext)
15599       # This assumes that the test object file only shows up
15600       # once in the compiler output.
15601       if test "$p" = "conftest.$objext"; then
15602	 pre_test_object_deps_done=yes
15603	 continue
15604       fi
15605
15606       if test no = "$pre_test_object_deps_done"; then
15607	 if test -z "$predep_objects_CXX"; then
15608	   predep_objects_CXX=$p
15609	 else
15610	   predep_objects_CXX="$predep_objects_CXX $p"
15611	 fi
15612       else
15613	 if test -z "$postdep_objects_CXX"; then
15614	   postdep_objects_CXX=$p
15615	 else
15616	   postdep_objects_CXX="$postdep_objects_CXX $p"
15617	 fi
15618       fi
15619       ;;
15620
15621    *) ;; # Ignore the rest.
15622
15623    esac
15624  done
15625
15626  # Clean up.
15627  rm -f a.out a.exe
15628else
15629  echo "libtool.m4: error: problem compiling CXX test program"
15630fi
15631
15632$RM -f confest.$objext
15633CFLAGS=$_lt_libdeps_save_CFLAGS
15634
15635# PORTME: override above test on systems where it is broken
15636case $host_os in
15637interix[3-9]*)
15638  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15639  # hack all around it, let's just trust "g++" to DTRT.
15640  predep_objects_CXX=
15641  postdep_objects_CXX=
15642  postdeps_CXX=
15643  ;;
15644esac
15645
15646
15647case " $postdeps_CXX " in
15648*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15649esac
15650 compiler_lib_search_dirs_CXX=
15651if test -n "${compiler_lib_search_path_CXX}"; then
15652 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15653fi
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685    lt_prog_compiler_wl_CXX=
15686lt_prog_compiler_pic_CXX=
15687lt_prog_compiler_static_CXX=
15688
15689
15690  # C++ specific cases for pic, static, wl, etc.
15691  if test yes = "$GXX"; then
15692    lt_prog_compiler_wl_CXX='-Wl,'
15693    lt_prog_compiler_static_CXX='-static'
15694
15695    case $host_os in
15696    aix*)
15697      # All AIX code is PIC.
15698      if test ia64 = "$host_cpu"; then
15699	# AIX 5 now supports IA64 processor
15700	lt_prog_compiler_static_CXX='-Bstatic'
15701      fi
15702      lt_prog_compiler_pic_CXX='-fPIC'
15703      ;;
15704
15705    amigaos*)
15706      case $host_cpu in
15707      powerpc)
15708            # see comment about AmigaOS4 .so support
15709            lt_prog_compiler_pic_CXX='-fPIC'
15710        ;;
15711      m68k)
15712            # FIXME: we need at least 68020 code to build shared libraries, but
15713            # adding the '-m68020' flag to GCC prevents building anything better,
15714            # like '-m68040'.
15715            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15716        ;;
15717      esac
15718      ;;
15719
15720    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15721      # PIC is the default for these OSes.
15722      ;;
15723    mingw* | cygwin* | os2* | pw32* | cegcc*)
15724      # This hack is so that the source file can tell whether it is being
15725      # built for inclusion in a dll (and should export symbols for example).
15726      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15727      # (--disable-auto-import) libraries
15728      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15729      case $host_os in
15730      os2*)
15731	lt_prog_compiler_static_CXX='$wl-static'
15732	;;
15733      esac
15734      ;;
15735    darwin* | rhapsody*)
15736      # PIC is the default on this platform
15737      # Common symbols not allowed in MH_DYLIB files
15738      lt_prog_compiler_pic_CXX='-fno-common'
15739      ;;
15740    *djgpp*)
15741      # DJGPP does not support shared libraries at all
15742      lt_prog_compiler_pic_CXX=
15743      ;;
15744    haiku*)
15745      # PIC is the default for Haiku.
15746      # The "-static" flag exists, but is broken.
15747      lt_prog_compiler_static_CXX=
15748      ;;
15749    interix[3-9]*)
15750      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15751      # Instead, we relocate shared libraries at runtime.
15752      ;;
15753    sysv4*MP*)
15754      if test -d /usr/nec; then
15755	lt_prog_compiler_pic_CXX=-Kconform_pic
15756      fi
15757      ;;
15758    hpux*)
15759      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15760      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15761      # sets the default TLS model and affects inlining.
15762      case $host_cpu in
15763      hppa*64*)
15764	;;
15765      *)
15766	lt_prog_compiler_pic_CXX='-fPIC'
15767	;;
15768      esac
15769      ;;
15770    *qnx* | *nto*)
15771      # QNX uses GNU C++, but need to define -shared option too, otherwise
15772      # it will coredump.
15773      lt_prog_compiler_pic_CXX='-fPIC -shared'
15774      ;;
15775    *)
15776      lt_prog_compiler_pic_CXX='-fPIC'
15777      ;;
15778    esac
15779  else
15780    case $host_os in
15781      aix[4-9]*)
15782	# All AIX code is PIC.
15783	if test ia64 = "$host_cpu"; then
15784	  # AIX 5 now supports IA64 processor
15785	  lt_prog_compiler_static_CXX='-Bstatic'
15786	else
15787	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15788	fi
15789	;;
15790      chorus*)
15791	case $cc_basename in
15792	cxch68*)
15793	  # Green Hills C++ Compiler
15794	  # _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"
15795	  ;;
15796	esac
15797	;;
15798      mingw* | cygwin* | os2* | pw32* | cegcc*)
15799	# This hack is so that the source file can tell whether it is being
15800	# built for inclusion in a dll (and should export symbols for example).
15801	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15802	;;
15803      dgux*)
15804	case $cc_basename in
15805	  ec++*)
15806	    lt_prog_compiler_pic_CXX='-KPIC'
15807	    ;;
15808	  ghcx*)
15809	    # Green Hills C++ Compiler
15810	    lt_prog_compiler_pic_CXX='-pic'
15811	    ;;
15812	  *)
15813	    ;;
15814	esac
15815	;;
15816      freebsd* | dragonfly*)
15817	# FreeBSD uses GNU C++
15818	;;
15819      hpux9* | hpux10* | hpux11*)
15820	case $cc_basename in
15821	  CC*)
15822	    lt_prog_compiler_wl_CXX='-Wl,'
15823	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15824	    if test ia64 != "$host_cpu"; then
15825	      lt_prog_compiler_pic_CXX='+Z'
15826	    fi
15827	    ;;
15828	  aCC*)
15829	    lt_prog_compiler_wl_CXX='-Wl,'
15830	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15831	    case $host_cpu in
15832	    hppa*64*|ia64*)
15833	      # +Z the default
15834	      ;;
15835	    *)
15836	      lt_prog_compiler_pic_CXX='+Z'
15837	      ;;
15838	    esac
15839	    ;;
15840	  *)
15841	    ;;
15842	esac
15843	;;
15844      interix*)
15845	# This is c89, which is MS Visual C++ (no shared libs)
15846	# Anyone wants to do a port?
15847	;;
15848      irix5* | irix6* | nonstopux*)
15849	case $cc_basename in
15850	  CC*)
15851	    lt_prog_compiler_wl_CXX='-Wl,'
15852	    lt_prog_compiler_static_CXX='-non_shared'
15853	    # CC pic flag -KPIC is the default.
15854	    ;;
15855	  *)
15856	    ;;
15857	esac
15858	;;
15859      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15860	case $cc_basename in
15861	  KCC*)
15862	    # KAI C++ Compiler
15863	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15864	    lt_prog_compiler_pic_CXX='-fPIC'
15865	    ;;
15866	  ecpc* )
15867	    # old Intel C++ for x86_64, which still supported -KPIC.
15868	    lt_prog_compiler_wl_CXX='-Wl,'
15869	    lt_prog_compiler_pic_CXX='-KPIC'
15870	    lt_prog_compiler_static_CXX='-static'
15871	    ;;
15872	  icpc* )
15873	    # Intel C++, used to be incompatible with GCC.
15874	    # ICC 10 doesn't accept -KPIC any more.
15875	    lt_prog_compiler_wl_CXX='-Wl,'
15876	    lt_prog_compiler_pic_CXX='-fPIC'
15877	    lt_prog_compiler_static_CXX='-static'
15878	    ;;
15879	  pgCC* | pgcpp*)
15880	    # Portland Group C++ compiler
15881	    lt_prog_compiler_wl_CXX='-Wl,'
15882	    lt_prog_compiler_pic_CXX='-fpic'
15883	    lt_prog_compiler_static_CXX='-Bstatic'
15884	    ;;
15885	  cxx*)
15886	    # Compaq C++
15887	    # Make sure the PIC flag is empty.  It appears that all Alpha
15888	    # Linux and Compaq Tru64 Unix objects are PIC.
15889	    lt_prog_compiler_pic_CXX=
15890	    lt_prog_compiler_static_CXX='-non_shared'
15891	    ;;
15892	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15893	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15894	    lt_prog_compiler_wl_CXX='-Wl,'
15895	    lt_prog_compiler_pic_CXX='-qpic'
15896	    lt_prog_compiler_static_CXX='-qstaticlink'
15897	    ;;
15898	  *)
15899	    case `$CC -V 2>&1 | sed 5q` in
15900	    *Sun\ C*)
15901	      # Sun C++ 5.9
15902	      lt_prog_compiler_pic_CXX='-KPIC'
15903	      lt_prog_compiler_static_CXX='-Bstatic'
15904	      lt_prog_compiler_wl_CXX='-Qoption ld '
15905	      ;;
15906	    esac
15907	    ;;
15908	esac
15909	;;
15910      lynxos*)
15911	;;
15912      m88k*)
15913	;;
15914      mvs*)
15915	case $cc_basename in
15916	  cxx*)
15917	    lt_prog_compiler_pic_CXX='-W c,exportall'
15918	    ;;
15919	  *)
15920	    ;;
15921	esac
15922	;;
15923      netbsd* | netbsdelf*-gnu)
15924	;;
15925      *qnx* | *nto*)
15926        # QNX uses GNU C++, but need to define -shared option too, otherwise
15927        # it will coredump.
15928        lt_prog_compiler_pic_CXX='-fPIC -shared'
15929        ;;
15930      osf3* | osf4* | osf5*)
15931	case $cc_basename in
15932	  KCC*)
15933	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15934	    ;;
15935	  RCC*)
15936	    # Rational C++ 2.4.1
15937	    lt_prog_compiler_pic_CXX='-pic'
15938	    ;;
15939	  cxx*)
15940	    # Digital/Compaq C++
15941	    lt_prog_compiler_wl_CXX='-Wl,'
15942	    # Make sure the PIC flag is empty.  It appears that all Alpha
15943	    # Linux and Compaq Tru64 Unix objects are PIC.
15944	    lt_prog_compiler_pic_CXX=
15945	    lt_prog_compiler_static_CXX='-non_shared'
15946	    ;;
15947	  *)
15948	    ;;
15949	esac
15950	;;
15951      psos*)
15952	;;
15953      solaris*)
15954	case $cc_basename in
15955	  CC* | sunCC*)
15956	    # Sun C++ 4.2, 5.x and Centerline C++
15957	    lt_prog_compiler_pic_CXX='-KPIC'
15958	    lt_prog_compiler_static_CXX='-Bstatic'
15959	    lt_prog_compiler_wl_CXX='-Qoption ld '
15960	    ;;
15961	  gcx*)
15962	    # Green Hills C++ Compiler
15963	    lt_prog_compiler_pic_CXX='-PIC'
15964	    ;;
15965	  *)
15966	    ;;
15967	esac
15968	;;
15969      sunos4*)
15970	case $cc_basename in
15971	  CC*)
15972	    # Sun C++ 4.x
15973	    lt_prog_compiler_pic_CXX='-pic'
15974	    lt_prog_compiler_static_CXX='-Bstatic'
15975	    ;;
15976	  lcc*)
15977	    # Lucid
15978	    lt_prog_compiler_pic_CXX='-pic'
15979	    ;;
15980	  *)
15981	    ;;
15982	esac
15983	;;
15984      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15985	case $cc_basename in
15986	  CC*)
15987	    lt_prog_compiler_wl_CXX='-Wl,'
15988	    lt_prog_compiler_pic_CXX='-KPIC'
15989	    lt_prog_compiler_static_CXX='-Bstatic'
15990	    ;;
15991	esac
15992	;;
15993      tandem*)
15994	case $cc_basename in
15995	  NCC*)
15996	    # NonStop-UX NCC 3.20
15997	    lt_prog_compiler_pic_CXX='-KPIC'
15998	    ;;
15999	  *)
16000	    ;;
16001	esac
16002	;;
16003      vxworks*)
16004	;;
16005      *)
16006	lt_prog_compiler_can_build_shared_CXX=no
16007	;;
16008    esac
16009  fi
16010
16011case $host_os in
16012  # For platforms that do not support PIC, -DPIC is meaningless:
16013  *djgpp*)
16014    lt_prog_compiler_pic_CXX=
16015    ;;
16016  *)
16017    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16018    ;;
16019esac
16020
16021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16022$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16023if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16024  $as_echo_n "(cached) " >&6
16025else
16026  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16027fi
16028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16029$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16030lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16031
16032#
16033# Check to make sure the PIC flag actually works.
16034#
16035if test -n "$lt_prog_compiler_pic_CXX"; then
16036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16037$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16038if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16039  $as_echo_n "(cached) " >&6
16040else
16041  lt_cv_prog_compiler_pic_works_CXX=no
16042   ac_outfile=conftest.$ac_objext
16043   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16044   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16045   # Insert the option either (1) after the last *FLAGS variable, or
16046   # (2) before a word containing "conftest.", or (3) at the end.
16047   # Note that $ac_compile itself does not contain backslashes and begins
16048   # with a dollar sign (not a hyphen), so the echo should work correctly.
16049   # The option is referenced via a variable to avoid confusing sed.
16050   lt_compile=`echo "$ac_compile" | $SED \
16051   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16052   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16053   -e 's:$: $lt_compiler_flag:'`
16054   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16055   (eval "$lt_compile" 2>conftest.err)
16056   ac_status=$?
16057   cat conftest.err >&5
16058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059   if (exit $ac_status) && test -s "$ac_outfile"; then
16060     # The compiler can only warn and ignore the option if not recognized
16061     # So say no if there are warnings other than the usual output.
16062     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16063     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16064     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16065       lt_cv_prog_compiler_pic_works_CXX=yes
16066     fi
16067   fi
16068   $RM conftest*
16069
16070fi
16071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16072$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16073
16074if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16075    case $lt_prog_compiler_pic_CXX in
16076     "" | " "*) ;;
16077     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16078     esac
16079else
16080    lt_prog_compiler_pic_CXX=
16081     lt_prog_compiler_can_build_shared_CXX=no
16082fi
16083
16084fi
16085
16086
16087
16088
16089
16090#
16091# Check to make sure the static flag actually works.
16092#
16093wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16095$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16096if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16097  $as_echo_n "(cached) " >&6
16098else
16099  lt_cv_prog_compiler_static_works_CXX=no
16100   save_LDFLAGS=$LDFLAGS
16101   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16102   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16103   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16104     # The linker can only warn and ignore the option if not recognized
16105     # So say no if there are warnings
16106     if test -s conftest.err; then
16107       # Append any errors to the config.log.
16108       cat conftest.err 1>&5
16109       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16110       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16111       if diff conftest.exp conftest.er2 >/dev/null; then
16112         lt_cv_prog_compiler_static_works_CXX=yes
16113       fi
16114     else
16115       lt_cv_prog_compiler_static_works_CXX=yes
16116     fi
16117   fi
16118   $RM -r conftest*
16119   LDFLAGS=$save_LDFLAGS
16120
16121fi
16122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16123$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16124
16125if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16126    :
16127else
16128    lt_prog_compiler_static_CXX=
16129fi
16130
16131
16132
16133
16134    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16135$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16136if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16137  $as_echo_n "(cached) " >&6
16138else
16139  lt_cv_prog_compiler_c_o_CXX=no
16140   $RM -r conftest 2>/dev/null
16141   mkdir conftest
16142   cd conftest
16143   mkdir out
16144   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16145
16146   lt_compiler_flag="-o out/conftest2.$ac_objext"
16147   # Insert the option either (1) after the last *FLAGS variable, or
16148   # (2) before a word containing "conftest.", or (3) at the end.
16149   # Note that $ac_compile itself does not contain backslashes and begins
16150   # with a dollar sign (not a hyphen), so the echo should work correctly.
16151   lt_compile=`echo "$ac_compile" | $SED \
16152   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16153   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16154   -e 's:$: $lt_compiler_flag:'`
16155   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16156   (eval "$lt_compile" 2>out/conftest.err)
16157   ac_status=$?
16158   cat out/conftest.err >&5
16159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16161   then
16162     # The compiler can only warn and ignore the option if not recognized
16163     # So say no if there are warnings
16164     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16165     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16166     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16167       lt_cv_prog_compiler_c_o_CXX=yes
16168     fi
16169   fi
16170   chmod u+w . 2>&5
16171   $RM conftest*
16172   # SGI C++ compiler will create directory out/ii_files/ for
16173   # template instantiation
16174   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16175   $RM out/* && rmdir out
16176   cd ..
16177   $RM -r conftest
16178   $RM conftest*
16179
16180fi
16181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16182$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16183
16184
16185
16186    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16187$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16188if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16189  $as_echo_n "(cached) " >&6
16190else
16191  lt_cv_prog_compiler_c_o_CXX=no
16192   $RM -r conftest 2>/dev/null
16193   mkdir conftest
16194   cd conftest
16195   mkdir out
16196   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16197
16198   lt_compiler_flag="-o out/conftest2.$ac_objext"
16199   # Insert the option either (1) after the last *FLAGS variable, or
16200   # (2) before a word containing "conftest.", or (3) at the end.
16201   # Note that $ac_compile itself does not contain backslashes and begins
16202   # with a dollar sign (not a hyphen), so the echo should work correctly.
16203   lt_compile=`echo "$ac_compile" | $SED \
16204   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16205   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16206   -e 's:$: $lt_compiler_flag:'`
16207   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16208   (eval "$lt_compile" 2>out/conftest.err)
16209   ac_status=$?
16210   cat out/conftest.err >&5
16211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16213   then
16214     # The compiler can only warn and ignore the option if not recognized
16215     # So say no if there are warnings
16216     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16217     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16218     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16219       lt_cv_prog_compiler_c_o_CXX=yes
16220     fi
16221   fi
16222   chmod u+w . 2>&5
16223   $RM conftest*
16224   # SGI C++ compiler will create directory out/ii_files/ for
16225   # template instantiation
16226   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16227   $RM out/* && rmdir out
16228   cd ..
16229   $RM -r conftest
16230   $RM conftest*
16231
16232fi
16233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16234$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16235
16236
16237
16238
16239hard_links=nottested
16240if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16241  # do not overwrite the value of need_locks provided by the user
16242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16243$as_echo_n "checking if we can lock with hard links... " >&6; }
16244  hard_links=yes
16245  $RM conftest*
16246  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16247  touch conftest.a
16248  ln conftest.a conftest.b 2>&5 || hard_links=no
16249  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16251$as_echo "$hard_links" >&6; }
16252  if test no = "$hard_links"; then
16253    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16254$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16255    need_locks=warn
16256  fi
16257else
16258  need_locks=no
16259fi
16260
16261
16262
16263    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16264$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16265
16266  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16267  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16268  case $host_os in
16269  aix[4-9]*)
16270    # If we're using GNU nm, then we don't want the "-C" option.
16271    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16272    # Without the "-l" option, or with the "-B" option, AIX nm treats
16273    # weak defined symbols like other global defined symbols, whereas
16274    # GNU nm marks them as "W".
16275    # While the 'weak' keyword is ignored in the Export File, we need
16276    # it in the Import File for the 'aix-soname' feature, so we have
16277    # to replace the "-B" option with "-P" for AIX nm.
16278    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16279      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'
16280    else
16281      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'
16282    fi
16283    ;;
16284  pw32*)
16285    export_symbols_cmds_CXX=$ltdll_cmds
16286    ;;
16287  cygwin* | mingw* | cegcc*)
16288    case $cc_basename in
16289    cl*)
16290      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16291      ;;
16292    *)
16293      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'
16294      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16295      ;;
16296    esac
16297    ;;
16298  linux* | k*bsd*-gnu | gnu*)
16299    link_all_deplibs_CXX=no
16300    ;;
16301  *)
16302    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16303    ;;
16304  esac
16305
16306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16307$as_echo "$ld_shlibs_CXX" >&6; }
16308test no = "$ld_shlibs_CXX" && can_build_shared=no
16309
16310with_gnu_ld_CXX=$with_gnu_ld
16311
16312
16313
16314
16315
16316
16317#
16318# Do we need to explicitly link libc?
16319#
16320case "x$archive_cmds_need_lc_CXX" in
16321x|xyes)
16322  # Assume -lc should be added
16323  archive_cmds_need_lc_CXX=yes
16324
16325  if test yes,yes = "$GCC,$enable_shared"; then
16326    case $archive_cmds_CXX in
16327    *'~'*)
16328      # FIXME: we may have to deal with multi-command sequences.
16329      ;;
16330    '$CC '*)
16331      # Test whether the compiler implicitly links with -lc since on some
16332      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16333      # to ld, don't add -lc before -lgcc.
16334      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16335$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16336if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16337  $as_echo_n "(cached) " >&6
16338else
16339  $RM conftest*
16340	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16341
16342	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16343  (eval $ac_compile) 2>&5
16344  ac_status=$?
16345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16346  test $ac_status = 0; } 2>conftest.err; then
16347	  soname=conftest
16348	  lib=conftest
16349	  libobjs=conftest.$ac_objext
16350	  deplibs=
16351	  wl=$lt_prog_compiler_wl_CXX
16352	  pic_flag=$lt_prog_compiler_pic_CXX
16353	  compiler_flags=-v
16354	  linker_flags=-v
16355	  verstring=
16356	  output_objdir=.
16357	  libname=conftest
16358	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16359	  allow_undefined_flag_CXX=
16360	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16361  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16362  ac_status=$?
16363  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16364  test $ac_status = 0; }
16365	  then
16366	    lt_cv_archive_cmds_need_lc_CXX=no
16367	  else
16368	    lt_cv_archive_cmds_need_lc_CXX=yes
16369	  fi
16370	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16371	else
16372	  cat conftest.err 1>&5
16373	fi
16374	$RM conftest*
16375
16376fi
16377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16378$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16379      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16380      ;;
16381    esac
16382  fi
16383  ;;
16384esac
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16448$as_echo_n "checking dynamic linker characteristics... " >&6; }
16449
16450library_names_spec=
16451libname_spec='lib$name'
16452soname_spec=
16453shrext_cmds=.so
16454postinstall_cmds=
16455postuninstall_cmds=
16456finish_cmds=
16457finish_eval=
16458shlibpath_var=
16459shlibpath_overrides_runpath=unknown
16460version_type=none
16461dynamic_linker="$host_os ld.so"
16462sys_lib_dlsearch_path_spec="/lib /usr/lib"
16463need_lib_prefix=unknown
16464hardcode_into_libs=no
16465
16466# when you set need_version to no, make sure it does not cause -set_version
16467# flags to be left without arguments
16468need_version=unknown
16469
16470
16471
16472case $host_os in
16473aix3*)
16474  version_type=linux # correct to gnu/linux during the next big refactor
16475  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16476  shlibpath_var=LIBPATH
16477
16478  # AIX 3 has no versioning support, so we append a major version to the name.
16479  soname_spec='$libname$release$shared_ext$major'
16480  ;;
16481
16482aix[4-9]*)
16483  version_type=linux # correct to gnu/linux during the next big refactor
16484  need_lib_prefix=no
16485  need_version=no
16486  hardcode_into_libs=yes
16487  if test ia64 = "$host_cpu"; then
16488    # AIX 5 supports IA64
16489    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16490    shlibpath_var=LD_LIBRARY_PATH
16491  else
16492    # With GCC up to 2.95.x, collect2 would create an import file
16493    # for dependence libraries.  The import file would start with
16494    # the line '#! .'.  This would cause the generated library to
16495    # depend on '.', always an invalid library.  This was fixed in
16496    # development snapshots of GCC prior to 3.0.
16497    case $host_os in
16498      aix4 | aix4.[01] | aix4.[01].*)
16499      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16500	   echo ' yes '
16501	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16502	:
16503      else
16504	can_build_shared=no
16505      fi
16506      ;;
16507    esac
16508    # Using Import Files as archive members, it is possible to support
16509    # filename-based versioning of shared library archives on AIX. While
16510    # this would work for both with and without runtime linking, it will
16511    # prevent static linking of such archives. So we do filename-based
16512    # shared library versioning with .so extension only, which is used
16513    # when both runtime linking and shared linking is enabled.
16514    # Unfortunately, runtime linking may impact performance, so we do
16515    # not want this to be the default eventually. Also, we use the
16516    # versioned .so libs for executables only if there is the -brtl
16517    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16518    # To allow for filename-based versioning support, we need to create
16519    # libNAME.so.V as an archive file, containing:
16520    # *) an Import File, referring to the versioned filename of the
16521    #    archive as well as the shared archive member, telling the
16522    #    bitwidth (32 or 64) of that shared object, and providing the
16523    #    list of exported symbols of that shared object, eventually
16524    #    decorated with the 'weak' keyword
16525    # *) the shared object with the F_LOADONLY flag set, to really avoid
16526    #    it being seen by the linker.
16527    # At run time we better use the real file rather than another symlink,
16528    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16529
16530    case $with_aix_soname,$aix_use_runtimelinking in
16531    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16532    # soname into executable. Probably we can add versioning support to
16533    # collect2, so additional links can be useful in future.
16534    aix,yes) # traditional libtool
16535      dynamic_linker='AIX unversionable lib.so'
16536      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16537      # instead of lib<name>.a to let people know that these are not
16538      # typical AIX shared libraries.
16539      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16540      ;;
16541    aix,no) # traditional AIX only
16542      dynamic_linker='AIX lib.a(lib.so.V)'
16543      # We preserve .a as extension for shared libraries through AIX4.2
16544      # and later when we are not doing run time linking.
16545      library_names_spec='$libname$release.a $libname.a'
16546      soname_spec='$libname$release$shared_ext$major'
16547      ;;
16548    svr4,*) # full svr4 only
16549      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16550      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16551      # We do not specify a path in Import Files, so LIBPATH fires.
16552      shlibpath_overrides_runpath=yes
16553      ;;
16554    *,yes) # both, prefer svr4
16555      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16556      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16557      # unpreferred sharedlib libNAME.a needs extra handling
16558      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"'
16559      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"'
16560      # We do not specify a path in Import Files, so LIBPATH fires.
16561      shlibpath_overrides_runpath=yes
16562      ;;
16563    *,no) # both, prefer aix
16564      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16565      library_names_spec='$libname$release.a $libname.a'
16566      soname_spec='$libname$release$shared_ext$major'
16567      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16568      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)'
16569      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"'
16570      ;;
16571    esac
16572    shlibpath_var=LIBPATH
16573  fi
16574  ;;
16575
16576amigaos*)
16577  case $host_cpu in
16578  powerpc)
16579    # Since July 2007 AmigaOS4 officially supports .so libraries.
16580    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16581    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16582    ;;
16583  m68k)
16584    library_names_spec='$libname.ixlibrary $libname.a'
16585    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16586    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'
16587    ;;
16588  esac
16589  ;;
16590
16591beos*)
16592  library_names_spec='$libname$shared_ext'
16593  dynamic_linker="$host_os ld.so"
16594  shlibpath_var=LIBRARY_PATH
16595  ;;
16596
16597bsdi[45]*)
16598  version_type=linux # correct to gnu/linux during the next big refactor
16599  need_version=no
16600  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16601  soname_spec='$libname$release$shared_ext$major'
16602  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16603  shlibpath_var=LD_LIBRARY_PATH
16604  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16605  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16606  # the default ld.so.conf also contains /usr/contrib/lib and
16607  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16608  # libtool to hard-code these into programs
16609  ;;
16610
16611cygwin* | mingw* | pw32* | cegcc*)
16612  version_type=windows
16613  shrext_cmds=.dll
16614  need_version=no
16615  need_lib_prefix=no
16616
16617  case $GCC,$cc_basename in
16618  yes,*)
16619    # gcc
16620    library_names_spec='$libname.dll.a'
16621    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16622    postinstall_cmds='base_file=`basename \$file`~
16623      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16624      dldir=$destdir/`dirname \$dlpath`~
16625      test -d \$dldir || mkdir -p \$dldir~
16626      $install_prog $dir/$dlname \$dldir/$dlname~
16627      chmod a+x \$dldir/$dlname~
16628      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16629        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16630      fi'
16631    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16632      dlpath=$dir/\$dldll~
16633       $RM \$dlpath'
16634    shlibpath_overrides_runpath=yes
16635
16636    case $host_os in
16637    cygwin*)
16638      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16639      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16640
16641      ;;
16642    mingw* | cegcc*)
16643      # MinGW DLLs use traditional 'lib' prefix
16644      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16645      ;;
16646    pw32*)
16647      # pw32 DLLs use 'pw' prefix rather than 'lib'
16648      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16649      ;;
16650    esac
16651    dynamic_linker='Win32 ld.exe'
16652    ;;
16653
16654  *,cl*)
16655    # Native MSVC
16656    libname_spec='$name'
16657    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16658    library_names_spec='$libname.dll.lib'
16659
16660    case $build_os in
16661    mingw*)
16662      sys_lib_search_path_spec=
16663      lt_save_ifs=$IFS
16664      IFS=';'
16665      for lt_path in $LIB
16666      do
16667        IFS=$lt_save_ifs
16668        # Let DOS variable expansion print the short 8.3 style file name.
16669        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16670        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16671      done
16672      IFS=$lt_save_ifs
16673      # Convert to MSYS style.
16674      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16675      ;;
16676    cygwin*)
16677      # Convert to unix form, then to dos form, then back to unix form
16678      # but this time dos style (no spaces!) so that the unix form looks
16679      # like /cygdrive/c/PROGRA~1:/cygdr...
16680      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16681      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16682      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16683      ;;
16684    *)
16685      sys_lib_search_path_spec=$LIB
16686      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16687        # It is most probably a Windows format PATH.
16688        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16689      else
16690        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16691      fi
16692      # FIXME: find the short name or the path components, as spaces are
16693      # common. (e.g. "Program Files" -> "PROGRA~1")
16694      ;;
16695    esac
16696
16697    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16698    postinstall_cmds='base_file=`basename \$file`~
16699      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16700      dldir=$destdir/`dirname \$dlpath`~
16701      test -d \$dldir || mkdir -p \$dldir~
16702      $install_prog $dir/$dlname \$dldir/$dlname'
16703    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16704      dlpath=$dir/\$dldll~
16705       $RM \$dlpath'
16706    shlibpath_overrides_runpath=yes
16707    dynamic_linker='Win32 link.exe'
16708    ;;
16709
16710  *)
16711    # Assume MSVC wrapper
16712    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16713    dynamic_linker='Win32 ld.exe'
16714    ;;
16715  esac
16716  # FIXME: first we should search . and the directory the executable is in
16717  shlibpath_var=PATH
16718  ;;
16719
16720darwin* | rhapsody*)
16721  dynamic_linker="$host_os dyld"
16722  version_type=darwin
16723  need_lib_prefix=no
16724  need_version=no
16725  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16726  soname_spec='$libname$release$major$shared_ext'
16727  shlibpath_overrides_runpath=yes
16728  shlibpath_var=DYLD_LIBRARY_PATH
16729  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16730
16731  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16732  ;;
16733
16734dgux*)
16735  version_type=linux # correct to gnu/linux during the next big refactor
16736  need_lib_prefix=no
16737  need_version=no
16738  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16739  soname_spec='$libname$release$shared_ext$major'
16740  shlibpath_var=LD_LIBRARY_PATH
16741  ;;
16742
16743freebsd* | dragonfly*)
16744  # DragonFly does not have aout.  When/if they implement a new
16745  # versioning mechanism, adjust this.
16746  if test -x /usr/bin/objformat; then
16747    objformat=`/usr/bin/objformat`
16748  else
16749    case $host_os in
16750    freebsd[23].*) objformat=aout ;;
16751    *) objformat=elf ;;
16752    esac
16753  fi
16754  version_type=freebsd-$objformat
16755  case $version_type in
16756    freebsd-elf*)
16757      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16758      soname_spec='$libname$release$shared_ext$major'
16759      need_version=no
16760      need_lib_prefix=no
16761      ;;
16762    freebsd-*)
16763      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16764      need_version=yes
16765      ;;
16766  esac
16767  shlibpath_var=LD_LIBRARY_PATH
16768  case $host_os in
16769  freebsd2.*)
16770    shlibpath_overrides_runpath=yes
16771    ;;
16772  freebsd3.[01]* | freebsdelf3.[01]*)
16773    shlibpath_overrides_runpath=yes
16774    hardcode_into_libs=yes
16775    ;;
16776  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16777  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16778    shlibpath_overrides_runpath=no
16779    hardcode_into_libs=yes
16780    ;;
16781  *) # from 4.6 on, and DragonFly
16782    shlibpath_overrides_runpath=yes
16783    hardcode_into_libs=yes
16784    ;;
16785  esac
16786  ;;
16787
16788haiku*)
16789  version_type=linux # correct to gnu/linux during the next big refactor
16790  need_lib_prefix=no
16791  need_version=no
16792  dynamic_linker="$host_os runtime_loader"
16793  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16794  soname_spec='$libname$release$shared_ext$major'
16795  shlibpath_var=LIBRARY_PATH
16796  shlibpath_overrides_runpath=no
16797  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16798  hardcode_into_libs=yes
16799  ;;
16800
16801hpux9* | hpux10* | hpux11*)
16802  # Give a soname corresponding to the major version so that dld.sl refuses to
16803  # link against other versions.
16804  version_type=sunos
16805  need_lib_prefix=no
16806  need_version=no
16807  case $host_cpu in
16808  ia64*)
16809    shrext_cmds='.so'
16810    hardcode_into_libs=yes
16811    dynamic_linker="$host_os dld.so"
16812    shlibpath_var=LD_LIBRARY_PATH
16813    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16814    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16815    soname_spec='$libname$release$shared_ext$major'
16816    if test 32 = "$HPUX_IA64_MODE"; then
16817      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16818      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16819    else
16820      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16821      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16822    fi
16823    ;;
16824  hppa*64*)
16825    shrext_cmds='.sl'
16826    hardcode_into_libs=yes
16827    dynamic_linker="$host_os dld.sl"
16828    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16829    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16830    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16831    soname_spec='$libname$release$shared_ext$major'
16832    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16833    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16834    ;;
16835  *)
16836    shrext_cmds='.sl'
16837    dynamic_linker="$host_os dld.sl"
16838    shlibpath_var=SHLIB_PATH
16839    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16840    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16841    soname_spec='$libname$release$shared_ext$major'
16842    ;;
16843  esac
16844  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16845  postinstall_cmds='chmod 555 $lib'
16846  # or fails outright, so override atomically:
16847  install_override_mode=555
16848  ;;
16849
16850interix[3-9]*)
16851  version_type=linux # correct to gnu/linux during the next big refactor
16852  need_lib_prefix=no
16853  need_version=no
16854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16855  soname_spec='$libname$release$shared_ext$major'
16856  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16857  shlibpath_var=LD_LIBRARY_PATH
16858  shlibpath_overrides_runpath=no
16859  hardcode_into_libs=yes
16860  ;;
16861
16862irix5* | irix6* | nonstopux*)
16863  case $host_os in
16864    nonstopux*) version_type=nonstopux ;;
16865    *)
16866	if test yes = "$lt_cv_prog_gnu_ld"; then
16867		version_type=linux # correct to gnu/linux during the next big refactor
16868	else
16869		version_type=irix
16870	fi ;;
16871  esac
16872  need_lib_prefix=no
16873  need_version=no
16874  soname_spec='$libname$release$shared_ext$major'
16875  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16876  case $host_os in
16877  irix5* | nonstopux*)
16878    libsuff= shlibsuff=
16879    ;;
16880  *)
16881    case $LD in # libtool.m4 will add one of these switches to LD
16882    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16883      libsuff= shlibsuff= libmagic=32-bit;;
16884    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16885      libsuff=32 shlibsuff=N32 libmagic=N32;;
16886    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16887      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16888    *) libsuff= shlibsuff= libmagic=never-match;;
16889    esac
16890    ;;
16891  esac
16892  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16893  shlibpath_overrides_runpath=no
16894  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16895  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16896  hardcode_into_libs=yes
16897  ;;
16898
16899# No shared lib support for Linux oldld, aout, or coff.
16900linux*oldld* | linux*aout* | linux*coff*)
16901  dynamic_linker=no
16902  ;;
16903
16904linux*android*)
16905  version_type=none # Android doesn't support versioned libraries.
16906  need_lib_prefix=no
16907  need_version=no
16908  library_names_spec='$libname$release$shared_ext'
16909  soname_spec='$libname$release$shared_ext'
16910  finish_cmds=
16911  shlibpath_var=LD_LIBRARY_PATH
16912  shlibpath_overrides_runpath=yes
16913
16914  # This implies no fast_install, which is unacceptable.
16915  # Some rework will be needed to allow for fast_install
16916  # before this can be enabled.
16917  hardcode_into_libs=yes
16918
16919  dynamic_linker='Android linker'
16920  # Don't embed -rpath directories since the linker doesn't support them.
16921  hardcode_libdir_flag_spec_CXX='-L$libdir'
16922  ;;
16923
16924# This must be glibc/ELF.
16925linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16926  version_type=linux # correct to gnu/linux during the next big refactor
16927  need_lib_prefix=no
16928  need_version=no
16929  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16930  soname_spec='$libname$release$shared_ext$major'
16931  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16932  shlibpath_var=LD_LIBRARY_PATH
16933  shlibpath_overrides_runpath=no
16934
16935  # Some binutils ld are patched to set DT_RUNPATH
16936  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16937  $as_echo_n "(cached) " >&6
16938else
16939  lt_cv_shlibpath_overrides_runpath=no
16940    save_LDFLAGS=$LDFLAGS
16941    save_libdir=$libdir
16942    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16943	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16944    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945/* end confdefs.h.  */
16946
16947int
16948main ()
16949{
16950
16951  ;
16952  return 0;
16953}
16954_ACEOF
16955if ac_fn_cxx_try_link "$LINENO"; then :
16956  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16957  lt_cv_shlibpath_overrides_runpath=yes
16958fi
16959fi
16960rm -f core conftest.err conftest.$ac_objext \
16961    conftest$ac_exeext conftest.$ac_ext
16962    LDFLAGS=$save_LDFLAGS
16963    libdir=$save_libdir
16964
16965fi
16966
16967  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16968
16969  # This implies no fast_install, which is unacceptable.
16970  # Some rework will be needed to allow for fast_install
16971  # before this can be enabled.
16972  hardcode_into_libs=yes
16973
16974  # Ideally, we could use ldconfig to report *all* directores which are
16975  # searched for libraries, however this is still not possible.  Aside from not
16976  # being certain /sbin/ldconfig is available, command
16977  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16978  # even though it is searched at run-time.  Try to do the best guess by
16979  # appending ld.so.conf contents (and includes) to the search path.
16980  if test -f /etc/ld.so.conf; then
16981    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' ' '`
16982    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16983  fi
16984
16985  # We used to test for /lib/ld.so.1 and disable shared libraries on
16986  # powerpc, because MkLinux only supported shared libraries with the
16987  # GNU dynamic linker.  Since this was broken with cross compilers,
16988  # most powerpc-linux boxes support dynamic linking these days and
16989  # people can always --disable-shared, the test was removed, and we
16990  # assume the GNU/Linux dynamic linker is in use.
16991  dynamic_linker='GNU/Linux ld.so'
16992  ;;
16993
16994netbsdelf*-gnu)
16995  version_type=linux
16996  need_lib_prefix=no
16997  need_version=no
16998  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16999  soname_spec='${libname}${release}${shared_ext}$major'
17000  shlibpath_var=LD_LIBRARY_PATH
17001  shlibpath_overrides_runpath=no
17002  hardcode_into_libs=yes
17003  dynamic_linker='NetBSD ld.elf_so'
17004  ;;
17005
17006netbsd*)
17007  version_type=sunos
17008  need_lib_prefix=no
17009  need_version=no
17010  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17011    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17012    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17013    dynamic_linker='NetBSD (a.out) ld.so'
17014  else
17015    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17016    soname_spec='$libname$release$shared_ext$major'
17017    dynamic_linker='NetBSD ld.elf_so'
17018  fi
17019  shlibpath_var=LD_LIBRARY_PATH
17020  shlibpath_overrides_runpath=yes
17021  hardcode_into_libs=yes
17022  ;;
17023
17024newsos6)
17025  version_type=linux # correct to gnu/linux during the next big refactor
17026  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17027  shlibpath_var=LD_LIBRARY_PATH
17028  shlibpath_overrides_runpath=yes
17029  ;;
17030
17031*nto* | *qnx*)
17032  version_type=qnx
17033  need_lib_prefix=no
17034  need_version=no
17035  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17036  soname_spec='$libname$release$shared_ext$major'
17037  shlibpath_var=LD_LIBRARY_PATH
17038  shlibpath_overrides_runpath=no
17039  hardcode_into_libs=yes
17040  dynamic_linker='ldqnx.so'
17041  ;;
17042
17043openbsd* | bitrig*)
17044  version_type=sunos
17045  sys_lib_dlsearch_path_spec=/usr/lib
17046  need_lib_prefix=no
17047  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17048    need_version=no
17049  else
17050    need_version=yes
17051  fi
17052  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17053  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17054  shlibpath_var=LD_LIBRARY_PATH
17055  shlibpath_overrides_runpath=yes
17056  ;;
17057
17058os2*)
17059  libname_spec='$name'
17060  version_type=windows
17061  shrext_cmds=.dll
17062  need_version=no
17063  need_lib_prefix=no
17064  # OS/2 can only load a DLL with a base name of 8 characters or less.
17065  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17066    v=$($ECHO $release$versuffix | tr -d .-);
17067    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17068    $ECHO $n$v`$shared_ext'
17069  library_names_spec='${libname}_dll.$libext'
17070  dynamic_linker='OS/2 ld.exe'
17071  shlibpath_var=BEGINLIBPATH
17072  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17073  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17074  postinstall_cmds='base_file=`basename \$file`~
17075    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17076    dldir=$destdir/`dirname \$dlpath`~
17077    test -d \$dldir || mkdir -p \$dldir~
17078    $install_prog $dir/$dlname \$dldir/$dlname~
17079    chmod a+x \$dldir/$dlname~
17080    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17081      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17082    fi'
17083  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17084    dlpath=$dir/\$dldll~
17085    $RM \$dlpath'
17086  ;;
17087
17088osf3* | osf4* | osf5*)
17089  version_type=osf
17090  need_lib_prefix=no
17091  need_version=no
17092  soname_spec='$libname$release$shared_ext$major'
17093  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17094  shlibpath_var=LD_LIBRARY_PATH
17095  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17096  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17097  ;;
17098
17099rdos*)
17100  dynamic_linker=no
17101  ;;
17102
17103solaris*)
17104  version_type=linux # correct to gnu/linux during the next big refactor
17105  need_lib_prefix=no
17106  need_version=no
17107  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17108  soname_spec='$libname$release$shared_ext$major'
17109  shlibpath_var=LD_LIBRARY_PATH
17110  shlibpath_overrides_runpath=yes
17111  hardcode_into_libs=yes
17112  # ldd complains unless libraries are executable
17113  postinstall_cmds='chmod +x $lib'
17114  ;;
17115
17116sunos4*)
17117  version_type=sunos
17118  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17119  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17120  shlibpath_var=LD_LIBRARY_PATH
17121  shlibpath_overrides_runpath=yes
17122  if test yes = "$with_gnu_ld"; then
17123    need_lib_prefix=no
17124  fi
17125  need_version=yes
17126  ;;
17127
17128sysv4 | sysv4.3*)
17129  version_type=linux # correct to gnu/linux during the next big refactor
17130  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17131  soname_spec='$libname$release$shared_ext$major'
17132  shlibpath_var=LD_LIBRARY_PATH
17133  case $host_vendor in
17134    sni)
17135      shlibpath_overrides_runpath=no
17136      need_lib_prefix=no
17137      runpath_var=LD_RUN_PATH
17138      ;;
17139    siemens)
17140      need_lib_prefix=no
17141      ;;
17142    motorola)
17143      need_lib_prefix=no
17144      need_version=no
17145      shlibpath_overrides_runpath=no
17146      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17147      ;;
17148  esac
17149  ;;
17150
17151sysv4*MP*)
17152  if test -d /usr/nec; then
17153    version_type=linux # correct to gnu/linux during the next big refactor
17154    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17155    soname_spec='$libname$shared_ext.$major'
17156    shlibpath_var=LD_LIBRARY_PATH
17157  fi
17158  ;;
17159
17160sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17161  version_type=sco
17162  need_lib_prefix=no
17163  need_version=no
17164  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17165  soname_spec='$libname$release$shared_ext$major'
17166  shlibpath_var=LD_LIBRARY_PATH
17167  shlibpath_overrides_runpath=yes
17168  hardcode_into_libs=yes
17169  if test yes = "$with_gnu_ld"; then
17170    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17171  else
17172    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17173    case $host_os in
17174      sco3.2v5*)
17175        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17176	;;
17177    esac
17178  fi
17179  sys_lib_dlsearch_path_spec='/usr/lib'
17180  ;;
17181
17182tpf*)
17183  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17184  version_type=linux # correct to gnu/linux during the next big refactor
17185  need_lib_prefix=no
17186  need_version=no
17187  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17188  shlibpath_var=LD_LIBRARY_PATH
17189  shlibpath_overrides_runpath=no
17190  hardcode_into_libs=yes
17191  ;;
17192
17193uts4*)
17194  version_type=linux # correct to gnu/linux during the next big refactor
17195  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17196  soname_spec='$libname$release$shared_ext$major'
17197  shlibpath_var=LD_LIBRARY_PATH
17198  ;;
17199
17200*)
17201  dynamic_linker=no
17202  ;;
17203esac
17204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17205$as_echo "$dynamic_linker" >&6; }
17206test no = "$dynamic_linker" && can_build_shared=no
17207
17208variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17209if test yes = "$GCC"; then
17210  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17211fi
17212
17213if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17214  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17215fi
17216
17217if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17218  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17219fi
17220
17221# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17222configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17223
17224# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17225func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17226
17227# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17228configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17270$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17271hardcode_action_CXX=
17272if test -n "$hardcode_libdir_flag_spec_CXX" ||
17273   test -n "$runpath_var_CXX" ||
17274   test yes = "$hardcode_automatic_CXX"; then
17275
17276  # We can hardcode non-existent directories.
17277  if test no != "$hardcode_direct_CXX" &&
17278     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17279     # have to relink, otherwise we might link with an installed library
17280     # when we should be linking with a yet-to-be-installed one
17281     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17282     test no != "$hardcode_minus_L_CXX"; then
17283    # Linking always hardcodes the temporary library directory.
17284    hardcode_action_CXX=relink
17285  else
17286    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17287    hardcode_action_CXX=immediate
17288  fi
17289else
17290  # We cannot hardcode anything, or else we can only hardcode existing
17291  # directories.
17292  hardcode_action_CXX=unsupported
17293fi
17294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17295$as_echo "$hardcode_action_CXX" >&6; }
17296
17297if test relink = "$hardcode_action_CXX" ||
17298   test yes = "$inherit_rpath_CXX"; then
17299  # Fast installation is not supported
17300  enable_fast_install=no
17301elif test yes = "$shlibpath_overrides_runpath" ||
17302     test no = "$enable_shared"; then
17303  # Fast installation is not necessary
17304  enable_fast_install=needless
17305fi
17306
17307
17308
17309
17310
17311
17312
17313  fi # test -n "$compiler"
17314
17315  CC=$lt_save_CC
17316  CFLAGS=$lt_save_CFLAGS
17317  LDCXX=$LD
17318  LD=$lt_save_LD
17319  GCC=$lt_save_GCC
17320  with_gnu_ld=$lt_save_with_gnu_ld
17321  lt_cv_path_LDCXX=$lt_cv_path_LD
17322  lt_cv_path_LD=$lt_save_path_LD
17323  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17324  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17325fi # test yes != "$_lt_caught_CXX_error"
17326
17327ac_ext=c
17328ac_cpp='$CPP $CPPFLAGS'
17329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331ac_compiler_gnu=$ac_cv_c_compiler_gnu
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347        ac_config_commands="$ac_config_commands libtool"
17348
17349
17350
17351
17352# Only expand once:
17353
17354
17355ac_ext=cpp
17356ac_cpp='$CXXCPP $CPPFLAGS'
17357ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17358ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17359ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17360
17361
17362
17363echo "------------------------------------------------------------------"
17364echo "4. Section: Libraries"
17365echo "------------------------------------------------------------------"
17366
17367
17368ac_ext=c
17369ac_cpp='$CPP $CPPFLAGS'
17370ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17371ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17372ac_compiler_gnu=$ac_cv_c_compiler_gnu
17373
17374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
17375$as_echo_n "checking for library containing inet_ntoa... " >&6; }
17376if ${ac_cv_search_inet_ntoa+:} false; then :
17377  $as_echo_n "(cached) " >&6
17378else
17379  ac_func_search_save_LIBS=$LIBS
17380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381/* end confdefs.h.  */
17382
17383/* Override any GCC internal prototype to avoid an error.
17384   Use char because int might match the return type of a GCC
17385   builtin and then its argument prototype would still apply.  */
17386#ifdef __cplusplus
17387extern "C"
17388#endif
17389char inet_ntoa ();
17390int
17391main ()
17392{
17393return inet_ntoa ();
17394  ;
17395  return 0;
17396}
17397_ACEOF
17398for ac_lib in '' socket nsl; do
17399  if test -z "$ac_lib"; then
17400    ac_res="none required"
17401  else
17402    ac_res=-l$ac_lib
17403    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17404  fi
17405  if ac_fn_c_try_link "$LINENO"; then :
17406  ac_cv_search_inet_ntoa=$ac_res
17407fi
17408rm -f core conftest.err conftest.$ac_objext \
17409    conftest$ac_exeext
17410  if ${ac_cv_search_inet_ntoa+:} false; then :
17411  break
17412fi
17413done
17414if ${ac_cv_search_inet_ntoa+:} false; then :
17415
17416else
17417  ac_cv_search_inet_ntoa=no
17418fi
17419rm conftest.$ac_ext
17420LIBS=$ac_func_search_save_LIBS
17421fi
17422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
17423$as_echo "$ac_cv_search_inet_ntoa" >&6; }
17424ac_res=$ac_cv_search_inet_ntoa
17425if test "$ac_res" != no; then :
17426  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17427
17428else
17429  as_fn_error $? "*** required inet_ntoa() function not found! ***" "$LINENO" 5
17430fi
17431
17432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17433$as_echo_n "checking for library containing nanosleep... " >&6; }
17434if ${ac_cv_search_nanosleep+:} false; then :
17435  $as_echo_n "(cached) " >&6
17436else
17437  ac_func_search_save_LIBS=$LIBS
17438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439/* end confdefs.h.  */
17440
17441/* Override any GCC internal prototype to avoid an error.
17442   Use char because int might match the return type of a GCC
17443   builtin and then its argument prototype would still apply.  */
17444#ifdef __cplusplus
17445extern "C"
17446#endif
17447char nanosleep ();
17448int
17449main ()
17450{
17451return nanosleep ();
17452  ;
17453  return 0;
17454}
17455_ACEOF
17456for ac_lib in '' rt posix4; do
17457  if test -z "$ac_lib"; then
17458    ac_res="none required"
17459  else
17460    ac_res=-l$ac_lib
17461    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17462  fi
17463  if ac_fn_c_try_link "$LINENO"; then :
17464  ac_cv_search_nanosleep=$ac_res
17465fi
17466rm -f core conftest.err conftest.$ac_objext \
17467    conftest$ac_exeext
17468  if ${ac_cv_search_nanosleep+:} false; then :
17469  break
17470fi
17471done
17472if ${ac_cv_search_nanosleep+:} false; then :
17473
17474else
17475  ac_cv_search_nanosleep=no
17476fi
17477rm conftest.$ac_ext
17478LIBS=$ac_func_search_save_LIBS
17479fi
17480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17481$as_echo "$ac_cv_search_nanosleep" >&6; }
17482ac_res=$ac_cv_search_nanosleep
17483if test "$ac_res" != no; then :
17484  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17485
17486fi
17487
17488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_setscheduler" >&5
17489$as_echo_n "checking for library containing sched_setscheduler... " >&6; }
17490if ${ac_cv_search_sched_setscheduler+:} false; then :
17491  $as_echo_n "(cached) " >&6
17492else
17493  ac_func_search_save_LIBS=$LIBS
17494cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495/* end confdefs.h.  */
17496
17497/* Override any GCC internal prototype to avoid an error.
17498   Use char because int might match the return type of a GCC
17499   builtin and then its argument prototype would still apply.  */
17500#ifdef __cplusplus
17501extern "C"
17502#endif
17503char sched_setscheduler ();
17504int
17505main ()
17506{
17507return sched_setscheduler ();
17508  ;
17509  return 0;
17510}
17511_ACEOF
17512for ac_lib in '' rt posix4; do
17513  if test -z "$ac_lib"; then
17514    ac_res="none required"
17515  else
17516    ac_res=-l$ac_lib
17517    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17518  fi
17519  if ac_fn_c_try_link "$LINENO"; then :
17520  ac_cv_search_sched_setscheduler=$ac_res
17521fi
17522rm -f core conftest.err conftest.$ac_objext \
17523    conftest$ac_exeext
17524  if ${ac_cv_search_sched_setscheduler+:} false; then :
17525  break
17526fi
17527done
17528if ${ac_cv_search_sched_setscheduler+:} false; then :
17529
17530else
17531  ac_cv_search_sched_setscheduler=no
17532fi
17533rm conftest.$ac_ext
17534LIBS=$ac_func_search_save_LIBS
17535fi
17536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_setscheduler" >&5
17537$as_echo "$ac_cv_search_sched_setscheduler" >&6; }
17538ac_res=$ac_cv_search_sched_setscheduler
17539if test "$ac_res" != no; then :
17540  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17541
17542fi
17543
17544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
17545$as_echo_n "checking for library containing socket... " >&6; }
17546if ${ac_cv_search_socket+:} false; then :
17547  $as_echo_n "(cached) " >&6
17548else
17549  ac_func_search_save_LIBS=$LIBS
17550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551/* end confdefs.h.  */
17552
17553/* Override any GCC internal prototype to avoid an error.
17554   Use char because int might match the return type of a GCC
17555   builtin and then its argument prototype would still apply.  */
17556#ifdef __cplusplus
17557extern "C"
17558#endif
17559char socket ();
17560int
17561main ()
17562{
17563return socket ();
17564  ;
17565  return 0;
17566}
17567_ACEOF
17568for ac_lib in '' socket nsl; do
17569  if test -z "$ac_lib"; then
17570    ac_res="none required"
17571  else
17572    ac_res=-l$ac_lib
17573    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17574  fi
17575  if ac_fn_c_try_link "$LINENO"; then :
17576  ac_cv_search_socket=$ac_res
17577fi
17578rm -f core conftest.err conftest.$ac_objext \
17579    conftest$ac_exeext
17580  if ${ac_cv_search_socket+:} false; then :
17581  break
17582fi
17583done
17584if ${ac_cv_search_socket+:} false; then :
17585
17586else
17587  ac_cv_search_socket=no
17588fi
17589rm conftest.$ac_ext
17590LIBS=$ac_func_search_save_LIBS
17591fi
17592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
17593$as_echo "$ac_cv_search_socket" >&6; }
17594ac_res=$ac_cv_search_socket
17595if test "$ac_res" != no; then :
17596  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17597
17598else
17599  as_fn_error $? "*** required socket() function not found! ***" "$LINENO" 5
17600fi
17601
17602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sin" >&5
17603$as_echo_n "checking for library containing sin... " >&6; }
17604if ${ac_cv_search_sin+:} false; then :
17605  $as_echo_n "(cached) " >&6
17606else
17607  ac_func_search_save_LIBS=$LIBS
17608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609/* end confdefs.h.  */
17610
17611/* Override any GCC internal prototype to avoid an error.
17612   Use char because int might match the return type of a GCC
17613   builtin and then its argument prototype would still apply.  */
17614#ifdef __cplusplus
17615extern "C"
17616#endif
17617char sin ();
17618int
17619main ()
17620{
17621return sin ();
17622  ;
17623  return 0;
17624}
17625_ACEOF
17626for ac_lib in '' m; do
17627  if test -z "$ac_lib"; then
17628    ac_res="none required"
17629  else
17630    ac_res=-l$ac_lib
17631    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17632  fi
17633  if ac_fn_c_try_link "$LINENO"; then :
17634  ac_cv_search_sin=$ac_res
17635fi
17636rm -f core conftest.err conftest.$ac_objext \
17637    conftest$ac_exeext
17638  if ${ac_cv_search_sin+:} false; then :
17639  break
17640fi
17641done
17642if ${ac_cv_search_sin+:} false; then :
17643
17644else
17645  ac_cv_search_sin=no
17646fi
17647rm conftest.$ac_ext
17648LIBS=$ac_func_search_save_LIBS
17649fi
17650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sin" >&5
17651$as_echo "$ac_cv_search_sin" >&6; }
17652ac_res=$ac_cv_search_sin
17653if test "$ac_res" != no; then :
17654  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17655
17656else
17657  as_fn_error $? "*** required sin() function not found! ***" "$LINENO" 5
17658fi
17659
17660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17661$as_echo_n "checking for library containing dlopen... " >&6; }
17662if ${ac_cv_search_dlopen+:} false; then :
17663  $as_echo_n "(cached) " >&6
17664else
17665  ac_func_search_save_LIBS=$LIBS
17666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667/* end confdefs.h.  */
17668
17669/* Override any GCC internal prototype to avoid an error.
17670   Use char because int might match the return type of a GCC
17671   builtin and then its argument prototype would still apply.  */
17672#ifdef __cplusplus
17673extern "C"
17674#endif
17675char dlopen ();
17676int
17677main ()
17678{
17679return dlopen ();
17680  ;
17681  return 0;
17682}
17683_ACEOF
17684for ac_lib in '' dl; do
17685  if test -z "$ac_lib"; then
17686    ac_res="none required"
17687  else
17688    ac_res=-l$ac_lib
17689    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17690  fi
17691  if ac_fn_c_try_link "$LINENO"; then :
17692  ac_cv_search_dlopen=$ac_res
17693fi
17694rm -f core conftest.err conftest.$ac_objext \
17695    conftest$ac_exeext
17696  if ${ac_cv_search_dlopen+:} false; then :
17697  break
17698fi
17699done
17700if ${ac_cv_search_dlopen+:} false; then :
17701
17702else
17703  ac_cv_search_dlopen=no
17704fi
17705rm conftest.$ac_ext
17706LIBS=$ac_func_search_save_LIBS
17707fi
17708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17709$as_echo "$ac_cv_search_dlopen" >&6; }
17710ac_res=$ac_cv_search_dlopen
17711if test "$ac_res" != no; then :
17712  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17713
17714else
17715  as_fn_error $? "*** required dlopen() function not found! ***" "$LINENO" 5
17716fi
17717
17718ac_ext=cpp
17719ac_cpp='$CXXCPP $CPPFLAGS'
17720ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17721ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17722ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17723
17724
17725
17726
17727ac_ext=c
17728ac_cpp='$CPP $CPPFLAGS'
17729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731ac_compiler_gnu=$ac_cv_c_compiler_gnu
17732
17733
17734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lncurses" >&5
17735$as_echo_n "checking for main in -lncurses... " >&6; }
17736if ${ac_cv_lib_ncurses_main+:} false; then :
17737  $as_echo_n "(cached) " >&6
17738else
17739  ac_check_lib_save_LIBS=$LIBS
17740LIBS="-lncurses  $LIBS"
17741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742/* end confdefs.h.  */
17743
17744
17745int
17746main ()
17747{
17748return main ();
17749  ;
17750  return 0;
17751}
17752_ACEOF
17753if ac_fn_c_try_link "$LINENO"; then :
17754  ac_cv_lib_ncurses_main=yes
17755else
17756  ac_cv_lib_ncurses_main=no
17757fi
17758rm -f core conftest.err conftest.$ac_objext \
17759    conftest$ac_exeext conftest.$ac_ext
17760LIBS=$ac_check_lib_save_LIBS
17761fi
17762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_main" >&5
17763$as_echo "$ac_cv_lib_ncurses_main" >&6; }
17764if test "x$ac_cv_lib_ncurses_main" = xyes; then :
17765  termcap_library=ncurses
17766else
17767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltermcap" >&5
17768$as_echo_n "checking for main in -ltermcap... " >&6; }
17769if ${ac_cv_lib_termcap_main+:} false; then :
17770  $as_echo_n "(cached) " >&6
17771else
17772  ac_check_lib_save_LIBS=$LIBS
17773LIBS="-ltermcap  $LIBS"
17774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775/* end confdefs.h.  */
17776
17777
17778int
17779main ()
17780{
17781return main ();
17782  ;
17783  return 0;
17784}
17785_ACEOF
17786if ac_fn_c_try_link "$LINENO"; then :
17787  ac_cv_lib_termcap_main=yes
17788else
17789  ac_cv_lib_termcap_main=no
17790fi
17791rm -f core conftest.err conftest.$ac_objext \
17792    conftest$ac_exeext conftest.$ac_ext
17793LIBS=$ac_check_lib_save_LIBS
17794fi
17795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_main" >&5
17796$as_echo "$ac_cv_lib_termcap_main" >&6; }
17797if test "x$ac_cv_lib_termcap_main" = xyes; then :
17798  termcap_library=termcap
17799else
17800  termcap_library=none
17801fi
17802
17803fi
17804
17805
17806# Check whether --enable-ncurses was given.
17807if test "${enable_ncurses+set}" = set; then :
17808  enableval=$enable_ncurses;
17809	      case "$enableval" in
17810	        y | yes)
17811		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17812$as_echo "yes" >&6; }
17813		  termcap_library=ncurses
17814		;;
17815
17816		n | no)
17817		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17818$as_echo "no" >&6; }
17819		  termcap_library=none
17820		;;
17821
17822		*)
17823		  as_fn_error $? "Invalid parameter value for --enable-ncurses: $enableval" "$LINENO" 5
17824		;;
17825	      esac
17826
17827fi
17828
17829
17830
17831
17832if test $termcap_library = ncurses; then
17833  ECA_AM_USE_NCURSES_TRUE=
17834  ECA_AM_USE_NCURSES_FALSE='#'
17835else
17836  ECA_AM_USE_NCURSES_TRUE='#'
17837  ECA_AM_USE_NCURSES_FALSE=
17838fi
17839
17840
17841
17842if test $termcap_library = termcap; then
17843  ECA_AM_USE_TERMCAP_TRUE=
17844  ECA_AM_USE_TERMCAP_FALSE='#'
17845else
17846  ECA_AM_USE_TERMCAP_TRUE='#'
17847  ECA_AM_USE_TERMCAP_FALSE=
17848fi
17849
17850
17851if test x$termcap_library = xtermcap; then
17852
17853ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
17854if test "x$ac_cv_header_curses_h" = xyes; then :
17855
17856$as_echo "#define ECA_USE_CURSES_H 1" >>confdefs.h
17857
17858else
17859  as_fn_error $? "*** curses.h not found! Try with \"./configure --disable-ncurses\". ***" "$LINENO" 5
17860fi
17861
17862
17863fi
17864
17865if test x$termcap_library = xncurses; then
17866    ac_fn_c_check_header_mongrel "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default"
17867if test "x$ac_cv_header_ncurses_ncurses_h" = xyes; then :
17868
17869$as_echo "#define ECA_USE_NCURSES_NCURSES_H 1" >>confdefs.h
17870
17871else
17872
17873	    ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
17874if test "x$ac_cv_header_ncurses_h" = xyes; then :
17875
17876$as_echo "#define ECA_USE_NCURSES_H 1" >>confdefs.h
17877
17878else
17879  as_fn_error $? "*** Neither ncurses.h or ncurses/ncurses.h found! Try with \"./configure --disable-ncurses\". ***" "$LINENO" 5
17880fi
17881
17882
17883
17884fi
17885
17886
17887fi
17888
17889if test $termcap_library = xnone ; then
17890    eca_platform_curses_support=no
17891fi
17892
17893ac_ext=cpp
17894ac_cpp='$CXXCPP $CPPFLAGS'
17895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17898
17899
17900
17901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -laudiofile" >&5
17902$as_echo_n "checking for main in -laudiofile... " >&6; }
17903if ${ac_cv_lib_audiofile_main+:} false; then :
17904  $as_echo_n "(cached) " >&6
17905else
17906  ac_check_lib_save_LIBS=$LIBS
17907LIBS="-laudiofile  $LIBS"
17908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909/* end confdefs.h.  */
17910
17911
17912int
17913main ()
17914{
17915return main ();
17916  ;
17917  return 0;
17918}
17919_ACEOF
17920if ac_fn_cxx_try_link "$LINENO"; then :
17921  ac_cv_lib_audiofile_main=yes
17922else
17923  ac_cv_lib_audiofile_main=no
17924fi
17925rm -f core conftest.err conftest.$ac_objext \
17926    conftest$ac_exeext conftest.$ac_ext
17927LIBS=$ac_check_lib_save_LIBS
17928fi
17929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audiofile_main" >&5
17930$as_echo "$ac_cv_lib_audiofile_main" >&6; }
17931if test "x$ac_cv_lib_audiofile_main" = xyes; then :
17932  af_support=yes
17933else
17934  af_support=no
17935fi
17936
17937# Check whether --enable-audiofile was given.
17938if test "${enable_audiofile+set}" = set; then :
17939  enableval=$enable_audiofile;
17940    case "$enableval" in
17941      y | yes)
17942        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17943$as_echo "yes" >&6; }
17944	af_support=yes
17945      ;;
17946
17947      n | no)
17948        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17949$as_echo "no" >&6; }
17950	af_support=no
17951      ;;
17952
17953      *)
17954        as_fn_error $? "Invalid parameter value for --enable-audiofile: $enableval" "$LINENO" 5
17955      ;;
17956    esac
17957
17958
17959fi
17960
17961
17962
17963if test x$af_support = xyes; then
17964  ECA_AM_COMPILE_AUDIOFILE_TRUE=
17965  ECA_AM_COMPILE_AUDIOFILE_FALSE='#'
17966else
17967  ECA_AM_COMPILE_AUDIOFILE_TRUE='#'
17968  ECA_AM_COMPILE_AUDIOFILE_FALSE=
17969fi
17970
17971
17972if test x$af_support = xyes; then
17973    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} -laudiofile"
17974
17975$as_echo "#define ECA_COMPILE_AUDIOFILE 1" >>confdefs.h
17976
17977fi
17978
17979
17980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsndfile" >&5
17981$as_echo_n "checking for main in -lsndfile... " >&6; }
17982if ${ac_cv_lib_sndfile_main+:} false; then :
17983  $as_echo_n "(cached) " >&6
17984else
17985  ac_check_lib_save_LIBS=$LIBS
17986LIBS="-lsndfile  $LIBS"
17987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988/* end confdefs.h.  */
17989
17990
17991int
17992main ()
17993{
17994return main ();
17995  ;
17996  return 0;
17997}
17998_ACEOF
17999if ac_fn_cxx_try_link "$LINENO"; then :
18000  ac_cv_lib_sndfile_main=yes
18001else
18002  ac_cv_lib_sndfile_main=no
18003fi
18004rm -f core conftest.err conftest.$ac_objext \
18005    conftest$ac_exeext conftest.$ac_ext
18006LIBS=$ac_check_lib_save_LIBS
18007fi
18008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sndfile_main" >&5
18009$as_echo "$ac_cv_lib_sndfile_main" >&6; }
18010if test "x$ac_cv_lib_sndfile_main" = xyes; then :
18011  sndfile_support=yes
18012else
18013  sndfile_support=no
18014fi
18015
18016# Check whether --enable-sndfile was given.
18017if test "${enable_sndfile+set}" = set; then :
18018  enableval=$enable_sndfile;
18019    case "$enableval" in
18020      y | yes)
18021        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18022$as_echo "yes" >&6; }
18023	sndfile_support=yes
18024      ;;
18025
18026      n | no)
18027        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18028$as_echo "no" >&6; }
18029	sndfile_support=no
18030      ;;
18031
18032      *)
18033        as_fn_error $? "Invalid parameter value for --enable-sndfile: $enableval" "$LINENO" 5
18034      ;;
18035    esac
18036
18037
18038fi
18039
18040
18041if test x$sndfile_support = xyes; then
18042  ac_ext=c
18043ac_cpp='$CPP $CPPFLAGS'
18044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046ac_compiler_gnu=$ac_cv_c_compiler_gnu
18047
18048  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049/* end confdefs.h.  */
18050 #include <sndfile.h>
18051int
18052main ()
18053{
18054
18055	SF_INFO sfinfo;
18056	sfinfo.frames = 0;
18057	return 0;
18058
18059  ;
18060  return 0;
18061}
18062_ACEOF
18063if ac_fn_c_try_link "$LINENO"; then :
18064   /bin/true
18065else
18066
18067    sndfile_support=no
18068    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found an old version of libsndfile. Libsndfile 1.0.0 or newer is required." >&5
18069$as_echo "$as_me: WARNING: Found an old version of libsndfile. Libsndfile 1.0.0 or newer is required." >&2;}
18070
18071
18072fi
18073rm -f core conftest.err conftest.$ac_objext \
18074    conftest$ac_exeext conftest.$ac_ext
18075  ac_ext=cpp
18076ac_cpp='$CXXCPP $CPPFLAGS'
18077ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18080
18081fi
18082
18083
18084
18085if test x$sndfile_support = xyes; then
18086  ECA_AM_COMPILE_SNDFILE_TRUE=
18087  ECA_AM_COMPILE_SNDFILE_FALSE='#'
18088else
18089  ECA_AM_COMPILE_SNDFILE_TRUE='#'
18090  ECA_AM_COMPILE_SNDFILE_FALSE=
18091fi
18092
18093
18094if test x$sndfile_support = xyes; then
18095    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} -lsndfile"
18096
18097$as_echo "#define ECA_COMPILE_SNDFILE 1" >>confdefs.h
18098
18099fi
18100
18101
18102
18103# Check whether --enable-alsa was given.
18104if test "${enable_alsa+set}" = set; then :
18105  enableval=$enable_alsa;
18106	      case "$enableval" in
18107	        y | yes)
18108		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18109$as_echo "yes" >&6; }
18110		  alsa_support=yes
18111		;;
18112
18113		n | no)
18114		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18115$as_echo "no" >&6; }
18116		  alsa_support=no
18117		;;
18118
18119		*)
18120		  as_fn_error $? "Invalid parameter value for --enable-alsa: $enableval" "$LINENO" 5
18121		;;
18122	      esac
18123
18124fi
18125
18126if test x$alsa_support = x; then
18127    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_delay in -lasound" >&5
18128$as_echo_n "checking for snd_pcm_delay in -lasound... " >&6; }
18129if ${ac_cv_lib_asound_snd_pcm_delay+:} false; then :
18130  $as_echo_n "(cached) " >&6
18131else
18132  ac_check_lib_save_LIBS=$LIBS
18133LIBS="-lasound  $LIBS"
18134cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135/* end confdefs.h.  */
18136
18137/* Override any GCC internal prototype to avoid an error.
18138   Use char because int might match the return type of a GCC
18139   builtin and then its argument prototype would still apply.  */
18140#ifdef __cplusplus
18141extern "C"
18142#endif
18143char snd_pcm_delay ();
18144int
18145main ()
18146{
18147return snd_pcm_delay ();
18148  ;
18149  return 0;
18150}
18151_ACEOF
18152if ac_fn_cxx_try_link "$LINENO"; then :
18153  ac_cv_lib_asound_snd_pcm_delay=yes
18154else
18155  ac_cv_lib_asound_snd_pcm_delay=no
18156fi
18157rm -f core conftest.err conftest.$ac_objext \
18158    conftest$ac_exeext conftest.$ac_ext
18159LIBS=$ac_check_lib_save_LIBS
18160fi
18161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_delay" >&5
18162$as_echo "$ac_cv_lib_asound_snd_pcm_delay" >&6; }
18163if test "x$ac_cv_lib_asound_snd_pcm_delay" = xyes; then :
18164  alsa_support=yes
18165else
18166
18167		   alsa_support=no
18168		   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ALSA version older than 0.9.0 not supported - update to a newer version or compile with --disable-alsa" >&5
18169$as_echo "$as_me: WARNING: ALSA version older than 0.9.0 not supported - update to a newer version or compile with --disable-alsa" >&2;}
18170
18171fi
18172
18173fi
18174ac_ext=c
18175ac_cpp='$CPP $CPPFLAGS'
18176ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18177ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18178ac_compiler_gnu=$ac_cv_c_compiler_gnu
18179
18180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing snd_pcm_open" >&5
18181$as_echo_n "checking for library containing snd_pcm_open... " >&6; }
18182if ${ac_cv_search_snd_pcm_open+:} false; then :
18183  $as_echo_n "(cached) " >&6
18184else
18185  ac_func_search_save_LIBS=$LIBS
18186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187/* end confdefs.h.  */
18188
18189/* Override any GCC internal prototype to avoid an error.
18190   Use char because int might match the return type of a GCC
18191   builtin and then its argument prototype would still apply.  */
18192#ifdef __cplusplus
18193extern "C"
18194#endif
18195char snd_pcm_open ();
18196int
18197main ()
18198{
18199return snd_pcm_open ();
18200  ;
18201  return 0;
18202}
18203_ACEOF
18204for ac_lib in '' asound; do
18205  if test -z "$ac_lib"; then
18206    ac_res="none required"
18207  else
18208    ac_res=-l$ac_lib
18209    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18210  fi
18211  if ac_fn_c_try_link "$LINENO"; then :
18212  ac_cv_search_snd_pcm_open=$ac_res
18213fi
18214rm -f core conftest.err conftest.$ac_objext \
18215    conftest$ac_exeext
18216  if ${ac_cv_search_snd_pcm_open+:} false; then :
18217  break
18218fi
18219done
18220if ${ac_cv_search_snd_pcm_open+:} false; then :
18221
18222else
18223  ac_cv_search_snd_pcm_open=no
18224fi
18225rm conftest.$ac_ext
18226LIBS=$ac_func_search_save_LIBS
18227fi
18228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_snd_pcm_open" >&5
18229$as_echo "$ac_cv_search_snd_pcm_open" >&6; }
18230ac_res=$ac_cv_search_snd_pcm_open
18231if test "$ac_res" != no; then :
18232  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18233
18234fi
18235
18236for ac_func in snd_pcm_sw_params_set_tstamp_type
18237do :
18238  ac_fn_c_check_func "$LINENO" "snd_pcm_sw_params_set_tstamp_type" "ac_cv_func_snd_pcm_sw_params_set_tstamp_type"
18239if test "x$ac_cv_func_snd_pcm_sw_params_set_tstamp_type" = xyes; then :
18240  cat >>confdefs.h <<_ACEOF
18241#define HAVE_SND_PCM_SW_PARAMS_SET_TSTAMP_TYPE 1
18242_ACEOF
18243
18244fi
18245done
18246
18247ac_ext=cpp
18248ac_cpp='$CXXCPP $CPPFLAGS'
18249ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18250ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18251ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18252
18253
18254
18255
18256if test x$alsa_support = xyes; then
18257  ECA_AM_COMPILE_ALSA_TRUE=
18258  ECA_AM_COMPILE_ALSA_FALSE='#'
18259else
18260  ECA_AM_COMPILE_ALSA_TRUE='#'
18261  ECA_AM_COMPILE_ALSA_FALSE=
18262fi
18263
18264
18265if test x$alsa_support = xyes; then
18266    ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} -lasound"
18267
18268$as_echo "#define ECA_COMPILE_ALSA 1" >>confdefs.h
18269
18270fi
18271
18272
18273
18274ac_fn_cxx_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
18275if test "x$ac_cv_header_jack_jack_h" = xyes; then :
18276  jack_support=yes
18277else
18278  jack_support=no
18279fi
18280
18281
18282
18283
18284# Check whether --with-jack was given.
18285if test "${with_jack+set}" = set; then :
18286  withval=$with_jack;
18287    ECA_S_JACK_LIBS="-L${withval}/lib"
18288    ECA_S_JACK_INCLUDES="-I${withval}/include"
18289    jack_support=yes
18290
18291fi
18292
18293
18294# Check whether --enable-jack was given.
18295if test "${enable_jack+set}" = set; then :
18296  enableval=$enable_jack;
18297    case "$enableval" in
18298      y | yes)
18299        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18300$as_echo "yes" >&6; }
18301	jack_support=yes
18302      ;;
18303
18304      n | no)
18305        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18306$as_echo "no" >&6; }
18307	jack_support=no
18308      ;;
18309
18310      *)
18311        as_fn_error $? "Invalid parameter value for --enable-jack: $enableval" "$LINENO" 5
18312      ;;
18313    esac
18314
18315fi
18316
18317
18318
18319
18320if test x$jack_support = xyes; then
18321  ECA_AM_COMPILE_JACK_TRUE=
18322  ECA_AM_COMPILE_JACK_FALSE='#'
18323else
18324  ECA_AM_COMPILE_JACK_TRUE='#'
18325  ECA_AM_COMPILE_JACK_FALSE=
18326fi
18327
18328
18329if test x$jack_support = xyes; then
18330
18331$as_echo "#define ECA_COMPILE_JACK 1" >>confdefs.h
18332
18333    ECA_S_JACK_LIBS="${ECA_S_JACK_LIBS} -ljack"
18334    case "$host" in
18335	*darwin*)
18336	    AM_LDFLAGS="$AM_LDFLAGS -framework CoreAudio"
18337	    ;;
18338    esac
18339fi
18340
18341ac_ext=c
18342ac_cpp='$CPP $CPPFLAGS'
18343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347old_cppflags=$CPPFLAGS
18348old_ldflags=$LDFLAGS
18349old_INCLUDES=$INCLUDES
18350CPPFLAGS="$CPPFLAGS $ECA_S_JACK_INCLUDES"
18351LDFLAGS="$LDFLAGS $ECA_S_JACK_LIBS"
18352
18353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354/* end confdefs.h.  */
18355 #include <jack/transport.h>
18356int
18357main ()
18358{
18359
18360	jack_position_t t;
18361	int *a = (void*)&jack_transport_query;
18362	int *b = (void*)&jack_transport_start;
18363	int *c = (void*)&jack_transport_stop;
18364	int *d = (void*)&jack_transport_locate;
18365	t.frame = 0;
18366	t.valid = 0;
18367	return 0;
18368
18369  ;
18370  return 0;
18371}
18372_ACEOF
18373if ac_fn_c_try_link "$LINENO"; then :
18374   ECA_JACK_TRANSPORT_API="3"
18375else
18376   ECA_JACK_TRANSPORT_API="0"
18377
18378fi
18379rm -f core conftest.err conftest.$ac_objext \
18380    conftest$ac_exeext conftest.$ac_ext
18381
18382# note: check for the new latency API added to JACK 0.120.1
18383
18384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18385/* end confdefs.h.  */
18386 #include <jack/jack.h>
18387int
18388main ()
18389{
18390
18391	jack_latency_range_t t;
18392	t.min = 0;
18393	t.max = 0;
18394	return 0;
18395
18396  ;
18397  return 0;
18398}
18399_ACEOF
18400if ac_fn_c_try_link "$LINENO"; then :
18401   ECA_JACK_FEATSET="1"
18402else
18403   ECA_JACK_FEATSET="0"
18404
18405fi
18406rm -f core conftest.err conftest.$ac_objext \
18407    conftest$ac_exeext conftest.$ac_ext
18408
18409CPPFLAGS="$old_cppflags"
18410LDFLAGS="$old_ldflags"
18411INCLUDES="$old_INCLUDES"
18412
18413echo "Using JACK transport API version:" ${ECA_JACK_TRANSPORT_API}
18414
18415cat >>confdefs.h <<_ACEOF
18416#define ECA_JACK_TRANSPORT_API ${ECA_JACK_TRANSPORT_API}
18417_ACEOF
18418
18419echo "Using JACK feature set (ecasound specific):" ${ECA_JACK_FEATSET}
18420
18421cat >>confdefs.h <<_ACEOF
18422#define ECA_JACK_FEATSET ${ECA_JACK_FEATSET}
18423_ACEOF
18424
18425
18426
18427
18428
18429ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${ECA_S_JACK_INCLUDES}"
18430ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${ECA_S_JACK_LIBS}"
18431
18432
18433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkvutils" >&5
18434$as_echo_n "checking for main in -lkvutils... " >&6; }
18435if ${ac_cv_lib_kvutils_main+:} false; then :
18436  $as_echo_n "(cached) " >&6
18437else
18438  ac_check_lib_save_LIBS=$LIBS
18439LIBS="-lkvutils  $LIBS"
18440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18441/* end confdefs.h.  */
18442
18443
18444int
18445main ()
18446{
18447return main ();
18448  ;
18449  return 0;
18450}
18451_ACEOF
18452if ac_fn_c_try_link "$LINENO"; then :
18453  ac_cv_lib_kvutils_main=yes
18454else
18455  ac_cv_lib_kvutils_main=no
18456fi
18457rm -f core conftest.err conftest.$ac_objext \
18458    conftest$ac_exeext conftest.$ac_ext
18459LIBS=$ac_check_lib_save_LIBS
18460fi
18461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvutils_main" >&5
18462$as_echo "$ac_cv_lib_kvutils_main" >&6; }
18463if test "x$ac_cv_lib_kvutils_main" = xyes; then :
18464  kvutils_installed=yes
18465else
18466  kvutils_installed=no
18467fi
18468
18469
18470
18471if test x$kvutils_installed = xyes; then
18472  ECA_AM_KVUTILS_INSTALLED_TRUE=
18473  ECA_AM_KVUTILS_INSTALLED_FALSE='#'
18474else
18475  ECA_AM_KVUTILS_INSTALLED_TRUE='#'
18476  ECA_AM_KVUTILS_INSTALLED_FALSE=
18477fi
18478
18479
18480
18481
18482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with system readline" >&5
18483$as_echo_n "checking whether to build with system readline... " >&6; }
18484# Check whether --enable-sys_readline was given.
18485if test "${enable_sys_readline+set}" = set; then :
18486  enableval=$enable_sys_readline;
18487    case "$enableval" in
18488      y | yes)
18489        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18490$as_echo "yes" >&6; }
18491        enable_sysreadline=yes
18492      ;;
18493
18494      n | no)
18495        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18496$as_echo "no" >&6; }
18497        enable_sysreadline=no
18498      ;;
18499
18500      *)
18501        as_fn_error $? "Invalid parameter value for --enable-sys-readline: $enableval" "$LINENO" 5
18502      ;;
18503    esac
18504
18505else
18506
18507    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18508$as_echo "yes" >&6; }
18509    enable_sysreadline=yes
18510
18511
18512fi
18513
18514
18515
18516if test x$enable_sysreadline = xyes; then
18517  ac_fn_c_check_header_mongrel "$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
18518if test "x$ac_cv_header_readline_h" = xyes; then :
18519  ECA_S_READLINE_INCLUDES=/usr/include
18520else
18521  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
18522if test "x$ac_cv_header_readline_readline_h" = xyes; then :
18523  ECA_S_READLINE_INCLUDES=/usr/include/readline
18524else
18525
18526        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** readline headers not installed ***" >&5
18527$as_echo "$as_me: WARNING: *** readline headers not installed ***" >&2;}
18528	enable_sysreadline=no
18529
18530fi
18531
18532
18533fi
18534
18535
18536
18537  ac_fn_c_check_header_mongrel "$LINENO" "history.h" "ac_cv_header_history_h" "$ac_includes_default"
18538if test "x$ac_cv_header_history_h" = xyes; then :
18539
18540else
18541  ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
18542if test "x$ac_cv_header_readline_history_h" = xyes; then :
18543
18544else
18545
18546        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** readline history headers not installed ***" >&5
18547$as_echo "$as_me: WARNING: *** readline history headers not installed ***" >&2;}
18548	enable_sysreadline=no
18549
18550fi
18551
18552
18553
18554fi
18555
18556
18557
18558  if test x${termcap_library} = xnone; then
18559     readline_extra_libs="";
18560  else
18561     readline_extra_libs="-l${termcap_library}"
18562  fi
18563
18564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
18565$as_echo_n "checking for main in -lreadline... " >&6; }
18566if ${ac_cv_lib_readline_main+:} false; then :
18567  $as_echo_n "(cached) " >&6
18568else
18569  ac_check_lib_save_LIBS=$LIBS
18570LIBS="-lreadline ${readline_extra_libs} $LIBS"
18571cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572/* end confdefs.h.  */
18573
18574
18575int
18576main ()
18577{
18578return main ();
18579  ;
18580  return 0;
18581}
18582_ACEOF
18583if ac_fn_c_try_link "$LINENO"; then :
18584  ac_cv_lib_readline_main=yes
18585else
18586  ac_cv_lib_readline_main=no
18587fi
18588rm -f core conftest.err conftest.$ac_objext \
18589    conftest$ac_exeext conftest.$ac_ext
18590LIBS=$ac_check_lib_save_LIBS
18591fi
18592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
18593$as_echo "$ac_cv_lib_readline_main" >&6; }
18594if test "x$ac_cv_lib_readline_main" = xyes; then :
18595  ECA_S_READLINE_LIBS="-lreadline"
18596else
18597
18598      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** readline support not installed ***" >&5
18599$as_echo "$as_me: WARNING: *** readline support not installed ***" >&2;}
18600      enable_sysreadline=no
18601
18602fi
18603
18604
18605  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhistory" >&5
18606$as_echo_n "checking for main in -lhistory... " >&6; }
18607if ${ac_cv_lib_history_main+:} false; then :
18608  $as_echo_n "(cached) " >&6
18609else
18610  ac_check_lib_save_LIBS=$LIBS
18611LIBS="-lhistory ${readline_extra_libs} $LIBS"
18612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613/* end confdefs.h.  */
18614
18615
18616int
18617main ()
18618{
18619return main ();
18620  ;
18621  return 0;
18622}
18623_ACEOF
18624if ac_fn_c_try_link "$LINENO"; then :
18625  ac_cv_lib_history_main=yes
18626else
18627  ac_cv_lib_history_main=no
18628fi
18629rm -f core conftest.err conftest.$ac_objext \
18630    conftest$ac_exeext conftest.$ac_ext
18631LIBS=$ac_check_lib_save_LIBS
18632fi
18633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_main" >&5
18634$as_echo "$ac_cv_lib_history_main" >&6; }
18635if test "x$ac_cv_lib_history_main" = xyes; then :
18636  ECA_S_READLINE_LIBS="${ECA_S_READLINE_LIBS} -lhistory"
18637else
18638
18639      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** readline support not installed ***" >&5
18640$as_echo "$as_me: WARNING: *** readline support not installed ***" >&2;}
18641      enable_sysreadline=no
18642
18643fi
18644
18645
18646else
18647  ECA_S_READLINE_INCLUDES=""
18648  ECA_S_READLINE_LIBS=""
18649fi
18650
18651# if no readline library is found, disable platform-curses toggle
18652if test $enable_sysreadline = no ; then
18653    eca_platform_curses_support=no
18654fi
18655
18656
18657
18658if test x$enable_sysreadline = xyes; then
18659  ECA_AM_SYSTEM_READLINE_TRUE=
18660  ECA_AM_SYSTEM_READLINE_FALSE='#'
18661else
18662  ECA_AM_SYSTEM_READLINE_TRUE='#'
18663  ECA_AM_SYSTEM_READLINE_FALSE=
18664fi
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18679	if test -n "$ac_tool_prefix"; then
18680  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18681set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18683$as_echo_n "checking for $ac_word... " >&6; }
18684if ${ac_cv_path_PKG_CONFIG+:} false; then :
18685  $as_echo_n "(cached) " >&6
18686else
18687  case $PKG_CONFIG in
18688  [\\/]* | ?:[\\/]*)
18689  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18690  ;;
18691  *)
18692  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18693for as_dir in $PATH
18694do
18695  IFS=$as_save_IFS
18696  test -z "$as_dir" && as_dir=.
18697    for ac_exec_ext in '' $ac_executable_extensions; do
18698  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18699    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18700    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18701    break 2
18702  fi
18703done
18704  done
18705IFS=$as_save_IFS
18706
18707  ;;
18708esac
18709fi
18710PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18711if test -n "$PKG_CONFIG"; then
18712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18713$as_echo "$PKG_CONFIG" >&6; }
18714else
18715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18716$as_echo "no" >&6; }
18717fi
18718
18719
18720fi
18721if test -z "$ac_cv_path_PKG_CONFIG"; then
18722  ac_pt_PKG_CONFIG=$PKG_CONFIG
18723  # Extract the first word of "pkg-config", so it can be a program name with args.
18724set dummy pkg-config; ac_word=$2
18725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18726$as_echo_n "checking for $ac_word... " >&6; }
18727if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18728  $as_echo_n "(cached) " >&6
18729else
18730  case $ac_pt_PKG_CONFIG in
18731  [\\/]* | ?:[\\/]*)
18732  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18733  ;;
18734  *)
18735  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18736for as_dir in $PATH
18737do
18738  IFS=$as_save_IFS
18739  test -z "$as_dir" && as_dir=.
18740    for ac_exec_ext in '' $ac_executable_extensions; do
18741  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18742    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18743    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18744    break 2
18745  fi
18746done
18747  done
18748IFS=$as_save_IFS
18749
18750  ;;
18751esac
18752fi
18753ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18754if test -n "$ac_pt_PKG_CONFIG"; then
18755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18756$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18757else
18758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18759$as_echo "no" >&6; }
18760fi
18761
18762  if test "x$ac_pt_PKG_CONFIG" = x; then
18763    PKG_CONFIG=""
18764  else
18765    case $cross_compiling:$ac_tool_warned in
18766yes:)
18767{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18768$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18769ac_tool_warned=yes ;;
18770esac
18771    PKG_CONFIG=$ac_pt_PKG_CONFIG
18772  fi
18773else
18774  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18775fi
18776
18777fi
18778if test -n "$PKG_CONFIG"; then
18779	_pkg_min_version=0.9.0
18780	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18781$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18782	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18783		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18784$as_echo "yes" >&6; }
18785	else
18786		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18787$as_echo "no" >&6; }
18788		PKG_CONFIG=""
18789	fi
18790fi
18791
18792pkg_failed=no
18793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOIL" >&5
18794$as_echo_n "checking for LIBOIL... " >&6; }
18795
18796if test -n "$LIBOIL_CFLAGS"; then
18797    pkg_cv_LIBOIL_CFLAGS="$LIBOIL_CFLAGS"
18798 elif test -n "$PKG_CONFIG"; then
18799    if test -n "$PKG_CONFIG" && \
18800    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liboil-0.3\""; } >&5
18801  ($PKG_CONFIG --exists --print-errors "liboil-0.3") 2>&5
18802  ac_status=$?
18803  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18804  test $ac_status = 0; }; then
18805  pkg_cv_LIBOIL_CFLAGS=`$PKG_CONFIG --cflags "liboil-0.3" 2>/dev/null`
18806		      test "x$?" != "x0" && pkg_failed=yes
18807else
18808  pkg_failed=yes
18809fi
18810 else
18811    pkg_failed=untried
18812fi
18813if test -n "$LIBOIL_LIBS"; then
18814    pkg_cv_LIBOIL_LIBS="$LIBOIL_LIBS"
18815 elif test -n "$PKG_CONFIG"; then
18816    if test -n "$PKG_CONFIG" && \
18817    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liboil-0.3\""; } >&5
18818  ($PKG_CONFIG --exists --print-errors "liboil-0.3") 2>&5
18819  ac_status=$?
18820  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18821  test $ac_status = 0; }; then
18822  pkg_cv_LIBOIL_LIBS=`$PKG_CONFIG --libs "liboil-0.3" 2>/dev/null`
18823		      test "x$?" != "x0" && pkg_failed=yes
18824else
18825  pkg_failed=yes
18826fi
18827 else
18828    pkg_failed=untried
18829fi
18830
18831
18832
18833if test $pkg_failed = yes; then
18834   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18835$as_echo "no" >&6; }
18836
18837if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18838        _pkg_short_errors_supported=yes
18839else
18840        _pkg_short_errors_supported=no
18841fi
18842        if test $_pkg_short_errors_supported = yes; then
18843	        LIBOIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liboil-0.3" 2>&1`
18844        else
18845	        LIBOIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liboil-0.3" 2>&1`
18846        fi
18847	# Put the nasty error message in config.log where it belongs
18848	echo "$LIBOIL_PKG_ERRORS" >&5
18849
18850	HAVE_LIBOIL=no
18851elif test $pkg_failed = untried; then
18852     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18853$as_echo "no" >&6; }
18854	HAVE_LIBOIL=no
18855else
18856	LIBOIL_CFLAGS=$pkg_cv_LIBOIL_CFLAGS
18857	LIBOIL_LIBS=$pkg_cv_LIBOIL_LIBS
18858        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18859$as_echo "yes" >&6; }
18860	HAVE_LIBOIL=yes
18861fi
18862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use liboil" >&5
18863$as_echo_n "checking whether to use liboil... " >&6; }
18864# Check whether --enable-liboil was given.
18865if test "${enable_liboil+set}" = set; then :
18866  enableval=$enable_liboil;
18867    case "$enableval" in
18868      y | yes)
18869        if test "x${HAVE_LIBOIL}" = xyes ; then
18870	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18871$as_echo "yes" >&6; }
18872          enable_liboil=yes
18873        else
18874          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18875$as_echo "no" >&6; }
18876	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-liboil given but liboil library not available" >&5
18877$as_echo "$as_me: WARNING: --enable-liboil given but liboil library not available" >&2;}
18878        fi
18879      ;;
18880
18881      n | no)
18882        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18883$as_echo "no" >&6; }
18884        enable_liboil=no
18885      ;;
18886
18887      *)
18888        as_fn_error $? "Invalid parameter value for --enable-liboil: $enableval" "$LINENO" 5
18889      ;;
18890    esac
18891
18892else
18893
18894    if test "x${HAVE_LIBOIL}" = xyes ; then
18895      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18896$as_echo "yes" >&6; }
18897      enable_liboil=yes
18898    else
18899      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18900$as_echo "no" >&6; }
18901      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling liboil as library devel files are not available" >&5
18902$as_echo "$as_me: WARNING: disabling liboil as library devel files are not available" >&2;}
18903    fi
18904
18905
18906fi
18907
18908
18909if test "x${enable_liboil}" = "xyes" ; then
18910  ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${LIBOIL_CFLAGS}"
18911  ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${LIBOIL_LIBS}"
18912
18913$as_echo "#define ECA_USE_LIBOIL 1" >>confdefs.h
18914
18915fi
18916
18917
18918
18919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use liblilv for LV2 support" >&5
18920$as_echo_n "checking whether to use liblilv for LV2 support... " >&6; }
18921# Check whether --enable-liblilv was given.
18922if test "${enable_liblilv+set}" = set; then :
18923  enableval=$enable_liblilv;
18924    case "$enableval" in
18925      y | yes)
18926
18927pkg_failed=no
18928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLILV" >&5
18929$as_echo_n "checking for LIBLILV... " >&6; }
18930
18931if test -n "$LIBLILV_CFLAGS"; then
18932    pkg_cv_LIBLILV_CFLAGS="$LIBLILV_CFLAGS"
18933 elif test -n "$PKG_CONFIG"; then
18934    if test -n "$PKG_CONFIG" && \
18935    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lv2 lilv-0\""; } >&5
18936  ($PKG_CONFIG --exists --print-errors "lv2 lilv-0") 2>&5
18937  ac_status=$?
18938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18939  test $ac_status = 0; }; then
18940  pkg_cv_LIBLILV_CFLAGS=`$PKG_CONFIG --cflags "lv2 lilv-0" 2>/dev/null`
18941		      test "x$?" != "x0" && pkg_failed=yes
18942else
18943  pkg_failed=yes
18944fi
18945 else
18946    pkg_failed=untried
18947fi
18948if test -n "$LIBLILV_LIBS"; then
18949    pkg_cv_LIBLILV_LIBS="$LIBLILV_LIBS"
18950 elif test -n "$PKG_CONFIG"; then
18951    if test -n "$PKG_CONFIG" && \
18952    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lv2 lilv-0\""; } >&5
18953  ($PKG_CONFIG --exists --print-errors "lv2 lilv-0") 2>&5
18954  ac_status=$?
18955  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18956  test $ac_status = 0; }; then
18957  pkg_cv_LIBLILV_LIBS=`$PKG_CONFIG --libs "lv2 lilv-0" 2>/dev/null`
18958		      test "x$?" != "x0" && pkg_failed=yes
18959else
18960  pkg_failed=yes
18961fi
18962 else
18963    pkg_failed=untried
18964fi
18965
18966
18967
18968if test $pkg_failed = yes; then
18969   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18970$as_echo "no" >&6; }
18971
18972if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18973        _pkg_short_errors_supported=yes
18974else
18975        _pkg_short_errors_supported=no
18976fi
18977        if test $_pkg_short_errors_supported = yes; then
18978	        LIBLILV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lv2 lilv-0" 2>&1`
18979        else
18980	        LIBLILV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lv2 lilv-0" 2>&1`
18981        fi
18982	# Put the nasty error message in config.log where it belongs
18983	echo "$LIBLILV_PKG_ERRORS" >&5
18984
18985	HAVE_LIBLILV=no
18986elif test $pkg_failed = untried; then
18987     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18988$as_echo "no" >&6; }
18989	HAVE_LIBLILV=no
18990else
18991	LIBLILV_CFLAGS=$pkg_cv_LIBLILV_CFLAGS
18992	LIBLILV_LIBS=$pkg_cv_LIBLILV_LIBS
18993        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18994$as_echo "yes" >&6; }
18995	HAVE_LIBLILV=yes
18996fi
18997        if test "x${HAVE_LIBLILV}" = xyes ; then
18998	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18999$as_echo "yes" >&6; }
19000          enable_liblilv=yes
19001        else
19002          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19003$as_echo "no" >&6; }
19004	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-liblilv given but liblilv library not available" >&5
19005$as_echo "$as_me: WARNING: --enable-liblilv given but liblilv library not available" >&2;}
19006        fi
19007      ;;
19008
19009      n | no)
19010        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19011$as_echo "no" >&6; }
19012        enable_liblilv=no
19013      ;;
19014
19015      *)
19016        as_fn_error $? "Invalid parameter value for --enable-liblilv: $enableval" "$LINENO" 5
19017      ;;
19018    esac
19019
19020else
19021
19022
19023pkg_failed=no
19024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLILV" >&5
19025$as_echo_n "checking for LIBLILV... " >&6; }
19026
19027if test -n "$LIBLILV_CFLAGS"; then
19028    pkg_cv_LIBLILV_CFLAGS="$LIBLILV_CFLAGS"
19029 elif test -n "$PKG_CONFIG"; then
19030    if test -n "$PKG_CONFIG" && \
19031    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lv2core lilv-0 > 0.5.0 \""; } >&5
19032  ($PKG_CONFIG --exists --print-errors "lv2core lilv-0 > 0.5.0 ") 2>&5
19033  ac_status=$?
19034  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19035  test $ac_status = 0; }; then
19036  pkg_cv_LIBLILV_CFLAGS=`$PKG_CONFIG --cflags "lv2core lilv-0 > 0.5.0 " 2>/dev/null`
19037		      test "x$?" != "x0" && pkg_failed=yes
19038else
19039  pkg_failed=yes
19040fi
19041 else
19042    pkg_failed=untried
19043fi
19044if test -n "$LIBLILV_LIBS"; then
19045    pkg_cv_LIBLILV_LIBS="$LIBLILV_LIBS"
19046 elif test -n "$PKG_CONFIG"; then
19047    if test -n "$PKG_CONFIG" && \
19048    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lv2core lilv-0 > 0.5.0 \""; } >&5
19049  ($PKG_CONFIG --exists --print-errors "lv2core lilv-0 > 0.5.0 ") 2>&5
19050  ac_status=$?
19051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19052  test $ac_status = 0; }; then
19053  pkg_cv_LIBLILV_LIBS=`$PKG_CONFIG --libs "lv2core lilv-0 > 0.5.0 " 2>/dev/null`
19054		      test "x$?" != "x0" && pkg_failed=yes
19055else
19056  pkg_failed=yes
19057fi
19058 else
19059    pkg_failed=untried
19060fi
19061
19062
19063
19064if test $pkg_failed = yes; then
19065   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19066$as_echo "no" >&6; }
19067
19068if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19069        _pkg_short_errors_supported=yes
19070else
19071        _pkg_short_errors_supported=no
19072fi
19073        if test $_pkg_short_errors_supported = yes; then
19074	        LIBLILV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lv2core lilv-0 > 0.5.0 " 2>&1`
19075        else
19076	        LIBLILV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lv2core lilv-0 > 0.5.0 " 2>&1`
19077        fi
19078	# Put the nasty error message in config.log where it belongs
19079	echo "$LIBLILV_PKG_ERRORS" >&5
19080
19081	HAVE_LIBLILV=no
19082elif test $pkg_failed = untried; then
19083     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19084$as_echo "no" >&6; }
19085	HAVE_LIBLILV=no
19086else
19087	LIBLILV_CFLAGS=$pkg_cv_LIBLILV_CFLAGS
19088	LIBLILV_LIBS=$pkg_cv_LIBLILV_LIBS
19089        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19090$as_echo "yes" >&6; }
19091	HAVE_LIBLILV=yes
19092fi
19093    enable_liblilv=${HAVE_LIBLILV}
19094    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_liblilv}" >&5
19095$as_echo "${enable_liblilv}" >&6; }
19096
19097
19098fi
19099
19100
19101if test "x${enable_liblilv}" = "xyes" ; then
19102  ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${LIBLILV_CFLAGS}"
19103  ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${LIBLILV_LIBS}"
19104
19105$as_echo "#define ECA_USE_LIBLILV 1" >>confdefs.h
19106
19107fi
19108
19109
19110
19111
19112pkg_failed=no
19113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLO" >&5
19114$as_echo_n "checking for LIBLO... " >&6; }
19115
19116if test -n "$LIBLO_CFLAGS"; then
19117    pkg_cv_LIBLO_CFLAGS="$LIBLO_CFLAGS"
19118 elif test -n "$PKG_CONFIG"; then
19119    if test -n "$PKG_CONFIG" && \
19120    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo\""; } >&5
19121  ($PKG_CONFIG --exists --print-errors "liblo") 2>&5
19122  ac_status=$?
19123  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19124  test $ac_status = 0; }; then
19125  pkg_cv_LIBLO_CFLAGS=`$PKG_CONFIG --cflags "liblo" 2>/dev/null`
19126		      test "x$?" != "x0" && pkg_failed=yes
19127else
19128  pkg_failed=yes
19129fi
19130 else
19131    pkg_failed=untried
19132fi
19133if test -n "$LIBLO_LIBS"; then
19134    pkg_cv_LIBLO_LIBS="$LIBLO_LIBS"
19135 elif test -n "$PKG_CONFIG"; then
19136    if test -n "$PKG_CONFIG" && \
19137    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo\""; } >&5
19138  ($PKG_CONFIG --exists --print-errors "liblo") 2>&5
19139  ac_status=$?
19140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19141  test $ac_status = 0; }; then
19142  pkg_cv_LIBLO_LIBS=`$PKG_CONFIG --libs "liblo" 2>/dev/null`
19143		      test "x$?" != "x0" && pkg_failed=yes
19144else
19145  pkg_failed=yes
19146fi
19147 else
19148    pkg_failed=untried
19149fi
19150
19151
19152
19153if test $pkg_failed = yes; then
19154   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19155$as_echo "no" >&6; }
19156
19157if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19158        _pkg_short_errors_supported=yes
19159else
19160        _pkg_short_errors_supported=no
19161fi
19162        if test $_pkg_short_errors_supported = yes; then
19163	        LIBLO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblo" 2>&1`
19164        else
19165	        LIBLO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblo" 2>&1`
19166        fi
19167	# Put the nasty error message in config.log where it belongs
19168	echo "$LIBLO_PKG_ERRORS" >&5
19169
19170	HAVE_LIBLO=no
19171elif test $pkg_failed = untried; then
19172     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19173$as_echo "no" >&6; }
19174	HAVE_LIBLO=no
19175else
19176	LIBLO_CFLAGS=$pkg_cv_LIBLO_CFLAGS
19177	LIBLO_LIBS=$pkg_cv_LIBLO_LIBS
19178        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19179$as_echo "yes" >&6; }
19180	HAVE_LIBLO=yes
19181fi
19182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use liblo for OSC support" >&5
19183$as_echo_n "checking whether to use liblo for OSC support... " >&6; }
19184# Check whether --enable-liblo was given.
19185if test "${enable_liblo+set}" = set; then :
19186  enableval=$enable_liblo;
19187    case "$enableval" in
19188      y | yes)
19189        if test "x${HAVE_LIBLO}" = xyes ; then
19190	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19191$as_echo "yes" >&6; }
19192          enable_liblo=yes
19193        else
19194          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19195$as_echo "no" >&6; }
19196	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-liblo given but liblo library not available" >&5
19197$as_echo "$as_me: WARNING: --enable-liblo given but liblo library not available" >&2;}
19198        fi
19199      ;;
19200
19201      n | no)
19202        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19203$as_echo "no" >&6; }
19204        enable_liblo=no
19205      ;;
19206
19207      *)
19208        as_fn_error $? "Invalid parameter value for --enable-liblo: $enableval" "$LINENO" 5
19209      ;;
19210    esac
19211
19212else
19213
19214    enable_liblo=${HAVE_LIBLO}
19215    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_liblo}" >&5
19216$as_echo "${enable_liblo}" >&6; }
19217
19218
19219fi
19220
19221
19222if test "x${enable_liblo}" = "xyes" ; then
19223  ECA_S_EXTRA_CPPFLAGS="${ECA_S_EXTRA_CPPFLAGS} ${LIBLO_CFLAGS}"
19224  ECA_S_EXTRA_LIBS="${ECA_S_EXTRA_LIBS} ${LIBLO_LIBS}"
19225
19226$as_echo "#define ECA_USE_LIBLO 1" >>confdefs.h
19227
19228fi
19229
19230
19231
19232
19233
19234
19235echo "------------------------------------------------------------------"
19236echo "5. Section: Headers"
19237echo "------------------------------------------------------------------"
19238
19239
19240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
19241$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
19242if ${ac_cv_header_time+:} false; then :
19243  $as_echo_n "(cached) " >&6
19244else
19245  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246/* end confdefs.h.  */
19247#include <sys/types.h>
19248#include <sys/time.h>
19249#include <time.h>
19250
19251int
19252main ()
19253{
19254if ((struct tm *) 0)
19255return 0;
19256  ;
19257  return 0;
19258}
19259_ACEOF
19260if ac_fn_c_try_compile "$LINENO"; then :
19261  ac_cv_header_time=yes
19262else
19263  ac_cv_header_time=no
19264fi
19265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266fi
19267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
19268$as_echo "$ac_cv_header_time" >&6; }
19269if test $ac_cv_header_time = yes; then
19270
19271$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
19272
19273fi
19274
19275for ac_header in dlfcn.h errno.h fcntl.h regex.h signal.h unistd.h sys/poll.h sys/stat.h sys/socket.h sys/time.h sys/types.h sys/wait.h sys/select.h
19276do :
19277  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19278ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19279if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19280  cat >>confdefs.h <<_ACEOF
19281#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19282_ACEOF
19283
19284else
19285  as_fn_error $? "*** not all required header files were found ***" "$LINENO" 5
19286fi
19287
19288done
19289
19290for ac_header in execinfo.h features.h inttypes.h locale.h ladspa.h sched.h stdint.h sys/mman.h termios.h
19291do :
19292  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19293ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19294if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19295  cat >>confdefs.h <<_ACEOF
19296#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19297_ACEOF
19298
19299fi
19300
19301done
19302
19303
19304
19305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19306$as_echo_n "checking for ANSI C header files... " >&6; }
19307if ${ac_cv_header_stdc+:} false; then :
19308  $as_echo_n "(cached) " >&6
19309else
19310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311/* end confdefs.h.  */
19312#include <stdlib.h>
19313#include <stdarg.h>
19314#include <string.h>
19315#include <float.h>
19316
19317int
19318main ()
19319{
19320
19321  ;
19322  return 0;
19323}
19324_ACEOF
19325if ac_fn_c_try_compile "$LINENO"; then :
19326  ac_cv_header_stdc=yes
19327else
19328  ac_cv_header_stdc=no
19329fi
19330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331
19332if test $ac_cv_header_stdc = yes; then
19333  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335/* end confdefs.h.  */
19336#include <string.h>
19337
19338_ACEOF
19339if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19340  $EGREP "memchr" >/dev/null 2>&1; then :
19341
19342else
19343  ac_cv_header_stdc=no
19344fi
19345rm -f conftest*
19346
19347fi
19348
19349if test $ac_cv_header_stdc = yes; then
19350  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352/* end confdefs.h.  */
19353#include <stdlib.h>
19354
19355_ACEOF
19356if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19357  $EGREP "free" >/dev/null 2>&1; then :
19358
19359else
19360  ac_cv_header_stdc=no
19361fi
19362rm -f conftest*
19363
19364fi
19365
19366if test $ac_cv_header_stdc = yes; then
19367  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19368  if test "$cross_compiling" = yes; then :
19369  :
19370else
19371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372/* end confdefs.h.  */
19373#include <ctype.h>
19374#include <stdlib.h>
19375#if ((' ' & 0x0FF) == 0x020)
19376# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19377# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19378#else
19379# define ISLOWER(c) \
19380		   (('a' <= (c) && (c) <= 'i') \
19381		     || ('j' <= (c) && (c) <= 'r') \
19382		     || ('s' <= (c) && (c) <= 'z'))
19383# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19384#endif
19385
19386#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19387int
19388main ()
19389{
19390  int i;
19391  for (i = 0; i < 256; i++)
19392    if (XOR (islower (i), ISLOWER (i))
19393	|| toupper (i) != TOUPPER (i))
19394      return 2;
19395  return 0;
19396}
19397_ACEOF
19398if ac_fn_c_try_run "$LINENO"; then :
19399
19400else
19401  ac_cv_header_stdc=no
19402fi
19403rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19404  conftest.$ac_objext conftest.beam conftest.$ac_ext
19405fi
19406
19407fi
19408fi
19409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19410$as_echo "$ac_cv_header_stdc" >&6; }
19411if test $ac_cv_header_stdc = yes; then
19412
19413$as_echo "#define STDC_HEADERS 1" >>confdefs.h
19414
19415fi
19416
19417ac_ext=cpp
19418ac_cpp='$CXXCPP $CPPFLAGS'
19419ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19420ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19421ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19422
19423ac_fn_cxx_check_header_mongrel "$LINENO" "map" "ac_cv_header_map" "$ac_includes_default"
19424if test "x$ac_cv_header_map" = xyes; then :
19425  nostlmap=0
19426else
19427  nostlmap=1
19428fi
19429
19430
19431if test "x$nostlmap" = "x1" ; then
19432	as_fn_error $? "C++ header files not found! Searched for '<map>' (STL)." "$LINENO" 5
19433fi
19434
19435
19436echo "------------------------------------------------------------------"
19437echo "6. Section: Typedefs and structures"
19438echo "------------------------------------------------------------------"
19439
19440
19441ac_ext=c
19442ac_cpp='$CPP $CPPFLAGS'
19443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445ac_compiler_gnu=$ac_cv_c_compiler_gnu
19446
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19448$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19449if ${ac_cv_c_bigendian+:} false; then :
19450  $as_echo_n "(cached) " >&6
19451else
19452  ac_cv_c_bigendian=unknown
19453    # See if we're dealing with a universal compiler.
19454    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455/* end confdefs.h.  */
19456#ifndef __APPLE_CC__
19457	       not a universal capable compiler
19458	     #endif
19459	     typedef int dummy;
19460
19461_ACEOF
19462if ac_fn_c_try_compile "$LINENO"; then :
19463
19464	# Check for potential -arch flags.  It is not universal unless
19465	# there are at least two -arch flags with different values.
19466	ac_arch=
19467	ac_prev=
19468	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19469	 if test -n "$ac_prev"; then
19470	   case $ac_word in
19471	     i?86 | x86_64 | ppc | ppc64)
19472	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19473		 ac_arch=$ac_word
19474	       else
19475		 ac_cv_c_bigendian=universal
19476		 break
19477	       fi
19478	       ;;
19479	   esac
19480	   ac_prev=
19481	 elif test "x$ac_word" = "x-arch"; then
19482	   ac_prev=arch
19483	 fi
19484       done
19485fi
19486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487    if test $ac_cv_c_bigendian = unknown; then
19488      # See if sys/param.h defines the BYTE_ORDER macro.
19489      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490/* end confdefs.h.  */
19491#include <sys/types.h>
19492	     #include <sys/param.h>
19493
19494int
19495main ()
19496{
19497#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19498		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19499		     && LITTLE_ENDIAN)
19500	      bogus endian macros
19501	     #endif
19502
19503  ;
19504  return 0;
19505}
19506_ACEOF
19507if ac_fn_c_try_compile "$LINENO"; then :
19508  # It does; now see whether it defined to BIG_ENDIAN or not.
19509	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510/* end confdefs.h.  */
19511#include <sys/types.h>
19512		#include <sys/param.h>
19513
19514int
19515main ()
19516{
19517#if BYTE_ORDER != BIG_ENDIAN
19518		 not big endian
19519		#endif
19520
19521  ;
19522  return 0;
19523}
19524_ACEOF
19525if ac_fn_c_try_compile "$LINENO"; then :
19526  ac_cv_c_bigendian=yes
19527else
19528  ac_cv_c_bigendian=no
19529fi
19530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531fi
19532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19533    fi
19534    if test $ac_cv_c_bigendian = unknown; then
19535      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19536      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537/* end confdefs.h.  */
19538#include <limits.h>
19539
19540int
19541main ()
19542{
19543#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19544	      bogus endian macros
19545	     #endif
19546
19547  ;
19548  return 0;
19549}
19550_ACEOF
19551if ac_fn_c_try_compile "$LINENO"; then :
19552  # It does; now see whether it defined to _BIG_ENDIAN or not.
19553	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554/* end confdefs.h.  */
19555#include <limits.h>
19556
19557int
19558main ()
19559{
19560#ifndef _BIG_ENDIAN
19561		 not big endian
19562		#endif
19563
19564  ;
19565  return 0;
19566}
19567_ACEOF
19568if ac_fn_c_try_compile "$LINENO"; then :
19569  ac_cv_c_bigendian=yes
19570else
19571  ac_cv_c_bigendian=no
19572fi
19573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574fi
19575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576    fi
19577    if test $ac_cv_c_bigendian = unknown; then
19578      # Compile a test program.
19579      if test "$cross_compiling" = yes; then :
19580  # Try to guess by grepping values from an object file.
19581	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582/* end confdefs.h.  */
19583short int ascii_mm[] =
19584		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19585		short int ascii_ii[] =
19586		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19587		int use_ascii (int i) {
19588		  return ascii_mm[i] + ascii_ii[i];
19589		}
19590		short int ebcdic_ii[] =
19591		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19592		short int ebcdic_mm[] =
19593		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19594		int use_ebcdic (int i) {
19595		  return ebcdic_mm[i] + ebcdic_ii[i];
19596		}
19597		extern int foo;
19598
19599int
19600main ()
19601{
19602return use_ascii (foo) == use_ebcdic (foo);
19603  ;
19604  return 0;
19605}
19606_ACEOF
19607if ac_fn_c_try_compile "$LINENO"; then :
19608  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19609	      ac_cv_c_bigendian=yes
19610	    fi
19611	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19612	      if test "$ac_cv_c_bigendian" = unknown; then
19613		ac_cv_c_bigendian=no
19614	      else
19615		# finding both strings is unlikely to happen, but who knows?
19616		ac_cv_c_bigendian=unknown
19617	      fi
19618	    fi
19619fi
19620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19621else
19622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623/* end confdefs.h.  */
19624$ac_includes_default
19625int
19626main ()
19627{
19628
19629	     /* Are we little or big endian?  From Harbison&Steele.  */
19630	     union
19631	     {
19632	       long int l;
19633	       char c[sizeof (long int)];
19634	     } u;
19635	     u.l = 1;
19636	     return u.c[sizeof (long int) - 1] == 1;
19637
19638  ;
19639  return 0;
19640}
19641_ACEOF
19642if ac_fn_c_try_run "$LINENO"; then :
19643  ac_cv_c_bigendian=no
19644else
19645  ac_cv_c_bigendian=yes
19646fi
19647rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19648  conftest.$ac_objext conftest.beam conftest.$ac_ext
19649fi
19650
19651    fi
19652fi
19653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19654$as_echo "$ac_cv_c_bigendian" >&6; }
19655 case $ac_cv_c_bigendian in #(
19656   yes)
19657     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19658;; #(
19659   no)
19660      ;; #(
19661   universal)
19662
19663$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19664
19665     ;; #(
19666   *)
19667     as_fn_error $? "unknown endianness
19668 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19669 esac
19670
19671ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19672if test "x$ac_cv_type_size_t" = xyes; then :
19673
19674else
19675
19676cat >>confdefs.h <<_ACEOF
19677#define size_t unsigned int
19678_ACEOF
19679
19680fi
19681
19682ac_ext=cpp
19683ac_cpp='$CXXCPP $CPPFLAGS'
19684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19686ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19687
19688
19689
19690echo "------------------------------------------------------------------"
19691echo "7. Section: Functions"
19692echo "------------------------------------------------------------------"
19693
19694ac_ext=c
19695ac_cpp='$CPP $CPPFLAGS'
19696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19698ac_compiler_gnu=$ac_cv_c_compiler_gnu
19699
19700
19701
19702
19703  for ac_header in $ac_header_list
19704do :
19705  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19706ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19707"
19708if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19709  cat >>confdefs.h <<_ACEOF
19710#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19711_ACEOF
19712
19713fi
19714
19715done
19716
19717
19718
19719
19720
19721
19722
19723
19724for ac_func in getpagesize
19725do :
19726  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
19727if test "x$ac_cv_func_getpagesize" = xyes; then :
19728  cat >>confdefs.h <<_ACEOF
19729#define HAVE_GETPAGESIZE 1
19730_ACEOF
19731
19732fi
19733done
19734
19735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
19736$as_echo_n "checking for working mmap... " >&6; }
19737if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
19738  $as_echo_n "(cached) " >&6
19739else
19740  if test "$cross_compiling" = yes; then :
19741  ac_cv_func_mmap_fixed_mapped=no
19742else
19743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744/* end confdefs.h.  */
19745$ac_includes_default
19746/* malloc might have been renamed as rpl_malloc. */
19747#undef malloc
19748
19749/* Thanks to Mike Haertel and Jim Avera for this test.
19750   Here is a matrix of mmap possibilities:
19751	mmap private not fixed
19752	mmap private fixed at somewhere currently unmapped
19753	mmap private fixed at somewhere already mapped
19754	mmap shared not fixed
19755	mmap shared fixed at somewhere currently unmapped
19756	mmap shared fixed at somewhere already mapped
19757   For private mappings, we should verify that changes cannot be read()
19758   back from the file, nor mmap's back from the file at a different
19759   address.  (There have been systems where private was not correctly
19760   implemented like the infamous i386 svr4.0, and systems where the
19761   VM page cache was not coherent with the file system buffer cache
19762   like early versions of FreeBSD and possibly contemporary NetBSD.)
19763   For shared mappings, we should conversely verify that changes get
19764   propagated back to all the places they're supposed to be.
19765
19766   Grep wants private fixed already mapped.
19767   The main things grep needs to know about mmap are:
19768   * does it exist and is it safe to write into the mmap'd area
19769   * how to use it (BSD variants)  */
19770
19771#include <fcntl.h>
19772#include <sys/mman.h>
19773
19774#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
19775char *malloc ();
19776#endif
19777
19778/* This mess was copied from the GNU getpagesize.h.  */
19779#ifndef HAVE_GETPAGESIZE
19780# ifdef _SC_PAGESIZE
19781#  define getpagesize() sysconf(_SC_PAGESIZE)
19782# else /* no _SC_PAGESIZE */
19783#  ifdef HAVE_SYS_PARAM_H
19784#   include <sys/param.h>
19785#   ifdef EXEC_PAGESIZE
19786#    define getpagesize() EXEC_PAGESIZE
19787#   else /* no EXEC_PAGESIZE */
19788#    ifdef NBPG
19789#     define getpagesize() NBPG * CLSIZE
19790#     ifndef CLSIZE
19791#      define CLSIZE 1
19792#     endif /* no CLSIZE */
19793#    else /* no NBPG */
19794#     ifdef NBPC
19795#      define getpagesize() NBPC
19796#     else /* no NBPC */
19797#      ifdef PAGESIZE
19798#       define getpagesize() PAGESIZE
19799#      endif /* PAGESIZE */
19800#     endif /* no NBPC */
19801#    endif /* no NBPG */
19802#   endif /* no EXEC_PAGESIZE */
19803#  else /* no HAVE_SYS_PARAM_H */
19804#   define getpagesize() 8192	/* punt totally */
19805#  endif /* no HAVE_SYS_PARAM_H */
19806# endif /* no _SC_PAGESIZE */
19807
19808#endif /* no HAVE_GETPAGESIZE */
19809
19810int
19811main ()
19812{
19813  char *data, *data2, *data3;
19814  const char *cdata2;
19815  int i, pagesize;
19816  int fd, fd2;
19817
19818  pagesize = getpagesize ();
19819
19820  /* First, make a file with some known garbage in it. */
19821  data = (char *) malloc (pagesize);
19822  if (!data)
19823    return 1;
19824  for (i = 0; i < pagesize; ++i)
19825    *(data + i) = rand ();
19826  umask (0);
19827  fd = creat ("conftest.mmap", 0600);
19828  if (fd < 0)
19829    return 2;
19830  if (write (fd, data, pagesize) != pagesize)
19831    return 3;
19832  close (fd);
19833
19834  /* Next, check that the tail of a page is zero-filled.  File must have
19835     non-zero length, otherwise we risk SIGBUS for entire page.  */
19836  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
19837  if (fd2 < 0)
19838    return 4;
19839  cdata2 = "";
19840  if (write (fd2, cdata2, 1) != 1)
19841    return 5;
19842  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
19843  if (data2 == MAP_FAILED)
19844    return 6;
19845  for (i = 0; i < pagesize; ++i)
19846    if (*(data2 + i))
19847      return 7;
19848  close (fd2);
19849  if (munmap (data2, pagesize))
19850    return 8;
19851
19852  /* Next, try to mmap the file at a fixed address which already has
19853     something else allocated at it.  If we can, also make sure that
19854     we see the same garbage.  */
19855  fd = open ("conftest.mmap", O_RDWR);
19856  if (fd < 0)
19857    return 9;
19858  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
19859		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
19860    return 10;
19861  for (i = 0; i < pagesize; ++i)
19862    if (*(data + i) != *(data2 + i))
19863      return 11;
19864
19865  /* Finally, make sure that changes to the mapped area do not
19866     percolate back to the file as seen by read().  (This is a bug on
19867     some variants of i386 svr4.0.)  */
19868  for (i = 0; i < pagesize; ++i)
19869    *(data2 + i) = *(data2 + i) + 1;
19870  data3 = (char *) malloc (pagesize);
19871  if (!data3)
19872    return 12;
19873  if (read (fd, data3, pagesize) != pagesize)
19874    return 13;
19875  for (i = 0; i < pagesize; ++i)
19876    if (*(data + i) != *(data3 + i))
19877      return 14;
19878  close (fd);
19879  free (data);
19880  free (data3);
19881  return 0;
19882}
19883_ACEOF
19884if ac_fn_c_try_run "$LINENO"; then :
19885  ac_cv_func_mmap_fixed_mapped=yes
19886else
19887  ac_cv_func_mmap_fixed_mapped=no
19888fi
19889rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19890  conftest.$ac_objext conftest.beam conftest.$ac_ext
19891fi
19892
19893fi
19894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
19895$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
19896if test $ac_cv_func_mmap_fixed_mapped = yes; then
19897
19898$as_echo "#define HAVE_MMAP 1" >>confdefs.h
19899
19900fi
19901rm -f conftest.mmap conftest.txt
19902
19903for ac_func in execvp gettimeofday pthread_mutexattr_init
19904do :
19905  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19906ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19907if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19908  cat >>confdefs.h <<_ACEOF
19909#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19910_ACEOF
19911
19912else
19913  as_fn_error $? "*** not all required library functions were found ***" "$LINENO" 5
19914fi
19915done
19916
19917
19918for ac_func in clock_gettime
19919do :
19920  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
19921if test "x$ac_cv_func_clock_gettime" = xyes; then :
19922  cat >>confdefs.h <<_ACEOF
19923#define HAVE_CLOCK_GETTIME 1
19924_ACEOF
19925
19926fi
19927done
19928
19929for ac_func in mlockall
19930do :
19931  ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall"
19932if test "x$ac_cv_func_mlockall" = xyes; then :
19933  cat >>confdefs.h <<_ACEOF
19934#define HAVE_MLOCKALL 1
19935_ACEOF
19936
19937fi
19938done
19939
19940for ac_func in munlockall
19941do :
19942  ac_fn_c_check_func "$LINENO" "munlockall" "ac_cv_func_munlockall"
19943if test "x$ac_cv_func_munlockall" = xyes; then :
19944  cat >>confdefs.h <<_ACEOF
19945#define HAVE_MUNLOCKALL 1
19946_ACEOF
19947
19948fi
19949done
19950
19951for ac_func in nanosleep
19952do :
19953  ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
19954if test "x$ac_cv_func_nanosleep" = xyes; then :
19955  cat >>confdefs.h <<_ACEOF
19956#define HAVE_NANOSLEEP 1
19957_ACEOF
19958
19959fi
19960done
19961
19962for ac_func in pause
19963do :
19964  ac_fn_c_check_func "$LINENO" "pause" "ac_cv_func_pause"
19965if test "x$ac_cv_func_pause" = xyes; then :
19966  cat >>confdefs.h <<_ACEOF
19967#define HAVE_PAUSE 1
19968_ACEOF
19969
19970fi
19971done
19972
19973for ac_func in posix_memalign
19974do :
19975  ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
19976if test "x$ac_cv_func_posix_memalign" = xyes; then :
19977  cat >>confdefs.h <<_ACEOF
19978#define HAVE_POSIX_MEMALIGN 1
19979_ACEOF
19980
19981fi
19982done
19983
19984for ac_func in pthread_self
19985do :
19986  ac_fn_c_check_func "$LINENO" "pthread_self" "ac_cv_func_pthread_self"
19987if test "x$ac_cv_func_pthread_self" = xyes; then :
19988  cat >>confdefs.h <<_ACEOF
19989#define HAVE_PTHREAD_SELF 1
19990_ACEOF
19991
19992fi
19993done
19994
19995for ac_func in pthread_getschedparam
19996do :
19997  ac_fn_c_check_func "$LINENO" "pthread_getschedparam" "ac_cv_func_pthread_getschedparam"
19998if test "x$ac_cv_func_pthread_getschedparam" = xyes; then :
19999  cat >>confdefs.h <<_ACEOF
20000#define HAVE_PTHREAD_GETSCHEDPARAM 1
20001_ACEOF
20002
20003fi
20004done
20005
20006for ac_func in pthread_setschedparam
20007do :
20008  ac_fn_c_check_func "$LINENO" "pthread_setschedparam" "ac_cv_func_pthread_setschedparam"
20009if test "x$ac_cv_func_pthread_setschedparam" = xyes; then :
20010  cat >>confdefs.h <<_ACEOF
20011#define HAVE_PTHREAD_SETSCHEDPARAM 1
20012_ACEOF
20013
20014fi
20015done
20016
20017for ac_func in pthread_sigmask
20018do :
20019  ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask"
20020if test "x$ac_cv_func_pthread_sigmask" = xyes; then :
20021  cat >>confdefs.h <<_ACEOF
20022#define HAVE_PTHREAD_SIGMASK 1
20023_ACEOF
20024
20025fi
20026done
20027
20028for ac_func in pthread_kill
20029do :
20030  ac_fn_c_check_func "$LINENO" "pthread_kill" "ac_cv_func_pthread_kill"
20031if test "x$ac_cv_func_pthread_kill" = xyes; then :
20032  cat >>confdefs.h <<_ACEOF
20033#define HAVE_PTHREAD_KILL 1
20034_ACEOF
20035
20036fi
20037done
20038
20039for ac_func in sched_get_priority_max
20040do :
20041  ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
20042if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
20043  cat >>confdefs.h <<_ACEOF
20044#define HAVE_SCHED_GET_PRIORITY_MAX 1
20045_ACEOF
20046
20047fi
20048done
20049
20050for ac_func in sched_getparam
20051do :
20052  ac_fn_c_check_func "$LINENO" "sched_getparam" "ac_cv_func_sched_getparam"
20053if test "x$ac_cv_func_sched_getparam" = xyes; then :
20054  cat >>confdefs.h <<_ACEOF
20055#define HAVE_SCHED_GETPARAM 1
20056_ACEOF
20057
20058fi
20059done
20060
20061for ac_func in sched_getscheduler
20062do :
20063  ac_fn_c_check_func "$LINENO" "sched_getscheduler" "ac_cv_func_sched_getscheduler"
20064if test "x$ac_cv_func_sched_getscheduler" = xyes; then :
20065  cat >>confdefs.h <<_ACEOF
20066#define HAVE_SCHED_GETSCHEDULER 1
20067_ACEOF
20068
20069fi
20070done
20071
20072for ac_func in sched_setscheduler
20073do :
20074  ac_fn_c_check_func "$LINENO" "sched_setscheduler" "ac_cv_func_sched_setscheduler"
20075if test "x$ac_cv_func_sched_setscheduler" = xyes; then :
20076  cat >>confdefs.h <<_ACEOF
20077#define HAVE_SCHED_SETSCHEDULER 1
20078_ACEOF
20079
20080fi
20081done
20082
20083for ac_func in setlocale
20084do :
20085  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
20086if test "x$ac_cv_func_setlocale" = xyes; then :
20087  cat >>confdefs.h <<_ACEOF
20088#define HAVE_SETLOCALE 1
20089_ACEOF
20090
20091fi
20092done
20093
20094for ac_func in sigprocmask
20095do :
20096  ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20097if test "x$ac_cv_func_sigprocmask" = xyes; then :
20098  cat >>confdefs.h <<_ACEOF
20099#define HAVE_SIGPROCMASK 1
20100_ACEOF
20101
20102fi
20103done
20104
20105for ac_func in sigwait
20106do :
20107  ac_fn_c_check_func "$LINENO" "sigwait" "ac_cv_func_sigwait"
20108if test "x$ac_cv_func_sigwait" = xyes; then :
20109  cat >>confdefs.h <<_ACEOF
20110#define HAVE_SIGWAIT 1
20111_ACEOF
20112
20113fi
20114done
20115
20116for ac_func in usleep
20117do :
20118  ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep"
20119if test "x$ac_cv_func_usleep" = xyes; then :
20120  cat >>confdefs.h <<_ACEOF
20121#define HAVE_USLEEP 1
20122_ACEOF
20123
20124fi
20125done
20126
20127ac_ext=cpp
20128ac_cpp='$CXXCPP $CPPFLAGS'
20129ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20132
20133
20134
20135# Check whether --enable-all-static was given.
20136if test "${enable_all_static+set}" = set; then :
20137  enableval=$enable_all_static;
20138	      case "$enableval" in
20139	        y | yes)
20140		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20141$as_echo "yes" >&6; }
20142		  enable_all_static=yes
20143		;;
20144
20145		n | no)
20146		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20147$as_echo "no" >&6; }
20148		  enable_all_static=no
20149		;;
20150
20151		*)
20152		  as_fn_error $? "Invalid parameter value for --enable-all-static: $enableval" "$LINENO" 5
20153		;;
20154	      esac
20155
20156fi
20157
20158if test x$enable_all_static = xyes; then
20159
20160$as_echo "#define ECA_ALL_STATIC 1" >>confdefs.h
20161
20162    AM_CXXFLAGS="$AM_CXXFLAGS -static"
20163    AM_CFLAGS="$AM_CFLAGS -static"
20164    AM_LDFLAGS="$AM_LDFLAGS -Bstatic -all-static"
20165fi
20166
20167
20168if test x$enable_all_static = xyes; then
20169  ECA_AM_ALL_STATIC_TRUE=
20170  ECA_AM_ALL_STATIC_FALSE='#'
20171else
20172  ECA_AM_ALL_STATIC_TRUE='#'
20173  ECA_AM_ALL_STATIC_FALSE=
20174fi
20175
20176
20177
20178
20179if test $eca_platform_curses_support = yes ; then
20180
20181$as_echo "#define ECA_PLATFORM_CURSES 1" >>confdefs.h
20182
20183fi
20184
20185
20186echo "------------------------------------------------------------------"
20187echo "8. Section: Output"
20188echo "------------------------------------------------------------------"
20189
20190
20191ac_config_files="$ac_config_files Makefile libecasound/Makefile libecasound/libecasound-config libecasound/plugins/Makefile libecasoundc/Makefile libecasoundc/libecasoundc-config pyecasound/Makefile rubyecasound/Makefile ecasound/Makefile ecatools/Makefile kvutils/Makefile Documentation/Makefile Documentation/users_guide/Makefile Documentation/programmers_guide/Makefile examples/Makefile"
20192
20193cat >confcache <<\_ACEOF
20194# This file is a shell script that caches the results of configure
20195# tests run on this system so they can be shared between configure
20196# scripts and configure runs, see configure's option --config-cache.
20197# It is not useful on other systems.  If it contains results you don't
20198# want to keep, you may remove or edit it.
20199#
20200# config.status only pays attention to the cache file if you give it
20201# the --recheck option to rerun configure.
20202#
20203# `ac_cv_env_foo' variables (set or unset) will be overridden when
20204# loading this file, other *unset* `ac_cv_foo' will be assigned the
20205# following values.
20206
20207_ACEOF
20208
20209# The following way of writing the cache mishandles newlines in values,
20210# but we know of no workaround that is simple, portable, and efficient.
20211# So, we kill variables containing newlines.
20212# Ultrix sh set writes to stderr and can't be redirected directly,
20213# and sets the high bit in the cache file unless we assign to the vars.
20214(
20215  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20216    eval ac_val=\$$ac_var
20217    case $ac_val in #(
20218    *${as_nl}*)
20219      case $ac_var in #(
20220      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20221$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20222      esac
20223      case $ac_var in #(
20224      _ | IFS | as_nl) ;; #(
20225      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20226      *) { eval $ac_var=; unset $ac_var;} ;;
20227      esac ;;
20228    esac
20229  done
20230
20231  (set) 2>&1 |
20232    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20233    *${as_nl}ac_space=\ *)
20234      # `set' does not quote correctly, so add quotes: double-quote
20235      # substitution turns \\\\ into \\, and sed turns \\ into \.
20236      sed -n \
20237	"s/'/'\\\\''/g;
20238	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20239      ;; #(
20240    *)
20241      # `set' quotes correctly as required by POSIX, so do not add quotes.
20242      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20243      ;;
20244    esac |
20245    sort
20246) |
20247  sed '
20248     /^ac_cv_env_/b end
20249     t clear
20250     :clear
20251     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20252     t end
20253     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20254     :end' >>confcache
20255if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20256  if test -w "$cache_file"; then
20257    if test "x$cache_file" != "x/dev/null"; then
20258      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20259$as_echo "$as_me: updating cache $cache_file" >&6;}
20260      if test ! -f "$cache_file" || test -h "$cache_file"; then
20261	cat confcache >"$cache_file"
20262      else
20263        case $cache_file in #(
20264        */* | ?:*)
20265	  mv -f confcache "$cache_file"$$ &&
20266	  mv -f "$cache_file"$$ "$cache_file" ;; #(
20267        *)
20268	  mv -f confcache "$cache_file" ;;
20269	esac
20270      fi
20271    fi
20272  else
20273    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20274$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20275  fi
20276fi
20277rm -f confcache
20278
20279test "x$prefix" = xNONE && prefix=$ac_default_prefix
20280# Let make expand exec_prefix.
20281test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20282
20283DEFS=-DHAVE_CONFIG_H
20284
20285ac_libobjs=
20286ac_ltlibobjs=
20287U=
20288for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20289  # 1. Remove the extension, and $U if already installed.
20290  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20291  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20292  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20293  #    will be set to the directory where LIBOBJS objects are built.
20294  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20295  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20296done
20297LIBOBJS=$ac_libobjs
20298
20299LTLIBOBJS=$ac_ltlibobjs
20300
20301
20302if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20303  as_fn_error $? "conditional \"AMDEP\" was never defined.
20304Usually this means the macro was only invoked conditionally." "$LINENO" 5
20305fi
20306if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20307  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20308Usually this means the macro was only invoked conditionally." "$LINENO" 5
20309fi
20310if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20311  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20312Usually this means the macro was only invoked conditionally." "$LINENO" 5
20313fi
20314if test -z "${ECA_AM_DEBUG_MODE_TRUE}" && test -z "${ECA_AM_DEBUG_MODE_FALSE}"; then
20315  as_fn_error $? "conditional \"ECA_AM_DEBUG_MODE\" was never defined.
20316Usually this means the macro was only invoked conditionally." "$LINENO" 5
20317fi
20318if test -z "${ECA_AM_FEELING_EXPERIMENTAL_TRUE}" && test -z "${ECA_AM_FEELING_EXPERIMENTAL_FALSE}"; then
20319  as_fn_error $? "conditional \"ECA_AM_FEELING_EXPERIMENTAL\" was never defined.
20320Usually this means the macro was only invoked conditionally." "$LINENO" 5
20321fi
20322if test -z "${ECA_AM_DISABLE_EFFECTS_TRUE}" && test -z "${ECA_AM_DISABLE_EFFECTS_FALSE}"; then
20323  as_fn_error $? "conditional \"ECA_AM_DISABLE_EFFECTS\" was never defined.
20324Usually this means the macro was only invoked conditionally." "$LINENO" 5
20325fi
20326if test -z "${ECA_AM_COMPILE_OSS_TRUE}" && test -z "${ECA_AM_COMPILE_OSS_FALSE}"; then
20327  as_fn_error $? "conditional \"ECA_AM_COMPILE_OSS\" was never defined.
20328Usually this means the macro was only invoked conditionally." "$LINENO" 5
20329fi
20330if test -z "${ECA_AM_COMPILE_ARTS_TRUE}" && test -z "${ECA_AM_COMPILE_ARTS_FALSE}"; then
20331  as_fn_error $? "conditional \"ECA_AM_COMPILE_ARTS\" was never defined.
20332Usually this means the macro was only invoked conditionally." "$LINENO" 5
20333fi
20334if test -z "${ECA_AM_COMPILE_SAMPLERATE_TRUE}" && test -z "${ECA_AM_COMPILE_SAMPLERATE_FALSE}"; then
20335  as_fn_error $? "conditional \"ECA_AM_COMPILE_SAMPLERATE\" was never defined.
20336Usually this means the macro was only invoked conditionally." "$LINENO" 5
20337fi
20338if test -z "${ECA_AM_PYECASOUND_CEXT_TRUE}" && test -z "${ECA_AM_PYECASOUND_CEXT_FALSE}"; then
20339  as_fn_error $? "conditional \"ECA_AM_PYECASOUND_CEXT\" was never defined.
20340Usually this means the macro was only invoked conditionally." "$LINENO" 5
20341fi
20342if test -z "${ECA_AM_PYECASOUND_INSTALL_TRUE}" && test -z "${ECA_AM_PYECASOUND_INSTALL_FALSE}"; then
20343  as_fn_error $? "conditional \"ECA_AM_PYECASOUND_INSTALL\" was never defined.
20344Usually this means the macro was only invoked conditionally." "$LINENO" 5
20345fi
20346if test -z "${ECA_AM_RUBYECASOUND_INSTALL_TRUE}" && test -z "${ECA_AM_RUBYECASOUND_INSTALL_FALSE}"; then
20347  as_fn_error $? "conditional \"ECA_AM_RUBYECASOUND_INSTALL\" was never defined.
20348Usually this means the macro was only invoked conditionally." "$LINENO" 5
20349fi
20350if test -z "${ECA_AM_USE_NCURSES_TRUE}" && test -z "${ECA_AM_USE_NCURSES_FALSE}"; then
20351  as_fn_error $? "conditional \"ECA_AM_USE_NCURSES\" was never defined.
20352Usually this means the macro was only invoked conditionally." "$LINENO" 5
20353fi
20354if test -z "${ECA_AM_USE_TERMCAP_TRUE}" && test -z "${ECA_AM_USE_TERMCAP_FALSE}"; then
20355  as_fn_error $? "conditional \"ECA_AM_USE_TERMCAP\" was never defined.
20356Usually this means the macro was only invoked conditionally." "$LINENO" 5
20357fi
20358if test -z "${ECA_AM_COMPILE_AUDIOFILE_TRUE}" && test -z "${ECA_AM_COMPILE_AUDIOFILE_FALSE}"; then
20359  as_fn_error $? "conditional \"ECA_AM_COMPILE_AUDIOFILE\" was never defined.
20360Usually this means the macro was only invoked conditionally." "$LINENO" 5
20361fi
20362if test -z "${ECA_AM_COMPILE_SNDFILE_TRUE}" && test -z "${ECA_AM_COMPILE_SNDFILE_FALSE}"; then
20363  as_fn_error $? "conditional \"ECA_AM_COMPILE_SNDFILE\" was never defined.
20364Usually this means the macro was only invoked conditionally." "$LINENO" 5
20365fi
20366if test -z "${ECA_AM_COMPILE_ALSA_TRUE}" && test -z "${ECA_AM_COMPILE_ALSA_FALSE}"; then
20367  as_fn_error $? "conditional \"ECA_AM_COMPILE_ALSA\" was never defined.
20368Usually this means the macro was only invoked conditionally." "$LINENO" 5
20369fi
20370if test -z "${ECA_AM_COMPILE_JACK_TRUE}" && test -z "${ECA_AM_COMPILE_JACK_FALSE}"; then
20371  as_fn_error $? "conditional \"ECA_AM_COMPILE_JACK\" was never defined.
20372Usually this means the macro was only invoked conditionally." "$LINENO" 5
20373fi
20374if test -z "${ECA_AM_KVUTILS_INSTALLED_TRUE}" && test -z "${ECA_AM_KVUTILS_INSTALLED_FALSE}"; then
20375  as_fn_error $? "conditional \"ECA_AM_KVUTILS_INSTALLED\" was never defined.
20376Usually this means the macro was only invoked conditionally." "$LINENO" 5
20377fi
20378if test -z "${ECA_AM_SYSTEM_READLINE_TRUE}" && test -z "${ECA_AM_SYSTEM_READLINE_FALSE}"; then
20379  as_fn_error $? "conditional \"ECA_AM_SYSTEM_READLINE\" was never defined.
20380Usually this means the macro was only invoked conditionally." "$LINENO" 5
20381fi
20382
20383if test -z "${ECA_AM_ALL_STATIC_TRUE}" && test -z "${ECA_AM_ALL_STATIC_FALSE}"; then
20384  as_fn_error $? "conditional \"ECA_AM_ALL_STATIC\" was never defined.
20385Usually this means the macro was only invoked conditionally." "$LINENO" 5
20386fi
20387
20388: "${CONFIG_STATUS=./config.status}"
20389ac_write_fail=0
20390ac_clean_files_save=$ac_clean_files
20391ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20392{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20393$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20394as_write_fail=0
20395cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20396#! $SHELL
20397# Generated by $as_me.
20398# Run this file to recreate the current configuration.
20399# Compiler output produced by configure, useful for debugging
20400# configure, is in config.log if it exists.
20401
20402debug=false
20403ac_cs_recheck=false
20404ac_cs_silent=false
20405
20406SHELL=\${CONFIG_SHELL-$SHELL}
20407export SHELL
20408_ASEOF
20409cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20410## -------------------- ##
20411## M4sh Initialization. ##
20412## -------------------- ##
20413
20414# Be more Bourne compatible
20415DUALCASE=1; export DUALCASE # for MKS sh
20416if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20417  emulate sh
20418  NULLCMD=:
20419  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20420  # is contrary to our usage.  Disable this feature.
20421  alias -g '${1+"$@"}'='"$@"'
20422  setopt NO_GLOB_SUBST
20423else
20424  case `(set -o) 2>/dev/null` in #(
20425  *posix*) :
20426    set -o posix ;; #(
20427  *) :
20428     ;;
20429esac
20430fi
20431
20432
20433as_nl='
20434'
20435export as_nl
20436# Printing a long string crashes Solaris 7 /usr/bin/printf.
20437as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20438as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20439as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20440# Prefer a ksh shell builtin over an external printf program on Solaris,
20441# but without wasting forks for bash or zsh.
20442if test -z "$BASH_VERSION$ZSH_VERSION" \
20443    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20444  as_echo='print -r --'
20445  as_echo_n='print -rn --'
20446elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20447  as_echo='printf %s\n'
20448  as_echo_n='printf %s'
20449else
20450  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20451    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20452    as_echo_n='/usr/ucb/echo -n'
20453  else
20454    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20455    as_echo_n_body='eval
20456      arg=$1;
20457      case $arg in #(
20458      *"$as_nl"*)
20459	expr "X$arg" : "X\\(.*\\)$as_nl";
20460	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20461      esac;
20462      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20463    '
20464    export as_echo_n_body
20465    as_echo_n='sh -c $as_echo_n_body as_echo'
20466  fi
20467  export as_echo_body
20468  as_echo='sh -c $as_echo_body as_echo'
20469fi
20470
20471# The user is always right.
20472if test "${PATH_SEPARATOR+set}" != set; then
20473  PATH_SEPARATOR=:
20474  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20475    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20476      PATH_SEPARATOR=';'
20477  }
20478fi
20479
20480
20481# IFS
20482# We need space, tab and new line, in precisely that order.  Quoting is
20483# there to prevent editors from complaining about space-tab.
20484# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20485# splitting by setting IFS to empty value.)
20486IFS=" ""	$as_nl"
20487
20488# Find who we are.  Look in the path if we contain no directory separator.
20489as_myself=
20490case $0 in #((
20491  *[\\/]* ) as_myself=$0 ;;
20492  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20493for as_dir in $PATH
20494do
20495  IFS=$as_save_IFS
20496  test -z "$as_dir" && as_dir=.
20497    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20498  done
20499IFS=$as_save_IFS
20500
20501     ;;
20502esac
20503# We did not find ourselves, most probably we were run as `sh COMMAND'
20504# in which case we are not to be found in the path.
20505if test "x$as_myself" = x; then
20506  as_myself=$0
20507fi
20508if test ! -f "$as_myself"; then
20509  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20510  exit 1
20511fi
20512
20513# Unset variables that we do not need and which cause bugs (e.g. in
20514# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20515# suppresses any "Segmentation fault" message there.  '((' could
20516# trigger a bug in pdksh 5.2.14.
20517for as_var in BASH_ENV ENV MAIL MAILPATH
20518do eval test x\${$as_var+set} = xset \
20519  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20520done
20521PS1='$ '
20522PS2='> '
20523PS4='+ '
20524
20525# NLS nuisances.
20526LC_ALL=C
20527export LC_ALL
20528LANGUAGE=C
20529export LANGUAGE
20530
20531# CDPATH.
20532(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20533
20534
20535# as_fn_error STATUS ERROR [LINENO LOG_FD]
20536# ----------------------------------------
20537# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20538# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20539# script with STATUS, using 1 if that was 0.
20540as_fn_error ()
20541{
20542  as_status=$1; test $as_status -eq 0 && as_status=1
20543  if test "$4"; then
20544    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20545    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20546  fi
20547  $as_echo "$as_me: error: $2" >&2
20548  as_fn_exit $as_status
20549} # as_fn_error
20550
20551
20552# as_fn_set_status STATUS
20553# -----------------------
20554# Set $? to STATUS, without forking.
20555as_fn_set_status ()
20556{
20557  return $1
20558} # as_fn_set_status
20559
20560# as_fn_exit STATUS
20561# -----------------
20562# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20563as_fn_exit ()
20564{
20565  set +e
20566  as_fn_set_status $1
20567  exit $1
20568} # as_fn_exit
20569
20570# as_fn_unset VAR
20571# ---------------
20572# Portably unset VAR.
20573as_fn_unset ()
20574{
20575  { eval $1=; unset $1;}
20576}
20577as_unset=as_fn_unset
20578# as_fn_append VAR VALUE
20579# ----------------------
20580# Append the text in VALUE to the end of the definition contained in VAR. Take
20581# advantage of any shell optimizations that allow amortized linear growth over
20582# repeated appends, instead of the typical quadratic growth present in naive
20583# implementations.
20584if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20585  eval 'as_fn_append ()
20586  {
20587    eval $1+=\$2
20588  }'
20589else
20590  as_fn_append ()
20591  {
20592    eval $1=\$$1\$2
20593  }
20594fi # as_fn_append
20595
20596# as_fn_arith ARG...
20597# ------------------
20598# Perform arithmetic evaluation on the ARGs, and store the result in the
20599# global $as_val. Take advantage of shells that can avoid forks. The arguments
20600# must be portable across $(()) and expr.
20601if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20602  eval 'as_fn_arith ()
20603  {
20604    as_val=$(( $* ))
20605  }'
20606else
20607  as_fn_arith ()
20608  {
20609    as_val=`expr "$@" || test $? -eq 1`
20610  }
20611fi # as_fn_arith
20612
20613
20614if expr a : '\(a\)' >/dev/null 2>&1 &&
20615   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20616  as_expr=expr
20617else
20618  as_expr=false
20619fi
20620
20621if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20622  as_basename=basename
20623else
20624  as_basename=false
20625fi
20626
20627if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20628  as_dirname=dirname
20629else
20630  as_dirname=false
20631fi
20632
20633as_me=`$as_basename -- "$0" ||
20634$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20635	 X"$0" : 'X\(//\)$' \| \
20636	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20637$as_echo X/"$0" |
20638    sed '/^.*\/\([^/][^/]*\)\/*$/{
20639	    s//\1/
20640	    q
20641	  }
20642	  /^X\/\(\/\/\)$/{
20643	    s//\1/
20644	    q
20645	  }
20646	  /^X\/\(\/\).*/{
20647	    s//\1/
20648	    q
20649	  }
20650	  s/.*/./; q'`
20651
20652# Avoid depending upon Character Ranges.
20653as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20654as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20655as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20656as_cr_digits='0123456789'
20657as_cr_alnum=$as_cr_Letters$as_cr_digits
20658
20659ECHO_C= ECHO_N= ECHO_T=
20660case `echo -n x` in #(((((
20661-n*)
20662  case `echo 'xy\c'` in
20663  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
20664  xy)  ECHO_C='\c';;
20665  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20666       ECHO_T='	';;
20667  esac;;
20668*)
20669  ECHO_N='-n';;
20670esac
20671
20672rm -f conf$$ conf$$.exe conf$$.file
20673if test -d conf$$.dir; then
20674  rm -f conf$$.dir/conf$$.file
20675else
20676  rm -f conf$$.dir
20677  mkdir conf$$.dir 2>/dev/null
20678fi
20679if (echo >conf$$.file) 2>/dev/null; then
20680  if ln -s conf$$.file conf$$ 2>/dev/null; then
20681    as_ln_s='ln -s'
20682    # ... but there are two gotchas:
20683    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20684    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20685    # In both cases, we have to default to `cp -pR'.
20686    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20687      as_ln_s='cp -pR'
20688  elif ln conf$$.file conf$$ 2>/dev/null; then
20689    as_ln_s=ln
20690  else
20691    as_ln_s='cp -pR'
20692  fi
20693else
20694  as_ln_s='cp -pR'
20695fi
20696rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20697rmdir conf$$.dir 2>/dev/null
20698
20699
20700# as_fn_mkdir_p
20701# -------------
20702# Create "$as_dir" as a directory, including parents if necessary.
20703as_fn_mkdir_p ()
20704{
20705
20706  case $as_dir in #(
20707  -*) as_dir=./$as_dir;;
20708  esac
20709  test -d "$as_dir" || eval $as_mkdir_p || {
20710    as_dirs=
20711    while :; do
20712      case $as_dir in #(
20713      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20714      *) as_qdir=$as_dir;;
20715      esac
20716      as_dirs="'$as_qdir' $as_dirs"
20717      as_dir=`$as_dirname -- "$as_dir" ||
20718$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20719	 X"$as_dir" : 'X\(//\)[^/]' \| \
20720	 X"$as_dir" : 'X\(//\)$' \| \
20721	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20722$as_echo X"$as_dir" |
20723    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20724	    s//\1/
20725	    q
20726	  }
20727	  /^X\(\/\/\)[^/].*/{
20728	    s//\1/
20729	    q
20730	  }
20731	  /^X\(\/\/\)$/{
20732	    s//\1/
20733	    q
20734	  }
20735	  /^X\(\/\).*/{
20736	    s//\1/
20737	    q
20738	  }
20739	  s/.*/./; q'`
20740      test -d "$as_dir" && break
20741    done
20742    test -z "$as_dirs" || eval "mkdir $as_dirs"
20743  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20744
20745
20746} # as_fn_mkdir_p
20747if mkdir -p . 2>/dev/null; then
20748  as_mkdir_p='mkdir -p "$as_dir"'
20749else
20750  test -d ./-p && rmdir ./-p
20751  as_mkdir_p=false
20752fi
20753
20754
20755# as_fn_executable_p FILE
20756# -----------------------
20757# Test if FILE is an executable regular file.
20758as_fn_executable_p ()
20759{
20760  test -f "$1" && test -x "$1"
20761} # as_fn_executable_p
20762as_test_x='test -x'
20763as_executable_p=as_fn_executable_p
20764
20765# Sed expression to map a string onto a valid CPP name.
20766as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20767
20768# Sed expression to map a string onto a valid variable name.
20769as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20770
20771
20772exec 6>&1
20773## ----------------------------------- ##
20774## Main body of $CONFIG_STATUS script. ##
20775## ----------------------------------- ##
20776_ASEOF
20777test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20778
20779cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20780# Save the log message, to keep $0 and so on meaningful, and to
20781# report actual input values of CONFIG_FILES etc. instead of their
20782# values after options handling.
20783ac_log="
20784This file was extended by ecasound $as_me 2.9.3, which was
20785generated by GNU Autoconf 2.69.  Invocation command line was
20786
20787  CONFIG_FILES    = $CONFIG_FILES
20788  CONFIG_HEADERS  = $CONFIG_HEADERS
20789  CONFIG_LINKS    = $CONFIG_LINKS
20790  CONFIG_COMMANDS = $CONFIG_COMMANDS
20791  $ $0 $@
20792
20793on `(hostname || uname -n) 2>/dev/null | sed 1q`
20794"
20795
20796_ACEOF
20797
20798case $ac_config_files in *"
20799"*) set x $ac_config_files; shift; ac_config_files=$*;;
20800esac
20801
20802case $ac_config_headers in *"
20803"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20804esac
20805
20806
20807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20808# Files that config.status was made for.
20809config_files="$ac_config_files"
20810config_headers="$ac_config_headers"
20811config_commands="$ac_config_commands"
20812
20813_ACEOF
20814
20815cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20816ac_cs_usage="\
20817\`$as_me' instantiates files and other configuration actions
20818from templates according to the current configuration.  Unless the files
20819and actions are specified as TAGs, all are instantiated by default.
20820
20821Usage: $0 [OPTION]... [TAG]...
20822
20823  -h, --help       print this help, then exit
20824  -V, --version    print version number and configuration settings, then exit
20825      --config     print configuration, then exit
20826  -q, --quiet, --silent
20827                   do not print progress messages
20828  -d, --debug      don't remove temporary files
20829      --recheck    update $as_me by reconfiguring in the same conditions
20830      --file=FILE[:TEMPLATE]
20831                   instantiate the configuration file FILE
20832      --header=FILE[:TEMPLATE]
20833                   instantiate the configuration header FILE
20834
20835Configuration files:
20836$config_files
20837
20838Configuration headers:
20839$config_headers
20840
20841Configuration commands:
20842$config_commands
20843
20844Report bugs to the package provider."
20845
20846_ACEOF
20847cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20848ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20849ac_cs_version="\\
20850ecasound config.status 2.9.3
20851configured by $0, generated by GNU Autoconf 2.69,
20852  with options \\"\$ac_cs_config\\"
20853
20854Copyright (C) 2012 Free Software Foundation, Inc.
20855This config.status script is free software; the Free Software Foundation
20856gives unlimited permission to copy, distribute and modify it."
20857
20858ac_pwd='$ac_pwd'
20859srcdir='$srcdir'
20860INSTALL='$INSTALL'
20861AWK='$AWK'
20862test -n "\$AWK" || AWK=awk
20863_ACEOF
20864
20865cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20866# The default lists apply if the user does not specify any file.
20867ac_need_defaults=:
20868while test $# != 0
20869do
20870  case $1 in
20871  --*=?*)
20872    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20873    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20874    ac_shift=:
20875    ;;
20876  --*=)
20877    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20878    ac_optarg=
20879    ac_shift=:
20880    ;;
20881  *)
20882    ac_option=$1
20883    ac_optarg=$2
20884    ac_shift=shift
20885    ;;
20886  esac
20887
20888  case $ac_option in
20889  # Handling of the options.
20890  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20891    ac_cs_recheck=: ;;
20892  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20893    $as_echo "$ac_cs_version"; exit ;;
20894  --config | --confi | --conf | --con | --co | --c )
20895    $as_echo "$ac_cs_config"; exit ;;
20896  --debug | --debu | --deb | --de | --d | -d )
20897    debug=: ;;
20898  --file | --fil | --fi | --f )
20899    $ac_shift
20900    case $ac_optarg in
20901    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20902    '') as_fn_error $? "missing file argument" ;;
20903    esac
20904    as_fn_append CONFIG_FILES " '$ac_optarg'"
20905    ac_need_defaults=false;;
20906  --header | --heade | --head | --hea )
20907    $ac_shift
20908    case $ac_optarg in
20909    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20910    esac
20911    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20912    ac_need_defaults=false;;
20913  --he | --h)
20914    # Conflict between --help and --header
20915    as_fn_error $? "ambiguous option: \`$1'
20916Try \`$0 --help' for more information.";;
20917  --help | --hel | -h )
20918    $as_echo "$ac_cs_usage"; exit ;;
20919  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20920  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20921    ac_cs_silent=: ;;
20922
20923  # This is an error.
20924  -*) as_fn_error $? "unrecognized option: \`$1'
20925Try \`$0 --help' for more information." ;;
20926
20927  *) as_fn_append ac_config_targets " $1"
20928     ac_need_defaults=false ;;
20929
20930  esac
20931  shift
20932done
20933
20934ac_configure_extra_args=
20935
20936if $ac_cs_silent; then
20937  exec 6>/dev/null
20938  ac_configure_extra_args="$ac_configure_extra_args --silent"
20939fi
20940
20941_ACEOF
20942cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20943if \$ac_cs_recheck; then
20944  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20945  shift
20946  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20947  CONFIG_SHELL='$SHELL'
20948  export CONFIG_SHELL
20949  exec "\$@"
20950fi
20951
20952_ACEOF
20953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20954exec 5>>config.log
20955{
20956  echo
20957  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20958## Running $as_me. ##
20959_ASBOX
20960  $as_echo "$ac_log"
20961} >&5
20962
20963_ACEOF
20964cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20965#
20966# INIT-COMMANDS
20967#
20968AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20969
20970
20971# The HP-UX ksh and POSIX shell print the target directory to stdout
20972# if CDPATH is set.
20973(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20974
20975sed_quote_subst='$sed_quote_subst'
20976double_quote_subst='$double_quote_subst'
20977delay_variable_subst='$delay_variable_subst'
20978macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20979macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20980enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20981enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20982pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20983enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20984shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20985SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20986ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20987PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20988host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20989host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20990host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20991build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20992build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20993build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20994SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20995Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20996GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20997EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20998FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20999LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21000NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21001LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21002max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21003ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21004exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21005lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21006lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21007lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21008lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21009lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21010reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21011reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21012OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21013deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21014file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21015file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21016want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21017DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21018sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21019AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21020AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21021archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21022STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21023RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21024old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21025old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21026old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21027lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21028CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21029CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21030compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21031GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21032lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21033lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21034lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21035lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21036lt_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"`'
21037lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21038nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21039lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21040lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21041objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21042MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21043lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21044lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21045lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21046lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21047lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21048need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21049MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21050DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21051NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21052LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21053OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21054OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21055libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21056shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21057extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21058archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21059enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21060export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21061whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21062compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21063old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21064old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21065archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21066archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21067module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21068module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21069with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21070allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21071no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21072hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21073hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21074hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21075hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21076hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21077hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21078hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21079inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21080link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21081always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21082export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21083exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21084include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21085prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21086postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21087file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21088variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21089need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21090need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21091version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21092runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21093shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21094shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21095libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21096library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21097soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21098install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21099postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21100postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21101finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21102finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21103hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21104sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21105configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21106configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21107hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21108enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21109enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21110enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21111old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21112striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21113compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21114predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21115postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21116predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21117postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21118compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21119LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21120reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21121reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21122old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21123compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21124GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21125lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21126lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21127lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21128lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21129lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21130archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21131enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21132export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21133whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21134compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21135old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21136old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21137archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21138archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21139module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21140module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21141with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21142allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21143no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21144hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21145hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21146hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21147hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21148hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21149hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21150hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21151inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21152link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21153always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21154export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21155exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21156include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21157prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21158postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21159file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21160hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21161compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21162predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21163postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21164predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21165postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21166compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21167
21168LTCC='$LTCC'
21169LTCFLAGS='$LTCFLAGS'
21170compiler='$compiler_DEFAULT'
21171
21172# A function that is used when there is no print builtin or printf.
21173func_fallback_echo ()
21174{
21175  eval 'cat <<_LTECHO_EOF
21176\$1
21177_LTECHO_EOF'
21178}
21179
21180# Quote evaled strings.
21181for var in SHELL \
21182ECHO \
21183PATH_SEPARATOR \
21184SED \
21185GREP \
21186EGREP \
21187FGREP \
21188LD \
21189NM \
21190LN_S \
21191lt_SP2NL \
21192lt_NL2SP \
21193reload_flag \
21194OBJDUMP \
21195deplibs_check_method \
21196file_magic_cmd \
21197file_magic_glob \
21198want_nocaseglob \
21199DLLTOOL \
21200sharedlib_from_linklib_cmd \
21201AR \
21202AR_FLAGS \
21203archiver_list_spec \
21204STRIP \
21205RANLIB \
21206CC \
21207CFLAGS \
21208compiler \
21209lt_cv_sys_global_symbol_pipe \
21210lt_cv_sys_global_symbol_to_cdecl \
21211lt_cv_sys_global_symbol_to_import \
21212lt_cv_sys_global_symbol_to_c_name_address \
21213lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21214lt_cv_nm_interface \
21215nm_file_list_spec \
21216lt_cv_truncate_bin \
21217lt_prog_compiler_no_builtin_flag \
21218lt_prog_compiler_pic \
21219lt_prog_compiler_wl \
21220lt_prog_compiler_static \
21221lt_cv_prog_compiler_c_o \
21222need_locks \
21223MANIFEST_TOOL \
21224DSYMUTIL \
21225NMEDIT \
21226LIPO \
21227OTOOL \
21228OTOOL64 \
21229shrext_cmds \
21230export_dynamic_flag_spec \
21231whole_archive_flag_spec \
21232compiler_needs_object \
21233with_gnu_ld \
21234allow_undefined_flag \
21235no_undefined_flag \
21236hardcode_libdir_flag_spec \
21237hardcode_libdir_separator \
21238exclude_expsyms \
21239include_expsyms \
21240file_list_spec \
21241variables_saved_for_relink \
21242libname_spec \
21243library_names_spec \
21244soname_spec \
21245install_override_mode \
21246finish_eval \
21247old_striplib \
21248striplib \
21249compiler_lib_search_dirs \
21250predep_objects \
21251postdep_objects \
21252predeps \
21253postdeps \
21254compiler_lib_search_path \
21255LD_CXX \
21256reload_flag_CXX \
21257compiler_CXX \
21258lt_prog_compiler_no_builtin_flag_CXX \
21259lt_prog_compiler_pic_CXX \
21260lt_prog_compiler_wl_CXX \
21261lt_prog_compiler_static_CXX \
21262lt_cv_prog_compiler_c_o_CXX \
21263export_dynamic_flag_spec_CXX \
21264whole_archive_flag_spec_CXX \
21265compiler_needs_object_CXX \
21266with_gnu_ld_CXX \
21267allow_undefined_flag_CXX \
21268no_undefined_flag_CXX \
21269hardcode_libdir_flag_spec_CXX \
21270hardcode_libdir_separator_CXX \
21271exclude_expsyms_CXX \
21272include_expsyms_CXX \
21273file_list_spec_CXX \
21274compiler_lib_search_dirs_CXX \
21275predep_objects_CXX \
21276postdep_objects_CXX \
21277predeps_CXX \
21278postdeps_CXX \
21279compiler_lib_search_path_CXX; do
21280    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21281    *[\\\\\\\`\\"\\\$]*)
21282      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21283      ;;
21284    *)
21285      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21286      ;;
21287    esac
21288done
21289
21290# Double-quote double-evaled strings.
21291for var in reload_cmds \
21292old_postinstall_cmds \
21293old_postuninstall_cmds \
21294old_archive_cmds \
21295extract_expsyms_cmds \
21296old_archive_from_new_cmds \
21297old_archive_from_expsyms_cmds \
21298archive_cmds \
21299archive_expsym_cmds \
21300module_cmds \
21301module_expsym_cmds \
21302export_symbols_cmds \
21303prelink_cmds \
21304postlink_cmds \
21305postinstall_cmds \
21306postuninstall_cmds \
21307finish_cmds \
21308sys_lib_search_path_spec \
21309configure_time_dlsearch_path \
21310configure_time_lt_sys_library_path \
21311reload_cmds_CXX \
21312old_archive_cmds_CXX \
21313old_archive_from_new_cmds_CXX \
21314old_archive_from_expsyms_cmds_CXX \
21315archive_cmds_CXX \
21316archive_expsym_cmds_CXX \
21317module_cmds_CXX \
21318module_expsym_cmds_CXX \
21319export_symbols_cmds_CXX \
21320prelink_cmds_CXX \
21321postlink_cmds_CXX; do
21322    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21323    *[\\\\\\\`\\"\\\$]*)
21324      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21325      ;;
21326    *)
21327      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21328      ;;
21329    esac
21330done
21331
21332ac_aux_dir='$ac_aux_dir'
21333
21334# See if we are running on zsh, and set the options that allow our
21335# commands through without removal of \ escapes INIT.
21336if test -n "\${ZSH_VERSION+set}"; then
21337   setopt NO_GLOB_SUBST
21338fi
21339
21340
21341    PACKAGE='$PACKAGE'
21342    VERSION='$VERSION'
21343    RM='$RM'
21344    ofile='$ofile'
21345
21346
21347
21348
21349
21350
21351_ACEOF
21352
21353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21354
21355# Handling of arguments.
21356for ac_config_target in $ac_config_targets
21357do
21358  case $ac_config_target in
21359    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21360    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21361    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21362    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21363    "libecasound/Makefile") CONFIG_FILES="$CONFIG_FILES libecasound/Makefile" ;;
21364    "libecasound/libecasound-config") CONFIG_FILES="$CONFIG_FILES libecasound/libecasound-config" ;;
21365    "libecasound/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES libecasound/plugins/Makefile" ;;
21366    "libecasoundc/Makefile") CONFIG_FILES="$CONFIG_FILES libecasoundc/Makefile" ;;
21367    "libecasoundc/libecasoundc-config") CONFIG_FILES="$CONFIG_FILES libecasoundc/libecasoundc-config" ;;
21368    "pyecasound/Makefile") CONFIG_FILES="$CONFIG_FILES pyecasound/Makefile" ;;
21369    "rubyecasound/Makefile") CONFIG_FILES="$CONFIG_FILES rubyecasound/Makefile" ;;
21370    "ecasound/Makefile") CONFIG_FILES="$CONFIG_FILES ecasound/Makefile" ;;
21371    "ecatools/Makefile") CONFIG_FILES="$CONFIG_FILES ecatools/Makefile" ;;
21372    "kvutils/Makefile") CONFIG_FILES="$CONFIG_FILES kvutils/Makefile" ;;
21373    "Documentation/Makefile") CONFIG_FILES="$CONFIG_FILES Documentation/Makefile" ;;
21374    "Documentation/users_guide/Makefile") CONFIG_FILES="$CONFIG_FILES Documentation/users_guide/Makefile" ;;
21375    "Documentation/programmers_guide/Makefile") CONFIG_FILES="$CONFIG_FILES Documentation/programmers_guide/Makefile" ;;
21376    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
21377
21378  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21379  esac
21380done
21381
21382
21383# If the user did not use the arguments to specify the items to instantiate,
21384# then the envvar interface is used.  Set only those that are not.
21385# We use the long form for the default assignment because of an extremely
21386# bizarre bug on SunOS 4.1.3.
21387if $ac_need_defaults; then
21388  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21389  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21390  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21391fi
21392
21393# Have a temporary directory for convenience.  Make it in the build tree
21394# simply because there is no reason against having it here, and in addition,
21395# creating and moving files from /tmp can sometimes cause problems.
21396# Hook for its removal unless debugging.
21397# Note that there is a small window in which the directory will not be cleaned:
21398# after its creation but before its name has been assigned to `$tmp'.
21399$debug ||
21400{
21401  tmp= ac_tmp=
21402  trap 'exit_status=$?
21403  : "${ac_tmp:=$tmp}"
21404  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21405' 0
21406  trap 'as_fn_exit 1' 1 2 13 15
21407}
21408# Create a (secure) tmp directory for tmp files.
21409
21410{
21411  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21412  test -d "$tmp"
21413}  ||
21414{
21415  tmp=./conf$$-$RANDOM
21416  (umask 077 && mkdir "$tmp")
21417} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21418ac_tmp=$tmp
21419
21420# Set up the scripts for CONFIG_FILES section.
21421# No need to generate them if there are no CONFIG_FILES.
21422# This happens for instance with `./config.status config.h'.
21423if test -n "$CONFIG_FILES"; then
21424
21425
21426ac_cr=`echo X | tr X '\015'`
21427# On cygwin, bash can eat \r inside `` if the user requested igncr.
21428# But we know of no other shell where ac_cr would be empty at this
21429# point, so we can use a bashism as a fallback.
21430if test "x$ac_cr" = x; then
21431  eval ac_cr=\$\'\\r\'
21432fi
21433ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21434if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21435  ac_cs_awk_cr='\\r'
21436else
21437  ac_cs_awk_cr=$ac_cr
21438fi
21439
21440echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21441_ACEOF
21442
21443
21444{
21445  echo "cat >conf$$subs.awk <<_ACEOF" &&
21446  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21447  echo "_ACEOF"
21448} >conf$$subs.sh ||
21449  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21450ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21451ac_delim='%!_!# '
21452for ac_last_try in false false false false false :; do
21453  . ./conf$$subs.sh ||
21454    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21455
21456  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21457  if test $ac_delim_n = $ac_delim_num; then
21458    break
21459  elif $ac_last_try; then
21460    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21461  else
21462    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21463  fi
21464done
21465rm -f conf$$subs.sh
21466
21467cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21468cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21469_ACEOF
21470sed -n '
21471h
21472s/^/S["/; s/!.*/"]=/
21473p
21474g
21475s/^[^!]*!//
21476:repl
21477t repl
21478s/'"$ac_delim"'$//
21479t delim
21480:nl
21481h
21482s/\(.\{148\}\)..*/\1/
21483t more1
21484s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21485p
21486n
21487b repl
21488:more1
21489s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21490p
21491g
21492s/.\{148\}//
21493t nl
21494:delim
21495h
21496s/\(.\{148\}\)..*/\1/
21497t more2
21498s/["\\]/\\&/g; s/^/"/; s/$/"/
21499p
21500b
21501:more2
21502s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21503p
21504g
21505s/.\{148\}//
21506t delim
21507' <conf$$subs.awk | sed '
21508/^[^""]/{
21509  N
21510  s/\n//
21511}
21512' >>$CONFIG_STATUS || ac_write_fail=1
21513rm -f conf$$subs.awk
21514cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21515_ACAWK
21516cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21517  for (key in S) S_is_set[key] = 1
21518  FS = ""
21519
21520}
21521{
21522  line = $ 0
21523  nfields = split(line, field, "@")
21524  substed = 0
21525  len = length(field[1])
21526  for (i = 2; i < nfields; i++) {
21527    key = field[i]
21528    keylen = length(key)
21529    if (S_is_set[key]) {
21530      value = S[key]
21531      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21532      len += length(value) + length(field[++i])
21533      substed = 1
21534    } else
21535      len += 1 + keylen
21536  }
21537
21538  print line
21539}
21540
21541_ACAWK
21542_ACEOF
21543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21544if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21545  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21546else
21547  cat
21548fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21549  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21550_ACEOF
21551
21552# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21553# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21554# trailing colons and then remove the whole line if VPATH becomes empty
21555# (actually we leave an empty line to preserve line numbers).
21556if test "x$srcdir" = x.; then
21557  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
21558h
21559s///
21560s/^/:/
21561s/[	 ]*$/:/
21562s/:\$(srcdir):/:/g
21563s/:\${srcdir}:/:/g
21564s/:@srcdir@:/:/g
21565s/^:*//
21566s/:*$//
21567x
21568s/\(=[	 ]*\).*/\1/
21569G
21570s/\n//
21571s/^[^=]*=[	 ]*$//
21572}'
21573fi
21574
21575cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21576fi # test -n "$CONFIG_FILES"
21577
21578# Set up the scripts for CONFIG_HEADERS section.
21579# No need to generate them if there are no CONFIG_HEADERS.
21580# This happens for instance with `./config.status Makefile'.
21581if test -n "$CONFIG_HEADERS"; then
21582cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21583BEGIN {
21584_ACEOF
21585
21586# Transform confdefs.h into an awk script `defines.awk', embedded as
21587# here-document in config.status, that substitutes the proper values into
21588# config.h.in to produce config.h.
21589
21590# Create a delimiter string that does not exist in confdefs.h, to ease
21591# handling of long lines.
21592ac_delim='%!_!# '
21593for ac_last_try in false false :; do
21594  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21595  if test -z "$ac_tt"; then
21596    break
21597  elif $ac_last_try; then
21598    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21599  else
21600    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21601  fi
21602done
21603
21604# For the awk script, D is an array of macro values keyed by name,
21605# likewise P contains macro parameters if any.  Preserve backslash
21606# newline sequences.
21607
21608ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21609sed -n '
21610s/.\{148\}/&'"$ac_delim"'/g
21611t rset
21612:rset
21613s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
21614t def
21615d
21616:def
21617s/\\$//
21618t bsnl
21619s/["\\]/\\&/g
21620s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21621D["\1"]=" \3"/p
21622s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
21623d
21624:bsnl
21625s/["\\]/\\&/g
21626s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
21627D["\1"]=" \3\\\\\\n"\\/p
21628t cont
21629s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21630t cont
21631d
21632:cont
21633n
21634s/.\{148\}/&'"$ac_delim"'/g
21635t clear
21636:clear
21637s/\\$//
21638t bsnlc
21639s/["\\]/\\&/g; s/^/"/; s/$/"/p
21640d
21641:bsnlc
21642s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21643b cont
21644' <confdefs.h | sed '
21645s/'"$ac_delim"'/"\\\
21646"/g' >>$CONFIG_STATUS || ac_write_fail=1
21647
21648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21649  for (key in D) D_is_set[key] = 1
21650  FS = ""
21651}
21652/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21653  line = \$ 0
21654  split(line, arg, " ")
21655  if (arg[1] == "#") {
21656    defundef = arg[2]
21657    mac1 = arg[3]
21658  } else {
21659    defundef = substr(arg[1], 2)
21660    mac1 = arg[2]
21661  }
21662  split(mac1, mac2, "(") #)
21663  macro = mac2[1]
21664  prefix = substr(line, 1, index(line, defundef) - 1)
21665  if (D_is_set[macro]) {
21666    # Preserve the white space surrounding the "#".
21667    print prefix "define", macro P[macro] D[macro]
21668    next
21669  } else {
21670    # Replace #undef with comments.  This is necessary, for example,
21671    # in the case of _POSIX_SOURCE, which is predefined and required
21672    # on some systems where configure will not decide to define it.
21673    if (defundef == "undef") {
21674      print "/*", prefix defundef, macro, "*/"
21675      next
21676    }
21677  }
21678}
21679{ print }
21680_ACAWK
21681_ACEOF
21682cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21683  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21684fi # test -n "$CONFIG_HEADERS"
21685
21686
21687eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21688shift
21689for ac_tag
21690do
21691  case $ac_tag in
21692  :[FHLC]) ac_mode=$ac_tag; continue;;
21693  esac
21694  case $ac_mode$ac_tag in
21695  :[FHL]*:*);;
21696  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21697  :[FH]-) ac_tag=-:-;;
21698  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21699  esac
21700  ac_save_IFS=$IFS
21701  IFS=:
21702  set x $ac_tag
21703  IFS=$ac_save_IFS
21704  shift
21705  ac_file=$1
21706  shift
21707
21708  case $ac_mode in
21709  :L) ac_source=$1;;
21710  :[FH])
21711    ac_file_inputs=
21712    for ac_f
21713    do
21714      case $ac_f in
21715      -) ac_f="$ac_tmp/stdin";;
21716      *) # Look for the file first in the build tree, then in the source tree
21717	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
21718	 # because $ac_f cannot contain `:'.
21719	 test -f "$ac_f" ||
21720	   case $ac_f in
21721	   [\\/$]*) false;;
21722	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21723	   esac ||
21724	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21725      esac
21726      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21727      as_fn_append ac_file_inputs " '$ac_f'"
21728    done
21729
21730    # Let's still pretend it is `configure' which instantiates (i.e., don't
21731    # use $as_me), people would be surprised to read:
21732    #    /* config.h.  Generated by config.status.  */
21733    configure_input='Generated from '`
21734	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21735	`' by configure.'
21736    if test x"$ac_file" != x-; then
21737      configure_input="$ac_file.  $configure_input"
21738      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21739$as_echo "$as_me: creating $ac_file" >&6;}
21740    fi
21741    # Neutralize special characters interpreted by sed in replacement strings.
21742    case $configure_input in #(
21743    *\&* | *\|* | *\\* )
21744       ac_sed_conf_input=`$as_echo "$configure_input" |
21745       sed 's/[\\\\&|]/\\\\&/g'`;; #(
21746    *) ac_sed_conf_input=$configure_input;;
21747    esac
21748
21749    case $ac_tag in
21750    *:-:* | *:-) cat >"$ac_tmp/stdin" \
21751      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21752    esac
21753    ;;
21754  esac
21755
21756  ac_dir=`$as_dirname -- "$ac_file" ||
21757$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21758	 X"$ac_file" : 'X\(//\)[^/]' \| \
21759	 X"$ac_file" : 'X\(//\)$' \| \
21760	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21761$as_echo X"$ac_file" |
21762    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21763	    s//\1/
21764	    q
21765	  }
21766	  /^X\(\/\/\)[^/].*/{
21767	    s//\1/
21768	    q
21769	  }
21770	  /^X\(\/\/\)$/{
21771	    s//\1/
21772	    q
21773	  }
21774	  /^X\(\/\).*/{
21775	    s//\1/
21776	    q
21777	  }
21778	  s/.*/./; q'`
21779  as_dir="$ac_dir"; as_fn_mkdir_p
21780  ac_builddir=.
21781
21782case "$ac_dir" in
21783.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21784*)
21785  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21786  # A ".." for each directory in $ac_dir_suffix.
21787  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21788  case $ac_top_builddir_sub in
21789  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21790  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21791  esac ;;
21792esac
21793ac_abs_top_builddir=$ac_pwd
21794ac_abs_builddir=$ac_pwd$ac_dir_suffix
21795# for backward compatibility:
21796ac_top_builddir=$ac_top_build_prefix
21797
21798case $srcdir in
21799  .)  # We are building in place.
21800    ac_srcdir=.
21801    ac_top_srcdir=$ac_top_builddir_sub
21802    ac_abs_top_srcdir=$ac_pwd ;;
21803  [\\/]* | ?:[\\/]* )  # Absolute name.
21804    ac_srcdir=$srcdir$ac_dir_suffix;
21805    ac_top_srcdir=$srcdir
21806    ac_abs_top_srcdir=$srcdir ;;
21807  *) # Relative name.
21808    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21809    ac_top_srcdir=$ac_top_build_prefix$srcdir
21810    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21811esac
21812ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21813
21814
21815  case $ac_mode in
21816  :F)
21817  #
21818  # CONFIG_FILE
21819  #
21820
21821  case $INSTALL in
21822  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21823  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21824  esac
21825_ACEOF
21826
21827cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21828# If the template does not know about datarootdir, expand it.
21829# FIXME: This hack should be removed a few years after 2.60.
21830ac_datarootdir_hack=; ac_datarootdir_seen=
21831ac_sed_dataroot='
21832/datarootdir/ {
21833  p
21834  q
21835}
21836/@datadir@/p
21837/@docdir@/p
21838/@infodir@/p
21839/@localedir@/p
21840/@mandir@/p'
21841case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21842*datarootdir*) ac_datarootdir_seen=yes;;
21843*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21844  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21845$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21846_ACEOF
21847cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21848  ac_datarootdir_hack='
21849  s&@datadir@&$datadir&g
21850  s&@docdir@&$docdir&g
21851  s&@infodir@&$infodir&g
21852  s&@localedir@&$localedir&g
21853  s&@mandir@&$mandir&g
21854  s&\\\${datarootdir}&$datarootdir&g' ;;
21855esac
21856_ACEOF
21857
21858# Neutralize VPATH when `$srcdir' = `.'.
21859# Shell code in configure.ac might set extrasub.
21860# FIXME: do we really want to maintain this feature?
21861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21862ac_sed_extra="$ac_vpsub
21863$extrasub
21864_ACEOF
21865cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21866:t
21867/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21868s|@configure_input@|$ac_sed_conf_input|;t t
21869s&@top_builddir@&$ac_top_builddir_sub&;t t
21870s&@top_build_prefix@&$ac_top_build_prefix&;t t
21871s&@srcdir@&$ac_srcdir&;t t
21872s&@abs_srcdir@&$ac_abs_srcdir&;t t
21873s&@top_srcdir@&$ac_top_srcdir&;t t
21874s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21875s&@builddir@&$ac_builddir&;t t
21876s&@abs_builddir@&$ac_abs_builddir&;t t
21877s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21878s&@INSTALL@&$ac_INSTALL&;t t
21879$ac_datarootdir_hack
21880"
21881eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21882  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21883
21884test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21885  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21886  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
21887      "$ac_tmp/out"`; test -z "$ac_out"; } &&
21888  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21889which seems to be undefined.  Please make sure it is defined" >&5
21890$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21891which seems to be undefined.  Please make sure it is defined" >&2;}
21892
21893  rm -f "$ac_tmp/stdin"
21894  case $ac_file in
21895  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21896  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21897  esac \
21898  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21899 ;;
21900  :H)
21901  #
21902  # CONFIG_HEADER
21903  #
21904  if test x"$ac_file" != x-; then
21905    {
21906      $as_echo "/* $configure_input  */" \
21907      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21908    } >"$ac_tmp/config.h" \
21909      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21910    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21911      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21912$as_echo "$as_me: $ac_file is unchanged" >&6;}
21913    else
21914      rm -f "$ac_file"
21915      mv "$ac_tmp/config.h" "$ac_file" \
21916	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21917    fi
21918  else
21919    $as_echo "/* $configure_input  */" \
21920      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21921      || as_fn_error $? "could not create -" "$LINENO" 5
21922  fi
21923# Compute "$ac_file"'s index in $config_headers.
21924_am_stamp_count=1
21925for _am_header in $config_headers :; do
21926  case $_am_header in
21927    "$ac_file" | "$ac_file":* )
21928      break ;;
21929    * )
21930      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21931  esac
21932done
21933echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
21934$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21935	 X"$ac_file" : 'X\(//\)[^/]' \| \
21936	 X"$ac_file" : 'X\(//\)$' \| \
21937	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21938$as_echo X"$ac_file" |
21939    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21940	    s//\1/
21941	    q
21942	  }
21943	  /^X\(\/\/\)[^/].*/{
21944	    s//\1/
21945	    q
21946	  }
21947	  /^X\(\/\/\)$/{
21948	    s//\1/
21949	    q
21950	  }
21951	  /^X\(\/\).*/{
21952	    s//\1/
21953	    q
21954	  }
21955	  s/.*/./; q'`/stamp-h$_am_stamp_count
21956 ;;
21957
21958  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21959$as_echo "$as_me: executing $ac_file commands" >&6;}
21960 ;;
21961  esac
21962
21963
21964  case $ac_file$ac_mode in
21965    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21966  # Strip MF so we end up with the name of the file.
21967  mf=`echo "$mf" | sed -e 's/:.*$//'`
21968  # Check whether this is an Automake generated Makefile or not.
21969  # We used to match only the files named `Makefile.in', but
21970  # some people rename them; so instead we look at the file content.
21971  # Grep'ing the first line is not enough: some people post-process
21972  # each Makefile.in and add a new line on top of each file to say so.
21973  # So let's grep whole file.
21974  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21975    dirpart=`$as_dirname -- "$mf" ||
21976$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21977	 X"$mf" : 'X\(//\)[^/]' \| \
21978	 X"$mf" : 'X\(//\)$' \| \
21979	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21980$as_echo X"$mf" |
21981    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21982	    s//\1/
21983	    q
21984	  }
21985	  /^X\(\/\/\)[^/].*/{
21986	    s//\1/
21987	    q
21988	  }
21989	  /^X\(\/\/\)$/{
21990	    s//\1/
21991	    q
21992	  }
21993	  /^X\(\/\).*/{
21994	    s//\1/
21995	    q
21996	  }
21997	  s/.*/./; q'`
21998  else
21999    continue
22000  fi
22001  # Extract the definition of DEPDIR, am__include, and am__quote
22002  # from the Makefile without running `make'.
22003  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22004  test -z "$DEPDIR" && continue
22005  am__include=`sed -n 's/^am__include = //p' < "$mf"`
22006  test -z "am__include" && continue
22007  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22008  # When using ansi2knr, U may be empty or an underscore; expand it
22009  U=`sed -n 's/^U = //p' < "$mf"`
22010  # Find all dependency output files, they are included files with
22011  # $(DEPDIR) in their names.  We invoke sed twice because it is the
22012  # simplest approach to changing $(DEPDIR) to its actual value in the
22013  # expansion.
22014  for file in `sed -n "
22015    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22016       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22017    # Make sure the directory exists.
22018    test -f "$dirpart/$file" && continue
22019    fdir=`$as_dirname -- "$file" ||
22020$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22021	 X"$file" : 'X\(//\)[^/]' \| \
22022	 X"$file" : 'X\(//\)$' \| \
22023	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22024$as_echo X"$file" |
22025    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22026	    s//\1/
22027	    q
22028	  }
22029	  /^X\(\/\/\)[^/].*/{
22030	    s//\1/
22031	    q
22032	  }
22033	  /^X\(\/\/\)$/{
22034	    s//\1/
22035	    q
22036	  }
22037	  /^X\(\/\).*/{
22038	    s//\1/
22039	    q
22040	  }
22041	  s/.*/./; q'`
22042    as_dir=$dirpart/$fdir; as_fn_mkdir_p
22043    # echo "creating $dirpart/$file"
22044    echo '# dummy' > "$dirpart/$file"
22045  done
22046done
22047 ;;
22048    "libtool":C)
22049
22050    # See if we are running on zsh, and set the options that allow our
22051    # commands through without removal of \ escapes.
22052    if test -n "${ZSH_VERSION+set}"; then
22053      setopt NO_GLOB_SUBST
22054    fi
22055
22056    cfgfile=${ofile}T
22057    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22058    $RM "$cfgfile"
22059
22060    cat <<_LT_EOF >> "$cfgfile"
22061#! $SHELL
22062# Generated automatically by $as_me ($PACKAGE) $VERSION
22063# NOTE: Changes made to this file will be lost: look at ltmain.sh.
22064
22065# Provide generalized library-building support services.
22066# Written by Gordon Matzigkeit, 1996
22067
22068# Copyright (C) 2014 Free Software Foundation, Inc.
22069# This is free software; see the source for copying conditions.  There is NO
22070# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22071
22072# GNU Libtool is free software; you can redistribute it and/or modify
22073# it under the terms of the GNU General Public License as published by
22074# the Free Software Foundation; either version 2 of of the License, or
22075# (at your option) any later version.
22076#
22077# As a special exception to the GNU General Public License, if you
22078# distribute this file as part of a program or library that is built
22079# using GNU Libtool, you may include this file under the  same
22080# distribution terms that you use for the rest of that program.
22081#
22082# GNU Libtool is distributed in the hope that it will be useful, but
22083# WITHOUT ANY WARRANTY; without even the implied warranty of
22084# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22085# GNU General Public License for more details.
22086#
22087# You should have received a copy of the GNU General Public License
22088# along with this program.  If not, see <http://www.gnu.org/licenses/>.
22089
22090
22091# The names of the tagged configurations supported by this script.
22092available_tags='CXX '
22093
22094# Configured defaults for sys_lib_dlsearch_path munging.
22095: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22096
22097# ### BEGIN LIBTOOL CONFIG
22098
22099# Which release of libtool.m4 was used?
22100macro_version=$macro_version
22101macro_revision=$macro_revision
22102
22103# Whether or not to build shared libraries.
22104build_libtool_libs=$enable_shared
22105
22106# Whether or not to build static libraries.
22107build_old_libs=$enable_static
22108
22109# What type of objects to build.
22110pic_mode=$pic_mode
22111
22112# Whether or not to optimize for fast installation.
22113fast_install=$enable_fast_install
22114
22115# Shared archive member basename,for filename based shared library versioning on AIX.
22116shared_archive_member_spec=$shared_archive_member_spec
22117
22118# Shell to use when invoking shell scripts.
22119SHELL=$lt_SHELL
22120
22121# An echo program that protects backslashes.
22122ECHO=$lt_ECHO
22123
22124# The PATH separator for the build system.
22125PATH_SEPARATOR=$lt_PATH_SEPARATOR
22126
22127# The host system.
22128host_alias=$host_alias
22129host=$host
22130host_os=$host_os
22131
22132# The build system.
22133build_alias=$build_alias
22134build=$build
22135build_os=$build_os
22136
22137# A sed program that does not truncate output.
22138SED=$lt_SED
22139
22140# Sed that helps us avoid accidentally triggering echo(1) options like -n.
22141Xsed="\$SED -e 1s/^X//"
22142
22143# A grep program that handles long lines.
22144GREP=$lt_GREP
22145
22146# An ERE matcher.
22147EGREP=$lt_EGREP
22148
22149# A literal string matcher.
22150FGREP=$lt_FGREP
22151
22152# A BSD- or MS-compatible name lister.
22153NM=$lt_NM
22154
22155# Whether we need soft or hard links.
22156LN_S=$lt_LN_S
22157
22158# What is the maximum length of a command?
22159max_cmd_len=$max_cmd_len
22160
22161# Object file suffix (normally "o").
22162objext=$ac_objext
22163
22164# Executable file suffix (normally "").
22165exeext=$exeext
22166
22167# whether the shell understands "unset".
22168lt_unset=$lt_unset
22169
22170# turn spaces into newlines.
22171SP2NL=$lt_lt_SP2NL
22172
22173# turn newlines into spaces.
22174NL2SP=$lt_lt_NL2SP
22175
22176# convert \$build file names to \$host format.
22177to_host_file_cmd=$lt_cv_to_host_file_cmd
22178
22179# convert \$build files to toolchain format.
22180to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22181
22182# An object symbol dumper.
22183OBJDUMP=$lt_OBJDUMP
22184
22185# Method to check whether dependent libraries are shared objects.
22186deplibs_check_method=$lt_deplibs_check_method
22187
22188# Command to use when deplibs_check_method = "file_magic".
22189file_magic_cmd=$lt_file_magic_cmd
22190
22191# How to find potential files when deplibs_check_method = "file_magic".
22192file_magic_glob=$lt_file_magic_glob
22193
22194# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22195want_nocaseglob=$lt_want_nocaseglob
22196
22197# DLL creation program.
22198DLLTOOL=$lt_DLLTOOL
22199
22200# Command to associate shared and link libraries.
22201sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22202
22203# The archiver.
22204AR=$lt_AR
22205
22206# Flags to create an archive.
22207AR_FLAGS=$lt_AR_FLAGS
22208
22209# How to feed a file listing to the archiver.
22210archiver_list_spec=$lt_archiver_list_spec
22211
22212# A symbol stripping program.
22213STRIP=$lt_STRIP
22214
22215# Commands used to install an old-style archive.
22216RANLIB=$lt_RANLIB
22217old_postinstall_cmds=$lt_old_postinstall_cmds
22218old_postuninstall_cmds=$lt_old_postuninstall_cmds
22219
22220# Whether to use a lock for old archive extraction.
22221lock_old_archive_extraction=$lock_old_archive_extraction
22222
22223# A C compiler.
22224LTCC=$lt_CC
22225
22226# LTCC compiler flags.
22227LTCFLAGS=$lt_CFLAGS
22228
22229# Take the output of nm and produce a listing of raw symbols and C names.
22230global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22231
22232# Transform the output of nm in a proper C declaration.
22233global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22234
22235# Transform the output of nm into a list of symbols to manually relocate.
22236global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22237
22238# Transform the output of nm in a C name address pair.
22239global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22240
22241# Transform the output of nm in a C name address pair when lib prefix is needed.
22242global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22243
22244# The name lister interface.
22245nm_interface=$lt_lt_cv_nm_interface
22246
22247# Specify filename containing input files for \$NM.
22248nm_file_list_spec=$lt_nm_file_list_spec
22249
22250# The root where to search for dependent libraries,and where our libraries should be installed.
22251lt_sysroot=$lt_sysroot
22252
22253# Command to truncate a binary pipe.
22254lt_truncate_bin=$lt_lt_cv_truncate_bin
22255
22256# The name of the directory that contains temporary libtool files.
22257objdir=$objdir
22258
22259# Used to examine libraries when file_magic_cmd begins with "file".
22260MAGIC_CMD=$MAGIC_CMD
22261
22262# Must we lock files when doing compilation?
22263need_locks=$lt_need_locks
22264
22265# Manifest tool.
22266MANIFEST_TOOL=$lt_MANIFEST_TOOL
22267
22268# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22269DSYMUTIL=$lt_DSYMUTIL
22270
22271# Tool to change global to local symbols on Mac OS X.
22272NMEDIT=$lt_NMEDIT
22273
22274# Tool to manipulate fat objects and archives on Mac OS X.
22275LIPO=$lt_LIPO
22276
22277# ldd/readelf like tool for Mach-O binaries on Mac OS X.
22278OTOOL=$lt_OTOOL
22279
22280# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22281OTOOL64=$lt_OTOOL64
22282
22283# Old archive suffix (normally "a").
22284libext=$libext
22285
22286# Shared library suffix (normally ".so").
22287shrext_cmds=$lt_shrext_cmds
22288
22289# The commands to extract the exported symbol list from a shared archive.
22290extract_expsyms_cmds=$lt_extract_expsyms_cmds
22291
22292# Variables whose values should be saved in libtool wrapper scripts and
22293# restored at link time.
22294variables_saved_for_relink=$lt_variables_saved_for_relink
22295
22296# Do we need the "lib" prefix for modules?
22297need_lib_prefix=$need_lib_prefix
22298
22299# Do we need a version for libraries?
22300need_version=$need_version
22301
22302# Library versioning type.
22303version_type=$version_type
22304
22305# Shared library runtime path variable.
22306runpath_var=$runpath_var
22307
22308# Shared library path variable.
22309shlibpath_var=$shlibpath_var
22310
22311# Is shlibpath searched before the hard-coded library search path?
22312shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22313
22314# Format of library name prefix.
22315libname_spec=$lt_libname_spec
22316
22317# List of archive names.  First name is the real one, the rest are links.
22318# The last name is the one that the linker finds with -lNAME
22319library_names_spec=$lt_library_names_spec
22320
22321# The coded name of the library, if different from the real name.
22322soname_spec=$lt_soname_spec
22323
22324# Permission mode override for installation of shared libraries.
22325install_override_mode=$lt_install_override_mode
22326
22327# Command to use after installation of a shared archive.
22328postinstall_cmds=$lt_postinstall_cmds
22329
22330# Command to use after uninstallation of a shared archive.
22331postuninstall_cmds=$lt_postuninstall_cmds
22332
22333# Commands used to finish a libtool library installation in a directory.
22334finish_cmds=$lt_finish_cmds
22335
22336# As "finish_cmds", except a single script fragment to be evaled but
22337# not shown.
22338finish_eval=$lt_finish_eval
22339
22340# Whether we should hardcode library paths into libraries.
22341hardcode_into_libs=$hardcode_into_libs
22342
22343# Compile-time system search path for libraries.
22344sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22345
22346# Detected run-time system search path for libraries.
22347sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22348
22349# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22350configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22351
22352# Whether dlopen is supported.
22353dlopen_support=$enable_dlopen
22354
22355# Whether dlopen of programs is supported.
22356dlopen_self=$enable_dlopen_self
22357
22358# Whether dlopen of statically linked programs is supported.
22359dlopen_self_static=$enable_dlopen_self_static
22360
22361# Commands to strip libraries.
22362old_striplib=$lt_old_striplib
22363striplib=$lt_striplib
22364
22365
22366# The linker used to build libraries.
22367LD=$lt_LD
22368
22369# How to create reloadable object files.
22370reload_flag=$lt_reload_flag
22371reload_cmds=$lt_reload_cmds
22372
22373# Commands used to build an old-style archive.
22374old_archive_cmds=$lt_old_archive_cmds
22375
22376# A language specific compiler.
22377CC=$lt_compiler
22378
22379# Is the compiler the GNU compiler?
22380with_gcc=$GCC
22381
22382# Compiler flag to turn off builtin functions.
22383no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22384
22385# Additional compiler flags for building library objects.
22386pic_flag=$lt_lt_prog_compiler_pic
22387
22388# How to pass a linker flag through the compiler.
22389wl=$lt_lt_prog_compiler_wl
22390
22391# Compiler flag to prevent dynamic linking.
22392link_static_flag=$lt_lt_prog_compiler_static
22393
22394# Does compiler simultaneously support -c and -o options?
22395compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22396
22397# Whether or not to add -lc for building shared libraries.
22398build_libtool_need_lc=$archive_cmds_need_lc
22399
22400# Whether or not to disallow shared libs when runtime libs are static.
22401allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22402
22403# Compiler flag to allow reflexive dlopens.
22404export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22405
22406# Compiler flag to generate shared objects directly from archives.
22407whole_archive_flag_spec=$lt_whole_archive_flag_spec
22408
22409# Whether the compiler copes with passing no objects directly.
22410compiler_needs_object=$lt_compiler_needs_object
22411
22412# Create an old-style archive from a shared archive.
22413old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22414
22415# Create a temporary old-style archive to link instead of a shared archive.
22416old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22417
22418# Commands used to build a shared archive.
22419archive_cmds=$lt_archive_cmds
22420archive_expsym_cmds=$lt_archive_expsym_cmds
22421
22422# Commands used to build a loadable module if different from building
22423# a shared archive.
22424module_cmds=$lt_module_cmds
22425module_expsym_cmds=$lt_module_expsym_cmds
22426
22427# Whether we are building with GNU ld or not.
22428with_gnu_ld=$lt_with_gnu_ld
22429
22430# Flag that allows shared libraries with undefined symbols to be built.
22431allow_undefined_flag=$lt_allow_undefined_flag
22432
22433# Flag that enforces no undefined symbols.
22434no_undefined_flag=$lt_no_undefined_flag
22435
22436# Flag to hardcode \$libdir into a binary during linking.
22437# This must work even if \$libdir does not exist
22438hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22439
22440# Whether we need a single "-rpath" flag with a separated argument.
22441hardcode_libdir_separator=$lt_hardcode_libdir_separator
22442
22443# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22444# DIR into the resulting binary.
22445hardcode_direct=$hardcode_direct
22446
22447# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22448# DIR into the resulting binary and the resulting library dependency is
22449# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22450# library is relocated.
22451hardcode_direct_absolute=$hardcode_direct_absolute
22452
22453# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22454# into the resulting binary.
22455hardcode_minus_L=$hardcode_minus_L
22456
22457# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22458# into the resulting binary.
22459hardcode_shlibpath_var=$hardcode_shlibpath_var
22460
22461# Set to "yes" if building a shared library automatically hardcodes DIR
22462# into the library and all subsequent libraries and executables linked
22463# against it.
22464hardcode_automatic=$hardcode_automatic
22465
22466# Set to yes if linker adds runtime paths of dependent libraries
22467# to runtime path list.
22468inherit_rpath=$inherit_rpath
22469
22470# Whether libtool must link a program against all its dependency libraries.
22471link_all_deplibs=$link_all_deplibs
22472
22473# Set to "yes" if exported symbols are required.
22474always_export_symbols=$always_export_symbols
22475
22476# The commands to list exported symbols.
22477export_symbols_cmds=$lt_export_symbols_cmds
22478
22479# Symbols that should not be listed in the preloaded symbols.
22480exclude_expsyms=$lt_exclude_expsyms
22481
22482# Symbols that must always be exported.
22483include_expsyms=$lt_include_expsyms
22484
22485# Commands necessary for linking programs (against libraries) with templates.
22486prelink_cmds=$lt_prelink_cmds
22487
22488# Commands necessary for finishing linking programs.
22489postlink_cmds=$lt_postlink_cmds
22490
22491# Specify filename containing input files.
22492file_list_spec=$lt_file_list_spec
22493
22494# How to hardcode a shared library path into an executable.
22495hardcode_action=$hardcode_action
22496
22497# The directories searched by this compiler when creating a shared library.
22498compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22499
22500# Dependencies to place before and after the objects being linked to
22501# create a shared library.
22502predep_objects=$lt_predep_objects
22503postdep_objects=$lt_postdep_objects
22504predeps=$lt_predeps
22505postdeps=$lt_postdeps
22506
22507# The library search path used internally by the compiler when linking
22508# a shared library.
22509compiler_lib_search_path=$lt_compiler_lib_search_path
22510
22511# ### END LIBTOOL CONFIG
22512
22513_LT_EOF
22514
22515    cat <<'_LT_EOF' >> "$cfgfile"
22516
22517# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22518
22519# func_munge_path_list VARIABLE PATH
22520# -----------------------------------
22521# VARIABLE is name of variable containing _space_ separated list of
22522# directories to be munged by the contents of PATH, which is string
22523# having a format:
22524# "DIR[:DIR]:"
22525#       string "DIR[ DIR]" will be prepended to VARIABLE
22526# ":DIR[:DIR]"
22527#       string "DIR[ DIR]" will be appended to VARIABLE
22528# "DIRP[:DIRP]::[DIRA:]DIRA"
22529#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22530#       "DIRA[ DIRA]" will be appended to VARIABLE
22531# "DIR[:DIR]"
22532#       VARIABLE will be replaced by "DIR[ DIR]"
22533func_munge_path_list ()
22534{
22535    case x$2 in
22536    x)
22537        ;;
22538    *:)
22539        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22540        ;;
22541    x:*)
22542        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22543        ;;
22544    *::*)
22545        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22546        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22547        ;;
22548    *)
22549        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22550        ;;
22551    esac
22552}
22553
22554
22555# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
22556func_cc_basename ()
22557{
22558    for cc_temp in $*""; do
22559      case $cc_temp in
22560        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22561        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22562        \-*) ;;
22563        *) break;;
22564      esac
22565    done
22566    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22567}
22568
22569
22570# ### END FUNCTIONS SHARED WITH CONFIGURE
22571
22572_LT_EOF
22573
22574  case $host_os in
22575  aix3*)
22576    cat <<\_LT_EOF >> "$cfgfile"
22577# AIX sometimes has problems with the GCC collect2 program.  For some
22578# reason, if we set the COLLECT_NAMES environment variable, the problems
22579# vanish in a puff of smoke.
22580if test set != "${COLLECT_NAMES+set}"; then
22581  COLLECT_NAMES=
22582  export COLLECT_NAMES
22583fi
22584_LT_EOF
22585    ;;
22586  esac
22587
22588
22589ltmain=$ac_aux_dir/ltmain.sh
22590
22591
22592  # We use sed instead of cat because bash on DJGPP gets confused if
22593  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22594  # text mode, it properly converts lines to CR/LF.  This bash problem
22595  # is reportedly fixed, but why not run on old versions too?
22596  sed '$q' "$ltmain" >> "$cfgfile" \
22597     || (rm -f "$cfgfile"; exit 1)
22598
22599   mv -f "$cfgfile" "$ofile" ||
22600    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22601  chmod +x "$ofile"
22602
22603
22604    cat <<_LT_EOF >> "$ofile"
22605
22606# ### BEGIN LIBTOOL TAG CONFIG: CXX
22607
22608# The linker used to build libraries.
22609LD=$lt_LD_CXX
22610
22611# How to create reloadable object files.
22612reload_flag=$lt_reload_flag_CXX
22613reload_cmds=$lt_reload_cmds_CXX
22614
22615# Commands used to build an old-style archive.
22616old_archive_cmds=$lt_old_archive_cmds_CXX
22617
22618# A language specific compiler.
22619CC=$lt_compiler_CXX
22620
22621# Is the compiler the GNU compiler?
22622with_gcc=$GCC_CXX
22623
22624# Compiler flag to turn off builtin functions.
22625no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22626
22627# Additional compiler flags for building library objects.
22628pic_flag=$lt_lt_prog_compiler_pic_CXX
22629
22630# How to pass a linker flag through the compiler.
22631wl=$lt_lt_prog_compiler_wl_CXX
22632
22633# Compiler flag to prevent dynamic linking.
22634link_static_flag=$lt_lt_prog_compiler_static_CXX
22635
22636# Does compiler simultaneously support -c and -o options?
22637compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22638
22639# Whether or not to add -lc for building shared libraries.
22640build_libtool_need_lc=$archive_cmds_need_lc_CXX
22641
22642# Whether or not to disallow shared libs when runtime libs are static.
22643allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22644
22645# Compiler flag to allow reflexive dlopens.
22646export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22647
22648# Compiler flag to generate shared objects directly from archives.
22649whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22650
22651# Whether the compiler copes with passing no objects directly.
22652compiler_needs_object=$lt_compiler_needs_object_CXX
22653
22654# Create an old-style archive from a shared archive.
22655old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22656
22657# Create a temporary old-style archive to link instead of a shared archive.
22658old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22659
22660# Commands used to build a shared archive.
22661archive_cmds=$lt_archive_cmds_CXX
22662archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22663
22664# Commands used to build a loadable module if different from building
22665# a shared archive.
22666module_cmds=$lt_module_cmds_CXX
22667module_expsym_cmds=$lt_module_expsym_cmds_CXX
22668
22669# Whether we are building with GNU ld or not.
22670with_gnu_ld=$lt_with_gnu_ld_CXX
22671
22672# Flag that allows shared libraries with undefined symbols to be built.
22673allow_undefined_flag=$lt_allow_undefined_flag_CXX
22674
22675# Flag that enforces no undefined symbols.
22676no_undefined_flag=$lt_no_undefined_flag_CXX
22677
22678# Flag to hardcode \$libdir into a binary during linking.
22679# This must work even if \$libdir does not exist
22680hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22681
22682# Whether we need a single "-rpath" flag with a separated argument.
22683hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22684
22685# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22686# DIR into the resulting binary.
22687hardcode_direct=$hardcode_direct_CXX
22688
22689# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22690# DIR into the resulting binary and the resulting library dependency is
22691# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22692# library is relocated.
22693hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22694
22695# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22696# into the resulting binary.
22697hardcode_minus_L=$hardcode_minus_L_CXX
22698
22699# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22700# into the resulting binary.
22701hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22702
22703# Set to "yes" if building a shared library automatically hardcodes DIR
22704# into the library and all subsequent libraries and executables linked
22705# against it.
22706hardcode_automatic=$hardcode_automatic_CXX
22707
22708# Set to yes if linker adds runtime paths of dependent libraries
22709# to runtime path list.
22710inherit_rpath=$inherit_rpath_CXX
22711
22712# Whether libtool must link a program against all its dependency libraries.
22713link_all_deplibs=$link_all_deplibs_CXX
22714
22715# Set to "yes" if exported symbols are required.
22716always_export_symbols=$always_export_symbols_CXX
22717
22718# The commands to list exported symbols.
22719export_symbols_cmds=$lt_export_symbols_cmds_CXX
22720
22721# Symbols that should not be listed in the preloaded symbols.
22722exclude_expsyms=$lt_exclude_expsyms_CXX
22723
22724# Symbols that must always be exported.
22725include_expsyms=$lt_include_expsyms_CXX
22726
22727# Commands necessary for linking programs (against libraries) with templates.
22728prelink_cmds=$lt_prelink_cmds_CXX
22729
22730# Commands necessary for finishing linking programs.
22731postlink_cmds=$lt_postlink_cmds_CXX
22732
22733# Specify filename containing input files.
22734file_list_spec=$lt_file_list_spec_CXX
22735
22736# How to hardcode a shared library path into an executable.
22737hardcode_action=$hardcode_action_CXX
22738
22739# The directories searched by this compiler when creating a shared library.
22740compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22741
22742# Dependencies to place before and after the objects being linked to
22743# create a shared library.
22744predep_objects=$lt_predep_objects_CXX
22745postdep_objects=$lt_postdep_objects_CXX
22746predeps=$lt_predeps_CXX
22747postdeps=$lt_postdeps_CXX
22748
22749# The library search path used internally by the compiler when linking
22750# a shared library.
22751compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22752
22753# ### END LIBTOOL TAG CONFIG: CXX
22754_LT_EOF
22755
22756 ;;
22757
22758  esac
22759done # for ac_tag
22760
22761
22762as_fn_exit 0
22763_ACEOF
22764ac_clean_files=$ac_clean_files_save
22765
22766test $ac_write_fail = 0 ||
22767  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22768
22769
22770# configure is writing to config.log, and then calls config.status.
22771# config.status does its own redirection, appending to config.log.
22772# Unfortunately, on DOS this fails, as config.log is still kept open
22773# by configure, so config.status won't be able to write to it; its
22774# output is simply discarded.  So we exec the FD to /dev/null,
22775# effectively closing config.log, so it can be properly (re)opened and
22776# appended to by config.status.  When coming back to configure, we
22777# need to make the FD available again.
22778if test "$no_create" != yes; then
22779  ac_cs_success=:
22780  ac_config_status_args=
22781  test "$silent" = yes &&
22782    ac_config_status_args="$ac_config_status_args --quiet"
22783  exec 5>/dev/null
22784  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22785  exec 5>>config.log
22786  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22787  # would make configure fail if this is the last instruction.
22788  $ac_cs_success || as_fn_exit 1
22789fi
22790if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22791  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22792$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22793fi
22794
22795
22796
22797echo "-----------------------------------------------------------------"
22798echo "Following packages are now configured:"
22799echo "ecasound:               yes (ecasound,libecasound,libecasoundc)"
22800echo "ecatools:               yes"
22801if test x$pyecasound_support != xnone ; then
22802	if test x$pyecasound_support = xc ; then
22803		echo "pyecasound:             yes (as Python C extension module)"
22804	else
22805		echo "pyecasound:             yes (as native Python module)"
22806	fi
22807else
22808	echo "pyecasound:             no"
22809fi
22810if test x$rubyecasound_support = xyes ; then
22811	echo "rubyecasound:           yes"
22812else
22813	echo "rubyecasound:           no"
22814fi
22815echo "libkvutils:             yes"
22816
22817echo "-----------------------------------------------------------------"
22818echo "Compiler options:"
22819echo "CFLAGS:                 $AM_CFLAGS $CFLAGS"
22820echo "CXXFLAGS:               $AM_CXXFLAGS $CXXFLAGS"
22821echo "CPPFLAGS:               $AM_CPPFLAGS $CPPFLAGS"
22822echo "LDFLAGS:                $AM_LDFLAGS $LDFLAGS"
22823
22824echo "-----------------------------------------------------------------"
22825echo "Following features were selected:"
22826if test x$include_debug = xyes ; then
22827	echo "Debugging info:         yes"
22828else
22829	echo "Debugging info:         no"
22830fi
22831if test x$enable_effects_d = xyes ; then
22832	echo "Effects enabled:        yes"
22833else
22834	echo "Effects enabled:        no"
22835fi
22836if test x$termcap_library = xtermcap ; then
22837	echo "Termcap:                termcap"
22838fi
22839if test x$termcap_library = xncurses; then
22840	echo "Termcap:                ncurses"
22841fi
22842if test x$termcap_library = xnone; then
22843	echo "Termcap:                none"
22844fi
22845if test x$enable_sysreadline = xyes ; then
22846	echo "Use system readline:    yes"
22847else
22848	echo "Use system readline:    no"
22849fi
22850	echo "Use curses interface:   $eca_platform_curses_support"
22851if test x$af_support = xyes ; then
22852	echo "Libaudiofile:           yes"
22853else
22854	echo "Libaudiofile:           no"
22855fi
22856if test x$sndfile_support = xyes ; then
22857	echo "Libsndfile:             yes"
22858else
22859	echo "Libsndfile:             no"
22860fi
22861if test x$alsa_support = xyes ; then
22862	echo "ALSA support:           yes"
22863else
22864	echo "ALSA support:           no"
22865fi
22866if test x$oss_support = xyes ; then
22867	echo "OSS support:            yes"
22868else
22869	echo "OSS support:            no"
22870fi
22871if test x$arts_support = xyes ; then
22872	echo "aRts support:           yes"
22873else
22874	echo "aRts support:           no"
22875fi
22876if test x$jack_support = xyes ; then
22877	echo "JACK support:           yes"
22878else
22879	echo "JACK support:           no"
22880fi
22881if test x$samplerate_support = xyes ; then
22882	echo "Libsamplerate support   yes"
22883else
22884	echo "Libsamplerate support   no"
22885fi
22886if test x$enable_liblilv = xyes ; then
22887	echo "LV2 (liblilv) support:  yes"
22888else
22889	echo "LV2 (liblilv) support:  no"
22890fi
22891if test x$enable_liboil = xyes ; then
22892	echo "Liboil support:         yes"
22893else
22894	echo "Liboil support:         no"
22895fi
22896if test x$enable_liblo = xyes ; then
22897	echo "Liblo (OSC) support:    yes"
22898else
22899	echo "Liblo (OSC) support:    no"
22900fi
22901
22902echo "-----------------------------------------------------------------"
22903echo "Following directories are used:"
22904echo "Directory prefix:       "$ECA_S_PREFIX
22905if test x$pyecasound_support = xc ; then
22906	echo "Python include dir:     "$ECA_S_PYTHON_INCLUDES
22907fi
22908if test x$pyecasound_support != xnone ; then
22909	echo "Python module dir:      "$ECA_S_PYTHON_MODULES
22910fi
22911if test x$rubyecasound_support != xnone ; then
22912	echo "Ruby module dir:        "$ECA_S_RUBY_SITEDIR
22913fi
22914if test "x$ECA_S_EXTRA_CPPFLAGS" != "x" ; then
22915	echo "Extra headers:          "$ECA_S_EXTRA_CPPFLAGS
22916fi
22917if test "x$ECA_S_EXTRA_LIBS" != "x" ; then
22918	echo "Extra libs:            "$ECA_S_EXTRA_LIBS
22919fi
22920
22921echo "-------------------------------------------------------------------"
22922echo "Type 'make' to compile the package and 'make install' to install."
22923echo "Remember to use GNU Make, often installed as 'gmake'."
22924echo "-------------------------------------------------------------------"
22925
22926