1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for unimrcp 1.2.0.
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
199
200  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    PATH=/empty FPATH=/empty; export PATH FPATH
205    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207test \$(( 1 + 1 )) = 2 || 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='unimrcp'
589PACKAGE_TARNAME='unimrcp'
590PACKAGE_VERSION='1.2.0'
591PACKAGE_STRING='unimrcp 1.2.0'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_default_prefix=/usr/local/unimrcp
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_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636ISMAC_FALSE
637ISMAC_TRUE
638TEST_SUITES_FALSE
639TEST_SUITES_TRUE
640RECORDER_PLUGIN_FALSE
641RECORDER_PLUGIN_TRUE
642DEMOVERIFIER_PLUGIN_FALSE
643DEMOVERIFIER_PLUGIN_TRUE
644DEMORECOG_PLUGIN_FALSE
645DEMORECOG_PLUGIN_TRUE
646DEMOSYNTH_PLUGIN_FALSE
647DEMOSYNTH_PLUGIN_TRUE
648UNIMRCP_SERVER_APP_FALSE
649UNIMRCP_SERVER_APP_TRUE
650UNIMRCP_SERVER_LIB_FALSE
651UNIMRCP_SERVER_LIB_TRUE
652COMMON_CLIENT_DATA_FALSE
653COMMON_CLIENT_DATA_TRUE
654ASR_CLIENT_FALSE
655ASR_CLIENT_TRUE
656UMC_FALSE
657UMC_TRUE
658UNIMRCP_CLIENT_APP_FALSE
659UNIMRCP_CLIENT_APP_TRUE
660UNIMRCP_CLIENT_LIB_FALSE
661UNIMRCP_CLIENT_LIB_TRUE
662UNIMRCP_SOFIA_LIBS
663UNIMRCP_SOFIA_INCLUDES
664UNIMRCP_APR_LIBS
665UNIMRCP_APR_INCLUDES
666PLUGIN_LT_VERSION
667UNI_LT_VERSION
668UNI_DOTTED_VERSION
669PKG_CONFIG
670CXXCPP
671CPP
672LT_SYS_LIBRARY_PATH
673OTOOL64
674OTOOL
675LIPO
676NMEDIT
677DSYMUTIL
678MANIFEST_TOOL
679RANLIB
680ac_ct_AR
681AR
682DLLTOOL
683OBJDUMP
684LN_S
685NM
686ac_ct_DUMPBIN
687DUMPBIN
688LD
689FGREP
690EGREP
691GREP
692SED
693host_os
694host_vendor
695host_cpu
696host
697build_os
698build_vendor
699build_cpu
700build
701LIBTOOL
702am__fastdepCXX_FALSE
703am__fastdepCXX_TRUE
704CXXDEPMODE
705ac_ct_CXX
706CXXFLAGS
707CXX
708am__fastdepCC_FALSE
709am__fastdepCC_TRUE
710CCDEPMODE
711am__nodep
712AMDEPBACKSLASH
713AMDEP_FALSE
714AMDEP_TRUE
715am__quote
716am__include
717DEPDIR
718OBJEXT
719EXEEXT
720ac_ct_CC
721CPPFLAGS
722LDFLAGS
723CFLAGS
724CC
725AM_BACKSLASH
726AM_DEFAULT_VERBOSITY
727AM_DEFAULT_V
728AM_V
729am__untar
730am__tar
731AMTAR
732am__leading_dot
733SET_MAKE
734AWK
735mkdir_p
736MKDIR_P
737INSTALL_STRIP_PROGRAM
738STRIP
739install_sh
740MAKEINFO
741AUTOHEADER
742AUTOMAKE
743AUTOCONF
744ACLOCAL
745VERSION
746PACKAGE
747CYGPATH_W
748am__isrc
749INSTALL_DATA
750INSTALL_SCRIPT
751INSTALL_PROGRAM
752vardir
753logdir
754plugindir
755ac_macro_dir
756ac_aux_dir
757target_alias
758host_alias
759build_alias
760LIBS
761ECHO_T
762ECHO_N
763ECHO_C
764DEFS
765mandir
766localedir
767libdir
768psdir
769pdfdir
770dvidir
771htmldir
772infodir
773docdir
774oldincludedir
775includedir
776runstatedir
777localstatedir
778sharedstatedir
779sysconfdir
780datadir
781datarootdir
782libexecdir
783sbindir
784bindir
785program_transform_name
786prefix
787exec_prefix
788PACKAGE_URL
789PACKAGE_BUGREPORT
790PACKAGE_STRING
791PACKAGE_VERSION
792PACKAGE_TARNAME
793PACKAGE_NAME
794PATH_SEPARATOR
795SHELL'
796ac_subst_files=''
797ac_user_opts='
798enable_option_checking
799enable_layout
800enable_silent_rules
801enable_dependency_tracking
802enable_shared
803enable_static
804with_pic
805enable_fast_install
806with_aix_soname
807with_gnu_ld
808with_sysroot
809enable_libtool_lock
810with_apr
811with_apr_util
812with_sofia_sip
813enable_interlib_deps
814enable_maintainer_mode
815enable_client_lib
816enable_client_app
817enable_umc
818enable_asr_client
819enable_server_lib
820enable_server_app
821enable_demosynth_plugin
822enable_demorecog_plugin
823enable_demoverifier_plugin
824enable_recorder_plugin
825enable_test_suites
826enable_address_sanitizer
827'
828      ac_precious_vars='build_alias
829host_alias
830target_alias
831CC
832CFLAGS
833LDFLAGS
834LIBS
835CPPFLAGS
836CXX
837CXXFLAGS
838CCC
839LT_SYS_LIBRARY_PATH
840CPP
841CXXCPP'
842
843
844# Initialize some variables set by options.
845ac_init_help=
846ac_init_version=false
847ac_unrecognized_opts=
848ac_unrecognized_sep=
849# The variables have the same names as the options, with
850# dashes changed to underlines.
851cache_file=/dev/null
852exec_prefix=NONE
853no_create=
854no_recursion=
855prefix=NONE
856program_prefix=NONE
857program_suffix=NONE
858program_transform_name=s,x,x,
859silent=
860site=
861srcdir=
862verbose=
863x_includes=NONE
864x_libraries=NONE
865
866# Installation directory options.
867# These are left unexpanded so users can "make install exec_prefix=/foo"
868# and all the variables that are supposed to be based on exec_prefix
869# by default will actually change.
870# Use braces instead of parens because sh, perl, etc. also accept them.
871# (The list follows the same order as the GNU Coding Standards.)
872bindir='${exec_prefix}/bin'
873sbindir='${exec_prefix}/sbin'
874libexecdir='${exec_prefix}/libexec'
875datarootdir='${prefix}/share'
876datadir='${datarootdir}'
877sysconfdir='${prefix}/etc'
878sharedstatedir='${prefix}/com'
879localstatedir='${prefix}/var'
880runstatedir='${localstatedir}/run'
881includedir='${prefix}/include'
882oldincludedir='/usr/include'
883docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
884infodir='${datarootdir}/info'
885htmldir='${docdir}'
886dvidir='${docdir}'
887pdfdir='${docdir}'
888psdir='${docdir}'
889libdir='${exec_prefix}/lib'
890localedir='${datarootdir}/locale'
891mandir='${datarootdir}/man'
892
893ac_prev=
894ac_dashdash=
895for ac_option
896do
897  # If the previous option needs an argument, assign it.
898  if test -n "$ac_prev"; then
899    eval $ac_prev=\$ac_option
900    ac_prev=
901    continue
902  fi
903
904  case $ac_option in
905  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906  *=)   ac_optarg= ;;
907  *)    ac_optarg=yes ;;
908  esac
909
910  # Accept the important Cygnus configure options, so we can diagnose typos.
911
912  case $ac_dashdash$ac_option in
913  --)
914    ac_dashdash=yes ;;
915
916  -bindir | --bindir | --bindi | --bind | --bin | --bi)
917    ac_prev=bindir ;;
918  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919    bindir=$ac_optarg ;;
920
921  -build | --build | --buil | --bui | --bu)
922    ac_prev=build_alias ;;
923  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924    build_alias=$ac_optarg ;;
925
926  -cache-file | --cache-file | --cache-fil | --cache-fi \
927  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928    ac_prev=cache_file ;;
929  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931    cache_file=$ac_optarg ;;
932
933  --config-cache | -C)
934    cache_file=config.cache ;;
935
936  -datadir | --datadir | --datadi | --datad)
937    ac_prev=datadir ;;
938  -datadir=* | --datadir=* | --datadi=* | --datad=*)
939    datadir=$ac_optarg ;;
940
941  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942  | --dataroo | --dataro | --datar)
943    ac_prev=datarootdir ;;
944  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946    datarootdir=$ac_optarg ;;
947
948  -disable-* | --disable-*)
949    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950    # Reject names that are not valid shell variable names.
951    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952      as_fn_error $? "invalid feature name: $ac_useropt"
953    ac_useropt_orig=$ac_useropt
954    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955    case $ac_user_opts in
956      *"
957"enable_$ac_useropt"
958"*) ;;
959      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960	 ac_unrecognized_sep=', ';;
961    esac
962    eval enable_$ac_useropt=no ;;
963
964  -docdir | --docdir | --docdi | --doc | --do)
965    ac_prev=docdir ;;
966  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
967    docdir=$ac_optarg ;;
968
969  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970    ac_prev=dvidir ;;
971  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
972    dvidir=$ac_optarg ;;
973
974  -enable-* | --enable-*)
975    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976    # Reject names that are not valid shell variable names.
977    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978      as_fn_error $? "invalid feature name: $ac_useropt"
979    ac_useropt_orig=$ac_useropt
980    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981    case $ac_user_opts in
982      *"
983"enable_$ac_useropt"
984"*) ;;
985      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986	 ac_unrecognized_sep=', ';;
987    esac
988    eval enable_$ac_useropt=\$ac_optarg ;;
989
990  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
991  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
992  | --exec | --exe | --ex)
993    ac_prev=exec_prefix ;;
994  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
995  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
996  | --exec=* | --exe=* | --ex=*)
997    exec_prefix=$ac_optarg ;;
998
999  -gas | --gas | --ga | --g)
1000    # Obsolete; use --with-gas.
1001    with_gas=yes ;;
1002
1003  -help | --help | --hel | --he | -h)
1004    ac_init_help=long ;;
1005  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1006    ac_init_help=recursive ;;
1007  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1008    ac_init_help=short ;;
1009
1010  -host | --host | --hos | --ho)
1011    ac_prev=host_alias ;;
1012  -host=* | --host=* | --hos=* | --ho=*)
1013    host_alias=$ac_optarg ;;
1014
1015  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016    ac_prev=htmldir ;;
1017  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018  | --ht=*)
1019    htmldir=$ac_optarg ;;
1020
1021  -includedir | --includedir | --includedi | --included | --include \
1022  | --includ | --inclu | --incl | --inc)
1023    ac_prev=includedir ;;
1024  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1025  | --includ=* | --inclu=* | --incl=* | --inc=*)
1026    includedir=$ac_optarg ;;
1027
1028  -infodir | --infodir | --infodi | --infod | --info | --inf)
1029    ac_prev=infodir ;;
1030  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1031    infodir=$ac_optarg ;;
1032
1033  -libdir | --libdir | --libdi | --libd)
1034    ac_prev=libdir ;;
1035  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1036    libdir=$ac_optarg ;;
1037
1038  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1039  | --libexe | --libex | --libe)
1040    ac_prev=libexecdir ;;
1041  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1042  | --libexe=* | --libex=* | --libe=*)
1043    libexecdir=$ac_optarg ;;
1044
1045  -localedir | --localedir | --localedi | --localed | --locale)
1046    ac_prev=localedir ;;
1047  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1048    localedir=$ac_optarg ;;
1049
1050  -localstatedir | --localstatedir | --localstatedi | --localstated \
1051  | --localstate | --localstat | --localsta | --localst | --locals)
1052    ac_prev=localstatedir ;;
1053  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1054  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1055    localstatedir=$ac_optarg ;;
1056
1057  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058    ac_prev=mandir ;;
1059  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1060    mandir=$ac_optarg ;;
1061
1062  -nfp | --nfp | --nf)
1063    # Obsolete; use --without-fp.
1064    with_fp=no ;;
1065
1066  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1067  | --no-cr | --no-c | -n)
1068    no_create=yes ;;
1069
1070  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1071  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072    no_recursion=yes ;;
1073
1074  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1075  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1076  | --oldin | --oldi | --old | --ol | --o)
1077    ac_prev=oldincludedir ;;
1078  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1079  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1080  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1081    oldincludedir=$ac_optarg ;;
1082
1083  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084    ac_prev=prefix ;;
1085  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1086    prefix=$ac_optarg ;;
1087
1088  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1089  | --program-pre | --program-pr | --program-p)
1090    ac_prev=program_prefix ;;
1091  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1092  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1093    program_prefix=$ac_optarg ;;
1094
1095  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1096  | --program-suf | --program-su | --program-s)
1097    ac_prev=program_suffix ;;
1098  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1099  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1100    program_suffix=$ac_optarg ;;
1101
1102  -program-transform-name | --program-transform-name \
1103  | --program-transform-nam | --program-transform-na \
1104  | --program-transform-n | --program-transform- \
1105  | --program-transform | --program-transfor \
1106  | --program-transfo | --program-transf \
1107  | --program-trans | --program-tran \
1108  | --progr-tra | --program-tr | --program-t)
1109    ac_prev=program_transform_name ;;
1110  -program-transform-name=* | --program-transform-name=* \
1111  | --program-transform-nam=* | --program-transform-na=* \
1112  | --program-transform-n=* | --program-transform-=* \
1113  | --program-transform=* | --program-transfor=* \
1114  | --program-transfo=* | --program-transf=* \
1115  | --program-trans=* | --program-tran=* \
1116  | --progr-tra=* | --program-tr=* | --program-t=*)
1117    program_transform_name=$ac_optarg ;;
1118
1119  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120    ac_prev=pdfdir ;;
1121  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1122    pdfdir=$ac_optarg ;;
1123
1124  -psdir | --psdir | --psdi | --psd | --ps)
1125    ac_prev=psdir ;;
1126  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127    psdir=$ac_optarg ;;
1128
1129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1130  | -silent | --silent | --silen | --sile | --sil)
1131    silent=yes ;;
1132
1133  -runstatedir | --runstatedir | --runstatedi | --runstated \
1134  | --runstate | --runstat | --runsta | --runst | --runs \
1135  | --run | --ru | --r)
1136    ac_prev=runstatedir ;;
1137  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1138  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1139  | --run=* | --ru=* | --r=*)
1140    runstatedir=$ac_optarg ;;
1141
1142  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143    ac_prev=sbindir ;;
1144  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145  | --sbi=* | --sb=*)
1146    sbindir=$ac_optarg ;;
1147
1148  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1149  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1150  | --sharedst | --shareds | --shared | --share | --shar \
1151  | --sha | --sh)
1152    ac_prev=sharedstatedir ;;
1153  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1154  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1155  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156  | --sha=* | --sh=*)
1157    sharedstatedir=$ac_optarg ;;
1158
1159  -site | --site | --sit)
1160    ac_prev=site ;;
1161  -site=* | --site=* | --sit=*)
1162    site=$ac_optarg ;;
1163
1164  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165    ac_prev=srcdir ;;
1166  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1167    srcdir=$ac_optarg ;;
1168
1169  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1170  | --syscon | --sysco | --sysc | --sys | --sy)
1171    ac_prev=sysconfdir ;;
1172  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1173  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1174    sysconfdir=$ac_optarg ;;
1175
1176  -target | --target | --targe | --targ | --tar | --ta | --t)
1177    ac_prev=target_alias ;;
1178  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1179    target_alias=$ac_optarg ;;
1180
1181  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1182    verbose=yes ;;
1183
1184  -version | --version | --versio | --versi | --vers | -V)
1185    ac_init_version=: ;;
1186
1187  -with-* | --with-*)
1188    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1189    # Reject names that are not valid shell variable names.
1190    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191      as_fn_error $? "invalid package name: $ac_useropt"
1192    ac_useropt_orig=$ac_useropt
1193    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194    case $ac_user_opts in
1195      *"
1196"with_$ac_useropt"
1197"*) ;;
1198      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1199	 ac_unrecognized_sep=', ';;
1200    esac
1201    eval with_$ac_useropt=\$ac_optarg ;;
1202
1203  -without-* | --without-*)
1204    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1205    # Reject names that are not valid shell variable names.
1206    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207      as_fn_error $? "invalid package name: $ac_useropt"
1208    ac_useropt_orig=$ac_useropt
1209    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210    case $ac_user_opts in
1211      *"
1212"with_$ac_useropt"
1213"*) ;;
1214      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1215	 ac_unrecognized_sep=', ';;
1216    esac
1217    eval with_$ac_useropt=no ;;
1218
1219  --x)
1220    # Obsolete; use --with-x.
1221    with_x=yes ;;
1222
1223  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1224  | --x-incl | --x-inc | --x-in | --x-i)
1225    ac_prev=x_includes ;;
1226  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1227  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1228    x_includes=$ac_optarg ;;
1229
1230  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1231  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1232    ac_prev=x_libraries ;;
1233  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1234  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1235    x_libraries=$ac_optarg ;;
1236
1237  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1238Try \`$0 --help' for more information"
1239    ;;
1240
1241  *=*)
1242    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1243    # Reject names that are not valid shell variable names.
1244    case $ac_envvar in #(
1245      '' | [0-9]* | *[!_$as_cr_alnum]* )
1246      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1247    esac
1248    eval $ac_envvar=\$ac_optarg
1249    export $ac_envvar ;;
1250
1251  *)
1252    # FIXME: should be removed in autoconf 3.0.
1253    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1254    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1255      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1256    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1257    ;;
1258
1259  esac
1260done
1261
1262if test -n "$ac_prev"; then
1263  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1264  as_fn_error $? "missing argument to $ac_option"
1265fi
1266
1267if test -n "$ac_unrecognized_opts"; then
1268  case $enable_option_checking in
1269    no) ;;
1270    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1271    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272  esac
1273fi
1274
1275# Check all directory arguments for consistency.
1276for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277		datadir sysconfdir sharedstatedir localstatedir includedir \
1278		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279		libdir localedir mandir runstatedir
1280do
1281  eval ac_val=\$$ac_var
1282  # Remove trailing slashes.
1283  case $ac_val in
1284    */ )
1285      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286      eval $ac_var=\$ac_val;;
1287  esac
1288  # Be sure to have absolute directory names.
1289  case $ac_val in
1290    [\\/$]* | ?:[\\/]* )  continue;;
1291    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292  esac
1293  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1294done
1295
1296# There might be people who depend on the old broken behavior: `$host'
1297# used to hold the argument of --host etc.
1298# FIXME: To remove some day.
1299build=$build_alias
1300host=$host_alias
1301target=$target_alias
1302
1303# FIXME: To remove some day.
1304if test "x$host_alias" != x; then
1305  if test "x$build_alias" = x; then
1306    cross_compiling=maybe
1307  elif test "x$build_alias" != "x$host_alias"; then
1308    cross_compiling=yes
1309  fi
1310fi
1311
1312ac_tool_prefix=
1313test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314
1315test "$silent" = yes && exec 6>/dev/null
1316
1317
1318ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319ac_ls_di=`ls -di .` &&
1320ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321  as_fn_error $? "working directory cannot be determined"
1322test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323  as_fn_error $? "pwd does not report name of working directory"
1324
1325
1326# Find the source files, if location was not specified.
1327if test -z "$srcdir"; then
1328  ac_srcdir_defaulted=yes
1329  # Try the directory containing this script, then the parent directory.
1330  ac_confdir=`$as_dirname -- "$as_myself" ||
1331$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332	 X"$as_myself" : 'X\(//\)[^/]' \| \
1333	 X"$as_myself" : 'X\(//\)$' \| \
1334	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335$as_echo X"$as_myself" |
1336    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337	    s//\1/
1338	    q
1339	  }
1340	  /^X\(\/\/\)[^/].*/{
1341	    s//\1/
1342	    q
1343	  }
1344	  /^X\(\/\/\)$/{
1345	    s//\1/
1346	    q
1347	  }
1348	  /^X\(\/\).*/{
1349	    s//\1/
1350	    q
1351	  }
1352	  s/.*/./; q'`
1353  srcdir=$ac_confdir
1354  if test ! -r "$srcdir/$ac_unique_file"; then
1355    srcdir=..
1356  fi
1357else
1358  ac_srcdir_defaulted=no
1359fi
1360if test ! -r "$srcdir/$ac_unique_file"; then
1361  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1362  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1363fi
1364ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365ac_abs_confdir=`(
1366	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367	pwd)`
1368# When building in place, set srcdir=.
1369if test "$ac_abs_confdir" = "$ac_pwd"; then
1370  srcdir=.
1371fi
1372# Remove unnecessary trailing slashes from srcdir.
1373# Double slashes in file names in object file debugging info
1374# mess up M-x gdb in Emacs.
1375case $srcdir in
1376*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377esac
1378for ac_var in $ac_precious_vars; do
1379  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1380  eval ac_env_${ac_var}_value=\$${ac_var}
1381  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1382  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1383done
1384
1385#
1386# Report the --help message.
1387#
1388if test "$ac_init_help" = "long"; then
1389  # Omit some internal or obsolete options to make the list less imposing.
1390  # This message is too long to be a string in the A/UX 3.1 sh.
1391  cat <<_ACEOF
1392\`configure' configures unimrcp 1.2.0 to adapt to many kinds of systems.
1393
1394Usage: $0 [OPTION]... [VAR=VALUE]...
1395
1396To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397VAR=VALUE.  See below for descriptions of some of the useful variables.
1398
1399Defaults for the options are specified in brackets.
1400
1401Configuration:
1402  -h, --help              display this help and exit
1403      --help=short        display options specific to this package
1404      --help=recursive    display the short help of all the included packages
1405  -V, --version           display version information and exit
1406  -q, --quiet, --silent   do not print \`checking ...' messages
1407      --cache-file=FILE   cache test results in FILE [disabled]
1408  -C, --config-cache      alias for \`--cache-file=config.cache'
1409  -n, --no-create         do not create output files
1410      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1411
1412Installation directories:
1413  --prefix=PREFIX         install architecture-independent files in PREFIX
1414                          [$ac_default_prefix]
1415  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1416                          [PREFIX]
1417
1418By default, \`make install' will install all the files in
1419\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1420an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421for instance \`--prefix=\$HOME'.
1422
1423For better control, use the options below.
1424
1425Fine tuning of the installation directories:
1426  --bindir=DIR            user executables [EPREFIX/bin]
1427  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1428  --libexecdir=DIR        program executables [EPREFIX/libexec]
1429  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1430  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1431  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1432  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1433  --libdir=DIR            object code libraries [EPREFIX/lib]
1434  --includedir=DIR        C header files [PREFIX/include]
1435  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1436  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1437  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1438  --infodir=DIR           info documentation [DATAROOTDIR/info]
1439  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1440  --mandir=DIR            man documentation [DATAROOTDIR/man]
1441  --docdir=DIR            documentation root [DATAROOTDIR/doc/unimrcp]
1442  --htmldir=DIR           html documentation [DOCDIR]
1443  --dvidir=DIR            dvi documentation [DOCDIR]
1444  --pdfdir=DIR            pdf documentation [DOCDIR]
1445  --psdir=DIR             ps documentation [DOCDIR]
1446_ACEOF
1447
1448  cat <<\_ACEOF
1449
1450Program names:
1451  --program-prefix=PREFIX            prepend PREFIX to installed program names
1452  --program-suffix=SUFFIX            append SUFFIX to installed program names
1453  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1454
1455System types:
1456  --build=BUILD     configure for building on BUILD [guessed]
1457  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1458_ACEOF
1459fi
1460
1461if test -n "$ac_init_help"; then
1462  case $ac_init_help in
1463     short | recursive ) echo "Configuration of unimrcp 1.2.0:";;
1464   esac
1465  cat <<\_ACEOF
1466
1467Optional Features:
1468  --disable-option-checking  ignore unrecognized --enable/--with options
1469  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1470  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1471  --enable-layout=LAYOUT
1472  --enable-silent-rules   less verbose build output (undo: "make V=1")
1473  --disable-silent-rules  verbose build output (undo: "make V=0")
1474  --enable-dependency-tracking
1475                          do not reject slow dependency extractors
1476  --disable-dependency-tracking
1477                          speeds up one-time build
1478  --enable-shared[=PKGS]  build shared libraries [default=yes]
1479  --enable-static[=PKGS]  build static libraries [default=yes]
1480  --enable-fast-install[=PKGS]
1481                          optimize for fast installation [default=yes]
1482  --disable-libtool-lock  avoid locking (might break parallel builds)
1483  --disable-interlib-deps
1484                          disable inter-library dependencies (might break
1485                          builds)
1486  --enable-maintainer-mode
1487                          turn on debugging and compile time warnings
1488  --disable-client-lib    exclude unimrcpclient lib from build
1489  --disable-client-app    exclude sample unimrcpclient app from build
1490  --disable-umc           exclude sample unimrcpclient C++ app from build
1491  --disable-asr-client    exclude misc ASR client lib and app from build
1492  --disable-server-lib    exclude unimrcpserver lib from build
1493  --disable-server-app    exclude unimrcpserver app from build
1494  --disable-demosynth-plugin
1495                          exclude demosynth plugin from build
1496  --disable-demorecog-plugin
1497                          exclude demorecog plugin from build
1498  --disable-demoverifier-plugin
1499                          exclude demoverifier plugin from build
1500  --disable-recorder-plugin
1501                          exclude recorder plugin from build
1502  --enable-test-suites    build test suites
1503  --enable-address-sanitizer
1504                          build with address sanitizer
1505
1506Optional Packages:
1507  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1508  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1509  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1510                          both]
1511  --with-aix-soname=aix|svr4|both
1512                          shared library versioning (aka "SONAME") variant to
1513                          provide on AIX, [default=aix].
1514  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1515  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1516                          compiler's sysroot if not specified).
1517  --with-apr=PATH         prefix for installed APR, path to APR build tree,
1518                          or the full path to apr-config
1519  --with-apr-util=PATH    prefix for installed APU, path to APU build tree,
1520                          or the full path to apu-config
1521  --with-sofia-sip=PATH   prefix for installed Sofia-SIP,
1522                          path to Sofia-SIP source/build tree,
1523                          or the full path to Sofia-SIP pkg-config
1524
1525Some influential environment variables:
1526  CC          C compiler command
1527  CFLAGS      C compiler flags
1528  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1529              nonstandard directory <lib dir>
1530  LIBS        libraries to pass to the linker, e.g. -l<library>
1531  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1532              you have headers in a nonstandard directory <include dir>
1533  CXX         C++ compiler command
1534  CXXFLAGS    C++ compiler flags
1535  LT_SYS_LIBRARY_PATH
1536              User-defined run-time library search path.
1537  CPP         C preprocessor
1538  CXXCPP      C++ preprocessor
1539
1540Use these variables to override the choices made by `configure' or to help
1541it to find libraries and programs with nonstandard names/locations.
1542
1543Report bugs to the package provider.
1544_ACEOF
1545ac_status=$?
1546fi
1547
1548if test "$ac_init_help" = "recursive"; then
1549  # If there are subdirs, report their specific --help.
1550  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1551    test -d "$ac_dir" ||
1552      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553      continue
1554    ac_builddir=.
1555
1556case "$ac_dir" in
1557.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558*)
1559  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1560  # A ".." for each directory in $ac_dir_suffix.
1561  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1562  case $ac_top_builddir_sub in
1563  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565  esac ;;
1566esac
1567ac_abs_top_builddir=$ac_pwd
1568ac_abs_builddir=$ac_pwd$ac_dir_suffix
1569# for backward compatibility:
1570ac_top_builddir=$ac_top_build_prefix
1571
1572case $srcdir in
1573  .)  # We are building in place.
1574    ac_srcdir=.
1575    ac_top_srcdir=$ac_top_builddir_sub
1576    ac_abs_top_srcdir=$ac_pwd ;;
1577  [\\/]* | ?:[\\/]* )  # Absolute name.
1578    ac_srcdir=$srcdir$ac_dir_suffix;
1579    ac_top_srcdir=$srcdir
1580    ac_abs_top_srcdir=$srcdir ;;
1581  *) # Relative name.
1582    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1583    ac_top_srcdir=$ac_top_build_prefix$srcdir
1584    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1585esac
1586ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1587
1588    cd "$ac_dir" || { ac_status=$?; continue; }
1589    # Check for guested configure.
1590    if test -f "$ac_srcdir/configure.gnu"; then
1591      echo &&
1592      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1593    elif test -f "$ac_srcdir/configure"; then
1594      echo &&
1595      $SHELL "$ac_srcdir/configure" --help=recursive
1596    else
1597      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1598    fi || ac_status=$?
1599    cd "$ac_pwd" || { ac_status=$?; break; }
1600  done
1601fi
1602
1603test -n "$ac_init_help" && exit $ac_status
1604if $ac_init_version; then
1605  cat <<\_ACEOF
1606unimrcp configure 1.2.0
1607generated by GNU Autoconf 2.69
1608
1609Copyright (C) 2012 Free Software Foundation, Inc.
1610This configure script is free software; the Free Software Foundation
1611gives unlimited permission to copy, distribute and modify it.
1612_ACEOF
1613  exit
1614fi
1615
1616## ------------------------ ##
1617## Autoconf initialization. ##
1618## ------------------------ ##
1619
1620# ac_fn_c_try_compile LINENO
1621# --------------------------
1622# Try to compile conftest.$ac_ext, and return whether this succeeded.
1623ac_fn_c_try_compile ()
1624{
1625  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626  rm -f conftest.$ac_objext
1627  if { { ac_try="$ac_compile"
1628case "(($ac_try" in
1629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630  *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634  (eval "$ac_compile") 2>conftest.err
1635  ac_status=$?
1636  if test -s conftest.err; then
1637    grep -v '^ *+' conftest.err >conftest.er1
1638    cat conftest.er1 >&5
1639    mv -f conftest.er1 conftest.err
1640  fi
1641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642  test $ac_status = 0; } && {
1643	 test -z "$ac_c_werror_flag" ||
1644	 test ! -s conftest.err
1645       } && test -s conftest.$ac_objext; then :
1646  ac_retval=0
1647else
1648  $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651	ac_retval=1
1652fi
1653  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654  as_fn_set_status $ac_retval
1655
1656} # ac_fn_c_try_compile
1657
1658# ac_fn_cxx_try_compile LINENO
1659# ----------------------------
1660# Try to compile conftest.$ac_ext, and return whether this succeeded.
1661ac_fn_cxx_try_compile ()
1662{
1663  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664  rm -f conftest.$ac_objext
1665  if { { ac_try="$ac_compile"
1666case "(($ac_try" in
1667  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668  *) ac_try_echo=$ac_try;;
1669esac
1670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671$as_echo "$ac_try_echo"; } >&5
1672  (eval "$ac_compile") 2>conftest.err
1673  ac_status=$?
1674  if test -s conftest.err; then
1675    grep -v '^ *+' conftest.err >conftest.er1
1676    cat conftest.er1 >&5
1677    mv -f conftest.er1 conftest.err
1678  fi
1679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680  test $ac_status = 0; } && {
1681	 test -z "$ac_cxx_werror_flag" ||
1682	 test ! -s conftest.err
1683       } && test -s conftest.$ac_objext; then :
1684  ac_retval=0
1685else
1686  $as_echo "$as_me: failed program was:" >&5
1687sed 's/^/| /' conftest.$ac_ext >&5
1688
1689	ac_retval=1
1690fi
1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692  as_fn_set_status $ac_retval
1693
1694} # ac_fn_cxx_try_compile
1695
1696# ac_fn_c_try_link LINENO
1697# -----------------------
1698# Try to link conftest.$ac_ext, and return whether this succeeded.
1699ac_fn_c_try_link ()
1700{
1701  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702  rm -f conftest.$ac_objext conftest$ac_exeext
1703  if { { ac_try="$ac_link"
1704case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_link") 2>conftest.err
1711  ac_status=$?
1712  if test -s conftest.err; then
1713    grep -v '^ *+' conftest.err >conftest.er1
1714    cat conftest.er1 >&5
1715    mv -f conftest.er1 conftest.err
1716  fi
1717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718  test $ac_status = 0; } && {
1719	 test -z "$ac_c_werror_flag" ||
1720	 test ! -s conftest.err
1721       } && test -s conftest$ac_exeext && {
1722	 test "$cross_compiling" = yes ||
1723	 test -x conftest$ac_exeext
1724       }; then :
1725  ac_retval=0
1726else
1727  $as_echo "$as_me: failed program was:" >&5
1728sed 's/^/| /' conftest.$ac_ext >&5
1729
1730	ac_retval=1
1731fi
1732  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1733  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1734  # interfere with the next link command; also delete a directory that is
1735  # left behind by Apple's compiler.  We do this before executing the actions.
1736  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738  as_fn_set_status $ac_retval
1739
1740} # ac_fn_c_try_link
1741
1742# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743# -------------------------------------------------------
1744# Tests whether HEADER exists and can be compiled using the include files in
1745# INCLUDES, setting the cache variable VAR accordingly.
1746ac_fn_c_check_header_compile ()
1747{
1748  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750$as_echo_n "checking for $2... " >&6; }
1751if eval \${$3+:} false; then :
1752  $as_echo_n "(cached) " >&6
1753else
1754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755/* end confdefs.h.  */
1756$4
1757#include <$2>
1758_ACEOF
1759if ac_fn_c_try_compile "$LINENO"; then :
1760  eval "$3=yes"
1761else
1762  eval "$3=no"
1763fi
1764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765fi
1766eval ac_res=\$$3
1767	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768$as_echo "$ac_res" >&6; }
1769  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771} # ac_fn_c_check_header_compile
1772
1773# ac_fn_c_try_cpp LINENO
1774# ----------------------
1775# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1776ac_fn_c_try_cpp ()
1777{
1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779  if { { ac_try="$ac_cpp conftest.$ac_ext"
1780case "(($ac_try" in
1781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782  *) ac_try_echo=$ac_try;;
1783esac
1784eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785$as_echo "$ac_try_echo"; } >&5
1786  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1787  ac_status=$?
1788  if test -s conftest.err; then
1789    grep -v '^ *+' conftest.err >conftest.er1
1790    cat conftest.er1 >&5
1791    mv -f conftest.er1 conftest.err
1792  fi
1793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794  test $ac_status = 0; } > conftest.i && {
1795	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1796	 test ! -s conftest.err
1797       }; then :
1798  ac_retval=0
1799else
1800  $as_echo "$as_me: failed program was:" >&5
1801sed 's/^/| /' conftest.$ac_ext >&5
1802
1803    ac_retval=1
1804fi
1805  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806  as_fn_set_status $ac_retval
1807
1808} # ac_fn_c_try_cpp
1809
1810# ac_fn_c_try_run LINENO
1811# ----------------------
1812# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1813# that executables *can* be run.
1814ac_fn_c_try_run ()
1815{
1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817  if { { ac_try="$ac_link"
1818case "(($ac_try" in
1819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820  *) ac_try_echo=$ac_try;;
1821esac
1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823$as_echo "$ac_try_echo"; } >&5
1824  (eval "$ac_link") 2>&5
1825  ac_status=$?
1826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1828  { { case "(($ac_try" in
1829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830  *) ac_try_echo=$ac_try;;
1831esac
1832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833$as_echo "$ac_try_echo"; } >&5
1834  (eval "$ac_try") 2>&5
1835  ac_status=$?
1836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837  test $ac_status = 0; }; }; then :
1838  ac_retval=0
1839else
1840  $as_echo "$as_me: program exited with status $ac_status" >&5
1841       $as_echo "$as_me: failed program was:" >&5
1842sed 's/^/| /' conftest.$ac_ext >&5
1843
1844       ac_retval=$ac_status
1845fi
1846  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848  as_fn_set_status $ac_retval
1849
1850} # ac_fn_c_try_run
1851
1852# ac_fn_c_check_func LINENO FUNC VAR
1853# ----------------------------------
1854# Tests whether FUNC exists, setting the cache variable VAR accordingly
1855ac_fn_c_check_func ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1867#define $2 innocuous_$2
1868
1869/* System header to define __stub macros and hopefully few prototypes,
1870    which can conflict with char $2 (); below.
1871    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872    <limits.h> exists even on freestanding compilers.  */
1873
1874#ifdef __STDC__
1875# include <limits.h>
1876#else
1877# include <assert.h>
1878#endif
1879
1880#undef $2
1881
1882/* Override any GCC internal prototype to avoid an error.
1883   Use char because int might match the return type of a GCC
1884   builtin and then its argument prototype would still apply.  */
1885#ifdef __cplusplus
1886extern "C"
1887#endif
1888char $2 ();
1889/* The GNU C library defines this for functions which it implements
1890    to always fail with ENOSYS.  Some functions are actually named
1891    something starting with __ and the normal name is an alias.  */
1892#if defined __stub_$2 || defined __stub___$2
1893choke me
1894#endif
1895
1896int
1897main ()
1898{
1899return $2 ();
1900  ;
1901  return 0;
1902}
1903_ACEOF
1904if ac_fn_c_try_link "$LINENO"; then :
1905  eval "$3=yes"
1906else
1907  eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext \
1910    conftest$ac_exeext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917} # ac_fn_c_check_func
1918
1919# ac_fn_cxx_try_cpp LINENO
1920# ------------------------
1921# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1922ac_fn_cxx_try_cpp ()
1923{
1924  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925  if { { ac_try="$ac_cpp conftest.$ac_ext"
1926case "(($ac_try" in
1927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928  *) ac_try_echo=$ac_try;;
1929esac
1930eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931$as_echo "$ac_try_echo"; } >&5
1932  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1933  ac_status=$?
1934  if test -s conftest.err; then
1935    grep -v '^ *+' conftest.err >conftest.er1
1936    cat conftest.er1 >&5
1937    mv -f conftest.er1 conftest.err
1938  fi
1939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940  test $ac_status = 0; } > conftest.i && {
1941	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1942	 test ! -s conftest.err
1943       }; then :
1944  ac_retval=0
1945else
1946  $as_echo "$as_me: failed program was:" >&5
1947sed 's/^/| /' conftest.$ac_ext >&5
1948
1949    ac_retval=1
1950fi
1951  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952  as_fn_set_status $ac_retval
1953
1954} # ac_fn_cxx_try_cpp
1955
1956# ac_fn_cxx_try_link LINENO
1957# -------------------------
1958# Try to link conftest.$ac_ext, and return whether this succeeded.
1959ac_fn_cxx_try_link ()
1960{
1961  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962  rm -f conftest.$ac_objext conftest$ac_exeext
1963  if { { ac_try="$ac_link"
1964case "(($ac_try" in
1965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1966  *) ac_try_echo=$ac_try;;
1967esac
1968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969$as_echo "$ac_try_echo"; } >&5
1970  (eval "$ac_link") 2>conftest.err
1971  ac_status=$?
1972  if test -s conftest.err; then
1973    grep -v '^ *+' conftest.err >conftest.er1
1974    cat conftest.er1 >&5
1975    mv -f conftest.er1 conftest.err
1976  fi
1977  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978  test $ac_status = 0; } && {
1979	 test -z "$ac_cxx_werror_flag" ||
1980	 test ! -s conftest.err
1981       } && test -s conftest$ac_exeext && {
1982	 test "$cross_compiling" = yes ||
1983	 test -x conftest$ac_exeext
1984       }; then :
1985  ac_retval=0
1986else
1987  $as_echo "$as_me: failed program was:" >&5
1988sed 's/^/| /' conftest.$ac_ext >&5
1989
1990	ac_retval=1
1991fi
1992  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1993  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1994  # interfere with the next link command; also delete a directory that is
1995  # left behind by Apple's compiler.  We do this before executing the actions.
1996  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998  as_fn_set_status $ac_retval
1999
2000} # ac_fn_cxx_try_link
2001cat >config.log <<_ACEOF
2002This file contains any messages produced by compilers while
2003running configure, to aid debugging if configure makes a mistake.
2004
2005It was created by unimrcp $as_me 1.2.0, which was
2006generated by GNU Autoconf 2.69.  Invocation command line was
2007
2008  $ $0 $@
2009
2010_ACEOF
2011exec 5>>config.log
2012{
2013cat <<_ASUNAME
2014## --------- ##
2015## Platform. ##
2016## --------- ##
2017
2018hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2019uname -m = `(uname -m) 2>/dev/null || echo unknown`
2020uname -r = `(uname -r) 2>/dev/null || echo unknown`
2021uname -s = `(uname -s) 2>/dev/null || echo unknown`
2022uname -v = `(uname -v) 2>/dev/null || echo unknown`
2023
2024/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2025/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2026
2027/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2028/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2029/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2030/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2031/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2032/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2033/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2034
2035_ASUNAME
2036
2037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038for as_dir in $PATH
2039do
2040  IFS=$as_save_IFS
2041  test -z "$as_dir" && as_dir=.
2042    $as_echo "PATH: $as_dir"
2043  done
2044IFS=$as_save_IFS
2045
2046} >&5
2047
2048cat >&5 <<_ACEOF
2049
2050
2051## ----------- ##
2052## Core tests. ##
2053## ----------- ##
2054
2055_ACEOF
2056
2057
2058# Keep a trace of the command line.
2059# Strip out --no-create and --no-recursion so they do not pile up.
2060# Strip out --silent because we don't want to record it for future runs.
2061# Also quote any args containing shell meta-characters.
2062# Make two passes to allow for proper duplicate-argument suppression.
2063ac_configure_args=
2064ac_configure_args0=
2065ac_configure_args1=
2066ac_must_keep_next=false
2067for ac_pass in 1 2
2068do
2069  for ac_arg
2070  do
2071    case $ac_arg in
2072    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2073    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2074    | -silent | --silent | --silen | --sile | --sil)
2075      continue ;;
2076    *\'*)
2077      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078    esac
2079    case $ac_pass in
2080    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2081    2)
2082      as_fn_append ac_configure_args1 " '$ac_arg'"
2083      if test $ac_must_keep_next = true; then
2084	ac_must_keep_next=false # Got value, back to normal.
2085      else
2086	case $ac_arg in
2087	  *=* | --config-cache | -C | -disable-* | --disable-* \
2088	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2089	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2090	  | -with-* | --with-* | -without-* | --without-* | --x)
2091	    case "$ac_configure_args0 " in
2092	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093	    esac
2094	    ;;
2095	  -* ) ac_must_keep_next=true ;;
2096	esac
2097      fi
2098      as_fn_append ac_configure_args " '$ac_arg'"
2099      ;;
2100    esac
2101  done
2102done
2103{ ac_configure_args0=; unset ac_configure_args0;}
2104{ ac_configure_args1=; unset ac_configure_args1;}
2105
2106# When interrupted or exit'd, cleanup temporary files, and complete
2107# config.log.  We remove comments because anyway the quotes in there
2108# would cause problems or look ugly.
2109# WARNING: Use '\'' to represent an apostrophe within the trap.
2110# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2111trap 'exit_status=$?
2112  # Save into config.log some information that might help in debugging.
2113  {
2114    echo
2115
2116    $as_echo "## ---------------- ##
2117## Cache variables. ##
2118## ---------------- ##"
2119    echo
2120    # The following way of writing the cache mishandles newlines in values,
2121(
2122  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2123    eval ac_val=\$$ac_var
2124    case $ac_val in #(
2125    *${as_nl}*)
2126      case $ac_var in #(
2127      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2128$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2129      esac
2130      case $ac_var in #(
2131      _ | IFS | as_nl) ;; #(
2132      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2133      *) { eval $ac_var=; unset $ac_var;} ;;
2134      esac ;;
2135    esac
2136  done
2137  (set) 2>&1 |
2138    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2139    *${as_nl}ac_space=\ *)
2140      sed -n \
2141	"s/'\''/'\''\\\\'\'''\''/g;
2142	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2143      ;; #(
2144    *)
2145      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2146      ;;
2147    esac |
2148    sort
2149)
2150    echo
2151
2152    $as_echo "## ----------------- ##
2153## Output variables. ##
2154## ----------------- ##"
2155    echo
2156    for ac_var in $ac_subst_vars
2157    do
2158      eval ac_val=\$$ac_var
2159      case $ac_val in
2160      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161      esac
2162      $as_echo "$ac_var='\''$ac_val'\''"
2163    done | sort
2164    echo
2165
2166    if test -n "$ac_subst_files"; then
2167      $as_echo "## ------------------- ##
2168## File substitutions. ##
2169## ------------------- ##"
2170      echo
2171      for ac_var in $ac_subst_files
2172      do
2173	eval ac_val=\$$ac_var
2174	case $ac_val in
2175	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176	esac
2177	$as_echo "$ac_var='\''$ac_val'\''"
2178      done | sort
2179      echo
2180    fi
2181
2182    if test -s confdefs.h; then
2183      $as_echo "## ----------- ##
2184## confdefs.h. ##
2185## ----------- ##"
2186      echo
2187      cat confdefs.h
2188      echo
2189    fi
2190    test "$ac_signal" != 0 &&
2191      $as_echo "$as_me: caught signal $ac_signal"
2192    $as_echo "$as_me: exit $exit_status"
2193  } >&5
2194  rm -f core *.core core.conftest.* &&
2195    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196    exit $exit_status
2197' 0
2198for ac_signal in 1 2 13 15; do
2199  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2200done
2201ac_signal=0
2202
2203# confdefs.h avoids OS command line length limits that DEFS can exceed.
2204rm -f -r conftest* confdefs.h
2205
2206$as_echo "/* confdefs.h */" > confdefs.h
2207
2208# Predefined preprocessor variables.
2209
2210cat >>confdefs.h <<_ACEOF
2211#define PACKAGE_NAME "$PACKAGE_NAME"
2212_ACEOF
2213
2214cat >>confdefs.h <<_ACEOF
2215#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216_ACEOF
2217
2218cat >>confdefs.h <<_ACEOF
2219#define PACKAGE_VERSION "$PACKAGE_VERSION"
2220_ACEOF
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_STRING "$PACKAGE_STRING"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_URL "$PACKAGE_URL"
2232_ACEOF
2233
2234
2235# Let the site file select an alternate cache file if it wants to.
2236# Prefer an explicitly selected file to automatically selected ones.
2237ac_site_file1=NONE
2238ac_site_file2=NONE
2239if test -n "$CONFIG_SITE"; then
2240  # We do not want a PATH search for config.site.
2241  case $CONFIG_SITE in #((
2242    -*)  ac_site_file1=./$CONFIG_SITE;;
2243    */*) ac_site_file1=$CONFIG_SITE;;
2244    *)   ac_site_file1=./$CONFIG_SITE;;
2245  esac
2246elif test "x$prefix" != xNONE; then
2247  ac_site_file1=$prefix/share/config.site
2248  ac_site_file2=$prefix/etc/config.site
2249else
2250  ac_site_file1=$ac_default_prefix/share/config.site
2251  ac_site_file2=$ac_default_prefix/etc/config.site
2252fi
2253for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2254do
2255  test "x$ac_site_file" = xNONE && continue
2256  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2257    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2258$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2259    sed 's/^/| /' "$ac_site_file" >&5
2260    . "$ac_site_file" \
2261      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2262$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2263as_fn_error $? "failed to load site script $ac_site_file
2264See \`config.log' for more details" "$LINENO" 5; }
2265  fi
2266done
2267
2268if test -r "$cache_file"; then
2269  # Some versions of bash will fail to source /dev/null (special files
2270  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2271  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2272    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2273$as_echo "$as_me: loading cache $cache_file" >&6;}
2274    case $cache_file in
2275      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276      *)                      . "./$cache_file";;
2277    esac
2278  fi
2279else
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2281$as_echo "$as_me: creating cache $cache_file" >&6;}
2282  >$cache_file
2283fi
2284
2285# Check that the precious variables saved in the cache have kept the same
2286# value.
2287ac_cache_corrupted=false
2288for ac_var in $ac_precious_vars; do
2289  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290  eval ac_new_set=\$ac_env_${ac_var}_set
2291  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292  eval ac_new_val=\$ac_env_${ac_var}_value
2293  case $ac_old_set,$ac_new_set in
2294    set,)
2295      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2296$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297      ac_cache_corrupted=: ;;
2298    ,set)
2299      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2300$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2301      ac_cache_corrupted=: ;;
2302    ,);;
2303    *)
2304      if test "x$ac_old_val" != "x$ac_new_val"; then
2305	# differences in whitespace do not lead to failure.
2306	ac_old_val_w=`echo x $ac_old_val`
2307	ac_new_val_w=`echo x $ac_new_val`
2308	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2309	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2310$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2311	  ac_cache_corrupted=:
2312	else
2313	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2314$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2315	  eval $ac_var=\$ac_old_val
2316	fi
2317	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2318$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2319	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2320$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2321      fi;;
2322  esac
2323  # Pass precious variables to config.status.
2324  if test "$ac_new_set" = set; then
2325    case $ac_new_val in
2326    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2327    *) ac_arg=$ac_var=$ac_new_val ;;
2328    esac
2329    case " $ac_configure_args " in
2330      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2331      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2332    esac
2333  fi
2334done
2335if $ac_cache_corrupted; then
2336  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2339$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2340  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2341fi
2342## -------------------- ##
2343## Main body of script. ##
2344## -------------------- ##
2345
2346ac_ext=c
2347ac_cpp='$CPP $CPPFLAGS'
2348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2350ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351
2352
2353
2354ac_aux_dir=
2355for ac_dir in build "$srcdir"/build; do
2356  if test -f "$ac_dir/install-sh"; then
2357    ac_aux_dir=$ac_dir
2358    ac_install_sh="$ac_aux_dir/install-sh -c"
2359    break
2360  elif test -f "$ac_dir/install.sh"; then
2361    ac_aux_dir=$ac_dir
2362    ac_install_sh="$ac_aux_dir/install.sh -c"
2363    break
2364  elif test -f "$ac_dir/shtool"; then
2365    ac_aux_dir=$ac_dir
2366    ac_install_sh="$ac_aux_dir/shtool install -c"
2367    break
2368  fi
2369done
2370if test -z "$ac_aux_dir"; then
2371  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2372fi
2373
2374# These three variables are undocumented and unsupported,
2375# and are intended to be withdrawn in a future Autoconf release.
2376# They can cause serious problems if a builder's source tree is in a directory
2377# whose full name contains unusual characters.
2378ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2379ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2380ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2381
2382
2383
2384
2385ac_macro_dir="build/acmacros"
2386
2387
2388
2389
2390# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2391#
2392#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
2393#   Written by Gordon Matzigkeit, 1996
2394#
2395# This file is free software; the Free Software Foundation gives
2396# unlimited permission to copy and/or distribute it, with or without
2397# modifications, as long as this notice is preserved.
2398
2399
2400
2401# serial 58 LT_INIT
2402
2403
2404# LT_PREREQ(VERSION)
2405# ------------------
2406# Complain and exit if this libtool version is less that VERSION.
2407
2408
2409
2410# _LT_CHECK_BUILDDIR
2411# ------------------
2412# Complain if the absolute build directory name contains unusual characters
2413
2414
2415
2416# LT_INIT([OPTIONS])
2417# ------------------
2418# LT_INIT
2419
2420# Old names:
2421# This is what autoupdate's m4 run will expand.  It fires
2422# the warning (with _au_warn_XXX), outputs it into the
2423# updated configure.ac (with AC_DIAGNOSE), and then outputs
2424# the replacement expansion.
2425
2426
2427# This is an auxiliary macro that is also run when
2428# autoupdate runs m4.  It simply calls m4_warning, but
2429# we need a wrapper so that each warning is emitted only
2430# once.  We break the quoting in m4_warning's argument in
2431# order to expand this macro's arguments, not AU_DEFUN's.
2432
2433
2434# Finally, this is the expansion that is picked up by
2435# autoconf.  It tells the user to run autoupdate, and
2436# then outputs the replacement expansion.  We do not care
2437# about autoupdate's warning because that contains
2438# information on what to do *after* running autoupdate.
2439
2440# This is what autoupdate's m4 run will expand.  It fires
2441# the warning (with _au_warn_XXX), outputs it into the
2442# updated configure.ac (with AC_DIAGNOSE), and then outputs
2443# the replacement expansion.
2444
2445
2446# This is an auxiliary macro that is also run when
2447# autoupdate runs m4.  It simply calls m4_warning, but
2448# we need a wrapper so that each warning is emitted only
2449# once.  We break the quoting in m4_warning's argument in
2450# order to expand this macro's arguments, not AU_DEFUN's.
2451
2452
2453# Finally, this is the expansion that is picked up by
2454# autoconf.  It tells the user to run autoupdate, and
2455# then outputs the replacement expansion.  We do not care
2456# about autoupdate's warning because that contains
2457# information on what to do *after* running autoupdate.
2458
2459
2460
2461# _LT_PREPARE_CC_BASENAME
2462# -----------------------
2463# _LT_PREPARE_CC_BASENAME
2464
2465
2466# _LT_CC_BASENAME(CC)
2467# -------------------
2468# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
2469# but that macro is also expanded into generated libtool script, which
2470# arranges for $SED and $ECHO to be set by different means.
2471
2472
2473
2474# _LT_FILEUTILS_DEFAULTS
2475# ----------------------
2476# It is okay to use these file commands and assume they have been set
2477# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
2478# _LT_FILEUTILS_DEFAULTS
2479
2480
2481# _LT_SETUP
2482# ---------
2483# _LT_SETUP
2484
2485
2486# _LT_PREPARE_SED_QUOTE_VARS
2487# --------------------------
2488# Define a few sed substitution that help us do robust quoting.
2489
2490
2491# _LT_PROG_LTMAIN
2492# ---------------
2493# Note that this code is called both from 'configure', and 'config.status'
2494# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
2495# 'config.status' has no value for ac_aux_dir unless we are using Automake,
2496# so we pass a copy along to make sure it has a sensible value anyway.
2497# _LT_PROG_LTMAIN
2498
2499
2500## ------------------------------------- ##
2501## Accumulate code for creating libtool. ##
2502## ------------------------------------- ##
2503
2504# So that we can recreate a full libtool script including additional
2505# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
2506# in macros and then make a single call at the end using the 'libtool'
2507# label.
2508
2509
2510# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
2511# ----------------------------------------
2512# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2513
2514
2515# Initialize.
2516
2517
2518
2519# _LT_CONFIG_LIBTOOL([COMMANDS])
2520# ------------------------------
2521# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
2522
2523
2524# Initialize.
2525
2526
2527
2528# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
2529# -----------------------------------------------------
2530
2531
2532
2533# _LT_FORMAT_COMMENT([COMMENT])
2534# -----------------------------
2535# Add leading comment marks to the start of each line, and a trailing
2536# full-stop to the whole comment if one is not present already.
2537
2538
2539
2540
2541## ------------------------ ##
2542## FIXME: Eliminate VARNAME ##
2543## ------------------------ ##
2544
2545
2546# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
2547# -------------------------------------------------------------------
2548# CONFIGNAME is the name given to the value in the libtool script.
2549# VARNAME is the (base) name used in the configure script.
2550# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
2551# VARNAME.  Any other value will be used directly.
2552
2553
2554
2555# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
2556# --------------------------------------------------------
2557
2558
2559
2560# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
2561# ------------------------------------------------
2562
2563
2564
2565# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
2566# ---------------------------------------------------------
2567
2568
2569
2570# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
2571# --------------------------------------------------
2572
2573
2574
2575# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
2576# ---------------------------------------------------
2577
2578
2579
2580# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
2581# ---------------------------------------------------
2582
2583
2584
2585
2586# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
2587# ------------------------------------------------
2588
2589
2590
2591
2592# _LT_CONFIG_STATUS_DECLARE([VARNAME])
2593# ------------------------------------
2594# Quote a variable value, and forward it to 'config.status' so that its
2595# declaration there will have the same value as in 'configure'.  VARNAME
2596# must have a single quote delimited value for this to work.
2597
2598
2599
2600# _LT_CONFIG_STATUS_DECLARATIONS
2601# ------------------------------
2602# We delimit libtool config variables with single quotes, so when
2603# we write them to config.status, we have to be sure to quote all
2604# embedded single quotes properly.  In configure, this macro expands
2605# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2606#
2607#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2608
2609
2610
2611# _LT_LIBTOOL_TAGS
2612# ----------------
2613# Output comment and list of tags supported by the script
2614
2615
2616
2617# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
2618# -----------------------------------
2619# Extract the dictionary values for VARNAME (optionally with TAG) and
2620# expand to a commented shell variable setting:
2621#
2622#    # Some comment about what VAR is for.
2623#    visible_name=$lt_internal_name
2624
2625
2626
2627# _LT_LIBTOOL_CONFIG_VARS
2628# -----------------------
2629# Produce commented declarations of non-tagged libtool config variables
2630# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
2631# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
2632# section) are produced by _LT_LIBTOOL_TAG_VARS.
2633
2634
2635
2636# _LT_LIBTOOL_TAG_VARS(TAG)
2637# -------------------------
2638
2639
2640
2641# _LT_TAGVAR(VARNAME, [TAGNAME])
2642# ------------------------------
2643
2644
2645
2646# _LT_CONFIG_COMMANDS
2647# -------------------
2648# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
2649# variables for single and double quote escaping we saved from calls
2650# to _LT_DECL, we can put quote escaped variables declarations
2651# into 'config.status', and then the shell code to quote escape them in
2652# for loops in 'config.status'.  Finally, any additional code accumulated
2653# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
2654#_LT_CONFIG_COMMANDS
2655
2656
2657# Initialize.
2658
2659
2660# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
2661# ------------------------------------
2662# Generate a child script FILE with all initialization necessary to
2663# reuse the environment learned by the parent script, and make the
2664# file executable.  If COMMENT is supplied, it is inserted after the
2665# '#!' sequence but before initialization text begins.  After this
2666# macro, additional text can be appended to FILE to form the body of
2667# the child script.  The macro ends with non-zero status if the
2668# file could not be fully written (such as if the disk is full).
2669# _LT_GENERATED_FILE_INIT
2670
2671# LT_OUTPUT
2672# ---------
2673# This macro allows early generation of the libtool script (before
2674# AC_OUTPUT is called), incase it is used in configure for compilation
2675# tests.
2676# LT_OUTPUT
2677
2678
2679# _LT_CONFIG(TAG)
2680# ---------------
2681# If TAG is the built-in tag, create an initial libtool script with a
2682# default configuration from the untagged config vars.  Otherwise add code
2683# to config.status for appending the configuration named by TAG from the
2684# matching tagged config vars.
2685# _LT_CONFIG
2686
2687
2688# LT_SUPPORTED_TAG(TAG)
2689# ---------------------
2690# Trace this macro to discover what tags are supported by the libtool
2691# --tag option, using:
2692#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
2693
2694
2695
2696# C support is built-in for now
2697
2698
2699
2700
2701# LT_LANG(LANG)
2702# -------------
2703# Enable libtool support for the given language if not already enabled.
2704# LT_LANG
2705
2706
2707# _LT_LANG(LANGNAME)
2708# ------------------
2709# _LT_LANG
2710
2711
2712#m4_ifndef
2713
2714
2715# _LT_LANG_DEFAULT_CONFIG
2716# -----------------------
2717# _LT_LANG_DEFAULT_CONFIG
2718
2719# Obsolete macros:
2720# This is what autoupdate's m4 run will expand.  It fires
2721# the warning (with _au_warn_XXX), outputs it into the
2722# updated configure.ac (with AC_DIAGNOSE), and then outputs
2723# the replacement expansion.
2724
2725
2726# This is an auxiliary macro that is also run when
2727# autoupdate runs m4.  It simply calls m4_warning, but
2728# we need a wrapper so that each warning is emitted only
2729# once.  We break the quoting in m4_warning's argument in
2730# order to expand this macro's arguments, not AU_DEFUN's.
2731
2732
2733# Finally, this is the expansion that is picked up by
2734# autoconf.  It tells the user to run autoupdate, and
2735# then outputs the replacement expansion.  We do not care
2736# about autoupdate's warning because that contains
2737# information on what to do *after* running autoupdate.
2738
2739# This is what autoupdate's m4 run will expand.  It fires
2740# the warning (with _au_warn_XXX), outputs it into the
2741# updated configure.ac (with AC_DIAGNOSE), and then outputs
2742# the replacement expansion.
2743
2744
2745# This is an auxiliary macro that is also run when
2746# autoupdate runs m4.  It simply calls m4_warning, but
2747# we need a wrapper so that each warning is emitted only
2748# once.  We break the quoting in m4_warning's argument in
2749# order to expand this macro's arguments, not AU_DEFUN's.
2750
2751
2752# Finally, this is the expansion that is picked up by
2753# autoconf.  It tells the user to run autoupdate, and
2754# then outputs the replacement expansion.  We do not care
2755# about autoupdate's warning because that contains
2756# information on what to do *after* running autoupdate.
2757
2758# This is what autoupdate's m4 run will expand.  It fires
2759# the warning (with _au_warn_XXX), outputs it into the
2760# updated configure.ac (with AC_DIAGNOSE), and then outputs
2761# the replacement expansion.
2762
2763
2764# This is an auxiliary macro that is also run when
2765# autoupdate runs m4.  It simply calls m4_warning, but
2766# we need a wrapper so that each warning is emitted only
2767# once.  We break the quoting in m4_warning's argument in
2768# order to expand this macro's arguments, not AU_DEFUN's.
2769
2770
2771# Finally, this is the expansion that is picked up by
2772# autoconf.  It tells the user to run autoupdate, and
2773# then outputs the replacement expansion.  We do not care
2774# about autoupdate's warning because that contains
2775# information on what to do *after* running autoupdate.
2776
2777# This is what autoupdate's m4 run will expand.  It fires
2778# the warning (with _au_warn_XXX), outputs it into the
2779# updated configure.ac (with AC_DIAGNOSE), and then outputs
2780# the replacement expansion.
2781
2782
2783# This is an auxiliary macro that is also run when
2784# autoupdate runs m4.  It simply calls m4_warning, but
2785# we need a wrapper so that each warning is emitted only
2786# once.  We break the quoting in m4_warning's argument in
2787# order to expand this macro's arguments, not AU_DEFUN's.
2788
2789
2790# Finally, this is the expansion that is picked up by
2791# autoconf.  It tells the user to run autoupdate, and
2792# then outputs the replacement expansion.  We do not care
2793# about autoupdate's warning because that contains
2794# information on what to do *after* running autoupdate.
2795
2796# This is what autoupdate's m4 run will expand.  It fires
2797# the warning (with _au_warn_XXX), outputs it into the
2798# updated configure.ac (with AC_DIAGNOSE), and then outputs
2799# the replacement expansion.
2800
2801
2802# This is an auxiliary macro that is also run when
2803# autoupdate runs m4.  It simply calls m4_warning, but
2804# we need a wrapper so that each warning is emitted only
2805# once.  We break the quoting in m4_warning's argument in
2806# order to expand this macro's arguments, not AU_DEFUN's.
2807
2808
2809# Finally, this is the expansion that is picked up by
2810# autoconf.  It tells the user to run autoupdate, and
2811# then outputs the replacement expansion.  We do not care
2812# about autoupdate's warning because that contains
2813# information on what to do *after* running autoupdate.
2814
2815
2816
2817# _LT_TAG_COMPILER
2818# ----------------
2819# _LT_TAG_COMPILER
2820
2821
2822# _LT_COMPILER_BOILERPLATE
2823# ------------------------
2824# Check for compiler boilerplate output or warnings with
2825# the simple compiler test code.
2826# _LT_COMPILER_BOILERPLATE
2827
2828
2829# _LT_LINKER_BOILERPLATE
2830# ----------------------
2831# Check for linker boilerplate output or warnings with
2832# the simple link test code.
2833# _LT_LINKER_BOILERPLATE
2834
2835# _LT_REQUIRED_DARWIN_CHECKS
2836# -------------------------
2837
2838
2839
2840# _LT_DARWIN_LINKER_FEATURES([TAG])
2841# ---------------------------------
2842# Checks for linker and compiler features on darwin
2843
2844
2845# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
2846# ----------------------------------
2847# Links a minimal program and checks the executable
2848# for the system default hardcoded library path. In most cases,
2849# this is /usr/lib:/lib, but when the MPI compilers are used
2850# the location of the communication and MPI libs are included too.
2851# If we don't find anything, use the default library path according
2852# to the aix ld manual.
2853# Store the results from the different compilers for each TAGNAME.
2854# Allow to override them for all tags through lt_cv_aix_libpath.
2855# _LT_SYS_MODULE_PATH_AIX
2856
2857
2858# _LT_SHELL_INIT(ARG)
2859# -------------------
2860# _LT_SHELL_INIT
2861
2862
2863
2864# _LT_PROG_ECHO_BACKSLASH
2865# -----------------------
2866# Find how we can fake an echo command that does not interpret backslash.
2867# In particular, with Autoconf 2.60 or later we add some code to the start
2868# of the generated configure script that will find a shell with a builtin
2869# printf (that we can use as an echo command).
2870# _LT_PROG_ECHO_BACKSLASH
2871
2872
2873# _LT_WITH_SYSROOT
2874# ----------------
2875
2876
2877# _LT_ENABLE_LOCK
2878# ---------------
2879# _LT_ENABLE_LOCK
2880
2881
2882# _LT_PROG_AR
2883# -----------
2884# _LT_PROG_AR
2885
2886
2887# _LT_CMD_OLD_ARCHIVE
2888# -------------------
2889# _LT_CMD_OLD_ARCHIVE
2890
2891
2892# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2893#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2894# ----------------------------------------------------------------
2895# Check whether the given compiler option works
2896# _LT_COMPILER_OPTION
2897
2898# Old name:
2899# This is what autoupdate's m4 run will expand.  It fires
2900# the warning (with _au_warn_XXX), outputs it into the
2901# updated configure.ac (with AC_DIAGNOSE), and then outputs
2902# the replacement expansion.
2903
2904
2905# This is an auxiliary macro that is also run when
2906# autoupdate runs m4.  It simply calls m4_warning, but
2907# we need a wrapper so that each warning is emitted only
2908# once.  We break the quoting in m4_warning's argument in
2909# order to expand this macro's arguments, not AU_DEFUN's.
2910
2911
2912# Finally, this is the expansion that is picked up by
2913# autoconf.  It tells the user to run autoupdate, and
2914# then outputs the replacement expansion.  We do not care
2915# about autoupdate's warning because that contains
2916# information on what to do *after* running autoupdate.
2917
2918
2919
2920# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2921#                  [ACTION-SUCCESS], [ACTION-FAILURE])
2922# ----------------------------------------------------
2923# Check whether the given linker option works
2924# _LT_LINKER_OPTION
2925
2926# Old name:
2927# This is what autoupdate's m4 run will expand.  It fires
2928# the warning (with _au_warn_XXX), outputs it into the
2929# updated configure.ac (with AC_DIAGNOSE), and then outputs
2930# the replacement expansion.
2931
2932
2933# This is an auxiliary macro that is also run when
2934# autoupdate runs m4.  It simply calls m4_warning, but
2935# we need a wrapper so that each warning is emitted only
2936# once.  We break the quoting in m4_warning's argument in
2937# order to expand this macro's arguments, not AU_DEFUN's.
2938
2939
2940# Finally, this is the expansion that is picked up by
2941# autoconf.  It tells the user to run autoupdate, and
2942# then outputs the replacement expansion.  We do not care
2943# about autoupdate's warning because that contains
2944# information on what to do *after* running autoupdate.
2945
2946
2947
2948# LT_CMD_MAX_LEN
2949#---------------
2950# LT_CMD_MAX_LEN
2951
2952# Old name:
2953# This is what autoupdate's m4 run will expand.  It fires
2954# the warning (with _au_warn_XXX), outputs it into the
2955# updated configure.ac (with AC_DIAGNOSE), and then outputs
2956# the replacement expansion.
2957
2958
2959# This is an auxiliary macro that is also run when
2960# autoupdate runs m4.  It simply calls m4_warning, but
2961# we need a wrapper so that each warning is emitted only
2962# once.  We break the quoting in m4_warning's argument in
2963# order to expand this macro's arguments, not AU_DEFUN's.
2964
2965
2966# Finally, this is the expansion that is picked up by
2967# autoconf.  It tells the user to run autoupdate, and
2968# then outputs the replacement expansion.  We do not care
2969# about autoupdate's warning because that contains
2970# information on what to do *after* running autoupdate.
2971
2972
2973
2974# _LT_HEADER_DLFCN
2975# ----------------
2976# _LT_HEADER_DLFCN
2977
2978
2979# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2980#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2981# ----------------------------------------------------------------
2982# _LT_TRY_DLOPEN_SELF
2983
2984
2985# LT_SYS_DLOPEN_SELF
2986# ------------------
2987# LT_SYS_DLOPEN_SELF
2988
2989# Old name:
2990# This is what autoupdate's m4 run will expand.  It fires
2991# the warning (with _au_warn_XXX), outputs it into the
2992# updated configure.ac (with AC_DIAGNOSE), and then outputs
2993# the replacement expansion.
2994
2995
2996# This is an auxiliary macro that is also run when
2997# autoupdate runs m4.  It simply calls m4_warning, but
2998# we need a wrapper so that each warning is emitted only
2999# once.  We break the quoting in m4_warning's argument in
3000# order to expand this macro's arguments, not AU_DEFUN's.
3001
3002
3003# Finally, this is the expansion that is picked up by
3004# autoconf.  It tells the user to run autoupdate, and
3005# then outputs the replacement expansion.  We do not care
3006# about autoupdate's warning because that contains
3007# information on what to do *after* running autoupdate.
3008
3009
3010
3011# _LT_COMPILER_C_O([TAGNAME])
3012# ---------------------------
3013# Check to see if options -c and -o are simultaneously supported by compiler.
3014# This macro does not hard code the compiler like AC_PROG_CC_C_O.
3015# _LT_COMPILER_C_O
3016
3017
3018# _LT_COMPILER_FILE_LOCKS([TAGNAME])
3019# ----------------------------------
3020# Check to see if we can do hard links to lock some files if needed
3021# _LT_COMPILER_FILE_LOCKS
3022
3023
3024# _LT_CHECK_OBJDIR
3025# ----------------
3026# _LT_CHECK_OBJDIR
3027
3028
3029# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
3030# --------------------------------------
3031# Check hardcoding attributes.
3032# _LT_LINKER_HARDCODE_LIBPATH
3033
3034
3035# _LT_CMD_STRIPLIB
3036# ----------------
3037# _LT_CMD_STRIPLIB
3038
3039
3040# _LT_PREPARE_MUNGE_PATH_LIST
3041# ---------------------------
3042# Make sure func_munge_path_list() is defined correctly.
3043# _LT_PREPARE_PATH_LIST
3044
3045
3046# _LT_SYS_DYNAMIC_LINKER([TAG])
3047# -----------------------------
3048# PORTME Fill in your ld.so characteristics
3049# _LT_SYS_DYNAMIC_LINKER
3050
3051
3052# _LT_PATH_TOOL_PREFIX(TOOL)
3053# --------------------------
3054# find a file program that can recognize shared library
3055# _LT_PATH_TOOL_PREFIX
3056
3057# Old name:
3058# This is what autoupdate's m4 run will expand.  It fires
3059# the warning (with _au_warn_XXX), outputs it into the
3060# updated configure.ac (with AC_DIAGNOSE), and then outputs
3061# the replacement expansion.
3062
3063
3064# This is an auxiliary macro that is also run when
3065# autoupdate runs m4.  It simply calls m4_warning, but
3066# we need a wrapper so that each warning is emitted only
3067# once.  We break the quoting in m4_warning's argument in
3068# order to expand this macro's arguments, not AU_DEFUN's.
3069
3070
3071# Finally, this is the expansion that is picked up by
3072# autoconf.  It tells the user to run autoupdate, and
3073# then outputs the replacement expansion.  We do not care
3074# about autoupdate's warning because that contains
3075# information on what to do *after* running autoupdate.
3076
3077
3078
3079# _LT_PATH_MAGIC
3080# --------------
3081# find a file program that can recognize a shared library
3082# _LT_PATH_MAGIC
3083
3084
3085# LT_PATH_LD
3086# ----------
3087# find the pathname to the GNU or non-GNU linker
3088# LT_PATH_LD
3089
3090# Old names:
3091# This is what autoupdate's m4 run will expand.  It fires
3092# the warning (with _au_warn_XXX), outputs it into the
3093# updated configure.ac (with AC_DIAGNOSE), and then outputs
3094# the replacement expansion.
3095
3096
3097# This is an auxiliary macro that is also run when
3098# autoupdate runs m4.  It simply calls m4_warning, but
3099# we need a wrapper so that each warning is emitted only
3100# once.  We break the quoting in m4_warning's argument in
3101# order to expand this macro's arguments, not AU_DEFUN's.
3102
3103
3104# Finally, this is the expansion that is picked up by
3105# autoconf.  It tells the user to run autoupdate, and
3106# then outputs the replacement expansion.  We do not care
3107# about autoupdate's warning because that contains
3108# information on what to do *after* running autoupdate.
3109
3110# This is what autoupdate's m4 run will expand.  It fires
3111# the warning (with _au_warn_XXX), outputs it into the
3112# updated configure.ac (with AC_DIAGNOSE), and then outputs
3113# the replacement expansion.
3114
3115
3116# This is an auxiliary macro that is also run when
3117# autoupdate runs m4.  It simply calls m4_warning, but
3118# we need a wrapper so that each warning is emitted only
3119# once.  We break the quoting in m4_warning's argument in
3120# order to expand this macro's arguments, not AU_DEFUN's.
3121
3122
3123# Finally, this is the expansion that is picked up by
3124# autoconf.  It tells the user to run autoupdate, and
3125# then outputs the replacement expansion.  We do not care
3126# about autoupdate's warning because that contains
3127# information on what to do *after* running autoupdate.
3128
3129
3130
3131# _LT_PATH_LD_GNU
3132#- --------------
3133# _LT_PATH_LD_GNU
3134
3135
3136# _LT_CMD_RELOAD
3137# --------------
3138# find reload flag for linker
3139#   -- PORTME Some linkers may need a different reload flag.
3140# _LT_CMD_RELOAD
3141
3142
3143# _LT_PATH_DD
3144# -----------
3145# find a working dd
3146# _LT_PATH_DD
3147
3148
3149# _LT_CMD_TRUNCATE
3150# ----------------
3151# find command to truncate a binary pipe
3152# _LT_CMD_TRUNCATE
3153
3154
3155# _LT_CHECK_MAGIC_METHOD
3156# ----------------------
3157# how to check for library dependencies
3158#  -- PORTME fill in with the dynamic library characteristics
3159# _LT_CHECK_MAGIC_METHOD
3160
3161
3162# LT_PATH_NM
3163# ----------
3164# find the pathname to a BSD- or MS-compatible name lister
3165# LT_PATH_NM
3166
3167# Old names:
3168# This is what autoupdate's m4 run will expand.  It fires
3169# the warning (with _au_warn_XXX), outputs it into the
3170# updated configure.ac (with AC_DIAGNOSE), and then outputs
3171# the replacement expansion.
3172
3173
3174# This is an auxiliary macro that is also run when
3175# autoupdate runs m4.  It simply calls m4_warning, but
3176# we need a wrapper so that each warning is emitted only
3177# once.  We break the quoting in m4_warning's argument in
3178# order to expand this macro's arguments, not AU_DEFUN's.
3179
3180
3181# Finally, this is the expansion that is picked up by
3182# autoconf.  It tells the user to run autoupdate, and
3183# then outputs the replacement expansion.  We do not care
3184# about autoupdate's warning because that contains
3185# information on what to do *after* running autoupdate.
3186
3187# This is what autoupdate's m4 run will expand.  It fires
3188# the warning (with _au_warn_XXX), outputs it into the
3189# updated configure.ac (with AC_DIAGNOSE), and then outputs
3190# the replacement expansion.
3191
3192
3193# This is an auxiliary macro that is also run when
3194# autoupdate runs m4.  It simply calls m4_warning, but
3195# we need a wrapper so that each warning is emitted only
3196# once.  We break the quoting in m4_warning's argument in
3197# order to expand this macro's arguments, not AU_DEFUN's.
3198
3199
3200# Finally, this is the expansion that is picked up by
3201# autoconf.  It tells the user to run autoupdate, and
3202# then outputs the replacement expansion.  We do not care
3203# about autoupdate's warning because that contains
3204# information on what to do *after* running autoupdate.
3205
3206
3207# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3208# --------------------------------
3209# how to determine the name of the shared library
3210# associated with a specific link library.
3211#  -- PORTME fill in with the dynamic library characteristics
3212# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
3213
3214
3215# _LT_PATH_MANIFEST_TOOL
3216# ----------------------
3217# locate the manifest tool
3218# _LT_PATH_MANIFEST_TOOL
3219
3220
3221# _LT_DLL_DEF_P([FILE])
3222# ---------------------
3223# True iff FILE is a Windows DLL '.def' file.
3224# Keep in sync with func_dll_def_p in the libtool script
3225# _LT_DLL_DEF_P
3226
3227
3228# LT_LIB_M
3229# --------
3230# check for math library
3231# LT_LIB_M
3232
3233# Old name:
3234# This is what autoupdate's m4 run will expand.  It fires
3235# the warning (with _au_warn_XXX), outputs it into the
3236# updated configure.ac (with AC_DIAGNOSE), and then outputs
3237# the replacement expansion.
3238
3239
3240# This is an auxiliary macro that is also run when
3241# autoupdate runs m4.  It simply calls m4_warning, but
3242# we need a wrapper so that each warning is emitted only
3243# once.  We break the quoting in m4_warning's argument in
3244# order to expand this macro's arguments, not AU_DEFUN's.
3245
3246
3247# Finally, this is the expansion that is picked up by
3248# autoconf.  It tells the user to run autoupdate, and
3249# then outputs the replacement expansion.  We do not care
3250# about autoupdate's warning because that contains
3251# information on what to do *after* running autoupdate.
3252
3253
3254
3255# _LT_COMPILER_NO_RTTI([TAGNAME])
3256# -------------------------------
3257# _LT_COMPILER_NO_RTTI
3258
3259
3260# _LT_CMD_GLOBAL_SYMBOLS
3261# ----------------------
3262 # _LT_CMD_GLOBAL_SYMBOLS
3263
3264
3265# _LT_COMPILER_PIC([TAGNAME])
3266# ---------------------------
3267# _LT_COMPILER_PIC
3268
3269
3270# _LT_LINKER_SHLIBS([TAGNAME])
3271# ----------------------------
3272# See if the linker supports building shared libraries.
3273# _LT_LINKER_SHLIBS
3274
3275
3276# _LT_LANG_C_CONFIG([TAG])
3277# ------------------------
3278# Ensure that the configuration variables for a C compiler are suitably
3279# defined.  These variables are subsequently used by _LT_CONFIG to write
3280# the compiler configuration to 'libtool'.
3281# _LT_LANG_C_CONFIG
3282
3283
3284# _LT_LANG_CXX_CONFIG([TAG])
3285# --------------------------
3286# Ensure that the configuration variables for a C++ compiler are suitably
3287# defined.  These variables are subsequently used by _LT_CONFIG to write
3288# the compiler configuration to 'libtool'.
3289# _LT_LANG_CXX_CONFIG
3290
3291
3292# _LT_FUNC_STRIPNAME_CNF
3293# ----------------------
3294# func_stripname_cnf prefix suffix name
3295# strip PREFIX and SUFFIX off of NAME.
3296# PREFIX and SUFFIX must not contain globbing or regex special
3297# characters, hashes, percent signs, but SUFFIX may contain a leading
3298# dot (in which case that matches only a dot).
3299#
3300# This function is identical to the (non-XSI) version of func_stripname,
3301# except this one can be used by m4 code that may be executed by configure,
3302# rather than the libtool script.
3303# _LT_FUNC_STRIPNAME_CNF
3304
3305
3306# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
3307# ---------------------------------
3308# Figure out "hidden" library dependencies from verbose
3309# compiler output when linking a shared library.
3310# Parse the compiler output and extract the necessary
3311# objects, libraries and library flags.
3312# _LT_SYS_HIDDEN_LIBDEPS
3313
3314
3315# _LT_LANG_F77_CONFIG([TAG])
3316# --------------------------
3317# Ensure that the configuration variables for a Fortran 77 compiler are
3318# suitably defined.  These variables are subsequently used by _LT_CONFIG
3319# to write the compiler configuration to 'libtool'.
3320# _LT_LANG_F77_CONFIG
3321
3322
3323# _LT_LANG_FC_CONFIG([TAG])
3324# -------------------------
3325# Ensure that the configuration variables for a Fortran compiler are
3326# suitably defined.  These variables are subsequently used by _LT_CONFIG
3327# to write the compiler configuration to 'libtool'.
3328# _LT_LANG_FC_CONFIG
3329
3330
3331# _LT_LANG_GCJ_CONFIG([TAG])
3332# --------------------------
3333# Ensure that the configuration variables for the GNU Java Compiler compiler
3334# are suitably defined.  These variables are subsequently used by _LT_CONFIG
3335# to write the compiler configuration to 'libtool'.
3336# _LT_LANG_GCJ_CONFIG
3337
3338
3339# _LT_LANG_GO_CONFIG([TAG])
3340# --------------------------
3341# Ensure that the configuration variables for the GNU Go compiler
3342# are suitably defined.  These variables are subsequently used by _LT_CONFIG
3343# to write the compiler configuration to 'libtool'.
3344# _LT_LANG_GO_CONFIG
3345
3346
3347# _LT_LANG_RC_CONFIG([TAG])
3348# -------------------------
3349# Ensure that the configuration variables for the Windows resource compiler
3350# are suitably defined.  These variables are subsequently used by _LT_CONFIG
3351# to write the compiler configuration to 'libtool'.
3352# _LT_LANG_RC_CONFIG
3353
3354
3355# LT_PROG_GCJ
3356# -----------
3357
3358
3359# Old name:
3360# This is what autoupdate's m4 run will expand.  It fires
3361# the warning (with _au_warn_XXX), outputs it into the
3362# updated configure.ac (with AC_DIAGNOSE), and then outputs
3363# the replacement expansion.
3364
3365
3366# This is an auxiliary macro that is also run when
3367# autoupdate runs m4.  It simply calls m4_warning, but
3368# we need a wrapper so that each warning is emitted only
3369# once.  We break the quoting in m4_warning's argument in
3370# order to expand this macro's arguments, not AU_DEFUN's.
3371
3372
3373# Finally, this is the expansion that is picked up by
3374# autoconf.  It tells the user to run autoupdate, and
3375# then outputs the replacement expansion.  We do not care
3376# about autoupdate's warning because that contains
3377# information on what to do *after* running autoupdate.
3378
3379
3380
3381# LT_PROG_GO
3382# ----------
3383
3384
3385
3386# LT_PROG_RC
3387# ----------
3388
3389
3390# Old name:
3391# This is what autoupdate's m4 run will expand.  It fires
3392# the warning (with _au_warn_XXX), outputs it into the
3393# updated configure.ac (with AC_DIAGNOSE), and then outputs
3394# the replacement expansion.
3395
3396
3397# This is an auxiliary macro that is also run when
3398# autoupdate runs m4.  It simply calls m4_warning, but
3399# we need a wrapper so that each warning is emitted only
3400# once.  We break the quoting in m4_warning's argument in
3401# order to expand this macro's arguments, not AU_DEFUN's.
3402
3403
3404# Finally, this is the expansion that is picked up by
3405# autoconf.  It tells the user to run autoupdate, and
3406# then outputs the replacement expansion.  We do not care
3407# about autoupdate's warning because that contains
3408# information on what to do *after* running autoupdate.
3409
3410
3411
3412# _LT_DECL_EGREP
3413# --------------
3414# If we don't have a new enough Autoconf to choose the best grep
3415# available, choose the one first in the user's PATH.
3416
3417
3418
3419# _LT_DECL_OBJDUMP
3420# --------------
3421# If we don't have a new enough Autoconf to choose the best objdump
3422# available, choose the one first in the user's PATH.
3423
3424
3425# _LT_DECL_DLLTOOL
3426# ----------------
3427# Ensure DLLTOOL variable is set.
3428
3429
3430# _LT_DECL_SED
3431# ------------
3432# Check for a fully-functional sed program, that truncates
3433# as few characters as possible.  Prefer GNU sed if found.
3434# _LT_DECL_SED
3435
3436#m4_ifndef
3437
3438# Old name:
3439# This is what autoupdate's m4 run will expand.  It fires
3440# the warning (with _au_warn_XXX), outputs it into the
3441# updated configure.ac (with AC_DIAGNOSE), and then outputs
3442# the replacement expansion.
3443
3444
3445# This is an auxiliary macro that is also run when
3446# autoupdate runs m4.  It simply calls m4_warning, but
3447# we need a wrapper so that each warning is emitted only
3448# once.  We break the quoting in m4_warning's argument in
3449# order to expand this macro's arguments, not AU_DEFUN's.
3450
3451
3452# Finally, this is the expansion that is picked up by
3453# autoconf.  It tells the user to run autoupdate, and
3454# then outputs the replacement expansion.  We do not care
3455# about autoupdate's warning because that contains
3456# information on what to do *after* running autoupdate.
3457
3458
3459
3460# _LT_CHECK_SHELL_FEATURES
3461# ------------------------
3462# Find out whether the shell is Bourne or XSI compatible,
3463# or has some other useful features.
3464# _LT_CHECK_SHELL_FEATURES
3465
3466
3467# _LT_PATH_CONVERSION_FUNCTIONS
3468# -----------------------------
3469# Determine what file name conversion functions should be used by
3470# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
3471# for certain cross-compile configurations and native mingw.
3472# _LT_PATH_CONVERSION_FUNCTIONS
3473
3474# Helper functions for option handling.                    -*- Autoconf -*-
3475#
3476#   Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
3477#   Foundation, Inc.
3478#   Written by Gary V. Vaughan, 2004
3479#
3480# This file is free software; the Free Software Foundation gives
3481# unlimited permission to copy and/or distribute it, with or without
3482# modifications, as long as this notice is preserved.
3483
3484# serial 8 ltoptions.m4
3485
3486# This is to help aclocal find these macros, as it can't see m4_define.
3487
3488
3489
3490# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
3491# ------------------------------------------
3492
3493
3494
3495# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
3496# ---------------------------------------
3497# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
3498# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
3499# saved as a flag.
3500
3501
3502
3503# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
3504# ------------------------------------------------------------
3505# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
3506
3507
3508
3509# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
3510# -------------------------------------------------------
3511# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
3512# are set.
3513
3514
3515
3516# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
3517# ----------------------------------------
3518# OPTION-LIST is a space-separated list of Libtool options associated
3519# with MACRO-NAME.  If any OPTION has a matching handler declared with
3520# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
3521# the unknown option and exit.
3522# _LT_SET_OPTIONS
3523
3524
3525## --------------------------------- ##
3526## Macros to handle LT_INIT options. ##
3527## --------------------------------- ##
3528
3529# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
3530# -----------------------------------------
3531
3532
3533
3534# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
3535# -----------------------------------------------
3536# LT_OPTION_DEFINE
3537
3538
3539# dlopen
3540# ------
3541
3542
3543# This is what autoupdate's m4 run will expand.  It fires
3544# the warning (with _au_warn_XXX), outputs it into the
3545# updated configure.ac (with AC_DIAGNOSE), and then outputs
3546# the replacement expansion.
3547
3548
3549# This is an auxiliary macro that is also run when
3550# autoupdate runs m4.  It simply calls m4_warning, but
3551# we need a wrapper so that each warning is emitted only
3552# once.  We break the quoting in m4_warning's argument in
3553# order to expand this macro's arguments, not AU_DEFUN's.
3554
3555
3556# Finally, this is the expansion that is picked up by
3557# autoconf.  It tells the user to run autoupdate, and
3558# then outputs the replacement expansion.  We do not care
3559# about autoupdate's warning because that contains
3560# information on what to do *after* running autoupdate.
3561
3562
3563
3564
3565# win32-dll
3566# ---------
3567# Declare package support for building win32 dll's.
3568# win32-dll
3569
3570# This is what autoupdate's m4 run will expand.  It fires
3571# the warning (with _au_warn_XXX), outputs it into the
3572# updated configure.ac (with AC_DIAGNOSE), and then outputs
3573# the replacement expansion.
3574
3575
3576# This is an auxiliary macro that is also run when
3577# autoupdate runs m4.  It simply calls m4_warning, but
3578# we need a wrapper so that each warning is emitted only
3579# once.  We break the quoting in m4_warning's argument in
3580# order to expand this macro's arguments, not AU_DEFUN's.
3581
3582
3583# Finally, this is the expansion that is picked up by
3584# autoconf.  It tells the user to run autoupdate, and
3585# then outputs the replacement expansion.  We do not care
3586# about autoupdate's warning because that contains
3587# information on what to do *after* running autoupdate.
3588
3589
3590
3591
3592# _LT_ENABLE_SHARED([DEFAULT])
3593# ----------------------------
3594# implement the --enable-shared flag, and supports the 'shared' and
3595# 'disable-shared' LT_INIT options.
3596# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
3597# _LT_ENABLE_SHARED
3598
3599
3600
3601
3602# Old names:
3603
3604
3605
3606
3607# This is what autoupdate's m4 run will expand.  It fires
3608# the warning (with _au_warn_XXX), outputs it into the
3609# updated configure.ac (with AC_DIAGNOSE), and then outputs
3610# the replacement expansion.
3611
3612
3613# This is an auxiliary macro that is also run when
3614# autoupdate runs m4.  It simply calls m4_warning, but
3615# we need a wrapper so that each warning is emitted only
3616# once.  We break the quoting in m4_warning's argument in
3617# order to expand this macro's arguments, not AU_DEFUN's.
3618
3619
3620# Finally, this is the expansion that is picked up by
3621# autoconf.  It tells the user to run autoupdate, and
3622# then outputs the replacement expansion.  We do not care
3623# about autoupdate's warning because that contains
3624# information on what to do *after* running autoupdate.
3625
3626# This is what autoupdate's m4 run will expand.  It fires
3627# the warning (with _au_warn_XXX), outputs it into the
3628# updated configure.ac (with AC_DIAGNOSE), and then outputs
3629# the replacement expansion.
3630
3631
3632# This is an auxiliary macro that is also run when
3633# autoupdate runs m4.  It simply calls m4_warning, but
3634# we need a wrapper so that each warning is emitted only
3635# once.  We break the quoting in m4_warning's argument in
3636# order to expand this macro's arguments, not AU_DEFUN's.
3637
3638
3639# Finally, this is the expansion that is picked up by
3640# autoconf.  It tells the user to run autoupdate, and
3641# then outputs the replacement expansion.  We do not care
3642# about autoupdate's warning because that contains
3643# information on what to do *after* running autoupdate.
3644
3645
3646
3647
3648
3649# _LT_ENABLE_STATIC([DEFAULT])
3650# ----------------------------
3651# implement the --enable-static flag, and support the 'static' and
3652# 'disable-static' LT_INIT options.
3653# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
3654# _LT_ENABLE_STATIC
3655
3656
3657
3658
3659# Old names:
3660
3661
3662
3663
3664# This is what autoupdate's m4 run will expand.  It fires
3665# the warning (with _au_warn_XXX), outputs it into the
3666# updated configure.ac (with AC_DIAGNOSE), and then outputs
3667# the replacement expansion.
3668
3669
3670# This is an auxiliary macro that is also run when
3671# autoupdate runs m4.  It simply calls m4_warning, but
3672# we need a wrapper so that each warning is emitted only
3673# once.  We break the quoting in m4_warning's argument in
3674# order to expand this macro's arguments, not AU_DEFUN's.
3675
3676
3677# Finally, this is the expansion that is picked up by
3678# autoconf.  It tells the user to run autoupdate, and
3679# then outputs the replacement expansion.  We do not care
3680# about autoupdate's warning because that contains
3681# information on what to do *after* running autoupdate.
3682
3683# This is what autoupdate's m4 run will expand.  It fires
3684# the warning (with _au_warn_XXX), outputs it into the
3685# updated configure.ac (with AC_DIAGNOSE), and then outputs
3686# the replacement expansion.
3687
3688
3689# This is an auxiliary macro that is also run when
3690# autoupdate runs m4.  It simply calls m4_warning, but
3691# we need a wrapper so that each warning is emitted only
3692# once.  We break the quoting in m4_warning's argument in
3693# order to expand this macro's arguments, not AU_DEFUN's.
3694
3695
3696# Finally, this is the expansion that is picked up by
3697# autoconf.  It tells the user to run autoupdate, and
3698# then outputs the replacement expansion.  We do not care
3699# about autoupdate's warning because that contains
3700# information on what to do *after* running autoupdate.
3701
3702
3703
3704
3705
3706# _LT_ENABLE_FAST_INSTALL([DEFAULT])
3707# ----------------------------------
3708# implement the --enable-fast-install flag, and support the 'fast-install'
3709# and 'disable-fast-install' LT_INIT options.
3710# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
3711# _LT_ENABLE_FAST_INSTALL
3712
3713
3714
3715
3716# Old names:
3717# This is what autoupdate's m4 run will expand.  It fires
3718# the warning (with _au_warn_XXX), outputs it into the
3719# updated configure.ac (with AC_DIAGNOSE), and then outputs
3720# the replacement expansion.
3721
3722
3723# This is an auxiliary macro that is also run when
3724# autoupdate runs m4.  It simply calls m4_warning, but
3725# we need a wrapper so that each warning is emitted only
3726# once.  We break the quoting in m4_warning's argument in
3727# order to expand this macro's arguments, not AU_DEFUN's.
3728
3729
3730# Finally, this is the expansion that is picked up by
3731# autoconf.  It tells the user to run autoupdate, and
3732# then outputs the replacement expansion.  We do not care
3733# about autoupdate's warning because that contains
3734# information on what to do *after* running autoupdate.
3735
3736
3737# This is what autoupdate's m4 run will expand.  It fires
3738# the warning (with _au_warn_XXX), outputs it into the
3739# updated configure.ac (with AC_DIAGNOSE), and then outputs
3740# the replacement expansion.
3741
3742
3743# This is an auxiliary macro that is also run when
3744# autoupdate runs m4.  It simply calls m4_warning, but
3745# we need a wrapper so that each warning is emitted only
3746# once.  We break the quoting in m4_warning's argument in
3747# order to expand this macro's arguments, not AU_DEFUN's.
3748
3749
3750# Finally, this is the expansion that is picked up by
3751# autoconf.  It tells the user to run autoupdate, and
3752# then outputs the replacement expansion.  We do not care
3753# about autoupdate's warning because that contains
3754# information on what to do *after* running autoupdate.
3755
3756
3757
3758
3759# _LT_WITH_AIX_SONAME([DEFAULT])
3760# ----------------------------------
3761# implement the --with-aix-soname flag, and support the `aix-soname=aix'
3762# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
3763# is either `aix', `both' or `svr4'.  If omitted, it defaults to `aix'.
3764# _LT_WITH_AIX_SONAME
3765
3766
3767
3768
3769
3770
3771# _LT_WITH_PIC([MODE])
3772# --------------------
3773# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
3774# LT_INIT options.
3775# MODE is either 'yes' or 'no'.  If omitted, it defaults to 'both'.
3776# _LT_WITH_PIC
3777
3778
3779
3780
3781# Old name:
3782# This is what autoupdate's m4 run will expand.  It fires
3783# the warning (with _au_warn_XXX), outputs it into the
3784# updated configure.ac (with AC_DIAGNOSE), and then outputs
3785# the replacement expansion.
3786
3787
3788# This is an auxiliary macro that is also run when
3789# autoupdate runs m4.  It simply calls m4_warning, but
3790# we need a wrapper so that each warning is emitted only
3791# once.  We break the quoting in m4_warning's argument in
3792# order to expand this macro's arguments, not AU_DEFUN's.
3793
3794
3795# Finally, this is the expansion that is picked up by
3796# autoconf.  It tells the user to run autoupdate, and
3797# then outputs the replacement expansion.  We do not care
3798# about autoupdate's warning because that contains
3799# information on what to do *after* running autoupdate.
3800
3801
3802
3803## ----------------- ##
3804## LTDL_INIT Options ##
3805## ----------------- ##
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
3817#
3818# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
3819# Foundation, Inc.
3820# Written by Gary V. Vaughan, 2004
3821#
3822# This file is free software; the Free Software Foundation gives
3823# unlimited permission to copy and/or distribute it, with or without
3824# modifications, as long as this notice is preserved.
3825
3826# serial 6 ltsugar.m4
3827
3828# This is to help aclocal find these macros, as it can't see m4_define.
3829
3830
3831
3832# lt_join(SEP, ARG1, [ARG2...])
3833# -----------------------------
3834# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
3835# associated separator.
3836# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
3837# versions in m4sugar had bugs.
3838
3839
3840
3841
3842# lt_car(LIST)
3843# lt_cdr(LIST)
3844# ------------
3845# Manipulate m4 lists.
3846# These macros are necessary as long as will still need to support
3847# Autoconf-2.59, which quotes differently.
3848
3849
3850
3851
3852
3853# lt_append(MACRO-NAME, STRING, [SEPARATOR])
3854# ------------------------------------------
3855# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
3856# Note that neither SEPARATOR nor STRING are expanded; they are appended
3857# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
3858# No SEPARATOR is output if MACRO-NAME was previously undefined (different
3859# than defined and empty).
3860#
3861# This macro is needed until we can rely on Autoconf 2.62, since earlier
3862# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
3863
3864
3865
3866
3867# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
3868# ----------------------------------------------------------
3869# Produce a SEP delimited list of all paired combinations of elements of
3870# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
3871# has the form PREFIXmINFIXSUFFIXn.
3872# Needed until we can rely on m4_combine added in Autoconf 2.62.
3873
3874
3875
3876# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
3877# -----------------------------------------------------------------------
3878# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
3879# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
3880
3881
3882
3883# lt_dict_add(DICT, KEY, VALUE)
3884# -----------------------------
3885
3886
3887
3888# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
3889# --------------------------------------------
3890
3891
3892
3893# lt_dict_fetch(DICT, KEY, [SUBKEY])
3894# ----------------------------------
3895
3896
3897
3898# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
3899# -----------------------------------------------------------------
3900
3901
3902
3903# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
3904# --------------------------------------------------------------
3905
3906
3907# ltversion.m4 -- version numbers			-*- Autoconf -*-
3908#
3909#   Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
3910#   Written by Scott James Remnant, 2004
3911#
3912# This file is free software; the Free Software Foundation gives
3913# unlimited permission to copy and/or distribute it, with or without
3914# modifications, as long as this notice is preserved.
3915
3916# @configure_input@
3917
3918# serial 4179 ltversion.m4
3919# This file is part of GNU Libtool
3920
3921
3922
3923
3924
3925
3926# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
3927#
3928#   Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
3929#   Foundation, Inc.
3930#   Written by Scott James Remnant, 2004.
3931#
3932# This file is free software; the Free Software Foundation gives
3933# unlimited permission to copy and/or distribute it, with or without
3934# modifications, as long as this notice is preserved.
3935
3936# serial 5 lt~obsolete.m4
3937
3938# These exist entirely to fool aclocal when bootstrapping libtool.
3939#
3940# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
3941# which have later been changed to m4_define as they aren't part of the
3942# exported API, or moved to Autoconf or Automake where they belong.
3943#
3944# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
3945# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
3946# using a macro with the same name in our local m4/libtool.m4 it'll
3947# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
3948# and doesn't know about Autoconf macros at all.)
3949#
3950# So we provide this file, which has a silly filename so it's always
3951# included after everything else.  This provides aclocal with the
3952# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
3953# because those macros already exist, or will be overwritten later.
3954# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
3955#
3956# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
3957# Yes, that means every name once taken will need to remain here until
3958# we give up compatibility with versions before 1.7, at which point
3959# we need to keep only those names which we still refer to.
3960
3961# This is to help aclocal find these macros, as it can't see m4_define.
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030# Check whether --enable-layout was given.
4031if test "${enable_layout+set}" = set; then :
4032  enableval=$enable_layout;
4033  LAYOUT=$enableval
4034
4035fi
4036
4037
4038if test -z "$LAYOUT"; then
4039  LAYOUT="classic"
4040fi
4041
4042  if test ! -f $srcdir/config.layout; then
4043    echo "** Error: Layout file $srcdir/config.layout not found"
4044    echo "** Error: Cannot use undefined layout '$LAYOUT'"
4045    exit 1
4046  fi
4047  # Catch layout names including a slash which will otherwise
4048  # confuse the heck out of the sed script.
4049  case $LAYOUT in
4050  */*)
4051    echo "** Error: $LAYOUT is not a valid layout name"
4052    exit 1 ;;
4053  esac
4054  pldconf=./config.pld
4055
4056  sed -e "1s/[ 	]*<[lL]ayout[ 	]*$LAYOUT[ 	]*>[ 	]*//;1t" \
4057      -e "1,/[ 	]*<[lL]ayout[ 	]*$LAYOUT[ 	]*>[ 	]*/d" \
4058      -e '/[ 	]*<\/Layout>[ 	]*/,$d' \
4059      -e "s/^[ 	]*//g" \
4060      -e "s/:[ 	]*/=\'/g" \
4061      -e "s/[ 	]*$/'/g" \
4062      $srcdir/config.layout > $pldconf
4063  layout_name=$LAYOUT
4064  if test ! -s $pldconf; then
4065    echo "** Error: unable to find layout $layout_name"
4066    exit 1
4067  fi
4068  . $pldconf
4069  rm $pldconf
4070  for var in prefix exec_prefix bindir sbindir libexecdir mandir \
4071             sysconfdir datadir includedir localstatedir runtimedir \
4072             logfiledir libdir installbuilddir libsuffix plugindir logdir vardir; do
4073    eval "val=\"\$$var\""
4074    case $val in
4075      *+)
4076        val=`echo $val | sed -e 's;\+$;;'`
4077        eval "$var=\"\$val\""
4078        autosuffix=yes
4079        ;;
4080      *)
4081        autosuffix=no
4082        ;;
4083    esac
4084    val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
4085    val=`echo $val | sed -e 's:[\$]\([a-z_]*\):$\1:g'`
4086    if test "$autosuffix" = "yes"; then
4087      if echo $val | grep apache >/dev/null; then
4088        addtarget=no
4089      else
4090        addtarget=yes
4091      fi
4092      if test "$addtarget" = "yes"; then
4093        val="$val/apache2"
4094      fi
4095    fi
4096    eval "$var='$val'"
4097  done
4098
4099
4100
4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5
4102$as_echo_n "checking for chosen layout... " >&6; }
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $layout_name" >&5
4104$as_echo "$layout_name" >&6; }
4105
4106
4107
4108
4109
4110
4111ac_prev=
4112# Retrieve the command-line arguments.  The eval is needed because
4113# the arguments are quoted to preserve accuracy.
4114eval "set x $ac_configure_args"
4115shift
4116for ac_option
4117do
4118  # If the previous option needs an argument, assign it.
4119  if test -n "$ac_prev"; then
4120    eval "$ac_prev=\$ac_option"
4121    ac_prev=
4122    continue
4123  fi
4124
4125  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
4126
4127  case $ac_option in
4128
4129  -bindir | --bindir | --bindi | --bind | --bin | --bi)
4130    ac_prev=bindir ;;
4131  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
4132    bindir="$ac_optarg" ;;
4133
4134  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
4135    ac_prev=datadir ;;
4136  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
4137  | --da=*)
4138    datadir="$ac_optarg" ;;
4139
4140  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
4141  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
4142  | --exec | --exe | --ex)
4143    ac_prev=exec_prefix ;;
4144  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
4145  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
4146  | --exec=* | --exe=* | --ex=*)
4147    exec_prefix="$ac_optarg" ;;
4148
4149  -includedir | --includedir | --includedi | --included | --include \
4150  | --includ | --inclu | --incl | --inc)
4151    ac_prev=includedir ;;
4152  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
4153  | --includ=* | --inclu=* | --incl=* | --inc=*)
4154    includedir="$ac_optarg" ;;
4155
4156  -infodir | --infodir | --infodi | --infod | --info | --inf)
4157    ac_prev=infodir ;;
4158  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4159    infodir="$ac_optarg" ;;
4160
4161  -libdir | --libdir | --libdi | --libd)
4162    ac_prev=libdir ;;
4163  -libdir=* | --libdir=* | --libdi=* | --libd=*)
4164    libdir="$ac_optarg" ;;
4165
4166  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
4167  | --libexe | --libex | --libe)
4168    ac_prev=libexecdir ;;
4169  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
4170  | --libexe=* | --libex=* | --libe=*)
4171    libexecdir="$ac_optarg" ;;
4172
4173  -localstatedir | --localstatedir | --localstatedi | --localstated \
4174  | --localstate | --localstat | --localsta | --localst \
4175  | --locals | --local | --loca | --loc | --lo)
4176    ac_prev=localstatedir ;;
4177  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4178  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
4179  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
4180    localstatedir="$ac_optarg" ;;
4181
4182  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4183    ac_prev=mandir ;;
4184  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4185    mandir="$ac_optarg" ;;
4186
4187  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4188    ac_prev=prefix ;;
4189  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4190    prefix="$ac_optarg" ;;
4191
4192  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
4193    ac_prev=sbindir ;;
4194  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
4195  | --sbi=* | --sb=*)
4196    sbindir="$ac_optarg" ;;
4197
4198  -sharedstatedir | --sharedstatedir | --sharedstatedi \
4199  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
4200  | --sharedst | --shareds | --shared | --share | --shar \
4201  | --sha | --sh)
4202    ac_prev=sharedstatedir ;;
4203  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
4204  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
4205  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
4206  | --sha=* | --sh=*)
4207    sharedstatedir="$ac_optarg" ;;
4208
4209  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4210  | --syscon | --sysco | --sysc | --sys | --sy)
4211    ac_prev=sysconfdir ;;
4212  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4213  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4214    sysconfdir="$ac_optarg" ;;
4215
4216  esac
4217done
4218
4219# Be sure to have absolute paths.
4220for ac_var in exec_prefix prefix
4221do
4222  eval ac_val=$`echo $ac_var`
4223  case $ac_val in
4224    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
4225    *)  as_fn_error $? "expected an absolute path for --$ac_var: $ac_val" "$LINENO" 5;;
4226  esac
4227done
4228
4229
4230
4231
4232  rm -f config.nice
4233  cat >config.nice<<EOF
4234#! /bin/sh
4235#
4236# Created by configure
4237
4238EOF
4239  if test -n "$CC"; then
4240    echo "CC=\"$CC\"; export CC" >> config.nice
4241  fi
4242  if test -n "$CFLAGS"; then
4243    echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice
4244  fi
4245  if test -n "$CPPFLAGS"; then
4246    echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice
4247  fi
4248  if test -n "$LDFLAGS"; then
4249    echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice
4250  fi
4251  if test -n "$LTFLAGS"; then
4252    echo "LTFLAGS=\"$LTFLAGS\"; export LTFLAGS" >> config.nice
4253  fi
4254  if test -n "$LIBS"; then
4255    echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice
4256  fi
4257  if test -n "$INCLUDES"; then
4258    echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice
4259  fi
4260  if test -n "$NOTEST_CFLAGS"; then
4261    echo "NOTEST_CFLAGS=\"$NOTEST_CFLAGS\"; export NOTEST_CFLAGS" >> config.nice
4262  fi
4263  if test -n "$NOTEST_CPPFLAGS"; then
4264    echo "NOTEST_CPPFLAGS=\"$NOTEST_CPPFLAGS\"; export NOTEST_CPPFLAGS" >> config.nice
4265  fi
4266  if test -n "$NOTEST_LDFLAGS"; then
4267    echo "NOTEST_LDFLAGS=\"$NOTEST_LDFLAGS\"; export NOTEST_LDFLAGS" >> config.nice
4268  fi
4269  if test -n "$NOTEST_LIBS"; then
4270    echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice
4271  fi
4272
4273  # Retrieve command-line arguments.
4274  eval "set x $0 $ac_configure_args"
4275  shift
4276
4277  for arg
4278  do
4279
4280ap_last=
4281ap_cur="$arg"
4282while test "x${ap_cur}" != "x${ap_last}";
4283do
4284  ap_last="${ap_cur}"
4285  ap_cur=`eval "echo ${ap_cur}"`
4286done
4287arg="${ap_cur}"
4288
4289    echo "\"$arg\" \\" >> config.nice
4290  done
4291  echo '"$@"' >> config.nice
4292  chmod +x config.nice
4293
4294
4295am__api_version='1.15'
4296
4297# Find a good install program.  We prefer a C program (faster),
4298# so one script is as good as another.  But avoid the broken or
4299# incompatible versions:
4300# SysV /etc/install, /usr/sbin/install
4301# SunOS /usr/etc/install
4302# IRIX /sbin/install
4303# AIX /bin/install
4304# AmigaOS /C/install, which installs bootblocks on floppy discs
4305# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4306# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4307# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4308# OS/2's system install, which has a completely different semantic
4309# ./install, which can be erroneously created by make from ./install.sh.
4310# Reject install programs that cannot install multiple files.
4311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4312$as_echo_n "checking for a BSD-compatible install... " >&6; }
4313if test -z "$INSTALL"; then
4314if ${ac_cv_path_install+:} false; then :
4315  $as_echo_n "(cached) " >&6
4316else
4317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318for as_dir in $PATH
4319do
4320  IFS=$as_save_IFS
4321  test -z "$as_dir" && as_dir=.
4322    # Account for people who put trailing slashes in PATH elements.
4323case $as_dir/ in #((
4324  ./ | .// | /[cC]/* | \
4325  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4326  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4327  /usr/ucb/* ) ;;
4328  *)
4329    # OSF1 and SCO ODT 3.0 have their own names for install.
4330    # Don't use installbsd from OSF since it installs stuff as root
4331    # by default.
4332    for ac_prog in ginstall scoinst install; do
4333      for ac_exec_ext in '' $ac_executable_extensions; do
4334	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4335	  if test $ac_prog = install &&
4336	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4337	    # AIX install.  It has an incompatible calling convention.
4338	    :
4339	  elif test $ac_prog = install &&
4340	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4341	    # program-specific install script used by HP pwplus--don't use.
4342	    :
4343	  else
4344	    rm -rf conftest.one conftest.two conftest.dir
4345	    echo one > conftest.one
4346	    echo two > conftest.two
4347	    mkdir conftest.dir
4348	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4349	      test -s conftest.one && test -s conftest.two &&
4350	      test -s conftest.dir/conftest.one &&
4351	      test -s conftest.dir/conftest.two
4352	    then
4353	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4354	      break 3
4355	    fi
4356	  fi
4357	fi
4358      done
4359    done
4360    ;;
4361esac
4362
4363  done
4364IFS=$as_save_IFS
4365
4366rm -rf conftest.one conftest.two conftest.dir
4367
4368fi
4369  if test "${ac_cv_path_install+set}" = set; then
4370    INSTALL=$ac_cv_path_install
4371  else
4372    # As a last resort, use the slow shell script.  Don't cache a
4373    # value for INSTALL within a source directory, because that will
4374    # break other packages using the cache if that directory is
4375    # removed, or if the value is a relative name.
4376    INSTALL=$ac_install_sh
4377  fi
4378fi
4379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4380$as_echo "$INSTALL" >&6; }
4381
4382# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4383# It thinks the first close brace ends the variable substitution.
4384test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4385
4386test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4387
4388test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4389
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4391$as_echo_n "checking whether build environment is sane... " >&6; }
4392# Reject unsafe characters in $srcdir or the absolute working directory
4393# name.  Accept space and tab only in the latter.
4394am_lf='
4395'
4396case `pwd` in
4397  *[\\\"\#\$\&\'\`$am_lf]*)
4398    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4399esac
4400case $srcdir in
4401  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
4402    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4403esac
4404
4405# Do 'set' in a subshell so we don't clobber the current shell's
4406# arguments.  Must try -L first in case configure is actually a
4407# symlink; some systems play weird games with the mod time of symlinks
4408# (eg FreeBSD returns the mod time of the symlink's containing
4409# directory).
4410if (
4411   am_has_slept=no
4412   for am_try in 1 2; do
4413     echo "timestamp, slept: $am_has_slept" > conftest.file
4414     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4415     if test "$*" = "X"; then
4416	# -L didn't work.
4417	set X `ls -t "$srcdir/configure" conftest.file`
4418     fi
4419     if test "$*" != "X $srcdir/configure conftest.file" \
4420	&& test "$*" != "X conftest.file $srcdir/configure"; then
4421
4422	# If neither matched, then we have a broken ls.  This can happen
4423	# if, for instance, CONFIG_SHELL is bash and it inherits a
4424	# broken ls alias from the environment.  This has actually
4425	# happened.  Such a system could not be considered "sane".
4426	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4427  alias in your environment" "$LINENO" 5
4428     fi
4429     if test "$2" = conftest.file || test $am_try -eq 2; then
4430       break
4431     fi
4432     # Just in case.
4433     sleep 1
4434     am_has_slept=yes
4435   done
4436   test "$2" = conftest.file
4437   )
4438then
4439   # Ok.
4440   :
4441else
4442   as_fn_error $? "newly created file is older than distributed files!
4443Check your system clock" "$LINENO" 5
4444fi
4445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4446$as_echo "yes" >&6; }
4447# If we didn't sleep, we still need to ensure time stamps of config.status and
4448# generated files are strictly newer.
4449am_sleep_pid=
4450if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4451  ( sleep 1 ) &
4452  am_sleep_pid=$!
4453fi
4454
4455rm -f conftest.file
4456
4457test "$program_prefix" != NONE &&
4458  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4459# Use a double $ so make ignores it.
4460test "$program_suffix" != NONE &&
4461  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4462# Double any \ or $.
4463# By default was `s,x,x', remove it if useless.
4464ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4465program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4466
4467# Expand $ac_aux_dir to an absolute path.
4468am_aux_dir=`cd "$ac_aux_dir" && pwd`
4469
4470if test x"${MISSING+set}" != xset; then
4471  case $am_aux_dir in
4472  *\ * | *\	*)
4473    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4474  *)
4475    MISSING="\${SHELL} $am_aux_dir/missing" ;;
4476  esac
4477fi
4478# Use eval to expand $SHELL
4479if eval "$MISSING --is-lightweight"; then
4480  am_missing_run="$MISSING "
4481else
4482  am_missing_run=
4483  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4484$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4485fi
4486
4487if test x"${install_sh+set}" != xset; then
4488  case $am_aux_dir in
4489  *\ * | *\	*)
4490    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4491  *)
4492    install_sh="\${SHELL} $am_aux_dir/install-sh"
4493  esac
4494fi
4495
4496# Installed binaries are usually stripped using 'strip' when the user
4497# run "make install-strip".  However 'strip' might not be the right
4498# tool to use in cross-compilation environments, therefore Automake
4499# will honor the 'STRIP' environment variable to overrule this program.
4500if test "$cross_compiling" != no; then
4501  if test -n "$ac_tool_prefix"; then
4502  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4503set dummy ${ac_tool_prefix}strip; ac_word=$2
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505$as_echo_n "checking for $ac_word... " >&6; }
4506if ${ac_cv_prog_STRIP+:} false; then :
4507  $as_echo_n "(cached) " >&6
4508else
4509  if test -n "$STRIP"; then
4510  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4511else
4512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513for as_dir in $PATH
4514do
4515  IFS=$as_save_IFS
4516  test -z "$as_dir" && as_dir=.
4517    for ac_exec_ext in '' $ac_executable_extensions; do
4518  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4519    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521    break 2
4522  fi
4523done
4524  done
4525IFS=$as_save_IFS
4526
4527fi
4528fi
4529STRIP=$ac_cv_prog_STRIP
4530if test -n "$STRIP"; then
4531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4532$as_echo "$STRIP" >&6; }
4533else
4534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535$as_echo "no" >&6; }
4536fi
4537
4538
4539fi
4540if test -z "$ac_cv_prog_STRIP"; then
4541  ac_ct_STRIP=$STRIP
4542  # Extract the first word of "strip", so it can be a program name with args.
4543set dummy strip; ac_word=$2
4544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545$as_echo_n "checking for $ac_word... " >&6; }
4546if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4547  $as_echo_n "(cached) " >&6
4548else
4549  if test -n "$ac_ct_STRIP"; then
4550  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4551else
4552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553for as_dir in $PATH
4554do
4555  IFS=$as_save_IFS
4556  test -z "$as_dir" && as_dir=.
4557    for ac_exec_ext in '' $ac_executable_extensions; do
4558  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559    ac_cv_prog_ac_ct_STRIP="strip"
4560    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561    break 2
4562  fi
4563done
4564  done
4565IFS=$as_save_IFS
4566
4567fi
4568fi
4569ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4570if test -n "$ac_ct_STRIP"; then
4571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4572$as_echo "$ac_ct_STRIP" >&6; }
4573else
4574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575$as_echo "no" >&6; }
4576fi
4577
4578  if test "x$ac_ct_STRIP" = x; then
4579    STRIP=":"
4580  else
4581    case $cross_compiling:$ac_tool_warned in
4582yes:)
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585ac_tool_warned=yes ;;
4586esac
4587    STRIP=$ac_ct_STRIP
4588  fi
4589else
4590  STRIP="$ac_cv_prog_STRIP"
4591fi
4592
4593fi
4594INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4595
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4597$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4598if test -z "$MKDIR_P"; then
4599  if ${ac_cv_path_mkdir+:} false; then :
4600  $as_echo_n "(cached) " >&6
4601else
4602  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4604do
4605  IFS=$as_save_IFS
4606  test -z "$as_dir" && as_dir=.
4607    for ac_prog in mkdir gmkdir; do
4608	 for ac_exec_ext in '' $ac_executable_extensions; do
4609	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4610	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4611	     'mkdir (GNU coreutils) '* | \
4612	     'mkdir (coreutils) '* | \
4613	     'mkdir (fileutils) '4.1*)
4614	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4615	       break 3;;
4616	   esac
4617	 done
4618       done
4619  done
4620IFS=$as_save_IFS
4621
4622fi
4623
4624  test -d ./--version && rmdir ./--version
4625  if test "${ac_cv_path_mkdir+set}" = set; then
4626    MKDIR_P="$ac_cv_path_mkdir -p"
4627  else
4628    # As a last resort, use the slow shell script.  Don't cache a
4629    # value for MKDIR_P within a source directory, because that will
4630    # break other packages using the cache if that directory is
4631    # removed, or if the value is a relative name.
4632    MKDIR_P="$ac_install_sh -d"
4633  fi
4634fi
4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4636$as_echo "$MKDIR_P" >&6; }
4637
4638for ac_prog in gawk mawk nawk awk
4639do
4640  # Extract the first word of "$ac_prog", so it can be a program name with args.
4641set dummy $ac_prog; ac_word=$2
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643$as_echo_n "checking for $ac_word... " >&6; }
4644if ${ac_cv_prog_AWK+:} false; then :
4645  $as_echo_n "(cached) " >&6
4646else
4647  if test -n "$AWK"; then
4648  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4649else
4650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651for as_dir in $PATH
4652do
4653  IFS=$as_save_IFS
4654  test -z "$as_dir" && as_dir=.
4655    for ac_exec_ext in '' $ac_executable_extensions; do
4656  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657    ac_cv_prog_AWK="$ac_prog"
4658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659    break 2
4660  fi
4661done
4662  done
4663IFS=$as_save_IFS
4664
4665fi
4666fi
4667AWK=$ac_cv_prog_AWK
4668if test -n "$AWK"; then
4669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4670$as_echo "$AWK" >&6; }
4671else
4672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673$as_echo "no" >&6; }
4674fi
4675
4676
4677  test -n "$AWK" && break
4678done
4679
4680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4681$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4682set x ${MAKE-make}
4683ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4684if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4685  $as_echo_n "(cached) " >&6
4686else
4687  cat >conftest.make <<\_ACEOF
4688SHELL = /bin/sh
4689all:
4690	@echo '@@@%%%=$(MAKE)=@@@%%%'
4691_ACEOF
4692# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4693case `${MAKE-make} -f conftest.make 2>/dev/null` in
4694  *@@@%%%=?*=@@@%%%*)
4695    eval ac_cv_prog_make_${ac_make}_set=yes;;
4696  *)
4697    eval ac_cv_prog_make_${ac_make}_set=no;;
4698esac
4699rm -f conftest.make
4700fi
4701if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4703$as_echo "yes" >&6; }
4704  SET_MAKE=
4705else
4706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707$as_echo "no" >&6; }
4708  SET_MAKE="MAKE=${MAKE-make}"
4709fi
4710
4711rm -rf .tst 2>/dev/null
4712mkdir .tst 2>/dev/null
4713if test -d .tst; then
4714  am__leading_dot=.
4715else
4716  am__leading_dot=_
4717fi
4718rmdir .tst 2>/dev/null
4719
4720# Check whether --enable-silent-rules was given.
4721if test "${enable_silent_rules+set}" = set; then :
4722  enableval=$enable_silent_rules;
4723fi
4724
4725case $enable_silent_rules in # (((
4726  yes) AM_DEFAULT_VERBOSITY=0;;
4727   no) AM_DEFAULT_VERBOSITY=1;;
4728    *) AM_DEFAULT_VERBOSITY=1;;
4729esac
4730am_make=${MAKE-make}
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4732$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4733if ${am_cv_make_support_nested_variables+:} false; then :
4734  $as_echo_n "(cached) " >&6
4735else
4736  if $as_echo 'TRUE=$(BAR$(V))
4737BAR0=false
4738BAR1=true
4739V=1
4740am__doit:
4741	@$(TRUE)
4742.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4743  am_cv_make_support_nested_variables=yes
4744else
4745  am_cv_make_support_nested_variables=no
4746fi
4747fi
4748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4749$as_echo "$am_cv_make_support_nested_variables" >&6; }
4750if test $am_cv_make_support_nested_variables = yes; then
4751    AM_V='$(V)'
4752  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4753else
4754  AM_V=$AM_DEFAULT_VERBOSITY
4755  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4756fi
4757AM_BACKSLASH='\'
4758
4759if test "`cd $srcdir && pwd`" != "`pwd`"; then
4760  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4761  # is not polluted with repeated "-I."
4762  am__isrc=' -I$(srcdir)'
4763  # test to see if srcdir already configured
4764  if test -f $srcdir/config.status; then
4765    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4766  fi
4767fi
4768
4769# test whether we have cygpath
4770if test -z "$CYGPATH_W"; then
4771  if (cygpath --version) >/dev/null 2>/dev/null; then
4772    CYGPATH_W='cygpath -w'
4773  else
4774    CYGPATH_W=echo
4775  fi
4776fi
4777
4778
4779# Define the identity of the package.
4780 PACKAGE='unimrcp'
4781 VERSION='1.2.0'
4782
4783
4784# Some tools Automake needs.
4785
4786ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4787
4788
4789AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4790
4791
4792AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4793
4794
4795AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4796
4797
4798MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4799
4800# For better backward compatibility.  To be removed once Automake 1.9.x
4801# dies out for good.  For more background, see:
4802# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4803# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4804mkdir_p='$(MKDIR_P)'
4805
4806# We need awk for the "check" target (and possibly the TAP driver).  The
4807# system "awk" is bad on some platforms.
4808# Always define AMTAR for backward compatibility.  Yes, it's still used
4809# in the wild :-(  We should find a proper way to deprecate it ...
4810AMTAR='$${TAR-tar}'
4811
4812
4813# We'll loop over all known methods to create a tar archive until one works.
4814_am_tools='gnutar  pax cpio none'
4815
4816am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4817
4818
4819
4820
4821
4822
4823# POSIX will say in a future version that running "rm -f" with no argument
4824# is OK; and we want to be able to make that assumption in our Makefile
4825# recipes.  So use an aggressive probe to check that the usage we want is
4826# actually supported "in the wild" to an acceptable degree.
4827# See automake bug#10828.
4828# To make any issue more visible, cause the running configure to be aborted
4829# by default if the 'rm' program in use doesn't match our expectations; the
4830# user can still override this though.
4831if rm -f && rm -fr && rm -rf; then : OK; else
4832  cat >&2 <<'END'
4833Oops!
4834
4835Your 'rm' program seems unable to run without file operands specified
4836on the command line, even when the '-f' option is present.  This is contrary
4837to the behaviour of most rm programs out there, and not conforming with
4838the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4839
4840Please tell bug-automake@gnu.org about your system, including the value
4841of your $PATH and any error possibly output before this message.  This
4842can help us improve future automake versions.
4843
4844END
4845  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4846    echo 'Configuration will proceed anyway, since you have set the' >&2
4847    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4848    echo >&2
4849  else
4850    cat >&2 <<'END'
4851Aborting the configuration process, to ensure you take notice of the issue.
4852
4853You can download and install GNU coreutils to get an 'rm' implementation
4854that behaves properly: <http://www.gnu.org/software/coreutils/>.
4855
4856If you want to complete the configuration process using your problematic
4857'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4858to "yes", and re-run configure.
4859
4860END
4861    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4862  fi
4863fi
4864
4865
4866# Check whether --enable-silent-rules was given.
4867if test "${enable_silent_rules+set}" = set; then :
4868  enableval=$enable_silent_rules;
4869fi
4870
4871case $enable_silent_rules in # (((
4872  yes) AM_DEFAULT_VERBOSITY=0;;
4873   no) AM_DEFAULT_VERBOSITY=1;;
4874    *) AM_DEFAULT_VERBOSITY=0;;
4875esac
4876am_make=${MAKE-make}
4877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4878$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4879if ${am_cv_make_support_nested_variables+:} false; then :
4880  $as_echo_n "(cached) " >&6
4881else
4882  if $as_echo 'TRUE=$(BAR$(V))
4883BAR0=false
4884BAR1=true
4885V=1
4886am__doit:
4887	@$(TRUE)
4888.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4889  am_cv_make_support_nested_variables=yes
4890else
4891  am_cv_make_support_nested_variables=no
4892fi
4893fi
4894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4895$as_echo "$am_cv_make_support_nested_variables" >&6; }
4896if test $am_cv_make_support_nested_variables = yes; then
4897    AM_V='$(V)'
4898  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4899else
4900  AM_V=$AM_DEFAULT_VERBOSITY
4901  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4902fi
4903AM_BACKSLASH='\'
4904
4905
4906ac_ext=c
4907ac_cpp='$CPP $CPPFLAGS'
4908ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911
4912
4913ac_ext=c
4914ac_cpp='$CPP $CPPFLAGS'
4915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918if test -n "$ac_tool_prefix"; then
4919  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4920set dummy ${ac_tool_prefix}gcc; ac_word=$2
4921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922$as_echo_n "checking for $ac_word... " >&6; }
4923if ${ac_cv_prog_CC+:} false; then :
4924  $as_echo_n "(cached) " >&6
4925else
4926  if test -n "$CC"; then
4927  ac_cv_prog_CC="$CC" # Let the user override the test.
4928else
4929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930for as_dir in $PATH
4931do
4932  IFS=$as_save_IFS
4933  test -z "$as_dir" && as_dir=.
4934    for ac_exec_ext in '' $ac_executable_extensions; do
4935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938    break 2
4939  fi
4940done
4941  done
4942IFS=$as_save_IFS
4943
4944fi
4945fi
4946CC=$ac_cv_prog_CC
4947if test -n "$CC"; then
4948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4949$as_echo "$CC" >&6; }
4950else
4951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952$as_echo "no" >&6; }
4953fi
4954
4955
4956fi
4957if test -z "$ac_cv_prog_CC"; then
4958  ac_ct_CC=$CC
4959  # Extract the first word of "gcc", so it can be a program name with args.
4960set dummy gcc; ac_word=$2
4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962$as_echo_n "checking for $ac_word... " >&6; }
4963if ${ac_cv_prog_ac_ct_CC+:} false; then :
4964  $as_echo_n "(cached) " >&6
4965else
4966  if test -n "$ac_ct_CC"; then
4967  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4968else
4969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970for as_dir in $PATH
4971do
4972  IFS=$as_save_IFS
4973  test -z "$as_dir" && as_dir=.
4974    for ac_exec_ext in '' $ac_executable_extensions; do
4975  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976    ac_cv_prog_ac_ct_CC="gcc"
4977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978    break 2
4979  fi
4980done
4981  done
4982IFS=$as_save_IFS
4983
4984fi
4985fi
4986ac_ct_CC=$ac_cv_prog_ac_ct_CC
4987if test -n "$ac_ct_CC"; then
4988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4989$as_echo "$ac_ct_CC" >&6; }
4990else
4991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992$as_echo "no" >&6; }
4993fi
4994
4995  if test "x$ac_ct_CC" = x; then
4996    CC=""
4997  else
4998    case $cross_compiling:$ac_tool_warned in
4999yes:)
5000{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5001$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5002ac_tool_warned=yes ;;
5003esac
5004    CC=$ac_ct_CC
5005  fi
5006else
5007  CC="$ac_cv_prog_CC"
5008fi
5009
5010if test -z "$CC"; then
5011          if test -n "$ac_tool_prefix"; then
5012    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5013set dummy ${ac_tool_prefix}cc; ac_word=$2
5014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015$as_echo_n "checking for $ac_word... " >&6; }
5016if ${ac_cv_prog_CC+:} false; then :
5017  $as_echo_n "(cached) " >&6
5018else
5019  if test -n "$CC"; then
5020  ac_cv_prog_CC="$CC" # Let the user override the test.
5021else
5022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023for as_dir in $PATH
5024do
5025  IFS=$as_save_IFS
5026  test -z "$as_dir" && as_dir=.
5027    for ac_exec_ext in '' $ac_executable_extensions; do
5028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029    ac_cv_prog_CC="${ac_tool_prefix}cc"
5030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031    break 2
5032  fi
5033done
5034  done
5035IFS=$as_save_IFS
5036
5037fi
5038fi
5039CC=$ac_cv_prog_CC
5040if test -n "$CC"; then
5041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5042$as_echo "$CC" >&6; }
5043else
5044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045$as_echo "no" >&6; }
5046fi
5047
5048
5049  fi
5050fi
5051if test -z "$CC"; then
5052  # Extract the first word of "cc", so it can be a program name with args.
5053set dummy cc; ac_word=$2
5054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055$as_echo_n "checking for $ac_word... " >&6; }
5056if ${ac_cv_prog_CC+:} false; then :
5057  $as_echo_n "(cached) " >&6
5058else
5059  if test -n "$CC"; then
5060  ac_cv_prog_CC="$CC" # Let the user override the test.
5061else
5062  ac_prog_rejected=no
5063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064for as_dir in $PATH
5065do
5066  IFS=$as_save_IFS
5067  test -z "$as_dir" && as_dir=.
5068    for ac_exec_ext in '' $ac_executable_extensions; do
5069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5070    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5071       ac_prog_rejected=yes
5072       continue
5073     fi
5074    ac_cv_prog_CC="cc"
5075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076    break 2
5077  fi
5078done
5079  done
5080IFS=$as_save_IFS
5081
5082if test $ac_prog_rejected = yes; then
5083  # We found a bogon in the path, so make sure we never use it.
5084  set dummy $ac_cv_prog_CC
5085  shift
5086  if test $# != 0; then
5087    # We chose a different compiler from the bogus one.
5088    # However, it has the same basename, so the bogon will be chosen
5089    # first if we set CC to just the basename; use the full file name.
5090    shift
5091    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5092  fi
5093fi
5094fi
5095fi
5096CC=$ac_cv_prog_CC
5097if test -n "$CC"; then
5098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5099$as_echo "$CC" >&6; }
5100else
5101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102$as_echo "no" >&6; }
5103fi
5104
5105
5106fi
5107if test -z "$CC"; then
5108  if test -n "$ac_tool_prefix"; then
5109  for ac_prog in cl.exe
5110  do
5111    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5112set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114$as_echo_n "checking for $ac_word... " >&6; }
5115if ${ac_cv_prog_CC+:} false; then :
5116  $as_echo_n "(cached) " >&6
5117else
5118  if test -n "$CC"; then
5119  ac_cv_prog_CC="$CC" # Let the user override the test.
5120else
5121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122for as_dir in $PATH
5123do
5124  IFS=$as_save_IFS
5125  test -z "$as_dir" && as_dir=.
5126    for ac_exec_ext in '' $ac_executable_extensions; do
5127  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5129    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130    break 2
5131  fi
5132done
5133  done
5134IFS=$as_save_IFS
5135
5136fi
5137fi
5138CC=$ac_cv_prog_CC
5139if test -n "$CC"; then
5140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5141$as_echo "$CC" >&6; }
5142else
5143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144$as_echo "no" >&6; }
5145fi
5146
5147
5148    test -n "$CC" && break
5149  done
5150fi
5151if test -z "$CC"; then
5152  ac_ct_CC=$CC
5153  for ac_prog in cl.exe
5154do
5155  # Extract the first word of "$ac_prog", so it can be a program name with args.
5156set dummy $ac_prog; ac_word=$2
5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158$as_echo_n "checking for $ac_word... " >&6; }
5159if ${ac_cv_prog_ac_ct_CC+:} false; then :
5160  $as_echo_n "(cached) " >&6
5161else
5162  if test -n "$ac_ct_CC"; then
5163  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5164else
5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166for as_dir in $PATH
5167do
5168  IFS=$as_save_IFS
5169  test -z "$as_dir" && as_dir=.
5170    for ac_exec_ext in '' $ac_executable_extensions; do
5171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172    ac_cv_prog_ac_ct_CC="$ac_prog"
5173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174    break 2
5175  fi
5176done
5177  done
5178IFS=$as_save_IFS
5179
5180fi
5181fi
5182ac_ct_CC=$ac_cv_prog_ac_ct_CC
5183if test -n "$ac_ct_CC"; then
5184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5185$as_echo "$ac_ct_CC" >&6; }
5186else
5187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188$as_echo "no" >&6; }
5189fi
5190
5191
5192  test -n "$ac_ct_CC" && break
5193done
5194
5195  if test "x$ac_ct_CC" = x; then
5196    CC=""
5197  else
5198    case $cross_compiling:$ac_tool_warned in
5199yes:)
5200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202ac_tool_warned=yes ;;
5203esac
5204    CC=$ac_ct_CC
5205  fi
5206fi
5207
5208fi
5209
5210
5211test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5213as_fn_error $? "no acceptable C compiler found in \$PATH
5214See \`config.log' for more details" "$LINENO" 5; }
5215
5216# Provide some information about the compiler.
5217$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5218set X $ac_compile
5219ac_compiler=$2
5220for ac_option in --version -v -V -qversion; do
5221  { { ac_try="$ac_compiler $ac_option >&5"
5222case "(($ac_try" in
5223  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224  *) ac_try_echo=$ac_try;;
5225esac
5226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227$as_echo "$ac_try_echo"; } >&5
5228  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5229  ac_status=$?
5230  if test -s conftest.err; then
5231    sed '10a\
5232... rest of stderr output deleted ...
5233         10q' conftest.err >conftest.er1
5234    cat conftest.er1 >&5
5235  fi
5236  rm -f conftest.er1 conftest.err
5237  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5238  test $ac_status = 0; }
5239done
5240
5241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5242/* end confdefs.h.  */
5243
5244int
5245main ()
5246{
5247
5248  ;
5249  return 0;
5250}
5251_ACEOF
5252ac_clean_files_save=$ac_clean_files
5253ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5254# Try to create an executable without -o first, disregard a.out.
5255# It will help us diagnose broken compilers, and finding out an intuition
5256# of exeext.
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5258$as_echo_n "checking whether the C compiler works... " >&6; }
5259ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5260
5261# The possible output files:
5262ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5263
5264ac_rmfiles=
5265for ac_file in $ac_files
5266do
5267  case $ac_file in
5268    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5269    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5270  esac
5271done
5272rm -f $ac_rmfiles
5273
5274if { { ac_try="$ac_link_default"
5275case "(($ac_try" in
5276  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277  *) ac_try_echo=$ac_try;;
5278esac
5279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5280$as_echo "$ac_try_echo"; } >&5
5281  (eval "$ac_link_default") 2>&5
5282  ac_status=$?
5283  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284  test $ac_status = 0; }; then :
5285  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5286# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5287# in a Makefile.  We should not override ac_cv_exeext if it was cached,
5288# so that the user can short-circuit this test for compilers unknown to
5289# Autoconf.
5290for ac_file in $ac_files ''
5291do
5292  test -f "$ac_file" || continue
5293  case $ac_file in
5294    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5295	;;
5296    [ab].out )
5297	# We found the default executable, but exeext='' is most
5298	# certainly right.
5299	break;;
5300    *.* )
5301	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5302	then :; else
5303	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5304	fi
5305	# We set ac_cv_exeext here because the later test for it is not
5306	# safe: cross compilers may not add the suffix if given an `-o'
5307	# argument, so we may need to know it at that point already.
5308	# Even if this section looks crufty: it has the advantage of
5309	# actually working.
5310	break;;
5311    * )
5312	break;;
5313  esac
5314done
5315test "$ac_cv_exeext" = no && ac_cv_exeext=
5316
5317else
5318  ac_file=''
5319fi
5320if test -z "$ac_file"; then :
5321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322$as_echo "no" >&6; }
5323$as_echo "$as_me: failed program was:" >&5
5324sed 's/^/| /' conftest.$ac_ext >&5
5325
5326{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5328as_fn_error 77 "C compiler cannot create executables
5329See \`config.log' for more details" "$LINENO" 5; }
5330else
5331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5332$as_echo "yes" >&6; }
5333fi
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5335$as_echo_n "checking for C compiler default output file name... " >&6; }
5336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5337$as_echo "$ac_file" >&6; }
5338ac_exeext=$ac_cv_exeext
5339
5340rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5341ac_clean_files=$ac_clean_files_save
5342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5343$as_echo_n "checking for suffix of executables... " >&6; }
5344if { { ac_try="$ac_link"
5345case "(($ac_try" in
5346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347  *) ac_try_echo=$ac_try;;
5348esac
5349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5350$as_echo "$ac_try_echo"; } >&5
5351  (eval "$ac_link") 2>&5
5352  ac_status=$?
5353  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5354  test $ac_status = 0; }; then :
5355  # If both `conftest.exe' and `conftest' are `present' (well, observable)
5356# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5357# work properly (i.e., refer to `conftest.exe'), while it won't with
5358# `rm'.
5359for ac_file in conftest.exe conftest conftest.*; do
5360  test -f "$ac_file" || continue
5361  case $ac_file in
5362    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5363    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5364	  break;;
5365    * ) break;;
5366  esac
5367done
5368else
5369  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5371as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5372See \`config.log' for more details" "$LINENO" 5; }
5373fi
5374rm -f conftest conftest$ac_cv_exeext
5375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5376$as_echo "$ac_cv_exeext" >&6; }
5377
5378rm -f conftest.$ac_ext
5379EXEEXT=$ac_cv_exeext
5380ac_exeext=$EXEEXT
5381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382/* end confdefs.h.  */
5383#include <stdio.h>
5384int
5385main ()
5386{
5387FILE *f = fopen ("conftest.out", "w");
5388 return ferror (f) || fclose (f) != 0;
5389
5390  ;
5391  return 0;
5392}
5393_ACEOF
5394ac_clean_files="$ac_clean_files conftest.out"
5395# Check that the compiler produces executables we can run.  If not, either
5396# the compiler is broken, or we cross compile.
5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5398$as_echo_n "checking whether we are cross compiling... " >&6; }
5399if test "$cross_compiling" != yes; then
5400  { { ac_try="$ac_link"
5401case "(($ac_try" in
5402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5403  *) ac_try_echo=$ac_try;;
5404esac
5405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5406$as_echo "$ac_try_echo"; } >&5
5407  (eval "$ac_link") 2>&5
5408  ac_status=$?
5409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5410  test $ac_status = 0; }
5411  if { ac_try='./conftest$ac_cv_exeext'
5412  { { case "(($ac_try" in
5413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5414  *) ac_try_echo=$ac_try;;
5415esac
5416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5417$as_echo "$ac_try_echo"; } >&5
5418  (eval "$ac_try") 2>&5
5419  ac_status=$?
5420  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421  test $ac_status = 0; }; }; then
5422    cross_compiling=no
5423  else
5424    if test "$cross_compiling" = maybe; then
5425	cross_compiling=yes
5426    else
5427	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5429as_fn_error $? "cannot run C compiled programs.
5430If you meant to cross compile, use \`--host'.
5431See \`config.log' for more details" "$LINENO" 5; }
5432    fi
5433  fi
5434fi
5435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5436$as_echo "$cross_compiling" >&6; }
5437
5438rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5439ac_clean_files=$ac_clean_files_save
5440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5441$as_echo_n "checking for suffix of object files... " >&6; }
5442if ${ac_cv_objext+:} false; then :
5443  $as_echo_n "(cached) " >&6
5444else
5445  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446/* end confdefs.h.  */
5447
5448int
5449main ()
5450{
5451
5452  ;
5453  return 0;
5454}
5455_ACEOF
5456rm -f conftest.o conftest.obj
5457if { { ac_try="$ac_compile"
5458case "(($ac_try" in
5459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460  *) ac_try_echo=$ac_try;;
5461esac
5462eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5463$as_echo "$ac_try_echo"; } >&5
5464  (eval "$ac_compile") 2>&5
5465  ac_status=$?
5466  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5467  test $ac_status = 0; }; then :
5468  for ac_file in conftest.o conftest.obj conftest.*; do
5469  test -f "$ac_file" || continue;
5470  case $ac_file in
5471    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5472    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5473       break;;
5474  esac
5475done
5476else
5477  $as_echo "$as_me: failed program was:" >&5
5478sed 's/^/| /' conftest.$ac_ext >&5
5479
5480{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5481$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5482as_fn_error $? "cannot compute suffix of object files: cannot compile
5483See \`config.log' for more details" "$LINENO" 5; }
5484fi
5485rm -f conftest.$ac_cv_objext conftest.$ac_ext
5486fi
5487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5488$as_echo "$ac_cv_objext" >&6; }
5489OBJEXT=$ac_cv_objext
5490ac_objext=$OBJEXT
5491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5492$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5493if ${ac_cv_c_compiler_gnu+:} false; then :
5494  $as_echo_n "(cached) " >&6
5495else
5496  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5497/* end confdefs.h.  */
5498
5499int
5500main ()
5501{
5502#ifndef __GNUC__
5503       choke me
5504#endif
5505
5506  ;
5507  return 0;
5508}
5509_ACEOF
5510if ac_fn_c_try_compile "$LINENO"; then :
5511  ac_compiler_gnu=yes
5512else
5513  ac_compiler_gnu=no
5514fi
5515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516ac_cv_c_compiler_gnu=$ac_compiler_gnu
5517
5518fi
5519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5520$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5521if test $ac_compiler_gnu = yes; then
5522  GCC=yes
5523else
5524  GCC=
5525fi
5526ac_test_CFLAGS=${CFLAGS+set}
5527ac_save_CFLAGS=$CFLAGS
5528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5529$as_echo_n "checking whether $CC accepts -g... " >&6; }
5530if ${ac_cv_prog_cc_g+:} false; then :
5531  $as_echo_n "(cached) " >&6
5532else
5533  ac_save_c_werror_flag=$ac_c_werror_flag
5534   ac_c_werror_flag=yes
5535   ac_cv_prog_cc_g=no
5536   CFLAGS="-g"
5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538/* end confdefs.h.  */
5539
5540int
5541main ()
5542{
5543
5544  ;
5545  return 0;
5546}
5547_ACEOF
5548if ac_fn_c_try_compile "$LINENO"; then :
5549  ac_cv_prog_cc_g=yes
5550else
5551  CFLAGS=""
5552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5553/* end confdefs.h.  */
5554
5555int
5556main ()
5557{
5558
5559  ;
5560  return 0;
5561}
5562_ACEOF
5563if ac_fn_c_try_compile "$LINENO"; then :
5564
5565else
5566  ac_c_werror_flag=$ac_save_c_werror_flag
5567	 CFLAGS="-g"
5568	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569/* end confdefs.h.  */
5570
5571int
5572main ()
5573{
5574
5575  ;
5576  return 0;
5577}
5578_ACEOF
5579if ac_fn_c_try_compile "$LINENO"; then :
5580  ac_cv_prog_cc_g=yes
5581fi
5582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5583fi
5584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5585fi
5586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587   ac_c_werror_flag=$ac_save_c_werror_flag
5588fi
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5590$as_echo "$ac_cv_prog_cc_g" >&6; }
5591if test "$ac_test_CFLAGS" = set; then
5592  CFLAGS=$ac_save_CFLAGS
5593elif test $ac_cv_prog_cc_g = yes; then
5594  if test "$GCC" = yes; then
5595    CFLAGS="-g -O2"
5596  else
5597    CFLAGS="-g"
5598  fi
5599else
5600  if test "$GCC" = yes; then
5601    CFLAGS="-O2"
5602  else
5603    CFLAGS=
5604  fi
5605fi
5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5607$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5608if ${ac_cv_prog_cc_c89+:} false; then :
5609  $as_echo_n "(cached) " >&6
5610else
5611  ac_cv_prog_cc_c89=no
5612ac_save_CC=$CC
5613cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614/* end confdefs.h.  */
5615#include <stdarg.h>
5616#include <stdio.h>
5617struct stat;
5618/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5619struct buf { int x; };
5620FILE * (*rcsopen) (struct buf *, struct stat *, int);
5621static char *e (p, i)
5622     char **p;
5623     int i;
5624{
5625  return p[i];
5626}
5627static char *f (char * (*g) (char **, int), char **p, ...)
5628{
5629  char *s;
5630  va_list v;
5631  va_start (v,p);
5632  s = g (p, va_arg (v,int));
5633  va_end (v);
5634  return s;
5635}
5636
5637/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5638   function prototypes and stuff, but not '\xHH' hex character constants.
5639   These don't provoke an error unfortunately, instead are silently treated
5640   as 'x'.  The following induces an error, until -std is added to get
5641   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5642   array size at least.  It's necessary to write '\x00'==0 to get something
5643   that's true only with -std.  */
5644int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5645
5646/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5647   inside strings and character constants.  */
5648#define FOO(x) 'x'
5649int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5650
5651int test (int i, double x);
5652struct s1 {int (*f) (int a);};
5653struct s2 {int (*f) (double a);};
5654int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5655int argc;
5656char **argv;
5657int
5658main ()
5659{
5660return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5661  ;
5662  return 0;
5663}
5664_ACEOF
5665for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5666	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5667do
5668  CC="$ac_save_CC $ac_arg"
5669  if ac_fn_c_try_compile "$LINENO"; then :
5670  ac_cv_prog_cc_c89=$ac_arg
5671fi
5672rm -f core conftest.err conftest.$ac_objext
5673  test "x$ac_cv_prog_cc_c89" != "xno" && break
5674done
5675rm -f conftest.$ac_ext
5676CC=$ac_save_CC
5677
5678fi
5679# AC_CACHE_VAL
5680case "x$ac_cv_prog_cc_c89" in
5681  x)
5682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5683$as_echo "none needed" >&6; } ;;
5684  xno)
5685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5686$as_echo "unsupported" >&6; } ;;
5687  *)
5688    CC="$CC $ac_cv_prog_cc_c89"
5689    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5690$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5691esac
5692if test "x$ac_cv_prog_cc_c89" != xno; then :
5693
5694fi
5695
5696ac_ext=c
5697ac_cpp='$CPP $CPPFLAGS'
5698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700ac_compiler_gnu=$ac_cv_c_compiler_gnu
5701
5702ac_ext=c
5703ac_cpp='$CPP $CPPFLAGS'
5704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706ac_compiler_gnu=$ac_cv_c_compiler_gnu
5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5708$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5709if ${am_cv_prog_cc_c_o+:} false; then :
5710  $as_echo_n "(cached) " >&6
5711else
5712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713/* end confdefs.h.  */
5714
5715int
5716main ()
5717{
5718
5719  ;
5720  return 0;
5721}
5722_ACEOF
5723  # Make sure it works both with $CC and with simple cc.
5724  # Following AC_PROG_CC_C_O, we do the test twice because some
5725  # compilers refuse to overwrite an existing .o file with -o,
5726  # though they will create one.
5727  am_cv_prog_cc_c_o=yes
5728  for am_i in 1 2; do
5729    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5730   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5731   ac_status=$?
5732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733   (exit $ac_status); } \
5734         && test -f conftest2.$ac_objext; then
5735      : OK
5736    else
5737      am_cv_prog_cc_c_o=no
5738      break
5739    fi
5740  done
5741  rm -f core conftest*
5742  unset am_i
5743fi
5744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5745$as_echo "$am_cv_prog_cc_c_o" >&6; }
5746if test "$am_cv_prog_cc_c_o" != yes; then
5747   # Losing compiler, so override with the script.
5748   # FIXME: It is wrong to rewrite CC.
5749   # But if we don't then we get into trouble of one sort or another.
5750   # A longer-term fix would be to have automake use am__CC in this case,
5751   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5752   CC="$am_aux_dir/compile $CC"
5753fi
5754ac_ext=c
5755ac_cpp='$CPP $CPPFLAGS'
5756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5758ac_compiler_gnu=$ac_cv_c_compiler_gnu
5759
5760DEPDIR="${am__leading_dot}deps"
5761
5762ac_config_commands="$ac_config_commands depfiles"
5763
5764
5765am_make=${MAKE-make}
5766cat > confinc << 'END'
5767am__doit:
5768	@echo this is the am__doit target
5769.PHONY: am__doit
5770END
5771# If we don't find an include directive, just comment out the code.
5772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5773$as_echo_n "checking for style of include used by $am_make... " >&6; }
5774am__include="#"
5775am__quote=
5776_am_result=none
5777# First try GNU make style include.
5778echo "include confinc" > confmf
5779# Ignore all kinds of additional output from 'make'.
5780case `$am_make -s -f confmf 2> /dev/null` in #(
5781*the\ am__doit\ target*)
5782  am__include=include
5783  am__quote=
5784  _am_result=GNU
5785  ;;
5786esac
5787# Now try BSD make style include.
5788if test "$am__include" = "#"; then
5789   echo '.include "confinc"' > confmf
5790   case `$am_make -s -f confmf 2> /dev/null` in #(
5791   *the\ am__doit\ target*)
5792     am__include=.include
5793     am__quote="\""
5794     _am_result=BSD
5795     ;;
5796   esac
5797fi
5798
5799
5800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5801$as_echo "$_am_result" >&6; }
5802rm -f confinc confmf
5803
5804# Check whether --enable-dependency-tracking was given.
5805if test "${enable_dependency_tracking+set}" = set; then :
5806  enableval=$enable_dependency_tracking;
5807fi
5808
5809if test "x$enable_dependency_tracking" != xno; then
5810  am_depcomp="$ac_aux_dir/depcomp"
5811  AMDEPBACKSLASH='\'
5812  am__nodep='_no'
5813fi
5814 if test "x$enable_dependency_tracking" != xno; then
5815  AMDEP_TRUE=
5816  AMDEP_FALSE='#'
5817else
5818  AMDEP_TRUE='#'
5819  AMDEP_FALSE=
5820fi
5821
5822
5823
5824depcc="$CC"   am_compiler_list=
5825
5826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5827$as_echo_n "checking dependency style of $depcc... " >&6; }
5828if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5829  $as_echo_n "(cached) " >&6
5830else
5831  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5832  # We make a subdir and do the tests there.  Otherwise we can end up
5833  # making bogus files that we don't know about and never remove.  For
5834  # instance it was reported that on HP-UX the gcc test will end up
5835  # making a dummy file named 'D' -- because '-MD' means "put the output
5836  # in D".
5837  rm -rf conftest.dir
5838  mkdir conftest.dir
5839  # Copy depcomp to subdir because otherwise we won't find it if we're
5840  # using a relative directory.
5841  cp "$am_depcomp" conftest.dir
5842  cd conftest.dir
5843  # We will build objects and dependencies in a subdirectory because
5844  # it helps to detect inapplicable dependency modes.  For instance
5845  # both Tru64's cc and ICC support -MD to output dependencies as a
5846  # side effect of compilation, but ICC will put the dependencies in
5847  # the current directory while Tru64 will put them in the object
5848  # directory.
5849  mkdir sub
5850
5851  am_cv_CC_dependencies_compiler_type=none
5852  if test "$am_compiler_list" = ""; then
5853     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5854  fi
5855  am__universal=false
5856  case " $depcc " in #(
5857     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5858     esac
5859
5860  for depmode in $am_compiler_list; do
5861    # Setup a source with many dependencies, because some compilers
5862    # like to wrap large dependency lists on column 80 (with \), and
5863    # we should not choose a depcomp mode which is confused by this.
5864    #
5865    # We need to recreate these files for each test, as the compiler may
5866    # overwrite some of them when testing with obscure command lines.
5867    # This happens at least with the AIX C compiler.
5868    : > sub/conftest.c
5869    for i in 1 2 3 4 5 6; do
5870      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5871      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5872      # Solaris 10 /bin/sh.
5873      echo '/* dummy */' > sub/conftst$i.h
5874    done
5875    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5876
5877    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5878    # mode.  It turns out that the SunPro C++ compiler does not properly
5879    # handle '-M -o', and we need to detect this.  Also, some Intel
5880    # versions had trouble with output in subdirs.
5881    am__obj=sub/conftest.${OBJEXT-o}
5882    am__minus_obj="-o $am__obj"
5883    case $depmode in
5884    gcc)
5885      # This depmode causes a compiler race in universal mode.
5886      test "$am__universal" = false || continue
5887      ;;
5888    nosideeffect)
5889      # After this tag, mechanisms are not by side-effect, so they'll
5890      # only be used when explicitly requested.
5891      if test "x$enable_dependency_tracking" = xyes; then
5892	continue
5893      else
5894	break
5895      fi
5896      ;;
5897    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5898      # This compiler won't grok '-c -o', but also, the minuso test has
5899      # not run yet.  These depmodes are late enough in the game, and
5900      # so weak that their functioning should not be impacted.
5901      am__obj=conftest.${OBJEXT-o}
5902      am__minus_obj=
5903      ;;
5904    none) break ;;
5905    esac
5906    if depmode=$depmode \
5907       source=sub/conftest.c object=$am__obj \
5908       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5909       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5910         >/dev/null 2>conftest.err &&
5911       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5912       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5913       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5914       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5915      # icc doesn't choke on unknown options, it will just issue warnings
5916      # or remarks (even with -Werror).  So we grep stderr for any message
5917      # that says an option was ignored or not supported.
5918      # When given -MP, icc 7.0 and 7.1 complain thusly:
5919      #   icc: Command line warning: ignoring option '-M'; no argument required
5920      # The diagnosis changed in icc 8.0:
5921      #   icc: Command line remark: option '-MP' not supported
5922      if (grep 'ignoring option' conftest.err ||
5923          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5924        am_cv_CC_dependencies_compiler_type=$depmode
5925        break
5926      fi
5927    fi
5928  done
5929
5930  cd ..
5931  rm -rf conftest.dir
5932else
5933  am_cv_CC_dependencies_compiler_type=none
5934fi
5935
5936fi
5937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5938$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5939CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5940
5941 if
5942  test "x$enable_dependency_tracking" != xno \
5943  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5944  am__fastdepCC_TRUE=
5945  am__fastdepCC_FALSE='#'
5946else
5947  am__fastdepCC_TRUE='#'
5948  am__fastdepCC_FALSE=
5949fi
5950
5951
5952ac_ext=cpp
5953ac_cpp='$CXXCPP $CPPFLAGS'
5954ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5957if test -z "$CXX"; then
5958  if test -n "$CCC"; then
5959    CXX=$CCC
5960  else
5961    if test -n "$ac_tool_prefix"; then
5962  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5963  do
5964    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5965set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967$as_echo_n "checking for $ac_word... " >&6; }
5968if ${ac_cv_prog_CXX+:} false; then :
5969  $as_echo_n "(cached) " >&6
5970else
5971  if test -n "$CXX"; then
5972  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5973else
5974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975for as_dir in $PATH
5976do
5977  IFS=$as_save_IFS
5978  test -z "$as_dir" && as_dir=.
5979    for ac_exec_ext in '' $ac_executable_extensions; do
5980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983    break 2
5984  fi
5985done
5986  done
5987IFS=$as_save_IFS
5988
5989fi
5990fi
5991CXX=$ac_cv_prog_CXX
5992if test -n "$CXX"; then
5993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5994$as_echo "$CXX" >&6; }
5995else
5996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997$as_echo "no" >&6; }
5998fi
5999
6000
6001    test -n "$CXX" && break
6002  done
6003fi
6004if test -z "$CXX"; then
6005  ac_ct_CXX=$CXX
6006  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6007do
6008  # Extract the first word of "$ac_prog", so it can be a program name with args.
6009set dummy $ac_prog; ac_word=$2
6010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011$as_echo_n "checking for $ac_word... " >&6; }
6012if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6013  $as_echo_n "(cached) " >&6
6014else
6015  if test -n "$ac_ct_CXX"; then
6016  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6017else
6018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019for as_dir in $PATH
6020do
6021  IFS=$as_save_IFS
6022  test -z "$as_dir" && as_dir=.
6023    for ac_exec_ext in '' $ac_executable_extensions; do
6024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025    ac_cv_prog_ac_ct_CXX="$ac_prog"
6026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027    break 2
6028  fi
6029done
6030  done
6031IFS=$as_save_IFS
6032
6033fi
6034fi
6035ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6036if test -n "$ac_ct_CXX"; then
6037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6038$as_echo "$ac_ct_CXX" >&6; }
6039else
6040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041$as_echo "no" >&6; }
6042fi
6043
6044
6045  test -n "$ac_ct_CXX" && break
6046done
6047
6048  if test "x$ac_ct_CXX" = x; then
6049    CXX="g++"
6050  else
6051    case $cross_compiling:$ac_tool_warned in
6052yes:)
6053{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055ac_tool_warned=yes ;;
6056esac
6057    CXX=$ac_ct_CXX
6058  fi
6059fi
6060
6061  fi
6062fi
6063# Provide some information about the compiler.
6064$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6065set X $ac_compile
6066ac_compiler=$2
6067for ac_option in --version -v -V -qversion; do
6068  { { ac_try="$ac_compiler $ac_option >&5"
6069case "(($ac_try" in
6070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6071  *) ac_try_echo=$ac_try;;
6072esac
6073eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6074$as_echo "$ac_try_echo"; } >&5
6075  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6076  ac_status=$?
6077  if test -s conftest.err; then
6078    sed '10a\
6079... rest of stderr output deleted ...
6080         10q' conftest.err >conftest.er1
6081    cat conftest.er1 >&5
6082  fi
6083  rm -f conftest.er1 conftest.err
6084  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6085  test $ac_status = 0; }
6086done
6087
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6089$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6090if ${ac_cv_cxx_compiler_gnu+:} false; then :
6091  $as_echo_n "(cached) " >&6
6092else
6093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094/* end confdefs.h.  */
6095
6096int
6097main ()
6098{
6099#ifndef __GNUC__
6100       choke me
6101#endif
6102
6103  ;
6104  return 0;
6105}
6106_ACEOF
6107if ac_fn_cxx_try_compile "$LINENO"; then :
6108  ac_compiler_gnu=yes
6109else
6110  ac_compiler_gnu=no
6111fi
6112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6114
6115fi
6116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6117$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6118if test $ac_compiler_gnu = yes; then
6119  GXX=yes
6120else
6121  GXX=
6122fi
6123ac_test_CXXFLAGS=${CXXFLAGS+set}
6124ac_save_CXXFLAGS=$CXXFLAGS
6125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6126$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6127if ${ac_cv_prog_cxx_g+:} false; then :
6128  $as_echo_n "(cached) " >&6
6129else
6130  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6131   ac_cxx_werror_flag=yes
6132   ac_cv_prog_cxx_g=no
6133   CXXFLAGS="-g"
6134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135/* end confdefs.h.  */
6136
6137int
6138main ()
6139{
6140
6141  ;
6142  return 0;
6143}
6144_ACEOF
6145if ac_fn_cxx_try_compile "$LINENO"; then :
6146  ac_cv_prog_cxx_g=yes
6147else
6148  CXXFLAGS=""
6149      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150/* end confdefs.h.  */
6151
6152int
6153main ()
6154{
6155
6156  ;
6157  return 0;
6158}
6159_ACEOF
6160if ac_fn_cxx_try_compile "$LINENO"; then :
6161
6162else
6163  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6164	 CXXFLAGS="-g"
6165	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6166/* end confdefs.h.  */
6167
6168int
6169main ()
6170{
6171
6172  ;
6173  return 0;
6174}
6175_ACEOF
6176if ac_fn_cxx_try_compile "$LINENO"; then :
6177  ac_cv_prog_cxx_g=yes
6178fi
6179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180fi
6181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6182fi
6183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6185fi
6186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6187$as_echo "$ac_cv_prog_cxx_g" >&6; }
6188if test "$ac_test_CXXFLAGS" = set; then
6189  CXXFLAGS=$ac_save_CXXFLAGS
6190elif test $ac_cv_prog_cxx_g = yes; then
6191  if test "$GXX" = yes; then
6192    CXXFLAGS="-g -O2"
6193  else
6194    CXXFLAGS="-g"
6195  fi
6196else
6197  if test "$GXX" = yes; then
6198    CXXFLAGS="-O2"
6199  else
6200    CXXFLAGS=
6201  fi
6202fi
6203ac_ext=c
6204ac_cpp='$CPP $CPPFLAGS'
6205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6207ac_compiler_gnu=$ac_cv_c_compiler_gnu
6208
6209depcc="$CXX"  am_compiler_list=
6210
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6212$as_echo_n "checking dependency style of $depcc... " >&6; }
6213if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6214  $as_echo_n "(cached) " >&6
6215else
6216  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6217  # We make a subdir and do the tests there.  Otherwise we can end up
6218  # making bogus files that we don't know about and never remove.  For
6219  # instance it was reported that on HP-UX the gcc test will end up
6220  # making a dummy file named 'D' -- because '-MD' means "put the output
6221  # in D".
6222  rm -rf conftest.dir
6223  mkdir conftest.dir
6224  # Copy depcomp to subdir because otherwise we won't find it if we're
6225  # using a relative directory.
6226  cp "$am_depcomp" conftest.dir
6227  cd conftest.dir
6228  # We will build objects and dependencies in a subdirectory because
6229  # it helps to detect inapplicable dependency modes.  For instance
6230  # both Tru64's cc and ICC support -MD to output dependencies as a
6231  # side effect of compilation, but ICC will put the dependencies in
6232  # the current directory while Tru64 will put them in the object
6233  # directory.
6234  mkdir sub
6235
6236  am_cv_CXX_dependencies_compiler_type=none
6237  if test "$am_compiler_list" = ""; then
6238     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6239  fi
6240  am__universal=false
6241  case " $depcc " in #(
6242     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6243     esac
6244
6245  for depmode in $am_compiler_list; do
6246    # Setup a source with many dependencies, because some compilers
6247    # like to wrap large dependency lists on column 80 (with \), and
6248    # we should not choose a depcomp mode which is confused by this.
6249    #
6250    # We need to recreate these files for each test, as the compiler may
6251    # overwrite some of them when testing with obscure command lines.
6252    # This happens at least with the AIX C compiler.
6253    : > sub/conftest.c
6254    for i in 1 2 3 4 5 6; do
6255      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6256      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6257      # Solaris 10 /bin/sh.
6258      echo '/* dummy */' > sub/conftst$i.h
6259    done
6260    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6261
6262    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6263    # mode.  It turns out that the SunPro C++ compiler does not properly
6264    # handle '-M -o', and we need to detect this.  Also, some Intel
6265    # versions had trouble with output in subdirs.
6266    am__obj=sub/conftest.${OBJEXT-o}
6267    am__minus_obj="-o $am__obj"
6268    case $depmode in
6269    gcc)
6270      # This depmode causes a compiler race in universal mode.
6271      test "$am__universal" = false || continue
6272      ;;
6273    nosideeffect)
6274      # After this tag, mechanisms are not by side-effect, so they'll
6275      # only be used when explicitly requested.
6276      if test "x$enable_dependency_tracking" = xyes; then
6277	continue
6278      else
6279	break
6280      fi
6281      ;;
6282    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6283      # This compiler won't grok '-c -o', but also, the minuso test has
6284      # not run yet.  These depmodes are late enough in the game, and
6285      # so weak that their functioning should not be impacted.
6286      am__obj=conftest.${OBJEXT-o}
6287      am__minus_obj=
6288      ;;
6289    none) break ;;
6290    esac
6291    if depmode=$depmode \
6292       source=sub/conftest.c object=$am__obj \
6293       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6294       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6295         >/dev/null 2>conftest.err &&
6296       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6297       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6298       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6299       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6300      # icc doesn't choke on unknown options, it will just issue warnings
6301      # or remarks (even with -Werror).  So we grep stderr for any message
6302      # that says an option was ignored or not supported.
6303      # When given -MP, icc 7.0 and 7.1 complain thusly:
6304      #   icc: Command line warning: ignoring option '-M'; no argument required
6305      # The diagnosis changed in icc 8.0:
6306      #   icc: Command line remark: option '-MP' not supported
6307      if (grep 'ignoring option' conftest.err ||
6308          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6309        am_cv_CXX_dependencies_compiler_type=$depmode
6310        break
6311      fi
6312    fi
6313  done
6314
6315  cd ..
6316  rm -rf conftest.dir
6317else
6318  am_cv_CXX_dependencies_compiler_type=none
6319fi
6320
6321fi
6322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6323$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6324CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6325
6326 if
6327  test "x$enable_dependency_tracking" != xno \
6328  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6329  am__fastdepCXX_TRUE=
6330  am__fastdepCXX_FALSE='#'
6331else
6332  am__fastdepCXX_TRUE='#'
6333  am__fastdepCXX_FALSE=
6334fi
6335
6336
6337
6338
6339
6340
6341
6342case `pwd` in
6343  *\ * | *\	*)
6344    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6345$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6346esac
6347
6348
6349
6350macro_version='2.4.6'
6351macro_revision='2.4.6'
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365ltmain=$ac_aux_dir/ltmain.sh
6366
6367# Make sure we can run config.sub.
6368$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6369  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6370
6371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6372$as_echo_n "checking build system type... " >&6; }
6373if ${ac_cv_build+:} false; then :
6374  $as_echo_n "(cached) " >&6
6375else
6376  ac_build_alias=$build_alias
6377test "x$ac_build_alias" = x &&
6378  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6379test "x$ac_build_alias" = x &&
6380  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6381ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6382  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6383
6384fi
6385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6386$as_echo "$ac_cv_build" >&6; }
6387case $ac_cv_build in
6388*-*-*) ;;
6389*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6390esac
6391build=$ac_cv_build
6392ac_save_IFS=$IFS; IFS='-'
6393set x $ac_cv_build
6394shift
6395build_cpu=$1
6396build_vendor=$2
6397shift; shift
6398# Remember, the first character of IFS is used to create $*,
6399# except with old shells:
6400build_os=$*
6401IFS=$ac_save_IFS
6402case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6403
6404
6405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6406$as_echo_n "checking host system type... " >&6; }
6407if ${ac_cv_host+:} false; then :
6408  $as_echo_n "(cached) " >&6
6409else
6410  if test "x$host_alias" = x; then
6411  ac_cv_host=$ac_cv_build
6412else
6413  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6414    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6415fi
6416
6417fi
6418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6419$as_echo "$ac_cv_host" >&6; }
6420case $ac_cv_host in
6421*-*-*) ;;
6422*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6423esac
6424host=$ac_cv_host
6425ac_save_IFS=$IFS; IFS='-'
6426set x $ac_cv_host
6427shift
6428host_cpu=$1
6429host_vendor=$2
6430shift; shift
6431# Remember, the first character of IFS is used to create $*,
6432# except with old shells:
6433host_os=$*
6434IFS=$ac_save_IFS
6435case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6436
6437
6438# Backslashify metacharacters that are still active within
6439# double-quoted strings.
6440sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6441
6442# Same as above, but do not quote variable references.
6443double_quote_subst='s/\(["`\\]\)/\\\1/g'
6444
6445# Sed substitution to delay expansion of an escaped shell variable in a
6446# double_quote_subst'ed string.
6447delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6448
6449# Sed substitution to delay expansion of an escaped single quote.
6450delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6451
6452# Sed substitution to avoid accidental globbing in evaled expressions
6453no_glob_subst='s/\*/\\\*/g'
6454
6455ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6456ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6457ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6458
6459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6460$as_echo_n "checking how to print strings... " >&6; }
6461# Test print first, because it will be a builtin if present.
6462if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6463   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6464  ECHO='print -r --'
6465elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6466  ECHO='printf %s\n'
6467else
6468  # Use this function as a fallback that always works.
6469  func_fallback_echo ()
6470  {
6471    eval 'cat <<_LTECHO_EOF
6472$1
6473_LTECHO_EOF'
6474  }
6475  ECHO='func_fallback_echo'
6476fi
6477
6478# func_echo_all arg...
6479# Invoke $ECHO with all args, space-separated.
6480func_echo_all ()
6481{
6482    $ECHO ""
6483}
6484
6485case $ECHO in
6486  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6487$as_echo "printf" >&6; } ;;
6488  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6489$as_echo "print -r" >&6; } ;;
6490  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6491$as_echo "cat" >&6; } ;;
6492esac
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6508$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6509if ${ac_cv_path_SED+:} false; then :
6510  $as_echo_n "(cached) " >&6
6511else
6512            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6513     for ac_i in 1 2 3 4 5 6 7; do
6514       ac_script="$ac_script$as_nl$ac_script"
6515     done
6516     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6517     { ac_script=; unset ac_script;}
6518     if test -z "$SED"; then
6519  ac_path_SED_found=false
6520  # Loop through the user's path and test for each of PROGNAME-LIST
6521  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522for as_dir in $PATH
6523do
6524  IFS=$as_save_IFS
6525  test -z "$as_dir" && as_dir=.
6526    for ac_prog in sed gsed; do
6527    for ac_exec_ext in '' $ac_executable_extensions; do
6528      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6529      as_fn_executable_p "$ac_path_SED" || continue
6530# Check for GNU ac_path_SED and select it if it is found.
6531  # Check for GNU $ac_path_SED
6532case `"$ac_path_SED" --version 2>&1` in
6533*GNU*)
6534  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6535*)
6536  ac_count=0
6537  $as_echo_n 0123456789 >"conftest.in"
6538  while :
6539  do
6540    cat "conftest.in" "conftest.in" >"conftest.tmp"
6541    mv "conftest.tmp" "conftest.in"
6542    cp "conftest.in" "conftest.nl"
6543    $as_echo '' >> "conftest.nl"
6544    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6545    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6546    as_fn_arith $ac_count + 1 && ac_count=$as_val
6547    if test $ac_count -gt ${ac_path_SED_max-0}; then
6548      # Best one so far, save it but keep looking for a better one
6549      ac_cv_path_SED="$ac_path_SED"
6550      ac_path_SED_max=$ac_count
6551    fi
6552    # 10*(2^10) chars as input seems more than enough
6553    test $ac_count -gt 10 && break
6554  done
6555  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6556esac
6557
6558      $ac_path_SED_found && break 3
6559    done
6560  done
6561  done
6562IFS=$as_save_IFS
6563  if test -z "$ac_cv_path_SED"; then
6564    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6565  fi
6566else
6567  ac_cv_path_SED=$SED
6568fi
6569
6570fi
6571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6572$as_echo "$ac_cv_path_SED" >&6; }
6573 SED="$ac_cv_path_SED"
6574  rm -f conftest.sed
6575
6576test -z "$SED" && SED=sed
6577Xsed="$SED -e 1s/^X//"
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6590$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6591if ${ac_cv_path_GREP+:} false; then :
6592  $as_echo_n "(cached) " >&6
6593else
6594  if test -z "$GREP"; then
6595  ac_path_GREP_found=false
6596  # Loop through the user's path and test for each of PROGNAME-LIST
6597  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6599do
6600  IFS=$as_save_IFS
6601  test -z "$as_dir" && as_dir=.
6602    for ac_prog in grep ggrep; do
6603    for ac_exec_ext in '' $ac_executable_extensions; do
6604      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6605      as_fn_executable_p "$ac_path_GREP" || continue
6606# Check for GNU ac_path_GREP and select it if it is found.
6607  # Check for GNU $ac_path_GREP
6608case `"$ac_path_GREP" --version 2>&1` in
6609*GNU*)
6610  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6611*)
6612  ac_count=0
6613  $as_echo_n 0123456789 >"conftest.in"
6614  while :
6615  do
6616    cat "conftest.in" "conftest.in" >"conftest.tmp"
6617    mv "conftest.tmp" "conftest.in"
6618    cp "conftest.in" "conftest.nl"
6619    $as_echo 'GREP' >> "conftest.nl"
6620    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6621    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6622    as_fn_arith $ac_count + 1 && ac_count=$as_val
6623    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6624      # Best one so far, save it but keep looking for a better one
6625      ac_cv_path_GREP="$ac_path_GREP"
6626      ac_path_GREP_max=$ac_count
6627    fi
6628    # 10*(2^10) chars as input seems more than enough
6629    test $ac_count -gt 10 && break
6630  done
6631  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6632esac
6633
6634      $ac_path_GREP_found && break 3
6635    done
6636  done
6637  done
6638IFS=$as_save_IFS
6639  if test -z "$ac_cv_path_GREP"; then
6640    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6641  fi
6642else
6643  ac_cv_path_GREP=$GREP
6644fi
6645
6646fi
6647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6648$as_echo "$ac_cv_path_GREP" >&6; }
6649 GREP="$ac_cv_path_GREP"
6650
6651
6652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6653$as_echo_n "checking for egrep... " >&6; }
6654if ${ac_cv_path_EGREP+:} false; then :
6655  $as_echo_n "(cached) " >&6
6656else
6657  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6658   then ac_cv_path_EGREP="$GREP -E"
6659   else
6660     if test -z "$EGREP"; then
6661  ac_path_EGREP_found=false
6662  # Loop through the user's path and test for each of PROGNAME-LIST
6663  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6665do
6666  IFS=$as_save_IFS
6667  test -z "$as_dir" && as_dir=.
6668    for ac_prog in egrep; do
6669    for ac_exec_ext in '' $ac_executable_extensions; do
6670      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6671      as_fn_executable_p "$ac_path_EGREP" || continue
6672# Check for GNU ac_path_EGREP and select it if it is found.
6673  # Check for GNU $ac_path_EGREP
6674case `"$ac_path_EGREP" --version 2>&1` in
6675*GNU*)
6676  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6677*)
6678  ac_count=0
6679  $as_echo_n 0123456789 >"conftest.in"
6680  while :
6681  do
6682    cat "conftest.in" "conftest.in" >"conftest.tmp"
6683    mv "conftest.tmp" "conftest.in"
6684    cp "conftest.in" "conftest.nl"
6685    $as_echo 'EGREP' >> "conftest.nl"
6686    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6687    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6688    as_fn_arith $ac_count + 1 && ac_count=$as_val
6689    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6690      # Best one so far, save it but keep looking for a better one
6691      ac_cv_path_EGREP="$ac_path_EGREP"
6692      ac_path_EGREP_max=$ac_count
6693    fi
6694    # 10*(2^10) chars as input seems more than enough
6695    test $ac_count -gt 10 && break
6696  done
6697  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6698esac
6699
6700      $ac_path_EGREP_found && break 3
6701    done
6702  done
6703  done
6704IFS=$as_save_IFS
6705  if test -z "$ac_cv_path_EGREP"; then
6706    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6707  fi
6708else
6709  ac_cv_path_EGREP=$EGREP
6710fi
6711
6712   fi
6713fi
6714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6715$as_echo "$ac_cv_path_EGREP" >&6; }
6716 EGREP="$ac_cv_path_EGREP"
6717
6718
6719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6720$as_echo_n "checking for fgrep... " >&6; }
6721if ${ac_cv_path_FGREP+:} false; then :
6722  $as_echo_n "(cached) " >&6
6723else
6724  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6725   then ac_cv_path_FGREP="$GREP -F"
6726   else
6727     if test -z "$FGREP"; then
6728  ac_path_FGREP_found=false
6729  # Loop through the user's path and test for each of PROGNAME-LIST
6730  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6732do
6733  IFS=$as_save_IFS
6734  test -z "$as_dir" && as_dir=.
6735    for ac_prog in fgrep; do
6736    for ac_exec_ext in '' $ac_executable_extensions; do
6737      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6738      as_fn_executable_p "$ac_path_FGREP" || continue
6739# Check for GNU ac_path_FGREP and select it if it is found.
6740  # Check for GNU $ac_path_FGREP
6741case `"$ac_path_FGREP" --version 2>&1` in
6742*GNU*)
6743  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6744*)
6745  ac_count=0
6746  $as_echo_n 0123456789 >"conftest.in"
6747  while :
6748  do
6749    cat "conftest.in" "conftest.in" >"conftest.tmp"
6750    mv "conftest.tmp" "conftest.in"
6751    cp "conftest.in" "conftest.nl"
6752    $as_echo 'FGREP' >> "conftest.nl"
6753    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6754    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6755    as_fn_arith $ac_count + 1 && ac_count=$as_val
6756    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6757      # Best one so far, save it but keep looking for a better one
6758      ac_cv_path_FGREP="$ac_path_FGREP"
6759      ac_path_FGREP_max=$ac_count
6760    fi
6761    # 10*(2^10) chars as input seems more than enough
6762    test $ac_count -gt 10 && break
6763  done
6764  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6765esac
6766
6767      $ac_path_FGREP_found && break 3
6768    done
6769  done
6770  done
6771IFS=$as_save_IFS
6772  if test -z "$ac_cv_path_FGREP"; then
6773    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6774  fi
6775else
6776  ac_cv_path_FGREP=$FGREP
6777fi
6778
6779   fi
6780fi
6781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6782$as_echo "$ac_cv_path_FGREP" >&6; }
6783 FGREP="$ac_cv_path_FGREP"
6784
6785
6786test -z "$GREP" && GREP=grep
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806# Check whether --with-gnu-ld was given.
6807if test "${with_gnu_ld+set}" = set; then :
6808  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6809else
6810  with_gnu_ld=no
6811fi
6812
6813ac_prog=ld
6814if test yes = "$GCC"; then
6815  # Check if gcc -print-prog-name=ld gives a path.
6816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6817$as_echo_n "checking for ld used by $CC... " >&6; }
6818  case $host in
6819  *-*-mingw*)
6820    # gcc leaves a trailing carriage return, which upsets mingw
6821    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6822  *)
6823    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6824  esac
6825  case $ac_prog in
6826    # Accept absolute paths.
6827    [\\/]* | ?:[\\/]*)
6828      re_direlt='/[^/][^/]*/\.\./'
6829      # Canonicalize the pathname of ld
6830      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6831      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6832	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6833      done
6834      test -z "$LD" && LD=$ac_prog
6835      ;;
6836  "")
6837    # If it fails, then pretend we aren't using GCC.
6838    ac_prog=ld
6839    ;;
6840  *)
6841    # If it is relative, then search for the first ld in PATH.
6842    with_gnu_ld=unknown
6843    ;;
6844  esac
6845elif test yes = "$with_gnu_ld"; then
6846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6847$as_echo_n "checking for GNU ld... " >&6; }
6848else
6849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6850$as_echo_n "checking for non-GNU ld... " >&6; }
6851fi
6852if ${lt_cv_path_LD+:} false; then :
6853  $as_echo_n "(cached) " >&6
6854else
6855  if test -z "$LD"; then
6856  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6857  for ac_dir in $PATH; do
6858    IFS=$lt_save_ifs
6859    test -z "$ac_dir" && ac_dir=.
6860    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6861      lt_cv_path_LD=$ac_dir/$ac_prog
6862      # Check to see if the program is GNU ld.  I'd rather use --version,
6863      # but apparently some variants of GNU ld only accept -v.
6864      # Break only if it was the GNU/non-GNU ld that we prefer.
6865      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6866      *GNU* | *'with BFD'*)
6867	test no != "$with_gnu_ld" && break
6868	;;
6869      *)
6870	test yes != "$with_gnu_ld" && break
6871	;;
6872      esac
6873    fi
6874  done
6875  IFS=$lt_save_ifs
6876else
6877  lt_cv_path_LD=$LD # Let the user override the test with a path.
6878fi
6879fi
6880
6881LD=$lt_cv_path_LD
6882if test -n "$LD"; then
6883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6884$as_echo "$LD" >&6; }
6885else
6886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887$as_echo "no" >&6; }
6888fi
6889test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6891$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6892if ${lt_cv_prog_gnu_ld+:} false; then :
6893  $as_echo_n "(cached) " >&6
6894else
6895  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6896case `$LD -v 2>&1 </dev/null` in
6897*GNU* | *'with BFD'*)
6898  lt_cv_prog_gnu_ld=yes
6899  ;;
6900*)
6901  lt_cv_prog_gnu_ld=no
6902  ;;
6903esac
6904fi
6905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6906$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6907with_gnu_ld=$lt_cv_prog_gnu_ld
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6918$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6919if ${lt_cv_path_NM+:} false; then :
6920  $as_echo_n "(cached) " >&6
6921else
6922  if test -n "$NM"; then
6923  # Let the user override the test.
6924  lt_cv_path_NM=$NM
6925else
6926  lt_nm_to_check=${ac_tool_prefix}nm
6927  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6928    lt_nm_to_check="$lt_nm_to_check nm"
6929  fi
6930  for lt_tmp_nm in $lt_nm_to_check; do
6931    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6932    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6933      IFS=$lt_save_ifs
6934      test -z "$ac_dir" && ac_dir=.
6935      tmp_nm=$ac_dir/$lt_tmp_nm
6936      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6937	# Check to see if the nm accepts a BSD-compat flag.
6938	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6939	#   nm: unknown option "B" ignored
6940	# Tru64's nm complains that /dev/null is an invalid object file
6941	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6942	case $build_os in
6943	mingw*) lt_bad_file=conftest.nm/nofile ;;
6944	*) lt_bad_file=/dev/null ;;
6945	esac
6946	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6947	*$lt_bad_file* | *'Invalid file or object type'*)
6948	  lt_cv_path_NM="$tmp_nm -B"
6949	  break 2
6950	  ;;
6951	*)
6952	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6953	  */dev/null*)
6954	    lt_cv_path_NM="$tmp_nm -p"
6955	    break 2
6956	    ;;
6957	  *)
6958	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6959	    continue # so that we can try to find one that supports BSD flags
6960	    ;;
6961	  esac
6962	  ;;
6963	esac
6964      fi
6965    done
6966    IFS=$lt_save_ifs
6967  done
6968  : ${lt_cv_path_NM=no}
6969fi
6970fi
6971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6972$as_echo "$lt_cv_path_NM" >&6; }
6973if test no != "$lt_cv_path_NM"; then
6974  NM=$lt_cv_path_NM
6975else
6976  # Didn't find any BSD compatible name lister, look for dumpbin.
6977  if test -n "$DUMPBIN"; then :
6978    # Let the user override the test.
6979  else
6980    if test -n "$ac_tool_prefix"; then
6981  for ac_prog in dumpbin "link -dump"
6982  do
6983    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6984set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986$as_echo_n "checking for $ac_word... " >&6; }
6987if ${ac_cv_prog_DUMPBIN+:} false; then :
6988  $as_echo_n "(cached) " >&6
6989else
6990  if test -n "$DUMPBIN"; then
6991  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6992else
6993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994for as_dir in $PATH
6995do
6996  IFS=$as_save_IFS
6997  test -z "$as_dir" && as_dir=.
6998    for ac_exec_ext in '' $ac_executable_extensions; do
6999  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7001    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002    break 2
7003  fi
7004done
7005  done
7006IFS=$as_save_IFS
7007
7008fi
7009fi
7010DUMPBIN=$ac_cv_prog_DUMPBIN
7011if test -n "$DUMPBIN"; then
7012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7013$as_echo "$DUMPBIN" >&6; }
7014else
7015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016$as_echo "no" >&6; }
7017fi
7018
7019
7020    test -n "$DUMPBIN" && break
7021  done
7022fi
7023if test -z "$DUMPBIN"; then
7024  ac_ct_DUMPBIN=$DUMPBIN
7025  for ac_prog in dumpbin "link -dump"
7026do
7027  # Extract the first word of "$ac_prog", so it can be a program name with args.
7028set dummy $ac_prog; ac_word=$2
7029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030$as_echo_n "checking for $ac_word... " >&6; }
7031if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7032  $as_echo_n "(cached) " >&6
7033else
7034  if test -n "$ac_ct_DUMPBIN"; then
7035  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7036else
7037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038for as_dir in $PATH
7039do
7040  IFS=$as_save_IFS
7041  test -z "$as_dir" && as_dir=.
7042    for ac_exec_ext in '' $ac_executable_extensions; do
7043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046    break 2
7047  fi
7048done
7049  done
7050IFS=$as_save_IFS
7051
7052fi
7053fi
7054ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7055if test -n "$ac_ct_DUMPBIN"; then
7056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7057$as_echo "$ac_ct_DUMPBIN" >&6; }
7058else
7059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060$as_echo "no" >&6; }
7061fi
7062
7063
7064  test -n "$ac_ct_DUMPBIN" && break
7065done
7066
7067  if test "x$ac_ct_DUMPBIN" = x; then
7068    DUMPBIN=":"
7069  else
7070    case $cross_compiling:$ac_tool_warned in
7071yes:)
7072{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7073$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7074ac_tool_warned=yes ;;
7075esac
7076    DUMPBIN=$ac_ct_DUMPBIN
7077  fi
7078fi
7079
7080    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7081    *COFF*)
7082      DUMPBIN="$DUMPBIN -symbols -headers"
7083      ;;
7084    *)
7085      DUMPBIN=:
7086      ;;
7087    esac
7088  fi
7089
7090  if test : != "$DUMPBIN"; then
7091    NM=$DUMPBIN
7092  fi
7093fi
7094test -z "$NM" && NM=nm
7095
7096
7097
7098
7099
7100
7101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7102$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7103if ${lt_cv_nm_interface+:} false; then :
7104  $as_echo_n "(cached) " >&6
7105else
7106  lt_cv_nm_interface="BSD nm"
7107  echo "int some_variable = 0;" > conftest.$ac_ext
7108  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7109  (eval "$ac_compile" 2>conftest.err)
7110  cat conftest.err >&5
7111  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7112  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7113  cat conftest.err >&5
7114  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7115  cat conftest.out >&5
7116  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7117    lt_cv_nm_interface="MS dumpbin"
7118  fi
7119  rm -f conftest*
7120fi
7121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7122$as_echo "$lt_cv_nm_interface" >&6; }
7123
7124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7125$as_echo_n "checking whether ln -s works... " >&6; }
7126LN_S=$as_ln_s
7127if test "$LN_S" = "ln -s"; then
7128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7129$as_echo "yes" >&6; }
7130else
7131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7132$as_echo "no, using $LN_S" >&6; }
7133fi
7134
7135# find the maximum length of command line arguments
7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7137$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7138if ${lt_cv_sys_max_cmd_len+:} false; then :
7139  $as_echo_n "(cached) " >&6
7140else
7141    i=0
7142  teststring=ABCD
7143
7144  case $build_os in
7145  msdosdjgpp*)
7146    # On DJGPP, this test can blow up pretty badly due to problems in libc
7147    # (any single argument exceeding 2000 bytes causes a buffer overrun
7148    # during glob expansion).  Even if it were fixed, the result of this
7149    # check would be larger than it should be.
7150    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7151    ;;
7152
7153  gnu*)
7154    # Under GNU Hurd, this test is not required because there is
7155    # no limit to the length of command line arguments.
7156    # Libtool will interpret -1 as no limit whatsoever
7157    lt_cv_sys_max_cmd_len=-1;
7158    ;;
7159
7160  cygwin* | mingw* | cegcc*)
7161    # On Win9x/ME, this test blows up -- it succeeds, but takes
7162    # about 5 minutes as the teststring grows exponentially.
7163    # Worse, since 9x/ME are not pre-emptively multitasking,
7164    # you end up with a "frozen" computer, even though with patience
7165    # the test eventually succeeds (with a max line length of 256k).
7166    # Instead, let's just punt: use the minimum linelength reported by
7167    # all of the supported platforms: 8192 (on NT/2K/XP).
7168    lt_cv_sys_max_cmd_len=8192;
7169    ;;
7170
7171  mint*)
7172    # On MiNT this can take a long time and run out of memory.
7173    lt_cv_sys_max_cmd_len=8192;
7174    ;;
7175
7176  amigaos*)
7177    # On AmigaOS with pdksh, this test takes hours, literally.
7178    # So we just punt and use a minimum line length of 8192.
7179    lt_cv_sys_max_cmd_len=8192;
7180    ;;
7181
7182  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7183    # This has been around since 386BSD, at least.  Likely further.
7184    if test -x /sbin/sysctl; then
7185      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7186    elif test -x /usr/sbin/sysctl; then
7187      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7188    else
7189      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7190    fi
7191    # And add a safety zone
7192    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7193    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7194    ;;
7195
7196  interix*)
7197    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7198    lt_cv_sys_max_cmd_len=196608
7199    ;;
7200
7201  os2*)
7202    # The test takes a long time on OS/2.
7203    lt_cv_sys_max_cmd_len=8192
7204    ;;
7205
7206  osf*)
7207    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7208    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7209    # nice to cause kernel panics so lets avoid the loop below.
7210    # First set a reasonable default.
7211    lt_cv_sys_max_cmd_len=16384
7212    #
7213    if test -x /sbin/sysconfig; then
7214      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7215        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7216      esac
7217    fi
7218    ;;
7219  sco3.2v5*)
7220    lt_cv_sys_max_cmd_len=102400
7221    ;;
7222  sysv5* | sco5v6* | sysv4.2uw2*)
7223    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7224    if test -n "$kargmax"; then
7225      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7226    else
7227      lt_cv_sys_max_cmd_len=32768
7228    fi
7229    ;;
7230  *)
7231    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7232    if test -n "$lt_cv_sys_max_cmd_len" && \
7233       test undefined != "$lt_cv_sys_max_cmd_len"; then
7234      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7235      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7236    else
7237      # Make teststring a little bigger before we do anything with it.
7238      # a 1K string should be a reasonable start.
7239      for i in 1 2 3 4 5 6 7 8; do
7240        teststring=$teststring$teststring
7241      done
7242      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7243      # If test is not a shell built-in, we'll probably end up computing a
7244      # maximum length that is only half of the actual maximum length, but
7245      # we can't tell.
7246      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7247	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7248	      test 17 != "$i" # 1/2 MB should be enough
7249      do
7250        i=`expr $i + 1`
7251        teststring=$teststring$teststring
7252      done
7253      # Only check the string length outside the loop.
7254      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7255      teststring=
7256      # Add a significant safety factor because C++ compilers can tack on
7257      # massive amounts of additional arguments before passing them to the
7258      # linker.  It appears as though 1/2 is a usable value.
7259      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7260    fi
7261    ;;
7262  esac
7263
7264fi
7265
7266if test -n "$lt_cv_sys_max_cmd_len"; then
7267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7268$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7269else
7270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7271$as_echo "none" >&6; }
7272fi
7273max_cmd_len=$lt_cv_sys_max_cmd_len
7274
7275
7276
7277
7278
7279
7280: ${CP="cp -f"}
7281: ${MV="mv -f"}
7282: ${RM="rm -f"}
7283
7284if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7285  lt_unset=unset
7286else
7287  lt_unset=false
7288fi
7289
7290
7291
7292
7293
7294# test EBCDIC or ASCII
7295case `echo X|tr X '\101'` in
7296 A) # ASCII based system
7297    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7298  lt_SP2NL='tr \040 \012'
7299  lt_NL2SP='tr \015\012 \040\040'
7300  ;;
7301 *) # EBCDIC based system
7302  lt_SP2NL='tr \100 \n'
7303  lt_NL2SP='tr \r\n \100\100'
7304  ;;
7305esac
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7316$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7317if ${lt_cv_to_host_file_cmd+:} false; then :
7318  $as_echo_n "(cached) " >&6
7319else
7320  case $host in
7321  *-*-mingw* )
7322    case $build in
7323      *-*-mingw* ) # actually msys
7324        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7325        ;;
7326      *-*-cygwin* )
7327        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7328        ;;
7329      * ) # otherwise, assume *nix
7330        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7331        ;;
7332    esac
7333    ;;
7334  *-*-cygwin* )
7335    case $build in
7336      *-*-mingw* ) # actually msys
7337        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7338        ;;
7339      *-*-cygwin* )
7340        lt_cv_to_host_file_cmd=func_convert_file_noop
7341        ;;
7342      * ) # otherwise, assume *nix
7343        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7344        ;;
7345    esac
7346    ;;
7347  * ) # unhandled hosts (and "normal" native builds)
7348    lt_cv_to_host_file_cmd=func_convert_file_noop
7349    ;;
7350esac
7351
7352fi
7353
7354to_host_file_cmd=$lt_cv_to_host_file_cmd
7355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7356$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7357
7358
7359
7360
7361
7362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7363$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7364if ${lt_cv_to_tool_file_cmd+:} false; then :
7365  $as_echo_n "(cached) " >&6
7366else
7367  #assume ordinary cross tools, or native build.
7368lt_cv_to_tool_file_cmd=func_convert_file_noop
7369case $host in
7370  *-*-mingw* )
7371    case $build in
7372      *-*-mingw* ) # actually msys
7373        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7374        ;;
7375    esac
7376    ;;
7377esac
7378
7379fi
7380
7381to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7383$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7384
7385
7386
7387
7388
7389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7390$as_echo_n "checking for $LD option to reload object files... " >&6; }
7391if ${lt_cv_ld_reload_flag+:} false; then :
7392  $as_echo_n "(cached) " >&6
7393else
7394  lt_cv_ld_reload_flag='-r'
7395fi
7396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7397$as_echo "$lt_cv_ld_reload_flag" >&6; }
7398reload_flag=$lt_cv_ld_reload_flag
7399case $reload_flag in
7400"" | " "*) ;;
7401*) reload_flag=" $reload_flag" ;;
7402esac
7403reload_cmds='$LD$reload_flag -o $output$reload_objs'
7404case $host_os in
7405  cygwin* | mingw* | pw32* | cegcc*)
7406    if test yes != "$GCC"; then
7407      reload_cmds=false
7408    fi
7409    ;;
7410  darwin*)
7411    if test yes = "$GCC"; then
7412      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7413    else
7414      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7415    fi
7416    ;;
7417esac
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427if test -n "$ac_tool_prefix"; then
7428  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7429set dummy ${ac_tool_prefix}objdump; ac_word=$2
7430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431$as_echo_n "checking for $ac_word... " >&6; }
7432if ${ac_cv_prog_OBJDUMP+:} false; then :
7433  $as_echo_n "(cached) " >&6
7434else
7435  if test -n "$OBJDUMP"; then
7436  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7437else
7438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439for as_dir in $PATH
7440do
7441  IFS=$as_save_IFS
7442  test -z "$as_dir" && as_dir=.
7443    for ac_exec_ext in '' $ac_executable_extensions; do
7444  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7445    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7446    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447    break 2
7448  fi
7449done
7450  done
7451IFS=$as_save_IFS
7452
7453fi
7454fi
7455OBJDUMP=$ac_cv_prog_OBJDUMP
7456if test -n "$OBJDUMP"; then
7457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7458$as_echo "$OBJDUMP" >&6; }
7459else
7460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461$as_echo "no" >&6; }
7462fi
7463
7464
7465fi
7466if test -z "$ac_cv_prog_OBJDUMP"; then
7467  ac_ct_OBJDUMP=$OBJDUMP
7468  # Extract the first word of "objdump", so it can be a program name with args.
7469set dummy objdump; ac_word=$2
7470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471$as_echo_n "checking for $ac_word... " >&6; }
7472if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7473  $as_echo_n "(cached) " >&6
7474else
7475  if test -n "$ac_ct_OBJDUMP"; then
7476  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7477else
7478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479for as_dir in $PATH
7480do
7481  IFS=$as_save_IFS
7482  test -z "$as_dir" && as_dir=.
7483    for ac_exec_ext in '' $ac_executable_extensions; do
7484  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487    break 2
7488  fi
7489done
7490  done
7491IFS=$as_save_IFS
7492
7493fi
7494fi
7495ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7496if test -n "$ac_ct_OBJDUMP"; then
7497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7498$as_echo "$ac_ct_OBJDUMP" >&6; }
7499else
7500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501$as_echo "no" >&6; }
7502fi
7503
7504  if test "x$ac_ct_OBJDUMP" = x; then
7505    OBJDUMP="false"
7506  else
7507    case $cross_compiling:$ac_tool_warned in
7508yes:)
7509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511ac_tool_warned=yes ;;
7512esac
7513    OBJDUMP=$ac_ct_OBJDUMP
7514  fi
7515else
7516  OBJDUMP="$ac_cv_prog_OBJDUMP"
7517fi
7518
7519test -z "$OBJDUMP" && OBJDUMP=objdump
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7530$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7531if ${lt_cv_deplibs_check_method+:} false; then :
7532  $as_echo_n "(cached) " >&6
7533else
7534  lt_cv_file_magic_cmd='$MAGIC_CMD'
7535lt_cv_file_magic_test_file=
7536lt_cv_deplibs_check_method='unknown'
7537# Need to set the preceding variable on all platforms that support
7538# interlibrary dependencies.
7539# 'none' -- dependencies not supported.
7540# 'unknown' -- same as none, but documents that we really don't know.
7541# 'pass_all' -- all dependencies passed with no checks.
7542# 'test_compile' -- check by making test program.
7543# 'file_magic [[regex]]' -- check by looking for files in library path
7544# that responds to the $file_magic_cmd with a given extended regex.
7545# If you have 'file' or equivalent on your system and you're not sure
7546# whether 'pass_all' will *always* work, you probably want this one.
7547
7548case $host_os in
7549aix[4-9]*)
7550  lt_cv_deplibs_check_method=pass_all
7551  ;;
7552
7553beos*)
7554  lt_cv_deplibs_check_method=pass_all
7555  ;;
7556
7557bsdi[45]*)
7558  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7559  lt_cv_file_magic_cmd='/usr/bin/file -L'
7560  lt_cv_file_magic_test_file=/shlib/libc.so
7561  ;;
7562
7563cygwin*)
7564  # func_win32_libid is a shell function defined in ltmain.sh
7565  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7566  lt_cv_file_magic_cmd='func_win32_libid'
7567  ;;
7568
7569mingw* | pw32*)
7570  # Base MSYS/MinGW do not provide the 'file' command needed by
7571  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7572  # unless we find 'file', for example because we are cross-compiling.
7573  if ( file / ) >/dev/null 2>&1; then
7574    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7575    lt_cv_file_magic_cmd='func_win32_libid'
7576  else
7577    # Keep this pattern in sync with the one in func_win32_libid.
7578    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7579    lt_cv_file_magic_cmd='$OBJDUMP -f'
7580  fi
7581  ;;
7582
7583cegcc*)
7584  # use the weaker test based on 'objdump'. See mingw*.
7585  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7586  lt_cv_file_magic_cmd='$OBJDUMP -f'
7587  ;;
7588
7589darwin* | rhapsody*)
7590  lt_cv_deplibs_check_method=pass_all
7591  ;;
7592
7593freebsd* | dragonfly*)
7594  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7595    case $host_cpu in
7596    i*86 )
7597      # Not sure whether the presence of OpenBSD here was a mistake.
7598      # Let's accept both of them until this is cleared up.
7599      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7600      lt_cv_file_magic_cmd=/usr/bin/file
7601      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7602      ;;
7603    esac
7604  else
7605    lt_cv_deplibs_check_method=pass_all
7606  fi
7607  ;;
7608
7609haiku*)
7610  lt_cv_deplibs_check_method=pass_all
7611  ;;
7612
7613hpux10.20* | hpux11*)
7614  lt_cv_file_magic_cmd=/usr/bin/file
7615  case $host_cpu in
7616  ia64*)
7617    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7618    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7619    ;;
7620  hppa*64*)
7621    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]'
7622    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7623    ;;
7624  *)
7625    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7626    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7627    ;;
7628  esac
7629  ;;
7630
7631interix[3-9]*)
7632  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7633  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7634  ;;
7635
7636irix5* | irix6* | nonstopux*)
7637  case $LD in
7638  *-32|*"-32 ") libmagic=32-bit;;
7639  *-n32|*"-n32 ") libmagic=N32;;
7640  *-64|*"-64 ") libmagic=64-bit;;
7641  *) libmagic=never-match;;
7642  esac
7643  lt_cv_deplibs_check_method=pass_all
7644  ;;
7645
7646# This must be glibc/ELF.
7647linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7648  lt_cv_deplibs_check_method=pass_all
7649  ;;
7650
7651netbsd* | netbsdelf*-gnu)
7652  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7653    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7654  else
7655    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7656  fi
7657  ;;
7658
7659newos6*)
7660  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7661  lt_cv_file_magic_cmd=/usr/bin/file
7662  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7663  ;;
7664
7665*nto* | *qnx*)
7666  lt_cv_deplibs_check_method=pass_all
7667  ;;
7668
7669openbsd* | bitrig*)
7670  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7671    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7672  else
7673    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7674  fi
7675  ;;
7676
7677osf3* | osf4* | osf5*)
7678  lt_cv_deplibs_check_method=pass_all
7679  ;;
7680
7681rdos*)
7682  lt_cv_deplibs_check_method=pass_all
7683  ;;
7684
7685solaris*)
7686  lt_cv_deplibs_check_method=pass_all
7687  ;;
7688
7689sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7690  lt_cv_deplibs_check_method=pass_all
7691  ;;
7692
7693sysv4 | sysv4.3*)
7694  case $host_vendor in
7695  motorola)
7696    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]'
7697    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7698    ;;
7699  ncr)
7700    lt_cv_deplibs_check_method=pass_all
7701    ;;
7702  sequent)
7703    lt_cv_file_magic_cmd='/bin/file'
7704    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7705    ;;
7706  sni)
7707    lt_cv_file_magic_cmd='/bin/file'
7708    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7709    lt_cv_file_magic_test_file=/lib/libc.so
7710    ;;
7711  siemens)
7712    lt_cv_deplibs_check_method=pass_all
7713    ;;
7714  pc)
7715    lt_cv_deplibs_check_method=pass_all
7716    ;;
7717  esac
7718  ;;
7719
7720tpf*)
7721  lt_cv_deplibs_check_method=pass_all
7722  ;;
7723os2*)
7724  lt_cv_deplibs_check_method=pass_all
7725  ;;
7726esac
7727
7728fi
7729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7730$as_echo "$lt_cv_deplibs_check_method" >&6; }
7731
7732file_magic_glob=
7733want_nocaseglob=no
7734if test "$build" = "$host"; then
7735  case $host_os in
7736  mingw* | pw32*)
7737    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7738      want_nocaseglob=yes
7739    else
7740      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7741    fi
7742    ;;
7743  esac
7744fi
7745
7746file_magic_cmd=$lt_cv_file_magic_cmd
7747deplibs_check_method=$lt_cv_deplibs_check_method
7748test -z "$deplibs_check_method" && deplibs_check_method=unknown
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771if test -n "$ac_tool_prefix"; then
7772  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7773set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775$as_echo_n "checking for $ac_word... " >&6; }
7776if ${ac_cv_prog_DLLTOOL+:} false; then :
7777  $as_echo_n "(cached) " >&6
7778else
7779  if test -n "$DLLTOOL"; then
7780  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7781else
7782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783for as_dir in $PATH
7784do
7785  IFS=$as_save_IFS
7786  test -z "$as_dir" && as_dir=.
7787    for ac_exec_ext in '' $ac_executable_extensions; do
7788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791    break 2
7792  fi
7793done
7794  done
7795IFS=$as_save_IFS
7796
7797fi
7798fi
7799DLLTOOL=$ac_cv_prog_DLLTOOL
7800if test -n "$DLLTOOL"; then
7801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7802$as_echo "$DLLTOOL" >&6; }
7803else
7804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805$as_echo "no" >&6; }
7806fi
7807
7808
7809fi
7810if test -z "$ac_cv_prog_DLLTOOL"; then
7811  ac_ct_DLLTOOL=$DLLTOOL
7812  # Extract the first word of "dlltool", so it can be a program name with args.
7813set dummy dlltool; ac_word=$2
7814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815$as_echo_n "checking for $ac_word... " >&6; }
7816if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7817  $as_echo_n "(cached) " >&6
7818else
7819  if test -n "$ac_ct_DLLTOOL"; then
7820  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7821else
7822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823for as_dir in $PATH
7824do
7825  IFS=$as_save_IFS
7826  test -z "$as_dir" && as_dir=.
7827    for ac_exec_ext in '' $ac_executable_extensions; do
7828  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7830    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831    break 2
7832  fi
7833done
7834  done
7835IFS=$as_save_IFS
7836
7837fi
7838fi
7839ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7840if test -n "$ac_ct_DLLTOOL"; then
7841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7842$as_echo "$ac_ct_DLLTOOL" >&6; }
7843else
7844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845$as_echo "no" >&6; }
7846fi
7847
7848  if test "x$ac_ct_DLLTOOL" = x; then
7849    DLLTOOL="false"
7850  else
7851    case $cross_compiling:$ac_tool_warned in
7852yes:)
7853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7855ac_tool_warned=yes ;;
7856esac
7857    DLLTOOL=$ac_ct_DLLTOOL
7858  fi
7859else
7860  DLLTOOL="$ac_cv_prog_DLLTOOL"
7861fi
7862
7863test -z "$DLLTOOL" && DLLTOOL=dlltool
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7875$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7876if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7877  $as_echo_n "(cached) " >&6
7878else
7879  lt_cv_sharedlib_from_linklib_cmd='unknown'
7880
7881case $host_os in
7882cygwin* | mingw* | pw32* | cegcc*)
7883  # two different shell functions defined in ltmain.sh;
7884  # decide which one to use based on capabilities of $DLLTOOL
7885  case `$DLLTOOL --help 2>&1` in
7886  *--identify-strict*)
7887    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7888    ;;
7889  *)
7890    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7891    ;;
7892  esac
7893  ;;
7894*)
7895  # fallback: assume linklib IS sharedlib
7896  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7897  ;;
7898esac
7899
7900fi
7901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7902$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7903sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7904test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7905
7906
7907
7908
7909
7910
7911
7912
7913if test -n "$ac_tool_prefix"; then
7914  for ac_prog in ar
7915  do
7916    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7917set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919$as_echo_n "checking for $ac_word... " >&6; }
7920if ${ac_cv_prog_AR+:} false; then :
7921  $as_echo_n "(cached) " >&6
7922else
7923  if test -n "$AR"; then
7924  ac_cv_prog_AR="$AR" # Let the user override the test.
7925else
7926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927for as_dir in $PATH
7928do
7929  IFS=$as_save_IFS
7930  test -z "$as_dir" && as_dir=.
7931    for ac_exec_ext in '' $ac_executable_extensions; do
7932  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7934    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935    break 2
7936  fi
7937done
7938  done
7939IFS=$as_save_IFS
7940
7941fi
7942fi
7943AR=$ac_cv_prog_AR
7944if test -n "$AR"; then
7945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7946$as_echo "$AR" >&6; }
7947else
7948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949$as_echo "no" >&6; }
7950fi
7951
7952
7953    test -n "$AR" && break
7954  done
7955fi
7956if test -z "$AR"; then
7957  ac_ct_AR=$AR
7958  for ac_prog in ar
7959do
7960  # Extract the first word of "$ac_prog", so it can be a program name with args.
7961set dummy $ac_prog; ac_word=$2
7962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963$as_echo_n "checking for $ac_word... " >&6; }
7964if ${ac_cv_prog_ac_ct_AR+:} false; then :
7965  $as_echo_n "(cached) " >&6
7966else
7967  if test -n "$ac_ct_AR"; then
7968  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7969else
7970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971for as_dir in $PATH
7972do
7973  IFS=$as_save_IFS
7974  test -z "$as_dir" && as_dir=.
7975    for ac_exec_ext in '' $ac_executable_extensions; do
7976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977    ac_cv_prog_ac_ct_AR="$ac_prog"
7978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7979    break 2
7980  fi
7981done
7982  done
7983IFS=$as_save_IFS
7984
7985fi
7986fi
7987ac_ct_AR=$ac_cv_prog_ac_ct_AR
7988if test -n "$ac_ct_AR"; then
7989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7990$as_echo "$ac_ct_AR" >&6; }
7991else
7992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993$as_echo "no" >&6; }
7994fi
7995
7996
7997  test -n "$ac_ct_AR" && break
7998done
7999
8000  if test "x$ac_ct_AR" = x; then
8001    AR="false"
8002  else
8003    case $cross_compiling:$ac_tool_warned in
8004yes:)
8005{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8006$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8007ac_tool_warned=yes ;;
8008esac
8009    AR=$ac_ct_AR
8010  fi
8011fi
8012
8013: ${AR=ar}
8014: ${AR_FLAGS=cru}
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8027$as_echo_n "checking for archiver @FILE support... " >&6; }
8028if ${lt_cv_ar_at_file+:} false; then :
8029  $as_echo_n "(cached) " >&6
8030else
8031  lt_cv_ar_at_file=no
8032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8033/* end confdefs.h.  */
8034
8035int
8036main ()
8037{
8038
8039  ;
8040  return 0;
8041}
8042_ACEOF
8043if ac_fn_c_try_compile "$LINENO"; then :
8044  echo conftest.$ac_objext > conftest.lst
8045      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8046      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8047  (eval $lt_ar_try) 2>&5
8048  ac_status=$?
8049  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8050  test $ac_status = 0; }
8051      if test 0 -eq "$ac_status"; then
8052	# Ensure the archiver fails upon bogus file names.
8053	rm -f conftest.$ac_objext libconftest.a
8054	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8055  (eval $lt_ar_try) 2>&5
8056  ac_status=$?
8057  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8058  test $ac_status = 0; }
8059	if test 0 -ne "$ac_status"; then
8060          lt_cv_ar_at_file=@
8061        fi
8062      fi
8063      rm -f conftest.* libconftest.a
8064
8065fi
8066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8067
8068fi
8069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8070$as_echo "$lt_cv_ar_at_file" >&6; }
8071
8072if test no = "$lt_cv_ar_at_file"; then
8073  archiver_list_spec=
8074else
8075  archiver_list_spec=$lt_cv_ar_at_file
8076fi
8077
8078
8079
8080
8081
8082
8083
8084if test -n "$ac_tool_prefix"; then
8085  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8086set dummy ${ac_tool_prefix}strip; ac_word=$2
8087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088$as_echo_n "checking for $ac_word... " >&6; }
8089if ${ac_cv_prog_STRIP+:} false; then :
8090  $as_echo_n "(cached) " >&6
8091else
8092  if test -n "$STRIP"; then
8093  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8094else
8095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096for as_dir in $PATH
8097do
8098  IFS=$as_save_IFS
8099  test -z "$as_dir" && as_dir=.
8100    for ac_exec_ext in '' $ac_executable_extensions; do
8101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104    break 2
8105  fi
8106done
8107  done
8108IFS=$as_save_IFS
8109
8110fi
8111fi
8112STRIP=$ac_cv_prog_STRIP
8113if test -n "$STRIP"; then
8114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8115$as_echo "$STRIP" >&6; }
8116else
8117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118$as_echo "no" >&6; }
8119fi
8120
8121
8122fi
8123if test -z "$ac_cv_prog_STRIP"; then
8124  ac_ct_STRIP=$STRIP
8125  # Extract the first word of "strip", so it can be a program name with args.
8126set dummy strip; ac_word=$2
8127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8128$as_echo_n "checking for $ac_word... " >&6; }
8129if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8130  $as_echo_n "(cached) " >&6
8131else
8132  if test -n "$ac_ct_STRIP"; then
8133  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8134else
8135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136for as_dir in $PATH
8137do
8138  IFS=$as_save_IFS
8139  test -z "$as_dir" && as_dir=.
8140    for ac_exec_ext in '' $ac_executable_extensions; do
8141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142    ac_cv_prog_ac_ct_STRIP="strip"
8143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144    break 2
8145  fi
8146done
8147  done
8148IFS=$as_save_IFS
8149
8150fi
8151fi
8152ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8153if test -n "$ac_ct_STRIP"; then
8154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8155$as_echo "$ac_ct_STRIP" >&6; }
8156else
8157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158$as_echo "no" >&6; }
8159fi
8160
8161  if test "x$ac_ct_STRIP" = x; then
8162    STRIP=":"
8163  else
8164    case $cross_compiling:$ac_tool_warned in
8165yes:)
8166{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168ac_tool_warned=yes ;;
8169esac
8170    STRIP=$ac_ct_STRIP
8171  fi
8172else
8173  STRIP="$ac_cv_prog_STRIP"
8174fi
8175
8176test -z "$STRIP" && STRIP=:
8177
8178
8179
8180
8181
8182
8183if test -n "$ac_tool_prefix"; then
8184  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8185set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187$as_echo_n "checking for $ac_word... " >&6; }
8188if ${ac_cv_prog_RANLIB+:} false; then :
8189  $as_echo_n "(cached) " >&6
8190else
8191  if test -n "$RANLIB"; then
8192  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8193else
8194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195for as_dir in $PATH
8196do
8197  IFS=$as_save_IFS
8198  test -z "$as_dir" && as_dir=.
8199    for ac_exec_ext in '' $ac_executable_extensions; do
8200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203    break 2
8204  fi
8205done
8206  done
8207IFS=$as_save_IFS
8208
8209fi
8210fi
8211RANLIB=$ac_cv_prog_RANLIB
8212if test -n "$RANLIB"; then
8213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8214$as_echo "$RANLIB" >&6; }
8215else
8216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217$as_echo "no" >&6; }
8218fi
8219
8220
8221fi
8222if test -z "$ac_cv_prog_RANLIB"; then
8223  ac_ct_RANLIB=$RANLIB
8224  # Extract the first word of "ranlib", so it can be a program name with args.
8225set dummy ranlib; ac_word=$2
8226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227$as_echo_n "checking for $ac_word... " >&6; }
8228if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8229  $as_echo_n "(cached) " >&6
8230else
8231  if test -n "$ac_ct_RANLIB"; then
8232  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8233else
8234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235for as_dir in $PATH
8236do
8237  IFS=$as_save_IFS
8238  test -z "$as_dir" && as_dir=.
8239    for ac_exec_ext in '' $ac_executable_extensions; do
8240  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241    ac_cv_prog_ac_ct_RANLIB="ranlib"
8242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243    break 2
8244  fi
8245done
8246  done
8247IFS=$as_save_IFS
8248
8249fi
8250fi
8251ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8252if test -n "$ac_ct_RANLIB"; then
8253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8254$as_echo "$ac_ct_RANLIB" >&6; }
8255else
8256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257$as_echo "no" >&6; }
8258fi
8259
8260  if test "x$ac_ct_RANLIB" = x; then
8261    RANLIB=":"
8262  else
8263    case $cross_compiling:$ac_tool_warned in
8264yes:)
8265{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8267ac_tool_warned=yes ;;
8268esac
8269    RANLIB=$ac_ct_RANLIB
8270  fi
8271else
8272  RANLIB="$ac_cv_prog_RANLIB"
8273fi
8274
8275test -z "$RANLIB" && RANLIB=:
8276
8277
8278
8279
8280
8281
8282# Determine commands to create old-style static archives.
8283old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8284old_postinstall_cmds='chmod 644 $oldlib'
8285old_postuninstall_cmds=
8286
8287if test -n "$RANLIB"; then
8288  case $host_os in
8289  bitrig* | openbsd*)
8290    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8291    ;;
8292  *)
8293    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8294    ;;
8295  esac
8296  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8297fi
8298
8299case $host_os in
8300  darwin*)
8301    lock_old_archive_extraction=yes ;;
8302  *)
8303    lock_old_archive_extraction=no ;;
8304esac
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344# If no C compiler was specified, use CC.
8345LTCC=${LTCC-"$CC"}
8346
8347# If no C compiler flags were specified, use CFLAGS.
8348LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8349
8350# Allow CC to be a program name with arguments.
8351compiler=$CC
8352
8353
8354# Check for command to grab the raw symbol name followed by C symbol from nm.
8355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8356$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8357if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8358  $as_echo_n "(cached) " >&6
8359else
8360
8361# These are sane defaults that work on at least a few old systems.
8362# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8363
8364# Character class describing NM global symbol codes.
8365symcode='[BCDEGRST]'
8366
8367# Regexp to match symbols that can be accessed directly from C.
8368sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8369
8370# Define system-specific variables.
8371case $host_os in
8372aix*)
8373  symcode='[BCDT]'
8374  ;;
8375cygwin* | mingw* | pw32* | cegcc*)
8376  symcode='[ABCDGISTW]'
8377  ;;
8378hpux*)
8379  if test ia64 = "$host_cpu"; then
8380    symcode='[ABCDEGRST]'
8381  fi
8382  ;;
8383irix* | nonstopux*)
8384  symcode='[BCDEGRST]'
8385  ;;
8386osf*)
8387  symcode='[BCDEGQRST]'
8388  ;;
8389solaris*)
8390  symcode='[BDRT]'
8391  ;;
8392sco3.2v5*)
8393  symcode='[DT]'
8394  ;;
8395sysv4.2uw2*)
8396  symcode='[DT]'
8397  ;;
8398sysv5* | sco5v6* | unixware* | OpenUNIX*)
8399  symcode='[ABDT]'
8400  ;;
8401sysv4)
8402  symcode='[DFNSTU]'
8403  ;;
8404esac
8405
8406# If we're using GNU nm, then use its standard symbol codes.
8407case `$NM -V 2>&1` in
8408*GNU* | *'with BFD'*)
8409  symcode='[ABCDGIRSTW]' ;;
8410esac
8411
8412if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8413  # Gets list of data symbols to import.
8414  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8415  # Adjust the below global symbol transforms to fixup imported variables.
8416  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8417  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8418  lt_c_name_lib_hook="\
8419  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8420  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8421else
8422  # Disable hooks by default.
8423  lt_cv_sys_global_symbol_to_import=
8424  lt_cdecl_hook=
8425  lt_c_name_hook=
8426  lt_c_name_lib_hook=
8427fi
8428
8429# Transform an extracted symbol line into a proper C declaration.
8430# Some systems (esp. on ia64) link data and code symbols differently,
8431# so use this general approach.
8432lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8433$lt_cdecl_hook\
8434" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8435" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8436
8437# Transform an extracted symbol line into symbol name and symbol address
8438lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8439$lt_c_name_hook\
8440" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8441" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8442
8443# Transform an extracted symbol line into symbol name with lib prefix and
8444# symbol address.
8445lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8446$lt_c_name_lib_hook\
8447" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8448" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8449" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8450
8451# Handle CRLF in mingw tool chain
8452opt_cr=
8453case $build_os in
8454mingw*)
8455  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8456  ;;
8457esac
8458
8459# Try without a prefix underscore, then with it.
8460for ac_symprfx in "" "_"; do
8461
8462  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8463  symxfrm="\\1 $ac_symprfx\\2 \\2"
8464
8465  # Write the raw and C identifiers.
8466  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8467    # Fake it for dumpbin and say T for any non-static function,
8468    # D for any global variable and I for any imported variable.
8469    # Also find C++ and __fastcall symbols from MSVC++,
8470    # which start with @ or ?.
8471    lt_cv_sys_global_symbol_pipe="$AWK '"\
8472"     {last_section=section; section=\$ 3};"\
8473"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8474"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8475"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8476"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8477"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8478"     \$ 0!~/External *\|/{next};"\
8479"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8480"     {if(hide[section]) next};"\
8481"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8482"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8483"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8484"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8485"     ' prfx=^$ac_symprfx"
8486  else
8487    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8488  fi
8489  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8490
8491  # Check to see that the pipe works correctly.
8492  pipe_works=no
8493
8494  rm -f conftest*
8495  cat > conftest.$ac_ext <<_LT_EOF
8496#ifdef __cplusplus
8497extern "C" {
8498#endif
8499char nm_test_var;
8500void nm_test_func(void);
8501void nm_test_func(void){}
8502#ifdef __cplusplus
8503}
8504#endif
8505int main(){nm_test_var='a';nm_test_func();return(0);}
8506_LT_EOF
8507
8508  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8509  (eval $ac_compile) 2>&5
8510  ac_status=$?
8511  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8512  test $ac_status = 0; }; then
8513    # Now try to grab the symbols.
8514    nlist=conftest.nm
8515    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8516  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8517  ac_status=$?
8518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8519  test $ac_status = 0; } && test -s "$nlist"; then
8520      # Try sorting and uniquifying the output.
8521      if sort "$nlist" | uniq > "$nlist"T; then
8522	mv -f "$nlist"T "$nlist"
8523      else
8524	rm -f "$nlist"T
8525      fi
8526
8527      # Make sure that we snagged all the symbols we need.
8528      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8529	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8530	  cat <<_LT_EOF > conftest.$ac_ext
8531/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8532#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8533/* DATA imports from DLLs on WIN32 can't be const, because runtime
8534   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8535# define LT_DLSYM_CONST
8536#elif defined __osf__
8537/* This system does not cope well with relocations in const data.  */
8538# define LT_DLSYM_CONST
8539#else
8540# define LT_DLSYM_CONST const
8541#endif
8542
8543#ifdef __cplusplus
8544extern "C" {
8545#endif
8546
8547_LT_EOF
8548	  # Now generate the symbol file.
8549	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8550
8551	  cat <<_LT_EOF >> conftest.$ac_ext
8552
8553/* The mapping between symbol names and symbols.  */
8554LT_DLSYM_CONST struct {
8555  const char *name;
8556  void       *address;
8557}
8558lt__PROGRAM__LTX_preloaded_symbols[] =
8559{
8560  { "@PROGRAM@", (void *) 0 },
8561_LT_EOF
8562	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8563	  cat <<\_LT_EOF >> conftest.$ac_ext
8564  {0, (void *) 0}
8565};
8566
8567/* This works around a problem in FreeBSD linker */
8568#ifdef FREEBSD_WORKAROUND
8569static const void *lt_preloaded_setup() {
8570  return lt__PROGRAM__LTX_preloaded_symbols;
8571}
8572#endif
8573
8574#ifdef __cplusplus
8575}
8576#endif
8577_LT_EOF
8578	  # Now try linking the two files.
8579	  mv conftest.$ac_objext conftstm.$ac_objext
8580	  lt_globsym_save_LIBS=$LIBS
8581	  lt_globsym_save_CFLAGS=$CFLAGS
8582	  LIBS=conftstm.$ac_objext
8583	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8584	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8585  (eval $ac_link) 2>&5
8586  ac_status=$?
8587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8588  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8589	    pipe_works=yes
8590	  fi
8591	  LIBS=$lt_globsym_save_LIBS
8592	  CFLAGS=$lt_globsym_save_CFLAGS
8593	else
8594	  echo "cannot find nm_test_func in $nlist" >&5
8595	fi
8596      else
8597	echo "cannot find nm_test_var in $nlist" >&5
8598      fi
8599    else
8600      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8601    fi
8602  else
8603    echo "$progname: failed program was:" >&5
8604    cat conftest.$ac_ext >&5
8605  fi
8606  rm -rf conftest* conftst*
8607
8608  # Do not use the global_symbol_pipe unless it works.
8609  if test yes = "$pipe_works"; then
8610    break
8611  else
8612    lt_cv_sys_global_symbol_pipe=
8613  fi
8614done
8615
8616fi
8617
8618if test -z "$lt_cv_sys_global_symbol_pipe"; then
8619  lt_cv_sys_global_symbol_to_cdecl=
8620fi
8621if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8623$as_echo "failed" >&6; }
8624else
8625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8626$as_echo "ok" >&6; }
8627fi
8628
8629# Response file support.
8630if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8631  nm_file_list_spec='@'
8632elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8633  nm_file_list_spec='@'
8634fi
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8673$as_echo_n "checking for sysroot... " >&6; }
8674
8675# Check whether --with-sysroot was given.
8676if test "${with_sysroot+set}" = set; then :
8677  withval=$with_sysroot;
8678else
8679  with_sysroot=no
8680fi
8681
8682
8683lt_sysroot=
8684case $with_sysroot in #(
8685 yes)
8686   if test yes = "$GCC"; then
8687     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8688   fi
8689   ;; #(
8690 /*)
8691   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8692   ;; #(
8693 no|'')
8694   ;; #(
8695 *)
8696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8697$as_echo "$with_sysroot" >&6; }
8698   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8699   ;;
8700esac
8701
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8703$as_echo "${lt_sysroot:-no}" >&6; }
8704
8705
8706
8707
8708
8709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8710$as_echo_n "checking for a working dd... " >&6; }
8711if ${ac_cv_path_lt_DD+:} false; then :
8712  $as_echo_n "(cached) " >&6
8713else
8714  printf 0123456789abcdef0123456789abcdef >conftest.i
8715cat conftest.i conftest.i >conftest2.i
8716: ${lt_DD:=$DD}
8717if test -z "$lt_DD"; then
8718  ac_path_lt_DD_found=false
8719  # Loop through the user's path and test for each of PROGNAME-LIST
8720  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8721for as_dir in $PATH
8722do
8723  IFS=$as_save_IFS
8724  test -z "$as_dir" && as_dir=.
8725    for ac_prog in dd; do
8726    for ac_exec_ext in '' $ac_executable_extensions; do
8727      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8728      as_fn_executable_p "$ac_path_lt_DD" || continue
8729if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8730  cmp -s conftest.i conftest.out \
8731  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8732fi
8733      $ac_path_lt_DD_found && break 3
8734    done
8735  done
8736  done
8737IFS=$as_save_IFS
8738  if test -z "$ac_cv_path_lt_DD"; then
8739    :
8740  fi
8741else
8742  ac_cv_path_lt_DD=$lt_DD
8743fi
8744
8745rm -f conftest.i conftest2.i conftest.out
8746fi
8747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8748$as_echo "$ac_cv_path_lt_DD" >&6; }
8749
8750
8751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8752$as_echo_n "checking how to truncate binary pipes... " >&6; }
8753if ${lt_cv_truncate_bin+:} false; then :
8754  $as_echo_n "(cached) " >&6
8755else
8756  printf 0123456789abcdef0123456789abcdef >conftest.i
8757cat conftest.i conftest.i >conftest2.i
8758lt_cv_truncate_bin=
8759if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8760  cmp -s conftest.i conftest.out \
8761  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8762fi
8763rm -f conftest.i conftest2.i conftest.out
8764test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8765fi
8766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8767$as_echo "$lt_cv_truncate_bin" >&6; }
8768
8769
8770
8771
8772
8773
8774
8775# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8776func_cc_basename ()
8777{
8778    for cc_temp in $*""; do
8779      case $cc_temp in
8780        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8781        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8782        \-*) ;;
8783        *) break;;
8784      esac
8785    done
8786    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8787}
8788
8789# Check whether --enable-libtool-lock was given.
8790if test "${enable_libtool_lock+set}" = set; then :
8791  enableval=$enable_libtool_lock;
8792fi
8793
8794test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8795
8796# Some flags need to be propagated to the compiler or linker for good
8797# libtool support.
8798case $host in
8799ia64-*-hpux*)
8800  # Find out what ABI is being produced by ac_compile, and set mode
8801  # options accordingly.
8802  echo 'int i;' > conftest.$ac_ext
8803  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8804  (eval $ac_compile) 2>&5
8805  ac_status=$?
8806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8807  test $ac_status = 0; }; then
8808    case `/usr/bin/file conftest.$ac_objext` in
8809      *ELF-32*)
8810	HPUX_IA64_MODE=32
8811	;;
8812      *ELF-64*)
8813	HPUX_IA64_MODE=64
8814	;;
8815    esac
8816  fi
8817  rm -rf conftest*
8818  ;;
8819*-*-irix6*)
8820  # Find out what ABI is being produced by ac_compile, and set linker
8821  # options accordingly.
8822  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8823  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8824  (eval $ac_compile) 2>&5
8825  ac_status=$?
8826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8827  test $ac_status = 0; }; then
8828    if test yes = "$lt_cv_prog_gnu_ld"; then
8829      case `/usr/bin/file conftest.$ac_objext` in
8830	*32-bit*)
8831	  LD="${LD-ld} -melf32bsmip"
8832	  ;;
8833	*N32*)
8834	  LD="${LD-ld} -melf32bmipn32"
8835	  ;;
8836	*64-bit*)
8837	  LD="${LD-ld} -melf64bmip"
8838	;;
8839      esac
8840    else
8841      case `/usr/bin/file conftest.$ac_objext` in
8842	*32-bit*)
8843	  LD="${LD-ld} -32"
8844	  ;;
8845	*N32*)
8846	  LD="${LD-ld} -n32"
8847	  ;;
8848	*64-bit*)
8849	  LD="${LD-ld} -64"
8850	  ;;
8851      esac
8852    fi
8853  fi
8854  rm -rf conftest*
8855  ;;
8856
8857mips64*-*linux*)
8858  # Find out what ABI is being produced by ac_compile, and set linker
8859  # options accordingly.
8860  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8861  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8862  (eval $ac_compile) 2>&5
8863  ac_status=$?
8864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8865  test $ac_status = 0; }; then
8866    emul=elf
8867    case `/usr/bin/file conftest.$ac_objext` in
8868      *32-bit*)
8869	emul="${emul}32"
8870	;;
8871      *64-bit*)
8872	emul="${emul}64"
8873	;;
8874    esac
8875    case `/usr/bin/file conftest.$ac_objext` in
8876      *MSB*)
8877	emul="${emul}btsmip"
8878	;;
8879      *LSB*)
8880	emul="${emul}ltsmip"
8881	;;
8882    esac
8883    case `/usr/bin/file conftest.$ac_objext` in
8884      *N32*)
8885	emul="${emul}n32"
8886	;;
8887    esac
8888    LD="${LD-ld} -m $emul"
8889  fi
8890  rm -rf conftest*
8891  ;;
8892
8893x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8894s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8895  # Find out what ABI is being produced by ac_compile, and set linker
8896  # options accordingly.  Note that the listed cases only cover the
8897  # situations where additional linker options are needed (such as when
8898  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8899  # vice versa); the common cases where no linker options are needed do
8900  # not appear in the list.
8901  echo 'int i;' > conftest.$ac_ext
8902  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8903  (eval $ac_compile) 2>&5
8904  ac_status=$?
8905  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8906  test $ac_status = 0; }; then
8907    case `/usr/bin/file conftest.o` in
8908      *32-bit*)
8909	case $host in
8910	  x86_64-*kfreebsd*-gnu)
8911	    LD="${LD-ld} -m elf_i386_fbsd"
8912	    ;;
8913	  x86_64-*linux*)
8914	    case `/usr/bin/file conftest.o` in
8915	      *x86-64*)
8916		LD="${LD-ld} -m elf32_x86_64"
8917		;;
8918	      *)
8919		LD="${LD-ld} -m elf_i386"
8920		;;
8921	    esac
8922	    ;;
8923	  powerpc64le-*linux*)
8924	    LD="${LD-ld} -m elf32lppclinux"
8925	    ;;
8926	  powerpc64-*linux*)
8927	    LD="${LD-ld} -m elf32ppclinux"
8928	    ;;
8929	  s390x-*linux*)
8930	    LD="${LD-ld} -m elf_s390"
8931	    ;;
8932	  sparc64-*linux*)
8933	    LD="${LD-ld} -m elf32_sparc"
8934	    ;;
8935	esac
8936	;;
8937      *64-bit*)
8938	case $host in
8939	  x86_64-*kfreebsd*-gnu)
8940	    LD="${LD-ld} -m elf_x86_64_fbsd"
8941	    ;;
8942	  x86_64-*linux*)
8943	    LD="${LD-ld} -m elf_x86_64"
8944	    ;;
8945	  powerpcle-*linux*)
8946	    LD="${LD-ld} -m elf64lppc"
8947	    ;;
8948	  powerpc-*linux*)
8949	    LD="${LD-ld} -m elf64ppc"
8950	    ;;
8951	  s390*-*linux*|s390*-*tpf*)
8952	    LD="${LD-ld} -m elf64_s390"
8953	    ;;
8954	  sparc*-*linux*)
8955	    LD="${LD-ld} -m elf64_sparc"
8956	    ;;
8957	esac
8958	;;
8959    esac
8960  fi
8961  rm -rf conftest*
8962  ;;
8963
8964*-*-sco3.2v5*)
8965  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8966  SAVE_CFLAGS=$CFLAGS
8967  CFLAGS="$CFLAGS -belf"
8968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8969$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8970if ${lt_cv_cc_needs_belf+:} false; then :
8971  $as_echo_n "(cached) " >&6
8972else
8973  ac_ext=c
8974ac_cpp='$CPP $CPPFLAGS'
8975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8977ac_compiler_gnu=$ac_cv_c_compiler_gnu
8978
8979     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8980/* end confdefs.h.  */
8981
8982int
8983main ()
8984{
8985
8986  ;
8987  return 0;
8988}
8989_ACEOF
8990if ac_fn_c_try_link "$LINENO"; then :
8991  lt_cv_cc_needs_belf=yes
8992else
8993  lt_cv_cc_needs_belf=no
8994fi
8995rm -f core conftest.err conftest.$ac_objext \
8996    conftest$ac_exeext conftest.$ac_ext
8997     ac_ext=c
8998ac_cpp='$CPP $CPPFLAGS'
8999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9001ac_compiler_gnu=$ac_cv_c_compiler_gnu
9002
9003fi
9004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9005$as_echo "$lt_cv_cc_needs_belf" >&6; }
9006  if test yes != "$lt_cv_cc_needs_belf"; then
9007    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9008    CFLAGS=$SAVE_CFLAGS
9009  fi
9010  ;;
9011*-*solaris*)
9012  # Find out what ABI is being produced by ac_compile, and set linker
9013  # options accordingly.
9014  echo 'int i;' > conftest.$ac_ext
9015  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9016  (eval $ac_compile) 2>&5
9017  ac_status=$?
9018  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9019  test $ac_status = 0; }; then
9020    case `/usr/bin/file conftest.o` in
9021    *64-bit*)
9022      case $lt_cv_prog_gnu_ld in
9023      yes*)
9024        case $host in
9025        i?86-*-solaris*|x86_64-*-solaris*)
9026          LD="${LD-ld} -m elf_x86_64"
9027          ;;
9028        sparc*-*-solaris*)
9029          LD="${LD-ld} -m elf64_sparc"
9030          ;;
9031        esac
9032        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9033        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9034          LD=${LD-ld}_sol2
9035        fi
9036        ;;
9037      *)
9038	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9039	  LD="${LD-ld} -64"
9040	fi
9041	;;
9042      esac
9043      ;;
9044    esac
9045  fi
9046  rm -rf conftest*
9047  ;;
9048esac
9049
9050need_locks=$enable_libtool_lock
9051
9052if test -n "$ac_tool_prefix"; then
9053  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9054set dummy ${ac_tool_prefix}mt; ac_word=$2
9055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9056$as_echo_n "checking for $ac_word... " >&6; }
9057if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9058  $as_echo_n "(cached) " >&6
9059else
9060  if test -n "$MANIFEST_TOOL"; then
9061  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9062else
9063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9064for as_dir in $PATH
9065do
9066  IFS=$as_save_IFS
9067  test -z "$as_dir" && as_dir=.
9068    for ac_exec_ext in '' $ac_executable_extensions; do
9069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9070    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9072    break 2
9073  fi
9074done
9075  done
9076IFS=$as_save_IFS
9077
9078fi
9079fi
9080MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9081if test -n "$MANIFEST_TOOL"; then
9082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9083$as_echo "$MANIFEST_TOOL" >&6; }
9084else
9085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086$as_echo "no" >&6; }
9087fi
9088
9089
9090fi
9091if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9092  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9093  # Extract the first word of "mt", so it can be a program name with args.
9094set dummy mt; ac_word=$2
9095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9096$as_echo_n "checking for $ac_word... " >&6; }
9097if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9098  $as_echo_n "(cached) " >&6
9099else
9100  if test -n "$ac_ct_MANIFEST_TOOL"; then
9101  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9102else
9103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9104for as_dir in $PATH
9105do
9106  IFS=$as_save_IFS
9107  test -z "$as_dir" && as_dir=.
9108    for ac_exec_ext in '' $ac_executable_extensions; do
9109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9110    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9112    break 2
9113  fi
9114done
9115  done
9116IFS=$as_save_IFS
9117
9118fi
9119fi
9120ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9121if test -n "$ac_ct_MANIFEST_TOOL"; then
9122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9123$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9124else
9125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9126$as_echo "no" >&6; }
9127fi
9128
9129  if test "x$ac_ct_MANIFEST_TOOL" = x; then
9130    MANIFEST_TOOL=":"
9131  else
9132    case $cross_compiling:$ac_tool_warned in
9133yes:)
9134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9136ac_tool_warned=yes ;;
9137esac
9138    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9139  fi
9140else
9141  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9142fi
9143
9144test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9146$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9147if ${lt_cv_path_mainfest_tool+:} false; then :
9148  $as_echo_n "(cached) " >&6
9149else
9150  lt_cv_path_mainfest_tool=no
9151  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9152  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9153  cat conftest.err >&5
9154  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9155    lt_cv_path_mainfest_tool=yes
9156  fi
9157  rm -f conftest*
9158fi
9159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9160$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9161if test yes != "$lt_cv_path_mainfest_tool"; then
9162  MANIFEST_TOOL=:
9163fi
9164
9165
9166
9167
9168
9169
9170  case $host_os in
9171    rhapsody* | darwin*)
9172    if test -n "$ac_tool_prefix"; then
9173  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9174set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9176$as_echo_n "checking for $ac_word... " >&6; }
9177if ${ac_cv_prog_DSYMUTIL+:} false; then :
9178  $as_echo_n "(cached) " >&6
9179else
9180  if test -n "$DSYMUTIL"; then
9181  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9182else
9183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184for as_dir in $PATH
9185do
9186  IFS=$as_save_IFS
9187  test -z "$as_dir" && as_dir=.
9188    for ac_exec_ext in '' $ac_executable_extensions; do
9189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9190    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9192    break 2
9193  fi
9194done
9195  done
9196IFS=$as_save_IFS
9197
9198fi
9199fi
9200DSYMUTIL=$ac_cv_prog_DSYMUTIL
9201if test -n "$DSYMUTIL"; then
9202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9203$as_echo "$DSYMUTIL" >&6; }
9204else
9205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9206$as_echo "no" >&6; }
9207fi
9208
9209
9210fi
9211if test -z "$ac_cv_prog_DSYMUTIL"; then
9212  ac_ct_DSYMUTIL=$DSYMUTIL
9213  # Extract the first word of "dsymutil", so it can be a program name with args.
9214set dummy dsymutil; ac_word=$2
9215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216$as_echo_n "checking for $ac_word... " >&6; }
9217if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9218  $as_echo_n "(cached) " >&6
9219else
9220  if test -n "$ac_ct_DSYMUTIL"; then
9221  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9222else
9223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224for as_dir in $PATH
9225do
9226  IFS=$as_save_IFS
9227  test -z "$as_dir" && as_dir=.
9228    for ac_exec_ext in '' $ac_executable_extensions; do
9229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9230    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232    break 2
9233  fi
9234done
9235  done
9236IFS=$as_save_IFS
9237
9238fi
9239fi
9240ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9241if test -n "$ac_ct_DSYMUTIL"; then
9242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9243$as_echo "$ac_ct_DSYMUTIL" >&6; }
9244else
9245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9246$as_echo "no" >&6; }
9247fi
9248
9249  if test "x$ac_ct_DSYMUTIL" = x; then
9250    DSYMUTIL=":"
9251  else
9252    case $cross_compiling:$ac_tool_warned in
9253yes:)
9254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9256ac_tool_warned=yes ;;
9257esac
9258    DSYMUTIL=$ac_ct_DSYMUTIL
9259  fi
9260else
9261  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9262fi
9263
9264    if test -n "$ac_tool_prefix"; then
9265  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9266set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9268$as_echo_n "checking for $ac_word... " >&6; }
9269if ${ac_cv_prog_NMEDIT+:} false; then :
9270  $as_echo_n "(cached) " >&6
9271else
9272  if test -n "$NMEDIT"; then
9273  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9274else
9275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276for as_dir in $PATH
9277do
9278  IFS=$as_save_IFS
9279  test -z "$as_dir" && as_dir=.
9280    for ac_exec_ext in '' $ac_executable_extensions; do
9281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9282    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9284    break 2
9285  fi
9286done
9287  done
9288IFS=$as_save_IFS
9289
9290fi
9291fi
9292NMEDIT=$ac_cv_prog_NMEDIT
9293if test -n "$NMEDIT"; then
9294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9295$as_echo "$NMEDIT" >&6; }
9296else
9297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298$as_echo "no" >&6; }
9299fi
9300
9301
9302fi
9303if test -z "$ac_cv_prog_NMEDIT"; then
9304  ac_ct_NMEDIT=$NMEDIT
9305  # Extract the first word of "nmedit", so it can be a program name with args.
9306set dummy nmedit; ac_word=$2
9307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9308$as_echo_n "checking for $ac_word... " >&6; }
9309if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9310  $as_echo_n "(cached) " >&6
9311else
9312  if test -n "$ac_ct_NMEDIT"; then
9313  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9314else
9315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316for as_dir in $PATH
9317do
9318  IFS=$as_save_IFS
9319  test -z "$as_dir" && as_dir=.
9320    for ac_exec_ext in '' $ac_executable_extensions; do
9321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9322    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324    break 2
9325  fi
9326done
9327  done
9328IFS=$as_save_IFS
9329
9330fi
9331fi
9332ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9333if test -n "$ac_ct_NMEDIT"; then
9334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9335$as_echo "$ac_ct_NMEDIT" >&6; }
9336else
9337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338$as_echo "no" >&6; }
9339fi
9340
9341  if test "x$ac_ct_NMEDIT" = x; then
9342    NMEDIT=":"
9343  else
9344    case $cross_compiling:$ac_tool_warned in
9345yes:)
9346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9348ac_tool_warned=yes ;;
9349esac
9350    NMEDIT=$ac_ct_NMEDIT
9351  fi
9352else
9353  NMEDIT="$ac_cv_prog_NMEDIT"
9354fi
9355
9356    if test -n "$ac_tool_prefix"; then
9357  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9358set dummy ${ac_tool_prefix}lipo; ac_word=$2
9359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9360$as_echo_n "checking for $ac_word... " >&6; }
9361if ${ac_cv_prog_LIPO+:} false; then :
9362  $as_echo_n "(cached) " >&6
9363else
9364  if test -n "$LIPO"; then
9365  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9366else
9367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368for as_dir in $PATH
9369do
9370  IFS=$as_save_IFS
9371  test -z "$as_dir" && as_dir=.
9372    for ac_exec_ext in '' $ac_executable_extensions; do
9373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9374    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376    break 2
9377  fi
9378done
9379  done
9380IFS=$as_save_IFS
9381
9382fi
9383fi
9384LIPO=$ac_cv_prog_LIPO
9385if test -n "$LIPO"; then
9386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9387$as_echo "$LIPO" >&6; }
9388else
9389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390$as_echo "no" >&6; }
9391fi
9392
9393
9394fi
9395if test -z "$ac_cv_prog_LIPO"; then
9396  ac_ct_LIPO=$LIPO
9397  # Extract the first word of "lipo", so it can be a program name with args.
9398set dummy lipo; ac_word=$2
9399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9400$as_echo_n "checking for $ac_word... " >&6; }
9401if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9402  $as_echo_n "(cached) " >&6
9403else
9404  if test -n "$ac_ct_LIPO"; then
9405  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9406else
9407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9408for as_dir in $PATH
9409do
9410  IFS=$as_save_IFS
9411  test -z "$as_dir" && as_dir=.
9412    for ac_exec_ext in '' $ac_executable_extensions; do
9413  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9414    ac_cv_prog_ac_ct_LIPO="lipo"
9415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9416    break 2
9417  fi
9418done
9419  done
9420IFS=$as_save_IFS
9421
9422fi
9423fi
9424ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9425if test -n "$ac_ct_LIPO"; then
9426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9427$as_echo "$ac_ct_LIPO" >&6; }
9428else
9429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9430$as_echo "no" >&6; }
9431fi
9432
9433  if test "x$ac_ct_LIPO" = x; then
9434    LIPO=":"
9435  else
9436    case $cross_compiling:$ac_tool_warned in
9437yes:)
9438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9440ac_tool_warned=yes ;;
9441esac
9442    LIPO=$ac_ct_LIPO
9443  fi
9444else
9445  LIPO="$ac_cv_prog_LIPO"
9446fi
9447
9448    if test -n "$ac_tool_prefix"; then
9449  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9450set dummy ${ac_tool_prefix}otool; ac_word=$2
9451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9452$as_echo_n "checking for $ac_word... " >&6; }
9453if ${ac_cv_prog_OTOOL+:} false; then :
9454  $as_echo_n "(cached) " >&6
9455else
9456  if test -n "$OTOOL"; then
9457  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9458else
9459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460for as_dir in $PATH
9461do
9462  IFS=$as_save_IFS
9463  test -z "$as_dir" && as_dir=.
9464    for ac_exec_ext in '' $ac_executable_extensions; do
9465  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9466    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9468    break 2
9469  fi
9470done
9471  done
9472IFS=$as_save_IFS
9473
9474fi
9475fi
9476OTOOL=$ac_cv_prog_OTOOL
9477if test -n "$OTOOL"; then
9478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9479$as_echo "$OTOOL" >&6; }
9480else
9481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9482$as_echo "no" >&6; }
9483fi
9484
9485
9486fi
9487if test -z "$ac_cv_prog_OTOOL"; then
9488  ac_ct_OTOOL=$OTOOL
9489  # Extract the first word of "otool", so it can be a program name with args.
9490set dummy otool; ac_word=$2
9491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9492$as_echo_n "checking for $ac_word... " >&6; }
9493if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9494  $as_echo_n "(cached) " >&6
9495else
9496  if test -n "$ac_ct_OTOOL"; then
9497  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9498else
9499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500for as_dir in $PATH
9501do
9502  IFS=$as_save_IFS
9503  test -z "$as_dir" && as_dir=.
9504    for ac_exec_ext in '' $ac_executable_extensions; do
9505  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506    ac_cv_prog_ac_ct_OTOOL="otool"
9507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508    break 2
9509  fi
9510done
9511  done
9512IFS=$as_save_IFS
9513
9514fi
9515fi
9516ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9517if test -n "$ac_ct_OTOOL"; then
9518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9519$as_echo "$ac_ct_OTOOL" >&6; }
9520else
9521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9522$as_echo "no" >&6; }
9523fi
9524
9525  if test "x$ac_ct_OTOOL" = x; then
9526    OTOOL=":"
9527  else
9528    case $cross_compiling:$ac_tool_warned in
9529yes:)
9530{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9531$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9532ac_tool_warned=yes ;;
9533esac
9534    OTOOL=$ac_ct_OTOOL
9535  fi
9536else
9537  OTOOL="$ac_cv_prog_OTOOL"
9538fi
9539
9540    if test -n "$ac_tool_prefix"; then
9541  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9542set dummy ${ac_tool_prefix}otool64; ac_word=$2
9543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9544$as_echo_n "checking for $ac_word... " >&6; }
9545if ${ac_cv_prog_OTOOL64+:} false; then :
9546  $as_echo_n "(cached) " >&6
9547else
9548  if test -n "$OTOOL64"; then
9549  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9550else
9551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9552for as_dir in $PATH
9553do
9554  IFS=$as_save_IFS
9555  test -z "$as_dir" && as_dir=.
9556    for ac_exec_ext in '' $ac_executable_extensions; do
9557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9558    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9560    break 2
9561  fi
9562done
9563  done
9564IFS=$as_save_IFS
9565
9566fi
9567fi
9568OTOOL64=$ac_cv_prog_OTOOL64
9569if test -n "$OTOOL64"; then
9570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9571$as_echo "$OTOOL64" >&6; }
9572else
9573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574$as_echo "no" >&6; }
9575fi
9576
9577
9578fi
9579if test -z "$ac_cv_prog_OTOOL64"; then
9580  ac_ct_OTOOL64=$OTOOL64
9581  # Extract the first word of "otool64", so it can be a program name with args.
9582set dummy otool64; ac_word=$2
9583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9584$as_echo_n "checking for $ac_word... " >&6; }
9585if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9586  $as_echo_n "(cached) " >&6
9587else
9588  if test -n "$ac_ct_OTOOL64"; then
9589  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9590else
9591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592for as_dir in $PATH
9593do
9594  IFS=$as_save_IFS
9595  test -z "$as_dir" && as_dir=.
9596    for ac_exec_ext in '' $ac_executable_extensions; do
9597  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598    ac_cv_prog_ac_ct_OTOOL64="otool64"
9599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9600    break 2
9601  fi
9602done
9603  done
9604IFS=$as_save_IFS
9605
9606fi
9607fi
9608ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9609if test -n "$ac_ct_OTOOL64"; then
9610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9611$as_echo "$ac_ct_OTOOL64" >&6; }
9612else
9613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614$as_echo "no" >&6; }
9615fi
9616
9617  if test "x$ac_ct_OTOOL64" = x; then
9618    OTOOL64=":"
9619  else
9620    case $cross_compiling:$ac_tool_warned in
9621yes:)
9622{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9623$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9624ac_tool_warned=yes ;;
9625esac
9626    OTOOL64=$ac_ct_OTOOL64
9627  fi
9628else
9629  OTOOL64="$ac_cv_prog_OTOOL64"
9630fi
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9659$as_echo_n "checking for -single_module linker flag... " >&6; }
9660if ${lt_cv_apple_cc_single_mod+:} false; then :
9661  $as_echo_n "(cached) " >&6
9662else
9663  lt_cv_apple_cc_single_mod=no
9664      if test -z "$LT_MULTI_MODULE"; then
9665	# By default we will add the -single_module flag. You can override
9666	# by either setting the environment variable LT_MULTI_MODULE
9667	# non-empty at configure time, or by adding -multi_module to the
9668	# link flags.
9669	rm -rf libconftest.dylib*
9670	echo "int foo(void){return 1;}" > conftest.c
9671	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9672-dynamiclib -Wl,-single_module conftest.c" >&5
9673	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9674	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9675        _lt_result=$?
9676	# If there is a non-empty error log, and "single_module"
9677	# appears in it, assume the flag caused a linker warning
9678        if test -s conftest.err && $GREP single_module conftest.err; then
9679	  cat conftest.err >&5
9680	# Otherwise, if the output was created with a 0 exit code from
9681	# the compiler, it worked.
9682	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9683	  lt_cv_apple_cc_single_mod=yes
9684	else
9685	  cat conftest.err >&5
9686	fi
9687	rm -rf libconftest.dylib*
9688	rm -f conftest.*
9689      fi
9690fi
9691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9692$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9693
9694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9695$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9696if ${lt_cv_ld_exported_symbols_list+:} false; then :
9697  $as_echo_n "(cached) " >&6
9698else
9699  lt_cv_ld_exported_symbols_list=no
9700      save_LDFLAGS=$LDFLAGS
9701      echo "_main" > conftest.sym
9702      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9703      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704/* end confdefs.h.  */
9705
9706int
9707main ()
9708{
9709
9710  ;
9711  return 0;
9712}
9713_ACEOF
9714if ac_fn_c_try_link "$LINENO"; then :
9715  lt_cv_ld_exported_symbols_list=yes
9716else
9717  lt_cv_ld_exported_symbols_list=no
9718fi
9719rm -f core conftest.err conftest.$ac_objext \
9720    conftest$ac_exeext conftest.$ac_ext
9721	LDFLAGS=$save_LDFLAGS
9722
9723fi
9724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9725$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9726
9727    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9728$as_echo_n "checking for -force_load linker flag... " >&6; }
9729if ${lt_cv_ld_force_load+:} false; then :
9730  $as_echo_n "(cached) " >&6
9731else
9732  lt_cv_ld_force_load=no
9733      cat > conftest.c << _LT_EOF
9734int forced_loaded() { return 2;}
9735_LT_EOF
9736      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9737      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9738      echo "$AR cru libconftest.a conftest.o" >&5
9739      $AR cru libconftest.a conftest.o 2>&5
9740      echo "$RANLIB libconftest.a" >&5
9741      $RANLIB libconftest.a 2>&5
9742      cat > conftest.c << _LT_EOF
9743int main() { return 0;}
9744_LT_EOF
9745      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9746      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9747      _lt_result=$?
9748      if test -s conftest.err && $GREP force_load conftest.err; then
9749	cat conftest.err >&5
9750      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9751	lt_cv_ld_force_load=yes
9752      else
9753	cat conftest.err >&5
9754      fi
9755        rm -f conftest.err libconftest.a conftest conftest.c
9756        rm -rf conftest.dSYM
9757
9758fi
9759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9760$as_echo "$lt_cv_ld_force_load" >&6; }
9761    case $host_os in
9762    rhapsody* | darwin1.[012])
9763      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9764    darwin1.*)
9765      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9766    darwin*) # darwin 5.x on
9767      # if running on 10.5 or later, the deployment target defaults
9768      # to the OS version, if on x86, and 10.4, the deployment
9769      # target defaults to 10.4. Don't you love it?
9770      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9771	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9772	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9773	10.[012][,.]*)
9774	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9775	10.*)
9776	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9777      esac
9778    ;;
9779  esac
9780    if test yes = "$lt_cv_apple_cc_single_mod"; then
9781      _lt_dar_single_mod='$single_module'
9782    fi
9783    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9784      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9785    else
9786      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9787    fi
9788    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9789      _lt_dsymutil='~$DSYMUTIL $lib || :'
9790    else
9791      _lt_dsymutil=
9792    fi
9793    ;;
9794  esac
9795
9796# func_munge_path_list VARIABLE PATH
9797# -----------------------------------
9798# VARIABLE is name of variable containing _space_ separated list of
9799# directories to be munged by the contents of PATH, which is string
9800# having a format:
9801# "DIR[:DIR]:"
9802#       string "DIR[ DIR]" will be prepended to VARIABLE
9803# ":DIR[:DIR]"
9804#       string "DIR[ DIR]" will be appended to VARIABLE
9805# "DIRP[:DIRP]::[DIRA:]DIRA"
9806#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9807#       "DIRA[ DIRA]" will be appended to VARIABLE
9808# "DIR[:DIR]"
9809#       VARIABLE will be replaced by "DIR[ DIR]"
9810func_munge_path_list ()
9811{
9812    case x$2 in
9813    x)
9814        ;;
9815    *:)
9816        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9817        ;;
9818    x:*)
9819        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9820        ;;
9821    *::*)
9822        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9823        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9824        ;;
9825    *)
9826        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9827        ;;
9828    esac
9829}
9830
9831ac_ext=c
9832ac_cpp='$CPP $CPPFLAGS'
9833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9835ac_compiler_gnu=$ac_cv_c_compiler_gnu
9836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9837$as_echo_n "checking how to run the C preprocessor... " >&6; }
9838# On Suns, sometimes $CPP names a directory.
9839if test -n "$CPP" && test -d "$CPP"; then
9840  CPP=
9841fi
9842if test -z "$CPP"; then
9843  if ${ac_cv_prog_CPP+:} false; then :
9844  $as_echo_n "(cached) " >&6
9845else
9846      # Double quotes because CPP needs to be expanded
9847    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9848    do
9849      ac_preproc_ok=false
9850for ac_c_preproc_warn_flag in '' yes
9851do
9852  # Use a header file that comes with gcc, so configuring glibc
9853  # with a fresh cross-compiler works.
9854  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9855  # <limits.h> exists even on freestanding compilers.
9856  # On the NeXT, cc -E runs the code through the compiler's parser,
9857  # not just through cpp. "Syntax error" is here to catch this case.
9858  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859/* end confdefs.h.  */
9860#ifdef __STDC__
9861# include <limits.h>
9862#else
9863# include <assert.h>
9864#endif
9865		     Syntax error
9866_ACEOF
9867if ac_fn_c_try_cpp "$LINENO"; then :
9868
9869else
9870  # Broken: fails on valid input.
9871continue
9872fi
9873rm -f conftest.err conftest.i conftest.$ac_ext
9874
9875  # OK, works on sane cases.  Now check whether nonexistent headers
9876  # can be detected and how.
9877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878/* end confdefs.h.  */
9879#include <ac_nonexistent.h>
9880_ACEOF
9881if ac_fn_c_try_cpp "$LINENO"; then :
9882  # Broken: success on invalid input.
9883continue
9884else
9885  # Passes both tests.
9886ac_preproc_ok=:
9887break
9888fi
9889rm -f conftest.err conftest.i conftest.$ac_ext
9890
9891done
9892# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9893rm -f conftest.i conftest.err conftest.$ac_ext
9894if $ac_preproc_ok; then :
9895  break
9896fi
9897
9898    done
9899    ac_cv_prog_CPP=$CPP
9900
9901fi
9902  CPP=$ac_cv_prog_CPP
9903else
9904  ac_cv_prog_CPP=$CPP
9905fi
9906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9907$as_echo "$CPP" >&6; }
9908ac_preproc_ok=false
9909for ac_c_preproc_warn_flag in '' yes
9910do
9911  # Use a header file that comes with gcc, so configuring glibc
9912  # with a fresh cross-compiler works.
9913  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9914  # <limits.h> exists even on freestanding compilers.
9915  # On the NeXT, cc -E runs the code through the compiler's parser,
9916  # not just through cpp. "Syntax error" is here to catch this case.
9917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918/* end confdefs.h.  */
9919#ifdef __STDC__
9920# include <limits.h>
9921#else
9922# include <assert.h>
9923#endif
9924		     Syntax error
9925_ACEOF
9926if ac_fn_c_try_cpp "$LINENO"; then :
9927
9928else
9929  # Broken: fails on valid input.
9930continue
9931fi
9932rm -f conftest.err conftest.i conftest.$ac_ext
9933
9934  # OK, works on sane cases.  Now check whether nonexistent headers
9935  # can be detected and how.
9936  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937/* end confdefs.h.  */
9938#include <ac_nonexistent.h>
9939_ACEOF
9940if ac_fn_c_try_cpp "$LINENO"; then :
9941  # Broken: success on invalid input.
9942continue
9943else
9944  # Passes both tests.
9945ac_preproc_ok=:
9946break
9947fi
9948rm -f conftest.err conftest.i conftest.$ac_ext
9949
9950done
9951# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9952rm -f conftest.i conftest.err conftest.$ac_ext
9953if $ac_preproc_ok; then :
9954
9955else
9956  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9958as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9959See \`config.log' for more details" "$LINENO" 5; }
9960fi
9961
9962ac_ext=c
9963ac_cpp='$CPP $CPPFLAGS'
9964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9966ac_compiler_gnu=$ac_cv_c_compiler_gnu
9967
9968
9969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9970$as_echo_n "checking for ANSI C header files... " >&6; }
9971if ${ac_cv_header_stdc+:} false; then :
9972  $as_echo_n "(cached) " >&6
9973else
9974  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975/* end confdefs.h.  */
9976#include <stdlib.h>
9977#include <stdarg.h>
9978#include <string.h>
9979#include <float.h>
9980
9981int
9982main ()
9983{
9984
9985  ;
9986  return 0;
9987}
9988_ACEOF
9989if ac_fn_c_try_compile "$LINENO"; then :
9990  ac_cv_header_stdc=yes
9991else
9992  ac_cv_header_stdc=no
9993fi
9994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9995
9996if test $ac_cv_header_stdc = yes; then
9997  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999/* end confdefs.h.  */
10000#include <string.h>
10001
10002_ACEOF
10003if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10004  $EGREP "memchr" >/dev/null 2>&1; then :
10005
10006else
10007  ac_cv_header_stdc=no
10008fi
10009rm -f conftest*
10010
10011fi
10012
10013if test $ac_cv_header_stdc = yes; then
10014  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10015  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016/* end confdefs.h.  */
10017#include <stdlib.h>
10018
10019_ACEOF
10020if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10021  $EGREP "free" >/dev/null 2>&1; then :
10022
10023else
10024  ac_cv_header_stdc=no
10025fi
10026rm -f conftest*
10027
10028fi
10029
10030if test $ac_cv_header_stdc = yes; then
10031  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10032  if test "$cross_compiling" = yes; then :
10033  :
10034else
10035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036/* end confdefs.h.  */
10037#include <ctype.h>
10038#include <stdlib.h>
10039#if ((' ' & 0x0FF) == 0x020)
10040# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10041# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10042#else
10043# define ISLOWER(c) \
10044		   (('a' <= (c) && (c) <= 'i') \
10045		     || ('j' <= (c) && (c) <= 'r') \
10046		     || ('s' <= (c) && (c) <= 'z'))
10047# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10048#endif
10049
10050#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10051int
10052main ()
10053{
10054  int i;
10055  for (i = 0; i < 256; i++)
10056    if (XOR (islower (i), ISLOWER (i))
10057	|| toupper (i) != TOUPPER (i))
10058      return 2;
10059  return 0;
10060}
10061_ACEOF
10062if ac_fn_c_try_run "$LINENO"; then :
10063
10064else
10065  ac_cv_header_stdc=no
10066fi
10067rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10068  conftest.$ac_objext conftest.beam conftest.$ac_ext
10069fi
10070
10071fi
10072fi
10073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10074$as_echo "$ac_cv_header_stdc" >&6; }
10075if test $ac_cv_header_stdc = yes; then
10076
10077$as_echo "#define STDC_HEADERS 1" >>confdefs.h
10078
10079fi
10080
10081# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10082for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10083		  inttypes.h stdint.h unistd.h
10084do :
10085  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10086ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10087"
10088if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10089  cat >>confdefs.h <<_ACEOF
10090#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10091_ACEOF
10092
10093fi
10094
10095done
10096
10097
10098for ac_header in dlfcn.h
10099do :
10100  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10101"
10102if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10103  cat >>confdefs.h <<_ACEOF
10104#define HAVE_DLFCN_H 1
10105_ACEOF
10106
10107fi
10108
10109done
10110
10111
10112
10113
10114func_stripname_cnf ()
10115{
10116  case $2 in
10117  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10118  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10119  esac
10120} # func_stripname_cnf
10121
10122
10123
10124
10125
10126# Set options
10127
10128
10129
10130        enable_dlopen=no
10131
10132
10133  enable_win32_dll=no
10134
10135
10136            # Check whether --enable-shared was given.
10137if test "${enable_shared+set}" = set; then :
10138  enableval=$enable_shared; p=${PACKAGE-default}
10139    case $enableval in
10140    yes) enable_shared=yes ;;
10141    no) enable_shared=no ;;
10142    *)
10143      enable_shared=no
10144      # Look at the argument we got.  We use all the common list separators.
10145      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10146      for pkg in $enableval; do
10147	IFS=$lt_save_ifs
10148	if test "X$pkg" = "X$p"; then
10149	  enable_shared=yes
10150	fi
10151      done
10152      IFS=$lt_save_ifs
10153      ;;
10154    esac
10155else
10156  enable_shared=yes
10157fi
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167  # Check whether --enable-static was given.
10168if test "${enable_static+set}" = set; then :
10169  enableval=$enable_static; p=${PACKAGE-default}
10170    case $enableval in
10171    yes) enable_static=yes ;;
10172    no) enable_static=no ;;
10173    *)
10174     enable_static=no
10175      # Look at the argument we got.  We use all the common list separators.
10176      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10177      for pkg in $enableval; do
10178	IFS=$lt_save_ifs
10179	if test "X$pkg" = "X$p"; then
10180	  enable_static=yes
10181	fi
10182      done
10183      IFS=$lt_save_ifs
10184      ;;
10185    esac
10186else
10187  enable_static=yes
10188fi
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199# Check whether --with-pic was given.
10200if test "${with_pic+set}" = set; then :
10201  withval=$with_pic; lt_p=${PACKAGE-default}
10202    case $withval in
10203    yes|no) pic_mode=$withval ;;
10204    *)
10205      pic_mode=default
10206      # Look at the argument we got.  We use all the common list separators.
10207      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10208      for lt_pkg in $withval; do
10209	IFS=$lt_save_ifs
10210	if test "X$lt_pkg" = "X$lt_p"; then
10211	  pic_mode=yes
10212	fi
10213      done
10214      IFS=$lt_save_ifs
10215      ;;
10216    esac
10217else
10218  pic_mode=default
10219fi
10220
10221
10222
10223
10224
10225
10226
10227
10228  # Check whether --enable-fast-install was given.
10229if test "${enable_fast_install+set}" = set; then :
10230  enableval=$enable_fast_install; p=${PACKAGE-default}
10231    case $enableval in
10232    yes) enable_fast_install=yes ;;
10233    no) enable_fast_install=no ;;
10234    *)
10235      enable_fast_install=no
10236      # Look at the argument we got.  We use all the common list separators.
10237      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10238      for pkg in $enableval; do
10239	IFS=$lt_save_ifs
10240	if test "X$pkg" = "X$p"; then
10241	  enable_fast_install=yes
10242	fi
10243      done
10244      IFS=$lt_save_ifs
10245      ;;
10246    esac
10247else
10248  enable_fast_install=yes
10249fi
10250
10251
10252
10253
10254
10255
10256
10257
10258  shared_archive_member_spec=
10259case $host,$enable_shared in
10260power*-*-aix[5-9]*,yes)
10261  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10262$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10263
10264# Check whether --with-aix-soname was given.
10265if test "${with_aix_soname+set}" = set; then :
10266  withval=$with_aix_soname; case $withval in
10267    aix|svr4|both)
10268      ;;
10269    *)
10270      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10271      ;;
10272    esac
10273    lt_cv_with_aix_soname=$with_aix_soname
10274else
10275  if ${lt_cv_with_aix_soname+:} false; then :
10276  $as_echo_n "(cached) " >&6
10277else
10278  lt_cv_with_aix_soname=aix
10279fi
10280
10281    with_aix_soname=$lt_cv_with_aix_soname
10282fi
10283
10284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10285$as_echo "$with_aix_soname" >&6; }
10286  if test aix != "$with_aix_soname"; then
10287    # For the AIX way of multilib, we name the shared archive member
10288    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10289    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10290    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10291    # the AIX toolchain works better with OBJECT_MODE set (default 32).
10292    if test 64 = "${OBJECT_MODE-32}"; then
10293      shared_archive_member_spec=shr_64
10294    else
10295      shared_archive_member_spec=shr
10296    fi
10297  fi
10298  ;;
10299*)
10300  with_aix_soname=aix
10301  ;;
10302esac
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313# This can be used to rebuild libtool when needed
10314LIBTOOL_DEPS=$ltmain
10315
10316# Always use our own libtool.
10317LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348test -z "$LN_S" && LN_S="ln -s"
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363if test -n "${ZSH_VERSION+set}"; then
10364   setopt NO_GLOB_SUBST
10365fi
10366
10367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10368$as_echo_n "checking for objdir... " >&6; }
10369if ${lt_cv_objdir+:} false; then :
10370  $as_echo_n "(cached) " >&6
10371else
10372  rm -f .libs 2>/dev/null
10373mkdir .libs 2>/dev/null
10374if test -d .libs; then
10375  lt_cv_objdir=.libs
10376else
10377  # MS-DOS does not allow filenames that begin with a dot.
10378  lt_cv_objdir=_libs
10379fi
10380rmdir .libs 2>/dev/null
10381fi
10382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10383$as_echo "$lt_cv_objdir" >&6; }
10384objdir=$lt_cv_objdir
10385
10386
10387
10388
10389
10390cat >>confdefs.h <<_ACEOF
10391#define LT_OBJDIR "$lt_cv_objdir/"
10392_ACEOF
10393
10394
10395
10396
10397case $host_os in
10398aix3*)
10399  # AIX sometimes has problems with the GCC collect2 program.  For some
10400  # reason, if we set the COLLECT_NAMES environment variable, the problems
10401  # vanish in a puff of smoke.
10402  if test set != "${COLLECT_NAMES+set}"; then
10403    COLLECT_NAMES=
10404    export COLLECT_NAMES
10405  fi
10406  ;;
10407esac
10408
10409# Global variables:
10410ofile=libtool
10411can_build_shared=yes
10412
10413# All known linkers require a '.a' archive for static linking (except MSVC,
10414# which needs '.lib').
10415libext=a
10416
10417with_gnu_ld=$lt_cv_prog_gnu_ld
10418
10419old_CC=$CC
10420old_CFLAGS=$CFLAGS
10421
10422# Set sane defaults for various variables
10423test -z "$CC" && CC=cc
10424test -z "$LTCC" && LTCC=$CC
10425test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10426test -z "$LD" && LD=ld
10427test -z "$ac_objext" && ac_objext=o
10428
10429func_cc_basename $compiler
10430cc_basename=$func_cc_basename_result
10431
10432
10433# Only perform the check for file, if the check method requires it
10434test -z "$MAGIC_CMD" && MAGIC_CMD=file
10435case $deplibs_check_method in
10436file_magic*)
10437  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10438    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10439$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10440if ${lt_cv_path_MAGIC_CMD+:} false; then :
10441  $as_echo_n "(cached) " >&6
10442else
10443  case $MAGIC_CMD in
10444[\\/*] |  ?:[\\/]*)
10445  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10446  ;;
10447*)
10448  lt_save_MAGIC_CMD=$MAGIC_CMD
10449  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10450  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10451  for ac_dir in $ac_dummy; do
10452    IFS=$lt_save_ifs
10453    test -z "$ac_dir" && ac_dir=.
10454    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10455      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10456      if test -n "$file_magic_test_file"; then
10457	case $deplibs_check_method in
10458	"file_magic "*)
10459	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10460	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10461	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10462	    $EGREP "$file_magic_regex" > /dev/null; then
10463	    :
10464	  else
10465	    cat <<_LT_EOF 1>&2
10466
10467*** Warning: the command libtool uses to detect shared libraries,
10468*** $file_magic_cmd, produces output that libtool cannot recognize.
10469*** The result is that libtool may fail to recognize shared libraries
10470*** as such.  This will affect the creation of libtool libraries that
10471*** depend on shared libraries, but programs linked with such libtool
10472*** libraries will work regardless of this problem.  Nevertheless, you
10473*** may want to report the problem to your system manager and/or to
10474*** bug-libtool@gnu.org
10475
10476_LT_EOF
10477	  fi ;;
10478	esac
10479      fi
10480      break
10481    fi
10482  done
10483  IFS=$lt_save_ifs
10484  MAGIC_CMD=$lt_save_MAGIC_CMD
10485  ;;
10486esac
10487fi
10488
10489MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10490if test -n "$MAGIC_CMD"; then
10491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10492$as_echo "$MAGIC_CMD" >&6; }
10493else
10494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495$as_echo "no" >&6; }
10496fi
10497
10498
10499
10500
10501
10502if test -z "$lt_cv_path_MAGIC_CMD"; then
10503  if test -n "$ac_tool_prefix"; then
10504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10505$as_echo_n "checking for file... " >&6; }
10506if ${lt_cv_path_MAGIC_CMD+:} false; then :
10507  $as_echo_n "(cached) " >&6
10508else
10509  case $MAGIC_CMD in
10510[\\/*] |  ?:[\\/]*)
10511  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10512  ;;
10513*)
10514  lt_save_MAGIC_CMD=$MAGIC_CMD
10515  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10516  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10517  for ac_dir in $ac_dummy; do
10518    IFS=$lt_save_ifs
10519    test -z "$ac_dir" && ac_dir=.
10520    if test -f "$ac_dir/file"; then
10521      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10522      if test -n "$file_magic_test_file"; then
10523	case $deplibs_check_method in
10524	"file_magic "*)
10525	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10526	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10527	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10528	    $EGREP "$file_magic_regex" > /dev/null; then
10529	    :
10530	  else
10531	    cat <<_LT_EOF 1>&2
10532
10533*** Warning: the command libtool uses to detect shared libraries,
10534*** $file_magic_cmd, produces output that libtool cannot recognize.
10535*** The result is that libtool may fail to recognize shared libraries
10536*** as such.  This will affect the creation of libtool libraries that
10537*** depend on shared libraries, but programs linked with such libtool
10538*** libraries will work regardless of this problem.  Nevertheless, you
10539*** may want to report the problem to your system manager and/or to
10540*** bug-libtool@gnu.org
10541
10542_LT_EOF
10543	  fi ;;
10544	esac
10545      fi
10546      break
10547    fi
10548  done
10549  IFS=$lt_save_ifs
10550  MAGIC_CMD=$lt_save_MAGIC_CMD
10551  ;;
10552esac
10553fi
10554
10555MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10556if test -n "$MAGIC_CMD"; then
10557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10558$as_echo "$MAGIC_CMD" >&6; }
10559else
10560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10561$as_echo "no" >&6; }
10562fi
10563
10564
10565  else
10566    MAGIC_CMD=:
10567  fi
10568fi
10569
10570  fi
10571  ;;
10572esac
10573
10574# Use C for the default configuration in the libtool script
10575
10576lt_save_CC=$CC
10577ac_ext=c
10578ac_cpp='$CPP $CPPFLAGS'
10579ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10580ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10581ac_compiler_gnu=$ac_cv_c_compiler_gnu
10582
10583
10584# Source file extension for C test sources.
10585ac_ext=c
10586
10587# Object file extension for compiled C test sources.
10588objext=o
10589objext=$objext
10590
10591# Code to be used in simple compile tests
10592lt_simple_compile_test_code="int some_variable = 0;"
10593
10594# Code to be used in simple link tests
10595lt_simple_link_test_code='int main(){return(0);}'
10596
10597
10598
10599
10600
10601
10602
10603# If no C compiler was specified, use CC.
10604LTCC=${LTCC-"$CC"}
10605
10606# If no C compiler flags were specified, use CFLAGS.
10607LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10608
10609# Allow CC to be a program name with arguments.
10610compiler=$CC
10611
10612# Save the default compiler, since it gets overwritten when the other
10613# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10614compiler_DEFAULT=$CC
10615
10616# save warnings/boilerplate of simple test code
10617ac_outfile=conftest.$ac_objext
10618echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10619eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10620_lt_compiler_boilerplate=`cat conftest.err`
10621$RM conftest*
10622
10623ac_outfile=conftest.$ac_objext
10624echo "$lt_simple_link_test_code" >conftest.$ac_ext
10625eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10626_lt_linker_boilerplate=`cat conftest.err`
10627$RM -r conftest*
10628
10629
10630## CAVEAT EMPTOR:
10631## There is no encapsulation within the following macros, do not change
10632## the running order or otherwise move them around unless you know exactly
10633## what you are doing...
10634if test -n "$compiler"; then
10635
10636lt_prog_compiler_no_builtin_flag=
10637
10638if test yes = "$GCC"; then
10639  case $cc_basename in
10640  nvcc*)
10641    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10642  *)
10643    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10644  esac
10645
10646  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10647$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10648if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10649  $as_echo_n "(cached) " >&6
10650else
10651  lt_cv_prog_compiler_rtti_exceptions=no
10652   ac_outfile=conftest.$ac_objext
10653   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10654   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10655   # Insert the option either (1) after the last *FLAGS variable, or
10656   # (2) before a word containing "conftest.", or (3) at the end.
10657   # Note that $ac_compile itself does not contain backslashes and begins
10658   # with a dollar sign (not a hyphen), so the echo should work correctly.
10659   # The option is referenced via a variable to avoid confusing sed.
10660   lt_compile=`echo "$ac_compile" | $SED \
10661   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10662   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10663   -e 's:$: $lt_compiler_flag:'`
10664   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10665   (eval "$lt_compile" 2>conftest.err)
10666   ac_status=$?
10667   cat conftest.err >&5
10668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669   if (exit $ac_status) && test -s "$ac_outfile"; then
10670     # The compiler can only warn and ignore the option if not recognized
10671     # So say no if there are warnings other than the usual output.
10672     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10673     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10674     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10675       lt_cv_prog_compiler_rtti_exceptions=yes
10676     fi
10677   fi
10678   $RM conftest*
10679
10680fi
10681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10682$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10683
10684if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10685    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10686else
10687    :
10688fi
10689
10690fi
10691
10692
10693
10694
10695
10696
10697  lt_prog_compiler_wl=
10698lt_prog_compiler_pic=
10699lt_prog_compiler_static=
10700
10701
10702  if test yes = "$GCC"; then
10703    lt_prog_compiler_wl='-Wl,'
10704    lt_prog_compiler_static='-static'
10705
10706    case $host_os in
10707      aix*)
10708      # All AIX code is PIC.
10709      if test ia64 = "$host_cpu"; then
10710	# AIX 5 now supports IA64 processor
10711	lt_prog_compiler_static='-Bstatic'
10712      fi
10713      lt_prog_compiler_pic='-fPIC'
10714      ;;
10715
10716    amigaos*)
10717      case $host_cpu in
10718      powerpc)
10719            # see comment about AmigaOS4 .so support
10720            lt_prog_compiler_pic='-fPIC'
10721        ;;
10722      m68k)
10723            # FIXME: we need at least 68020 code to build shared libraries, but
10724            # adding the '-m68020' flag to GCC prevents building anything better,
10725            # like '-m68040'.
10726            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10727        ;;
10728      esac
10729      ;;
10730
10731    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10732      # PIC is the default for these OSes.
10733      ;;
10734
10735    mingw* | cygwin* | pw32* | os2* | cegcc*)
10736      # This hack is so that the source file can tell whether it is being
10737      # built for inclusion in a dll (and should export symbols for example).
10738      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10739      # (--disable-auto-import) libraries
10740      lt_prog_compiler_pic='-DDLL_EXPORT'
10741      case $host_os in
10742      os2*)
10743	lt_prog_compiler_static='$wl-static'
10744	;;
10745      esac
10746      ;;
10747
10748    darwin* | rhapsody*)
10749      # PIC is the default on this platform
10750      # Common symbols not allowed in MH_DYLIB files
10751      lt_prog_compiler_pic='-fno-common'
10752      ;;
10753
10754    haiku*)
10755      # PIC is the default for Haiku.
10756      # The "-static" flag exists, but is broken.
10757      lt_prog_compiler_static=
10758      ;;
10759
10760    hpux*)
10761      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10762      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10763      # sets the default TLS model and affects inlining.
10764      case $host_cpu in
10765      hppa*64*)
10766	# +Z the default
10767	;;
10768      *)
10769	lt_prog_compiler_pic='-fPIC'
10770	;;
10771      esac
10772      ;;
10773
10774    interix[3-9]*)
10775      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10776      # Instead, we relocate shared libraries at runtime.
10777      ;;
10778
10779    msdosdjgpp*)
10780      # Just because we use GCC doesn't mean we suddenly get shared libraries
10781      # on systems that don't support them.
10782      lt_prog_compiler_can_build_shared=no
10783      enable_shared=no
10784      ;;
10785
10786    *nto* | *qnx*)
10787      # QNX uses GNU C++, but need to define -shared option too, otherwise
10788      # it will coredump.
10789      lt_prog_compiler_pic='-fPIC -shared'
10790      ;;
10791
10792    sysv4*MP*)
10793      if test -d /usr/nec; then
10794	lt_prog_compiler_pic=-Kconform_pic
10795      fi
10796      ;;
10797
10798    *)
10799      lt_prog_compiler_pic='-fPIC'
10800      ;;
10801    esac
10802
10803    case $cc_basename in
10804    nvcc*) # Cuda Compiler Driver 2.2
10805      lt_prog_compiler_wl='-Xlinker '
10806      if test -n "$lt_prog_compiler_pic"; then
10807        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10808      fi
10809      ;;
10810    esac
10811  else
10812    # PORTME Check for flag to pass linker flags through the system compiler.
10813    case $host_os in
10814    aix*)
10815      lt_prog_compiler_wl='-Wl,'
10816      if test ia64 = "$host_cpu"; then
10817	# AIX 5 now supports IA64 processor
10818	lt_prog_compiler_static='-Bstatic'
10819      else
10820	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10821      fi
10822      ;;
10823
10824    darwin* | rhapsody*)
10825      # PIC is the default on this platform
10826      # Common symbols not allowed in MH_DYLIB files
10827      lt_prog_compiler_pic='-fno-common'
10828      case $cc_basename in
10829      nagfor*)
10830        # NAG Fortran compiler
10831        lt_prog_compiler_wl='-Wl,-Wl,,'
10832        lt_prog_compiler_pic='-PIC'
10833        lt_prog_compiler_static='-Bstatic'
10834        ;;
10835      esac
10836      ;;
10837
10838    mingw* | cygwin* | pw32* | os2* | cegcc*)
10839      # This hack is so that the source file can tell whether it is being
10840      # built for inclusion in a dll (and should export symbols for example).
10841      lt_prog_compiler_pic='-DDLL_EXPORT'
10842      case $host_os in
10843      os2*)
10844	lt_prog_compiler_static='$wl-static'
10845	;;
10846      esac
10847      ;;
10848
10849    hpux9* | hpux10* | hpux11*)
10850      lt_prog_compiler_wl='-Wl,'
10851      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10852      # not for PA HP-UX.
10853      case $host_cpu in
10854      hppa*64*|ia64*)
10855	# +Z the default
10856	;;
10857      *)
10858	lt_prog_compiler_pic='+Z'
10859	;;
10860      esac
10861      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10862      lt_prog_compiler_static='$wl-a ${wl}archive'
10863      ;;
10864
10865    irix5* | irix6* | nonstopux*)
10866      lt_prog_compiler_wl='-Wl,'
10867      # PIC (with -KPIC) is the default.
10868      lt_prog_compiler_static='-non_shared'
10869      ;;
10870
10871    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10872      case $cc_basename in
10873      # old Intel for x86_64, which still supported -KPIC.
10874      ecc*)
10875	lt_prog_compiler_wl='-Wl,'
10876	lt_prog_compiler_pic='-KPIC'
10877	lt_prog_compiler_static='-static'
10878        ;;
10879      # icc used to be incompatible with GCC.
10880      # ICC 10 doesn't accept -KPIC any more.
10881      icc* | ifort*)
10882	lt_prog_compiler_wl='-Wl,'
10883	lt_prog_compiler_pic='-fPIC'
10884	lt_prog_compiler_static='-static'
10885        ;;
10886      # Lahey Fortran 8.1.
10887      lf95*)
10888	lt_prog_compiler_wl='-Wl,'
10889	lt_prog_compiler_pic='--shared'
10890	lt_prog_compiler_static='--static'
10891	;;
10892      nagfor*)
10893	# NAG Fortran compiler
10894	lt_prog_compiler_wl='-Wl,-Wl,,'
10895	lt_prog_compiler_pic='-PIC'
10896	lt_prog_compiler_static='-Bstatic'
10897	;;
10898      tcc*)
10899	# Fabrice Bellard et al's Tiny C Compiler
10900	lt_prog_compiler_wl='-Wl,'
10901	lt_prog_compiler_pic='-fPIC'
10902	lt_prog_compiler_static='-static'
10903	;;
10904      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10905        # Portland Group compilers (*not* the Pentium gcc compiler,
10906	# which looks to be a dead project)
10907	lt_prog_compiler_wl='-Wl,'
10908	lt_prog_compiler_pic='-fpic'
10909	lt_prog_compiler_static='-Bstatic'
10910        ;;
10911      ccc*)
10912        lt_prog_compiler_wl='-Wl,'
10913        # All Alpha code is PIC.
10914        lt_prog_compiler_static='-non_shared'
10915        ;;
10916      xl* | bgxl* | bgf* | mpixl*)
10917	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10918	lt_prog_compiler_wl='-Wl,'
10919	lt_prog_compiler_pic='-qpic'
10920	lt_prog_compiler_static='-qstaticlink'
10921	;;
10922      *)
10923	case `$CC -V 2>&1 | sed 5q` in
10924	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10925	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10926	  lt_prog_compiler_pic='-KPIC'
10927	  lt_prog_compiler_static='-Bstatic'
10928	  lt_prog_compiler_wl=''
10929	  ;;
10930	*Sun\ F* | *Sun*Fortran*)
10931	  lt_prog_compiler_pic='-KPIC'
10932	  lt_prog_compiler_static='-Bstatic'
10933	  lt_prog_compiler_wl='-Qoption ld '
10934	  ;;
10935	*Sun\ C*)
10936	  # Sun C 5.9
10937	  lt_prog_compiler_pic='-KPIC'
10938	  lt_prog_compiler_static='-Bstatic'
10939	  lt_prog_compiler_wl='-Wl,'
10940	  ;;
10941        *Intel*\ [CF]*Compiler*)
10942	  lt_prog_compiler_wl='-Wl,'
10943	  lt_prog_compiler_pic='-fPIC'
10944	  lt_prog_compiler_static='-static'
10945	  ;;
10946	*Portland\ Group*)
10947	  lt_prog_compiler_wl='-Wl,'
10948	  lt_prog_compiler_pic='-fpic'
10949	  lt_prog_compiler_static='-Bstatic'
10950	  ;;
10951	esac
10952	;;
10953      esac
10954      ;;
10955
10956    newsos6)
10957      lt_prog_compiler_pic='-KPIC'
10958      lt_prog_compiler_static='-Bstatic'
10959      ;;
10960
10961    *nto* | *qnx*)
10962      # QNX uses GNU C++, but need to define -shared option too, otherwise
10963      # it will coredump.
10964      lt_prog_compiler_pic='-fPIC -shared'
10965      ;;
10966
10967    osf3* | osf4* | osf5*)
10968      lt_prog_compiler_wl='-Wl,'
10969      # All OSF/1 code is PIC.
10970      lt_prog_compiler_static='-non_shared'
10971      ;;
10972
10973    rdos*)
10974      lt_prog_compiler_static='-non_shared'
10975      ;;
10976
10977    solaris*)
10978      lt_prog_compiler_pic='-KPIC'
10979      lt_prog_compiler_static='-Bstatic'
10980      case $cc_basename in
10981      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10982	lt_prog_compiler_wl='-Qoption ld ';;
10983      *)
10984	lt_prog_compiler_wl='-Wl,';;
10985      esac
10986      ;;
10987
10988    sunos4*)
10989      lt_prog_compiler_wl='-Qoption ld '
10990      lt_prog_compiler_pic='-PIC'
10991      lt_prog_compiler_static='-Bstatic'
10992      ;;
10993
10994    sysv4 | sysv4.2uw2* | sysv4.3*)
10995      lt_prog_compiler_wl='-Wl,'
10996      lt_prog_compiler_pic='-KPIC'
10997      lt_prog_compiler_static='-Bstatic'
10998      ;;
10999
11000    sysv4*MP*)
11001      if test -d /usr/nec; then
11002	lt_prog_compiler_pic='-Kconform_pic'
11003	lt_prog_compiler_static='-Bstatic'
11004      fi
11005      ;;
11006
11007    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11008      lt_prog_compiler_wl='-Wl,'
11009      lt_prog_compiler_pic='-KPIC'
11010      lt_prog_compiler_static='-Bstatic'
11011      ;;
11012
11013    unicos*)
11014      lt_prog_compiler_wl='-Wl,'
11015      lt_prog_compiler_can_build_shared=no
11016      ;;
11017
11018    uts4*)
11019      lt_prog_compiler_pic='-pic'
11020      lt_prog_compiler_static='-Bstatic'
11021      ;;
11022
11023    *)
11024      lt_prog_compiler_can_build_shared=no
11025      ;;
11026    esac
11027  fi
11028
11029case $host_os in
11030  # For platforms that do not support PIC, -DPIC is meaningless:
11031  *djgpp*)
11032    lt_prog_compiler_pic=
11033    ;;
11034  *)
11035    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11036    ;;
11037esac
11038
11039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11040$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11041if ${lt_cv_prog_compiler_pic+:} false; then :
11042  $as_echo_n "(cached) " >&6
11043else
11044  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11045fi
11046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11047$as_echo "$lt_cv_prog_compiler_pic" >&6; }
11048lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11049
11050#
11051# Check to make sure the PIC flag actually works.
11052#
11053if test -n "$lt_prog_compiler_pic"; then
11054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11055$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11056if ${lt_cv_prog_compiler_pic_works+:} false; then :
11057  $as_echo_n "(cached) " >&6
11058else
11059  lt_cv_prog_compiler_pic_works=no
11060   ac_outfile=conftest.$ac_objext
11061   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11062   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
11063   # Insert the option either (1) after the last *FLAGS variable, or
11064   # (2) before a word containing "conftest.", or (3) at the end.
11065   # Note that $ac_compile itself does not contain backslashes and begins
11066   # with a dollar sign (not a hyphen), so the echo should work correctly.
11067   # The option is referenced via a variable to avoid confusing sed.
11068   lt_compile=`echo "$ac_compile" | $SED \
11069   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11070   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11071   -e 's:$: $lt_compiler_flag:'`
11072   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11073   (eval "$lt_compile" 2>conftest.err)
11074   ac_status=$?
11075   cat conftest.err >&5
11076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077   if (exit $ac_status) && test -s "$ac_outfile"; then
11078     # The compiler can only warn and ignore the option if not recognized
11079     # So say no if there are warnings other than the usual output.
11080     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11081     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11082     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11083       lt_cv_prog_compiler_pic_works=yes
11084     fi
11085   fi
11086   $RM conftest*
11087
11088fi
11089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11090$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11091
11092if test yes = "$lt_cv_prog_compiler_pic_works"; then
11093    case $lt_prog_compiler_pic in
11094     "" | " "*) ;;
11095     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11096     esac
11097else
11098    lt_prog_compiler_pic=
11099     lt_prog_compiler_can_build_shared=no
11100fi
11101
11102fi
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114#
11115# Check to make sure the static flag actually works.
11116#
11117wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11119$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11120if ${lt_cv_prog_compiler_static_works+:} false; then :
11121  $as_echo_n "(cached) " >&6
11122else
11123  lt_cv_prog_compiler_static_works=no
11124   save_LDFLAGS=$LDFLAGS
11125   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11126   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11127   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11128     # The linker can only warn and ignore the option if not recognized
11129     # So say no if there are warnings
11130     if test -s conftest.err; then
11131       # Append any errors to the config.log.
11132       cat conftest.err 1>&5
11133       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11134       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11135       if diff conftest.exp conftest.er2 >/dev/null; then
11136         lt_cv_prog_compiler_static_works=yes
11137       fi
11138     else
11139       lt_cv_prog_compiler_static_works=yes
11140     fi
11141   fi
11142   $RM -r conftest*
11143   LDFLAGS=$save_LDFLAGS
11144
11145fi
11146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11147$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11148
11149if test yes = "$lt_cv_prog_compiler_static_works"; then
11150    :
11151else
11152    lt_prog_compiler_static=
11153fi
11154
11155
11156
11157
11158
11159
11160
11161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11162$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11163if ${lt_cv_prog_compiler_c_o+:} false; then :
11164  $as_echo_n "(cached) " >&6
11165else
11166  lt_cv_prog_compiler_c_o=no
11167   $RM -r conftest 2>/dev/null
11168   mkdir conftest
11169   cd conftest
11170   mkdir out
11171   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11172
11173   lt_compiler_flag="-o out/conftest2.$ac_objext"
11174   # Insert the option either (1) after the last *FLAGS variable, or
11175   # (2) before a word containing "conftest.", or (3) at the end.
11176   # Note that $ac_compile itself does not contain backslashes and begins
11177   # with a dollar sign (not a hyphen), so the echo should work correctly.
11178   lt_compile=`echo "$ac_compile" | $SED \
11179   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11180   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11181   -e 's:$: $lt_compiler_flag:'`
11182   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11183   (eval "$lt_compile" 2>out/conftest.err)
11184   ac_status=$?
11185   cat out/conftest.err >&5
11186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11188   then
11189     # The compiler can only warn and ignore the option if not recognized
11190     # So say no if there are warnings
11191     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11192     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11193     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11194       lt_cv_prog_compiler_c_o=yes
11195     fi
11196   fi
11197   chmod u+w . 2>&5
11198   $RM conftest*
11199   # SGI C++ compiler will create directory out/ii_files/ for
11200   # template instantiation
11201   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11202   $RM out/* && rmdir out
11203   cd ..
11204   $RM -r conftest
11205   $RM conftest*
11206
11207fi
11208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11209$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11210
11211
11212
11213
11214
11215
11216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11217$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11218if ${lt_cv_prog_compiler_c_o+:} false; then :
11219  $as_echo_n "(cached) " >&6
11220else
11221  lt_cv_prog_compiler_c_o=no
11222   $RM -r conftest 2>/dev/null
11223   mkdir conftest
11224   cd conftest
11225   mkdir out
11226   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11227
11228   lt_compiler_flag="-o out/conftest2.$ac_objext"
11229   # Insert the option either (1) after the last *FLAGS variable, or
11230   # (2) before a word containing "conftest.", or (3) at the end.
11231   # Note that $ac_compile itself does not contain backslashes and begins
11232   # with a dollar sign (not a hyphen), so the echo should work correctly.
11233   lt_compile=`echo "$ac_compile" | $SED \
11234   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11236   -e 's:$: $lt_compiler_flag:'`
11237   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11238   (eval "$lt_compile" 2>out/conftest.err)
11239   ac_status=$?
11240   cat out/conftest.err >&5
11241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11243   then
11244     # The compiler can only warn and ignore the option if not recognized
11245     # So say no if there are warnings
11246     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11247     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11248     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11249       lt_cv_prog_compiler_c_o=yes
11250     fi
11251   fi
11252   chmod u+w . 2>&5
11253   $RM conftest*
11254   # SGI C++ compiler will create directory out/ii_files/ for
11255   # template instantiation
11256   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11257   $RM out/* && rmdir out
11258   cd ..
11259   $RM -r conftest
11260   $RM conftest*
11261
11262fi
11263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11264$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11265
11266
11267
11268
11269hard_links=nottested
11270if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11271  # do not overwrite the value of need_locks provided by the user
11272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11273$as_echo_n "checking if we can lock with hard links... " >&6; }
11274  hard_links=yes
11275  $RM conftest*
11276  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11277  touch conftest.a
11278  ln conftest.a conftest.b 2>&5 || hard_links=no
11279  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11281$as_echo "$hard_links" >&6; }
11282  if test no = "$hard_links"; then
11283    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11284$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11285    need_locks=warn
11286  fi
11287else
11288  need_locks=no
11289fi
11290
11291
11292
11293
11294
11295
11296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11297$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11298
11299  runpath_var=
11300  allow_undefined_flag=
11301  always_export_symbols=no
11302  archive_cmds=
11303  archive_expsym_cmds=
11304  compiler_needs_object=no
11305  enable_shared_with_static_runtimes=no
11306  export_dynamic_flag_spec=
11307  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11308  hardcode_automatic=no
11309  hardcode_direct=no
11310  hardcode_direct_absolute=no
11311  hardcode_libdir_flag_spec=
11312  hardcode_libdir_separator=
11313  hardcode_minus_L=no
11314  hardcode_shlibpath_var=unsupported
11315  inherit_rpath=no
11316  link_all_deplibs=unknown
11317  module_cmds=
11318  module_expsym_cmds=
11319  old_archive_from_new_cmds=
11320  old_archive_from_expsyms_cmds=
11321  thread_safe_flag_spec=
11322  whole_archive_flag_spec=
11323  # include_expsyms should be a list of space-separated symbols to be *always*
11324  # included in the symbol list
11325  include_expsyms=
11326  # exclude_expsyms can be an extended regexp of symbols to exclude
11327  # it will be wrapped by ' (' and ')$', so one must not match beginning or
11328  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11329  # as well as any symbol that contains 'd'.
11330  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11331  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11332  # platforms (ab)use it in PIC code, but their linkers get confused if
11333  # the symbol is explicitly referenced.  Since portable code cannot
11334  # rely on this symbol name, it's probably fine to never include it in
11335  # preloaded symbol tables.
11336  # Exclude shared library initialization/finalization symbols.
11337  extract_expsyms_cmds=
11338
11339  case $host_os in
11340  cygwin* | mingw* | pw32* | cegcc*)
11341    # FIXME: the MSVC++ port hasn't been tested in a loooong time
11342    # When not using gcc, we currently assume that we are using
11343    # Microsoft Visual C++.
11344    if test yes != "$GCC"; then
11345      with_gnu_ld=no
11346    fi
11347    ;;
11348  interix*)
11349    # we just hope/assume this is gcc and not c89 (= MSVC++)
11350    with_gnu_ld=yes
11351    ;;
11352  openbsd* | bitrig*)
11353    with_gnu_ld=no
11354    ;;
11355  linux* | k*bsd*-gnu | gnu*)
11356    link_all_deplibs=no
11357    ;;
11358  esac
11359
11360  ld_shlibs=yes
11361
11362  # On some targets, GNU ld is compatible enough with the native linker
11363  # that we're better off using the native interface for both.
11364  lt_use_gnu_ld_interface=no
11365  if test yes = "$with_gnu_ld"; then
11366    case $host_os in
11367      aix*)
11368	# The AIX port of GNU ld has always aspired to compatibility
11369	# with the native linker.  However, as the warning in the GNU ld
11370	# block says, versions before 2.19.5* couldn't really create working
11371	# shared libraries, regardless of the interface used.
11372	case `$LD -v 2>&1` in
11373	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11374	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11375	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11376	  *)
11377	    lt_use_gnu_ld_interface=yes
11378	    ;;
11379	esac
11380	;;
11381      *)
11382	lt_use_gnu_ld_interface=yes
11383	;;
11384    esac
11385  fi
11386
11387  if test yes = "$lt_use_gnu_ld_interface"; then
11388    # If archive_cmds runs LD, not CC, wlarc should be empty
11389    wlarc='$wl'
11390
11391    # Set some defaults for GNU ld with shared library support. These
11392    # are reset later if shared libraries are not supported. Putting them
11393    # here allows them to be overridden if necessary.
11394    runpath_var=LD_RUN_PATH
11395    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11396    export_dynamic_flag_spec='$wl--export-dynamic'
11397    # ancient GNU ld didn't support --whole-archive et. al.
11398    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11399      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11400    else
11401      whole_archive_flag_spec=
11402    fi
11403    supports_anon_versioning=no
11404    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11405      *GNU\ gold*) supports_anon_versioning=yes ;;
11406      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11407      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11408      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11409      *\ 2.11.*) ;; # other 2.11 versions
11410      *) supports_anon_versioning=yes ;;
11411    esac
11412
11413    # See if GNU ld supports shared libraries.
11414    case $host_os in
11415    aix[3-9]*)
11416      # On AIX/PPC, the GNU linker is very broken
11417      if test ia64 != "$host_cpu"; then
11418	ld_shlibs=no
11419	cat <<_LT_EOF 1>&2
11420
11421*** Warning: the GNU linker, at least up to release 2.19, is reported
11422*** to be unable to reliably create shared libraries on AIX.
11423*** Therefore, libtool is disabling shared libraries support.  If you
11424*** really care for shared libraries, you may want to install binutils
11425*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11426*** You will then need to restart the configuration process.
11427
11428_LT_EOF
11429      fi
11430      ;;
11431
11432    amigaos*)
11433      case $host_cpu in
11434      powerpc)
11435            # see comment about AmigaOS4 .so support
11436            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11437            archive_expsym_cmds=''
11438        ;;
11439      m68k)
11440            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)'
11441            hardcode_libdir_flag_spec='-L$libdir'
11442            hardcode_minus_L=yes
11443        ;;
11444      esac
11445      ;;
11446
11447    beos*)
11448      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11449	allow_undefined_flag=unsupported
11450	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11451	# support --undefined.  This deserves some investigation.  FIXME
11452	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11453      else
11454	ld_shlibs=no
11455      fi
11456      ;;
11457
11458    cygwin* | mingw* | pw32* | cegcc*)
11459      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11460      # as there is no search path for DLLs.
11461      hardcode_libdir_flag_spec='-L$libdir'
11462      export_dynamic_flag_spec='$wl--export-all-symbols'
11463      allow_undefined_flag=unsupported
11464      always_export_symbols=no
11465      enable_shared_with_static_runtimes=yes
11466      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'
11467      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11468
11469      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11470        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11471	# If the export-symbols file already is a .def file, use it as
11472	# is; otherwise, prepend EXPORTS...
11473	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11474          cp $export_symbols $output_objdir/$soname.def;
11475        else
11476          echo EXPORTS > $output_objdir/$soname.def;
11477          cat $export_symbols >> $output_objdir/$soname.def;
11478        fi~
11479        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11480      else
11481	ld_shlibs=no
11482      fi
11483      ;;
11484
11485    haiku*)
11486      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11487      link_all_deplibs=yes
11488      ;;
11489
11490    os2*)
11491      hardcode_libdir_flag_spec='-L$libdir'
11492      hardcode_minus_L=yes
11493      allow_undefined_flag=unsupported
11494      shrext_cmds=.dll
11495      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11496	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11497	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11498	$ECHO EXPORTS >> $output_objdir/$libname.def~
11499	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11500	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11501	emximp -o $lib $output_objdir/$libname.def'
11502      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11503	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11504	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11505	$ECHO EXPORTS >> $output_objdir/$libname.def~
11506	prefix_cmds="$SED"~
11507	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11508	  prefix_cmds="$prefix_cmds -e 1d";
11509	fi~
11510	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11511	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11512	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11513	emximp -o $lib $output_objdir/$libname.def'
11514      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11515      enable_shared_with_static_runtimes=yes
11516      ;;
11517
11518    interix[3-9]*)
11519      hardcode_direct=no
11520      hardcode_shlibpath_var=no
11521      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11522      export_dynamic_flag_spec='$wl-E'
11523      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11524      # Instead, shared libraries are loaded at an image base (0x10000000 by
11525      # default) and relocated if they conflict, which is a slow very memory
11526      # consuming and fragmenting process.  To avoid this, we pick a random,
11527      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11528      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11529      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11530      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'
11531      ;;
11532
11533    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11534      tmp_diet=no
11535      if test linux-dietlibc = "$host_os"; then
11536	case $cc_basename in
11537	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11538	esac
11539      fi
11540      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11541	 && test no = "$tmp_diet"
11542      then
11543	tmp_addflag=' $pic_flag'
11544	tmp_sharedflag='-shared'
11545	case $cc_basename,$host_cpu in
11546        pgcc*)				# Portland Group C compiler
11547	  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'
11548	  tmp_addflag=' $pic_flag'
11549	  ;;
11550	pgf77* | pgf90* | pgf95* | pgfortran*)
11551					# Portland Group f77 and f90 compilers
11552	  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'
11553	  tmp_addflag=' $pic_flag -Mnomain' ;;
11554	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11555	  tmp_addflag=' -i_dynamic' ;;
11556	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11557	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11558	ifc* | ifort*)			# Intel Fortran compiler
11559	  tmp_addflag=' -nofor_main' ;;
11560	lf95*)				# Lahey Fortran 8.1
11561	  whole_archive_flag_spec=
11562	  tmp_sharedflag='--shared' ;;
11563        nagfor*)                        # NAGFOR 5.3
11564          tmp_sharedflag='-Wl,-shared' ;;
11565	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11566	  tmp_sharedflag='-qmkshrobj'
11567	  tmp_addflag= ;;
11568	nvcc*)	# Cuda Compiler Driver 2.2
11569	  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'
11570	  compiler_needs_object=yes
11571	  ;;
11572	esac
11573	case `$CC -V 2>&1 | sed 5q` in
11574	*Sun\ C*)			# Sun C 5.9
11575	  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'
11576	  compiler_needs_object=yes
11577	  tmp_sharedflag='-G' ;;
11578	*Sun\ F*)			# Sun Fortran 8.3
11579	  tmp_sharedflag='-G' ;;
11580	esac
11581	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11582
11583        if test yes = "$supports_anon_versioning"; then
11584          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11585            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11586            echo "local: *; };" >> $output_objdir/$libname.ver~
11587            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11588        fi
11589
11590	case $cc_basename in
11591	tcc*)
11592	  export_dynamic_flag_spec='-rdynamic'
11593	  ;;
11594	xlf* | bgf* | bgxlf* | mpixlf*)
11595	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11596	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11597	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11598	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11599	  if test yes = "$supports_anon_versioning"; then
11600	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11601              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11602              echo "local: *; };" >> $output_objdir/$libname.ver~
11603              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11604	  fi
11605	  ;;
11606	esac
11607      else
11608        ld_shlibs=no
11609      fi
11610      ;;
11611
11612    netbsd* | netbsdelf*-gnu)
11613      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11614	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11615	wlarc=
11616      else
11617	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11618	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11619      fi
11620      ;;
11621
11622    solaris*)
11623      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11624	ld_shlibs=no
11625	cat <<_LT_EOF 1>&2
11626
11627*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11628*** create shared libraries on Solaris systems.  Therefore, libtool
11629*** is disabling shared libraries support.  We urge you to upgrade GNU
11630*** binutils to release 2.9.1 or newer.  Another option is to modify
11631*** your PATH or compiler configuration so that the native linker is
11632*** used, and then restart.
11633
11634_LT_EOF
11635      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11636	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11637	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11638      else
11639	ld_shlibs=no
11640      fi
11641      ;;
11642
11643    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11644      case `$LD -v 2>&1` in
11645        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11646	ld_shlibs=no
11647	cat <<_LT_EOF 1>&2
11648
11649*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11650*** reliably create shared libraries on SCO systems.  Therefore, libtool
11651*** is disabling shared libraries support.  We urge you to upgrade GNU
11652*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11653*** your PATH or compiler configuration so that the native linker is
11654*** used, and then restart.
11655
11656_LT_EOF
11657	;;
11658	*)
11659	  # For security reasons, it is highly recommended that you always
11660	  # use absolute paths for naming shared libraries, and exclude the
11661	  # DT_RUNPATH tag from executables and libraries.  But doing so
11662	  # requires that you compile everything twice, which is a pain.
11663	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11664	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11665	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11666	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11667	  else
11668	    ld_shlibs=no
11669	  fi
11670	;;
11671      esac
11672      ;;
11673
11674    sunos4*)
11675      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11676      wlarc=
11677      hardcode_direct=yes
11678      hardcode_shlibpath_var=no
11679      ;;
11680
11681    *)
11682      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11683	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11684	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11685      else
11686	ld_shlibs=no
11687      fi
11688      ;;
11689    esac
11690
11691    if test no = "$ld_shlibs"; then
11692      runpath_var=
11693      hardcode_libdir_flag_spec=
11694      export_dynamic_flag_spec=
11695      whole_archive_flag_spec=
11696    fi
11697  else
11698    # PORTME fill in a description of your system's linker (not GNU ld)
11699    case $host_os in
11700    aix3*)
11701      allow_undefined_flag=unsupported
11702      always_export_symbols=yes
11703      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'
11704      # Note: this linker hardcodes the directories in LIBPATH if there
11705      # are no directories specified by -L.
11706      hardcode_minus_L=yes
11707      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11708	# Neither direct hardcoding nor static linking is supported with a
11709	# broken collect2.
11710	hardcode_direct=unsupported
11711      fi
11712      ;;
11713
11714    aix[4-9]*)
11715      if test ia64 = "$host_cpu"; then
11716	# On IA64, the linker does run time linking by default, so we don't
11717	# have to do anything special.
11718	aix_use_runtimelinking=no
11719	exp_sym_flag='-Bexport'
11720	no_entry_flag=
11721      else
11722	# If we're using GNU nm, then we don't want the "-C" option.
11723	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11724	# Without the "-l" option, or with the "-B" option, AIX nm treats
11725	# weak defined symbols like other global defined symbols, whereas
11726	# GNU nm marks them as "W".
11727	# While the 'weak' keyword is ignored in the Export File, we need
11728	# it in the Import File for the 'aix-soname' feature, so we have
11729	# to replace the "-B" option with "-P" for AIX nm.
11730	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11731	  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'
11732	else
11733	  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'
11734	fi
11735	aix_use_runtimelinking=no
11736
11737	# Test if we are trying to use run time linking or normal
11738	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11739	# have runtime linking enabled, and use it for executables.
11740	# For shared libraries, we enable/disable runtime linking
11741	# depending on the kind of the shared library created -
11742	# when "with_aix_soname,aix_use_runtimelinking" is:
11743	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11744	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11745	#            lib.a           static archive
11746	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11747	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11748	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11749	#            lib.a(lib.so.V) shared, rtl:no
11750	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11751	#            lib.a           static archive
11752	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11753	  for ld_flag in $LDFLAGS; do
11754	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11755	    aix_use_runtimelinking=yes
11756	    break
11757	  fi
11758	  done
11759	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11760	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11761	    # so we don't have lib.a shared libs to link our executables.
11762	    # We have to force runtime linking in this case.
11763	    aix_use_runtimelinking=yes
11764	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11765	  fi
11766	  ;;
11767	esac
11768
11769	exp_sym_flag='-bexport'
11770	no_entry_flag='-bnoentry'
11771      fi
11772
11773      # When large executables or shared objects are built, AIX ld can
11774      # have problems creating the table of contents.  If linking a library
11775      # or program results in "error TOC overflow" add -mminimal-toc to
11776      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11777      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11778
11779      archive_cmds=''
11780      hardcode_direct=yes
11781      hardcode_direct_absolute=yes
11782      hardcode_libdir_separator=':'
11783      link_all_deplibs=yes
11784      file_list_spec='$wl-f,'
11785      case $with_aix_soname,$aix_use_runtimelinking in
11786      aix,*) ;; # traditional, no import file
11787      svr4,* | *,yes) # use import file
11788	# The Import File defines what to hardcode.
11789	hardcode_direct=no
11790	hardcode_direct_absolute=no
11791	;;
11792      esac
11793
11794      if test yes = "$GCC"; then
11795	case $host_os in aix4.[012]|aix4.[012].*)
11796	# We only want to do this on AIX 4.2 and lower, the check
11797	# below for broken collect2 doesn't work under 4.3+
11798	  collect2name=`$CC -print-prog-name=collect2`
11799	  if test -f "$collect2name" &&
11800	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11801	  then
11802	  # We have reworked collect2
11803	  :
11804	  else
11805	  # We have old collect2
11806	  hardcode_direct=unsupported
11807	  # It fails to find uninstalled libraries when the uninstalled
11808	  # path is not listed in the libpath.  Setting hardcode_minus_L
11809	  # to unsupported forces relinking
11810	  hardcode_minus_L=yes
11811	  hardcode_libdir_flag_spec='-L$libdir'
11812	  hardcode_libdir_separator=
11813	  fi
11814	  ;;
11815	esac
11816	shared_flag='-shared'
11817	if test yes = "$aix_use_runtimelinking"; then
11818	  shared_flag="$shared_flag "'$wl-G'
11819	fi
11820	# Need to ensure runtime linking is disabled for the traditional
11821	# shared library, or the linker may eventually find shared libraries
11822	# /with/ Import File - we do not want to mix them.
11823	shared_flag_aix='-shared'
11824	shared_flag_svr4='-shared $wl-G'
11825      else
11826	# not using gcc
11827	if test ia64 = "$host_cpu"; then
11828	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11829	# chokes on -Wl,-G. The following line is correct:
11830	  shared_flag='-G'
11831	else
11832	  if test yes = "$aix_use_runtimelinking"; then
11833	    shared_flag='$wl-G'
11834	  else
11835	    shared_flag='$wl-bM:SRE'
11836	  fi
11837	  shared_flag_aix='$wl-bM:SRE'
11838	  shared_flag_svr4='$wl-G'
11839	fi
11840      fi
11841
11842      export_dynamic_flag_spec='$wl-bexpall'
11843      # It seems that -bexpall does not export symbols beginning with
11844      # underscore (_), so it is better to generate a list of symbols to export.
11845      always_export_symbols=yes
11846      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11847	# Warning - without using the other runtime loading flags (-brtl),
11848	# -berok will link without error, but may produce a broken library.
11849	allow_undefined_flag='-berok'
11850        # Determine the default libpath from the value encoded in an
11851        # empty executable.
11852        if test set = "${lt_cv_aix_libpath+set}"; then
11853  aix_libpath=$lt_cv_aix_libpath
11854else
11855  if ${lt_cv_aix_libpath_+:} false; then :
11856  $as_echo_n "(cached) " >&6
11857else
11858  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859/* end confdefs.h.  */
11860
11861int
11862main ()
11863{
11864
11865  ;
11866  return 0;
11867}
11868_ACEOF
11869if ac_fn_c_try_link "$LINENO"; then :
11870
11871  lt_aix_libpath_sed='
11872      /Import File Strings/,/^$/ {
11873	  /^0/ {
11874	      s/^0  *\([^ ]*\) *$/\1/
11875	      p
11876	  }
11877      }'
11878  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11879  # Check for a 64-bit object if we didn't find anything.
11880  if test -z "$lt_cv_aix_libpath_"; then
11881    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11882  fi
11883fi
11884rm -f core conftest.err conftest.$ac_objext \
11885    conftest$ac_exeext conftest.$ac_ext
11886  if test -z "$lt_cv_aix_libpath_"; then
11887    lt_cv_aix_libpath_=/usr/lib:/lib
11888  fi
11889
11890fi
11891
11892  aix_libpath=$lt_cv_aix_libpath_
11893fi
11894
11895        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11896        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
11897      else
11898	if test ia64 = "$host_cpu"; then
11899	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11900	  allow_undefined_flag="-z nodefs"
11901	  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"
11902	else
11903	 # Determine the default libpath from the value encoded in an
11904	 # empty executable.
11905	 if test set = "${lt_cv_aix_libpath+set}"; then
11906  aix_libpath=$lt_cv_aix_libpath
11907else
11908  if ${lt_cv_aix_libpath_+:} false; then :
11909  $as_echo_n "(cached) " >&6
11910else
11911  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912/* end confdefs.h.  */
11913
11914int
11915main ()
11916{
11917
11918  ;
11919  return 0;
11920}
11921_ACEOF
11922if ac_fn_c_try_link "$LINENO"; then :
11923
11924  lt_aix_libpath_sed='
11925      /Import File Strings/,/^$/ {
11926	  /^0/ {
11927	      s/^0  *\([^ ]*\) *$/\1/
11928	      p
11929	  }
11930      }'
11931  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11932  # Check for a 64-bit object if we didn't find anything.
11933  if test -z "$lt_cv_aix_libpath_"; then
11934    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11935  fi
11936fi
11937rm -f core conftest.err conftest.$ac_objext \
11938    conftest$ac_exeext conftest.$ac_ext
11939  if test -z "$lt_cv_aix_libpath_"; then
11940    lt_cv_aix_libpath_=/usr/lib:/lib
11941  fi
11942
11943fi
11944
11945  aix_libpath=$lt_cv_aix_libpath_
11946fi
11947
11948	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11949	  # Warning - without using the other run time loading flags,
11950	  # -berok will link without error, but may produce a broken library.
11951	  no_undefined_flag=' $wl-bernotok'
11952	  allow_undefined_flag=' $wl-berok'
11953	  if test yes = "$with_gnu_ld"; then
11954	    # We only use this code for GNU lds that support --whole-archive.
11955	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11956	  else
11957	    # Exported symbols can be pulled into shared objects from archives
11958	    whole_archive_flag_spec='$convenience'
11959	  fi
11960	  archive_cmds_need_lc=yes
11961	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11962	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11963	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11964	  if test svr4 != "$with_aix_soname"; then
11965	    # This is similar to how AIX traditionally builds its shared libraries.
11966	    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'
11967	  fi
11968	  if test aix != "$with_aix_soname"; then
11969	    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'
11970	  else
11971	    # used by -dlpreopen to get the symbols
11972	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11973	  fi
11974	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11975	fi
11976      fi
11977      ;;
11978
11979    amigaos*)
11980      case $host_cpu in
11981      powerpc)
11982            # see comment about AmigaOS4 .so support
11983            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11984            archive_expsym_cmds=''
11985        ;;
11986      m68k)
11987            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)'
11988            hardcode_libdir_flag_spec='-L$libdir'
11989            hardcode_minus_L=yes
11990        ;;
11991      esac
11992      ;;
11993
11994    bsdi[45]*)
11995      export_dynamic_flag_spec=-rdynamic
11996      ;;
11997
11998    cygwin* | mingw* | pw32* | cegcc*)
11999      # When not using gcc, we currently assume that we are using
12000      # Microsoft Visual C++.
12001      # hardcode_libdir_flag_spec is actually meaningless, as there is
12002      # no search path for DLLs.
12003      case $cc_basename in
12004      cl*)
12005	# Native MSVC
12006	hardcode_libdir_flag_spec=' '
12007	allow_undefined_flag=unsupported
12008	always_export_symbols=yes
12009	file_list_spec='@'
12010	# Tell ltmain to make .lib files, not .a files.
12011	libext=lib
12012	# Tell ltmain to make .dll files, not .so files.
12013	shrext_cmds=.dll
12014	# FIXME: Setting linknames here is a bad hack.
12015	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12016	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
12017            cp "$export_symbols" "$output_objdir/$soname.def";
12018            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12019          else
12020            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12021          fi~
12022          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12023          linknames='
12024	# The linker will not automatically build a static lib if we build a DLL.
12025	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12026	enable_shared_with_static_runtimes=yes
12027	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12028	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12029	# Don't use ranlib
12030	old_postinstall_cmds='chmod 644 $oldlib'
12031	postlink_cmds='lt_outputfile="@OUTPUT@"~
12032          lt_tool_outputfile="@TOOL_OUTPUT@"~
12033          case $lt_outputfile in
12034            *.exe|*.EXE) ;;
12035            *)
12036              lt_outputfile=$lt_outputfile.exe
12037              lt_tool_outputfile=$lt_tool_outputfile.exe
12038              ;;
12039          esac~
12040          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12041            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12042            $RM "$lt_outputfile.manifest";
12043          fi'
12044	;;
12045      *)
12046	# Assume MSVC wrapper
12047	hardcode_libdir_flag_spec=' '
12048	allow_undefined_flag=unsupported
12049	# Tell ltmain to make .lib files, not .a files.
12050	libext=lib
12051	# Tell ltmain to make .dll files, not .so files.
12052	shrext_cmds=.dll
12053	# FIXME: Setting linknames here is a bad hack.
12054	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12055	# The linker will automatically build a .lib file if we build a DLL.
12056	old_archive_from_new_cmds='true'
12057	# FIXME: Should let the user specify the lib program.
12058	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12059	enable_shared_with_static_runtimes=yes
12060	;;
12061      esac
12062      ;;
12063
12064    darwin* | rhapsody*)
12065
12066
12067  archive_cmds_need_lc=no
12068  hardcode_direct=no
12069  hardcode_automatic=yes
12070  hardcode_shlibpath_var=unsupported
12071  if test yes = "$lt_cv_ld_force_load"; then
12072    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\"`'
12073
12074  else
12075    whole_archive_flag_spec=''
12076  fi
12077  link_all_deplibs=yes
12078  allow_undefined_flag=$_lt_dar_allow_undefined
12079  case $cc_basename in
12080     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12081     *) _lt_dar_can_shared=$GCC ;;
12082  esac
12083  if test yes = "$_lt_dar_can_shared"; then
12084    output_verbose_link_cmd=func_echo_all
12085    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12086    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12087    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"
12088    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"
12089
12090  else
12091  ld_shlibs=no
12092  fi
12093
12094      ;;
12095
12096    dgux*)
12097      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12098      hardcode_libdir_flag_spec='-L$libdir'
12099      hardcode_shlibpath_var=no
12100      ;;
12101
12102    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12103    # support.  Future versions do this automatically, but an explicit c++rt0.o
12104    # does not break anything, and helps significantly (at the cost of a little
12105    # extra space).
12106    freebsd2.2*)
12107      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12108      hardcode_libdir_flag_spec='-R$libdir'
12109      hardcode_direct=yes
12110      hardcode_shlibpath_var=no
12111      ;;
12112
12113    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12114    freebsd2.*)
12115      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12116      hardcode_direct=yes
12117      hardcode_minus_L=yes
12118      hardcode_shlibpath_var=no
12119      ;;
12120
12121    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12122    freebsd* | dragonfly*)
12123      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12124      hardcode_libdir_flag_spec='-R$libdir'
12125      hardcode_direct=yes
12126      hardcode_shlibpath_var=no
12127      ;;
12128
12129    hpux9*)
12130      if test yes = "$GCC"; then
12131	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'
12132      else
12133	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'
12134      fi
12135      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12136      hardcode_libdir_separator=:
12137      hardcode_direct=yes
12138
12139      # hardcode_minus_L: Not really in the search PATH,
12140      # but as the default location of the library.
12141      hardcode_minus_L=yes
12142      export_dynamic_flag_spec='$wl-E'
12143      ;;
12144
12145    hpux10*)
12146      if test yes,no = "$GCC,$with_gnu_ld"; then
12147	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12148      else
12149	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12150      fi
12151      if test no = "$with_gnu_ld"; then
12152	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12153	hardcode_libdir_separator=:
12154	hardcode_direct=yes
12155	hardcode_direct_absolute=yes
12156	export_dynamic_flag_spec='$wl-E'
12157	# hardcode_minus_L: Not really in the search PATH,
12158	# but as the default location of the library.
12159	hardcode_minus_L=yes
12160      fi
12161      ;;
12162
12163    hpux11*)
12164      if test yes,no = "$GCC,$with_gnu_ld"; then
12165	case $host_cpu in
12166	hppa*64*)
12167	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12168	  ;;
12169	ia64*)
12170	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12171	  ;;
12172	*)
12173	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12174	  ;;
12175	esac
12176      else
12177	case $host_cpu in
12178	hppa*64*)
12179	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12180	  ;;
12181	ia64*)
12182	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12183	  ;;
12184	*)
12185
12186	  # Older versions of the 11.00 compiler do not understand -b yet
12187	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12188	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12189$as_echo_n "checking if $CC understands -b... " >&6; }
12190if ${lt_cv_prog_compiler__b+:} false; then :
12191  $as_echo_n "(cached) " >&6
12192else
12193  lt_cv_prog_compiler__b=no
12194   save_LDFLAGS=$LDFLAGS
12195   LDFLAGS="$LDFLAGS -b"
12196   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12197   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12198     # The linker can only warn and ignore the option if not recognized
12199     # So say no if there are warnings
12200     if test -s conftest.err; then
12201       # Append any errors to the config.log.
12202       cat conftest.err 1>&5
12203       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12204       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12205       if diff conftest.exp conftest.er2 >/dev/null; then
12206         lt_cv_prog_compiler__b=yes
12207       fi
12208     else
12209       lt_cv_prog_compiler__b=yes
12210     fi
12211   fi
12212   $RM -r conftest*
12213   LDFLAGS=$save_LDFLAGS
12214
12215fi
12216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12217$as_echo "$lt_cv_prog_compiler__b" >&6; }
12218
12219if test yes = "$lt_cv_prog_compiler__b"; then
12220    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12221else
12222    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12223fi
12224
12225	  ;;
12226	esac
12227      fi
12228      if test no = "$with_gnu_ld"; then
12229	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12230	hardcode_libdir_separator=:
12231
12232	case $host_cpu in
12233	hppa*64*|ia64*)
12234	  hardcode_direct=no
12235	  hardcode_shlibpath_var=no
12236	  ;;
12237	*)
12238	  hardcode_direct=yes
12239	  hardcode_direct_absolute=yes
12240	  export_dynamic_flag_spec='$wl-E'
12241
12242	  # hardcode_minus_L: Not really in the search PATH,
12243	  # but as the default location of the library.
12244	  hardcode_minus_L=yes
12245	  ;;
12246	esac
12247      fi
12248      ;;
12249
12250    irix5* | irix6* | nonstopux*)
12251      if test yes = "$GCC"; then
12252	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'
12253	# Try to use the -exported_symbol ld option, if it does not
12254	# work, assume that -exports_file does not work either and
12255	# implicitly export all symbols.
12256	# This should be the same for all languages, so no per-tag cache variable.
12257	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12258$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12259if ${lt_cv_irix_exported_symbol+:} false; then :
12260  $as_echo_n "(cached) " >&6
12261else
12262  save_LDFLAGS=$LDFLAGS
12263	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12264	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265/* end confdefs.h.  */
12266int foo (void) { return 0; }
12267_ACEOF
12268if ac_fn_c_try_link "$LINENO"; then :
12269  lt_cv_irix_exported_symbol=yes
12270else
12271  lt_cv_irix_exported_symbol=no
12272fi
12273rm -f core conftest.err conftest.$ac_objext \
12274    conftest$ac_exeext conftest.$ac_ext
12275           LDFLAGS=$save_LDFLAGS
12276fi
12277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12278$as_echo "$lt_cv_irix_exported_symbol" >&6; }
12279	if test yes = "$lt_cv_irix_exported_symbol"; then
12280          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'
12281	fi
12282	link_all_deplibs=no
12283      else
12284	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'
12285	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'
12286      fi
12287      archive_cmds_need_lc='no'
12288      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12289      hardcode_libdir_separator=:
12290      inherit_rpath=yes
12291      link_all_deplibs=yes
12292      ;;
12293
12294    linux*)
12295      case $cc_basename in
12296      tcc*)
12297	# Fabrice Bellard et al's Tiny C Compiler
12298	ld_shlibs=yes
12299	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12300	;;
12301      esac
12302      ;;
12303
12304    netbsd* | netbsdelf*-gnu)
12305      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12306	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12307      else
12308	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12309      fi
12310      hardcode_libdir_flag_spec='-R$libdir'
12311      hardcode_direct=yes
12312      hardcode_shlibpath_var=no
12313      ;;
12314
12315    newsos6)
12316      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12317      hardcode_direct=yes
12318      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12319      hardcode_libdir_separator=:
12320      hardcode_shlibpath_var=no
12321      ;;
12322
12323    *nto* | *qnx*)
12324      ;;
12325
12326    openbsd* | bitrig*)
12327      if test -f /usr/libexec/ld.so; then
12328	hardcode_direct=yes
12329	hardcode_shlibpath_var=no
12330	hardcode_direct_absolute=yes
12331	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12332	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12333	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12334	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12335	  export_dynamic_flag_spec='$wl-E'
12336	else
12337	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12338	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12339	fi
12340      else
12341	ld_shlibs=no
12342      fi
12343      ;;
12344
12345    os2*)
12346      hardcode_libdir_flag_spec='-L$libdir'
12347      hardcode_minus_L=yes
12348      allow_undefined_flag=unsupported
12349      shrext_cmds=.dll
12350      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12351	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12352	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12353	$ECHO EXPORTS >> $output_objdir/$libname.def~
12354	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12355	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12356	emximp -o $lib $output_objdir/$libname.def'
12357      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12358	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12359	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12360	$ECHO EXPORTS >> $output_objdir/$libname.def~
12361	prefix_cmds="$SED"~
12362	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12363	  prefix_cmds="$prefix_cmds -e 1d";
12364	fi~
12365	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12366	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12367	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12368	emximp -o $lib $output_objdir/$libname.def'
12369      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12370      enable_shared_with_static_runtimes=yes
12371      ;;
12372
12373    osf3*)
12374      if test yes = "$GCC"; then
12375	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12376	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'
12377      else
12378	allow_undefined_flag=' -expect_unresolved \*'
12379	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'
12380      fi
12381      archive_cmds_need_lc='no'
12382      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12383      hardcode_libdir_separator=:
12384      ;;
12385
12386    osf4* | osf5*)	# as osf3* with the addition of -msym flag
12387      if test yes = "$GCC"; then
12388	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12389	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'
12390	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12391      else
12392	allow_undefined_flag=' -expect_unresolved \*'
12393	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'
12394	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~
12395          $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'
12396
12397	# Both c and cxx compiler support -rpath directly
12398	hardcode_libdir_flag_spec='-rpath $libdir'
12399      fi
12400      archive_cmds_need_lc='no'
12401      hardcode_libdir_separator=:
12402      ;;
12403
12404    solaris*)
12405      no_undefined_flag=' -z defs'
12406      if test yes = "$GCC"; then
12407	wlarc='$wl'
12408	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12409	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12410          $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'
12411      else
12412	case `$CC -V 2>&1` in
12413	*"Compilers 5.0"*)
12414	  wlarc=''
12415	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12416	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12417            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12418	  ;;
12419	*)
12420	  wlarc='$wl'
12421	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12422	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12423            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12424	  ;;
12425	esac
12426      fi
12427      hardcode_libdir_flag_spec='-R$libdir'
12428      hardcode_shlibpath_var=no
12429      case $host_os in
12430      solaris2.[0-5] | solaris2.[0-5].*) ;;
12431      *)
12432	# The compiler driver will combine and reorder linker options,
12433	# but understands '-z linker_flag'.  GCC discards it without '$wl',
12434	# but is careful enough not to reorder.
12435	# Supported since Solaris 2.6 (maybe 2.5.1?)
12436	if test yes = "$GCC"; then
12437	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12438	else
12439	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12440	fi
12441	;;
12442      esac
12443      link_all_deplibs=yes
12444      ;;
12445
12446    sunos4*)
12447      if test sequent = "$host_vendor"; then
12448	# Use $CC to link under sequent, because it throws in some extra .o
12449	# files that make .init and .fini sections work.
12450	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12451      else
12452	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12453      fi
12454      hardcode_libdir_flag_spec='-L$libdir'
12455      hardcode_direct=yes
12456      hardcode_minus_L=yes
12457      hardcode_shlibpath_var=no
12458      ;;
12459
12460    sysv4)
12461      case $host_vendor in
12462	sni)
12463	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12464	  hardcode_direct=yes # is this really true???
12465	;;
12466	siemens)
12467	  ## LD is ld it makes a PLAMLIB
12468	  ## CC just makes a GrossModule.
12469	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12470	  reload_cmds='$CC -r -o $output$reload_objs'
12471	  hardcode_direct=no
12472        ;;
12473	motorola)
12474	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12475	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12476	;;
12477      esac
12478      runpath_var='LD_RUN_PATH'
12479      hardcode_shlibpath_var=no
12480      ;;
12481
12482    sysv4.3*)
12483      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12484      hardcode_shlibpath_var=no
12485      export_dynamic_flag_spec='-Bexport'
12486      ;;
12487
12488    sysv4*MP*)
12489      if test -d /usr/nec; then
12490	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12491	hardcode_shlibpath_var=no
12492	runpath_var=LD_RUN_PATH
12493	hardcode_runpath_var=yes
12494	ld_shlibs=yes
12495      fi
12496      ;;
12497
12498    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12499      no_undefined_flag='$wl-z,text'
12500      archive_cmds_need_lc=no
12501      hardcode_shlibpath_var=no
12502      runpath_var='LD_RUN_PATH'
12503
12504      if test yes = "$GCC"; then
12505	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12506	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12507      else
12508	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12509	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12510      fi
12511      ;;
12512
12513    sysv5* | sco3.2v5* | sco5v6*)
12514      # Note: We CANNOT use -z defs as we might desire, because we do not
12515      # link with -lc, and that would cause any symbols used from libc to
12516      # always be unresolved, which means just about no library would
12517      # ever link correctly.  If we're not using GNU ld we use -z text
12518      # though, which does catch some bad symbols but isn't as heavy-handed
12519      # as -z defs.
12520      no_undefined_flag='$wl-z,text'
12521      allow_undefined_flag='$wl-z,nodefs'
12522      archive_cmds_need_lc=no
12523      hardcode_shlibpath_var=no
12524      hardcode_libdir_flag_spec='$wl-R,$libdir'
12525      hardcode_libdir_separator=':'
12526      link_all_deplibs=yes
12527      export_dynamic_flag_spec='$wl-Bexport'
12528      runpath_var='LD_RUN_PATH'
12529
12530      if test yes = "$GCC"; then
12531	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12532	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12533      else
12534	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12535	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12536      fi
12537      ;;
12538
12539    uts4*)
12540      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12541      hardcode_libdir_flag_spec='-L$libdir'
12542      hardcode_shlibpath_var=no
12543      ;;
12544
12545    *)
12546      ld_shlibs=no
12547      ;;
12548    esac
12549
12550    if test sni = "$host_vendor"; then
12551      case $host in
12552      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12553	export_dynamic_flag_spec='$wl-Blargedynsym'
12554	;;
12555      esac
12556    fi
12557  fi
12558
12559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12560$as_echo "$ld_shlibs" >&6; }
12561test no = "$ld_shlibs" && can_build_shared=no
12562
12563with_gnu_ld=$with_gnu_ld
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579#
12580# Do we need to explicitly link libc?
12581#
12582case "x$archive_cmds_need_lc" in
12583x|xyes)
12584  # Assume -lc should be added
12585  archive_cmds_need_lc=yes
12586
12587  if test yes,yes = "$GCC,$enable_shared"; then
12588    case $archive_cmds in
12589    *'~'*)
12590      # FIXME: we may have to deal with multi-command sequences.
12591      ;;
12592    '$CC '*)
12593      # Test whether the compiler implicitly links with -lc since on some
12594      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12595      # to ld, don't add -lc before -lgcc.
12596      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12597$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12598if ${lt_cv_archive_cmds_need_lc+:} false; then :
12599  $as_echo_n "(cached) " >&6
12600else
12601  $RM conftest*
12602	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12603
12604	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12605  (eval $ac_compile) 2>&5
12606  ac_status=$?
12607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12608  test $ac_status = 0; } 2>conftest.err; then
12609	  soname=conftest
12610	  lib=conftest
12611	  libobjs=conftest.$ac_objext
12612	  deplibs=
12613	  wl=$lt_prog_compiler_wl
12614	  pic_flag=$lt_prog_compiler_pic
12615	  compiler_flags=-v
12616	  linker_flags=-v
12617	  verstring=
12618	  output_objdir=.
12619	  libname=conftest
12620	  lt_save_allow_undefined_flag=$allow_undefined_flag
12621	  allow_undefined_flag=
12622	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12623  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12624  ac_status=$?
12625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12626  test $ac_status = 0; }
12627	  then
12628	    lt_cv_archive_cmds_need_lc=no
12629	  else
12630	    lt_cv_archive_cmds_need_lc=yes
12631	  fi
12632	  allow_undefined_flag=$lt_save_allow_undefined_flag
12633	else
12634	  cat conftest.err 1>&5
12635	fi
12636	$RM conftest*
12637
12638fi
12639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12640$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12641      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12642      ;;
12643    esac
12644  fi
12645  ;;
12646esac
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12800$as_echo_n "checking dynamic linker characteristics... " >&6; }
12801
12802if test yes = "$GCC"; then
12803  case $host_os in
12804    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12805    *) lt_awk_arg='/^libraries:/' ;;
12806  esac
12807  case $host_os in
12808    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12809    *) lt_sed_strip_eq='s|=/|/|g' ;;
12810  esac
12811  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12812  case $lt_search_path_spec in
12813  *\;*)
12814    # if the path contains ";" then we assume it to be the separator
12815    # otherwise default to the standard path separator (i.e. ":") - it is
12816    # assumed that no part of a normal pathname contains ";" but that should
12817    # okay in the real world where ";" in dirpaths is itself problematic.
12818    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12819    ;;
12820  *)
12821    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12822    ;;
12823  esac
12824  # Ok, now we have the path, separated by spaces, we can step through it
12825  # and add multilib dir if necessary...
12826  lt_tmp_lt_search_path_spec=
12827  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12828  # ...but if some path component already ends with the multilib dir we assume
12829  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12830  case "$lt_multi_os_dir; $lt_search_path_spec " in
12831  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12832    lt_multi_os_dir=
12833    ;;
12834  esac
12835  for lt_sys_path in $lt_search_path_spec; do
12836    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12837      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12838    elif test -n "$lt_multi_os_dir"; then
12839      test -d "$lt_sys_path" && \
12840	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12841    fi
12842  done
12843  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12844BEGIN {RS = " "; FS = "/|\n";} {
12845  lt_foo = "";
12846  lt_count = 0;
12847  for (lt_i = NF; lt_i > 0; lt_i--) {
12848    if ($lt_i != "" && $lt_i != ".") {
12849      if ($lt_i == "..") {
12850        lt_count++;
12851      } else {
12852        if (lt_count == 0) {
12853          lt_foo = "/" $lt_i lt_foo;
12854        } else {
12855          lt_count--;
12856        }
12857      }
12858    }
12859  }
12860  if (lt_foo != "") { lt_freq[lt_foo]++; }
12861  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12862}'`
12863  # AWK program above erroneously prepends '/' to C:/dos/paths
12864  # for these hosts.
12865  case $host_os in
12866    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12867      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12868  esac
12869  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12870else
12871  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12872fi
12873library_names_spec=
12874libname_spec='lib$name'
12875soname_spec=
12876shrext_cmds=.so
12877postinstall_cmds=
12878postuninstall_cmds=
12879finish_cmds=
12880finish_eval=
12881shlibpath_var=
12882shlibpath_overrides_runpath=unknown
12883version_type=none
12884dynamic_linker="$host_os ld.so"
12885sys_lib_dlsearch_path_spec="/lib /usr/lib"
12886need_lib_prefix=unknown
12887hardcode_into_libs=no
12888
12889# when you set need_version to no, make sure it does not cause -set_version
12890# flags to be left without arguments
12891need_version=unknown
12892
12893
12894
12895case $host_os in
12896aix3*)
12897  version_type=linux # correct to gnu/linux during the next big refactor
12898  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12899  shlibpath_var=LIBPATH
12900
12901  # AIX 3 has no versioning support, so we append a major version to the name.
12902  soname_spec='$libname$release$shared_ext$major'
12903  ;;
12904
12905aix[4-9]*)
12906  version_type=linux # correct to gnu/linux during the next big refactor
12907  need_lib_prefix=no
12908  need_version=no
12909  hardcode_into_libs=yes
12910  if test ia64 = "$host_cpu"; then
12911    # AIX 5 supports IA64
12912    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12913    shlibpath_var=LD_LIBRARY_PATH
12914  else
12915    # With GCC up to 2.95.x, collect2 would create an import file
12916    # for dependence libraries.  The import file would start with
12917    # the line '#! .'.  This would cause the generated library to
12918    # depend on '.', always an invalid library.  This was fixed in
12919    # development snapshots of GCC prior to 3.0.
12920    case $host_os in
12921      aix4 | aix4.[01] | aix4.[01].*)
12922      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12923	   echo ' yes '
12924	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12925	:
12926      else
12927	can_build_shared=no
12928      fi
12929      ;;
12930    esac
12931    # Using Import Files as archive members, it is possible to support
12932    # filename-based versioning of shared library archives on AIX. While
12933    # this would work for both with and without runtime linking, it will
12934    # prevent static linking of such archives. So we do filename-based
12935    # shared library versioning with .so extension only, which is used
12936    # when both runtime linking and shared linking is enabled.
12937    # Unfortunately, runtime linking may impact performance, so we do
12938    # not want this to be the default eventually. Also, we use the
12939    # versioned .so libs for executables only if there is the -brtl
12940    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12941    # To allow for filename-based versioning support, we need to create
12942    # libNAME.so.V as an archive file, containing:
12943    # *) an Import File, referring to the versioned filename of the
12944    #    archive as well as the shared archive member, telling the
12945    #    bitwidth (32 or 64) of that shared object, and providing the
12946    #    list of exported symbols of that shared object, eventually
12947    #    decorated with the 'weak' keyword
12948    # *) the shared object with the F_LOADONLY flag set, to really avoid
12949    #    it being seen by the linker.
12950    # At run time we better use the real file rather than another symlink,
12951    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12952
12953    case $with_aix_soname,$aix_use_runtimelinking in
12954    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12955    # soname into executable. Probably we can add versioning support to
12956    # collect2, so additional links can be useful in future.
12957    aix,yes) # traditional libtool
12958      dynamic_linker='AIX unversionable lib.so'
12959      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12960      # instead of lib<name>.a to let people know that these are not
12961      # typical AIX shared libraries.
12962      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12963      ;;
12964    aix,no) # traditional AIX only
12965      dynamic_linker='AIX lib.a(lib.so.V)'
12966      # We preserve .a as extension for shared libraries through AIX4.2
12967      # and later when we are not doing run time linking.
12968      library_names_spec='$libname$release.a $libname.a'
12969      soname_spec='$libname$release$shared_ext$major'
12970      ;;
12971    svr4,*) # full svr4 only
12972      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12973      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12974      # We do not specify a path in Import Files, so LIBPATH fires.
12975      shlibpath_overrides_runpath=yes
12976      ;;
12977    *,yes) # both, prefer svr4
12978      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12979      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12980      # unpreferred sharedlib libNAME.a needs extra handling
12981      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"'
12982      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"'
12983      # We do not specify a path in Import Files, so LIBPATH fires.
12984      shlibpath_overrides_runpath=yes
12985      ;;
12986    *,no) # both, prefer aix
12987      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12988      library_names_spec='$libname$release.a $libname.a'
12989      soname_spec='$libname$release$shared_ext$major'
12990      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12991      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)'
12992      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"'
12993      ;;
12994    esac
12995    shlibpath_var=LIBPATH
12996  fi
12997  ;;
12998
12999amigaos*)
13000  case $host_cpu in
13001  powerpc)
13002    # Since July 2007 AmigaOS4 officially supports .so libraries.
13003    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13004    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13005    ;;
13006  m68k)
13007    library_names_spec='$libname.ixlibrary $libname.a'
13008    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13009    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'
13010    ;;
13011  esac
13012  ;;
13013
13014beos*)
13015  library_names_spec='$libname$shared_ext'
13016  dynamic_linker="$host_os ld.so"
13017  shlibpath_var=LIBRARY_PATH
13018  ;;
13019
13020bsdi[45]*)
13021  version_type=linux # correct to gnu/linux during the next big refactor
13022  need_version=no
13023  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13024  soname_spec='$libname$release$shared_ext$major'
13025  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13026  shlibpath_var=LD_LIBRARY_PATH
13027  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13028  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13029  # the default ld.so.conf also contains /usr/contrib/lib and
13030  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13031  # libtool to hard-code these into programs
13032  ;;
13033
13034cygwin* | mingw* | pw32* | cegcc*)
13035  version_type=windows
13036  shrext_cmds=.dll
13037  need_version=no
13038  need_lib_prefix=no
13039
13040  case $GCC,$cc_basename in
13041  yes,*)
13042    # gcc
13043    library_names_spec='$libname.dll.a'
13044    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13045    postinstall_cmds='base_file=`basename \$file`~
13046      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13047      dldir=$destdir/`dirname \$dlpath`~
13048      test -d \$dldir || mkdir -p \$dldir~
13049      $install_prog $dir/$dlname \$dldir/$dlname~
13050      chmod a+x \$dldir/$dlname~
13051      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13052        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13053      fi'
13054    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13055      dlpath=$dir/\$dldll~
13056       $RM \$dlpath'
13057    shlibpath_overrides_runpath=yes
13058
13059    case $host_os in
13060    cygwin*)
13061      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13062      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13063
13064      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13065      ;;
13066    mingw* | cegcc*)
13067      # MinGW DLLs use traditional 'lib' prefix
13068      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13069      ;;
13070    pw32*)
13071      # pw32 DLLs use 'pw' prefix rather than 'lib'
13072      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13073      ;;
13074    esac
13075    dynamic_linker='Win32 ld.exe'
13076    ;;
13077
13078  *,cl*)
13079    # Native MSVC
13080    libname_spec='$name'
13081    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13082    library_names_spec='$libname.dll.lib'
13083
13084    case $build_os in
13085    mingw*)
13086      sys_lib_search_path_spec=
13087      lt_save_ifs=$IFS
13088      IFS=';'
13089      for lt_path in $LIB
13090      do
13091        IFS=$lt_save_ifs
13092        # Let DOS variable expansion print the short 8.3 style file name.
13093        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13094        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13095      done
13096      IFS=$lt_save_ifs
13097      # Convert to MSYS style.
13098      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13099      ;;
13100    cygwin*)
13101      # Convert to unix form, then to dos form, then back to unix form
13102      # but this time dos style (no spaces!) so that the unix form looks
13103      # like /cygdrive/c/PROGRA~1:/cygdr...
13104      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13105      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13106      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13107      ;;
13108    *)
13109      sys_lib_search_path_spec=$LIB
13110      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13111        # It is most probably a Windows format PATH.
13112        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13113      else
13114        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13115      fi
13116      # FIXME: find the short name or the path components, as spaces are
13117      # common. (e.g. "Program Files" -> "PROGRA~1")
13118      ;;
13119    esac
13120
13121    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13122    postinstall_cmds='base_file=`basename \$file`~
13123      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13124      dldir=$destdir/`dirname \$dlpath`~
13125      test -d \$dldir || mkdir -p \$dldir~
13126      $install_prog $dir/$dlname \$dldir/$dlname'
13127    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13128      dlpath=$dir/\$dldll~
13129       $RM \$dlpath'
13130    shlibpath_overrides_runpath=yes
13131    dynamic_linker='Win32 link.exe'
13132    ;;
13133
13134  *)
13135    # Assume MSVC wrapper
13136    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13137    dynamic_linker='Win32 ld.exe'
13138    ;;
13139  esac
13140  # FIXME: first we should search . and the directory the executable is in
13141  shlibpath_var=PATH
13142  ;;
13143
13144darwin* | rhapsody*)
13145  dynamic_linker="$host_os dyld"
13146  version_type=darwin
13147  need_lib_prefix=no
13148  need_version=no
13149  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13150  soname_spec='$libname$release$major$shared_ext'
13151  shlibpath_overrides_runpath=yes
13152  shlibpath_var=DYLD_LIBRARY_PATH
13153  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13154
13155  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13156  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13157  ;;
13158
13159dgux*)
13160  version_type=linux # correct to gnu/linux during the next big refactor
13161  need_lib_prefix=no
13162  need_version=no
13163  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13164  soname_spec='$libname$release$shared_ext$major'
13165  shlibpath_var=LD_LIBRARY_PATH
13166  ;;
13167
13168freebsd* | dragonfly*)
13169  # DragonFly does not have aout.  When/if they implement a new
13170  # versioning mechanism, adjust this.
13171  if test -x /usr/bin/objformat; then
13172    objformat=`/usr/bin/objformat`
13173  else
13174    case $host_os in
13175    freebsd[23].*) objformat=aout ;;
13176    *) objformat=elf ;;
13177    esac
13178  fi
13179  version_type=freebsd-$objformat
13180  case $version_type in
13181    freebsd-elf*)
13182      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13183      soname_spec='$libname$release$shared_ext$major'
13184      need_version=no
13185      need_lib_prefix=no
13186      ;;
13187    freebsd-*)
13188      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13189      need_version=yes
13190      ;;
13191  esac
13192  shlibpath_var=LD_LIBRARY_PATH
13193  case $host_os in
13194  freebsd2.*)
13195    shlibpath_overrides_runpath=yes
13196    ;;
13197  freebsd3.[01]* | freebsdelf3.[01]*)
13198    shlibpath_overrides_runpath=yes
13199    hardcode_into_libs=yes
13200    ;;
13201  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13202  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13203    shlibpath_overrides_runpath=no
13204    hardcode_into_libs=yes
13205    ;;
13206  *) # from 4.6 on, and DragonFly
13207    shlibpath_overrides_runpath=yes
13208    hardcode_into_libs=yes
13209    ;;
13210  esac
13211  ;;
13212
13213haiku*)
13214  version_type=linux # correct to gnu/linux during the next big refactor
13215  need_lib_prefix=no
13216  need_version=no
13217  dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
13221  shlibpath_overrides_runpath=no
13222  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13223  hardcode_into_libs=yes
13224  ;;
13225
13226hpux9* | hpux10* | hpux11*)
13227  # Give a soname corresponding to the major version so that dld.sl refuses to
13228  # link against other versions.
13229  version_type=sunos
13230  need_lib_prefix=no
13231  need_version=no
13232  case $host_cpu in
13233  ia64*)
13234    shrext_cmds='.so'
13235    hardcode_into_libs=yes
13236    dynamic_linker="$host_os dld.so"
13237    shlibpath_var=LD_LIBRARY_PATH
13238    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13239    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13240    soname_spec='$libname$release$shared_ext$major'
13241    if test 32 = "$HPUX_IA64_MODE"; then
13242      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13243      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13244    else
13245      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13246      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13247    fi
13248    ;;
13249  hppa*64*)
13250    shrext_cmds='.sl'
13251    hardcode_into_libs=yes
13252    dynamic_linker="$host_os dld.sl"
13253    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13254    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13255    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13256    soname_spec='$libname$release$shared_ext$major'
13257    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13258    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13259    ;;
13260  *)
13261    shrext_cmds='.sl'
13262    dynamic_linker="$host_os dld.sl"
13263    shlibpath_var=SHLIB_PATH
13264    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13265    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13266    soname_spec='$libname$release$shared_ext$major'
13267    ;;
13268  esac
13269  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13270  postinstall_cmds='chmod 555 $lib'
13271  # or fails outright, so override atomically:
13272  install_override_mode=555
13273  ;;
13274
13275interix[3-9]*)
13276  version_type=linux # correct to gnu/linux during the next big refactor
13277  need_lib_prefix=no
13278  need_version=no
13279  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13280  soname_spec='$libname$release$shared_ext$major'
13281  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13282  shlibpath_var=LD_LIBRARY_PATH
13283  shlibpath_overrides_runpath=no
13284  hardcode_into_libs=yes
13285  ;;
13286
13287irix5* | irix6* | nonstopux*)
13288  case $host_os in
13289    nonstopux*) version_type=nonstopux ;;
13290    *)
13291	if test yes = "$lt_cv_prog_gnu_ld"; then
13292		version_type=linux # correct to gnu/linux during the next big refactor
13293	else
13294		version_type=irix
13295	fi ;;
13296  esac
13297  need_lib_prefix=no
13298  need_version=no
13299  soname_spec='$libname$release$shared_ext$major'
13300  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13301  case $host_os in
13302  irix5* | nonstopux*)
13303    libsuff= shlibsuff=
13304    ;;
13305  *)
13306    case $LD in # libtool.m4 will add one of these switches to LD
13307    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13308      libsuff= shlibsuff= libmagic=32-bit;;
13309    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13310      libsuff=32 shlibsuff=N32 libmagic=N32;;
13311    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13312      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13313    *) libsuff= shlibsuff= libmagic=never-match;;
13314    esac
13315    ;;
13316  esac
13317  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13318  shlibpath_overrides_runpath=no
13319  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13320  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13321  hardcode_into_libs=yes
13322  ;;
13323
13324# No shared lib support for Linux oldld, aout, or coff.
13325linux*oldld* | linux*aout* | linux*coff*)
13326  dynamic_linker=no
13327  ;;
13328
13329linux*android*)
13330  version_type=none # Android doesn't support versioned libraries.
13331  need_lib_prefix=no
13332  need_version=no
13333  library_names_spec='$libname$release$shared_ext'
13334  soname_spec='$libname$release$shared_ext'
13335  finish_cmds=
13336  shlibpath_var=LD_LIBRARY_PATH
13337  shlibpath_overrides_runpath=yes
13338
13339  # This implies no fast_install, which is unacceptable.
13340  # Some rework will be needed to allow for fast_install
13341  # before this can be enabled.
13342  hardcode_into_libs=yes
13343
13344  dynamic_linker='Android linker'
13345  # Don't embed -rpath directories since the linker doesn't support them.
13346  hardcode_libdir_flag_spec='-L$libdir'
13347  ;;
13348
13349# This must be glibc/ELF.
13350linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13351  version_type=linux # correct to gnu/linux during the next big refactor
13352  need_lib_prefix=no
13353  need_version=no
13354  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13355  soname_spec='$libname$release$shared_ext$major'
13356  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357  shlibpath_var=LD_LIBRARY_PATH
13358  shlibpath_overrides_runpath=no
13359
13360  # Some binutils ld are patched to set DT_RUNPATH
13361  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13362  $as_echo_n "(cached) " >&6
13363else
13364  lt_cv_shlibpath_overrides_runpath=no
13365    save_LDFLAGS=$LDFLAGS
13366    save_libdir=$libdir
13367    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13368	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13369    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370/* end confdefs.h.  */
13371
13372int
13373main ()
13374{
13375
13376  ;
13377  return 0;
13378}
13379_ACEOF
13380if ac_fn_c_try_link "$LINENO"; then :
13381  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13382  lt_cv_shlibpath_overrides_runpath=yes
13383fi
13384fi
13385rm -f core conftest.err conftest.$ac_objext \
13386    conftest$ac_exeext conftest.$ac_ext
13387    LDFLAGS=$save_LDFLAGS
13388    libdir=$save_libdir
13389
13390fi
13391
13392  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13393
13394  # This implies no fast_install, which is unacceptable.
13395  # Some rework will be needed to allow for fast_install
13396  # before this can be enabled.
13397  hardcode_into_libs=yes
13398
13399  # Ideally, we could use ldconfig to report *all* directores which are
13400  # searched for libraries, however this is still not possible.  Aside from not
13401  # being certain /sbin/ldconfig is available, command
13402  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13403  # even though it is searched at run-time.  Try to do the best guess by
13404  # appending ld.so.conf contents (and includes) to the search path.
13405  if test -f /etc/ld.so.conf; then
13406    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' ' '`
13407    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13408  fi
13409
13410  # We used to test for /lib/ld.so.1 and disable shared libraries on
13411  # powerpc, because MkLinux only supported shared libraries with the
13412  # GNU dynamic linker.  Since this was broken with cross compilers,
13413  # most powerpc-linux boxes support dynamic linking these days and
13414  # people can always --disable-shared, the test was removed, and we
13415  # assume the GNU/Linux dynamic linker is in use.
13416  dynamic_linker='GNU/Linux ld.so'
13417  ;;
13418
13419netbsdelf*-gnu)
13420  version_type=linux
13421  need_lib_prefix=no
13422  need_version=no
13423  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13424  soname_spec='${libname}${release}${shared_ext}$major'
13425  shlibpath_var=LD_LIBRARY_PATH
13426  shlibpath_overrides_runpath=no
13427  hardcode_into_libs=yes
13428  dynamic_linker='NetBSD ld.elf_so'
13429  ;;
13430
13431netbsd*)
13432  version_type=sunos
13433  need_lib_prefix=no
13434  need_version=no
13435  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13436    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13437    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13438    dynamic_linker='NetBSD (a.out) ld.so'
13439  else
13440    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13441    soname_spec='$libname$release$shared_ext$major'
13442    dynamic_linker='NetBSD ld.elf_so'
13443  fi
13444  shlibpath_var=LD_LIBRARY_PATH
13445  shlibpath_overrides_runpath=yes
13446  hardcode_into_libs=yes
13447  ;;
13448
13449newsos6)
13450  version_type=linux # correct to gnu/linux during the next big refactor
13451  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13452  shlibpath_var=LD_LIBRARY_PATH
13453  shlibpath_overrides_runpath=yes
13454  ;;
13455
13456*nto* | *qnx*)
13457  version_type=qnx
13458  need_lib_prefix=no
13459  need_version=no
13460  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13461  soname_spec='$libname$release$shared_ext$major'
13462  shlibpath_var=LD_LIBRARY_PATH
13463  shlibpath_overrides_runpath=no
13464  hardcode_into_libs=yes
13465  dynamic_linker='ldqnx.so'
13466  ;;
13467
13468openbsd* | bitrig*)
13469  version_type=sunos
13470  sys_lib_dlsearch_path_spec=/usr/lib
13471  need_lib_prefix=no
13472  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13473    need_version=no
13474  else
13475    need_version=yes
13476  fi
13477  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13478  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13479  shlibpath_var=LD_LIBRARY_PATH
13480  shlibpath_overrides_runpath=yes
13481  ;;
13482
13483os2*)
13484  libname_spec='$name'
13485  version_type=windows
13486  shrext_cmds=.dll
13487  need_version=no
13488  need_lib_prefix=no
13489  # OS/2 can only load a DLL with a base name of 8 characters or less.
13490  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13491    v=$($ECHO $release$versuffix | tr -d .-);
13492    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13493    $ECHO $n$v`$shared_ext'
13494  library_names_spec='${libname}_dll.$libext'
13495  dynamic_linker='OS/2 ld.exe'
13496  shlibpath_var=BEGINLIBPATH
13497  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13498  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13499  postinstall_cmds='base_file=`basename \$file`~
13500    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13501    dldir=$destdir/`dirname \$dlpath`~
13502    test -d \$dldir || mkdir -p \$dldir~
13503    $install_prog $dir/$dlname \$dldir/$dlname~
13504    chmod a+x \$dldir/$dlname~
13505    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13506      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13507    fi'
13508  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13509    dlpath=$dir/\$dldll~
13510    $RM \$dlpath'
13511  ;;
13512
13513osf3* | osf4* | osf5*)
13514  version_type=osf
13515  need_lib_prefix=no
13516  need_version=no
13517  soname_spec='$libname$release$shared_ext$major'
13518  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13519  shlibpath_var=LD_LIBRARY_PATH
13520  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13521  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13522  ;;
13523
13524rdos*)
13525  dynamic_linker=no
13526  ;;
13527
13528solaris*)
13529  version_type=linux # correct to gnu/linux during the next big refactor
13530  need_lib_prefix=no
13531  need_version=no
13532  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13533  soname_spec='$libname$release$shared_ext$major'
13534  shlibpath_var=LD_LIBRARY_PATH
13535  shlibpath_overrides_runpath=yes
13536  hardcode_into_libs=yes
13537  # ldd complains unless libraries are executable
13538  postinstall_cmds='chmod +x $lib'
13539  ;;
13540
13541sunos4*)
13542  version_type=sunos
13543  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13544  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13545  shlibpath_var=LD_LIBRARY_PATH
13546  shlibpath_overrides_runpath=yes
13547  if test yes = "$with_gnu_ld"; then
13548    need_lib_prefix=no
13549  fi
13550  need_version=yes
13551  ;;
13552
13553sysv4 | sysv4.3*)
13554  version_type=linux # correct to gnu/linux during the next big refactor
13555  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13556  soname_spec='$libname$release$shared_ext$major'
13557  shlibpath_var=LD_LIBRARY_PATH
13558  case $host_vendor in
13559    sni)
13560      shlibpath_overrides_runpath=no
13561      need_lib_prefix=no
13562      runpath_var=LD_RUN_PATH
13563      ;;
13564    siemens)
13565      need_lib_prefix=no
13566      ;;
13567    motorola)
13568      need_lib_prefix=no
13569      need_version=no
13570      shlibpath_overrides_runpath=no
13571      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572      ;;
13573  esac
13574  ;;
13575
13576sysv4*MP*)
13577  if test -d /usr/nec; then
13578    version_type=linux # correct to gnu/linux during the next big refactor
13579    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13580    soname_spec='$libname$shared_ext.$major'
13581    shlibpath_var=LD_LIBRARY_PATH
13582  fi
13583  ;;
13584
13585sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13586  version_type=sco
13587  need_lib_prefix=no
13588  need_version=no
13589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13590  soname_spec='$libname$release$shared_ext$major'
13591  shlibpath_var=LD_LIBRARY_PATH
13592  shlibpath_overrides_runpath=yes
13593  hardcode_into_libs=yes
13594  if test yes = "$with_gnu_ld"; then
13595    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13596  else
13597    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13598    case $host_os in
13599      sco3.2v5*)
13600        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13601	;;
13602    esac
13603  fi
13604  sys_lib_dlsearch_path_spec='/usr/lib'
13605  ;;
13606
13607tpf*)
13608  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13609  version_type=linux # correct to gnu/linux during the next big refactor
13610  need_lib_prefix=no
13611  need_version=no
13612  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13613  shlibpath_var=LD_LIBRARY_PATH
13614  shlibpath_overrides_runpath=no
13615  hardcode_into_libs=yes
13616  ;;
13617
13618uts4*)
13619  version_type=linux # correct to gnu/linux during the next big refactor
13620  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13621  soname_spec='$libname$release$shared_ext$major'
13622  shlibpath_var=LD_LIBRARY_PATH
13623  ;;
13624
13625*)
13626  dynamic_linker=no
13627  ;;
13628esac
13629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13630$as_echo "$dynamic_linker" >&6; }
13631test no = "$dynamic_linker" && can_build_shared=no
13632
13633variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13634if test yes = "$GCC"; then
13635  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13636fi
13637
13638if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13639  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13640fi
13641
13642if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13643  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13644fi
13645
13646# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13647configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13648
13649# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13650func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13651
13652# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13653configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13752$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13753hardcode_action=
13754if test -n "$hardcode_libdir_flag_spec" ||
13755   test -n "$runpath_var" ||
13756   test yes = "$hardcode_automatic"; then
13757
13758  # We can hardcode non-existent directories.
13759  if test no != "$hardcode_direct" &&
13760     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13761     # have to relink, otherwise we might link with an installed library
13762     # when we should be linking with a yet-to-be-installed one
13763     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13764     test no != "$hardcode_minus_L"; then
13765    # Linking always hardcodes the temporary library directory.
13766    hardcode_action=relink
13767  else
13768    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13769    hardcode_action=immediate
13770  fi
13771else
13772  # We cannot hardcode anything, or else we can only hardcode existing
13773  # directories.
13774  hardcode_action=unsupported
13775fi
13776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13777$as_echo "$hardcode_action" >&6; }
13778
13779if test relink = "$hardcode_action" ||
13780   test yes = "$inherit_rpath"; then
13781  # Fast installation is not supported
13782  enable_fast_install=no
13783elif test yes = "$shlibpath_overrides_runpath" ||
13784     test no = "$enable_shared"; then
13785  # Fast installation is not necessary
13786  enable_fast_install=needless
13787fi
13788
13789
13790
13791
13792
13793
13794  if test yes != "$enable_dlopen"; then
13795  enable_dlopen=unknown
13796  enable_dlopen_self=unknown
13797  enable_dlopen_self_static=unknown
13798else
13799  lt_cv_dlopen=no
13800  lt_cv_dlopen_libs=
13801
13802  case $host_os in
13803  beos*)
13804    lt_cv_dlopen=load_add_on
13805    lt_cv_dlopen_libs=
13806    lt_cv_dlopen_self=yes
13807    ;;
13808
13809  mingw* | pw32* | cegcc*)
13810    lt_cv_dlopen=LoadLibrary
13811    lt_cv_dlopen_libs=
13812    ;;
13813
13814  cygwin*)
13815    lt_cv_dlopen=dlopen
13816    lt_cv_dlopen_libs=
13817    ;;
13818
13819  darwin*)
13820    # if libdl is installed we need to link against it
13821    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13822$as_echo_n "checking for dlopen in -ldl... " >&6; }
13823if ${ac_cv_lib_dl_dlopen+:} false; then :
13824  $as_echo_n "(cached) " >&6
13825else
13826  ac_check_lib_save_LIBS=$LIBS
13827LIBS="-ldl  $LIBS"
13828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829/* end confdefs.h.  */
13830
13831/* Override any GCC internal prototype to avoid an error.
13832   Use char because int might match the return type of a GCC
13833   builtin and then its argument prototype would still apply.  */
13834#ifdef __cplusplus
13835extern "C"
13836#endif
13837char dlopen ();
13838int
13839main ()
13840{
13841return dlopen ();
13842  ;
13843  return 0;
13844}
13845_ACEOF
13846if ac_fn_c_try_link "$LINENO"; then :
13847  ac_cv_lib_dl_dlopen=yes
13848else
13849  ac_cv_lib_dl_dlopen=no
13850fi
13851rm -f core conftest.err conftest.$ac_objext \
13852    conftest$ac_exeext conftest.$ac_ext
13853LIBS=$ac_check_lib_save_LIBS
13854fi
13855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13856$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13857if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13858  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13859else
13860
13861    lt_cv_dlopen=dyld
13862    lt_cv_dlopen_libs=
13863    lt_cv_dlopen_self=yes
13864
13865fi
13866
13867    ;;
13868
13869  tpf*)
13870    # Don't try to run any link tests for TPF.  We know it's impossible
13871    # because TPF is a cross-compiler, and we know how we open DSOs.
13872    lt_cv_dlopen=dlopen
13873    lt_cv_dlopen_libs=
13874    lt_cv_dlopen_self=no
13875    ;;
13876
13877  *)
13878    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13879if test "x$ac_cv_func_shl_load" = xyes; then :
13880  lt_cv_dlopen=shl_load
13881else
13882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13883$as_echo_n "checking for shl_load in -ldld... " >&6; }
13884if ${ac_cv_lib_dld_shl_load+:} false; then :
13885  $as_echo_n "(cached) " >&6
13886else
13887  ac_check_lib_save_LIBS=$LIBS
13888LIBS="-ldld  $LIBS"
13889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890/* end confdefs.h.  */
13891
13892/* Override any GCC internal prototype to avoid an error.
13893   Use char because int might match the return type of a GCC
13894   builtin and then its argument prototype would still apply.  */
13895#ifdef __cplusplus
13896extern "C"
13897#endif
13898char shl_load ();
13899int
13900main ()
13901{
13902return shl_load ();
13903  ;
13904  return 0;
13905}
13906_ACEOF
13907if ac_fn_c_try_link "$LINENO"; then :
13908  ac_cv_lib_dld_shl_load=yes
13909else
13910  ac_cv_lib_dld_shl_load=no
13911fi
13912rm -f core conftest.err conftest.$ac_objext \
13913    conftest$ac_exeext conftest.$ac_ext
13914LIBS=$ac_check_lib_save_LIBS
13915fi
13916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13917$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13918if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13919  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13920else
13921  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13922if test "x$ac_cv_func_dlopen" = xyes; then :
13923  lt_cv_dlopen=dlopen
13924else
13925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13926$as_echo_n "checking for dlopen in -ldl... " >&6; }
13927if ${ac_cv_lib_dl_dlopen+:} false; then :
13928  $as_echo_n "(cached) " >&6
13929else
13930  ac_check_lib_save_LIBS=$LIBS
13931LIBS="-ldl  $LIBS"
13932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933/* end confdefs.h.  */
13934
13935/* Override any GCC internal prototype to avoid an error.
13936   Use char because int might match the return type of a GCC
13937   builtin and then its argument prototype would still apply.  */
13938#ifdef __cplusplus
13939extern "C"
13940#endif
13941char dlopen ();
13942int
13943main ()
13944{
13945return dlopen ();
13946  ;
13947  return 0;
13948}
13949_ACEOF
13950if ac_fn_c_try_link "$LINENO"; then :
13951  ac_cv_lib_dl_dlopen=yes
13952else
13953  ac_cv_lib_dl_dlopen=no
13954fi
13955rm -f core conftest.err conftest.$ac_objext \
13956    conftest$ac_exeext conftest.$ac_ext
13957LIBS=$ac_check_lib_save_LIBS
13958fi
13959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13960$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13961if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13962  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13963else
13964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13965$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13966if ${ac_cv_lib_svld_dlopen+:} false; then :
13967  $as_echo_n "(cached) " >&6
13968else
13969  ac_check_lib_save_LIBS=$LIBS
13970LIBS="-lsvld  $LIBS"
13971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972/* end confdefs.h.  */
13973
13974/* Override any GCC internal prototype to avoid an error.
13975   Use char because int might match the return type of a GCC
13976   builtin and then its argument prototype would still apply.  */
13977#ifdef __cplusplus
13978extern "C"
13979#endif
13980char dlopen ();
13981int
13982main ()
13983{
13984return dlopen ();
13985  ;
13986  return 0;
13987}
13988_ACEOF
13989if ac_fn_c_try_link "$LINENO"; then :
13990  ac_cv_lib_svld_dlopen=yes
13991else
13992  ac_cv_lib_svld_dlopen=no
13993fi
13994rm -f core conftest.err conftest.$ac_objext \
13995    conftest$ac_exeext conftest.$ac_ext
13996LIBS=$ac_check_lib_save_LIBS
13997fi
13998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13999$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14000if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14001  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14002else
14003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14004$as_echo_n "checking for dld_link in -ldld... " >&6; }
14005if ${ac_cv_lib_dld_dld_link+:} false; then :
14006  $as_echo_n "(cached) " >&6
14007else
14008  ac_check_lib_save_LIBS=$LIBS
14009LIBS="-ldld  $LIBS"
14010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011/* end confdefs.h.  */
14012
14013/* Override any GCC internal prototype to avoid an error.
14014   Use char because int might match the return type of a GCC
14015   builtin and then its argument prototype would still apply.  */
14016#ifdef __cplusplus
14017extern "C"
14018#endif
14019char dld_link ();
14020int
14021main ()
14022{
14023return dld_link ();
14024  ;
14025  return 0;
14026}
14027_ACEOF
14028if ac_fn_c_try_link "$LINENO"; then :
14029  ac_cv_lib_dld_dld_link=yes
14030else
14031  ac_cv_lib_dld_dld_link=no
14032fi
14033rm -f core conftest.err conftest.$ac_objext \
14034    conftest$ac_exeext conftest.$ac_ext
14035LIBS=$ac_check_lib_save_LIBS
14036fi
14037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14038$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14039if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14040  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14041fi
14042
14043
14044fi
14045
14046
14047fi
14048
14049
14050fi
14051
14052
14053fi
14054
14055
14056fi
14057
14058    ;;
14059  esac
14060
14061  if test no = "$lt_cv_dlopen"; then
14062    enable_dlopen=no
14063  else
14064    enable_dlopen=yes
14065  fi
14066
14067  case $lt_cv_dlopen in
14068  dlopen)
14069    save_CPPFLAGS=$CPPFLAGS
14070    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14071
14072    save_LDFLAGS=$LDFLAGS
14073    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14074
14075    save_LIBS=$LIBS
14076    LIBS="$lt_cv_dlopen_libs $LIBS"
14077
14078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14079$as_echo_n "checking whether a program can dlopen itself... " >&6; }
14080if ${lt_cv_dlopen_self+:} false; then :
14081  $as_echo_n "(cached) " >&6
14082else
14083  	  if test yes = "$cross_compiling"; then :
14084  lt_cv_dlopen_self=cross
14085else
14086  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14087  lt_status=$lt_dlunknown
14088  cat > conftest.$ac_ext <<_LT_EOF
14089#line $LINENO "configure"
14090#include "confdefs.h"
14091
14092#if HAVE_DLFCN_H
14093#include <dlfcn.h>
14094#endif
14095
14096#include <stdio.h>
14097
14098#ifdef RTLD_GLOBAL
14099#  define LT_DLGLOBAL		RTLD_GLOBAL
14100#else
14101#  ifdef DL_GLOBAL
14102#    define LT_DLGLOBAL		DL_GLOBAL
14103#  else
14104#    define LT_DLGLOBAL		0
14105#  endif
14106#endif
14107
14108/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14109   find out it does not work in some platform. */
14110#ifndef LT_DLLAZY_OR_NOW
14111#  ifdef RTLD_LAZY
14112#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14113#  else
14114#    ifdef DL_LAZY
14115#      define LT_DLLAZY_OR_NOW		DL_LAZY
14116#    else
14117#      ifdef RTLD_NOW
14118#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14119#      else
14120#        ifdef DL_NOW
14121#          define LT_DLLAZY_OR_NOW	DL_NOW
14122#        else
14123#          define LT_DLLAZY_OR_NOW	0
14124#        endif
14125#      endif
14126#    endif
14127#  endif
14128#endif
14129
14130/* When -fvisibility=hidden is used, assume the code has been annotated
14131   correspondingly for the symbols needed.  */
14132#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14133int fnord () __attribute__((visibility("default")));
14134#endif
14135
14136int fnord () { return 42; }
14137int main ()
14138{
14139  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14140  int status = $lt_dlunknown;
14141
14142  if (self)
14143    {
14144      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14145      else
14146        {
14147	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14148          else puts (dlerror ());
14149	}
14150      /* dlclose (self); */
14151    }
14152  else
14153    puts (dlerror ());
14154
14155  return status;
14156}
14157_LT_EOF
14158  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14159  (eval $ac_link) 2>&5
14160  ac_status=$?
14161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14162  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14163    (./conftest; exit; ) >&5 2>/dev/null
14164    lt_status=$?
14165    case x$lt_status in
14166      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14167      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14168      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14169    esac
14170  else :
14171    # compilation failed
14172    lt_cv_dlopen_self=no
14173  fi
14174fi
14175rm -fr conftest*
14176
14177
14178fi
14179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14180$as_echo "$lt_cv_dlopen_self" >&6; }
14181
14182    if test yes = "$lt_cv_dlopen_self"; then
14183      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14184      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14185$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14186if ${lt_cv_dlopen_self_static+:} false; then :
14187  $as_echo_n "(cached) " >&6
14188else
14189  	  if test yes = "$cross_compiling"; then :
14190  lt_cv_dlopen_self_static=cross
14191else
14192  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14193  lt_status=$lt_dlunknown
14194  cat > conftest.$ac_ext <<_LT_EOF
14195#line $LINENO "configure"
14196#include "confdefs.h"
14197
14198#if HAVE_DLFCN_H
14199#include <dlfcn.h>
14200#endif
14201
14202#include <stdio.h>
14203
14204#ifdef RTLD_GLOBAL
14205#  define LT_DLGLOBAL		RTLD_GLOBAL
14206#else
14207#  ifdef DL_GLOBAL
14208#    define LT_DLGLOBAL		DL_GLOBAL
14209#  else
14210#    define LT_DLGLOBAL		0
14211#  endif
14212#endif
14213
14214/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14215   find out it does not work in some platform. */
14216#ifndef LT_DLLAZY_OR_NOW
14217#  ifdef RTLD_LAZY
14218#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14219#  else
14220#    ifdef DL_LAZY
14221#      define LT_DLLAZY_OR_NOW		DL_LAZY
14222#    else
14223#      ifdef RTLD_NOW
14224#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14225#      else
14226#        ifdef DL_NOW
14227#          define LT_DLLAZY_OR_NOW	DL_NOW
14228#        else
14229#          define LT_DLLAZY_OR_NOW	0
14230#        endif
14231#      endif
14232#    endif
14233#  endif
14234#endif
14235
14236/* When -fvisibility=hidden is used, assume the code has been annotated
14237   correspondingly for the symbols needed.  */
14238#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14239int fnord () __attribute__((visibility("default")));
14240#endif
14241
14242int fnord () { return 42; }
14243int main ()
14244{
14245  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14246  int status = $lt_dlunknown;
14247
14248  if (self)
14249    {
14250      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14251      else
14252        {
14253	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14254          else puts (dlerror ());
14255	}
14256      /* dlclose (self); */
14257    }
14258  else
14259    puts (dlerror ());
14260
14261  return status;
14262}
14263_LT_EOF
14264  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14265  (eval $ac_link) 2>&5
14266  ac_status=$?
14267  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14268  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14269    (./conftest; exit; ) >&5 2>/dev/null
14270    lt_status=$?
14271    case x$lt_status in
14272      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14273      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14274      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14275    esac
14276  else :
14277    # compilation failed
14278    lt_cv_dlopen_self_static=no
14279  fi
14280fi
14281rm -fr conftest*
14282
14283
14284fi
14285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14286$as_echo "$lt_cv_dlopen_self_static" >&6; }
14287    fi
14288
14289    CPPFLAGS=$save_CPPFLAGS
14290    LDFLAGS=$save_LDFLAGS
14291    LIBS=$save_LIBS
14292    ;;
14293  esac
14294
14295  case $lt_cv_dlopen_self in
14296  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14297  *) enable_dlopen_self=unknown ;;
14298  esac
14299
14300  case $lt_cv_dlopen_self_static in
14301  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14302  *) enable_dlopen_self_static=unknown ;;
14303  esac
14304fi
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322striplib=
14323old_striplib=
14324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14325$as_echo_n "checking whether stripping libraries is possible... " >&6; }
14326if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14327  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14328  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14330$as_echo "yes" >&6; }
14331else
14332# FIXME - insert some real tests, host_os isn't really good enough
14333  case $host_os in
14334  darwin*)
14335    if test -n "$STRIP"; then
14336      striplib="$STRIP -x"
14337      old_striplib="$STRIP -S"
14338      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14339$as_echo "yes" >&6; }
14340    else
14341      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342$as_echo "no" >&6; }
14343    fi
14344    ;;
14345  *)
14346    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347$as_echo "no" >&6; }
14348    ;;
14349  esac
14350fi
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363  # Report what library types will actually be built
14364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14365$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14367$as_echo "$can_build_shared" >&6; }
14368
14369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14370$as_echo_n "checking whether to build shared libraries... " >&6; }
14371  test no = "$can_build_shared" && enable_shared=no
14372
14373  # On AIX, shared libraries and static libraries use the same namespace, and
14374  # are all built from PIC.
14375  case $host_os in
14376  aix3*)
14377    test yes = "$enable_shared" && enable_static=no
14378    if test -n "$RANLIB"; then
14379      archive_cmds="$archive_cmds~\$RANLIB \$lib"
14380      postinstall_cmds='$RANLIB $lib'
14381    fi
14382    ;;
14383
14384  aix[4-9]*)
14385    if test ia64 != "$host_cpu"; then
14386      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14387      yes,aix,yes) ;;			# shared object as lib.so file only
14388      yes,svr4,*) ;;			# shared object as lib.so archive member only
14389      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
14390      esac
14391    fi
14392    ;;
14393  esac
14394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14395$as_echo "$enable_shared" >&6; }
14396
14397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14398$as_echo_n "checking whether to build static libraries... " >&6; }
14399  # Make sure either enable_shared or enable_static is yes.
14400  test yes = "$enable_shared" || enable_static=yes
14401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14402$as_echo "$enable_static" >&6; }
14403
14404
14405
14406
14407fi
14408ac_ext=c
14409ac_cpp='$CPP $CPPFLAGS'
14410ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14411ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14412ac_compiler_gnu=$ac_cv_c_compiler_gnu
14413
14414CC=$lt_save_CC
14415
14416      if test -n "$CXX" && ( test no != "$CXX" &&
14417    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14418    (test g++ != "$CXX"))); then
14419  ac_ext=cpp
14420ac_cpp='$CXXCPP $CPPFLAGS'
14421ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14422ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14423ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14425$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14426if test -z "$CXXCPP"; then
14427  if ${ac_cv_prog_CXXCPP+:} false; then :
14428  $as_echo_n "(cached) " >&6
14429else
14430      # Double quotes because CXXCPP needs to be expanded
14431    for CXXCPP in "$CXX -E" "/lib/cpp"
14432    do
14433      ac_preproc_ok=false
14434for ac_cxx_preproc_warn_flag in '' yes
14435do
14436  # Use a header file that comes with gcc, so configuring glibc
14437  # with a fresh cross-compiler works.
14438  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14439  # <limits.h> exists even on freestanding compilers.
14440  # On the NeXT, cc -E runs the code through the compiler's parser,
14441  # not just through cpp. "Syntax error" is here to catch this case.
14442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443/* end confdefs.h.  */
14444#ifdef __STDC__
14445# include <limits.h>
14446#else
14447# include <assert.h>
14448#endif
14449		     Syntax error
14450_ACEOF
14451if ac_fn_cxx_try_cpp "$LINENO"; then :
14452
14453else
14454  # Broken: fails on valid input.
14455continue
14456fi
14457rm -f conftest.err conftest.i conftest.$ac_ext
14458
14459  # OK, works on sane cases.  Now check whether nonexistent headers
14460  # can be detected and how.
14461  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462/* end confdefs.h.  */
14463#include <ac_nonexistent.h>
14464_ACEOF
14465if ac_fn_cxx_try_cpp "$LINENO"; then :
14466  # Broken: success on invalid input.
14467continue
14468else
14469  # Passes both tests.
14470ac_preproc_ok=:
14471break
14472fi
14473rm -f conftest.err conftest.i conftest.$ac_ext
14474
14475done
14476# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14477rm -f conftest.i conftest.err conftest.$ac_ext
14478if $ac_preproc_ok; then :
14479  break
14480fi
14481
14482    done
14483    ac_cv_prog_CXXCPP=$CXXCPP
14484
14485fi
14486  CXXCPP=$ac_cv_prog_CXXCPP
14487else
14488  ac_cv_prog_CXXCPP=$CXXCPP
14489fi
14490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14491$as_echo "$CXXCPP" >&6; }
14492ac_preproc_ok=false
14493for ac_cxx_preproc_warn_flag in '' yes
14494do
14495  # Use a header file that comes with gcc, so configuring glibc
14496  # with a fresh cross-compiler works.
14497  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14498  # <limits.h> exists even on freestanding compilers.
14499  # On the NeXT, cc -E runs the code through the compiler's parser,
14500  # not just through cpp. "Syntax error" is here to catch this case.
14501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502/* end confdefs.h.  */
14503#ifdef __STDC__
14504# include <limits.h>
14505#else
14506# include <assert.h>
14507#endif
14508		     Syntax error
14509_ACEOF
14510if ac_fn_cxx_try_cpp "$LINENO"; then :
14511
14512else
14513  # Broken: fails on valid input.
14514continue
14515fi
14516rm -f conftest.err conftest.i conftest.$ac_ext
14517
14518  # OK, works on sane cases.  Now check whether nonexistent headers
14519  # can be detected and how.
14520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521/* end confdefs.h.  */
14522#include <ac_nonexistent.h>
14523_ACEOF
14524if ac_fn_cxx_try_cpp "$LINENO"; then :
14525  # Broken: success on invalid input.
14526continue
14527else
14528  # Passes both tests.
14529ac_preproc_ok=:
14530break
14531fi
14532rm -f conftest.err conftest.i conftest.$ac_ext
14533
14534done
14535# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14536rm -f conftest.i conftest.err conftest.$ac_ext
14537if $ac_preproc_ok; then :
14538
14539else
14540  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14542as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14543See \`config.log' for more details" "$LINENO" 5; }
14544fi
14545
14546ac_ext=c
14547ac_cpp='$CPP $CPPFLAGS'
14548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14550ac_compiler_gnu=$ac_cv_c_compiler_gnu
14551
14552else
14553  _lt_caught_CXX_error=yes
14554fi
14555
14556ac_ext=cpp
14557ac_cpp='$CXXCPP $CPPFLAGS'
14558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14561
14562archive_cmds_need_lc_CXX=no
14563allow_undefined_flag_CXX=
14564always_export_symbols_CXX=no
14565archive_expsym_cmds_CXX=
14566compiler_needs_object_CXX=no
14567export_dynamic_flag_spec_CXX=
14568hardcode_direct_CXX=no
14569hardcode_direct_absolute_CXX=no
14570hardcode_libdir_flag_spec_CXX=
14571hardcode_libdir_separator_CXX=
14572hardcode_minus_L_CXX=no
14573hardcode_shlibpath_var_CXX=unsupported
14574hardcode_automatic_CXX=no
14575inherit_rpath_CXX=no
14576module_cmds_CXX=
14577module_expsym_cmds_CXX=
14578link_all_deplibs_CXX=unknown
14579old_archive_cmds_CXX=$old_archive_cmds
14580reload_flag_CXX=$reload_flag
14581reload_cmds_CXX=$reload_cmds
14582no_undefined_flag_CXX=
14583whole_archive_flag_spec_CXX=
14584enable_shared_with_static_runtimes_CXX=no
14585
14586# Source file extension for C++ test sources.
14587ac_ext=cpp
14588
14589# Object file extension for compiled C++ test sources.
14590objext=o
14591objext_CXX=$objext
14592
14593# No sense in running all these tests if we already determined that
14594# the CXX compiler isn't working.  Some variables (like enable_shared)
14595# are currently assumed to apply to all compilers on this platform,
14596# and will be corrupted by setting them based on a non-working compiler.
14597if test yes != "$_lt_caught_CXX_error"; then
14598  # Code to be used in simple compile tests
14599  lt_simple_compile_test_code="int some_variable = 0;"
14600
14601  # Code to be used in simple link tests
14602  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14603
14604  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14605
14606
14607
14608
14609
14610
14611# If no C compiler was specified, use CC.
14612LTCC=${LTCC-"$CC"}
14613
14614# If no C compiler flags were specified, use CFLAGS.
14615LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14616
14617# Allow CC to be a program name with arguments.
14618compiler=$CC
14619
14620
14621  # save warnings/boilerplate of simple test code
14622  ac_outfile=conftest.$ac_objext
14623echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14624eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14625_lt_compiler_boilerplate=`cat conftest.err`
14626$RM conftest*
14627
14628  ac_outfile=conftest.$ac_objext
14629echo "$lt_simple_link_test_code" >conftest.$ac_ext
14630eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14631_lt_linker_boilerplate=`cat conftest.err`
14632$RM -r conftest*
14633
14634
14635  # Allow CC to be a program name with arguments.
14636  lt_save_CC=$CC
14637  lt_save_CFLAGS=$CFLAGS
14638  lt_save_LD=$LD
14639  lt_save_GCC=$GCC
14640  GCC=$GXX
14641  lt_save_with_gnu_ld=$with_gnu_ld
14642  lt_save_path_LD=$lt_cv_path_LD
14643  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14644    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14645  else
14646    $as_unset lt_cv_prog_gnu_ld
14647  fi
14648  if test -n "${lt_cv_path_LDCXX+set}"; then
14649    lt_cv_path_LD=$lt_cv_path_LDCXX
14650  else
14651    $as_unset lt_cv_path_LD
14652  fi
14653  test -z "${LDCXX+set}" || LD=$LDCXX
14654  CC=${CXX-"c++"}
14655  CFLAGS=$CXXFLAGS
14656  compiler=$CC
14657  compiler_CXX=$CC
14658  func_cc_basename $compiler
14659cc_basename=$func_cc_basename_result
14660
14661
14662  if test -n "$compiler"; then
14663    # We don't want -fno-exception when compiling C++ code, so set the
14664    # no_builtin_flag separately
14665    if test yes = "$GXX"; then
14666      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14667    else
14668      lt_prog_compiler_no_builtin_flag_CXX=
14669    fi
14670
14671    if test yes = "$GXX"; then
14672      # Set up default GNU C++ configuration
14673
14674
14675
14676# Check whether --with-gnu-ld was given.
14677if test "${with_gnu_ld+set}" = set; then :
14678  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14679else
14680  with_gnu_ld=no
14681fi
14682
14683ac_prog=ld
14684if test yes = "$GCC"; then
14685  # Check if gcc -print-prog-name=ld gives a path.
14686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14687$as_echo_n "checking for ld used by $CC... " >&6; }
14688  case $host in
14689  *-*-mingw*)
14690    # gcc leaves a trailing carriage return, which upsets mingw
14691    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14692  *)
14693    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14694  esac
14695  case $ac_prog in
14696    # Accept absolute paths.
14697    [\\/]* | ?:[\\/]*)
14698      re_direlt='/[^/][^/]*/\.\./'
14699      # Canonicalize the pathname of ld
14700      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14701      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14702	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14703      done
14704      test -z "$LD" && LD=$ac_prog
14705      ;;
14706  "")
14707    # If it fails, then pretend we aren't using GCC.
14708    ac_prog=ld
14709    ;;
14710  *)
14711    # If it is relative, then search for the first ld in PATH.
14712    with_gnu_ld=unknown
14713    ;;
14714  esac
14715elif test yes = "$with_gnu_ld"; then
14716  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14717$as_echo_n "checking for GNU ld... " >&6; }
14718else
14719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14720$as_echo_n "checking for non-GNU ld... " >&6; }
14721fi
14722if ${lt_cv_path_LD+:} false; then :
14723  $as_echo_n "(cached) " >&6
14724else
14725  if test -z "$LD"; then
14726  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14727  for ac_dir in $PATH; do
14728    IFS=$lt_save_ifs
14729    test -z "$ac_dir" && ac_dir=.
14730    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14731      lt_cv_path_LD=$ac_dir/$ac_prog
14732      # Check to see if the program is GNU ld.  I'd rather use --version,
14733      # but apparently some variants of GNU ld only accept -v.
14734      # Break only if it was the GNU/non-GNU ld that we prefer.
14735      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14736      *GNU* | *'with BFD'*)
14737	test no != "$with_gnu_ld" && break
14738	;;
14739      *)
14740	test yes != "$with_gnu_ld" && break
14741	;;
14742      esac
14743    fi
14744  done
14745  IFS=$lt_save_ifs
14746else
14747  lt_cv_path_LD=$LD # Let the user override the test with a path.
14748fi
14749fi
14750
14751LD=$lt_cv_path_LD
14752if test -n "$LD"; then
14753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14754$as_echo "$LD" >&6; }
14755else
14756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14757$as_echo "no" >&6; }
14758fi
14759test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14761$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14762if ${lt_cv_prog_gnu_ld+:} false; then :
14763  $as_echo_n "(cached) " >&6
14764else
14765  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14766case `$LD -v 2>&1 </dev/null` in
14767*GNU* | *'with BFD'*)
14768  lt_cv_prog_gnu_ld=yes
14769  ;;
14770*)
14771  lt_cv_prog_gnu_ld=no
14772  ;;
14773esac
14774fi
14775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14776$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14777with_gnu_ld=$lt_cv_prog_gnu_ld
14778
14779
14780
14781
14782
14783
14784
14785      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14786      # archiving commands below assume that GNU ld is being used.
14787      if test yes = "$with_gnu_ld"; then
14788        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14789        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'
14790
14791        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14792        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14793
14794        # If archive_cmds runs LD, not CC, wlarc should be empty
14795        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14796        #     investigate it a little bit more. (MM)
14797        wlarc='$wl'
14798
14799        # ancient GNU ld didn't support --whole-archive et. al.
14800        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14801	  $GREP 'no-whole-archive' > /dev/null; then
14802          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14803        else
14804          whole_archive_flag_spec_CXX=
14805        fi
14806      else
14807        with_gnu_ld=no
14808        wlarc=
14809
14810        # A generic and very simple default shared library creation
14811        # command for GNU C++ for the case where it uses the native
14812        # linker, instead of GNU ld.  If possible, this setting should
14813        # overridden to take advantage of the native linker features on
14814        # the platform it is being used on.
14815        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14816      fi
14817
14818      # Commands to make compiler produce verbose output that lists
14819      # what "hidden" libraries, object files and flags are used when
14820      # linking a shared library.
14821      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14822
14823    else
14824      GXX=no
14825      with_gnu_ld=no
14826      wlarc=
14827    fi
14828
14829    # PORTME: fill in a description of your system's C++ link characteristics
14830    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14831$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14832    ld_shlibs_CXX=yes
14833    case $host_os in
14834      aix3*)
14835        # FIXME: insert proper C++ library support
14836        ld_shlibs_CXX=no
14837        ;;
14838      aix[4-9]*)
14839        if test ia64 = "$host_cpu"; then
14840          # On IA64, the linker does run time linking by default, so we don't
14841          # have to do anything special.
14842          aix_use_runtimelinking=no
14843          exp_sym_flag='-Bexport'
14844          no_entry_flag=
14845        else
14846          aix_use_runtimelinking=no
14847
14848          # Test if we are trying to use run time linking or normal
14849          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14850          # have runtime linking enabled, and use it for executables.
14851          # For shared libraries, we enable/disable runtime linking
14852          # depending on the kind of the shared library created -
14853          # when "with_aix_soname,aix_use_runtimelinking" is:
14854          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14855          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14856          #            lib.a           static archive
14857          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14858          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14859          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14860          #            lib.a(lib.so.V) shared, rtl:no
14861          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14862          #            lib.a           static archive
14863          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14864	    for ld_flag in $LDFLAGS; do
14865	      case $ld_flag in
14866	      *-brtl*)
14867	        aix_use_runtimelinking=yes
14868	        break
14869	        ;;
14870	      esac
14871	    done
14872	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14873	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14874	      # so we don't have lib.a shared libs to link our executables.
14875	      # We have to force runtime linking in this case.
14876	      aix_use_runtimelinking=yes
14877	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14878	    fi
14879	    ;;
14880          esac
14881
14882          exp_sym_flag='-bexport'
14883          no_entry_flag='-bnoentry'
14884        fi
14885
14886        # When large executables or shared objects are built, AIX ld can
14887        # have problems creating the table of contents.  If linking a library
14888        # or program results in "error TOC overflow" add -mminimal-toc to
14889        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14890        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14891
14892        archive_cmds_CXX=''
14893        hardcode_direct_CXX=yes
14894        hardcode_direct_absolute_CXX=yes
14895        hardcode_libdir_separator_CXX=':'
14896        link_all_deplibs_CXX=yes
14897        file_list_spec_CXX='$wl-f,'
14898        case $with_aix_soname,$aix_use_runtimelinking in
14899        aix,*) ;;	# no import file
14900        svr4,* | *,yes) # use import file
14901          # The Import File defines what to hardcode.
14902          hardcode_direct_CXX=no
14903          hardcode_direct_absolute_CXX=no
14904          ;;
14905        esac
14906
14907        if test yes = "$GXX"; then
14908          case $host_os in aix4.[012]|aix4.[012].*)
14909          # We only want to do this on AIX 4.2 and lower, the check
14910          # below for broken collect2 doesn't work under 4.3+
14911	  collect2name=`$CC -print-prog-name=collect2`
14912	  if test -f "$collect2name" &&
14913	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14914	  then
14915	    # We have reworked collect2
14916	    :
14917	  else
14918	    # We have old collect2
14919	    hardcode_direct_CXX=unsupported
14920	    # It fails to find uninstalled libraries when the uninstalled
14921	    # path is not listed in the libpath.  Setting hardcode_minus_L
14922	    # to unsupported forces relinking
14923	    hardcode_minus_L_CXX=yes
14924	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14925	    hardcode_libdir_separator_CXX=
14926	  fi
14927          esac
14928          shared_flag='-shared'
14929	  if test yes = "$aix_use_runtimelinking"; then
14930	    shared_flag=$shared_flag' $wl-G'
14931	  fi
14932	  # Need to ensure runtime linking is disabled for the traditional
14933	  # shared library, or the linker may eventually find shared libraries
14934	  # /with/ Import File - we do not want to mix them.
14935	  shared_flag_aix='-shared'
14936	  shared_flag_svr4='-shared $wl-G'
14937        else
14938          # not using gcc
14939          if test ia64 = "$host_cpu"; then
14940	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14941	  # chokes on -Wl,-G. The following line is correct:
14942	  shared_flag='-G'
14943          else
14944	    if test yes = "$aix_use_runtimelinking"; then
14945	      shared_flag='$wl-G'
14946	    else
14947	      shared_flag='$wl-bM:SRE'
14948	    fi
14949	    shared_flag_aix='$wl-bM:SRE'
14950	    shared_flag_svr4='$wl-G'
14951          fi
14952        fi
14953
14954        export_dynamic_flag_spec_CXX='$wl-bexpall'
14955        # It seems that -bexpall does not export symbols beginning with
14956        # underscore (_), so it is better to generate a list of symbols to
14957	# export.
14958        always_export_symbols_CXX=yes
14959	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14960          # Warning - without using the other runtime loading flags (-brtl),
14961          # -berok will link without error, but may produce a broken library.
14962          # The "-G" linker flag allows undefined symbols.
14963          no_undefined_flag_CXX='-bernotok'
14964          # Determine the default libpath from the value encoded in an empty
14965          # executable.
14966          if test set = "${lt_cv_aix_libpath+set}"; then
14967  aix_libpath=$lt_cv_aix_libpath
14968else
14969  if ${lt_cv_aix_libpath__CXX+:} false; then :
14970  $as_echo_n "(cached) " >&6
14971else
14972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973/* end confdefs.h.  */
14974
14975int
14976main ()
14977{
14978
14979  ;
14980  return 0;
14981}
14982_ACEOF
14983if ac_fn_cxx_try_link "$LINENO"; then :
14984
14985  lt_aix_libpath_sed='
14986      /Import File Strings/,/^$/ {
14987	  /^0/ {
14988	      s/^0  *\([^ ]*\) *$/\1/
14989	      p
14990	  }
14991      }'
14992  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14993  # Check for a 64-bit object if we didn't find anything.
14994  if test -z "$lt_cv_aix_libpath__CXX"; then
14995    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14996  fi
14997fi
14998rm -f core conftest.err conftest.$ac_objext \
14999    conftest$ac_exeext conftest.$ac_ext
15000  if test -z "$lt_cv_aix_libpath__CXX"; then
15001    lt_cv_aix_libpath__CXX=/usr/lib:/lib
15002  fi
15003
15004fi
15005
15006  aix_libpath=$lt_cv_aix_libpath__CXX
15007fi
15008
15009          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15010
15011          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
15012        else
15013          if test ia64 = "$host_cpu"; then
15014	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15015	    allow_undefined_flag_CXX="-z nodefs"
15016	    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"
15017          else
15018	    # Determine the default libpath from the value encoded in an
15019	    # empty executable.
15020	    if test set = "${lt_cv_aix_libpath+set}"; then
15021  aix_libpath=$lt_cv_aix_libpath
15022else
15023  if ${lt_cv_aix_libpath__CXX+:} false; then :
15024  $as_echo_n "(cached) " >&6
15025else
15026  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15027/* end confdefs.h.  */
15028
15029int
15030main ()
15031{
15032
15033  ;
15034  return 0;
15035}
15036_ACEOF
15037if ac_fn_cxx_try_link "$LINENO"; then :
15038
15039  lt_aix_libpath_sed='
15040      /Import File Strings/,/^$/ {
15041	  /^0/ {
15042	      s/^0  *\([^ ]*\) *$/\1/
15043	      p
15044	  }
15045      }'
15046  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15047  # Check for a 64-bit object if we didn't find anything.
15048  if test -z "$lt_cv_aix_libpath__CXX"; then
15049    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15050  fi
15051fi
15052rm -f core conftest.err conftest.$ac_objext \
15053    conftest$ac_exeext conftest.$ac_ext
15054  if test -z "$lt_cv_aix_libpath__CXX"; then
15055    lt_cv_aix_libpath__CXX=/usr/lib:/lib
15056  fi
15057
15058fi
15059
15060  aix_libpath=$lt_cv_aix_libpath__CXX
15061fi
15062
15063	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15064	    # Warning - without using the other run time loading flags,
15065	    # -berok will link without error, but may produce a broken library.
15066	    no_undefined_flag_CXX=' $wl-bernotok'
15067	    allow_undefined_flag_CXX=' $wl-berok'
15068	    if test yes = "$with_gnu_ld"; then
15069	      # We only use this code for GNU lds that support --whole-archive.
15070	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15071	    else
15072	      # Exported symbols can be pulled into shared objects from archives
15073	      whole_archive_flag_spec_CXX='$convenience'
15074	    fi
15075	    archive_cmds_need_lc_CXX=yes
15076	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15077	    # -brtl affects multiple linker settings, -berok does not and is overridden later
15078	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15079	    if test svr4 != "$with_aix_soname"; then
15080	      # This is similar to how AIX traditionally builds its shared
15081	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15082	      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'
15083	    fi
15084	    if test aix != "$with_aix_soname"; then
15085	      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'
15086	    else
15087	      # used by -dlpreopen to get the symbols
15088	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
15089	    fi
15090	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15091          fi
15092        fi
15093        ;;
15094
15095      beos*)
15096	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15097	  allow_undefined_flag_CXX=unsupported
15098	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15099	  # support --undefined.  This deserves some investigation.  FIXME
15100	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15101	else
15102	  ld_shlibs_CXX=no
15103	fi
15104	;;
15105
15106      chorus*)
15107        case $cc_basename in
15108          *)
15109	  # FIXME: insert proper C++ library support
15110	  ld_shlibs_CXX=no
15111	  ;;
15112        esac
15113        ;;
15114
15115      cygwin* | mingw* | pw32* | cegcc*)
15116	case $GXX,$cc_basename in
15117	,cl* | no,cl*)
15118	  # Native MSVC
15119	  # hardcode_libdir_flag_spec is actually meaningless, as there is
15120	  # no search path for DLLs.
15121	  hardcode_libdir_flag_spec_CXX=' '
15122	  allow_undefined_flag_CXX=unsupported
15123	  always_export_symbols_CXX=yes
15124	  file_list_spec_CXX='@'
15125	  # Tell ltmain to make .lib files, not .a files.
15126	  libext=lib
15127	  # Tell ltmain to make .dll files, not .so files.
15128	  shrext_cmds=.dll
15129	  # FIXME: Setting linknames here is a bad hack.
15130	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15131	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15132              cp "$export_symbols" "$output_objdir/$soname.def";
15133              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15134            else
15135              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15136            fi~
15137            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15138            linknames='
15139	  # The linker will not automatically build a static lib if we build a DLL.
15140	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15141	  enable_shared_with_static_runtimes_CXX=yes
15142	  # Don't use ranlib
15143	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
15144	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15145            lt_tool_outputfile="@TOOL_OUTPUT@"~
15146            case $lt_outputfile in
15147              *.exe|*.EXE) ;;
15148              *)
15149                lt_outputfile=$lt_outputfile.exe
15150                lt_tool_outputfile=$lt_tool_outputfile.exe
15151                ;;
15152            esac~
15153            func_to_tool_file "$lt_outputfile"~
15154            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15155              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15156              $RM "$lt_outputfile.manifest";
15157            fi'
15158	  ;;
15159	*)
15160	  # g++
15161	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15162	  # as there is no search path for DLLs.
15163	  hardcode_libdir_flag_spec_CXX='-L$libdir'
15164	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15165	  allow_undefined_flag_CXX=unsupported
15166	  always_export_symbols_CXX=no
15167	  enable_shared_with_static_runtimes_CXX=yes
15168
15169	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15170	    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'
15171	    # If the export-symbols file already is a .def file, use it as
15172	    # is; otherwise, prepend EXPORTS...
15173	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15174              cp $export_symbols $output_objdir/$soname.def;
15175            else
15176              echo EXPORTS > $output_objdir/$soname.def;
15177              cat $export_symbols >> $output_objdir/$soname.def;
15178            fi~
15179            $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'
15180	  else
15181	    ld_shlibs_CXX=no
15182	  fi
15183	  ;;
15184	esac
15185	;;
15186      darwin* | rhapsody*)
15187
15188
15189  archive_cmds_need_lc_CXX=no
15190  hardcode_direct_CXX=no
15191  hardcode_automatic_CXX=yes
15192  hardcode_shlibpath_var_CXX=unsupported
15193  if test yes = "$lt_cv_ld_force_load"; then
15194    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\"`'
15195
15196  else
15197    whole_archive_flag_spec_CXX=''
15198  fi
15199  link_all_deplibs_CXX=yes
15200  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15201  case $cc_basename in
15202     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15203     *) _lt_dar_can_shared=$GCC ;;
15204  esac
15205  if test yes = "$_lt_dar_can_shared"; then
15206    output_verbose_link_cmd=func_echo_all
15207    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"
15208    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15209    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"
15210    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"
15211       if test yes != "$lt_cv_apple_cc_single_mod"; then
15212      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"
15213      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"
15214    fi
15215
15216  else
15217  ld_shlibs_CXX=no
15218  fi
15219
15220	;;
15221
15222      os2*)
15223	hardcode_libdir_flag_spec_CXX='-L$libdir'
15224	hardcode_minus_L_CXX=yes
15225	allow_undefined_flag_CXX=unsupported
15226	shrext_cmds=.dll
15227	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15228	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15229	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15230	  $ECHO EXPORTS >> $output_objdir/$libname.def~
15231	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15232	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15233	  emximp -o $lib $output_objdir/$libname.def'
15234	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15235	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15236	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15237	  $ECHO EXPORTS >> $output_objdir/$libname.def~
15238	  prefix_cmds="$SED"~
15239	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
15240	    prefix_cmds="$prefix_cmds -e 1d";
15241	  fi~
15242	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15243	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15244	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15245	  emximp -o $lib $output_objdir/$libname.def'
15246	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15247	enable_shared_with_static_runtimes_CXX=yes
15248	;;
15249
15250      dgux*)
15251        case $cc_basename in
15252          ec++*)
15253	    # FIXME: insert proper C++ library support
15254	    ld_shlibs_CXX=no
15255	    ;;
15256          ghcx*)
15257	    # Green Hills C++ Compiler
15258	    # FIXME: insert proper C++ library support
15259	    ld_shlibs_CXX=no
15260	    ;;
15261          *)
15262	    # FIXME: insert proper C++ library support
15263	    ld_shlibs_CXX=no
15264	    ;;
15265        esac
15266        ;;
15267
15268      freebsd2.*)
15269        # C++ shared libraries reported to be fairly broken before
15270	# switch to ELF
15271        ld_shlibs_CXX=no
15272        ;;
15273
15274      freebsd-elf*)
15275        archive_cmds_need_lc_CXX=no
15276        ;;
15277
15278      freebsd* | dragonfly*)
15279        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15280        # conventions
15281        ld_shlibs_CXX=yes
15282        ;;
15283
15284      haiku*)
15285        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15286        link_all_deplibs_CXX=yes
15287        ;;
15288
15289      hpux9*)
15290        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15291        hardcode_libdir_separator_CXX=:
15292        export_dynamic_flag_spec_CXX='$wl-E'
15293        hardcode_direct_CXX=yes
15294        hardcode_minus_L_CXX=yes # Not in the search PATH,
15295				             # but as the default
15296				             # location of the library.
15297
15298        case $cc_basename in
15299          CC*)
15300            # FIXME: insert proper C++ library support
15301            ld_shlibs_CXX=no
15302            ;;
15303          aCC*)
15304            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'
15305            # Commands to make compiler produce verbose output that lists
15306            # what "hidden" libraries, object files and flags are used when
15307            # linking a shared library.
15308            #
15309            # There doesn't appear to be a way to prevent this compiler from
15310            # explicitly linking system object files so we need to strip them
15311            # from the output so that they don't get included in the library
15312            # dependencies.
15313            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"'
15314            ;;
15315          *)
15316            if test yes = "$GXX"; then
15317              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'
15318            else
15319              # FIXME: insert proper C++ library support
15320              ld_shlibs_CXX=no
15321            fi
15322            ;;
15323        esac
15324        ;;
15325
15326      hpux10*|hpux11*)
15327        if test no = "$with_gnu_ld"; then
15328	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15329	  hardcode_libdir_separator_CXX=:
15330
15331          case $host_cpu in
15332            hppa*64*|ia64*)
15333              ;;
15334            *)
15335	      export_dynamic_flag_spec_CXX='$wl-E'
15336              ;;
15337          esac
15338        fi
15339        case $host_cpu in
15340          hppa*64*|ia64*)
15341            hardcode_direct_CXX=no
15342            hardcode_shlibpath_var_CXX=no
15343            ;;
15344          *)
15345            hardcode_direct_CXX=yes
15346            hardcode_direct_absolute_CXX=yes
15347            hardcode_minus_L_CXX=yes # Not in the search PATH,
15348					         # but as the default
15349					         # location of the library.
15350            ;;
15351        esac
15352
15353        case $cc_basename in
15354          CC*)
15355	    # FIXME: insert proper C++ library support
15356	    ld_shlibs_CXX=no
15357	    ;;
15358          aCC*)
15359	    case $host_cpu in
15360	      hppa*64*)
15361	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15362	        ;;
15363	      ia64*)
15364	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15365	        ;;
15366	      *)
15367	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15368	        ;;
15369	    esac
15370	    # Commands to make compiler produce verbose output that lists
15371	    # what "hidden" libraries, object files and flags are used when
15372	    # linking a shared library.
15373	    #
15374	    # There doesn't appear to be a way to prevent this compiler from
15375	    # explicitly linking system object files so we need to strip them
15376	    # from the output so that they don't get included in the library
15377	    # dependencies.
15378	    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"'
15379	    ;;
15380          *)
15381	    if test yes = "$GXX"; then
15382	      if test no = "$with_gnu_ld"; then
15383	        case $host_cpu in
15384	          hppa*64*)
15385	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15386	            ;;
15387	          ia64*)
15388	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15389	            ;;
15390	          *)
15391	            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'
15392	            ;;
15393	        esac
15394	      fi
15395	    else
15396	      # FIXME: insert proper C++ library support
15397	      ld_shlibs_CXX=no
15398	    fi
15399	    ;;
15400        esac
15401        ;;
15402
15403      interix[3-9]*)
15404	hardcode_direct_CXX=no
15405	hardcode_shlibpath_var_CXX=no
15406	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15407	export_dynamic_flag_spec_CXX='$wl-E'
15408	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15409	# Instead, shared libraries are loaded at an image base (0x10000000 by
15410	# default) and relocated if they conflict, which is a slow very memory
15411	# consuming and fragmenting process.  To avoid this, we pick a random,
15412	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15413	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15414	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'
15415	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'
15416	;;
15417      irix5* | irix6*)
15418        case $cc_basename in
15419          CC*)
15420	    # SGI C++
15421	    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'
15422
15423	    # Archives containing C++ object files must be created using
15424	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15425	    # necessary to make sure instantiated templates are included
15426	    # in the archive.
15427	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15428	    ;;
15429          *)
15430	    if test yes = "$GXX"; then
15431	      if test no = "$with_gnu_ld"; then
15432	        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'
15433	      else
15434	        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'
15435	      fi
15436	    fi
15437	    link_all_deplibs_CXX=yes
15438	    ;;
15439        esac
15440        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15441        hardcode_libdir_separator_CXX=:
15442        inherit_rpath_CXX=yes
15443        ;;
15444
15445      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15446        case $cc_basename in
15447          KCC*)
15448	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15449
15450	    # KCC will only create a shared library if the output file
15451	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15452	    # to its proper name (with version) after linking.
15453	    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'
15454	    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'
15455	    # Commands to make compiler produce verbose output that lists
15456	    # what "hidden" libraries, object files and flags are used when
15457	    # linking a shared library.
15458	    #
15459	    # There doesn't appear to be a way to prevent this compiler from
15460	    # explicitly linking system object files so we need to strip them
15461	    # from the output so that they don't get included in the library
15462	    # dependencies.
15463	    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"'
15464
15465	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15466	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15467
15468	    # Archives containing C++ object files must be created using
15469	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15470	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15471	    ;;
15472	  icpc* | ecpc* )
15473	    # Intel C++
15474	    with_gnu_ld=yes
15475	    # version 8.0 and above of icpc choke on multiply defined symbols
15476	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15477	    # earlier do not add the objects themselves.
15478	    case `$CC -V 2>&1` in
15479	      *"Version 7."*)
15480	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15481		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'
15482		;;
15483	      *)  # Version 8.0 or newer
15484	        tmp_idyn=
15485	        case $host_cpu in
15486		  ia64*) tmp_idyn=' -i_dynamic';;
15487		esac
15488	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15489		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'
15490		;;
15491	    esac
15492	    archive_cmds_need_lc_CXX=no
15493	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15494	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15495	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15496	    ;;
15497          pgCC* | pgcpp*)
15498            # Portland Group C++ compiler
15499	    case `$CC -V` in
15500	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15501	      prelink_cmds_CXX='tpldir=Template.dir~
15502               rm -rf $tpldir~
15503               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15504               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15505	      old_archive_cmds_CXX='tpldir=Template.dir~
15506                rm -rf $tpldir~
15507                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15508                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15509                $RANLIB $oldlib'
15510	      archive_cmds_CXX='tpldir=Template.dir~
15511                rm -rf $tpldir~
15512                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15513                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15514	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15515                rm -rf $tpldir~
15516                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15517                $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'
15518	      ;;
15519	    *) # Version 6 and above use weak symbols
15520	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15521	      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'
15522	      ;;
15523	    esac
15524
15525	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15526	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15527	    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'
15528            ;;
15529	  cxx*)
15530	    # Compaq C++
15531	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15532	    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'
15533
15534	    runpath_var=LD_RUN_PATH
15535	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15536	    hardcode_libdir_separator_CXX=:
15537
15538	    # Commands to make compiler produce verbose output that lists
15539	    # what "hidden" libraries, object files and flags are used when
15540	    # linking a shared library.
15541	    #
15542	    # There doesn't appear to be a way to prevent this compiler from
15543	    # explicitly linking system object files so we need to strip them
15544	    # from the output so that they don't get included in the library
15545	    # dependencies.
15546	    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'
15547	    ;;
15548	  xl* | mpixl* | bgxl*)
15549	    # IBM XL 8.0 on PPC, with GNU ld
15550	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15551	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15552	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15553	    if test yes = "$supports_anon_versioning"; then
15554	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15555                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15556                echo "local: *; };" >> $output_objdir/$libname.ver~
15557                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15558	    fi
15559	    ;;
15560	  *)
15561	    case `$CC -V 2>&1 | sed 5q` in
15562	    *Sun\ C*)
15563	      # Sun C++ 5.9
15564	      no_undefined_flag_CXX=' -zdefs'
15565	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15566	      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'
15567	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15568	      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'
15569	      compiler_needs_object_CXX=yes
15570
15571	      # Not sure whether something based on
15572	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15573	      # would be better.
15574	      output_verbose_link_cmd='func_echo_all'
15575
15576	      # Archives containing C++ object files must be created using
15577	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15578	      # necessary to make sure instantiated templates are included
15579	      # in the archive.
15580	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15581	      ;;
15582	    esac
15583	    ;;
15584	esac
15585	;;
15586
15587      lynxos*)
15588        # FIXME: insert proper C++ library support
15589	ld_shlibs_CXX=no
15590	;;
15591
15592      m88k*)
15593        # FIXME: insert proper C++ library support
15594        ld_shlibs_CXX=no
15595	;;
15596
15597      mvs*)
15598        case $cc_basename in
15599          cxx*)
15600	    # FIXME: insert proper C++ library support
15601	    ld_shlibs_CXX=no
15602	    ;;
15603	  *)
15604	    # FIXME: insert proper C++ library support
15605	    ld_shlibs_CXX=no
15606	    ;;
15607	esac
15608	;;
15609
15610      netbsd*)
15611        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15612	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15613	  wlarc=
15614	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15615	  hardcode_direct_CXX=yes
15616	  hardcode_shlibpath_var_CXX=no
15617	fi
15618	# Workaround some broken pre-1.5 toolchains
15619	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15620	;;
15621
15622      *nto* | *qnx*)
15623        ld_shlibs_CXX=yes
15624	;;
15625
15626      openbsd* | bitrig*)
15627	if test -f /usr/libexec/ld.so; then
15628	  hardcode_direct_CXX=yes
15629	  hardcode_shlibpath_var_CXX=no
15630	  hardcode_direct_absolute_CXX=yes
15631	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15632	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15633	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15634	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15635	    export_dynamic_flag_spec_CXX='$wl-E'
15636	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15637	  fi
15638	  output_verbose_link_cmd=func_echo_all
15639	else
15640	  ld_shlibs_CXX=no
15641	fi
15642	;;
15643
15644      osf3* | osf4* | osf5*)
15645        case $cc_basename in
15646          KCC*)
15647	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15648
15649	    # KCC will only create a shared library if the output file
15650	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15651	    # to its proper name (with version) after linking.
15652	    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'
15653
15654	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15655	    hardcode_libdir_separator_CXX=:
15656
15657	    # Archives containing C++ object files must be created using
15658	    # the KAI C++ compiler.
15659	    case $host in
15660	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15661	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15662	    esac
15663	    ;;
15664          RCC*)
15665	    # Rational C++ 2.4.1
15666	    # FIXME: insert proper C++ library support
15667	    ld_shlibs_CXX=no
15668	    ;;
15669          cxx*)
15670	    case $host in
15671	      osf3*)
15672	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15673	        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'
15674	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15675		;;
15676	      *)
15677	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15678	        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'
15679	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15680                  echo "-hidden">> $lib.exp~
15681                  $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~
15682                  $RM $lib.exp'
15683	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15684		;;
15685	    esac
15686
15687	    hardcode_libdir_separator_CXX=:
15688
15689	    # Commands to make compiler produce verbose output that lists
15690	    # what "hidden" libraries, object files and flags are used when
15691	    # linking a shared library.
15692	    #
15693	    # There doesn't appear to be a way to prevent this compiler from
15694	    # explicitly linking system object files so we need to strip them
15695	    # from the output so that they don't get included in the library
15696	    # dependencies.
15697	    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"'
15698	    ;;
15699	  *)
15700	    if test yes,no = "$GXX,$with_gnu_ld"; then
15701	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15702	      case $host in
15703	        osf3*)
15704	          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'
15705		  ;;
15706	        *)
15707	          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'
15708		  ;;
15709	      esac
15710
15711	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15712	      hardcode_libdir_separator_CXX=:
15713
15714	      # Commands to make compiler produce verbose output that lists
15715	      # what "hidden" libraries, object files and flags are used when
15716	      # linking a shared library.
15717	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15718
15719	    else
15720	      # FIXME: insert proper C++ library support
15721	      ld_shlibs_CXX=no
15722	    fi
15723	    ;;
15724        esac
15725        ;;
15726
15727      psos*)
15728        # FIXME: insert proper C++ library support
15729        ld_shlibs_CXX=no
15730        ;;
15731
15732      sunos4*)
15733        case $cc_basename in
15734          CC*)
15735	    # Sun C++ 4.x
15736	    # FIXME: insert proper C++ library support
15737	    ld_shlibs_CXX=no
15738	    ;;
15739          lcc*)
15740	    # Lucid
15741	    # FIXME: insert proper C++ library support
15742	    ld_shlibs_CXX=no
15743	    ;;
15744          *)
15745	    # FIXME: insert proper C++ library support
15746	    ld_shlibs_CXX=no
15747	    ;;
15748        esac
15749        ;;
15750
15751      solaris*)
15752        case $cc_basename in
15753          CC* | sunCC*)
15754	    # Sun C++ 4.2, 5.x and Centerline C++
15755            archive_cmds_need_lc_CXX=yes
15756	    no_undefined_flag_CXX=' -zdefs'
15757	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15758	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15759              $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'
15760
15761	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15762	    hardcode_shlibpath_var_CXX=no
15763	    case $host_os in
15764	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15765	      *)
15766		# The compiler driver will combine and reorder linker options,
15767		# but understands '-z linker_flag'.
15768	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15769		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15770	        ;;
15771	    esac
15772	    link_all_deplibs_CXX=yes
15773
15774	    output_verbose_link_cmd='func_echo_all'
15775
15776	    # Archives containing C++ object files must be created using
15777	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15778	    # necessary to make sure instantiated templates are included
15779	    # in the archive.
15780	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15781	    ;;
15782          gcx*)
15783	    # Green Hills C++ Compiler
15784	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15785
15786	    # The C++ compiler must be used to create the archive.
15787	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15788	    ;;
15789          *)
15790	    # GNU C++ compiler with Solaris linker
15791	    if test yes,no = "$GXX,$with_gnu_ld"; then
15792	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15793	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15794	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15795	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15796                  $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'
15797
15798	        # Commands to make compiler produce verbose output that lists
15799	        # what "hidden" libraries, object files and flags are used when
15800	        # linking a shared library.
15801	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15802	      else
15803	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15804	        # platform.
15805	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15806	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15807                  $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'
15808
15809	        # Commands to make compiler produce verbose output that lists
15810	        # what "hidden" libraries, object files and flags are used when
15811	        # linking a shared library.
15812	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15813	      fi
15814
15815	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15816	      case $host_os in
15817		solaris2.[0-5] | solaris2.[0-5].*) ;;
15818		*)
15819		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15820		  ;;
15821	      esac
15822	    fi
15823	    ;;
15824        esac
15825        ;;
15826
15827    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15828      no_undefined_flag_CXX='$wl-z,text'
15829      archive_cmds_need_lc_CXX=no
15830      hardcode_shlibpath_var_CXX=no
15831      runpath_var='LD_RUN_PATH'
15832
15833      case $cc_basename in
15834        CC*)
15835	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15836	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15837	  ;;
15838	*)
15839	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15840	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15841	  ;;
15842      esac
15843      ;;
15844
15845      sysv5* | sco3.2v5* | sco5v6*)
15846	# Note: We CANNOT use -z defs as we might desire, because we do not
15847	# link with -lc, and that would cause any symbols used from libc to
15848	# always be unresolved, which means just about no library would
15849	# ever link correctly.  If we're not using GNU ld we use -z text
15850	# though, which does catch some bad symbols but isn't as heavy-handed
15851	# as -z defs.
15852	no_undefined_flag_CXX='$wl-z,text'
15853	allow_undefined_flag_CXX='$wl-z,nodefs'
15854	archive_cmds_need_lc_CXX=no
15855	hardcode_shlibpath_var_CXX=no
15856	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15857	hardcode_libdir_separator_CXX=':'
15858	link_all_deplibs_CXX=yes
15859	export_dynamic_flag_spec_CXX='$wl-Bexport'
15860	runpath_var='LD_RUN_PATH'
15861
15862	case $cc_basename in
15863          CC*)
15864	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15865	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15866	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15867              '"$old_archive_cmds_CXX"
15868	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15869              '"$reload_cmds_CXX"
15870	    ;;
15871	  *)
15872	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15873	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15874	    ;;
15875	esac
15876      ;;
15877
15878      tandem*)
15879        case $cc_basename in
15880          NCC*)
15881	    # NonStop-UX NCC 3.20
15882	    # FIXME: insert proper C++ library support
15883	    ld_shlibs_CXX=no
15884	    ;;
15885          *)
15886	    # FIXME: insert proper C++ library support
15887	    ld_shlibs_CXX=no
15888	    ;;
15889        esac
15890        ;;
15891
15892      vxworks*)
15893        # FIXME: insert proper C++ library support
15894        ld_shlibs_CXX=no
15895        ;;
15896
15897      *)
15898        # FIXME: insert proper C++ library support
15899        ld_shlibs_CXX=no
15900        ;;
15901    esac
15902
15903    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15904$as_echo "$ld_shlibs_CXX" >&6; }
15905    test no = "$ld_shlibs_CXX" && can_build_shared=no
15906
15907    GCC_CXX=$GXX
15908    LD_CXX=$LD
15909
15910    ## CAVEAT EMPTOR:
15911    ## There is no encapsulation within the following macros, do not change
15912    ## the running order or otherwise move them around unless you know exactly
15913    ## what you are doing...
15914    # Dependencies to place before and after the object being linked:
15915predep_objects_CXX=
15916postdep_objects_CXX=
15917predeps_CXX=
15918postdeps_CXX=
15919compiler_lib_search_path_CXX=
15920
15921cat > conftest.$ac_ext <<_LT_EOF
15922class Foo
15923{
15924public:
15925  Foo (void) { a = 0; }
15926private:
15927  int a;
15928};
15929_LT_EOF
15930
15931
15932_lt_libdeps_save_CFLAGS=$CFLAGS
15933case "$CC $CFLAGS " in #(
15934*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15935*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15936*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15937esac
15938
15939if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15940  (eval $ac_compile) 2>&5
15941  ac_status=$?
15942  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15943  test $ac_status = 0; }; then
15944  # Parse the compiler output and extract the necessary
15945  # objects, libraries and library flags.
15946
15947  # Sentinel used to keep track of whether or not we are before
15948  # the conftest object file.
15949  pre_test_object_deps_done=no
15950
15951  for p in `eval "$output_verbose_link_cmd"`; do
15952    case $prev$p in
15953
15954    -L* | -R* | -l*)
15955       # Some compilers place space between "-{L,R}" and the path.
15956       # Remove the space.
15957       if test x-L = "$p" ||
15958          test x-R = "$p"; then
15959	 prev=$p
15960	 continue
15961       fi
15962
15963       # Expand the sysroot to ease extracting the directories later.
15964       if test -z "$prev"; then
15965         case $p in
15966         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15967         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15968         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15969         esac
15970       fi
15971       case $p in
15972       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15973       esac
15974       if test no = "$pre_test_object_deps_done"; then
15975	 case $prev in
15976	 -L | -R)
15977	   # Internal compiler library paths should come after those
15978	   # provided the user.  The postdeps already come after the
15979	   # user supplied libs so there is no need to process them.
15980	   if test -z "$compiler_lib_search_path_CXX"; then
15981	     compiler_lib_search_path_CXX=$prev$p
15982	   else
15983	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15984	   fi
15985	   ;;
15986	 # The "-l" case would never come before the object being
15987	 # linked, so don't bother handling this case.
15988	 esac
15989       else
15990	 if test -z "$postdeps_CXX"; then
15991	   postdeps_CXX=$prev$p
15992	 else
15993	   postdeps_CXX="${postdeps_CXX} $prev$p"
15994	 fi
15995       fi
15996       prev=
15997       ;;
15998
15999    *.lto.$objext) ;; # Ignore GCC LTO objects
16000    *.$objext)
16001       # This assumes that the test object file only shows up
16002       # once in the compiler output.
16003       if test "$p" = "conftest.$objext"; then
16004	 pre_test_object_deps_done=yes
16005	 continue
16006       fi
16007
16008       if test no = "$pre_test_object_deps_done"; then
16009	 if test -z "$predep_objects_CXX"; then
16010	   predep_objects_CXX=$p
16011	 else
16012	   predep_objects_CXX="$predep_objects_CXX $p"
16013	 fi
16014       else
16015	 if test -z "$postdep_objects_CXX"; then
16016	   postdep_objects_CXX=$p
16017	 else
16018	   postdep_objects_CXX="$postdep_objects_CXX $p"
16019	 fi
16020       fi
16021       ;;
16022
16023    *) ;; # Ignore the rest.
16024
16025    esac
16026  done
16027
16028  # Clean up.
16029  rm -f a.out a.exe
16030else
16031  echo "libtool.m4: error: problem compiling CXX test program"
16032fi
16033
16034$RM -f confest.$objext
16035CFLAGS=$_lt_libdeps_save_CFLAGS
16036
16037# PORTME: override above test on systems where it is broken
16038case $host_os in
16039interix[3-9]*)
16040  # Interix 3.5 installs completely hosed .la files for C++, so rather than
16041  # hack all around it, let's just trust "g++" to DTRT.
16042  predep_objects_CXX=
16043  postdep_objects_CXX=
16044  postdeps_CXX=
16045  ;;
16046esac
16047
16048
16049case " $postdeps_CXX " in
16050*" -lc "*) archive_cmds_need_lc_CXX=no ;;
16051esac
16052 compiler_lib_search_dirs_CXX=
16053if test -n "${compiler_lib_search_path_CXX}"; then
16054 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16055fi
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087    lt_prog_compiler_wl_CXX=
16088lt_prog_compiler_pic_CXX=
16089lt_prog_compiler_static_CXX=
16090
16091
16092  # C++ specific cases for pic, static, wl, etc.
16093  if test yes = "$GXX"; then
16094    lt_prog_compiler_wl_CXX='-Wl,'
16095    lt_prog_compiler_static_CXX='-static'
16096
16097    case $host_os in
16098    aix*)
16099      # All AIX code is PIC.
16100      if test ia64 = "$host_cpu"; then
16101	# AIX 5 now supports IA64 processor
16102	lt_prog_compiler_static_CXX='-Bstatic'
16103      fi
16104      lt_prog_compiler_pic_CXX='-fPIC'
16105      ;;
16106
16107    amigaos*)
16108      case $host_cpu in
16109      powerpc)
16110            # see comment about AmigaOS4 .so support
16111            lt_prog_compiler_pic_CXX='-fPIC'
16112        ;;
16113      m68k)
16114            # FIXME: we need at least 68020 code to build shared libraries, but
16115            # adding the '-m68020' flag to GCC prevents building anything better,
16116            # like '-m68040'.
16117            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16118        ;;
16119      esac
16120      ;;
16121
16122    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16123      # PIC is the default for these OSes.
16124      ;;
16125    mingw* | cygwin* | os2* | pw32* | cegcc*)
16126      # This hack is so that the source file can tell whether it is being
16127      # built for inclusion in a dll (and should export symbols for example).
16128      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16129      # (--disable-auto-import) libraries
16130      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16131      case $host_os in
16132      os2*)
16133	lt_prog_compiler_static_CXX='$wl-static'
16134	;;
16135      esac
16136      ;;
16137    darwin* | rhapsody*)
16138      # PIC is the default on this platform
16139      # Common symbols not allowed in MH_DYLIB files
16140      lt_prog_compiler_pic_CXX='-fno-common'
16141      ;;
16142    *djgpp*)
16143      # DJGPP does not support shared libraries at all
16144      lt_prog_compiler_pic_CXX=
16145      ;;
16146    haiku*)
16147      # PIC is the default for Haiku.
16148      # The "-static" flag exists, but is broken.
16149      lt_prog_compiler_static_CXX=
16150      ;;
16151    interix[3-9]*)
16152      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16153      # Instead, we relocate shared libraries at runtime.
16154      ;;
16155    sysv4*MP*)
16156      if test -d /usr/nec; then
16157	lt_prog_compiler_pic_CXX=-Kconform_pic
16158      fi
16159      ;;
16160    hpux*)
16161      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16162      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16163      # sets the default TLS model and affects inlining.
16164      case $host_cpu in
16165      hppa*64*)
16166	;;
16167      *)
16168	lt_prog_compiler_pic_CXX='-fPIC'
16169	;;
16170      esac
16171      ;;
16172    *qnx* | *nto*)
16173      # QNX uses GNU C++, but need to define -shared option too, otherwise
16174      # it will coredump.
16175      lt_prog_compiler_pic_CXX='-fPIC -shared'
16176      ;;
16177    *)
16178      lt_prog_compiler_pic_CXX='-fPIC'
16179      ;;
16180    esac
16181  else
16182    case $host_os in
16183      aix[4-9]*)
16184	# All AIX code is PIC.
16185	if test ia64 = "$host_cpu"; then
16186	  # AIX 5 now supports IA64 processor
16187	  lt_prog_compiler_static_CXX='-Bstatic'
16188	else
16189	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16190	fi
16191	;;
16192      chorus*)
16193	case $cc_basename in
16194	cxch68*)
16195	  # Green Hills C++ Compiler
16196	  # _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"
16197	  ;;
16198	esac
16199	;;
16200      mingw* | cygwin* | os2* | pw32* | cegcc*)
16201	# This hack is so that the source file can tell whether it is being
16202	# built for inclusion in a dll (and should export symbols for example).
16203	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16204	;;
16205      dgux*)
16206	case $cc_basename in
16207	  ec++*)
16208	    lt_prog_compiler_pic_CXX='-KPIC'
16209	    ;;
16210	  ghcx*)
16211	    # Green Hills C++ Compiler
16212	    lt_prog_compiler_pic_CXX='-pic'
16213	    ;;
16214	  *)
16215	    ;;
16216	esac
16217	;;
16218      freebsd* | dragonfly*)
16219	# FreeBSD uses GNU C++
16220	;;
16221      hpux9* | hpux10* | hpux11*)
16222	case $cc_basename in
16223	  CC*)
16224	    lt_prog_compiler_wl_CXX='-Wl,'
16225	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16226	    if test ia64 != "$host_cpu"; then
16227	      lt_prog_compiler_pic_CXX='+Z'
16228	    fi
16229	    ;;
16230	  aCC*)
16231	    lt_prog_compiler_wl_CXX='-Wl,'
16232	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16233	    case $host_cpu in
16234	    hppa*64*|ia64*)
16235	      # +Z the default
16236	      ;;
16237	    *)
16238	      lt_prog_compiler_pic_CXX='+Z'
16239	      ;;
16240	    esac
16241	    ;;
16242	  *)
16243	    ;;
16244	esac
16245	;;
16246      interix*)
16247	# This is c89, which is MS Visual C++ (no shared libs)
16248	# Anyone wants to do a port?
16249	;;
16250      irix5* | irix6* | nonstopux*)
16251	case $cc_basename in
16252	  CC*)
16253	    lt_prog_compiler_wl_CXX='-Wl,'
16254	    lt_prog_compiler_static_CXX='-non_shared'
16255	    # CC pic flag -KPIC is the default.
16256	    ;;
16257	  *)
16258	    ;;
16259	esac
16260	;;
16261      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16262	case $cc_basename in
16263	  KCC*)
16264	    # KAI C++ Compiler
16265	    lt_prog_compiler_wl_CXX='--backend -Wl,'
16266	    lt_prog_compiler_pic_CXX='-fPIC'
16267	    ;;
16268	  ecpc* )
16269	    # old Intel C++ for x86_64, which still supported -KPIC.
16270	    lt_prog_compiler_wl_CXX='-Wl,'
16271	    lt_prog_compiler_pic_CXX='-KPIC'
16272	    lt_prog_compiler_static_CXX='-static'
16273	    ;;
16274	  icpc* )
16275	    # Intel C++, used to be incompatible with GCC.
16276	    # ICC 10 doesn't accept -KPIC any more.
16277	    lt_prog_compiler_wl_CXX='-Wl,'
16278	    lt_prog_compiler_pic_CXX='-fPIC'
16279	    lt_prog_compiler_static_CXX='-static'
16280	    ;;
16281	  pgCC* | pgcpp*)
16282	    # Portland Group C++ compiler
16283	    lt_prog_compiler_wl_CXX='-Wl,'
16284	    lt_prog_compiler_pic_CXX='-fpic'
16285	    lt_prog_compiler_static_CXX='-Bstatic'
16286	    ;;
16287	  cxx*)
16288	    # Compaq C++
16289	    # Make sure the PIC flag is empty.  It appears that all Alpha
16290	    # Linux and Compaq Tru64 Unix objects are PIC.
16291	    lt_prog_compiler_pic_CXX=
16292	    lt_prog_compiler_static_CXX='-non_shared'
16293	    ;;
16294	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16295	    # IBM XL 8.0, 9.0 on PPC and BlueGene
16296	    lt_prog_compiler_wl_CXX='-Wl,'
16297	    lt_prog_compiler_pic_CXX='-qpic'
16298	    lt_prog_compiler_static_CXX='-qstaticlink'
16299	    ;;
16300	  *)
16301	    case `$CC -V 2>&1 | sed 5q` in
16302	    *Sun\ C*)
16303	      # Sun C++ 5.9
16304	      lt_prog_compiler_pic_CXX='-KPIC'
16305	      lt_prog_compiler_static_CXX='-Bstatic'
16306	      lt_prog_compiler_wl_CXX='-Qoption ld '
16307	      ;;
16308	    esac
16309	    ;;
16310	esac
16311	;;
16312      lynxos*)
16313	;;
16314      m88k*)
16315	;;
16316      mvs*)
16317	case $cc_basename in
16318	  cxx*)
16319	    lt_prog_compiler_pic_CXX='-W c,exportall'
16320	    ;;
16321	  *)
16322	    ;;
16323	esac
16324	;;
16325      netbsd* | netbsdelf*-gnu)
16326	;;
16327      *qnx* | *nto*)
16328        # QNX uses GNU C++, but need to define -shared option too, otherwise
16329        # it will coredump.
16330        lt_prog_compiler_pic_CXX='-fPIC -shared'
16331        ;;
16332      osf3* | osf4* | osf5*)
16333	case $cc_basename in
16334	  KCC*)
16335	    lt_prog_compiler_wl_CXX='--backend -Wl,'
16336	    ;;
16337	  RCC*)
16338	    # Rational C++ 2.4.1
16339	    lt_prog_compiler_pic_CXX='-pic'
16340	    ;;
16341	  cxx*)
16342	    # Digital/Compaq C++
16343	    lt_prog_compiler_wl_CXX='-Wl,'
16344	    # Make sure the PIC flag is empty.  It appears that all Alpha
16345	    # Linux and Compaq Tru64 Unix objects are PIC.
16346	    lt_prog_compiler_pic_CXX=
16347	    lt_prog_compiler_static_CXX='-non_shared'
16348	    ;;
16349	  *)
16350	    ;;
16351	esac
16352	;;
16353      psos*)
16354	;;
16355      solaris*)
16356	case $cc_basename in
16357	  CC* | sunCC*)
16358	    # Sun C++ 4.2, 5.x and Centerline C++
16359	    lt_prog_compiler_pic_CXX='-KPIC'
16360	    lt_prog_compiler_static_CXX='-Bstatic'
16361	    lt_prog_compiler_wl_CXX='-Qoption ld '
16362	    ;;
16363	  gcx*)
16364	    # Green Hills C++ Compiler
16365	    lt_prog_compiler_pic_CXX='-PIC'
16366	    ;;
16367	  *)
16368	    ;;
16369	esac
16370	;;
16371      sunos4*)
16372	case $cc_basename in
16373	  CC*)
16374	    # Sun C++ 4.x
16375	    lt_prog_compiler_pic_CXX='-pic'
16376	    lt_prog_compiler_static_CXX='-Bstatic'
16377	    ;;
16378	  lcc*)
16379	    # Lucid
16380	    lt_prog_compiler_pic_CXX='-pic'
16381	    ;;
16382	  *)
16383	    ;;
16384	esac
16385	;;
16386      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16387	case $cc_basename in
16388	  CC*)
16389	    lt_prog_compiler_wl_CXX='-Wl,'
16390	    lt_prog_compiler_pic_CXX='-KPIC'
16391	    lt_prog_compiler_static_CXX='-Bstatic'
16392	    ;;
16393	esac
16394	;;
16395      tandem*)
16396	case $cc_basename in
16397	  NCC*)
16398	    # NonStop-UX NCC 3.20
16399	    lt_prog_compiler_pic_CXX='-KPIC'
16400	    ;;
16401	  *)
16402	    ;;
16403	esac
16404	;;
16405      vxworks*)
16406	;;
16407      *)
16408	lt_prog_compiler_can_build_shared_CXX=no
16409	;;
16410    esac
16411  fi
16412
16413case $host_os in
16414  # For platforms that do not support PIC, -DPIC is meaningless:
16415  *djgpp*)
16416    lt_prog_compiler_pic_CXX=
16417    ;;
16418  *)
16419    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16420    ;;
16421esac
16422
16423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16424$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16425if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16426  $as_echo_n "(cached) " >&6
16427else
16428  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16429fi
16430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16431$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16432lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16433
16434#
16435# Check to make sure the PIC flag actually works.
16436#
16437if test -n "$lt_prog_compiler_pic_CXX"; then
16438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16439$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16440if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16441  $as_echo_n "(cached) " >&6
16442else
16443  lt_cv_prog_compiler_pic_works_CXX=no
16444   ac_outfile=conftest.$ac_objext
16445   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16446   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16447   # Insert the option either (1) after the last *FLAGS variable, or
16448   # (2) before a word containing "conftest.", or (3) at the end.
16449   # Note that $ac_compile itself does not contain backslashes and begins
16450   # with a dollar sign (not a hyphen), so the echo should work correctly.
16451   # The option is referenced via a variable to avoid confusing sed.
16452   lt_compile=`echo "$ac_compile" | $SED \
16453   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16454   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16455   -e 's:$: $lt_compiler_flag:'`
16456   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16457   (eval "$lt_compile" 2>conftest.err)
16458   ac_status=$?
16459   cat conftest.err >&5
16460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461   if (exit $ac_status) && test -s "$ac_outfile"; then
16462     # The compiler can only warn and ignore the option if not recognized
16463     # So say no if there are warnings other than the usual output.
16464     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16465     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16466     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16467       lt_cv_prog_compiler_pic_works_CXX=yes
16468     fi
16469   fi
16470   $RM conftest*
16471
16472fi
16473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16474$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16475
16476if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16477    case $lt_prog_compiler_pic_CXX in
16478     "" | " "*) ;;
16479     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16480     esac
16481else
16482    lt_prog_compiler_pic_CXX=
16483     lt_prog_compiler_can_build_shared_CXX=no
16484fi
16485
16486fi
16487
16488
16489
16490
16491
16492#
16493# Check to make sure the static flag actually works.
16494#
16495wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16497$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16498if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16499  $as_echo_n "(cached) " >&6
16500else
16501  lt_cv_prog_compiler_static_works_CXX=no
16502   save_LDFLAGS=$LDFLAGS
16503   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16504   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16505   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16506     # The linker can only warn and ignore the option if not recognized
16507     # So say no if there are warnings
16508     if test -s conftest.err; then
16509       # Append any errors to the config.log.
16510       cat conftest.err 1>&5
16511       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16512       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16513       if diff conftest.exp conftest.er2 >/dev/null; then
16514         lt_cv_prog_compiler_static_works_CXX=yes
16515       fi
16516     else
16517       lt_cv_prog_compiler_static_works_CXX=yes
16518     fi
16519   fi
16520   $RM -r conftest*
16521   LDFLAGS=$save_LDFLAGS
16522
16523fi
16524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16525$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16526
16527if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16528    :
16529else
16530    lt_prog_compiler_static_CXX=
16531fi
16532
16533
16534
16535
16536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16537$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16538if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16539  $as_echo_n "(cached) " >&6
16540else
16541  lt_cv_prog_compiler_c_o_CXX=no
16542   $RM -r conftest 2>/dev/null
16543   mkdir conftest
16544   cd conftest
16545   mkdir out
16546   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16547
16548   lt_compiler_flag="-o out/conftest2.$ac_objext"
16549   # Insert the option either (1) after the last *FLAGS variable, or
16550   # (2) before a word containing "conftest.", or (3) at the end.
16551   # Note that $ac_compile itself does not contain backslashes and begins
16552   # with a dollar sign (not a hyphen), so the echo should work correctly.
16553   lt_compile=`echo "$ac_compile" | $SED \
16554   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16555   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16556   -e 's:$: $lt_compiler_flag:'`
16557   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16558   (eval "$lt_compile" 2>out/conftest.err)
16559   ac_status=$?
16560   cat out/conftest.err >&5
16561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16563   then
16564     # The compiler can only warn and ignore the option if not recognized
16565     # So say no if there are warnings
16566     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16567     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16568     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16569       lt_cv_prog_compiler_c_o_CXX=yes
16570     fi
16571   fi
16572   chmod u+w . 2>&5
16573   $RM conftest*
16574   # SGI C++ compiler will create directory out/ii_files/ for
16575   # template instantiation
16576   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16577   $RM out/* && rmdir out
16578   cd ..
16579   $RM -r conftest
16580   $RM conftest*
16581
16582fi
16583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16584$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16585
16586
16587
16588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16589$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16590if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16591  $as_echo_n "(cached) " >&6
16592else
16593  lt_cv_prog_compiler_c_o_CXX=no
16594   $RM -r conftest 2>/dev/null
16595   mkdir conftest
16596   cd conftest
16597   mkdir out
16598   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16599
16600   lt_compiler_flag="-o out/conftest2.$ac_objext"
16601   # Insert the option either (1) after the last *FLAGS variable, or
16602   # (2) before a word containing "conftest.", or (3) at the end.
16603   # Note that $ac_compile itself does not contain backslashes and begins
16604   # with a dollar sign (not a hyphen), so the echo should work correctly.
16605   lt_compile=`echo "$ac_compile" | $SED \
16606   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16607   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16608   -e 's:$: $lt_compiler_flag:'`
16609   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16610   (eval "$lt_compile" 2>out/conftest.err)
16611   ac_status=$?
16612   cat out/conftest.err >&5
16613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16615   then
16616     # The compiler can only warn and ignore the option if not recognized
16617     # So say no if there are warnings
16618     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16619     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16620     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16621       lt_cv_prog_compiler_c_o_CXX=yes
16622     fi
16623   fi
16624   chmod u+w . 2>&5
16625   $RM conftest*
16626   # SGI C++ compiler will create directory out/ii_files/ for
16627   # template instantiation
16628   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16629   $RM out/* && rmdir out
16630   cd ..
16631   $RM -r conftest
16632   $RM conftest*
16633
16634fi
16635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16636$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16637
16638
16639
16640
16641hard_links=nottested
16642if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16643  # do not overwrite the value of need_locks provided by the user
16644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16645$as_echo_n "checking if we can lock with hard links... " >&6; }
16646  hard_links=yes
16647  $RM conftest*
16648  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16649  touch conftest.a
16650  ln conftest.a conftest.b 2>&5 || hard_links=no
16651  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16653$as_echo "$hard_links" >&6; }
16654  if test no = "$hard_links"; then
16655    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16656$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16657    need_locks=warn
16658  fi
16659else
16660  need_locks=no
16661fi
16662
16663
16664
16665    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16666$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16667
16668  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16669  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16670  case $host_os in
16671  aix[4-9]*)
16672    # If we're using GNU nm, then we don't want the "-C" option.
16673    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16674    # Without the "-l" option, or with the "-B" option, AIX nm treats
16675    # weak defined symbols like other global defined symbols, whereas
16676    # GNU nm marks them as "W".
16677    # While the 'weak' keyword is ignored in the Export File, we need
16678    # it in the Import File for the 'aix-soname' feature, so we have
16679    # to replace the "-B" option with "-P" for AIX nm.
16680    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16681      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'
16682    else
16683      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'
16684    fi
16685    ;;
16686  pw32*)
16687    export_symbols_cmds_CXX=$ltdll_cmds
16688    ;;
16689  cygwin* | mingw* | cegcc*)
16690    case $cc_basename in
16691    cl*)
16692      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16693      ;;
16694    *)
16695      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'
16696      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16697      ;;
16698    esac
16699    ;;
16700  linux* | k*bsd*-gnu | gnu*)
16701    link_all_deplibs_CXX=no
16702    ;;
16703  *)
16704    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16705    ;;
16706  esac
16707
16708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16709$as_echo "$ld_shlibs_CXX" >&6; }
16710test no = "$ld_shlibs_CXX" && can_build_shared=no
16711
16712with_gnu_ld_CXX=$with_gnu_ld
16713
16714
16715
16716
16717
16718
16719#
16720# Do we need to explicitly link libc?
16721#
16722case "x$archive_cmds_need_lc_CXX" in
16723x|xyes)
16724  # Assume -lc should be added
16725  archive_cmds_need_lc_CXX=yes
16726
16727  if test yes,yes = "$GCC,$enable_shared"; then
16728    case $archive_cmds_CXX in
16729    *'~'*)
16730      # FIXME: we may have to deal with multi-command sequences.
16731      ;;
16732    '$CC '*)
16733      # Test whether the compiler implicitly links with -lc since on some
16734      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16735      # to ld, don't add -lc before -lgcc.
16736      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16737$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16738if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16739  $as_echo_n "(cached) " >&6
16740else
16741  $RM conftest*
16742	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16743
16744	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16745  (eval $ac_compile) 2>&5
16746  ac_status=$?
16747  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16748  test $ac_status = 0; } 2>conftest.err; then
16749	  soname=conftest
16750	  lib=conftest
16751	  libobjs=conftest.$ac_objext
16752	  deplibs=
16753	  wl=$lt_prog_compiler_wl_CXX
16754	  pic_flag=$lt_prog_compiler_pic_CXX
16755	  compiler_flags=-v
16756	  linker_flags=-v
16757	  verstring=
16758	  output_objdir=.
16759	  libname=conftest
16760	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16761	  allow_undefined_flag_CXX=
16762	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16763  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16764  ac_status=$?
16765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16766  test $ac_status = 0; }
16767	  then
16768	    lt_cv_archive_cmds_need_lc_CXX=no
16769	  else
16770	    lt_cv_archive_cmds_need_lc_CXX=yes
16771	  fi
16772	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16773	else
16774	  cat conftest.err 1>&5
16775	fi
16776	$RM conftest*
16777
16778fi
16779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16780$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16781      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16782      ;;
16783    esac
16784  fi
16785  ;;
16786esac
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16850$as_echo_n "checking dynamic linker characteristics... " >&6; }
16851
16852library_names_spec=
16853libname_spec='lib$name'
16854soname_spec=
16855shrext_cmds=.so
16856postinstall_cmds=
16857postuninstall_cmds=
16858finish_cmds=
16859finish_eval=
16860shlibpath_var=
16861shlibpath_overrides_runpath=unknown
16862version_type=none
16863dynamic_linker="$host_os ld.so"
16864sys_lib_dlsearch_path_spec="/lib /usr/lib"
16865need_lib_prefix=unknown
16866hardcode_into_libs=no
16867
16868# when you set need_version to no, make sure it does not cause -set_version
16869# flags to be left without arguments
16870need_version=unknown
16871
16872
16873
16874case $host_os in
16875aix3*)
16876  version_type=linux # correct to gnu/linux during the next big refactor
16877  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16878  shlibpath_var=LIBPATH
16879
16880  # AIX 3 has no versioning support, so we append a major version to the name.
16881  soname_spec='$libname$release$shared_ext$major'
16882  ;;
16883
16884aix[4-9]*)
16885  version_type=linux # correct to gnu/linux during the next big refactor
16886  need_lib_prefix=no
16887  need_version=no
16888  hardcode_into_libs=yes
16889  if test ia64 = "$host_cpu"; then
16890    # AIX 5 supports IA64
16891    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16892    shlibpath_var=LD_LIBRARY_PATH
16893  else
16894    # With GCC up to 2.95.x, collect2 would create an import file
16895    # for dependence libraries.  The import file would start with
16896    # the line '#! .'.  This would cause the generated library to
16897    # depend on '.', always an invalid library.  This was fixed in
16898    # development snapshots of GCC prior to 3.0.
16899    case $host_os in
16900      aix4 | aix4.[01] | aix4.[01].*)
16901      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16902	   echo ' yes '
16903	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16904	:
16905      else
16906	can_build_shared=no
16907      fi
16908      ;;
16909    esac
16910    # Using Import Files as archive members, it is possible to support
16911    # filename-based versioning of shared library archives on AIX. While
16912    # this would work for both with and without runtime linking, it will
16913    # prevent static linking of such archives. So we do filename-based
16914    # shared library versioning with .so extension only, which is used
16915    # when both runtime linking and shared linking is enabled.
16916    # Unfortunately, runtime linking may impact performance, so we do
16917    # not want this to be the default eventually. Also, we use the
16918    # versioned .so libs for executables only if there is the -brtl
16919    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16920    # To allow for filename-based versioning support, we need to create
16921    # libNAME.so.V as an archive file, containing:
16922    # *) an Import File, referring to the versioned filename of the
16923    #    archive as well as the shared archive member, telling the
16924    #    bitwidth (32 or 64) of that shared object, and providing the
16925    #    list of exported symbols of that shared object, eventually
16926    #    decorated with the 'weak' keyword
16927    # *) the shared object with the F_LOADONLY flag set, to really avoid
16928    #    it being seen by the linker.
16929    # At run time we better use the real file rather than another symlink,
16930    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16931
16932    case $with_aix_soname,$aix_use_runtimelinking in
16933    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16934    # soname into executable. Probably we can add versioning support to
16935    # collect2, so additional links can be useful in future.
16936    aix,yes) # traditional libtool
16937      dynamic_linker='AIX unversionable lib.so'
16938      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16939      # instead of lib<name>.a to let people know that these are not
16940      # typical AIX shared libraries.
16941      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16942      ;;
16943    aix,no) # traditional AIX only
16944      dynamic_linker='AIX lib.a(lib.so.V)'
16945      # We preserve .a as extension for shared libraries through AIX4.2
16946      # and later when we are not doing run time linking.
16947      library_names_spec='$libname$release.a $libname.a'
16948      soname_spec='$libname$release$shared_ext$major'
16949      ;;
16950    svr4,*) # full svr4 only
16951      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16952      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16953      # We do not specify a path in Import Files, so LIBPATH fires.
16954      shlibpath_overrides_runpath=yes
16955      ;;
16956    *,yes) # both, prefer svr4
16957      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16958      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16959      # unpreferred sharedlib libNAME.a needs extra handling
16960      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"'
16961      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"'
16962      # We do not specify a path in Import Files, so LIBPATH fires.
16963      shlibpath_overrides_runpath=yes
16964      ;;
16965    *,no) # both, prefer aix
16966      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16967      library_names_spec='$libname$release.a $libname.a'
16968      soname_spec='$libname$release$shared_ext$major'
16969      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16970      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)'
16971      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"'
16972      ;;
16973    esac
16974    shlibpath_var=LIBPATH
16975  fi
16976  ;;
16977
16978amigaos*)
16979  case $host_cpu in
16980  powerpc)
16981    # Since July 2007 AmigaOS4 officially supports .so libraries.
16982    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16983    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16984    ;;
16985  m68k)
16986    library_names_spec='$libname.ixlibrary $libname.a'
16987    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16988    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'
16989    ;;
16990  esac
16991  ;;
16992
16993beos*)
16994  library_names_spec='$libname$shared_ext'
16995  dynamic_linker="$host_os ld.so"
16996  shlibpath_var=LIBRARY_PATH
16997  ;;
16998
16999bsdi[45]*)
17000  version_type=linux # correct to gnu/linux during the next big refactor
17001  need_version=no
17002  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17003  soname_spec='$libname$release$shared_ext$major'
17004  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17005  shlibpath_var=LD_LIBRARY_PATH
17006  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17007  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17008  # the default ld.so.conf also contains /usr/contrib/lib and
17009  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17010  # libtool to hard-code these into programs
17011  ;;
17012
17013cygwin* | mingw* | pw32* | cegcc*)
17014  version_type=windows
17015  shrext_cmds=.dll
17016  need_version=no
17017  need_lib_prefix=no
17018
17019  case $GCC,$cc_basename in
17020  yes,*)
17021    # gcc
17022    library_names_spec='$libname.dll.a'
17023    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17024    postinstall_cmds='base_file=`basename \$file`~
17025      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17026      dldir=$destdir/`dirname \$dlpath`~
17027      test -d \$dldir || mkdir -p \$dldir~
17028      $install_prog $dir/$dlname \$dldir/$dlname~
17029      chmod a+x \$dldir/$dlname~
17030      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17031        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17032      fi'
17033    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17034      dlpath=$dir/\$dldll~
17035       $RM \$dlpath'
17036    shlibpath_overrides_runpath=yes
17037
17038    case $host_os in
17039    cygwin*)
17040      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17041      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17042
17043      ;;
17044    mingw* | cegcc*)
17045      # MinGW DLLs use traditional 'lib' prefix
17046      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17047      ;;
17048    pw32*)
17049      # pw32 DLLs use 'pw' prefix rather than 'lib'
17050      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17051      ;;
17052    esac
17053    dynamic_linker='Win32 ld.exe'
17054    ;;
17055
17056  *,cl*)
17057    # Native MSVC
17058    libname_spec='$name'
17059    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17060    library_names_spec='$libname.dll.lib'
17061
17062    case $build_os in
17063    mingw*)
17064      sys_lib_search_path_spec=
17065      lt_save_ifs=$IFS
17066      IFS=';'
17067      for lt_path in $LIB
17068      do
17069        IFS=$lt_save_ifs
17070        # Let DOS variable expansion print the short 8.3 style file name.
17071        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17072        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17073      done
17074      IFS=$lt_save_ifs
17075      # Convert to MSYS style.
17076      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17077      ;;
17078    cygwin*)
17079      # Convert to unix form, then to dos form, then back to unix form
17080      # but this time dos style (no spaces!) so that the unix form looks
17081      # like /cygdrive/c/PROGRA~1:/cygdr...
17082      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17083      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17084      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17085      ;;
17086    *)
17087      sys_lib_search_path_spec=$LIB
17088      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17089        # It is most probably a Windows format PATH.
17090        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17091      else
17092        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17093      fi
17094      # FIXME: find the short name or the path components, as spaces are
17095      # common. (e.g. "Program Files" -> "PROGRA~1")
17096      ;;
17097    esac
17098
17099    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17100    postinstall_cmds='base_file=`basename \$file`~
17101      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17102      dldir=$destdir/`dirname \$dlpath`~
17103      test -d \$dldir || mkdir -p \$dldir~
17104      $install_prog $dir/$dlname \$dldir/$dlname'
17105    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17106      dlpath=$dir/\$dldll~
17107       $RM \$dlpath'
17108    shlibpath_overrides_runpath=yes
17109    dynamic_linker='Win32 link.exe'
17110    ;;
17111
17112  *)
17113    # Assume MSVC wrapper
17114    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17115    dynamic_linker='Win32 ld.exe'
17116    ;;
17117  esac
17118  # FIXME: first we should search . and the directory the executable is in
17119  shlibpath_var=PATH
17120  ;;
17121
17122darwin* | rhapsody*)
17123  dynamic_linker="$host_os dyld"
17124  version_type=darwin
17125  need_lib_prefix=no
17126  need_version=no
17127  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17128  soname_spec='$libname$release$major$shared_ext'
17129  shlibpath_overrides_runpath=yes
17130  shlibpath_var=DYLD_LIBRARY_PATH
17131  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17132
17133  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17134  ;;
17135
17136dgux*)
17137  version_type=linux # correct to gnu/linux during the next big refactor
17138  need_lib_prefix=no
17139  need_version=no
17140  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17141  soname_spec='$libname$release$shared_ext$major'
17142  shlibpath_var=LD_LIBRARY_PATH
17143  ;;
17144
17145freebsd* | dragonfly*)
17146  # DragonFly does not have aout.  When/if they implement a new
17147  # versioning mechanism, adjust this.
17148  if test -x /usr/bin/objformat; then
17149    objformat=`/usr/bin/objformat`
17150  else
17151    case $host_os in
17152    freebsd[23].*) objformat=aout ;;
17153    *) objformat=elf ;;
17154    esac
17155  fi
17156  version_type=freebsd-$objformat
17157  case $version_type in
17158    freebsd-elf*)
17159      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17160      soname_spec='$libname$release$shared_ext$major'
17161      need_version=no
17162      need_lib_prefix=no
17163      ;;
17164    freebsd-*)
17165      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17166      need_version=yes
17167      ;;
17168  esac
17169  shlibpath_var=LD_LIBRARY_PATH
17170  case $host_os in
17171  freebsd2.*)
17172    shlibpath_overrides_runpath=yes
17173    ;;
17174  freebsd3.[01]* | freebsdelf3.[01]*)
17175    shlibpath_overrides_runpath=yes
17176    hardcode_into_libs=yes
17177    ;;
17178  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17179  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17180    shlibpath_overrides_runpath=no
17181    hardcode_into_libs=yes
17182    ;;
17183  *) # from 4.6 on, and DragonFly
17184    shlibpath_overrides_runpath=yes
17185    hardcode_into_libs=yes
17186    ;;
17187  esac
17188  ;;
17189
17190haiku*)
17191  version_type=linux # correct to gnu/linux during the next big refactor
17192  need_lib_prefix=no
17193  need_version=no
17194  dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
17198  shlibpath_overrides_runpath=no
17199  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17200  hardcode_into_libs=yes
17201  ;;
17202
17203hpux9* | hpux10* | hpux11*)
17204  # Give a soname corresponding to the major version so that dld.sl refuses to
17205  # link against other versions.
17206  version_type=sunos
17207  need_lib_prefix=no
17208  need_version=no
17209  case $host_cpu in
17210  ia64*)
17211    shrext_cmds='.so'
17212    hardcode_into_libs=yes
17213    dynamic_linker="$host_os dld.so"
17214    shlibpath_var=LD_LIBRARY_PATH
17215    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17216    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17217    soname_spec='$libname$release$shared_ext$major'
17218    if test 32 = "$HPUX_IA64_MODE"; then
17219      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17220      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17221    else
17222      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17223      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17224    fi
17225    ;;
17226  hppa*64*)
17227    shrext_cmds='.sl'
17228    hardcode_into_libs=yes
17229    dynamic_linker="$host_os dld.sl"
17230    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17231    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17232    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17233    soname_spec='$libname$release$shared_ext$major'
17234    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17235    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17236    ;;
17237  *)
17238    shrext_cmds='.sl'
17239    dynamic_linker="$host_os dld.sl"
17240    shlibpath_var=SHLIB_PATH
17241    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17242    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17243    soname_spec='$libname$release$shared_ext$major'
17244    ;;
17245  esac
17246  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17247  postinstall_cmds='chmod 555 $lib'
17248  # or fails outright, so override atomically:
17249  install_override_mode=555
17250  ;;
17251
17252interix[3-9]*)
17253  version_type=linux # correct to gnu/linux during the next big refactor
17254  need_lib_prefix=no
17255  need_version=no
17256  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17257  soname_spec='$libname$release$shared_ext$major'
17258  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17259  shlibpath_var=LD_LIBRARY_PATH
17260  shlibpath_overrides_runpath=no
17261  hardcode_into_libs=yes
17262  ;;
17263
17264irix5* | irix6* | nonstopux*)
17265  case $host_os in
17266    nonstopux*) version_type=nonstopux ;;
17267    *)
17268	if test yes = "$lt_cv_prog_gnu_ld"; then
17269		version_type=linux # correct to gnu/linux during the next big refactor
17270	else
17271		version_type=irix
17272	fi ;;
17273  esac
17274  need_lib_prefix=no
17275  need_version=no
17276  soname_spec='$libname$release$shared_ext$major'
17277  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17278  case $host_os in
17279  irix5* | nonstopux*)
17280    libsuff= shlibsuff=
17281    ;;
17282  *)
17283    case $LD in # libtool.m4 will add one of these switches to LD
17284    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17285      libsuff= shlibsuff= libmagic=32-bit;;
17286    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17287      libsuff=32 shlibsuff=N32 libmagic=N32;;
17288    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17289      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17290    *) libsuff= shlibsuff= libmagic=never-match;;
17291    esac
17292    ;;
17293  esac
17294  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17295  shlibpath_overrides_runpath=no
17296  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17297  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17298  hardcode_into_libs=yes
17299  ;;
17300
17301# No shared lib support for Linux oldld, aout, or coff.
17302linux*oldld* | linux*aout* | linux*coff*)
17303  dynamic_linker=no
17304  ;;
17305
17306linux*android*)
17307  version_type=none # Android doesn't support versioned libraries.
17308  need_lib_prefix=no
17309  need_version=no
17310  library_names_spec='$libname$release$shared_ext'
17311  soname_spec='$libname$release$shared_ext'
17312  finish_cmds=
17313  shlibpath_var=LD_LIBRARY_PATH
17314  shlibpath_overrides_runpath=yes
17315
17316  # This implies no fast_install, which is unacceptable.
17317  # Some rework will be needed to allow for fast_install
17318  # before this can be enabled.
17319  hardcode_into_libs=yes
17320
17321  dynamic_linker='Android linker'
17322  # Don't embed -rpath directories since the linker doesn't support them.
17323  hardcode_libdir_flag_spec_CXX='-L$libdir'
17324  ;;
17325
17326# This must be glibc/ELF.
17327linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17328  version_type=linux # correct to gnu/linux during the next big refactor
17329  need_lib_prefix=no
17330  need_version=no
17331  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17332  soname_spec='$libname$release$shared_ext$major'
17333  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17334  shlibpath_var=LD_LIBRARY_PATH
17335  shlibpath_overrides_runpath=no
17336
17337  # Some binutils ld are patched to set DT_RUNPATH
17338  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17339  $as_echo_n "(cached) " >&6
17340else
17341  lt_cv_shlibpath_overrides_runpath=no
17342    save_LDFLAGS=$LDFLAGS
17343    save_libdir=$libdir
17344    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17345	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17346    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347/* end confdefs.h.  */
17348
17349int
17350main ()
17351{
17352
17353  ;
17354  return 0;
17355}
17356_ACEOF
17357if ac_fn_cxx_try_link "$LINENO"; then :
17358  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17359  lt_cv_shlibpath_overrides_runpath=yes
17360fi
17361fi
17362rm -f core conftest.err conftest.$ac_objext \
17363    conftest$ac_exeext conftest.$ac_ext
17364    LDFLAGS=$save_LDFLAGS
17365    libdir=$save_libdir
17366
17367fi
17368
17369  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17370
17371  # This implies no fast_install, which is unacceptable.
17372  # Some rework will be needed to allow for fast_install
17373  # before this can be enabled.
17374  hardcode_into_libs=yes
17375
17376  # Ideally, we could use ldconfig to report *all* directores which are
17377  # searched for libraries, however this is still not possible.  Aside from not
17378  # being certain /sbin/ldconfig is available, command
17379  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17380  # even though it is searched at run-time.  Try to do the best guess by
17381  # appending ld.so.conf contents (and includes) to the search path.
17382  if test -f /etc/ld.so.conf; then
17383    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' ' '`
17384    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17385  fi
17386
17387  # We used to test for /lib/ld.so.1 and disable shared libraries on
17388  # powerpc, because MkLinux only supported shared libraries with the
17389  # GNU dynamic linker.  Since this was broken with cross compilers,
17390  # most powerpc-linux boxes support dynamic linking these days and
17391  # people can always --disable-shared, the test was removed, and we
17392  # assume the GNU/Linux dynamic linker is in use.
17393  dynamic_linker='GNU/Linux ld.so'
17394  ;;
17395
17396netbsdelf*-gnu)
17397  version_type=linux
17398  need_lib_prefix=no
17399  need_version=no
17400  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17401  soname_spec='${libname}${release}${shared_ext}$major'
17402  shlibpath_var=LD_LIBRARY_PATH
17403  shlibpath_overrides_runpath=no
17404  hardcode_into_libs=yes
17405  dynamic_linker='NetBSD ld.elf_so'
17406  ;;
17407
17408netbsd*)
17409  version_type=sunos
17410  need_lib_prefix=no
17411  need_version=no
17412  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17413    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17414    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17415    dynamic_linker='NetBSD (a.out) ld.so'
17416  else
17417    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17418    soname_spec='$libname$release$shared_ext$major'
17419    dynamic_linker='NetBSD ld.elf_so'
17420  fi
17421  shlibpath_var=LD_LIBRARY_PATH
17422  shlibpath_overrides_runpath=yes
17423  hardcode_into_libs=yes
17424  ;;
17425
17426newsos6)
17427  version_type=linux # correct to gnu/linux during the next big refactor
17428  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17429  shlibpath_var=LD_LIBRARY_PATH
17430  shlibpath_overrides_runpath=yes
17431  ;;
17432
17433*nto* | *qnx*)
17434  version_type=qnx
17435  need_lib_prefix=no
17436  need_version=no
17437  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17438  soname_spec='$libname$release$shared_ext$major'
17439  shlibpath_var=LD_LIBRARY_PATH
17440  shlibpath_overrides_runpath=no
17441  hardcode_into_libs=yes
17442  dynamic_linker='ldqnx.so'
17443  ;;
17444
17445openbsd* | bitrig*)
17446  version_type=sunos
17447  sys_lib_dlsearch_path_spec=/usr/lib
17448  need_lib_prefix=no
17449  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17450    need_version=no
17451  else
17452    need_version=yes
17453  fi
17454  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17455  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17456  shlibpath_var=LD_LIBRARY_PATH
17457  shlibpath_overrides_runpath=yes
17458  ;;
17459
17460os2*)
17461  libname_spec='$name'
17462  version_type=windows
17463  shrext_cmds=.dll
17464  need_version=no
17465  need_lib_prefix=no
17466  # OS/2 can only load a DLL with a base name of 8 characters or less.
17467  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17468    v=$($ECHO $release$versuffix | tr -d .-);
17469    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17470    $ECHO $n$v`$shared_ext'
17471  library_names_spec='${libname}_dll.$libext'
17472  dynamic_linker='OS/2 ld.exe'
17473  shlibpath_var=BEGINLIBPATH
17474  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17475  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17476  postinstall_cmds='base_file=`basename \$file`~
17477    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17478    dldir=$destdir/`dirname \$dlpath`~
17479    test -d \$dldir || mkdir -p \$dldir~
17480    $install_prog $dir/$dlname \$dldir/$dlname~
17481    chmod a+x \$dldir/$dlname~
17482    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17483      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17484    fi'
17485  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17486    dlpath=$dir/\$dldll~
17487    $RM \$dlpath'
17488  ;;
17489
17490osf3* | osf4* | osf5*)
17491  version_type=osf
17492  need_lib_prefix=no
17493  need_version=no
17494  soname_spec='$libname$release$shared_ext$major'
17495  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17496  shlibpath_var=LD_LIBRARY_PATH
17497  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17498  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17499  ;;
17500
17501rdos*)
17502  dynamic_linker=no
17503  ;;
17504
17505solaris*)
17506  version_type=linux # correct to gnu/linux during the next big refactor
17507  need_lib_prefix=no
17508  need_version=no
17509  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17510  soname_spec='$libname$release$shared_ext$major'
17511  shlibpath_var=LD_LIBRARY_PATH
17512  shlibpath_overrides_runpath=yes
17513  hardcode_into_libs=yes
17514  # ldd complains unless libraries are executable
17515  postinstall_cmds='chmod +x $lib'
17516  ;;
17517
17518sunos4*)
17519  version_type=sunos
17520  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17521  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17522  shlibpath_var=LD_LIBRARY_PATH
17523  shlibpath_overrides_runpath=yes
17524  if test yes = "$with_gnu_ld"; then
17525    need_lib_prefix=no
17526  fi
17527  need_version=yes
17528  ;;
17529
17530sysv4 | sysv4.3*)
17531  version_type=linux # correct to gnu/linux during the next big refactor
17532  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17533  soname_spec='$libname$release$shared_ext$major'
17534  shlibpath_var=LD_LIBRARY_PATH
17535  case $host_vendor in
17536    sni)
17537      shlibpath_overrides_runpath=no
17538      need_lib_prefix=no
17539      runpath_var=LD_RUN_PATH
17540      ;;
17541    siemens)
17542      need_lib_prefix=no
17543      ;;
17544    motorola)
17545      need_lib_prefix=no
17546      need_version=no
17547      shlibpath_overrides_runpath=no
17548      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17549      ;;
17550  esac
17551  ;;
17552
17553sysv4*MP*)
17554  if test -d /usr/nec; then
17555    version_type=linux # correct to gnu/linux during the next big refactor
17556    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17557    soname_spec='$libname$shared_ext.$major'
17558    shlibpath_var=LD_LIBRARY_PATH
17559  fi
17560  ;;
17561
17562sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17563  version_type=sco
17564  need_lib_prefix=no
17565  need_version=no
17566  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17567  soname_spec='$libname$release$shared_ext$major'
17568  shlibpath_var=LD_LIBRARY_PATH
17569  shlibpath_overrides_runpath=yes
17570  hardcode_into_libs=yes
17571  if test yes = "$with_gnu_ld"; then
17572    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17573  else
17574    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17575    case $host_os in
17576      sco3.2v5*)
17577        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17578	;;
17579    esac
17580  fi
17581  sys_lib_dlsearch_path_spec='/usr/lib'
17582  ;;
17583
17584tpf*)
17585  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17586  version_type=linux # correct to gnu/linux during the next big refactor
17587  need_lib_prefix=no
17588  need_version=no
17589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17590  shlibpath_var=LD_LIBRARY_PATH
17591  shlibpath_overrides_runpath=no
17592  hardcode_into_libs=yes
17593  ;;
17594
17595uts4*)
17596  version_type=linux # correct to gnu/linux during the next big refactor
17597  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17598  soname_spec='$libname$release$shared_ext$major'
17599  shlibpath_var=LD_LIBRARY_PATH
17600  ;;
17601
17602*)
17603  dynamic_linker=no
17604  ;;
17605esac
17606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17607$as_echo "$dynamic_linker" >&6; }
17608test no = "$dynamic_linker" && can_build_shared=no
17609
17610variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17611if test yes = "$GCC"; then
17612  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17613fi
17614
17615if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17616  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17617fi
17618
17619if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17620  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17621fi
17622
17623# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17624configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17625
17626# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17627func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17628
17629# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17630configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17672$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17673hardcode_action_CXX=
17674if test -n "$hardcode_libdir_flag_spec_CXX" ||
17675   test -n "$runpath_var_CXX" ||
17676   test yes = "$hardcode_automatic_CXX"; then
17677
17678  # We can hardcode non-existent directories.
17679  if test no != "$hardcode_direct_CXX" &&
17680     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17681     # have to relink, otherwise we might link with an installed library
17682     # when we should be linking with a yet-to-be-installed one
17683     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17684     test no != "$hardcode_minus_L_CXX"; then
17685    # Linking always hardcodes the temporary library directory.
17686    hardcode_action_CXX=relink
17687  else
17688    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17689    hardcode_action_CXX=immediate
17690  fi
17691else
17692  # We cannot hardcode anything, or else we can only hardcode existing
17693  # directories.
17694  hardcode_action_CXX=unsupported
17695fi
17696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17697$as_echo "$hardcode_action_CXX" >&6; }
17698
17699if test relink = "$hardcode_action_CXX" ||
17700   test yes = "$inherit_rpath_CXX"; then
17701  # Fast installation is not supported
17702  enable_fast_install=no
17703elif test yes = "$shlibpath_overrides_runpath" ||
17704     test no = "$enable_shared"; then
17705  # Fast installation is not necessary
17706  enable_fast_install=needless
17707fi
17708
17709
17710
17711
17712
17713
17714
17715  fi # test -n "$compiler"
17716
17717  CC=$lt_save_CC
17718  CFLAGS=$lt_save_CFLAGS
17719  LDCXX=$LD
17720  LD=$lt_save_LD
17721  GCC=$lt_save_GCC
17722  with_gnu_ld=$lt_save_with_gnu_ld
17723  lt_cv_path_LDCXX=$lt_cv_path_LD
17724  lt_cv_path_LD=$lt_save_path_LD
17725  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17726  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17727fi # test yes != "$_lt_caught_CXX_error"
17728
17729ac_ext=c
17730ac_cpp='$CPP $CPPFLAGS'
17731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17733ac_compiler_gnu=$ac_cv_c_compiler_gnu
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749        ac_config_commands="$ac_config_commands libtool"
17750
17751
17752
17753
17754# Only expand once:
17755
17756
17757
17758rm confdefs.h
17759touch confdefs.h
17760
17761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
17762$as_echo_n "checking for C compiler vendor... " >&6; }
17763if ${ax_cv_c_compiler_vendor+:} false; then :
17764  $as_echo_n "(cached) " >&6
17765else
17766    vendors="intel:     __ICC,__ECC,__INTEL_COMPILER
17767           ibm:       __xlc__,__xlC__,__IBMC__,__IBMCPP__
17768           pathscale: __PATHCC__,__PATHSCALE__
17769           clang:     __clang__
17770           gnu:       __GNUC__
17771           sun:       __SUNPRO_C,__SUNPRO_CC
17772           hp:        __HP_cc,__HP_aCC
17773           dec:       __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
17774           borland:   __BORLANDC__,__TURBOC__
17775           comeau:    __COMO__
17776           cray:      _CRAYC
17777           kai:       __KCC
17778           lcc:       __LCC__
17779           sgi:       __sgi,sgi
17780           microsoft: _MSC_VER
17781           metrowerks: __MWERKS__
17782           watcom:    __WATCOMC__
17783           portland:  __PGI
17784           unknown:   UNKNOWN"
17785  for ventest in $vendors; do
17786    case $ventest in
17787      *:) vendor=$ventest; continue ;;
17788      *)  vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
17789    esac
17790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791/* end confdefs.h.  */
17792
17793int
17794main ()
17795{
17796
17797      #if !($vencpp)
17798        thisisanerror;
17799      #endif
17800
17801  ;
17802  return 0;
17803}
17804_ACEOF
17805if ac_fn_c_try_compile "$LINENO"; then :
17806  break
17807fi
17808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809  done
17810  ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
17811
17812fi
17813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
17814$as_echo "$ax_cv_c_compiler_vendor" >&6; }
17815
17816
17817# Extract the first word of "pkg-config", so it can be a program name with args.
17818set dummy pkg-config; ac_word=$2
17819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17820$as_echo_n "checking for $ac_word... " >&6; }
17821if ${ac_cv_path_PKG_CONFIG+:} false; then :
17822  $as_echo_n "(cached) " >&6
17823else
17824  case $PKG_CONFIG in
17825  [\\/]* | ?:[\\/]*)
17826  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17827  ;;
17828  *)
17829  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17830for as_dir in $PATH
17831do
17832  IFS=$as_save_IFS
17833  test -z "$as_dir" && as_dir=.
17834    for ac_exec_ext in '' $ac_executable_extensions; do
17835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17836    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17838    break 2
17839  fi
17840done
17841  done
17842IFS=$as_save_IFS
17843
17844  ;;
17845esac
17846fi
17847PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17848if test -n "$PKG_CONFIG"; then
17849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17850$as_echo "$PKG_CONFIG" >&6; }
17851else
17852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17853$as_echo "no" >&6; }
17854fi
17855
17856
17857
17858get_version="$srcdir/build/get-version.sh"
17859version_hdr="$srcdir/build/uni_version.h"
17860plugin_version_hdr="$srcdir/libs/mrcp-engine/include/mrcp_engine_plugin.h"
17861UNI_DOTTED_VERSION="`$get_version all $version_hdr UNI`"
17862UNI_LT_VERSION="-version-info `$get_version libtool $version_hdr UNI`"
17863PLUGIN_LT_VERSION="-version-info `$get_version libtool $plugin_version_hdr PLUGIN`"
17864
17865
17866
17867
17868
17869echo "UniMRCP Version: ${UNI_DOTTED_VERSION}"
17870
17871
17872  { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime (APR) library configuration" >&5
17873$as_echo "$as_me: Apache Portable Runtime (APR) library configuration" >&6;}
17874
17875
17876  apr_found="no"
17877
17878  if test "$target_os" = "os2-emx"; then
17879    # Scripts don't pass test -x on OS/2
17880    TEST_X="test -f"
17881  else
17882    TEST_X="test -x"
17883  fi
17884
17885  acceptable_majors="1"
17886
17887  apr_temp_acceptable_apr_config=""
17888  for apr_temp_major in $acceptable_majors
17889  do
17890    case $apr_temp_major in
17891      0)
17892      apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
17893      ;;
17894      *)
17895      apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
17896      ;;
17897    esac
17898  done
17899
17900  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
17901$as_echo_n "checking for APR... " >&6; }
17902
17903# Check whether --with-apr was given.
17904if test "${with_apr+set}" = set; then :
17905  withval=$with_apr;
17906    if test "$withval" = "no" || test "$withval" = "yes"; then
17907      as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
17908    fi
17909
17910    for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
17911    do
17912      for lookdir in "$withval/bin" "$withval"
17913      do
17914        if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
17915          apr_found="yes"
17916          apr_config="$lookdir/$apr_temp_apr_config_file"
17917          break 2
17918        fi
17919      done
17920    done
17921
17922    if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
17923      apr_found="yes"
17924      apr_config="$withval"
17925    fi
17926
17927            if test "$apr_found" != "yes"; then
17928      as_fn_error $? "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
17929    fi
17930
17931else
17932
17933        if test -n "1" && test "1" = "1"; then
17934      for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
17935      do
17936        if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
17937          apr_found="yes"
17938          apr_config="$apr_temp_apr_config_file"
17939          break
17940        else
17941                    for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
17942            if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
17943              apr_found="yes"
17944              apr_config="$lookdir/bin/$apr_temp_apr_config_file"
17945              break 2
17946            fi
17947          done
17948        fi
17949      done
17950    fi
17951        if test "$apr_found" = "no" && test -d """"; then
17952      apr_temp_abs_srcdir="`cd "" && pwd`"
17953      apr_found="reconfig"
17954      apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apr_version.h\"`"
17955      case $apr_bundled_major in
17956        "")
17957          as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
17958        ;;
17959        0)
17960          apr_temp_apr_config_file="apr-config"
17961        ;;
17962        *)
17963          apr_temp_apr_config_file="apr-$apr_bundled_major-config"
17964        ;;
17965      esac
17966      if test -n """"; then
17967        apr_config="""/$apr_temp_apr_config_file"
17968      else
17969        apr_config="""/$apr_temp_apr_config_file"
17970      fi
17971    fi
17972
17973fi
17974
17975
17976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
17977$as_echo "$apr_found" >&6; }
17978
17979
17980  if test $apr_found = "no"; then
17981    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR not found" >&5
17982$as_echo "$as_me: WARNING: APR not found" >&2;}
17983
17984  echo "The Apache Portable Runtime (APR) library cannot be found."
17985  echo "Please install APR on this system and supply the appropriate"
17986  echo "--with-apr option to 'configure'"
17987  as_fn_error $? "no suitable APR found" "$LINENO" 5
17988
17989  fi
17990
17991  if test $apr_found = "reconfig"; then
17992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR reconfig" >&5
17993$as_echo "$as_me: WARNING: APR reconfig" >&2;}
17994  fi
17995
17996    apr_version="`$apr_config --version`"
17997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_version" >&5
17998$as_echo "$apr_version" >&6; }
17999
18000
18001  if test "x$CPPFLAGS" = "x"; then
18002    test "x$silent" != "xyes" && echo "  setting CPPFLAGS to \"`$apr_config --cppflags`\""
18003    CPPFLAGS="`$apr_config --cppflags`"
18004  else
18005    apr_addto_bugger="`$apr_config --cppflags`"
18006    for i in $apr_addto_bugger; do
18007      apr_addto_duplicate="0"
18008      for j in $CPPFLAGS; do
18009        if test "x$i" = "x$j"; then
18010          apr_addto_duplicate="1"
18011          break
18012        fi
18013      done
18014      if test $apr_addto_duplicate = "0"; then
18015        test "x$silent" != "xyes" && echo "  adding \"$i\" to CPPFLAGS"
18016        CPPFLAGS="$CPPFLAGS $i"
18017      fi
18018    done
18019  fi
18020
18021
18022  if test "x$CFLAGS" = "x"; then
18023    test "x$silent" != "xyes" && echo "  setting CFLAGS to \"`$apr_config --cflags`\""
18024    CFLAGS="`$apr_config --cflags`"
18025  else
18026    apr_addto_bugger="`$apr_config --cflags`"
18027    for i in $apr_addto_bugger; do
18028      apr_addto_duplicate="0"
18029      for j in $CFLAGS; do
18030        if test "x$i" = "x$j"; then
18031          apr_addto_duplicate="1"
18032          break
18033        fi
18034      done
18035      if test $apr_addto_duplicate = "0"; then
18036        test "x$silent" != "xyes" && echo "  adding \"$i\" to CFLAGS"
18037        CFLAGS="$CFLAGS $i"
18038      fi
18039    done
18040  fi
18041
18042
18043  if test "x$LDFLAGS" = "x"; then
18044    test "x$silent" != "xyes" && echo "  setting LDFLAGS to \"`$apr_config --ldflags`\""
18045    LDFLAGS="`$apr_config --ldflags`"
18046  else
18047    apr_addto_bugger="`$apr_config --ldflags`"
18048    for i in $apr_addto_bugger; do
18049      apr_addto_duplicate="0"
18050      for j in $LDFLAGS; do
18051        if test "x$i" = "x$j"; then
18052          apr_addto_duplicate="1"
18053          break
18054        fi
18055      done
18056      if test $apr_addto_duplicate = "0"; then
18057        test "x$silent" != "xyes" && echo "  adding \"$i\" to LDFLAGS"
18058        LDFLAGS="$LDFLAGS $i"
18059      fi
18060    done
18061  fi
18062
18063
18064
18065  if test "x$UNIMRCP_APR_INCLUDES" = "x"; then
18066    test "x$silent" != "xyes" && echo "  setting UNIMRCP_APR_INCLUDES to \"`$apr_config --includes`\""
18067    UNIMRCP_APR_INCLUDES="`$apr_config --includes`"
18068  else
18069    apr_addto_bugger="`$apr_config --includes`"
18070    for i in $apr_addto_bugger; do
18071      apr_addto_duplicate="0"
18072      for j in $UNIMRCP_APR_INCLUDES; do
18073        if test "x$i" = "x$j"; then
18074          apr_addto_duplicate="1"
18075          break
18076        fi
18077      done
18078      if test $apr_addto_duplicate = "0"; then
18079        test "x$silent" != "xyes" && echo "  adding \"$i\" to UNIMRCP_APR_INCLUDES"
18080        UNIMRCP_APR_INCLUDES="$UNIMRCP_APR_INCLUDES $i"
18081      fi
18082    done
18083  fi
18084
18085
18086  if test "x$UNIMRCP_APR_LIBS" = "x"; then
18087    test "x$silent" != "xyes" && echo "  setting UNIMRCP_APR_LIBS to \"`$apr_config --link-ld`\""
18088    UNIMRCP_APR_LIBS="`$apr_config --link-ld`"
18089  else
18090    apr_addto_bugger="`$apr_config --link-ld`"
18091    for i in $apr_addto_bugger; do
18092      apr_addto_duplicate="0"
18093      for j in $UNIMRCP_APR_LIBS; do
18094        if test "x$i" = "x$j"; then
18095          apr_addto_duplicate="1"
18096          break
18097        fi
18098      done
18099      if test $apr_addto_duplicate = "0"; then
18100        test "x$silent" != "xyes" && echo "  adding \"$i\" to UNIMRCP_APR_LIBS"
18101        UNIMRCP_APR_LIBS="$UNIMRCP_APR_LIBS $i"
18102      fi
18103    done
18104  fi
18105
18106
18107  { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime Utility (APU) library configuration" >&5
18108$as_echo "$as_me: Apache Portable Runtime Utility (APU) library configuration" >&6;}
18109
18110
18111  apu_found="no"
18112
18113  if test "$target_os" = "os2-emx"; then
18114    # Scripts don't pass test -x on OS/2
18115    TEST_X="test -f"
18116  else
18117    TEST_X="test -x"
18118  fi
18119
18120  acceptable_majors="1"
18121
18122  apu_temp_acceptable_apu_config=""
18123  for apu_temp_major in $acceptable_majors
18124  do
18125    case $apu_temp_major in
18126      0)
18127      apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
18128      ;;
18129      *)
18130      apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
18131      ;;
18132    esac
18133  done
18134
18135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR-util" >&5
18136$as_echo_n "checking for APR-util... " >&6; }
18137
18138# Check whether --with-apr-util was given.
18139if test "${with_apr_util+set}" = set; then :
18140  withval=$with_apr_util;
18141    if test "$withval" = "no" || test "$withval" = "yes"; then
18142      as_fn_error $? "--with-apr-util requires a directory or file to be provided" "$LINENO" 5
18143    fi
18144
18145    for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
18146    do
18147      for lookdir in "$withval/bin" "$withval"
18148      do
18149        if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
18150          apu_found="yes"
18151          apu_config="$lookdir/$apu_temp_apu_config_file"
18152          break 2
18153        fi
18154      done
18155    done
18156
18157    if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
18158      apu_found="yes"
18159      apu_config="$withval"
18160    fi
18161
18162            if test "$apu_found" != "yes"; then
18163      as_fn_error $? "the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file." "$LINENO" 5
18164    fi
18165
18166else
18167
18168    if test -n "1" && test "1" = "1"; then
18169      for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
18170      do
18171        if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
18172          apu_found="yes"
18173          apu_config="$apu_temp_apu_config_file"
18174          break
18175        else
18176                    for lookdir in /usr /usr/local /usr/local/apr /opt/apr /usr/local/apache2 ; do
18177            if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
18178              apu_found="yes"
18179              apu_config="$lookdir/bin/$apu_temp_apu_config_file"
18180              break 2
18181            fi
18182          done
18183        fi
18184      done
18185    fi
18186        if test "$apu_found" = "no" && test -d """"; then
18187      apu_temp_abs_srcdir="`cd "" && pwd`"
18188      apu_found="reconfig"
18189      apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apu_version.h\"`"
18190      case $apu_bundled_major in
18191        "")
18192          as_fn_error $? "failed to find major version of bundled APU" "$LINENO" 5
18193        ;;
18194        0)
18195          apu_temp_apu_config_file="apu-config"
18196        ;;
18197        *)
18198          apu_temp_apu_config_file="apu-$apu_bundled_major-config"
18199        ;;
18200      esac
18201      if test -n """"; then
18202        apu_config="""/$apu_temp_apu_config_file"
18203      else
18204        apu_config="""/$apu_temp_apu_config_file"
18205      fi
18206    fi
18207
18208fi
18209
18210
18211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_found" >&5
18212$as_echo "$apu_found" >&6; }
18213
18214
18215  if test $apu_found = "no"; then
18216    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APU not found" >&5
18217$as_echo "$as_me: WARNING: APU not found" >&2;}
18218
18219  echo "The Apache Portable Runtime Utility (APU) library cannot be found."
18220  echo "Please install APRUTIL on this system and supply the appropriate"
18221  echo "--with-apr-util option to 'configure'"
18222  as_fn_error $? "no suitable APU found" "$LINENO" 5
18223
18224  fi
18225
18226  if test $apu_found = "reconfig"; then
18227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APU reconfig" >&5
18228$as_echo "$as_me: WARNING: APU reconfig" >&2;}
18229  fi
18230
18231    apu_version="`$apu_config --version`"
18232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_version" >&5
18233$as_echo "$apu_version" >&6; }
18234
18235
18236  if test "x$LDFLAGS" = "x"; then
18237    test "x$silent" != "xyes" && echo "  setting LDFLAGS to \"`$apu_config --ldflags`\""
18238    LDFLAGS="`$apu_config --ldflags`"
18239  else
18240    apr_addto_bugger="`$apu_config --ldflags`"
18241    for i in $apr_addto_bugger; do
18242      apr_addto_duplicate="0"
18243      for j in $LDFLAGS; do
18244        if test "x$i" = "x$j"; then
18245          apr_addto_duplicate="1"
18246          break
18247        fi
18248      done
18249      if test $apr_addto_duplicate = "0"; then
18250        test "x$silent" != "xyes" && echo "  adding \"$i\" to LDFLAGS"
18251        LDFLAGS="$LDFLAGS $i"
18252      fi
18253    done
18254  fi
18255
18256
18257
18258  if test "x$UNIMRCP_APR_INCLUDES" = "x"; then
18259    test "x$silent" != "xyes" && echo "  setting UNIMRCP_APR_INCLUDES to \"`$apu_config --includes`\""
18260    UNIMRCP_APR_INCLUDES="`$apu_config --includes`"
18261  else
18262    apr_addto_bugger="`$apu_config --includes`"
18263    for i in $apr_addto_bugger; do
18264      apr_addto_duplicate="0"
18265      for j in $UNIMRCP_APR_INCLUDES; do
18266        if test "x$i" = "x$j"; then
18267          apr_addto_duplicate="1"
18268          break
18269        fi
18270      done
18271      if test $apr_addto_duplicate = "0"; then
18272        test "x$silent" != "xyes" && echo "  adding \"$i\" to UNIMRCP_APR_INCLUDES"
18273        UNIMRCP_APR_INCLUDES="$UNIMRCP_APR_INCLUDES $i"
18274      fi
18275    done
18276  fi
18277
18278
18279  if test "x$UNIMRCP_APR_LIBS" = "x"; then
18280    test "x$silent" != "xyes" && echo "  setting UNIMRCP_APR_LIBS to \"`$apu_config --link-ld`\""
18281    UNIMRCP_APR_LIBS="`$apu_config --link-ld`"
18282  else
18283    apr_addto_bugger="`$apu_config --link-ld`"
18284    for i in $apr_addto_bugger; do
18285      apr_addto_duplicate="0"
18286      for j in $UNIMRCP_APR_LIBS; do
18287        if test "x$i" = "x$j"; then
18288          apr_addto_duplicate="1"
18289          break
18290        fi
18291      done
18292      if test $apr_addto_duplicate = "0"; then
18293        test "x$silent" != "xyes" && echo "  adding \"$i\" to UNIMRCP_APR_LIBS"
18294        UNIMRCP_APR_LIBS="$UNIMRCP_APR_LIBS $i"
18295      fi
18296    done
18297  fi
18298
18299
18300
18301
18302
18303
18304    { $as_echo "$as_me:${as_lineno-$LINENO}: Sofia SIP library configuration" >&5
18305$as_echo "$as_me: Sofia SIP library configuration" >&6;}
18306
18307    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sofia-SIP" >&5
18308$as_echo_n "checking for Sofia-SIP... " >&6; }
18309
18310# Check whether --with-sofia-sip was given.
18311if test "${with_sofia_sip+set}" = set; then :
18312  withval=$with_sofia_sip; sofia_path=$withval
18313else
18314  sofia_path="/usr/local"
18315
18316fi
18317
18318
18319    found_sofia="no"
18320
18321    if test -n "$PKG_CONFIG"; then
18322                for dir in $sofia_path ; do
18323            sofia_config_path=$dir/lib/pkgconfig/sofia-sip-ua.pc
18324            if test -f "$sofia_config_path" && $PKG_CONFIG $sofia_config_path > /dev/null 2>&1; then
18325                found_sofia="yes"
18326                break
18327            fi
18328        done
18329
18330                if test "$found_sofia" != "yes" && test -f "$sofia_path" && $PKG_CONFIG $sofia_path > /dev/null 2>&1 ; then
18331            found_sofia="yes"
18332            sofia_config_path=$sofia_path
18333        fi
18334
18335        if test "$found_sofia" = "yes" ; then
18336            UNIMRCP_SOFIA_INCLUDES="`$PKG_CONFIG --cflags $sofia_config_path`"
18337            UNIMRCP_SOFIA_LIBS="`$PKG_CONFIG --libs $sofia_config_path`"
18338            sofia_version="`$PKG_CONFIG --modversion $sofia_config_path`"
18339        fi
18340    fi
18341
18342    if test "$found_sofia" != "yes" ; then
18343                for dir in $sofia_path ; do
18344            sofia_uadir="$dir/libsofia-sip-ua"
18345            if test -d "$sofia_uadir"; then
18346                found_sofia="yes"
18347                sofia_abs_uadir="`cd $sofia_uadir && pwd`"
18348                UNIMRCP_SOFIA_INCLUDES="-I$sofia_abs_uadir -I$sofia_abs_uadir/bnf -I$sofia_abs_uadir/features -I$sofia_abs_uadir/http -I$sofia_abs_uadir/ipt -I$sofia_abs_uadir/iptsec -I$sofia_abs_uadir/msg -I$sofia_abs_uadir/nea -I$sofia_abs_uadir/nta -I$sofia_abs_uadir/nth -I$sofia_abs_uadir/nua -I$sofia_abs_uadir/sdp -I$sofia_abs_uadir/sip -I$sofia_abs_uadir/soa -I$sofia_abs_uadir/sresolv -I$sofia_abs_uadir/stun -I$sofia_abs_uadir/su -I$sofia_abs_uadir/tport -I$sofia_abs_uadir/url"
18349                UNIMRCP_SOFIA_LIBS="$sofia_abs_uadir/libsofia-sip-ua.la"
18350                sofia_version="`sed -n 's/#define SOFIA_SIP_VERSION.* "\(.*\)"/\1/p' $sofia_uadir/features/sofia-sip/sofia_features.h`"
18351                break
18352            fi
18353        done
18354    fi
18355
18356    if test $found_sofia != "yes" ; then
18357        if test -n "$PKG_CONFIG"; then
18358            as_fn_error $? "Cannot find Sofia-SIP - looked for sofia-config and libsofia-sip-ua in $sofia_path" "$LINENO" 5
18359        else
18360            as_fn_error looked for libsofia-sip-ua in $sofia_path "Cannot find Sofia-SIP - pkg-config not available" "$LINENO" 5
18361        fi
18362    else
18363        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_sofia" >&5
18364$as_echo "$found_sofia" >&6; }
18365        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sofia_version" >&5
18366$as_echo "$sofia_version" >&6; }
18367
18368case "$host" in
18369    *darwin*)
18370        UNIMRCP_SOFIA_LIBS="$UNIMRCP_SOFIA_LIBS -framework CoreFoundation -framework SystemConfiguration"
18371        ;;
18372esac
18373
18374
18375
18376    fi
18377
18378
18379# Check whether --enable-interlib-deps was given.
18380if test "${enable_interlib_deps+set}" = set; then :
18381  enableval=$enable_interlib_deps; enable_interlib_deps="$enableval"
18382else
18383  enable_interlib_deps="yes"
18384fi
18385
18386
18387{ $as_echo "$as_me:${as_lineno-$LINENO}: enable inter-library dependencies: $enable_interlib_deps" >&5
18388$as_echo "$as_me: enable inter-library dependencies: $enable_interlib_deps" >&6;}
18389if test "${enable_interlib_deps}" = "yes"; then
18390    link_all_deplibs=yes
18391    link_all_deplibs_CXX=yes
18392else
18393    link_all_deplibs=no
18394    link_all_deplibs_CXX=no
18395fi
18396
18397# Check whether --enable-maintainer-mode was given.
18398if test "${enable_maintainer_mode+set}" = set; then :
18399  enableval=$enable_maintainer_mode; enable_maintainer_mode="$enableval"
18400else
18401  enable_maintainer_mode="no"
18402fi
18403
18404
18405{ $as_echo "$as_me:${as_lineno-$LINENO}: enable maintainer mode: $enable_maintainer_mode" >&5
18406$as_echo "$as_me: enable maintainer mode: $enable_maintainer_mode" >&6;}
18407if test "${enable_maintainer_mode}" != "no"; then
18408
18409  if test "x$CFLAGS" = "x"; then
18410    test "x$silent" != "xyes" && echo "  setting CFLAGS to \"-g\""
18411    CFLAGS="-g"
18412  else
18413    apr_addto_bugger="-g"
18414    for i in $apr_addto_bugger; do
18415      apr_addto_duplicate="0"
18416      for j in $CFLAGS; do
18417        if test "x$i" = "x$j"; then
18418          apr_addto_duplicate="1"
18419          break
18420        fi
18421      done
18422      if test $apr_addto_duplicate = "0"; then
18423        test "x$silent" != "xyes" && echo "  adding \"$i\" to CFLAGS"
18424        CFLAGS="$CFLAGS $i"
18425      fi
18426    done
18427  fi
18428
18429    if test "x${ax_cv_c_compiler_vendor}"  =  "xgnu" ; then
18430
18431  if test "x$CFLAGS" = "x"; then
18432    test "x$silent" != "xyes" && echo "  setting CFLAGS to \"-Wall -Werror\""
18433    CFLAGS="-Wall -Werror"
18434  else
18435    apr_addto_bugger="-Wall -Werror"
18436    for i in $apr_addto_bugger; do
18437      apr_addto_duplicate="0"
18438      for j in $CFLAGS; do
18439        if test "x$i" = "x$j"; then
18440          apr_addto_duplicate="1"
18441          break
18442        fi
18443      done
18444      if test $apr_addto_duplicate = "0"; then
18445        test "x$silent" != "xyes" && echo "  adding \"$i\" to CFLAGS"
18446        CFLAGS="$CFLAGS $i"
18447      fi
18448    done
18449  fi
18450
18451    fi
18452fi
18453
18454# Check whether --enable-client-lib was given.
18455if test "${enable_client_lib+set}" = set; then :
18456  enableval=$enable_client_lib; enable_client_lib="$enableval"
18457else
18458  enable_client_lib="yes"
18459fi
18460
18461
18462 if test "${enable_client_lib}" = "yes"; then
18463  UNIMRCP_CLIENT_LIB_TRUE=
18464  UNIMRCP_CLIENT_LIB_FALSE='#'
18465else
18466  UNIMRCP_CLIENT_LIB_TRUE='#'
18467  UNIMRCP_CLIENT_LIB_FALSE=
18468fi
18469
18470
18471# Check whether --enable-client-app was given.
18472if test "${enable_client_app+set}" = set; then :
18473  enableval=$enable_client_app; enable_client_app="$enableval"
18474else
18475  enable_client_app="yes"
18476fi
18477
18478
18479 if test "${enable_client_lib}" = "yes" && test "${enable_client_app}" = "yes"; then
18480  UNIMRCP_CLIENT_APP_TRUE=
18481  UNIMRCP_CLIENT_APP_FALSE='#'
18482else
18483  UNIMRCP_CLIENT_APP_TRUE='#'
18484  UNIMRCP_CLIENT_APP_FALSE=
18485fi
18486
18487
18488# Check whether --enable-umc was given.
18489if test "${enable_umc+set}" = set; then :
18490  enableval=$enable_umc; enable_umc="$enableval"
18491else
18492  enable_umc="yes"
18493fi
18494
18495
18496 if test "${enable_client_lib}" = "yes" && test "${enable_umc}" = "yes"; then
18497  UMC_TRUE=
18498  UMC_FALSE='#'
18499else
18500  UMC_TRUE='#'
18501  UMC_FALSE=
18502fi
18503
18504
18505# Check whether --enable-asr-client was given.
18506if test "${enable_asr_client+set}" = set; then :
18507  enableval=$enable_asr_client; enable_asr_client="$enableval"
18508else
18509  enable_asr_client="yes"
18510fi
18511
18512
18513 if test "${enable_client_lib}" = "yes" && test "${enable_asr_client}" = "yes"; then
18514  ASR_CLIENT_TRUE=
18515  ASR_CLIENT_FALSE='#'
18516else
18517  ASR_CLIENT_TRUE='#'
18518  ASR_CLIENT_FALSE=
18519fi
18520
18521
18522 if test "${enable_client_app}" = "yes" || test "${enable_umc}" = "yes" ||test "${enable_asr_client}" = "yes"; then
18523  COMMON_CLIENT_DATA_TRUE=
18524  COMMON_CLIENT_DATA_FALSE='#'
18525else
18526  COMMON_CLIENT_DATA_TRUE='#'
18527  COMMON_CLIENT_DATA_FALSE=
18528fi
18529
18530
18531# Check whether --enable-server-lib was given.
18532if test "${enable_server_lib+set}" = set; then :
18533  enableval=$enable_server_lib; enable_server_lib="$enableval"
18534else
18535  enable_server_lib="yes"
18536fi
18537
18538
18539 if test "${enable_server_lib}" = "yes"; then
18540  UNIMRCP_SERVER_LIB_TRUE=
18541  UNIMRCP_SERVER_LIB_FALSE='#'
18542else
18543  UNIMRCP_SERVER_LIB_TRUE='#'
18544  UNIMRCP_SERVER_LIB_FALSE=
18545fi
18546
18547
18548# Check whether --enable-server-app was given.
18549if test "${enable_server_app+set}" = set; then :
18550  enableval=$enable_server_app; enable_server_app="$enableval"
18551else
18552  enable_server_app="yes"
18553fi
18554
18555
18556 if test "${enable_server_lib}" = "yes" && test "${enable_server_app}" = "yes"; then
18557  UNIMRCP_SERVER_APP_TRUE=
18558  UNIMRCP_SERVER_APP_FALSE='#'
18559else
18560  UNIMRCP_SERVER_APP_TRUE='#'
18561  UNIMRCP_SERVER_APP_FALSE=
18562fi
18563
18564
18565
18566    # Check whether --enable-demosynth-plugin was given.
18567if test "${enable_demosynth_plugin+set}" = set; then :
18568  enableval=$enable_demosynth_plugin; enable_demosynth_plugin="$enableval"
18569else
18570  enable_demosynth_plugin="yes"
18571fi
18572
18573
18574
18575 if test "${enable_demosynth_plugin}" = "yes"; then
18576  DEMOSYNTH_PLUGIN_TRUE=
18577  DEMOSYNTH_PLUGIN_FALSE='#'
18578else
18579  DEMOSYNTH_PLUGIN_TRUE='#'
18580  DEMOSYNTH_PLUGIN_FALSE=
18581fi
18582
18583
18584
18585    # Check whether --enable-demorecog-plugin was given.
18586if test "${enable_demorecog_plugin+set}" = set; then :
18587  enableval=$enable_demorecog_plugin; enable_demorecog_plugin="$enableval"
18588else
18589  enable_demorecog_plugin="yes"
18590fi
18591
18592
18593
18594 if test "${enable_demorecog_plugin}" = "yes"; then
18595  DEMORECOG_PLUGIN_TRUE=
18596  DEMORECOG_PLUGIN_FALSE='#'
18597else
18598  DEMORECOG_PLUGIN_TRUE='#'
18599  DEMORECOG_PLUGIN_FALSE=
18600fi
18601
18602
18603
18604    # Check whether --enable-demoverifier-plugin was given.
18605if test "${enable_demoverifier_plugin+set}" = set; then :
18606  enableval=$enable_demoverifier_plugin; enable_demoverifier_plugin="$enableval"
18607else
18608  enable_demoverifier_plugin="yes"
18609fi
18610
18611
18612
18613 if test "${enable_demoverifier_plugin}" = "yes"; then
18614  DEMOVERIFIER_PLUGIN_TRUE=
18615  DEMOVERIFIER_PLUGIN_FALSE='#'
18616else
18617  DEMOVERIFIER_PLUGIN_TRUE='#'
18618  DEMOVERIFIER_PLUGIN_FALSE=
18619fi
18620
18621
18622
18623    # Check whether --enable-recorder-plugin was given.
18624if test "${enable_recorder_plugin+set}" = set; then :
18625  enableval=$enable_recorder_plugin; enable_recorder_plugin="$enableval"
18626else
18627  enable_recorder_plugin="yes"
18628fi
18629
18630
18631
18632 if test "${enable_recorder_plugin}" = "yes"; then
18633  RECORDER_PLUGIN_TRUE=
18634  RECORDER_PLUGIN_FALSE='#'
18635else
18636  RECORDER_PLUGIN_TRUE='#'
18637  RECORDER_PLUGIN_FALSE=
18638fi
18639
18640
18641# Check whether --enable-test-suites was given.
18642if test "${enable_test_suites+set}" = set; then :
18643  enableval=$enable_test_suites; enable_test_suites="$enableval"
18644else
18645  enable_test_suites="no"
18646fi
18647
18648
18649#  Enable clang address sanitizer bit build
18650# Check whether --enable-address_sanitizer was given.
18651if test "${enable_address_sanitizer+set}" = set; then :
18652  enableval=$enable_address_sanitizer; enable_address_sanitizer="$enable_address_sanitizer"
18653else
18654  enable_address_sanitizer="no"
18655fi
18656
18657
18658if test "${enable_address_sanitizer}" = "yes"; then
18659
18660  if test "x$CFLAGS" = "x"; then
18661    test "x$silent" != "xyes" && echo "  setting CFLAGS to \"-fsanitize=address -fno-omit-frame-pointer\""
18662    CFLAGS="-fsanitize=address -fno-omit-frame-pointer"
18663  else
18664    apr_addto_bugger="-fsanitize=address -fno-omit-frame-pointer"
18665    for i in $apr_addto_bugger; do
18666      apr_addto_duplicate="0"
18667      for j in $CFLAGS; do
18668        if test "x$i" = "x$j"; then
18669          apr_addto_duplicate="1"
18670          break
18671        fi
18672      done
18673      if test $apr_addto_duplicate = "0"; then
18674        test "x$silent" != "xyes" && echo "  adding \"$i\" to CFLAGS"
18675        CFLAGS="$CFLAGS $i"
18676      fi
18677    done
18678  fi
18679
18680
18681  if test "x$CXXFLAGS" = "x"; then
18682    test "x$silent" != "xyes" && echo "  setting CXXFLAGS to \"-fsanitize=address -fno-omit-frame-pointer\""
18683    CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer"
18684  else
18685    apr_addto_bugger="-fsanitize=address -fno-omit-frame-pointer"
18686    for i in $apr_addto_bugger; do
18687      apr_addto_duplicate="0"
18688      for j in $CXXFLAGS; do
18689        if test "x$i" = "x$j"; then
18690          apr_addto_duplicate="1"
18691          break
18692        fi
18693      done
18694      if test $apr_addto_duplicate = "0"; then
18695        test "x$silent" != "xyes" && echo "  adding \"$i\" to CXXFLAGS"
18696        CXXFLAGS="$CXXFLAGS $i"
18697      fi
18698    done
18699  fi
18700
18701
18702  if test "x$LDFLAGS" = "x"; then
18703    test "x$silent" != "xyes" && echo "  setting LDFLAGS to \"-fsanitize=address\""
18704    LDFLAGS="-fsanitize=address"
18705  else
18706    apr_addto_bugger="-fsanitize=address"
18707    for i in $apr_addto_bugger; do
18708      apr_addto_duplicate="0"
18709      for j in $LDFLAGS; do
18710        if test "x$i" = "x$j"; then
18711          apr_addto_duplicate="1"
18712          break
18713        fi
18714      done
18715      if test $apr_addto_duplicate = "0"; then
18716        test "x$silent" != "xyes" && echo "  adding \"$i\" to LDFLAGS"
18717        LDFLAGS="$LDFLAGS $i"
18718      fi
18719    done
18720  fi
18721
18722fi
18723
18724 if test "${enable_test_suites}" != "no"; then
18725  TEST_SUITES_TRUE=
18726  TEST_SUITES_FALSE='#'
18727else
18728  TEST_SUITES_TRUE='#'
18729  TEST_SUITES_FALSE=
18730fi
18731
18732
18733 if test `uname -s` = Darwin; then
18734  ISMAC_TRUE=
18735  ISMAC_FALSE='#'
18736else
18737  ISMAC_TRUE='#'
18738  ISMAC_FALSE=
18739fi
18740
18741
18742ac_config_files="$ac_config_files Makefile libs/Makefile libs/apr-toolkit/Makefile libs/mpf/Makefile libs/mrcp/Makefile libs/mrcp-signaling/Makefile libs/mrcpv2-transport/Makefile libs/mrcp-engine/Makefile libs/mrcp-server/Makefile libs/mrcp-client/Makefile libs/uni-rtsp/Makefile modules/Makefile modules/mrcp-sofiasip/Makefile modules/mrcp-unirtsp/Makefile plugins/Makefile plugins/mrcp-recorder/Makefile plugins/demo-synth/Makefile plugins/demo-recog/Makefile plugins/demo-verifier/Makefile platforms/Makefile platforms/libunimrcp-server/Makefile platforms/libunimrcp-client/Makefile platforms/unimrcp-server/Makefile platforms/unimrcp-client/Makefile platforms/libasr-client/Makefile platforms/asr-client/Makefile platforms/umc/Makefile tests/Makefile tests/apttest/Makefile tests/mpftest/Makefile tests/mrcptest/Makefile tests/rtsptest/Makefile tests/strtablegen/Makefile build/Makefile build/pkgconfig/Makefile build/pkgconfig/unimrcpclient.pc build/pkgconfig/unimrcpserver.pc build/pkgconfig/unimrcpplugin.pc conf/Makefile data/Makefile docs/doxygen.conf"
18743
18744
18745cat >confcache <<\_ACEOF
18746# This file is a shell script that caches the results of configure
18747# tests run on this system so they can be shared between configure
18748# scripts and configure runs, see configure's option --config-cache.
18749# It is not useful on other systems.  If it contains results you don't
18750# want to keep, you may remove or edit it.
18751#
18752# config.status only pays attention to the cache file if you give it
18753# the --recheck option to rerun configure.
18754#
18755# `ac_cv_env_foo' variables (set or unset) will be overridden when
18756# loading this file, other *unset* `ac_cv_foo' will be assigned the
18757# following values.
18758
18759_ACEOF
18760
18761# The following way of writing the cache mishandles newlines in values,
18762# but we know of no workaround that is simple, portable, and efficient.
18763# So, we kill variables containing newlines.
18764# Ultrix sh set writes to stderr and can't be redirected directly,
18765# and sets the high bit in the cache file unless we assign to the vars.
18766(
18767  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18768    eval ac_val=\$$ac_var
18769    case $ac_val in #(
18770    *${as_nl}*)
18771      case $ac_var in #(
18772      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18773$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18774      esac
18775      case $ac_var in #(
18776      _ | IFS | as_nl) ;; #(
18777      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18778      *) { eval $ac_var=; unset $ac_var;} ;;
18779      esac ;;
18780    esac
18781  done
18782
18783  (set) 2>&1 |
18784    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18785    *${as_nl}ac_space=\ *)
18786      # `set' does not quote correctly, so add quotes: double-quote
18787      # substitution turns \\\\ into \\, and sed turns \\ into \.
18788      sed -n \
18789	"s/'/'\\\\''/g;
18790	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18791      ;; #(
18792    *)
18793      # `set' quotes correctly as required by POSIX, so do not add quotes.
18794      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18795      ;;
18796    esac |
18797    sort
18798) |
18799  sed '
18800     /^ac_cv_env_/b end
18801     t clear
18802     :clear
18803     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18804     t end
18805     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18806     :end' >>confcache
18807if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18808  if test -w "$cache_file"; then
18809    if test "x$cache_file" != "x/dev/null"; then
18810      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18811$as_echo "$as_me: updating cache $cache_file" >&6;}
18812      if test ! -f "$cache_file" || test -h "$cache_file"; then
18813	cat confcache >"$cache_file"
18814      else
18815        case $cache_file in #(
18816        */* | ?:*)
18817	  mv -f confcache "$cache_file"$$ &&
18818	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18819        *)
18820	  mv -f confcache "$cache_file" ;;
18821	esac
18822      fi
18823    fi
18824  else
18825    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18826$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18827  fi
18828fi
18829rm -f confcache
18830
18831test "x$prefix" = xNONE && prefix=$ac_default_prefix
18832# Let make expand exec_prefix.
18833test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18834
18835# Transform confdefs.h into DEFS.
18836# Protect against shell expansion while executing Makefile rules.
18837# Protect against Makefile macro expansion.
18838#
18839# If the first sed substitution is executed (which looks for macros that
18840# take arguments), then branch to the quote section.  Otherwise,
18841# look for a macro that doesn't take arguments.
18842ac_script='
18843:mline
18844/\\$/{
18845 N
18846 s,\\\n,,
18847 b mline
18848}
18849t clear
18850:clear
18851s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
18852t quote
18853s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
18854t quote
18855b any
18856:quote
18857s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
18858s/\[/\\&/g
18859s/\]/\\&/g
18860s/\$/$$/g
18861H
18862:any
18863${
18864	g
18865	s/^\n//
18866	s/\n/ /g
18867	p
18868}
18869'
18870DEFS=`sed -n "$ac_script" confdefs.h`
18871
18872
18873ac_libobjs=
18874ac_ltlibobjs=
18875U=
18876for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18877  # 1. Remove the extension, and $U if already installed.
18878  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18879  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18880  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18881  #    will be set to the directory where LIBOBJS objects are built.
18882  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18883  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18884done
18885LIBOBJS=$ac_libobjs
18886
18887LTLIBOBJS=$ac_ltlibobjs
18888
18889
18890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18891$as_echo_n "checking that generated files are newer than configure... " >&6; }
18892   if test -n "$am_sleep_pid"; then
18893     # Hide warnings about reused PIDs.
18894     wait $am_sleep_pid 2>/dev/null
18895   fi
18896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18897$as_echo "done" >&6; }
18898 if test -n "$EXEEXT"; then
18899  am__EXEEXT_TRUE=
18900  am__EXEEXT_FALSE='#'
18901else
18902  am__EXEEXT_TRUE='#'
18903  am__EXEEXT_FALSE=
18904fi
18905
18906if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18907  as_fn_error $? "conditional \"AMDEP\" was never defined.
18908Usually this means the macro was only invoked conditionally." "$LINENO" 5
18909fi
18910if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18911  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18912Usually this means the macro was only invoked conditionally." "$LINENO" 5
18913fi
18914if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18915  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18916Usually this means the macro was only invoked conditionally." "$LINENO" 5
18917fi
18918if test -z "${UNIMRCP_CLIENT_LIB_TRUE}" && test -z "${UNIMRCP_CLIENT_LIB_FALSE}"; then
18919  as_fn_error $? "conditional \"UNIMRCP_CLIENT_LIB\" was never defined.
18920Usually this means the macro was only invoked conditionally." "$LINENO" 5
18921fi
18922if test -z "${UNIMRCP_CLIENT_APP_TRUE}" && test -z "${UNIMRCP_CLIENT_APP_FALSE}"; then
18923  as_fn_error $? "conditional \"UNIMRCP_CLIENT_APP\" was never defined.
18924Usually this means the macro was only invoked conditionally." "$LINENO" 5
18925fi
18926if test -z "${UMC_TRUE}" && test -z "${UMC_FALSE}"; then
18927  as_fn_error $? "conditional \"UMC\" was never defined.
18928Usually this means the macro was only invoked conditionally." "$LINENO" 5
18929fi
18930if test -z "${ASR_CLIENT_TRUE}" && test -z "${ASR_CLIENT_FALSE}"; then
18931  as_fn_error $? "conditional \"ASR_CLIENT\" was never defined.
18932Usually this means the macro was only invoked conditionally." "$LINENO" 5
18933fi
18934if test -z "${COMMON_CLIENT_DATA_TRUE}" && test -z "${COMMON_CLIENT_DATA_FALSE}"; then
18935  as_fn_error $? "conditional \"COMMON_CLIENT_DATA\" was never defined.
18936Usually this means the macro was only invoked conditionally." "$LINENO" 5
18937fi
18938if test -z "${UNIMRCP_SERVER_LIB_TRUE}" && test -z "${UNIMRCP_SERVER_LIB_FALSE}"; then
18939  as_fn_error $? "conditional \"UNIMRCP_SERVER_LIB\" was never defined.
18940Usually this means the macro was only invoked conditionally." "$LINENO" 5
18941fi
18942if test -z "${UNIMRCP_SERVER_APP_TRUE}" && test -z "${UNIMRCP_SERVER_APP_FALSE}"; then
18943  as_fn_error $? "conditional \"UNIMRCP_SERVER_APP\" was never defined.
18944Usually this means the macro was only invoked conditionally." "$LINENO" 5
18945fi
18946if test -z "${DEMOSYNTH_PLUGIN_TRUE}" && test -z "${DEMOSYNTH_PLUGIN_FALSE}"; then
18947  as_fn_error $? "conditional \"DEMOSYNTH_PLUGIN\" was never defined.
18948Usually this means the macro was only invoked conditionally." "$LINENO" 5
18949fi
18950if test -z "${DEMORECOG_PLUGIN_TRUE}" && test -z "${DEMORECOG_PLUGIN_FALSE}"; then
18951  as_fn_error $? "conditional \"DEMORECOG_PLUGIN\" was never defined.
18952Usually this means the macro was only invoked conditionally." "$LINENO" 5
18953fi
18954if test -z "${DEMOVERIFIER_PLUGIN_TRUE}" && test -z "${DEMOVERIFIER_PLUGIN_FALSE}"; then
18955  as_fn_error $? "conditional \"DEMOVERIFIER_PLUGIN\" was never defined.
18956Usually this means the macro was only invoked conditionally." "$LINENO" 5
18957fi
18958if test -z "${RECORDER_PLUGIN_TRUE}" && test -z "${RECORDER_PLUGIN_FALSE}"; then
18959  as_fn_error $? "conditional \"RECORDER_PLUGIN\" was never defined.
18960Usually this means the macro was only invoked conditionally." "$LINENO" 5
18961fi
18962if test -z "${TEST_SUITES_TRUE}" && test -z "${TEST_SUITES_FALSE}"; then
18963  as_fn_error $? "conditional \"TEST_SUITES\" was never defined.
18964Usually this means the macro was only invoked conditionally." "$LINENO" 5
18965fi
18966if test -z "${ISMAC_TRUE}" && test -z "${ISMAC_FALSE}"; then
18967  as_fn_error $? "conditional \"ISMAC\" was never defined.
18968Usually this means the macro was only invoked conditionally." "$LINENO" 5
18969fi
18970
18971: "${CONFIG_STATUS=./config.status}"
18972ac_write_fail=0
18973ac_clean_files_save=$ac_clean_files
18974ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18975{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18976$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18977as_write_fail=0
18978cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18979#! $SHELL
18980# Generated by $as_me.
18981# Run this file to recreate the current configuration.
18982# Compiler output produced by configure, useful for debugging
18983# configure, is in config.log if it exists.
18984
18985debug=false
18986ac_cs_recheck=false
18987ac_cs_silent=false
18988
18989SHELL=\${CONFIG_SHELL-$SHELL}
18990export SHELL
18991_ASEOF
18992cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18993## -------------------- ##
18994## M4sh Initialization. ##
18995## -------------------- ##
18996
18997# Be more Bourne compatible
18998DUALCASE=1; export DUALCASE # for MKS sh
18999if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19000  emulate sh
19001  NULLCMD=:
19002  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19003  # is contrary to our usage.  Disable this feature.
19004  alias -g '${1+"$@"}'='"$@"'
19005  setopt NO_GLOB_SUBST
19006else
19007  case `(set -o) 2>/dev/null` in #(
19008  *posix*) :
19009    set -o posix ;; #(
19010  *) :
19011     ;;
19012esac
19013fi
19014
19015
19016as_nl='
19017'
19018export as_nl
19019# Printing a long string crashes Solaris 7 /usr/bin/printf.
19020as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19021as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19022as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19023# Prefer a ksh shell builtin over an external printf program on Solaris,
19024# but without wasting forks for bash or zsh.
19025if test -z "$BASH_VERSION$ZSH_VERSION" \
19026    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19027  as_echo='print -r --'
19028  as_echo_n='print -rn --'
19029elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19030  as_echo='printf %s\n'
19031  as_echo_n='printf %s'
19032else
19033  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19034    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19035    as_echo_n='/usr/ucb/echo -n'
19036  else
19037    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19038    as_echo_n_body='eval
19039      arg=$1;
19040      case $arg in #(
19041      *"$as_nl"*)
19042	expr "X$arg" : "X\\(.*\\)$as_nl";
19043	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19044      esac;
19045      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19046    '
19047    export as_echo_n_body
19048    as_echo_n='sh -c $as_echo_n_body as_echo'
19049  fi
19050  export as_echo_body
19051  as_echo='sh -c $as_echo_body as_echo'
19052fi
19053
19054# The user is always right.
19055if test "${PATH_SEPARATOR+set}" != set; then
19056  PATH_SEPARATOR=:
19057  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19058    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19059      PATH_SEPARATOR=';'
19060  }
19061fi
19062
19063
19064# IFS
19065# We need space, tab and new line, in precisely that order.  Quoting is
19066# there to prevent editors from complaining about space-tab.
19067# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19068# splitting by setting IFS to empty value.)
19069IFS=" ""	$as_nl"
19070
19071# Find who we are.  Look in the path if we contain no directory separator.
19072as_myself=
19073case $0 in #((
19074  *[\\/]* ) as_myself=$0 ;;
19075  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19076for as_dir in $PATH
19077do
19078  IFS=$as_save_IFS
19079  test -z "$as_dir" && as_dir=.
19080    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19081  done
19082IFS=$as_save_IFS
19083
19084     ;;
19085esac
19086# We did not find ourselves, most probably we were run as `sh COMMAND'
19087# in which case we are not to be found in the path.
19088if test "x$as_myself" = x; then
19089  as_myself=$0
19090fi
19091if test ! -f "$as_myself"; then
19092  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19093  exit 1
19094fi
19095
19096# Unset variables that we do not need and which cause bugs (e.g. in
19097# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19098# suppresses any "Segmentation fault" message there.  '((' could
19099# trigger a bug in pdksh 5.2.14.
19100for as_var in BASH_ENV ENV MAIL MAILPATH
19101do eval test x\${$as_var+set} = xset \
19102  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19103done
19104PS1='$ '
19105PS2='> '
19106PS4='+ '
19107
19108# NLS nuisances.
19109LC_ALL=C
19110export LC_ALL
19111LANGUAGE=C
19112export LANGUAGE
19113
19114# CDPATH.
19115(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19116
19117
19118# as_fn_error STATUS ERROR [LINENO LOG_FD]
19119# ----------------------------------------
19120# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19121# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19122# script with STATUS, using 1 if that was 0.
19123as_fn_error ()
19124{
19125  as_status=$1; test $as_status -eq 0 && as_status=1
19126  if test "$4"; then
19127    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19128    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19129  fi
19130  $as_echo "$as_me: error: $2" >&2
19131  as_fn_exit $as_status
19132} # as_fn_error
19133
19134
19135# as_fn_set_status STATUS
19136# -----------------------
19137# Set $? to STATUS, without forking.
19138as_fn_set_status ()
19139{
19140  return $1
19141} # as_fn_set_status
19142
19143# as_fn_exit STATUS
19144# -----------------
19145# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19146as_fn_exit ()
19147{
19148  set +e
19149  as_fn_set_status $1
19150  exit $1
19151} # as_fn_exit
19152
19153# as_fn_unset VAR
19154# ---------------
19155# Portably unset VAR.
19156as_fn_unset ()
19157{
19158  { eval $1=; unset $1;}
19159}
19160as_unset=as_fn_unset
19161# as_fn_append VAR VALUE
19162# ----------------------
19163# Append the text in VALUE to the end of the definition contained in VAR. Take
19164# advantage of any shell optimizations that allow amortized linear growth over
19165# repeated appends, instead of the typical quadratic growth present in naive
19166# implementations.
19167if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19168  eval 'as_fn_append ()
19169  {
19170    eval $1+=\$2
19171  }'
19172else
19173  as_fn_append ()
19174  {
19175    eval $1=\$$1\$2
19176  }
19177fi # as_fn_append
19178
19179# as_fn_arith ARG...
19180# ------------------
19181# Perform arithmetic evaluation on the ARGs, and store the result in the
19182# global $as_val. Take advantage of shells that can avoid forks. The arguments
19183# must be portable across $(()) and expr.
19184if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19185  eval 'as_fn_arith ()
19186  {
19187    as_val=$(( $* ))
19188  }'
19189else
19190  as_fn_arith ()
19191  {
19192    as_val=`expr "$@" || test $? -eq 1`
19193  }
19194fi # as_fn_arith
19195
19196
19197if expr a : '\(a\)' >/dev/null 2>&1 &&
19198   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19199  as_expr=expr
19200else
19201  as_expr=false
19202fi
19203
19204if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19205  as_basename=basename
19206else
19207  as_basename=false
19208fi
19209
19210if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19211  as_dirname=dirname
19212else
19213  as_dirname=false
19214fi
19215
19216as_me=`$as_basename -- "$0" ||
19217$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19218	 X"$0" : 'X\(//\)$' \| \
19219	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19220$as_echo X/"$0" |
19221    sed '/^.*\/\([^/][^/]*\)\/*$/{
19222	    s//\1/
19223	    q
19224	  }
19225	  /^X\/\(\/\/\)$/{
19226	    s//\1/
19227	    q
19228	  }
19229	  /^X\/\(\/\).*/{
19230	    s//\1/
19231	    q
19232	  }
19233	  s/.*/./; q'`
19234
19235# Avoid depending upon Character Ranges.
19236as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19237as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19238as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19239as_cr_digits='0123456789'
19240as_cr_alnum=$as_cr_Letters$as_cr_digits
19241
19242ECHO_C= ECHO_N= ECHO_T=
19243case `echo -n x` in #(((((
19244-n*)
19245  case `echo 'xy\c'` in
19246  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
19247  xy)  ECHO_C='\c';;
19248  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19249       ECHO_T='	';;
19250  esac;;
19251*)
19252  ECHO_N='-n';;
19253esac
19254
19255rm -f conf$$ conf$$.exe conf$$.file
19256if test -d conf$$.dir; then
19257  rm -f conf$$.dir/conf$$.file
19258else
19259  rm -f conf$$.dir
19260  mkdir conf$$.dir 2>/dev/null
19261fi
19262if (echo >conf$$.file) 2>/dev/null; then
19263  if ln -s conf$$.file conf$$ 2>/dev/null; then
19264    as_ln_s='ln -s'
19265    # ... but there are two gotchas:
19266    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19267    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19268    # In both cases, we have to default to `cp -pR'.
19269    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19270      as_ln_s='cp -pR'
19271  elif ln conf$$.file conf$$ 2>/dev/null; then
19272    as_ln_s=ln
19273  else
19274    as_ln_s='cp -pR'
19275  fi
19276else
19277  as_ln_s='cp -pR'
19278fi
19279rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19280rmdir conf$$.dir 2>/dev/null
19281
19282
19283# as_fn_mkdir_p
19284# -------------
19285# Create "$as_dir" as a directory, including parents if necessary.
19286as_fn_mkdir_p ()
19287{
19288
19289  case $as_dir in #(
19290  -*) as_dir=./$as_dir;;
19291  esac
19292  test -d "$as_dir" || eval $as_mkdir_p || {
19293    as_dirs=
19294    while :; do
19295      case $as_dir in #(
19296      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19297      *) as_qdir=$as_dir;;
19298      esac
19299      as_dirs="'$as_qdir' $as_dirs"
19300      as_dir=`$as_dirname -- "$as_dir" ||
19301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19302	 X"$as_dir" : 'X\(//\)[^/]' \| \
19303	 X"$as_dir" : 'X\(//\)$' \| \
19304	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19305$as_echo X"$as_dir" |
19306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19307	    s//\1/
19308	    q
19309	  }
19310	  /^X\(\/\/\)[^/].*/{
19311	    s//\1/
19312	    q
19313	  }
19314	  /^X\(\/\/\)$/{
19315	    s//\1/
19316	    q
19317	  }
19318	  /^X\(\/\).*/{
19319	    s//\1/
19320	    q
19321	  }
19322	  s/.*/./; q'`
19323      test -d "$as_dir" && break
19324    done
19325    test -z "$as_dirs" || eval "mkdir $as_dirs"
19326  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19327
19328
19329} # as_fn_mkdir_p
19330if mkdir -p . 2>/dev/null; then
19331  as_mkdir_p='mkdir -p "$as_dir"'
19332else
19333  test -d ./-p && rmdir ./-p
19334  as_mkdir_p=false
19335fi
19336
19337
19338# as_fn_executable_p FILE
19339# -----------------------
19340# Test if FILE is an executable regular file.
19341as_fn_executable_p ()
19342{
19343  test -f "$1" && test -x "$1"
19344} # as_fn_executable_p
19345as_test_x='test -x'
19346as_executable_p=as_fn_executable_p
19347
19348# Sed expression to map a string onto a valid CPP name.
19349as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19350
19351# Sed expression to map a string onto a valid variable name.
19352as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19353
19354
19355exec 6>&1
19356## ----------------------------------- ##
19357## Main body of $CONFIG_STATUS script. ##
19358## ----------------------------------- ##
19359_ASEOF
19360test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19361
19362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19363# Save the log message, to keep $0 and so on meaningful, and to
19364# report actual input values of CONFIG_FILES etc. instead of their
19365# values after options handling.
19366ac_log="
19367This file was extended by unimrcp $as_me 1.2.0, which was
19368generated by GNU Autoconf 2.69.  Invocation command line was
19369
19370  CONFIG_FILES    = $CONFIG_FILES
19371  CONFIG_HEADERS  = $CONFIG_HEADERS
19372  CONFIG_LINKS    = $CONFIG_LINKS
19373  CONFIG_COMMANDS = $CONFIG_COMMANDS
19374  $ $0 $@
19375
19376on `(hostname || uname -n) 2>/dev/null | sed 1q`
19377"
19378
19379_ACEOF
19380
19381case $ac_config_files in *"
19382"*) set x $ac_config_files; shift; ac_config_files=$*;;
19383esac
19384
19385
19386
19387cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19388# Files that config.status was made for.
19389config_files="$ac_config_files"
19390config_commands="$ac_config_commands"
19391
19392_ACEOF
19393
19394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19395ac_cs_usage="\
19396\`$as_me' instantiates files and other configuration actions
19397from templates according to the current configuration.  Unless the files
19398and actions are specified as TAGs, all are instantiated by default.
19399
19400Usage: $0 [OPTION]... [TAG]...
19401
19402  -h, --help       print this help, then exit
19403  -V, --version    print version number and configuration settings, then exit
19404      --config     print configuration, then exit
19405  -q, --quiet, --silent
19406                   do not print progress messages
19407  -d, --debug      don't remove temporary files
19408      --recheck    update $as_me by reconfiguring in the same conditions
19409      --file=FILE[:TEMPLATE]
19410                   instantiate the configuration file FILE
19411
19412Configuration files:
19413$config_files
19414
19415Configuration commands:
19416$config_commands
19417
19418Report bugs to the package provider."
19419
19420_ACEOF
19421cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19422ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19423ac_cs_version="\\
19424unimrcp config.status 1.2.0
19425configured by $0, generated by GNU Autoconf 2.69,
19426  with options \\"\$ac_cs_config\\"
19427
19428Copyright (C) 2012 Free Software Foundation, Inc.
19429This config.status script is free software; the Free Software Foundation
19430gives unlimited permission to copy, distribute and modify it."
19431
19432ac_pwd='$ac_pwd'
19433srcdir='$srcdir'
19434INSTALL='$INSTALL'
19435MKDIR_P='$MKDIR_P'
19436AWK='$AWK'
19437test -n "\$AWK" || AWK=awk
19438_ACEOF
19439
19440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19441# The default lists apply if the user does not specify any file.
19442ac_need_defaults=:
19443while test $# != 0
19444do
19445  case $1 in
19446  --*=?*)
19447    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19448    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19449    ac_shift=:
19450    ;;
19451  --*=)
19452    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19453    ac_optarg=
19454    ac_shift=:
19455    ;;
19456  *)
19457    ac_option=$1
19458    ac_optarg=$2
19459    ac_shift=shift
19460    ;;
19461  esac
19462
19463  case $ac_option in
19464  # Handling of the options.
19465  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19466    ac_cs_recheck=: ;;
19467  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19468    $as_echo "$ac_cs_version"; exit ;;
19469  --config | --confi | --conf | --con | --co | --c )
19470    $as_echo "$ac_cs_config"; exit ;;
19471  --debug | --debu | --deb | --de | --d | -d )
19472    debug=: ;;
19473  --file | --fil | --fi | --f )
19474    $ac_shift
19475    case $ac_optarg in
19476    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19477    '') as_fn_error $? "missing file argument" ;;
19478    esac
19479    as_fn_append CONFIG_FILES " '$ac_optarg'"
19480    ac_need_defaults=false;;
19481  --he | --h |  --help | --hel | -h )
19482    $as_echo "$ac_cs_usage"; exit ;;
19483  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19484  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19485    ac_cs_silent=: ;;
19486
19487  # This is an error.
19488  -*) as_fn_error $? "unrecognized option: \`$1'
19489Try \`$0 --help' for more information." ;;
19490
19491  *) as_fn_append ac_config_targets " $1"
19492     ac_need_defaults=false ;;
19493
19494  esac
19495  shift
19496done
19497
19498ac_configure_extra_args=
19499
19500if $ac_cs_silent; then
19501  exec 6>/dev/null
19502  ac_configure_extra_args="$ac_configure_extra_args --silent"
19503fi
19504
19505_ACEOF
19506cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19507if \$ac_cs_recheck; then
19508  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19509  shift
19510  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19511  CONFIG_SHELL='$SHELL'
19512  export CONFIG_SHELL
19513  exec "\$@"
19514fi
19515
19516_ACEOF
19517cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19518exec 5>>config.log
19519{
19520  echo
19521  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19522## Running $as_me. ##
19523_ASBOX
19524  $as_echo "$ac_log"
19525} >&5
19526
19527_ACEOF
19528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19529#
19530# INIT-COMMANDS
19531#
19532AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19533
19534
19535# The HP-UX ksh and POSIX shell print the target directory to stdout
19536# if CDPATH is set.
19537(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19538
19539sed_quote_subst='$sed_quote_subst'
19540double_quote_subst='$double_quote_subst'
19541delay_variable_subst='$delay_variable_subst'
19542macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19543macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19544enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19545enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19546pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19547enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19548shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19549SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19550ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19551PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19552host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19553host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19554host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19555build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19556build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19557build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19558SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19559Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19560GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19561EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19562FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19563LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19564NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19565LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19566max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19567ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19568exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19569lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19570lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19571lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19572lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19573lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19574reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19575reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19576OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19577deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19578file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19579file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19580want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19581DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19582sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19583AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19584AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19585archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19586STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19587RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19588old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19589old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19590old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19591lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19592CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19593CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19594compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19595GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19596lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19597lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19598lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19599lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19600lt_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"`'
19601lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19602nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19603lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19604lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19605objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19606MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19607lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19608lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19609lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19610lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19611lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19612need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19613MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19614DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19615NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19616LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19617OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19618OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19619libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19620shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19621extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19622archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19623enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19624export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19625whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19626compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19627old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19628old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19629archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19630archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19631module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19632module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19633with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19634allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19635no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19636hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19637hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19638hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19639hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19640hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19641hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19642hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19643inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19644link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19645always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19646export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19647exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19648include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19649prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19650postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19651file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19652variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19653need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19654need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19655version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19656runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19657shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19658shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19659libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19660library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19661soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19662install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19663postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19664postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19665finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19666finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19667hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19668sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19669configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19670configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19671hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19672enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19673enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19674enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19675old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19676striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19677compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19678predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19679postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19680predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19681postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19682compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19683LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19684reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19685reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19686old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19687compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19688GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19689lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19690lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19691lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19692lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19693lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19694archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19695enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19696export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19697whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19698compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19699old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19700old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19701archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19702archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19703module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19704module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19705with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19706allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19707no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19708hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19709hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19710hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19711hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19712hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19713hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19714hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19715inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19716link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19717always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19718export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19719exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19720include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19721prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19722postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19723file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19724hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19725compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19726predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19727postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19728predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19729postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19730compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19731
19732LTCC='$LTCC'
19733LTCFLAGS='$LTCFLAGS'
19734compiler='$compiler_DEFAULT'
19735
19736# A function that is used when there is no print builtin or printf.
19737func_fallback_echo ()
19738{
19739  eval 'cat <<_LTECHO_EOF
19740\$1
19741_LTECHO_EOF'
19742}
19743
19744# Quote evaled strings.
19745for var in SHELL \
19746ECHO \
19747PATH_SEPARATOR \
19748SED \
19749GREP \
19750EGREP \
19751FGREP \
19752LD \
19753NM \
19754LN_S \
19755lt_SP2NL \
19756lt_NL2SP \
19757reload_flag \
19758OBJDUMP \
19759deplibs_check_method \
19760file_magic_cmd \
19761file_magic_glob \
19762want_nocaseglob \
19763DLLTOOL \
19764sharedlib_from_linklib_cmd \
19765AR \
19766AR_FLAGS \
19767archiver_list_spec \
19768STRIP \
19769RANLIB \
19770CC \
19771CFLAGS \
19772compiler \
19773lt_cv_sys_global_symbol_pipe \
19774lt_cv_sys_global_symbol_to_cdecl \
19775lt_cv_sys_global_symbol_to_import \
19776lt_cv_sys_global_symbol_to_c_name_address \
19777lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19778lt_cv_nm_interface \
19779nm_file_list_spec \
19780lt_cv_truncate_bin \
19781lt_prog_compiler_no_builtin_flag \
19782lt_prog_compiler_pic \
19783lt_prog_compiler_wl \
19784lt_prog_compiler_static \
19785lt_cv_prog_compiler_c_o \
19786need_locks \
19787MANIFEST_TOOL \
19788DSYMUTIL \
19789NMEDIT \
19790LIPO \
19791OTOOL \
19792OTOOL64 \
19793shrext_cmds \
19794export_dynamic_flag_spec \
19795whole_archive_flag_spec \
19796compiler_needs_object \
19797with_gnu_ld \
19798allow_undefined_flag \
19799no_undefined_flag \
19800hardcode_libdir_flag_spec \
19801hardcode_libdir_separator \
19802exclude_expsyms \
19803include_expsyms \
19804file_list_spec \
19805variables_saved_for_relink \
19806libname_spec \
19807library_names_spec \
19808soname_spec \
19809install_override_mode \
19810finish_eval \
19811old_striplib \
19812striplib \
19813compiler_lib_search_dirs \
19814predep_objects \
19815postdep_objects \
19816predeps \
19817postdeps \
19818compiler_lib_search_path \
19819LD_CXX \
19820reload_flag_CXX \
19821compiler_CXX \
19822lt_prog_compiler_no_builtin_flag_CXX \
19823lt_prog_compiler_pic_CXX \
19824lt_prog_compiler_wl_CXX \
19825lt_prog_compiler_static_CXX \
19826lt_cv_prog_compiler_c_o_CXX \
19827export_dynamic_flag_spec_CXX \
19828whole_archive_flag_spec_CXX \
19829compiler_needs_object_CXX \
19830with_gnu_ld_CXX \
19831allow_undefined_flag_CXX \
19832no_undefined_flag_CXX \
19833hardcode_libdir_flag_spec_CXX \
19834hardcode_libdir_separator_CXX \
19835exclude_expsyms_CXX \
19836include_expsyms_CXX \
19837file_list_spec_CXX \
19838compiler_lib_search_dirs_CXX \
19839predep_objects_CXX \
19840postdep_objects_CXX \
19841predeps_CXX \
19842postdeps_CXX \
19843compiler_lib_search_path_CXX; do
19844    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19845    *[\\\\\\\`\\"\\\$]*)
19846      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19847      ;;
19848    *)
19849      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19850      ;;
19851    esac
19852done
19853
19854# Double-quote double-evaled strings.
19855for var in reload_cmds \
19856old_postinstall_cmds \
19857old_postuninstall_cmds \
19858old_archive_cmds \
19859extract_expsyms_cmds \
19860old_archive_from_new_cmds \
19861old_archive_from_expsyms_cmds \
19862archive_cmds \
19863archive_expsym_cmds \
19864module_cmds \
19865module_expsym_cmds \
19866export_symbols_cmds \
19867prelink_cmds \
19868postlink_cmds \
19869postinstall_cmds \
19870postuninstall_cmds \
19871finish_cmds \
19872sys_lib_search_path_spec \
19873configure_time_dlsearch_path \
19874configure_time_lt_sys_library_path \
19875reload_cmds_CXX \
19876old_archive_cmds_CXX \
19877old_archive_from_new_cmds_CXX \
19878old_archive_from_expsyms_cmds_CXX \
19879archive_cmds_CXX \
19880archive_expsym_cmds_CXX \
19881module_cmds_CXX \
19882module_expsym_cmds_CXX \
19883export_symbols_cmds_CXX \
19884prelink_cmds_CXX \
19885postlink_cmds_CXX; do
19886    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19887    *[\\\\\\\`\\"\\\$]*)
19888      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19889      ;;
19890    *)
19891      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19892      ;;
19893    esac
19894done
19895
19896ac_aux_dir='$ac_aux_dir'
19897
19898# See if we are running on zsh, and set the options that allow our
19899# commands through without removal of \ escapes INIT.
19900if test -n "\${ZSH_VERSION+set}"; then
19901   setopt NO_GLOB_SUBST
19902fi
19903
19904
19905    PACKAGE='$PACKAGE'
19906    VERSION='$VERSION'
19907    RM='$RM'
19908    ofile='$ofile'
19909
19910
19911
19912
19913
19914
19915_ACEOF
19916
19917cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19918
19919# Handling of arguments.
19920for ac_config_target in $ac_config_targets
19921do
19922  case $ac_config_target in
19923    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19924    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19925    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19926    "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
19927    "libs/apr-toolkit/Makefile") CONFIG_FILES="$CONFIG_FILES libs/apr-toolkit/Makefile" ;;
19928    "libs/mpf/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mpf/Makefile" ;;
19929    "libs/mrcp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcp/Makefile" ;;
19930    "libs/mrcp-signaling/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcp-signaling/Makefile" ;;
19931    "libs/mrcpv2-transport/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcpv2-transport/Makefile" ;;
19932    "libs/mrcp-engine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcp-engine/Makefile" ;;
19933    "libs/mrcp-server/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcp-server/Makefile" ;;
19934    "libs/mrcp-client/Makefile") CONFIG_FILES="$CONFIG_FILES libs/mrcp-client/Makefile" ;;
19935    "libs/uni-rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/uni-rtsp/Makefile" ;;
19936    "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
19937    "modules/mrcp-sofiasip/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mrcp-sofiasip/Makefile" ;;
19938    "modules/mrcp-unirtsp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mrcp-unirtsp/Makefile" ;;
19939    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
19940    "plugins/mrcp-recorder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mrcp-recorder/Makefile" ;;
19941    "plugins/demo-synth/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/demo-synth/Makefile" ;;
19942    "plugins/demo-recog/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/demo-recog/Makefile" ;;
19943    "plugins/demo-verifier/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/demo-verifier/Makefile" ;;
19944    "platforms/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/Makefile" ;;
19945    "platforms/libunimrcp-server/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/libunimrcp-server/Makefile" ;;
19946    "platforms/libunimrcp-client/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/libunimrcp-client/Makefile" ;;
19947    "platforms/unimrcp-server/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/unimrcp-server/Makefile" ;;
19948    "platforms/unimrcp-client/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/unimrcp-client/Makefile" ;;
19949    "platforms/libasr-client/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/libasr-client/Makefile" ;;
19950    "platforms/asr-client/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/asr-client/Makefile" ;;
19951    "platforms/umc/Makefile") CONFIG_FILES="$CONFIG_FILES platforms/umc/Makefile" ;;
19952    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19953    "tests/apttest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/apttest/Makefile" ;;
19954    "tests/mpftest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mpftest/Makefile" ;;
19955    "tests/mrcptest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/mrcptest/Makefile" ;;
19956    "tests/rtsptest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/rtsptest/Makefile" ;;
19957    "tests/strtablegen/Makefile") CONFIG_FILES="$CONFIG_FILES tests/strtablegen/Makefile" ;;
19958    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
19959    "build/pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES build/pkgconfig/Makefile" ;;
19960    "build/pkgconfig/unimrcpclient.pc") CONFIG_FILES="$CONFIG_FILES build/pkgconfig/unimrcpclient.pc" ;;
19961    "build/pkgconfig/unimrcpserver.pc") CONFIG_FILES="$CONFIG_FILES build/pkgconfig/unimrcpserver.pc" ;;
19962    "build/pkgconfig/unimrcpplugin.pc") CONFIG_FILES="$CONFIG_FILES build/pkgconfig/unimrcpplugin.pc" ;;
19963    "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
19964    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19965    "docs/doxygen.conf") CONFIG_FILES="$CONFIG_FILES docs/doxygen.conf" ;;
19966
19967  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19968  esac
19969done
19970
19971
19972# If the user did not use the arguments to specify the items to instantiate,
19973# then the envvar interface is used.  Set only those that are not.
19974# We use the long form for the default assignment because of an extremely
19975# bizarre bug on SunOS 4.1.3.
19976if $ac_need_defaults; then
19977  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19978  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19979fi
19980
19981# Have a temporary directory for convenience.  Make it in the build tree
19982# simply because there is no reason against having it here, and in addition,
19983# creating and moving files from /tmp can sometimes cause problems.
19984# Hook for its removal unless debugging.
19985# Note that there is a small window in which the directory will not be cleaned:
19986# after its creation but before its name has been assigned to `$tmp'.
19987$debug ||
19988{
19989  tmp= ac_tmp=
19990  trap 'exit_status=$?
19991  : "${ac_tmp:=$tmp}"
19992  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19993' 0
19994  trap 'as_fn_exit 1' 1 2 13 15
19995}
19996# Create a (secure) tmp directory for tmp files.
19997
19998{
19999  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20000  test -d "$tmp"
20001}  ||
20002{
20003  tmp=./conf$$-$RANDOM
20004  (umask 077 && mkdir "$tmp")
20005} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20006ac_tmp=$tmp
20007
20008# Set up the scripts for CONFIG_FILES section.
20009# No need to generate them if there are no CONFIG_FILES.
20010# This happens for instance with `./config.status config.h'.
20011if test -n "$CONFIG_FILES"; then
20012
20013
20014ac_cr=`echo X | tr X '\015'`
20015# On cygwin, bash can eat \r inside `` if the user requested igncr.
20016# But we know of no other shell where ac_cr would be empty at this
20017# point, so we can use a bashism as a fallback.
20018if test "x$ac_cr" = x; then
20019  eval ac_cr=\$\'\\r\'
20020fi
20021ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20022if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20023  ac_cs_awk_cr='\\r'
20024else
20025  ac_cs_awk_cr=$ac_cr
20026fi
20027
20028echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20029_ACEOF
20030
20031
20032{
20033  echo "cat >conf$$subs.awk <<_ACEOF" &&
20034  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20035  echo "_ACEOF"
20036} >conf$$subs.sh ||
20037  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20038ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20039ac_delim='%!_!# '
20040for ac_last_try in false false false false false :; do
20041  . ./conf$$subs.sh ||
20042    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20043
20044  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20045  if test $ac_delim_n = $ac_delim_num; then
20046    break
20047  elif $ac_last_try; then
20048    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20049  else
20050    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20051  fi
20052done
20053rm -f conf$$subs.sh
20054
20055cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20056cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20057_ACEOF
20058sed -n '
20059h
20060s/^/S["/; s/!.*/"]=/
20061p
20062g
20063s/^[^!]*!//
20064:repl
20065t repl
20066s/'"$ac_delim"'$//
20067t delim
20068:nl
20069h
20070s/\(.\{148\}\)..*/\1/
20071t more1
20072s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20073p
20074n
20075b repl
20076:more1
20077s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20078p
20079g
20080s/.\{148\}//
20081t nl
20082:delim
20083h
20084s/\(.\{148\}\)..*/\1/
20085t more2
20086s/["\\]/\\&/g; s/^/"/; s/$/"/
20087p
20088b
20089:more2
20090s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20091p
20092g
20093s/.\{148\}//
20094t delim
20095' <conf$$subs.awk | sed '
20096/^[^""]/{
20097  N
20098  s/\n//
20099}
20100' >>$CONFIG_STATUS || ac_write_fail=1
20101rm -f conf$$subs.awk
20102cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20103_ACAWK
20104cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20105  for (key in S) S_is_set[key] = 1
20106  FS = ""
20107
20108}
20109{
20110  line = $ 0
20111  nfields = split(line, field, "@")
20112  substed = 0
20113  len = length(field[1])
20114  for (i = 2; i < nfields; i++) {
20115    key = field[i]
20116    keylen = length(key)
20117    if (S_is_set[key]) {
20118      value = S[key]
20119      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20120      len += length(value) + length(field[++i])
20121      substed = 1
20122    } else
20123      len += 1 + keylen
20124  }
20125
20126  print line
20127}
20128
20129_ACAWK
20130_ACEOF
20131cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20132if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20133  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20134else
20135  cat
20136fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20137  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20138_ACEOF
20139
20140# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20141# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20142# trailing colons and then remove the whole line if VPATH becomes empty
20143# (actually we leave an empty line to preserve line numbers).
20144if test "x$srcdir" = x.; then
20145  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
20146h
20147s///
20148s/^/:/
20149s/[	 ]*$/:/
20150s/:\$(srcdir):/:/g
20151s/:\${srcdir}:/:/g
20152s/:@srcdir@:/:/g
20153s/^:*//
20154s/:*$//
20155x
20156s/\(=[	 ]*\).*/\1/
20157G
20158s/\n//
20159s/^[^=]*=[	 ]*$//
20160}'
20161fi
20162
20163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20164fi # test -n "$CONFIG_FILES"
20165
20166
20167eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
20168shift
20169for ac_tag
20170do
20171  case $ac_tag in
20172  :[FHLC]) ac_mode=$ac_tag; continue;;
20173  esac
20174  case $ac_mode$ac_tag in
20175  :[FHL]*:*);;
20176  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20177  :[FH]-) ac_tag=-:-;;
20178  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20179  esac
20180  ac_save_IFS=$IFS
20181  IFS=:
20182  set x $ac_tag
20183  IFS=$ac_save_IFS
20184  shift
20185  ac_file=$1
20186  shift
20187
20188  case $ac_mode in
20189  :L) ac_source=$1;;
20190  :[FH])
20191    ac_file_inputs=
20192    for ac_f
20193    do
20194      case $ac_f in
20195      -) ac_f="$ac_tmp/stdin";;
20196      *) # Look for the file first in the build tree, then in the source tree
20197	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
20198	 # because $ac_f cannot contain `:'.
20199	 test -f "$ac_f" ||
20200	   case $ac_f in
20201	   [\\/$]*) false;;
20202	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20203	   esac ||
20204	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20205      esac
20206      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20207      as_fn_append ac_file_inputs " '$ac_f'"
20208    done
20209
20210    # Let's still pretend it is `configure' which instantiates (i.e., don't
20211    # use $as_me), people would be surprised to read:
20212    #    /* config.h.  Generated by config.status.  */
20213    configure_input='Generated from '`
20214	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20215	`' by configure.'
20216    if test x"$ac_file" != x-; then
20217      configure_input="$ac_file.  $configure_input"
20218      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20219$as_echo "$as_me: creating $ac_file" >&6;}
20220    fi
20221    # Neutralize special characters interpreted by sed in replacement strings.
20222    case $configure_input in #(
20223    *\&* | *\|* | *\\* )
20224       ac_sed_conf_input=`$as_echo "$configure_input" |
20225       sed 's/[\\\\&|]/\\\\&/g'`;; #(
20226    *) ac_sed_conf_input=$configure_input;;
20227    esac
20228
20229    case $ac_tag in
20230    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20231      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20232    esac
20233    ;;
20234  esac
20235
20236  ac_dir=`$as_dirname -- "$ac_file" ||
20237$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20238	 X"$ac_file" : 'X\(//\)[^/]' \| \
20239	 X"$ac_file" : 'X\(//\)$' \| \
20240	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20241$as_echo X"$ac_file" |
20242    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20243	    s//\1/
20244	    q
20245	  }
20246	  /^X\(\/\/\)[^/].*/{
20247	    s//\1/
20248	    q
20249	  }
20250	  /^X\(\/\/\)$/{
20251	    s//\1/
20252	    q
20253	  }
20254	  /^X\(\/\).*/{
20255	    s//\1/
20256	    q
20257	  }
20258	  s/.*/./; q'`
20259  as_dir="$ac_dir"; as_fn_mkdir_p
20260  ac_builddir=.
20261
20262case "$ac_dir" in
20263.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20264*)
20265  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20266  # A ".." for each directory in $ac_dir_suffix.
20267  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20268  case $ac_top_builddir_sub in
20269  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20270  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20271  esac ;;
20272esac
20273ac_abs_top_builddir=$ac_pwd
20274ac_abs_builddir=$ac_pwd$ac_dir_suffix
20275# for backward compatibility:
20276ac_top_builddir=$ac_top_build_prefix
20277
20278case $srcdir in
20279  .)  # We are building in place.
20280    ac_srcdir=.
20281    ac_top_srcdir=$ac_top_builddir_sub
20282    ac_abs_top_srcdir=$ac_pwd ;;
20283  [\\/]* | ?:[\\/]* )  # Absolute name.
20284    ac_srcdir=$srcdir$ac_dir_suffix;
20285    ac_top_srcdir=$srcdir
20286    ac_abs_top_srcdir=$srcdir ;;
20287  *) # Relative name.
20288    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20289    ac_top_srcdir=$ac_top_build_prefix$srcdir
20290    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20291esac
20292ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20293
20294
20295  case $ac_mode in
20296  :F)
20297  #
20298  # CONFIG_FILE
20299  #
20300
20301  case $INSTALL in
20302  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20303  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20304  esac
20305  ac_MKDIR_P=$MKDIR_P
20306  case $MKDIR_P in
20307  [\\/$]* | ?:[\\/]* ) ;;
20308  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20309  esac
20310_ACEOF
20311
20312cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20313# If the template does not know about datarootdir, expand it.
20314# FIXME: This hack should be removed a few years after 2.60.
20315ac_datarootdir_hack=; ac_datarootdir_seen=
20316ac_sed_dataroot='
20317/datarootdir/ {
20318  p
20319  q
20320}
20321/@datadir@/p
20322/@docdir@/p
20323/@infodir@/p
20324/@localedir@/p
20325/@mandir@/p'
20326case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20327*datarootdir*) ac_datarootdir_seen=yes;;
20328*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20329  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20330$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20331_ACEOF
20332cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20333  ac_datarootdir_hack='
20334  s&@datadir@&$datadir&g
20335  s&@docdir@&$docdir&g
20336  s&@infodir@&$infodir&g
20337  s&@localedir@&$localedir&g
20338  s&@mandir@&$mandir&g
20339  s&\\\${datarootdir}&$datarootdir&g' ;;
20340esac
20341_ACEOF
20342
20343# Neutralize VPATH when `$srcdir' = `.'.
20344# Shell code in configure.ac might set extrasub.
20345# FIXME: do we really want to maintain this feature?
20346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20347ac_sed_extra="$ac_vpsub
20348$extrasub
20349_ACEOF
20350cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20351:t
20352/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20353s|@configure_input@|$ac_sed_conf_input|;t t
20354s&@top_builddir@&$ac_top_builddir_sub&;t t
20355s&@top_build_prefix@&$ac_top_build_prefix&;t t
20356s&@srcdir@&$ac_srcdir&;t t
20357s&@abs_srcdir@&$ac_abs_srcdir&;t t
20358s&@top_srcdir@&$ac_top_srcdir&;t t
20359s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20360s&@builddir@&$ac_builddir&;t t
20361s&@abs_builddir@&$ac_abs_builddir&;t t
20362s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20363s&@INSTALL@&$ac_INSTALL&;t t
20364s&@MKDIR_P@&$ac_MKDIR_P&;t t
20365$ac_datarootdir_hack
20366"
20367eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20368  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20369
20370test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20371  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20372  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
20373      "$ac_tmp/out"`; test -z "$ac_out"; } &&
20374  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20375which seems to be undefined.  Please make sure it is defined" >&5
20376$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20377which seems to be undefined.  Please make sure it is defined" >&2;}
20378
20379  rm -f "$ac_tmp/stdin"
20380  case $ac_file in
20381  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20382  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20383  esac \
20384  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20385 ;;
20386
20387
20388  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20389$as_echo "$as_me: executing $ac_file commands" >&6;}
20390 ;;
20391  esac
20392
20393
20394  case $ac_file$ac_mode in
20395    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20396  # Older Autoconf quotes --file arguments for eval, but not when files
20397  # are listed without --file.  Let's play safe and only enable the eval
20398  # if we detect the quoting.
20399  case $CONFIG_FILES in
20400  *\'*) eval set x "$CONFIG_FILES" ;;
20401  *)   set x $CONFIG_FILES ;;
20402  esac
20403  shift
20404  for mf
20405  do
20406    # Strip MF so we end up with the name of the file.
20407    mf=`echo "$mf" | sed -e 's/:.*$//'`
20408    # Check whether this is an Automake generated Makefile or not.
20409    # We used to match only the files named 'Makefile.in', but
20410    # some people rename them; so instead we look at the file content.
20411    # Grep'ing the first line is not enough: some people post-process
20412    # each Makefile.in and add a new line on top of each file to say so.
20413    # Grep'ing the whole file is not good either: AIX grep has a line
20414    # limit of 2048, but all sed's we know have understand at least 4000.
20415    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20416      dirpart=`$as_dirname -- "$mf" ||
20417$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20418	 X"$mf" : 'X\(//\)[^/]' \| \
20419	 X"$mf" : 'X\(//\)$' \| \
20420	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20421$as_echo X"$mf" |
20422    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20423	    s//\1/
20424	    q
20425	  }
20426	  /^X\(\/\/\)[^/].*/{
20427	    s//\1/
20428	    q
20429	  }
20430	  /^X\(\/\/\)$/{
20431	    s//\1/
20432	    q
20433	  }
20434	  /^X\(\/\).*/{
20435	    s//\1/
20436	    q
20437	  }
20438	  s/.*/./; q'`
20439    else
20440      continue
20441    fi
20442    # Extract the definition of DEPDIR, am__include, and am__quote
20443    # from the Makefile without running 'make'.
20444    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20445    test -z "$DEPDIR" && continue
20446    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20447    test -z "$am__include" && continue
20448    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20449    # Find all dependency output files, they are included files with
20450    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20451    # simplest approach to changing $(DEPDIR) to its actual value in the
20452    # expansion.
20453    for file in `sed -n "
20454      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20455	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20456      # Make sure the directory exists.
20457      test -f "$dirpart/$file" && continue
20458      fdir=`$as_dirname -- "$file" ||
20459$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20460	 X"$file" : 'X\(//\)[^/]' \| \
20461	 X"$file" : 'X\(//\)$' \| \
20462	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20463$as_echo X"$file" |
20464    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20465	    s//\1/
20466	    q
20467	  }
20468	  /^X\(\/\/\)[^/].*/{
20469	    s//\1/
20470	    q
20471	  }
20472	  /^X\(\/\/\)$/{
20473	    s//\1/
20474	    q
20475	  }
20476	  /^X\(\/\).*/{
20477	    s//\1/
20478	    q
20479	  }
20480	  s/.*/./; q'`
20481      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20482      # echo "creating $dirpart/$file"
20483      echo '# dummy' > "$dirpart/$file"
20484    done
20485  done
20486}
20487 ;;
20488    "libtool":C)
20489
20490    # See if we are running on zsh, and set the options that allow our
20491    # commands through without removal of \ escapes.
20492    if test -n "${ZSH_VERSION+set}"; then
20493      setopt NO_GLOB_SUBST
20494    fi
20495
20496    cfgfile=${ofile}T
20497    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20498    $RM "$cfgfile"
20499
20500    cat <<_LT_EOF >> "$cfgfile"
20501#! $SHELL
20502# Generated automatically by $as_me ($PACKAGE) $VERSION
20503# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20504
20505# Provide generalized library-building support services.
20506# Written by Gordon Matzigkeit, 1996
20507
20508# Copyright (C) 2014 Free Software Foundation, Inc.
20509# This is free software; see the source for copying conditions.  There is NO
20510# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20511
20512# GNU Libtool is free software; you can redistribute it and/or modify
20513# it under the terms of the GNU General Public License as published by
20514# the Free Software Foundation; either version 2 of of the License, or
20515# (at your option) any later version.
20516#
20517# As a special exception to the GNU General Public License, if you
20518# distribute this file as part of a program or library that is built
20519# using GNU Libtool, you may include this file under the  same
20520# distribution terms that you use for the rest of that program.
20521#
20522# GNU Libtool is distributed in the hope that it will be useful, but
20523# WITHOUT ANY WARRANTY; without even the implied warranty of
20524# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20525# GNU General Public License for more details.
20526#
20527# You should have received a copy of the GNU General Public License
20528# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20529
20530
20531# The names of the tagged configurations supported by this script.
20532available_tags='CXX '
20533
20534# Configured defaults for sys_lib_dlsearch_path munging.
20535: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20536
20537# ### BEGIN LIBTOOL CONFIG
20538
20539# Which release of libtool.m4 was used?
20540macro_version=$macro_version
20541macro_revision=$macro_revision
20542
20543# Whether or not to build shared libraries.
20544build_libtool_libs=$enable_shared
20545
20546# Whether or not to build static libraries.
20547build_old_libs=$enable_static
20548
20549# What type of objects to build.
20550pic_mode=$pic_mode
20551
20552# Whether or not to optimize for fast installation.
20553fast_install=$enable_fast_install
20554
20555# Shared archive member basename,for filename based shared library versioning on AIX.
20556shared_archive_member_spec=$shared_archive_member_spec
20557
20558# Shell to use when invoking shell scripts.
20559SHELL=$lt_SHELL
20560
20561# An echo program that protects backslashes.
20562ECHO=$lt_ECHO
20563
20564# The PATH separator for the build system.
20565PATH_SEPARATOR=$lt_PATH_SEPARATOR
20566
20567# The host system.
20568host_alias=$host_alias
20569host=$host
20570host_os=$host_os
20571
20572# The build system.
20573build_alias=$build_alias
20574build=$build
20575build_os=$build_os
20576
20577# A sed program that does not truncate output.
20578SED=$lt_SED
20579
20580# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20581Xsed="\$SED -e 1s/^X//"
20582
20583# A grep program that handles long lines.
20584GREP=$lt_GREP
20585
20586# An ERE matcher.
20587EGREP=$lt_EGREP
20588
20589# A literal string matcher.
20590FGREP=$lt_FGREP
20591
20592# A BSD- or MS-compatible name lister.
20593NM=$lt_NM
20594
20595# Whether we need soft or hard links.
20596LN_S=$lt_LN_S
20597
20598# What is the maximum length of a command?
20599max_cmd_len=$max_cmd_len
20600
20601# Object file suffix (normally "o").
20602objext=$ac_objext
20603
20604# Executable file suffix (normally "").
20605exeext=$exeext
20606
20607# whether the shell understands "unset".
20608lt_unset=$lt_unset
20609
20610# turn spaces into newlines.
20611SP2NL=$lt_lt_SP2NL
20612
20613# turn newlines into spaces.
20614NL2SP=$lt_lt_NL2SP
20615
20616# convert \$build file names to \$host format.
20617to_host_file_cmd=$lt_cv_to_host_file_cmd
20618
20619# convert \$build files to toolchain format.
20620to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20621
20622# An object symbol dumper.
20623OBJDUMP=$lt_OBJDUMP
20624
20625# Method to check whether dependent libraries are shared objects.
20626deplibs_check_method=$lt_deplibs_check_method
20627
20628# Command to use when deplibs_check_method = "file_magic".
20629file_magic_cmd=$lt_file_magic_cmd
20630
20631# How to find potential files when deplibs_check_method = "file_magic".
20632file_magic_glob=$lt_file_magic_glob
20633
20634# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20635want_nocaseglob=$lt_want_nocaseglob
20636
20637# DLL creation program.
20638DLLTOOL=$lt_DLLTOOL
20639
20640# Command to associate shared and link libraries.
20641sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20642
20643# The archiver.
20644AR=$lt_AR
20645
20646# Flags to create an archive.
20647AR_FLAGS=$lt_AR_FLAGS
20648
20649# How to feed a file listing to the archiver.
20650archiver_list_spec=$lt_archiver_list_spec
20651
20652# A symbol stripping program.
20653STRIP=$lt_STRIP
20654
20655# Commands used to install an old-style archive.
20656RANLIB=$lt_RANLIB
20657old_postinstall_cmds=$lt_old_postinstall_cmds
20658old_postuninstall_cmds=$lt_old_postuninstall_cmds
20659
20660# Whether to use a lock for old archive extraction.
20661lock_old_archive_extraction=$lock_old_archive_extraction
20662
20663# A C compiler.
20664LTCC=$lt_CC
20665
20666# LTCC compiler flags.
20667LTCFLAGS=$lt_CFLAGS
20668
20669# Take the output of nm and produce a listing of raw symbols and C names.
20670global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20671
20672# Transform the output of nm in a proper C declaration.
20673global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20674
20675# Transform the output of nm into a list of symbols to manually relocate.
20676global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20677
20678# Transform the output of nm in a C name address pair.
20679global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20680
20681# Transform the output of nm in a C name address pair when lib prefix is needed.
20682global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20683
20684# The name lister interface.
20685nm_interface=$lt_lt_cv_nm_interface
20686
20687# Specify filename containing input files for \$NM.
20688nm_file_list_spec=$lt_nm_file_list_spec
20689
20690# The root where to search for dependent libraries,and where our libraries should be installed.
20691lt_sysroot=$lt_sysroot
20692
20693# Command to truncate a binary pipe.
20694lt_truncate_bin=$lt_lt_cv_truncate_bin
20695
20696# The name of the directory that contains temporary libtool files.
20697objdir=$objdir
20698
20699# Used to examine libraries when file_magic_cmd begins with "file".
20700MAGIC_CMD=$MAGIC_CMD
20701
20702# Must we lock files when doing compilation?
20703need_locks=$lt_need_locks
20704
20705# Manifest tool.
20706MANIFEST_TOOL=$lt_MANIFEST_TOOL
20707
20708# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20709DSYMUTIL=$lt_DSYMUTIL
20710
20711# Tool to change global to local symbols on Mac OS X.
20712NMEDIT=$lt_NMEDIT
20713
20714# Tool to manipulate fat objects and archives on Mac OS X.
20715LIPO=$lt_LIPO
20716
20717# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20718OTOOL=$lt_OTOOL
20719
20720# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20721OTOOL64=$lt_OTOOL64
20722
20723# Old archive suffix (normally "a").
20724libext=$libext
20725
20726# Shared library suffix (normally ".so").
20727shrext_cmds=$lt_shrext_cmds
20728
20729# The commands to extract the exported symbol list from a shared archive.
20730extract_expsyms_cmds=$lt_extract_expsyms_cmds
20731
20732# Variables whose values should be saved in libtool wrapper scripts and
20733# restored at link time.
20734variables_saved_for_relink=$lt_variables_saved_for_relink
20735
20736# Do we need the "lib" prefix for modules?
20737need_lib_prefix=$need_lib_prefix
20738
20739# Do we need a version for libraries?
20740need_version=$need_version
20741
20742# Library versioning type.
20743version_type=$version_type
20744
20745# Shared library runtime path variable.
20746runpath_var=$runpath_var
20747
20748# Shared library path variable.
20749shlibpath_var=$shlibpath_var
20750
20751# Is shlibpath searched before the hard-coded library search path?
20752shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20753
20754# Format of library name prefix.
20755libname_spec=$lt_libname_spec
20756
20757# List of archive names.  First name is the real one, the rest are links.
20758# The last name is the one that the linker finds with -lNAME
20759library_names_spec=$lt_library_names_spec
20760
20761# The coded name of the library, if different from the real name.
20762soname_spec=$lt_soname_spec
20763
20764# Permission mode override for installation of shared libraries.
20765install_override_mode=$lt_install_override_mode
20766
20767# Command to use after installation of a shared archive.
20768postinstall_cmds=$lt_postinstall_cmds
20769
20770# Command to use after uninstallation of a shared archive.
20771postuninstall_cmds=$lt_postuninstall_cmds
20772
20773# Commands used to finish a libtool library installation in a directory.
20774finish_cmds=$lt_finish_cmds
20775
20776# As "finish_cmds", except a single script fragment to be evaled but
20777# not shown.
20778finish_eval=$lt_finish_eval
20779
20780# Whether we should hardcode library paths into libraries.
20781hardcode_into_libs=$hardcode_into_libs
20782
20783# Compile-time system search path for libraries.
20784sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20785
20786# Detected run-time system search path for libraries.
20787sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20788
20789# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20790configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20791
20792# Whether dlopen is supported.
20793dlopen_support=$enable_dlopen
20794
20795# Whether dlopen of programs is supported.
20796dlopen_self=$enable_dlopen_self
20797
20798# Whether dlopen of statically linked programs is supported.
20799dlopen_self_static=$enable_dlopen_self_static
20800
20801# Commands to strip libraries.
20802old_striplib=$lt_old_striplib
20803striplib=$lt_striplib
20804
20805
20806# The linker used to build libraries.
20807LD=$lt_LD
20808
20809# How to create reloadable object files.
20810reload_flag=$lt_reload_flag
20811reload_cmds=$lt_reload_cmds
20812
20813# Commands used to build an old-style archive.
20814old_archive_cmds=$lt_old_archive_cmds
20815
20816# A language specific compiler.
20817CC=$lt_compiler
20818
20819# Is the compiler the GNU compiler?
20820with_gcc=$GCC
20821
20822# Compiler flag to turn off builtin functions.
20823no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20824
20825# Additional compiler flags for building library objects.
20826pic_flag=$lt_lt_prog_compiler_pic
20827
20828# How to pass a linker flag through the compiler.
20829wl=$lt_lt_prog_compiler_wl
20830
20831# Compiler flag to prevent dynamic linking.
20832link_static_flag=$lt_lt_prog_compiler_static
20833
20834# Does compiler simultaneously support -c and -o options?
20835compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20836
20837# Whether or not to add -lc for building shared libraries.
20838build_libtool_need_lc=$archive_cmds_need_lc
20839
20840# Whether or not to disallow shared libs when runtime libs are static.
20841allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20842
20843# Compiler flag to allow reflexive dlopens.
20844export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20845
20846# Compiler flag to generate shared objects directly from archives.
20847whole_archive_flag_spec=$lt_whole_archive_flag_spec
20848
20849# Whether the compiler copes with passing no objects directly.
20850compiler_needs_object=$lt_compiler_needs_object
20851
20852# Create an old-style archive from a shared archive.
20853old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20854
20855# Create a temporary old-style archive to link instead of a shared archive.
20856old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20857
20858# Commands used to build a shared archive.
20859archive_cmds=$lt_archive_cmds
20860archive_expsym_cmds=$lt_archive_expsym_cmds
20861
20862# Commands used to build a loadable module if different from building
20863# a shared archive.
20864module_cmds=$lt_module_cmds
20865module_expsym_cmds=$lt_module_expsym_cmds
20866
20867# Whether we are building with GNU ld or not.
20868with_gnu_ld=$lt_with_gnu_ld
20869
20870# Flag that allows shared libraries with undefined symbols to be built.
20871allow_undefined_flag=$lt_allow_undefined_flag
20872
20873# Flag that enforces no undefined symbols.
20874no_undefined_flag=$lt_no_undefined_flag
20875
20876# Flag to hardcode \$libdir into a binary during linking.
20877# This must work even if \$libdir does not exist
20878hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20879
20880# Whether we need a single "-rpath" flag with a separated argument.
20881hardcode_libdir_separator=$lt_hardcode_libdir_separator
20882
20883# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20884# DIR into the resulting binary.
20885hardcode_direct=$hardcode_direct
20886
20887# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20888# DIR into the resulting binary and the resulting library dependency is
20889# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20890# library is relocated.
20891hardcode_direct_absolute=$hardcode_direct_absolute
20892
20893# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20894# into the resulting binary.
20895hardcode_minus_L=$hardcode_minus_L
20896
20897# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20898# into the resulting binary.
20899hardcode_shlibpath_var=$hardcode_shlibpath_var
20900
20901# Set to "yes" if building a shared library automatically hardcodes DIR
20902# into the library and all subsequent libraries and executables linked
20903# against it.
20904hardcode_automatic=$hardcode_automatic
20905
20906# Set to yes if linker adds runtime paths of dependent libraries
20907# to runtime path list.
20908inherit_rpath=$inherit_rpath
20909
20910# Whether libtool must link a program against all its dependency libraries.
20911link_all_deplibs=$link_all_deplibs
20912
20913# Set to "yes" if exported symbols are required.
20914always_export_symbols=$always_export_symbols
20915
20916# The commands to list exported symbols.
20917export_symbols_cmds=$lt_export_symbols_cmds
20918
20919# Symbols that should not be listed in the preloaded symbols.
20920exclude_expsyms=$lt_exclude_expsyms
20921
20922# Symbols that must always be exported.
20923include_expsyms=$lt_include_expsyms
20924
20925# Commands necessary for linking programs (against libraries) with templates.
20926prelink_cmds=$lt_prelink_cmds
20927
20928# Commands necessary for finishing linking programs.
20929postlink_cmds=$lt_postlink_cmds
20930
20931# Specify filename containing input files.
20932file_list_spec=$lt_file_list_spec
20933
20934# How to hardcode a shared library path into an executable.
20935hardcode_action=$hardcode_action
20936
20937# The directories searched by this compiler when creating a shared library.
20938compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20939
20940# Dependencies to place before and after the objects being linked to
20941# create a shared library.
20942predep_objects=$lt_predep_objects
20943postdep_objects=$lt_postdep_objects
20944predeps=$lt_predeps
20945postdeps=$lt_postdeps
20946
20947# The library search path used internally by the compiler when linking
20948# a shared library.
20949compiler_lib_search_path=$lt_compiler_lib_search_path
20950
20951# ### END LIBTOOL CONFIG
20952
20953_LT_EOF
20954
20955    cat <<'_LT_EOF' >> "$cfgfile"
20956
20957# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20958
20959# func_munge_path_list VARIABLE PATH
20960# -----------------------------------
20961# VARIABLE is name of variable containing _space_ separated list of
20962# directories to be munged by the contents of PATH, which is string
20963# having a format:
20964# "DIR[:DIR]:"
20965#       string "DIR[ DIR]" will be prepended to VARIABLE
20966# ":DIR[:DIR]"
20967#       string "DIR[ DIR]" will be appended to VARIABLE
20968# "DIRP[:DIRP]::[DIRA:]DIRA"
20969#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20970#       "DIRA[ DIRA]" will be appended to VARIABLE
20971# "DIR[:DIR]"
20972#       VARIABLE will be replaced by "DIR[ DIR]"
20973func_munge_path_list ()
20974{
20975    case x$2 in
20976    x)
20977        ;;
20978    *:)
20979        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20980        ;;
20981    x:*)
20982        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20983        ;;
20984    *::*)
20985        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20986        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20987        ;;
20988    *)
20989        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20990        ;;
20991    esac
20992}
20993
20994
20995# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20996func_cc_basename ()
20997{
20998    for cc_temp in $*""; do
20999      case $cc_temp in
21000        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21001        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21002        \-*) ;;
21003        *) break;;
21004      esac
21005    done
21006    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21007}
21008
21009
21010# ### END FUNCTIONS SHARED WITH CONFIGURE
21011
21012_LT_EOF
21013
21014  case $host_os in
21015  aix3*)
21016    cat <<\_LT_EOF >> "$cfgfile"
21017# AIX sometimes has problems with the GCC collect2 program.  For some
21018# reason, if we set the COLLECT_NAMES environment variable, the problems
21019# vanish in a puff of smoke.
21020if test set != "${COLLECT_NAMES+set}"; then
21021  COLLECT_NAMES=
21022  export COLLECT_NAMES
21023fi
21024_LT_EOF
21025    ;;
21026  esac
21027
21028
21029ltmain=$ac_aux_dir/ltmain.sh
21030
21031
21032  # We use sed instead of cat because bash on DJGPP gets confused if
21033  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21034  # text mode, it properly converts lines to CR/LF.  This bash problem
21035  # is reportedly fixed, but why not run on old versions too?
21036  sed '$q' "$ltmain" >> "$cfgfile" \
21037     || (rm -f "$cfgfile"; exit 1)
21038
21039   mv -f "$cfgfile" "$ofile" ||
21040    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21041  chmod +x "$ofile"
21042
21043
21044    cat <<_LT_EOF >> "$ofile"
21045
21046# ### BEGIN LIBTOOL TAG CONFIG: CXX
21047
21048# The linker used to build libraries.
21049LD=$lt_LD_CXX
21050
21051# How to create reloadable object files.
21052reload_flag=$lt_reload_flag_CXX
21053reload_cmds=$lt_reload_cmds_CXX
21054
21055# Commands used to build an old-style archive.
21056old_archive_cmds=$lt_old_archive_cmds_CXX
21057
21058# A language specific compiler.
21059CC=$lt_compiler_CXX
21060
21061# Is the compiler the GNU compiler?
21062with_gcc=$GCC_CXX
21063
21064# Compiler flag to turn off builtin functions.
21065no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21066
21067# Additional compiler flags for building library objects.
21068pic_flag=$lt_lt_prog_compiler_pic_CXX
21069
21070# How to pass a linker flag through the compiler.
21071wl=$lt_lt_prog_compiler_wl_CXX
21072
21073# Compiler flag to prevent dynamic linking.
21074link_static_flag=$lt_lt_prog_compiler_static_CXX
21075
21076# Does compiler simultaneously support -c and -o options?
21077compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21078
21079# Whether or not to add -lc for building shared libraries.
21080build_libtool_need_lc=$archive_cmds_need_lc_CXX
21081
21082# Whether or not to disallow shared libs when runtime libs are static.
21083allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21084
21085# Compiler flag to allow reflexive dlopens.
21086export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21087
21088# Compiler flag to generate shared objects directly from archives.
21089whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21090
21091# Whether the compiler copes with passing no objects directly.
21092compiler_needs_object=$lt_compiler_needs_object_CXX
21093
21094# Create an old-style archive from a shared archive.
21095old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21096
21097# Create a temporary old-style archive to link instead of a shared archive.
21098old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21099
21100# Commands used to build a shared archive.
21101archive_cmds=$lt_archive_cmds_CXX
21102archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21103
21104# Commands used to build a loadable module if different from building
21105# a shared archive.
21106module_cmds=$lt_module_cmds_CXX
21107module_expsym_cmds=$lt_module_expsym_cmds_CXX
21108
21109# Whether we are building with GNU ld or not.
21110with_gnu_ld=$lt_with_gnu_ld_CXX
21111
21112# Flag that allows shared libraries with undefined symbols to be built.
21113allow_undefined_flag=$lt_allow_undefined_flag_CXX
21114
21115# Flag that enforces no undefined symbols.
21116no_undefined_flag=$lt_no_undefined_flag_CXX
21117
21118# Flag to hardcode \$libdir into a binary during linking.
21119# This must work even if \$libdir does not exist
21120hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21121
21122# Whether we need a single "-rpath" flag with a separated argument.
21123hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21124
21125# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21126# DIR into the resulting binary.
21127hardcode_direct=$hardcode_direct_CXX
21128
21129# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21130# DIR into the resulting binary and the resulting library dependency is
21131# "absolute",i.e impossible to change by setting \$shlibpath_var if the
21132# library is relocated.
21133hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21134
21135# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21136# into the resulting binary.
21137hardcode_minus_L=$hardcode_minus_L_CXX
21138
21139# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21140# into the resulting binary.
21141hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21142
21143# Set to "yes" if building a shared library automatically hardcodes DIR
21144# into the library and all subsequent libraries and executables linked
21145# against it.
21146hardcode_automatic=$hardcode_automatic_CXX
21147
21148# Set to yes if linker adds runtime paths of dependent libraries
21149# to runtime path list.
21150inherit_rpath=$inherit_rpath_CXX
21151
21152# Whether libtool must link a program against all its dependency libraries.
21153link_all_deplibs=$link_all_deplibs_CXX
21154
21155# Set to "yes" if exported symbols are required.
21156always_export_symbols=$always_export_symbols_CXX
21157
21158# The commands to list exported symbols.
21159export_symbols_cmds=$lt_export_symbols_cmds_CXX
21160
21161# Symbols that should not be listed in the preloaded symbols.
21162exclude_expsyms=$lt_exclude_expsyms_CXX
21163
21164# Symbols that must always be exported.
21165include_expsyms=$lt_include_expsyms_CXX
21166
21167# Commands necessary for linking programs (against libraries) with templates.
21168prelink_cmds=$lt_prelink_cmds_CXX
21169
21170# Commands necessary for finishing linking programs.
21171postlink_cmds=$lt_postlink_cmds_CXX
21172
21173# Specify filename containing input files.
21174file_list_spec=$lt_file_list_spec_CXX
21175
21176# How to hardcode a shared library path into an executable.
21177hardcode_action=$hardcode_action_CXX
21178
21179# The directories searched by this compiler when creating a shared library.
21180compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21181
21182# Dependencies to place before and after the objects being linked to
21183# create a shared library.
21184predep_objects=$lt_predep_objects_CXX
21185postdep_objects=$lt_postdep_objects_CXX
21186predeps=$lt_predeps_CXX
21187postdeps=$lt_postdeps_CXX
21188
21189# The library search path used internally by the compiler when linking
21190# a shared library.
21191compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21192
21193# ### END LIBTOOL TAG CONFIG: CXX
21194_LT_EOF
21195
21196 ;;
21197
21198  esac
21199done # for ac_tag
21200
21201
21202as_fn_exit 0
21203_ACEOF
21204ac_clean_files=$ac_clean_files_save
21205
21206test $ac_write_fail = 0 ||
21207  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21208
21209
21210# configure is writing to config.log, and then calls config.status.
21211# config.status does its own redirection, appending to config.log.
21212# Unfortunately, on DOS this fails, as config.log is still kept open
21213# by configure, so config.status won't be able to write to it; its
21214# output is simply discarded.  So we exec the FD to /dev/null,
21215# effectively closing config.log, so it can be properly (re)opened and
21216# appended to by config.status.  When coming back to configure, we
21217# need to make the FD available again.
21218if test "$no_create" != yes; then
21219  ac_cs_success=:
21220  ac_config_status_args=
21221  test "$silent" = yes &&
21222    ac_config_status_args="$ac_config_status_args --quiet"
21223  exec 5>/dev/null
21224  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21225  exec 5>>config.log
21226  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21227  # would make configure fail if this is the last instruction.
21228  $ac_cs_success || as_fn_exit 1
21229fi
21230if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21231  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21232$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21233fi
21234
21235
21236echo
21237echo '****************************** REPORT ******************************'
21238echo
21239echo UniMRCP version............... : $UNI_DOTTED_VERSION
21240echo
21241echo APR version................... : $apr_version
21242echo APR-util version.............. : $apu_version
21243echo Sofia-SIP version............. : $sofia_version
21244echo
21245echo Compiler...................... : $CC
21246echo Compiler flags................ : $CFLAGS
21247echo Preprocessor definitions...... : $CPPFLAGS
21248echo Linker flags.................. : $LDFLAGS
21249echo
21250echo UniMRCP client lib............ : $enable_client_lib
21251echo Sample UniMRCP client app..... : $enable_client_app
21252echo Sample UMC C++ client app..... : $enable_umc
21253echo Misc ASR client lib and app... : $enable_asr_client
21254echo
21255echo UniMRCP server lib............ : $enable_server_lib
21256echo UniMRCP server app............ : $enable_server_app
21257echo
21258echo Demo synthesizer plugin....... : $enable_demosynth_plugin
21259echo Demo recognizer plugin........ : $enable_demorecog_plugin
21260echo Demo verifier plugin.......... : $enable_demoverifier_plugin
21261echo Recorder plugin............... : $enable_recorder_plugin
21262echo
21263echo Installation layout........... : $layout_name
21264echo Installation directory........ : $prefix
21265echo
21266echo '********************************************************************'
21267