1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libmediainfo 21.09.
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='libmediainfo'
589PACKAGE_TARNAME='libmediainfo'
590PACKAGE_VERSION='21.09'
591PACKAGE_STRING='libmediainfo 21.09'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="../../../Source/MediaInfo/MediaInfo.cpp"
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
636Curl_Lib
637Curl_Require
638Graphviz_Lib
639Graphviz_Require
640MediaInfoLib_LibName
641MediaInfoLib_Unicode
642MediaInfoLib_LIBS_Static
643MediaInfoLib_LIBS
644MediaInfoLib_CXXFLAGS
645COMPILE_TINYXML2_FALSE
646COMPILE_TINYXML2_TRUE
647TINYXML2_LIBS
648TINYXML2_CFLAGS
649COMPILE_HMAC_FALSE
650COMPILE_HMAC_TRUE
651HMAC_GLADMAN_LIBS
652HMAC_GLADMAN_CFLAGS
653COMPILE_SHA2_FALSE
654COMPILE_SHA2_TRUE
655SHA2_GLADMAN_LIBS
656SHA2_GLADMAN_CFLAGS
657COMPILE_SHA1_FALSE
658COMPILE_SHA1_TRUE
659SHA1_GLADMAN_LIBS
660SHA1_GLADMAN_CFLAGS
661COMPILE_MD5_FALSE
662COMPILE_MD5_TRUE
663MD5_LIBS
664MD5_CFLAGS
665COMPILE_AES_FALSE
666COMPILE_AES_TRUE
667AES_GLADMAN_LIBS
668AES_GLADMAN_CFLAGS
669PKG_CONFIG_LIBDIR
670PKG_CONFIG_PATH
671PKG_CONFIG
672COMPILE_DLL_FALSE
673COMPILE_DLL_TRUE
674CXXCPP
675CPP
676LT_SYS_LIBRARY_PATH
677OTOOL64
678OTOOL
679LIPO
680NMEDIT
681DSYMUTIL
682MANIFEST_TOOL
683RANLIB
684ac_ct_AR
685AR
686LN_S
687NM
688ac_ct_DUMPBIN
689DUMPBIN
690LD
691FGREP
692EGREP
693GREP
694SED
695LIBTOOL
696OBJDUMP
697DLLTOOL
698AS
699host_os
700host_vendor
701host_cpu
702host
703am__fastdepCXX_FALSE
704am__fastdepCXX_TRUE
705CXXDEPMODE
706ac_ct_CXX
707CXXFLAGS
708CXX
709am__fastdepCC_FALSE
710am__fastdepCC_TRUE
711CCDEPMODE
712am__nodep
713AMDEPBACKSLASH
714AMDEP_FALSE
715AMDEP_TRUE
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
752build_os
753build_vendor
754build_cpu
755build
756target_alias
757host_alias
758build_alias
759LIBS
760ECHO_T
761ECHO_N
762ECHO_C
763DEFS
764mandir
765localedir
766libdir
767psdir
768pdfdir
769dvidir
770htmldir
771infodir
772docdir
773oldincludedir
774includedir
775runstatedir
776localstatedir
777sharedstatedir
778sysconfdir
779datadir
780datarootdir
781libexecdir
782sbindir
783bindir
784program_transform_name
785prefix
786exec_prefix
787PACKAGE_URL
788PACKAGE_BUGREPORT
789PACKAGE_STRING
790PACKAGE_VERSION
791PACKAGE_TARNAME
792PACKAGE_NAME
793PATH_SEPARATOR
794SHELL
795am__quote'
796ac_subst_files=''
797ac_user_opts='
798enable_option_checking
799enable_silent_rules
800enable_dependency_tracking
801enable_static
802enable_shared
803with_pic
804enable_fast_install
805with_aix_soname
806with_gnu_ld
807with_sysroot
808enable_libtool_lock
809enable_debug
810enable_gprof
811enable_visibility
812enable_universal_binary
813enable_arch_ppc
814enable_arch_ppc64
815enable_arch_i386
816enable_arch_x86_64
817enable_arch_armv7
818enable_arch_armv7s
819enable_arch_arm64
820enable_staticlibs
821enable_minimize_size
822enable_minimal
823enable_trace
824enable_events
825enable_demux
826enable_libmms_describe_support
827enable_dll
828enable_jni
829enable_all
830enable_archive
831enable_audio
832enable_image
833enable_multi
834enable_tag
835enable_text
836enable_video
837enable_7z
838enable_ace
839enable_bzip2
840enable_elf
841enable_gzip
842enable_iso9660
843enable_mz
844enable_rar
845enable_tar
846enable_zip
847enable_aac
848enable_ac3
849enable_adif
850enable_adpcm
851enable_adts
852enable_aes3
853enable_als
854enable_amr
855enable_amv
856enable_ape
857enable_au
858enable_caf
859enable_celt
860enable_dts
861enable_flac
862enable_la
863enable_latm
864enable_midi
865enable_mpc
866enable_mpcsv8
867enable_mpega
868enable_openmf
869enable_pcm
870enable_ps2a
871enable_rkau
872enable_speex
873enable_tak
874enable_tta
875enable_twinvq
876enable_vorbis
877enable_wvpk
878enable_arriraw
879enable_bmp
880enable_bpg
881enable_dds
882enable_dpx
883enable_exr
884enable_gif
885enable_ico
886enable_jpeg
887enable_pcx
888enable_png
889enable_psd
890enable_rle
891enable_tiff
892enable_aaf
893enable_bdav
894enable_bdmv
895enable_cdxa
896enable_dashmpd
897enable_dcp
898enable_dpg
899enable_references
900enable_dvdif
901enable_dvdif_analyze
902enable_dvdv
903enable_dxw
904enable_flv
905enable_gxf
906enable_hdsf4m
907enable_hls
908enable_mk
909enable_mixml
910enable_mpeg4
911enable_mpegps
912enable_mpegts
913enable_mpegts_pcr
914enable_mpegts_pestimestamp
915enable_mxf
916enable_nut
917enable_ogg
918enable_pmp
919enable_riff
920enable_rm
921enable_skm
922enable_swf
923enable_tsp
924enable_wm
925enable_apetag
926enable_Id3
927enable_Id3v2
928enable_Lyrics3
929enable_Lyrics3v2
930enable_VorbisCom
931enable_cmml
932enable_dvbsubtitle
933enable_aribstdb24b37
934enable_eia608
935enable_eia708
936enable_subrip
937enable_teletext
938enable_timedtext
939enable_ttml
940enable_kate
941enable_pdf
942enable_pgs
943enable_scc
944enable_aic
945enable_av1
946enable_avc
947enable_avsV
948enable_canopus
949enable_ffv1
950enable_flic
951enable_h263
952enable_hevc
953enable_huffyuv
954enable_mpeg4v
955enable_mpegv
956enable_prores
957enable_theora
958enable_vc1
959enable_vc3
960enable_vp8
961enable_y4m
962with_macosx_sdk
963with_macosx_version_min
964with_iphoneos_sdk
965with_iphoneos_version_min
966with_libz_static
967with_graphviz
968with_libcurl
969with_libmms
970with_libaes
971with_libmd5
972with_libsha1
973with_libsha2
974with_libhmac
975with_libtinyxml2
976with_libmediainfo_name
977'
978      ac_precious_vars='build_alias
979host_alias
980target_alias
981CC
982CFLAGS
983LDFLAGS
984LIBS
985CPPFLAGS
986CXX
987CXXFLAGS
988CCC
989LT_SYS_LIBRARY_PATH
990CPP
991CXXCPP
992PKG_CONFIG
993PKG_CONFIG_PATH
994PKG_CONFIG_LIBDIR
995AES_GLADMAN_CFLAGS
996AES_GLADMAN_LIBS
997MD5_CFLAGS
998MD5_LIBS
999SHA1_GLADMAN_CFLAGS
1000SHA1_GLADMAN_LIBS
1001SHA2_GLADMAN_CFLAGS
1002SHA2_GLADMAN_LIBS
1003HMAC_GLADMAN_CFLAGS
1004HMAC_GLADMAN_LIBS
1005TINYXML2_CFLAGS
1006TINYXML2_LIBS'
1007
1008
1009# Initialize some variables set by options.
1010ac_init_help=
1011ac_init_version=false
1012ac_unrecognized_opts=
1013ac_unrecognized_sep=
1014# The variables have the same names as the options, with
1015# dashes changed to underlines.
1016cache_file=/dev/null
1017exec_prefix=NONE
1018no_create=
1019no_recursion=
1020prefix=NONE
1021program_prefix=NONE
1022program_suffix=NONE
1023program_transform_name=s,x,x,
1024silent=
1025site=
1026srcdir=
1027verbose=
1028x_includes=NONE
1029x_libraries=NONE
1030
1031# Installation directory options.
1032# These are left unexpanded so users can "make install exec_prefix=/foo"
1033# and all the variables that are supposed to be based on exec_prefix
1034# by default will actually change.
1035# Use braces instead of parens because sh, perl, etc. also accept them.
1036# (The list follows the same order as the GNU Coding Standards.)
1037bindir='${exec_prefix}/bin'
1038sbindir='${exec_prefix}/sbin'
1039libexecdir='${exec_prefix}/libexec'
1040datarootdir='${prefix}/share'
1041datadir='${datarootdir}'
1042sysconfdir='${prefix}/etc'
1043sharedstatedir='${prefix}/com'
1044localstatedir='${prefix}/var'
1045runstatedir='${localstatedir}/run'
1046includedir='${prefix}/include'
1047oldincludedir='/usr/include'
1048docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1049infodir='${datarootdir}/info'
1050htmldir='${docdir}'
1051dvidir='${docdir}'
1052pdfdir='${docdir}'
1053psdir='${docdir}'
1054libdir='${exec_prefix}/lib'
1055localedir='${datarootdir}/locale'
1056mandir='${datarootdir}/man'
1057
1058ac_prev=
1059ac_dashdash=
1060for ac_option
1061do
1062  # If the previous option needs an argument, assign it.
1063  if test -n "$ac_prev"; then
1064    eval $ac_prev=\$ac_option
1065    ac_prev=
1066    continue
1067  fi
1068
1069  case $ac_option in
1070  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1071  *=)   ac_optarg= ;;
1072  *)    ac_optarg=yes ;;
1073  esac
1074
1075  # Accept the important Cygnus configure options, so we can diagnose typos.
1076
1077  case $ac_dashdash$ac_option in
1078  --)
1079    ac_dashdash=yes ;;
1080
1081  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1082    ac_prev=bindir ;;
1083  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1084    bindir=$ac_optarg ;;
1085
1086  -build | --build | --buil | --bui | --bu)
1087    ac_prev=build_alias ;;
1088  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1089    build_alias=$ac_optarg ;;
1090
1091  -cache-file | --cache-file | --cache-fil | --cache-fi \
1092  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1093    ac_prev=cache_file ;;
1094  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1095  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1096    cache_file=$ac_optarg ;;
1097
1098  --config-cache | -C)
1099    cache_file=config.cache ;;
1100
1101  -datadir | --datadir | --datadi | --datad)
1102    ac_prev=datadir ;;
1103  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1104    datadir=$ac_optarg ;;
1105
1106  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1107  | --dataroo | --dataro | --datar)
1108    ac_prev=datarootdir ;;
1109  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1110  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1111    datarootdir=$ac_optarg ;;
1112
1113  -disable-* | --disable-*)
1114    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1115    # Reject names that are not valid shell variable names.
1116    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117      as_fn_error $? "invalid feature name: $ac_useropt"
1118    ac_useropt_orig=$ac_useropt
1119    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120    case $ac_user_opts in
1121      *"
1122"enable_$ac_useropt"
1123"*) ;;
1124      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1125	 ac_unrecognized_sep=', ';;
1126    esac
1127    eval enable_$ac_useropt=no ;;
1128
1129  -docdir | --docdir | --docdi | --doc | --do)
1130    ac_prev=docdir ;;
1131  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1132    docdir=$ac_optarg ;;
1133
1134  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1135    ac_prev=dvidir ;;
1136  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1137    dvidir=$ac_optarg ;;
1138
1139  -enable-* | --enable-*)
1140    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1141    # Reject names that are not valid shell variable names.
1142    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143      as_fn_error $? "invalid feature name: $ac_useropt"
1144    ac_useropt_orig=$ac_useropt
1145    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146    case $ac_user_opts in
1147      *"
1148"enable_$ac_useropt"
1149"*) ;;
1150      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1151	 ac_unrecognized_sep=', ';;
1152    esac
1153    eval enable_$ac_useropt=\$ac_optarg ;;
1154
1155  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1156  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1157  | --exec | --exe | --ex)
1158    ac_prev=exec_prefix ;;
1159  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1160  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1161  | --exec=* | --exe=* | --ex=*)
1162    exec_prefix=$ac_optarg ;;
1163
1164  -gas | --gas | --ga | --g)
1165    # Obsolete; use --with-gas.
1166    with_gas=yes ;;
1167
1168  -help | --help | --hel | --he | -h)
1169    ac_init_help=long ;;
1170  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1171    ac_init_help=recursive ;;
1172  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1173    ac_init_help=short ;;
1174
1175  -host | --host | --hos | --ho)
1176    ac_prev=host_alias ;;
1177  -host=* | --host=* | --hos=* | --ho=*)
1178    host_alias=$ac_optarg ;;
1179
1180  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1181    ac_prev=htmldir ;;
1182  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1183  | --ht=*)
1184    htmldir=$ac_optarg ;;
1185
1186  -includedir | --includedir | --includedi | --included | --include \
1187  | --includ | --inclu | --incl | --inc)
1188    ac_prev=includedir ;;
1189  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1190  | --includ=* | --inclu=* | --incl=* | --inc=*)
1191    includedir=$ac_optarg ;;
1192
1193  -infodir | --infodir | --infodi | --infod | --info | --inf)
1194    ac_prev=infodir ;;
1195  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1196    infodir=$ac_optarg ;;
1197
1198  -libdir | --libdir | --libdi | --libd)
1199    ac_prev=libdir ;;
1200  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1201    libdir=$ac_optarg ;;
1202
1203  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1204  | --libexe | --libex | --libe)
1205    ac_prev=libexecdir ;;
1206  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1207  | --libexe=* | --libex=* | --libe=*)
1208    libexecdir=$ac_optarg ;;
1209
1210  -localedir | --localedir | --localedi | --localed | --locale)
1211    ac_prev=localedir ;;
1212  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1213    localedir=$ac_optarg ;;
1214
1215  -localstatedir | --localstatedir | --localstatedi | --localstated \
1216  | --localstate | --localstat | --localsta | --localst | --locals)
1217    ac_prev=localstatedir ;;
1218  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1219  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1220    localstatedir=$ac_optarg ;;
1221
1222  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1223    ac_prev=mandir ;;
1224  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1225    mandir=$ac_optarg ;;
1226
1227  -nfp | --nfp | --nf)
1228    # Obsolete; use --without-fp.
1229    with_fp=no ;;
1230
1231  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1232  | --no-cr | --no-c | -n)
1233    no_create=yes ;;
1234
1235  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1236  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1237    no_recursion=yes ;;
1238
1239  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1240  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1241  | --oldin | --oldi | --old | --ol | --o)
1242    ac_prev=oldincludedir ;;
1243  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1244  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1245  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1246    oldincludedir=$ac_optarg ;;
1247
1248  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1249    ac_prev=prefix ;;
1250  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1251    prefix=$ac_optarg ;;
1252
1253  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1254  | --program-pre | --program-pr | --program-p)
1255    ac_prev=program_prefix ;;
1256  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1257  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1258    program_prefix=$ac_optarg ;;
1259
1260  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1261  | --program-suf | --program-su | --program-s)
1262    ac_prev=program_suffix ;;
1263  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1264  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1265    program_suffix=$ac_optarg ;;
1266
1267  -program-transform-name | --program-transform-name \
1268  | --program-transform-nam | --program-transform-na \
1269  | --program-transform-n | --program-transform- \
1270  | --program-transform | --program-transfor \
1271  | --program-transfo | --program-transf \
1272  | --program-trans | --program-tran \
1273  | --progr-tra | --program-tr | --program-t)
1274    ac_prev=program_transform_name ;;
1275  -program-transform-name=* | --program-transform-name=* \
1276  | --program-transform-nam=* | --program-transform-na=* \
1277  | --program-transform-n=* | --program-transform-=* \
1278  | --program-transform=* | --program-transfor=* \
1279  | --program-transfo=* | --program-transf=* \
1280  | --program-trans=* | --program-tran=* \
1281  | --progr-tra=* | --program-tr=* | --program-t=*)
1282    program_transform_name=$ac_optarg ;;
1283
1284  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1285    ac_prev=pdfdir ;;
1286  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1287    pdfdir=$ac_optarg ;;
1288
1289  -psdir | --psdir | --psdi | --psd | --ps)
1290    ac_prev=psdir ;;
1291  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1292    psdir=$ac_optarg ;;
1293
1294  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295  | -silent | --silent | --silen | --sile | --sil)
1296    silent=yes ;;
1297
1298  -runstatedir | --runstatedir | --runstatedi | --runstated \
1299  | --runstate | --runstat | --runsta | --runst | --runs \
1300  | --run | --ru | --r)
1301    ac_prev=runstatedir ;;
1302  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1303  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1304  | --run=* | --ru=* | --r=*)
1305    runstatedir=$ac_optarg ;;
1306
1307  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308    ac_prev=sbindir ;;
1309  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310  | --sbi=* | --sb=*)
1311    sbindir=$ac_optarg ;;
1312
1313  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1314  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1315  | --sharedst | --shareds | --shared | --share | --shar \
1316  | --sha | --sh)
1317    ac_prev=sharedstatedir ;;
1318  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1319  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1320  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321  | --sha=* | --sh=*)
1322    sharedstatedir=$ac_optarg ;;
1323
1324  -site | --site | --sit)
1325    ac_prev=site ;;
1326  -site=* | --site=* | --sit=*)
1327    site=$ac_optarg ;;
1328
1329  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330    ac_prev=srcdir ;;
1331  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1332    srcdir=$ac_optarg ;;
1333
1334  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1335  | --syscon | --sysco | --sysc | --sys | --sy)
1336    ac_prev=sysconfdir ;;
1337  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1338  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1339    sysconfdir=$ac_optarg ;;
1340
1341  -target | --target | --targe | --targ | --tar | --ta | --t)
1342    ac_prev=target_alias ;;
1343  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1344    target_alias=$ac_optarg ;;
1345
1346  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1347    verbose=yes ;;
1348
1349  -version | --version | --versio | --versi | --vers | -V)
1350    ac_init_version=: ;;
1351
1352  -with-* | --with-*)
1353    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1354    # Reject names that are not valid shell variable names.
1355    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1356      as_fn_error $? "invalid package name: $ac_useropt"
1357    ac_useropt_orig=$ac_useropt
1358    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1359    case $ac_user_opts in
1360      *"
1361"with_$ac_useropt"
1362"*) ;;
1363      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1364	 ac_unrecognized_sep=', ';;
1365    esac
1366    eval with_$ac_useropt=\$ac_optarg ;;
1367
1368  -without-* | --without-*)
1369    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1370    # Reject names that are not valid shell variable names.
1371    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1372      as_fn_error $? "invalid package name: $ac_useropt"
1373    ac_useropt_orig=$ac_useropt
1374    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1375    case $ac_user_opts in
1376      *"
1377"with_$ac_useropt"
1378"*) ;;
1379      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1380	 ac_unrecognized_sep=', ';;
1381    esac
1382    eval with_$ac_useropt=no ;;
1383
1384  --x)
1385    # Obsolete; use --with-x.
1386    with_x=yes ;;
1387
1388  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389  | --x-incl | --x-inc | --x-in | --x-i)
1390    ac_prev=x_includes ;;
1391  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393    x_includes=$ac_optarg ;;
1394
1395  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397    ac_prev=x_libraries ;;
1398  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400    x_libraries=$ac_optarg ;;
1401
1402  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1403Try \`$0 --help' for more information"
1404    ;;
1405
1406  *=*)
1407    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1408    # Reject names that are not valid shell variable names.
1409    case $ac_envvar in #(
1410      '' | [0-9]* | *[!_$as_cr_alnum]* )
1411      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1412    esac
1413    eval $ac_envvar=\$ac_optarg
1414    export $ac_envvar ;;
1415
1416  *)
1417    # FIXME: should be removed in autoconf 3.0.
1418    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1422    ;;
1423
1424  esac
1425done
1426
1427if test -n "$ac_prev"; then
1428  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429  as_fn_error $? "missing argument to $ac_option"
1430fi
1431
1432if test -n "$ac_unrecognized_opts"; then
1433  case $enable_option_checking in
1434    no) ;;
1435    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1436    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1437  esac
1438fi
1439
1440# Check all directory arguments for consistency.
1441for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1442		datadir sysconfdir sharedstatedir localstatedir includedir \
1443		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1444		libdir localedir mandir runstatedir
1445do
1446  eval ac_val=\$$ac_var
1447  # Remove trailing slashes.
1448  case $ac_val in
1449    */ )
1450      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1451      eval $ac_var=\$ac_val;;
1452  esac
1453  # Be sure to have absolute directory names.
1454  case $ac_val in
1455    [\\/$]* | ?:[\\/]* )  continue;;
1456    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1457  esac
1458  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1459done
1460
1461# There might be people who depend on the old broken behavior: `$host'
1462# used to hold the argument of --host etc.
1463# FIXME: To remove some day.
1464build=$build_alias
1465host=$host_alias
1466target=$target_alias
1467
1468# FIXME: To remove some day.
1469if test "x$host_alias" != x; then
1470  if test "x$build_alias" = x; then
1471    cross_compiling=maybe
1472  elif test "x$build_alias" != "x$host_alias"; then
1473    cross_compiling=yes
1474  fi
1475fi
1476
1477ac_tool_prefix=
1478test -n "$host_alias" && ac_tool_prefix=$host_alias-
1479
1480test "$silent" = yes && exec 6>/dev/null
1481
1482
1483ac_pwd=`pwd` && test -n "$ac_pwd" &&
1484ac_ls_di=`ls -di .` &&
1485ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1486  as_fn_error $? "working directory cannot be determined"
1487test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1488  as_fn_error $? "pwd does not report name of working directory"
1489
1490
1491# Find the source files, if location was not specified.
1492if test -z "$srcdir"; then
1493  ac_srcdir_defaulted=yes
1494  # Try the directory containing this script, then the parent directory.
1495  ac_confdir=`$as_dirname -- "$as_myself" ||
1496$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497	 X"$as_myself" : 'X\(//\)[^/]' \| \
1498	 X"$as_myself" : 'X\(//\)$' \| \
1499	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1500$as_echo X"$as_myself" |
1501    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502	    s//\1/
1503	    q
1504	  }
1505	  /^X\(\/\/\)[^/].*/{
1506	    s//\1/
1507	    q
1508	  }
1509	  /^X\(\/\/\)$/{
1510	    s//\1/
1511	    q
1512	  }
1513	  /^X\(\/\).*/{
1514	    s//\1/
1515	    q
1516	  }
1517	  s/.*/./; q'`
1518  srcdir=$ac_confdir
1519  if test ! -r "$srcdir/$ac_unique_file"; then
1520    srcdir=..
1521  fi
1522else
1523  ac_srcdir_defaulted=no
1524fi
1525if test ! -r "$srcdir/$ac_unique_file"; then
1526  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1528fi
1529ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1530ac_abs_confdir=`(
1531	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1532	pwd)`
1533# When building in place, set srcdir=.
1534if test "$ac_abs_confdir" = "$ac_pwd"; then
1535  srcdir=.
1536fi
1537# Remove unnecessary trailing slashes from srcdir.
1538# Double slashes in file names in object file debugging info
1539# mess up M-x gdb in Emacs.
1540case $srcdir in
1541*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542esac
1543for ac_var in $ac_precious_vars; do
1544  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1545  eval ac_env_${ac_var}_value=\$${ac_var}
1546  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1547  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1548done
1549
1550#
1551# Report the --help message.
1552#
1553if test "$ac_init_help" = "long"; then
1554  # Omit some internal or obsolete options to make the list less imposing.
1555  # This message is too long to be a string in the A/UX 3.1 sh.
1556  cat <<_ACEOF
1557\`configure' configures libmediainfo 21.09 to adapt to many kinds of systems.
1558
1559Usage: $0 [OPTION]... [VAR=VALUE]...
1560
1561To assign environment variables (e.g., CC, CFLAGS...), specify them as
1562VAR=VALUE.  See below for descriptions of some of the useful variables.
1563
1564Defaults for the options are specified in brackets.
1565
1566Configuration:
1567  -h, --help              display this help and exit
1568      --help=short        display options specific to this package
1569      --help=recursive    display the short help of all the included packages
1570  -V, --version           display version information and exit
1571  -q, --quiet, --silent   do not print \`checking ...' messages
1572      --cache-file=FILE   cache test results in FILE [disabled]
1573  -C, --config-cache      alias for \`--cache-file=config.cache'
1574  -n, --no-create         do not create output files
1575      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1576
1577Installation directories:
1578  --prefix=PREFIX         install architecture-independent files in PREFIX
1579                          [$ac_default_prefix]
1580  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1581                          [PREFIX]
1582
1583By default, \`make install' will install all the files in
1584\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1585an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1586for instance \`--prefix=\$HOME'.
1587
1588For better control, use the options below.
1589
1590Fine tuning of the installation directories:
1591  --bindir=DIR            user executables [EPREFIX/bin]
1592  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1593  --libexecdir=DIR        program executables [EPREFIX/libexec]
1594  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1595  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1596  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1597  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1598  --libdir=DIR            object code libraries [EPREFIX/lib]
1599  --includedir=DIR        C header files [PREFIX/include]
1600  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1601  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1602  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1603  --infodir=DIR           info documentation [DATAROOTDIR/info]
1604  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1605  --mandir=DIR            man documentation [DATAROOTDIR/man]
1606  --docdir=DIR            documentation root [DATAROOTDIR/doc/libmediainfo]
1607  --htmldir=DIR           html documentation [DOCDIR]
1608  --dvidir=DIR            dvi documentation [DOCDIR]
1609  --pdfdir=DIR            pdf documentation [DOCDIR]
1610  --psdir=DIR             ps documentation [DOCDIR]
1611_ACEOF
1612
1613  cat <<\_ACEOF
1614
1615Program names:
1616  --program-prefix=PREFIX            prepend PREFIX to installed program names
1617  --program-suffix=SUFFIX            append SUFFIX to installed program names
1618  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1619
1620System types:
1621  --build=BUILD     configure for building on BUILD [guessed]
1622  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1623_ACEOF
1624fi
1625
1626if test -n "$ac_init_help"; then
1627  case $ac_init_help in
1628     short | recursive ) echo "Configuration of libmediainfo 21.09:";;
1629   esac
1630  cat <<\_ACEOF
1631
1632Optional Features:
1633  --disable-option-checking  ignore unrecognized --enable/--with options
1634  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1635  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1636  --enable-silent-rules   less verbose build output (undo: "make V=1")
1637  --disable-silent-rules  verbose build output (undo: "make V=0")
1638  --enable-dependency-tracking
1639                          do not reject slow dependency extractors
1640  --disable-dependency-tracking
1641                          speeds up one-time build
1642  --enable-static[=PKGS]  build static libraries [default=no]
1643  --enable-shared[=PKGS]  build shared libraries [default=yes]
1644  --enable-fast-install[=PKGS]
1645                          optimize for fast installation [default=yes]
1646  --disable-libtool-lock  avoid locking (might break parallel builds)
1647  --enable-debug          Enable full debug
1648  --enable-gprof          Enable gprof log
1649  --enable-visibility     Enable hidden visibility
1650  --enable-universal_binary
1651                          Create Mac PPC/i386 Universal binary
1652  --enable-arch-ppc       Create Mac PPC architecture
1653  --enable-arch-ppc64     Create Mac PPC64 architecture
1654  --enable-arch-i386      Create Mac/iPhone i386 architecture
1655  --enable-arch-x86_64    Create Mac/iPhone x86_64 architecture
1656  --enable-arch-armv7     Create iPhone ARMv7 architecture
1657  --enable-arch-armv7s    Create iPhone ARMv7s architecture
1658  --enable-arch-arm64     Create Mac/iPhone ARM64 architecture
1659  --enable-staticlibs     Use static libmediainfo and libzen
1660  --enable-minimize-size  Enable size optimisations
1661  --enable-minimal        Enable minimal management (except parsers)
1662  --enable-trace          Enable trace management
1663  --enable-events         Enable events management
1664  --enable-demux          Enable demux management
1665  --enable-libmms-describe-support
1666                          Enable customized libmms describe support
1667  --disable-dll           Disable dll iterface
1668  --disable-jni           Disable jni iterface
1669  --disable-all           Disable all parsers
1670  --disable-archive       Disable all archive parsers
1671  --disable-audio         Disable all audio parsers
1672  --disable-image         Disable all image parsers
1673  --disable-multi         Disable all multiple parsers
1674  --disable-tag           Disable all tag parsers
1675  --disable-text          Disable all text parsers
1676  --disable-video         Disable all video parsers
1677  --disable-7z            Disable Archive - 7z
1678  --disable-ace           Disable Archive - Ace
1679  --disable-bzip2         Disable Archive - Bzip2
1680  --disable-elf           Disable Archive - ELF
1681  --disable-gzip          Disable Archive - GZip
1682  --disable-iso9660       Disable Archive - ISO 9660
1683  --disable-mz            Disable Archive - MZ (DOS) and PE (Windows)
1684  --disable-rar           Disable Archive - Rar
1685  --disable-tar           Disable Archive - Tar
1686  --disable-zip           Disable Archive - Zip
1687  --disable-aac           Disable Audio - AAC (raw)
1688  --disable-ac3           Disable Audio - AC-3
1689  --disable-adif          Disable Audio - ADIF
1690  --disable-adpcm         Disable Audio - ADPCM
1691  --disable-adts          Disable Audio - ADTS
1692  --disable-aes3          Disable Audio - AES3
1693  --disable-als           Disable Audio - ALS
1694  --disable-amr           Disable Audio - AMR
1695  --disable-amv           Disable Audio - AMV
1696  --disable-ape           Disable Audio - Monkey Audio (.ape, .mac)
1697  --disable-au            Disable Audio - Au
1698  --disable-la            Disable Audio - CAF (Apple Core Audio Format)
1699  --disable-celt          Disable Audio - CELT
1700  --disable-dts           Disable Audio - DTS
1701  --disable-flac          Disable Audio - FLAC format
1702  --disable-la            Disable Audio - LA (Lossless Audio)
1703  --disable-latm          Disable Audio - LATM
1704  --disable-midi          Disable Audio - MIDI
1705  --disable-mpc           Disable Audio - Musepack format (.mpc)
1706  --disable-mpc           Disable Audio - Musepack format SV8 (.mpc)
1707  --disable-mpega         Disable Audio - MPEG-Audio
1708  --disable-openmg        Disable Audio - OpenMG (.oma)
1709  --disable-pcm           Disable Audio - PCM
1710  --disable-ps2a          Disable Audio - PS2 Audio
1711  --disable-rkau          Disable Audio - RK Audio
1712  --disable-speex         Disable Audio - Speex
1713  --disable-tak           Disable Audio - TAK
1714  --disable-tta           Disable Audio - True Audio
1715  --disable-twinvq        Disable Audio - TwinVQ
1716  --disable-vorbis        Disable Audio - Vorbis
1717  --disable-wvpk          Disable Audio - Wavepack
1718  --disable-arriraw       Disable Image - Arri Raw
1719  --disable-bmp           Disable Image - Bitmap
1720  --disable-bpg           Disable Image - BPG
1721  --disable-dds           Disable Image - DirectDraw Surface
1722  --disable-dpx           Disable Image - DPX
1723  --disable-exr           Disable Image - EXR
1724  --disable-gif           Disable Image - GIF
1725  --disable-ico           Disable Image - ICO
1726  --disable-jpeg          Disable Image - JPEG
1727  --disable-pcx           Disable Image - PCX
1728  --disable-png           Disable Image - PNG
1729  --disable-psd           Disable Image - PSD
1730  --disable-rle           Disable Image - Run-length encoding
1731  --disable-tiff          Disable Image - TIFF
1732  --disable-aaf           Disable Multiple - AAF
1733  --disable-bdav          Disable Multiple - Blu-ray audio-video (BDAV)
1734  --disable-bdmv          Disable Multiple - Blu-ray Movie
1735  --disable-cdxa          Disable Multiple - CDXA (CD mode 2)
1736  --disable-dashmpd       Disable Multiple - DASH MPD
1737  --disable-dcp           Disable Multiple - DCP
1738  --disable-dpg           Disable Multiple - DPG (Nintendo DS)
1739  --disable-references    Disable Multiple - Reference files support
1740  --disable-dvdif         Disable Multiple - DV DIF (Digital Video)
1741  --enable-dvdif-analyze  Enable Multiple - DV DIF (Digital Video) Analyze
1742                          part
1743  --disable-dvdv          Disable Multiple - DVD-Video
1744  --disable-dxw           Disable Multiple - DXW
1745  --disable-flv           Disable Multiple - FLV (Flash video)
1746  --disable-gxf           Disable Multiple - GXF
1747  --disable-hdsf4m        Disable Multiple - HDS F4M (Flash Media Manifest)
1748  --disable-hls           Disable Multiple - HLS
1749  --disable-mk            Disable Multiple - Matroska
1750  --disable-mixml         Disable Multiple - MIXML
1751  --disable-mpeg4         Disable Multiple - MPEG-4 based formats (MOV,
1752                          AAC...)
1753  --disable-mpegps        Disable Multiple - MPEG-PS
1754  --disable-mpegts        Disable Multiple - MPEG-TS
1755  --disable-mpegts-pcr    Disable Multiple - MPEG-TS (PCR)
1756  --disable-mpegts-pestimestamp
1757                          Disable Multiple - MPEG-TS (parser time stamp)
1758  --disable-mxf           Disable Multiple - MXF
1759  --disable-nut           Disable Multiple - Nut
1760  --disable-ogg           Disable Multiple - OGG (ogg, ogm)
1761  --disable-pmp           Disable Multiple - Playstation Portable (PMP)
1762  --disable-riff          Disable Multiple - RIFF based formats (AVI...)
1763  --disable-rm            Disable Multiple - Real Media
1764  --disable-skm           Disable Multiple - SKM
1765  --disable-swf           Disable Multiple - Shockwave
1766  --disable-tsp           Disable Multiple - TSP
1767  --disable-wm            Disable Multiple - Windows Media (ASF, WMV, WMA)
1768  --disable-apetag        Disable Tag - ApeTag
1769  --disable-Id3           Disable Tag - Id3
1770  --disable-Id3v2         Disable Tag - Id3v2
1771  --disable-Lyrics3       Disable Tag - Lyrics3
1772  --disable-Lyrics3v2     Disable Tag - Lyrics3v2
1773  --disable-VorbisCom     Disable Tag - VorbisCom
1774  --disable-cmml          Disable Text - CMML
1775  --disable-dvbSsubtitle  Disable Text - DVB Subtitle
1776  --disable-aribstdb24    Disable Text - Closed captions (ARIB STD B24/B37)
1777  --disable-eia608        Disable Text - Closed captions (EIA-608)
1778  --disable-eia708        Disable Text - Closed captions (EIA-708)
1779  --disable-subrip        Disable Text - SubRip
1780  --disable-teletext      Disable Text - Teletext
1781  --disable-timedtext     Disable Text - Timed Text (MPEG-4 Part 17)
1782  --disable-ttml          Disable Text - TTML
1783  --disable-kate          Disable Text - Kate
1784  --disable-pdf           Disable Text - PDF
1785  --disable-pgs           Disable Text - PGS
1786  --disable-scc           Disable Text - SCC
1787  --disable-aic           Disable Video - AIC (Apple Intermediate Codec)
1788  --disable-av1           Disable Video - Aomedia AV1
1789  --disable-avc           Disable Video - AVC/H264
1790  --disable-avsv          Disable Video - AVS (Chinese)
1791  --disable-canopus       Disable Video - Canopus
1792  --disable-ffv1          Disable Video - FFV1
1793  --disable-flic          Disable Video - FLIC (fli, flc)
1794  --disable-h263          Disable Video - H.263
1795  --disable-hevc          Disable Video - HEVC/H265
1796  --disable-huffyuv       Disable Video - HuffYUV
1797  --disable-mpeg4v        Disable Video - MPEG-4 Video based formats (DivX,
1798                          XviD...)
1799  --disable-mpegv         Disable Video - MPEG-Video
1800  --disable-prores        Disable Video - ProRes
1801  --disable-theora        Disable Video - Theora
1802  --disable-vc1           Disable Video - VC-1
1803  --disable-vc3           Disable Video - VC-3 (DNxHD)
1804  --disable-vp8           Disable Video - VP8
1805  --disable-y4m           Disable Video - YUV4MPEG2
1806
1807Optional Packages:
1808  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1809  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1810  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1811                          both]
1812  --with-aix-soname=aix|svr4|both
1813                          shared library versioning (aka "SONAME") variant to
1814                          provide on AIX, [default=aix].
1815  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1816  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1817                          compiler's sysroot if not specified).
1818  --with-macosx-sdk       Force the Mac SDK
1819  --with-macosx-version-min
1820                          Force the Mac Version
1821  --with-iphoneos-sdk     Force the iPhone SDK
1822  --with-iphoneos-version-min
1823                          Force the iPhone Version
1824  --with-libz-static      Use static version of Zlib
1825  --with-graphviz         Use graphviz (specific directory)
1826  --with-libcurl          Use libcurl (specific directory)
1827  --with-libmms           Use libmms (specific directory)
1828  --with-libaes           Use libaes (system)
1829  --with-libmd5           Use libmd5 (system)
1830  --with-libsha1          Use libsha1 (system)
1831  --with-libsha2          Use libsha2 (system)
1832  --with-libhmac          Use libhmac (system)
1833  --with-libtinyxml2      Use libtinyxml2 (system)
1834  --with-libmediainfo-name
1835                          Force libmediainfo filename
1836
1837Some influential environment variables:
1838  CC          C compiler command
1839  CFLAGS      C compiler flags
1840  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1841              nonstandard directory <lib dir>
1842  LIBS        libraries to pass to the linker, e.g. -l<library>
1843  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1844              you have headers in a nonstandard directory <include dir>
1845  CXX         C++ compiler command
1846  CXXFLAGS    C++ compiler flags
1847  LT_SYS_LIBRARY_PATH
1848              User-defined run-time library search path.
1849  CPP         C preprocessor
1850  CXXCPP      C++ preprocessor
1851  PKG_CONFIG  path to pkg-config utility
1852  PKG_CONFIG_PATH
1853              directories to add to pkg-config's search path
1854  PKG_CONFIG_LIBDIR
1855              path overriding pkg-config's built-in search path
1856  AES_GLADMAN_CFLAGS
1857              C compiler flags for AES_GLADMAN, overriding pkg-config
1858  AES_GLADMAN_LIBS
1859              linker flags for AES_GLADMAN, overriding pkg-config
1860  MD5_CFLAGS  C compiler flags for MD5, overriding pkg-config
1861  MD5_LIBS    linker flags for MD5, overriding pkg-config
1862  SHA1_GLADMAN_CFLAGS
1863              C compiler flags for SHA1_GLADMAN, overriding pkg-config
1864  SHA1_GLADMAN_LIBS
1865              linker flags for SHA1_GLADMAN, overriding pkg-config
1866  SHA2_GLADMAN_CFLAGS
1867              C compiler flags for SHA2_GLADMAN, overriding pkg-config
1868  SHA2_GLADMAN_LIBS
1869              linker flags for SHA2_GLADMAN, overriding pkg-config
1870  HMAC_GLADMAN_CFLAGS
1871              C compiler flags for HMAC_GLADMAN, overriding pkg-config
1872  HMAC_GLADMAN_LIBS
1873              linker flags for HMAC_GLADMAN, overriding pkg-config
1874  TINYXML2_CFLAGS
1875              C compiler flags for TINYXML2, overriding pkg-config
1876  TINYXML2_LIBS
1877              linker flags for TINYXML2, overriding pkg-config
1878
1879Use these variables to override the choices made by `configure' or to help
1880it to find libraries and programs with nonstandard names/locations.
1881
1882Report bugs to the package provider.
1883_ACEOF
1884ac_status=$?
1885fi
1886
1887if test "$ac_init_help" = "recursive"; then
1888  # If there are subdirs, report their specific --help.
1889  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1890    test -d "$ac_dir" ||
1891      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1892      continue
1893    ac_builddir=.
1894
1895case "$ac_dir" in
1896.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1897*)
1898  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1899  # A ".." for each directory in $ac_dir_suffix.
1900  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1901  case $ac_top_builddir_sub in
1902  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1903  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1904  esac ;;
1905esac
1906ac_abs_top_builddir=$ac_pwd
1907ac_abs_builddir=$ac_pwd$ac_dir_suffix
1908# for backward compatibility:
1909ac_top_builddir=$ac_top_build_prefix
1910
1911case $srcdir in
1912  .)  # We are building in place.
1913    ac_srcdir=.
1914    ac_top_srcdir=$ac_top_builddir_sub
1915    ac_abs_top_srcdir=$ac_pwd ;;
1916  [\\/]* | ?:[\\/]* )  # Absolute name.
1917    ac_srcdir=$srcdir$ac_dir_suffix;
1918    ac_top_srcdir=$srcdir
1919    ac_abs_top_srcdir=$srcdir ;;
1920  *) # Relative name.
1921    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1922    ac_top_srcdir=$ac_top_build_prefix$srcdir
1923    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1924esac
1925ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1926
1927    cd "$ac_dir" || { ac_status=$?; continue; }
1928    # Check for guested configure.
1929    if test -f "$ac_srcdir/configure.gnu"; then
1930      echo &&
1931      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1932    elif test -f "$ac_srcdir/configure"; then
1933      echo &&
1934      $SHELL "$ac_srcdir/configure" --help=recursive
1935    else
1936      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1937    fi || ac_status=$?
1938    cd "$ac_pwd" || { ac_status=$?; break; }
1939  done
1940fi
1941
1942test -n "$ac_init_help" && exit $ac_status
1943if $ac_init_version; then
1944  cat <<\_ACEOF
1945libmediainfo configure 21.09
1946generated by GNU Autoconf 2.69
1947
1948Copyright (C) 2012 Free Software Foundation, Inc.
1949This configure script is free software; the Free Software Foundation
1950gives unlimited permission to copy, distribute and modify it.
1951_ACEOF
1952  exit
1953fi
1954
1955## ------------------------ ##
1956## Autoconf initialization. ##
1957## ------------------------ ##
1958
1959# ac_fn_c_try_compile LINENO
1960# --------------------------
1961# Try to compile conftest.$ac_ext, and return whether this succeeded.
1962ac_fn_c_try_compile ()
1963{
1964  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965  rm -f conftest.$ac_objext
1966  if { { ac_try="$ac_compile"
1967case "(($ac_try" in
1968  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1969  *) ac_try_echo=$ac_try;;
1970esac
1971eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972$as_echo "$ac_try_echo"; } >&5
1973  (eval "$ac_compile") 2>conftest.err
1974  ac_status=$?
1975  if test -s conftest.err; then
1976    grep -v '^ *+' conftest.err >conftest.er1
1977    cat conftest.er1 >&5
1978    mv -f conftest.er1 conftest.err
1979  fi
1980  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981  test $ac_status = 0; } && {
1982	 test -z "$ac_c_werror_flag" ||
1983	 test ! -s conftest.err
1984       } && test -s conftest.$ac_objext; 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  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993  as_fn_set_status $ac_retval
1994
1995} # ac_fn_c_try_compile
1996
1997# ac_fn_cxx_try_compile LINENO
1998# ----------------------------
1999# Try to compile conftest.$ac_ext, and return whether this succeeded.
2000ac_fn_cxx_try_compile ()
2001{
2002  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003  rm -f conftest.$ac_objext
2004  if { { ac_try="$ac_compile"
2005case "(($ac_try" in
2006  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2007  *) ac_try_echo=$ac_try;;
2008esac
2009eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2010$as_echo "$ac_try_echo"; } >&5
2011  (eval "$ac_compile") 2>conftest.err
2012  ac_status=$?
2013  if test -s conftest.err; then
2014    grep -v '^ *+' conftest.err >conftest.er1
2015    cat conftest.er1 >&5
2016    mv -f conftest.er1 conftest.err
2017  fi
2018  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019  test $ac_status = 0; } && {
2020	 test -z "$ac_cxx_werror_flag" ||
2021	 test ! -s conftest.err
2022       } && test -s conftest.$ac_objext; then :
2023  ac_retval=0
2024else
2025  $as_echo "$as_me: failed program was:" >&5
2026sed 's/^/| /' conftest.$ac_ext >&5
2027
2028	ac_retval=1
2029fi
2030  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031  as_fn_set_status $ac_retval
2032
2033} # ac_fn_cxx_try_compile
2034
2035# ac_fn_c_try_link LINENO
2036# -----------------------
2037# Try to link conftest.$ac_ext, and return whether this succeeded.
2038ac_fn_c_try_link ()
2039{
2040  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041  rm -f conftest.$ac_objext conftest$ac_exeext
2042  if { { ac_try="$ac_link"
2043case "(($ac_try" in
2044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2045  *) ac_try_echo=$ac_try;;
2046esac
2047eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2048$as_echo "$ac_try_echo"; } >&5
2049  (eval "$ac_link") 2>conftest.err
2050  ac_status=$?
2051  if test -s conftest.err; then
2052    grep -v '^ *+' conftest.err >conftest.er1
2053    cat conftest.er1 >&5
2054    mv -f conftest.er1 conftest.err
2055  fi
2056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057  test $ac_status = 0; } && {
2058	 test -z "$ac_c_werror_flag" ||
2059	 test ! -s conftest.err
2060       } && test -s conftest$ac_exeext && {
2061	 test "$cross_compiling" = yes ||
2062	 test -x conftest$ac_exeext
2063       }; then :
2064  ac_retval=0
2065else
2066  $as_echo "$as_me: failed program was:" >&5
2067sed 's/^/| /' conftest.$ac_ext >&5
2068
2069	ac_retval=1
2070fi
2071  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2072  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2073  # interfere with the next link command; also delete a directory that is
2074  # left behind by Apple's compiler.  We do this before executing the actions.
2075  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2076  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077  as_fn_set_status $ac_retval
2078
2079} # ac_fn_c_try_link
2080
2081# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2082# -------------------------------------------------------
2083# Tests whether HEADER exists and can be compiled using the include files in
2084# INCLUDES, setting the cache variable VAR accordingly.
2085ac_fn_c_check_header_compile ()
2086{
2087  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2089$as_echo_n "checking for $2... " >&6; }
2090if eval \${$3+:} false; then :
2091  $as_echo_n "(cached) " >&6
2092else
2093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094/* end confdefs.h.  */
2095$4
2096#include <$2>
2097_ACEOF
2098if ac_fn_c_try_compile "$LINENO"; then :
2099  eval "$3=yes"
2100else
2101  eval "$3=no"
2102fi
2103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104fi
2105eval ac_res=\$$3
2106	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107$as_echo "$ac_res" >&6; }
2108  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109
2110} # ac_fn_c_check_header_compile
2111
2112# ac_fn_c_try_cpp LINENO
2113# ----------------------
2114# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2115ac_fn_c_try_cpp ()
2116{
2117  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118  if { { ac_try="$ac_cpp conftest.$ac_ext"
2119case "(($ac_try" in
2120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2121  *) ac_try_echo=$ac_try;;
2122esac
2123eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2124$as_echo "$ac_try_echo"; } >&5
2125  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2126  ac_status=$?
2127  if test -s conftest.err; then
2128    grep -v '^ *+' conftest.err >conftest.er1
2129    cat conftest.er1 >&5
2130    mv -f conftest.er1 conftest.err
2131  fi
2132  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2133  test $ac_status = 0; } > conftest.i && {
2134	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2135	 test ! -s conftest.err
2136       }; then :
2137  ac_retval=0
2138else
2139  $as_echo "$as_me: failed program was:" >&5
2140sed 's/^/| /' conftest.$ac_ext >&5
2141
2142    ac_retval=1
2143fi
2144  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145  as_fn_set_status $ac_retval
2146
2147} # ac_fn_c_try_cpp
2148
2149# ac_fn_c_try_run LINENO
2150# ----------------------
2151# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2152# that executables *can* be run.
2153ac_fn_c_try_run ()
2154{
2155  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156  if { { ac_try="$ac_link"
2157case "(($ac_try" in
2158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2159  *) ac_try_echo=$ac_try;;
2160esac
2161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2162$as_echo "$ac_try_echo"; } >&5
2163  (eval "$ac_link") 2>&5
2164  ac_status=$?
2165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2166  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2167  { { case "(($ac_try" in
2168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2169  *) ac_try_echo=$ac_try;;
2170esac
2171eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2172$as_echo "$ac_try_echo"; } >&5
2173  (eval "$ac_try") 2>&5
2174  ac_status=$?
2175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176  test $ac_status = 0; }; }; then :
2177  ac_retval=0
2178else
2179  $as_echo "$as_me: program exited with status $ac_status" >&5
2180       $as_echo "$as_me: failed program was:" >&5
2181sed 's/^/| /' conftest.$ac_ext >&5
2182
2183       ac_retval=$ac_status
2184fi
2185  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2186  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2187  as_fn_set_status $ac_retval
2188
2189} # ac_fn_c_try_run
2190
2191# ac_fn_c_check_func LINENO FUNC VAR
2192# ----------------------------------
2193# Tests whether FUNC exists, setting the cache variable VAR accordingly
2194ac_fn_c_check_func ()
2195{
2196  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198$as_echo_n "checking for $2... " >&6; }
2199if eval \${$3+:} false; then :
2200  $as_echo_n "(cached) " >&6
2201else
2202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203/* end confdefs.h.  */
2204/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2205   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2206#define $2 innocuous_$2
2207
2208/* System header to define __stub macros and hopefully few prototypes,
2209    which can conflict with char $2 (); below.
2210    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2211    <limits.h> exists even on freestanding compilers.  */
2212
2213#ifdef __STDC__
2214# include <limits.h>
2215#else
2216# include <assert.h>
2217#endif
2218
2219#undef $2
2220
2221/* Override any GCC internal prototype to avoid an error.
2222   Use char because int might match the return type of a GCC
2223   builtin and then its argument prototype would still apply.  */
2224#ifdef __cplusplus
2225extern "C"
2226#endif
2227char $2 ();
2228/* The GNU C library defines this for functions which it implements
2229    to always fail with ENOSYS.  Some functions are actually named
2230    something starting with __ and the normal name is an alias.  */
2231#if defined __stub_$2 || defined __stub___$2
2232choke me
2233#endif
2234
2235int
2236main ()
2237{
2238return $2 ();
2239  ;
2240  return 0;
2241}
2242_ACEOF
2243if ac_fn_c_try_link "$LINENO"; then :
2244  eval "$3=yes"
2245else
2246  eval "$3=no"
2247fi
2248rm -f core conftest.err conftest.$ac_objext \
2249    conftest$ac_exeext conftest.$ac_ext
2250fi
2251eval ac_res=\$$3
2252	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253$as_echo "$ac_res" >&6; }
2254  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255
2256} # ac_fn_c_check_func
2257
2258# ac_fn_cxx_try_cpp LINENO
2259# ------------------------
2260# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2261ac_fn_cxx_try_cpp ()
2262{
2263  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264  if { { ac_try="$ac_cpp conftest.$ac_ext"
2265case "(($ac_try" in
2266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267  *) ac_try_echo=$ac_try;;
2268esac
2269eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2270$as_echo "$ac_try_echo"; } >&5
2271  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2272  ac_status=$?
2273  if test -s conftest.err; then
2274    grep -v '^ *+' conftest.err >conftest.er1
2275    cat conftest.er1 >&5
2276    mv -f conftest.er1 conftest.err
2277  fi
2278  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2279  test $ac_status = 0; } > conftest.i && {
2280	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2281	 test ! -s conftest.err
2282       }; then :
2283  ac_retval=0
2284else
2285  $as_echo "$as_me: failed program was:" >&5
2286sed 's/^/| /' conftest.$ac_ext >&5
2287
2288    ac_retval=1
2289fi
2290  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291  as_fn_set_status $ac_retval
2292
2293} # ac_fn_cxx_try_cpp
2294
2295# ac_fn_cxx_try_link LINENO
2296# -------------------------
2297# Try to link conftest.$ac_ext, and return whether this succeeded.
2298ac_fn_cxx_try_link ()
2299{
2300  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301  rm -f conftest.$ac_objext conftest$ac_exeext
2302  if { { ac_try="$ac_link"
2303case "(($ac_try" in
2304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305  *) ac_try_echo=$ac_try;;
2306esac
2307eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308$as_echo "$ac_try_echo"; } >&5
2309  (eval "$ac_link") 2>conftest.err
2310  ac_status=$?
2311  if test -s conftest.err; then
2312    grep -v '^ *+' conftest.err >conftest.er1
2313    cat conftest.er1 >&5
2314    mv -f conftest.er1 conftest.err
2315  fi
2316  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317  test $ac_status = 0; } && {
2318	 test -z "$ac_cxx_werror_flag" ||
2319	 test ! -s conftest.err
2320       } && test -s conftest$ac_exeext && {
2321	 test "$cross_compiling" = yes ||
2322	 test -x conftest$ac_exeext
2323       }; then :
2324  ac_retval=0
2325else
2326  $as_echo "$as_me: failed program was:" >&5
2327sed 's/^/| /' conftest.$ac_ext >&5
2328
2329	ac_retval=1
2330fi
2331  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2332  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2333  # interfere with the next link command; also delete a directory that is
2334  # left behind by Apple's compiler.  We do this before executing the actions.
2335  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2336  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337  as_fn_set_status $ac_retval
2338
2339} # ac_fn_cxx_try_link
2340
2341# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2342# -------------------------------------------------------
2343# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2344# the include files in INCLUDES and setting the cache variable VAR
2345# accordingly.
2346ac_fn_c_check_header_mongrel ()
2347{
2348  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349  if eval \${$3+:} false; then :
2350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2351$as_echo_n "checking for $2... " >&6; }
2352if eval \${$3+:} false; then :
2353  $as_echo_n "(cached) " >&6
2354fi
2355eval ac_res=\$$3
2356	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2357$as_echo "$ac_res" >&6; }
2358else
2359  # Is the header compilable?
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2361$as_echo_n "checking $2 usability... " >&6; }
2362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363/* end confdefs.h.  */
2364$4
2365#include <$2>
2366_ACEOF
2367if ac_fn_c_try_compile "$LINENO"; then :
2368  ac_header_compiler=yes
2369else
2370  ac_header_compiler=no
2371fi
2372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2374$as_echo "$ac_header_compiler" >&6; }
2375
2376# Is the header present?
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2378$as_echo_n "checking $2 presence... " >&6; }
2379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2380/* end confdefs.h.  */
2381#include <$2>
2382_ACEOF
2383if ac_fn_c_try_cpp "$LINENO"; then :
2384  ac_header_preproc=yes
2385else
2386  ac_header_preproc=no
2387fi
2388rm -f conftest.err conftest.i conftest.$ac_ext
2389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2390$as_echo "$ac_header_preproc" >&6; }
2391
2392# So?  What about this header?
2393case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2394  yes:no: )
2395    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2396$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2397    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2398$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2399    ;;
2400  no:yes:* )
2401    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2402$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2403    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2404$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2405    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2406$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2407    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2408$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2409    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2410$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2411    ;;
2412esac
2413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2414$as_echo_n "checking for $2... " >&6; }
2415if eval \${$3+:} false; then :
2416  $as_echo_n "(cached) " >&6
2417else
2418  eval "$3=\$ac_header_compiler"
2419fi
2420eval ac_res=\$$3
2421	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422$as_echo "$ac_res" >&6; }
2423fi
2424  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2425
2426} # ac_fn_c_check_header_mongrel
2427cat >config.log <<_ACEOF
2428This file contains any messages produced by compilers while
2429running configure, to aid debugging if configure makes a mistake.
2430
2431It was created by libmediainfo $as_me 21.09, which was
2432generated by GNU Autoconf 2.69.  Invocation command line was
2433
2434  $ $0 $@
2435
2436_ACEOF
2437exec 5>>config.log
2438{
2439cat <<_ASUNAME
2440## --------- ##
2441## Platform. ##
2442## --------- ##
2443
2444hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448uname -v = `(uname -v) 2>/dev/null || echo unknown`
2449
2450/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2452
2453/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2454/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2455/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2457/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2458/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2459/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2460
2461_ASUNAME
2462
2463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464for as_dir in $PATH
2465do
2466  IFS=$as_save_IFS
2467  test -z "$as_dir" && as_dir=.
2468    $as_echo "PATH: $as_dir"
2469  done
2470IFS=$as_save_IFS
2471
2472} >&5
2473
2474cat >&5 <<_ACEOF
2475
2476
2477## ----------- ##
2478## Core tests. ##
2479## ----------- ##
2480
2481_ACEOF
2482
2483
2484# Keep a trace of the command line.
2485# Strip out --no-create and --no-recursion so they do not pile up.
2486# Strip out --silent because we don't want to record it for future runs.
2487# Also quote any args containing shell meta-characters.
2488# Make two passes to allow for proper duplicate-argument suppression.
2489ac_configure_args=
2490ac_configure_args0=
2491ac_configure_args1=
2492ac_must_keep_next=false
2493for ac_pass in 1 2
2494do
2495  for ac_arg
2496  do
2497    case $ac_arg in
2498    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500    | -silent | --silent | --silen | --sile | --sil)
2501      continue ;;
2502    *\'*)
2503      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2504    esac
2505    case $ac_pass in
2506    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2507    2)
2508      as_fn_append ac_configure_args1 " '$ac_arg'"
2509      if test $ac_must_keep_next = true; then
2510	ac_must_keep_next=false # Got value, back to normal.
2511      else
2512	case $ac_arg in
2513	  *=* | --config-cache | -C | -disable-* | --disable-* \
2514	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516	  | -with-* | --with-* | -without-* | --without-* | --x)
2517	    case "$ac_configure_args0 " in
2518	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2519	    esac
2520	    ;;
2521	  -* ) ac_must_keep_next=true ;;
2522	esac
2523      fi
2524      as_fn_append ac_configure_args " '$ac_arg'"
2525      ;;
2526    esac
2527  done
2528done
2529{ ac_configure_args0=; unset ac_configure_args0;}
2530{ ac_configure_args1=; unset ac_configure_args1;}
2531
2532# When interrupted or exit'd, cleanup temporary files, and complete
2533# config.log.  We remove comments because anyway the quotes in there
2534# would cause problems or look ugly.
2535# WARNING: Use '\'' to represent an apostrophe within the trap.
2536# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537trap 'exit_status=$?
2538  # Save into config.log some information that might help in debugging.
2539  {
2540    echo
2541
2542    $as_echo "## ---------------- ##
2543## Cache variables. ##
2544## ---------------- ##"
2545    echo
2546    # The following way of writing the cache mishandles newlines in values,
2547(
2548  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2549    eval ac_val=\$$ac_var
2550    case $ac_val in #(
2551    *${as_nl}*)
2552      case $ac_var in #(
2553      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2554$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2555      esac
2556      case $ac_var in #(
2557      _ | IFS | as_nl) ;; #(
2558      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2559      *) { eval $ac_var=; unset $ac_var;} ;;
2560      esac ;;
2561    esac
2562  done
2563  (set) 2>&1 |
2564    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2565    *${as_nl}ac_space=\ *)
2566      sed -n \
2567	"s/'\''/'\''\\\\'\'''\''/g;
2568	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2569      ;; #(
2570    *)
2571      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2572      ;;
2573    esac |
2574    sort
2575)
2576    echo
2577
2578    $as_echo "## ----------------- ##
2579## Output variables. ##
2580## ----------------- ##"
2581    echo
2582    for ac_var in $ac_subst_vars
2583    do
2584      eval ac_val=\$$ac_var
2585      case $ac_val in
2586      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2587      esac
2588      $as_echo "$ac_var='\''$ac_val'\''"
2589    done | sort
2590    echo
2591
2592    if test -n "$ac_subst_files"; then
2593      $as_echo "## ------------------- ##
2594## File substitutions. ##
2595## ------------------- ##"
2596      echo
2597      for ac_var in $ac_subst_files
2598      do
2599	eval ac_val=\$$ac_var
2600	case $ac_val in
2601	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2602	esac
2603	$as_echo "$ac_var='\''$ac_val'\''"
2604      done | sort
2605      echo
2606    fi
2607
2608    if test -s confdefs.h; then
2609      $as_echo "## ----------- ##
2610## confdefs.h. ##
2611## ----------- ##"
2612      echo
2613      cat confdefs.h
2614      echo
2615    fi
2616    test "$ac_signal" != 0 &&
2617      $as_echo "$as_me: caught signal $ac_signal"
2618    $as_echo "$as_me: exit $exit_status"
2619  } >&5
2620  rm -f core *.core core.conftest.* &&
2621    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2622    exit $exit_status
2623' 0
2624for ac_signal in 1 2 13 15; do
2625  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2626done
2627ac_signal=0
2628
2629# confdefs.h avoids OS command line length limits that DEFS can exceed.
2630rm -f -r conftest* confdefs.h
2631
2632$as_echo "/* confdefs.h */" > confdefs.h
2633
2634# Predefined preprocessor variables.
2635
2636cat >>confdefs.h <<_ACEOF
2637#define PACKAGE_NAME "$PACKAGE_NAME"
2638_ACEOF
2639
2640cat >>confdefs.h <<_ACEOF
2641#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2642_ACEOF
2643
2644cat >>confdefs.h <<_ACEOF
2645#define PACKAGE_VERSION "$PACKAGE_VERSION"
2646_ACEOF
2647
2648cat >>confdefs.h <<_ACEOF
2649#define PACKAGE_STRING "$PACKAGE_STRING"
2650_ACEOF
2651
2652cat >>confdefs.h <<_ACEOF
2653#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2654_ACEOF
2655
2656cat >>confdefs.h <<_ACEOF
2657#define PACKAGE_URL "$PACKAGE_URL"
2658_ACEOF
2659
2660
2661# Let the site file select an alternate cache file if it wants to.
2662# Prefer an explicitly selected file to automatically selected ones.
2663ac_site_file1=NONE
2664ac_site_file2=NONE
2665if test -n "$CONFIG_SITE"; then
2666  # We do not want a PATH search for config.site.
2667  case $CONFIG_SITE in #((
2668    -*)  ac_site_file1=./$CONFIG_SITE;;
2669    */*) ac_site_file1=$CONFIG_SITE;;
2670    *)   ac_site_file1=./$CONFIG_SITE;;
2671  esac
2672elif test "x$prefix" != xNONE; then
2673  ac_site_file1=$prefix/share/config.site
2674  ac_site_file2=$prefix/etc/config.site
2675else
2676  ac_site_file1=$ac_default_prefix/share/config.site
2677  ac_site_file2=$ac_default_prefix/etc/config.site
2678fi
2679for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2680do
2681  test "x$ac_site_file" = xNONE && continue
2682  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2683    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2684$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2685    sed 's/^/| /' "$ac_site_file" >&5
2686    . "$ac_site_file" \
2687      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2689as_fn_error $? "failed to load site script $ac_site_file
2690See \`config.log' for more details" "$LINENO" 5; }
2691  fi
2692done
2693
2694if test -r "$cache_file"; then
2695  # Some versions of bash will fail to source /dev/null (special files
2696  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2697  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2698    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2699$as_echo "$as_me: loading cache $cache_file" >&6;}
2700    case $cache_file in
2701      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2702      *)                      . "./$cache_file";;
2703    esac
2704  fi
2705else
2706  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2707$as_echo "$as_me: creating cache $cache_file" >&6;}
2708  >$cache_file
2709fi
2710
2711# Check that the precious variables saved in the cache have kept the same
2712# value.
2713ac_cache_corrupted=false
2714for ac_var in $ac_precious_vars; do
2715  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2716  eval ac_new_set=\$ac_env_${ac_var}_set
2717  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2718  eval ac_new_val=\$ac_env_${ac_var}_value
2719  case $ac_old_set,$ac_new_set in
2720    set,)
2721      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2722$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2723      ac_cache_corrupted=: ;;
2724    ,set)
2725      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2726$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2727      ac_cache_corrupted=: ;;
2728    ,);;
2729    *)
2730      if test "x$ac_old_val" != "x$ac_new_val"; then
2731	# differences in whitespace do not lead to failure.
2732	ac_old_val_w=`echo x $ac_old_val`
2733	ac_new_val_w=`echo x $ac_new_val`
2734	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2735	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2736$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2737	  ac_cache_corrupted=:
2738	else
2739	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2740$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2741	  eval $ac_var=\$ac_old_val
2742	fi
2743	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2744$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2745	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2746$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2747      fi;;
2748  esac
2749  # Pass precious variables to config.status.
2750  if test "$ac_new_set" = set; then
2751    case $ac_new_val in
2752    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2753    *) ac_arg=$ac_var=$ac_new_val ;;
2754    esac
2755    case " $ac_configure_args " in
2756      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2757      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2758    esac
2759  fi
2760done
2761if $ac_cache_corrupted; then
2762  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2765$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2766  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2767fi
2768## -------------------- ##
2769## Main body of script. ##
2770## -------------------- ##
2771
2772ac_ext=c
2773ac_cpp='$CPP $CPPFLAGS'
2774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2776ac_compiler_gnu=$ac_cv_c_compiler_gnu
2777
2778
2779
2780
2781
2782ac_aux_dir=
2783for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2784  if test -f "$ac_dir/install-sh"; then
2785    ac_aux_dir=$ac_dir
2786    ac_install_sh="$ac_aux_dir/install-sh -c"
2787    break
2788  elif test -f "$ac_dir/install.sh"; then
2789    ac_aux_dir=$ac_dir
2790    ac_install_sh="$ac_aux_dir/install.sh -c"
2791    break
2792  elif test -f "$ac_dir/shtool"; then
2793    ac_aux_dir=$ac_dir
2794    ac_install_sh="$ac_aux_dir/shtool install -c"
2795    break
2796  fi
2797done
2798if test -z "$ac_aux_dir"; then
2799  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2800fi
2801
2802# These three variables are undocumented and unsupported,
2803# and are intended to be withdrawn in a future Autoconf release.
2804# They can cause serious problems if a builder's source tree is in a directory
2805# whose full name contains unusual characters.
2806ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2807ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2808ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2809
2810
2811# Make sure we can run config.sub.
2812$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2813  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2814
2815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2816$as_echo_n "checking build system type... " >&6; }
2817if ${ac_cv_build+:} false; then :
2818  $as_echo_n "(cached) " >&6
2819else
2820  ac_build_alias=$build_alias
2821test "x$ac_build_alias" = x &&
2822  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2823test "x$ac_build_alias" = x &&
2824  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2825ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2826  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2827
2828fi
2829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2830$as_echo "$ac_cv_build" >&6; }
2831case $ac_cv_build in
2832*-*-*) ;;
2833*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2834esac
2835build=$ac_cv_build
2836ac_save_IFS=$IFS; IFS='-'
2837set x $ac_cv_build
2838shift
2839build_cpu=$1
2840build_vendor=$2
2841shift; shift
2842# Remember, the first character of IFS is used to create $*,
2843# except with old shells:
2844build_os=$*
2845IFS=$ac_save_IFS
2846case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2847
2848
2849am__api_version='1.16'
2850
2851# Find a good install program.  We prefer a C program (faster),
2852# so one script is as good as another.  But avoid the broken or
2853# incompatible versions:
2854# SysV /etc/install, /usr/sbin/install
2855# SunOS /usr/etc/install
2856# IRIX /sbin/install
2857# AIX /bin/install
2858# AmigaOS /C/install, which installs bootblocks on floppy discs
2859# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2860# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2861# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2862# OS/2's system install, which has a completely different semantic
2863# ./install, which can be erroneously created by make from ./install.sh.
2864# Reject install programs that cannot install multiple files.
2865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2866$as_echo_n "checking for a BSD-compatible install... " >&6; }
2867if test -z "$INSTALL"; then
2868if ${ac_cv_path_install+:} false; then :
2869  $as_echo_n "(cached) " >&6
2870else
2871  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872for as_dir in $PATH
2873do
2874  IFS=$as_save_IFS
2875  test -z "$as_dir" && as_dir=.
2876    # Account for people who put trailing slashes in PATH elements.
2877case $as_dir/ in #((
2878  ./ | .// | /[cC]/* | \
2879  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2880  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2881  /usr/ucb/* ) ;;
2882  *)
2883    # OSF1 and SCO ODT 3.0 have their own names for install.
2884    # Don't use installbsd from OSF since it installs stuff as root
2885    # by default.
2886    for ac_prog in ginstall scoinst install; do
2887      for ac_exec_ext in '' $ac_executable_extensions; do
2888	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2889	  if test $ac_prog = install &&
2890	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891	    # AIX install.  It has an incompatible calling convention.
2892	    :
2893	  elif test $ac_prog = install &&
2894	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2895	    # program-specific install script used by HP pwplus--don't use.
2896	    :
2897	  else
2898	    rm -rf conftest.one conftest.two conftest.dir
2899	    echo one > conftest.one
2900	    echo two > conftest.two
2901	    mkdir conftest.dir
2902	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2903	      test -s conftest.one && test -s conftest.two &&
2904	      test -s conftest.dir/conftest.one &&
2905	      test -s conftest.dir/conftest.two
2906	    then
2907	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2908	      break 3
2909	    fi
2910	  fi
2911	fi
2912      done
2913    done
2914    ;;
2915esac
2916
2917  done
2918IFS=$as_save_IFS
2919
2920rm -rf conftest.one conftest.two conftest.dir
2921
2922fi
2923  if test "${ac_cv_path_install+set}" = set; then
2924    INSTALL=$ac_cv_path_install
2925  else
2926    # As a last resort, use the slow shell script.  Don't cache a
2927    # value for INSTALL within a source directory, because that will
2928    # break other packages using the cache if that directory is
2929    # removed, or if the value is a relative name.
2930    INSTALL=$ac_install_sh
2931  fi
2932fi
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2934$as_echo "$INSTALL" >&6; }
2935
2936# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2937# It thinks the first close brace ends the variable substitution.
2938test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2939
2940test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2941
2942test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2943
2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2945$as_echo_n "checking whether build environment is sane... " >&6; }
2946# Reject unsafe characters in $srcdir or the absolute working directory
2947# name.  Accept space and tab only in the latter.
2948am_lf='
2949'
2950case `pwd` in
2951  *[\\\"\#\$\&\'\`$am_lf]*)
2952    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2953esac
2954case $srcdir in
2955  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2956    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2957esac
2958
2959# Do 'set' in a subshell so we don't clobber the current shell's
2960# arguments.  Must try -L first in case configure is actually a
2961# symlink; some systems play weird games with the mod time of symlinks
2962# (eg FreeBSD returns the mod time of the symlink's containing
2963# directory).
2964if (
2965   am_has_slept=no
2966   for am_try in 1 2; do
2967     echo "timestamp, slept: $am_has_slept" > conftest.file
2968     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2969     if test "$*" = "X"; then
2970	# -L didn't work.
2971	set X `ls -t "$srcdir/configure" conftest.file`
2972     fi
2973     if test "$*" != "X $srcdir/configure conftest.file" \
2974	&& test "$*" != "X conftest.file $srcdir/configure"; then
2975
2976	# If neither matched, then we have a broken ls.  This can happen
2977	# if, for instance, CONFIG_SHELL is bash and it inherits a
2978	# broken ls alias from the environment.  This has actually
2979	# happened.  Such a system could not be considered "sane".
2980	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2981  alias in your environment" "$LINENO" 5
2982     fi
2983     if test "$2" = conftest.file || test $am_try -eq 2; then
2984       break
2985     fi
2986     # Just in case.
2987     sleep 1
2988     am_has_slept=yes
2989   done
2990   test "$2" = conftest.file
2991   )
2992then
2993   # Ok.
2994   :
2995else
2996   as_fn_error $? "newly created file is older than distributed files!
2997Check your system clock" "$LINENO" 5
2998fi
2999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000$as_echo "yes" >&6; }
3001# If we didn't sleep, we still need to ensure time stamps of config.status and
3002# generated files are strictly newer.
3003am_sleep_pid=
3004if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3005  ( sleep 1 ) &
3006  am_sleep_pid=$!
3007fi
3008
3009rm -f conftest.file
3010
3011test "$program_prefix" != NONE &&
3012  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3013# Use a double $ so make ignores it.
3014test "$program_suffix" != NONE &&
3015  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3016# Double any \ or $.
3017# By default was `s,x,x', remove it if useless.
3018ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3019program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3020
3021# Expand $ac_aux_dir to an absolute path.
3022am_aux_dir=`cd "$ac_aux_dir" && pwd`
3023
3024if test x"${MISSING+set}" != xset; then
3025  case $am_aux_dir in
3026  *\ * | *\	*)
3027    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3028  *)
3029    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3030  esac
3031fi
3032# Use eval to expand $SHELL
3033if eval "$MISSING --is-lightweight"; then
3034  am_missing_run="$MISSING "
3035else
3036  am_missing_run=
3037  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3038$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3039fi
3040
3041if test x"${install_sh+set}" != xset; then
3042  case $am_aux_dir in
3043  *\ * | *\	*)
3044    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3045  *)
3046    install_sh="\${SHELL} $am_aux_dir/install-sh"
3047  esac
3048fi
3049
3050# Installed binaries are usually stripped using 'strip' when the user
3051# run "make install-strip".  However 'strip' might not be the right
3052# tool to use in cross-compilation environments, therefore Automake
3053# will honor the 'STRIP' environment variable to overrule this program.
3054if test "$cross_compiling" != no; then
3055  if test -n "$ac_tool_prefix"; then
3056  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3057set dummy ${ac_tool_prefix}strip; ac_word=$2
3058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059$as_echo_n "checking for $ac_word... " >&6; }
3060if ${ac_cv_prog_STRIP+:} false; then :
3061  $as_echo_n "(cached) " >&6
3062else
3063  if test -n "$STRIP"; then
3064  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3065else
3066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH
3068do
3069  IFS=$as_save_IFS
3070  test -z "$as_dir" && as_dir=.
3071    for ac_exec_ext in '' $ac_executable_extensions; do
3072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075    break 2
3076  fi
3077done
3078  done
3079IFS=$as_save_IFS
3080
3081fi
3082fi
3083STRIP=$ac_cv_prog_STRIP
3084if test -n "$STRIP"; then
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3086$as_echo "$STRIP" >&6; }
3087else
3088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089$as_echo "no" >&6; }
3090fi
3091
3092
3093fi
3094if test -z "$ac_cv_prog_STRIP"; then
3095  ac_ct_STRIP=$STRIP
3096  # Extract the first word of "strip", so it can be a program name with args.
3097set dummy strip; ac_word=$2
3098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099$as_echo_n "checking for $ac_word... " >&6; }
3100if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3101  $as_echo_n "(cached) " >&6
3102else
3103  if test -n "$ac_ct_STRIP"; then
3104  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3105else
3106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107for as_dir in $PATH
3108do
3109  IFS=$as_save_IFS
3110  test -z "$as_dir" && as_dir=.
3111    for ac_exec_ext in '' $ac_executable_extensions; do
3112  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113    ac_cv_prog_ac_ct_STRIP="strip"
3114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115    break 2
3116  fi
3117done
3118  done
3119IFS=$as_save_IFS
3120
3121fi
3122fi
3123ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3124if test -n "$ac_ct_STRIP"; then
3125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3126$as_echo "$ac_ct_STRIP" >&6; }
3127else
3128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129$as_echo "no" >&6; }
3130fi
3131
3132  if test "x$ac_ct_STRIP" = x; then
3133    STRIP=":"
3134  else
3135    case $cross_compiling:$ac_tool_warned in
3136yes:)
3137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139ac_tool_warned=yes ;;
3140esac
3141    STRIP=$ac_ct_STRIP
3142  fi
3143else
3144  STRIP="$ac_cv_prog_STRIP"
3145fi
3146
3147fi
3148INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3149
3150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3151$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3152if test -z "$MKDIR_P"; then
3153  if ${ac_cv_path_mkdir+:} false; then :
3154  $as_echo_n "(cached) " >&6
3155else
3156  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3158do
3159  IFS=$as_save_IFS
3160  test -z "$as_dir" && as_dir=.
3161    for ac_prog in mkdir gmkdir; do
3162	 for ac_exec_ext in '' $ac_executable_extensions; do
3163	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3164	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3165	     'mkdir (GNU coreutils) '* | \
3166	     'mkdir (coreutils) '* | \
3167	     'mkdir (fileutils) '4.1*)
3168	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3169	       break 3;;
3170	   esac
3171	 done
3172       done
3173  done
3174IFS=$as_save_IFS
3175
3176fi
3177
3178  test -d ./--version && rmdir ./--version
3179  if test "${ac_cv_path_mkdir+set}" = set; then
3180    MKDIR_P="$ac_cv_path_mkdir -p"
3181  else
3182    # As a last resort, use the slow shell script.  Don't cache a
3183    # value for MKDIR_P within a source directory, because that will
3184    # break other packages using the cache if that directory is
3185    # removed, or if the value is a relative name.
3186    MKDIR_P="$ac_install_sh -d"
3187  fi
3188fi
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3190$as_echo "$MKDIR_P" >&6; }
3191
3192for ac_prog in gawk mawk nawk awk
3193do
3194  # Extract the first word of "$ac_prog", so it can be a program name with args.
3195set dummy $ac_prog; ac_word=$2
3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197$as_echo_n "checking for $ac_word... " >&6; }
3198if ${ac_cv_prog_AWK+:} false; then :
3199  $as_echo_n "(cached) " >&6
3200else
3201  if test -n "$AWK"; then
3202  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3203else
3204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205for as_dir in $PATH
3206do
3207  IFS=$as_save_IFS
3208  test -z "$as_dir" && as_dir=.
3209    for ac_exec_ext in '' $ac_executable_extensions; do
3210  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3211    ac_cv_prog_AWK="$ac_prog"
3212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213    break 2
3214  fi
3215done
3216  done
3217IFS=$as_save_IFS
3218
3219fi
3220fi
3221AWK=$ac_cv_prog_AWK
3222if test -n "$AWK"; then
3223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3224$as_echo "$AWK" >&6; }
3225else
3226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227$as_echo "no" >&6; }
3228fi
3229
3230
3231  test -n "$AWK" && break
3232done
3233
3234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3235$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3236set x ${MAKE-make}
3237ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3238if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3239  $as_echo_n "(cached) " >&6
3240else
3241  cat >conftest.make <<\_ACEOF
3242SHELL = /bin/sh
3243all:
3244	@echo '@@@%%%=$(MAKE)=@@@%%%'
3245_ACEOF
3246# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3247case `${MAKE-make} -f conftest.make 2>/dev/null` in
3248  *@@@%%%=?*=@@@%%%*)
3249    eval ac_cv_prog_make_${ac_make}_set=yes;;
3250  *)
3251    eval ac_cv_prog_make_${ac_make}_set=no;;
3252esac
3253rm -f conftest.make
3254fi
3255if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257$as_echo "yes" >&6; }
3258  SET_MAKE=
3259else
3260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261$as_echo "no" >&6; }
3262  SET_MAKE="MAKE=${MAKE-make}"
3263fi
3264
3265rm -rf .tst 2>/dev/null
3266mkdir .tst 2>/dev/null
3267if test -d .tst; then
3268  am__leading_dot=.
3269else
3270  am__leading_dot=_
3271fi
3272rmdir .tst 2>/dev/null
3273
3274# Check whether --enable-silent-rules was given.
3275if test "${enable_silent_rules+set}" = set; then :
3276  enableval=$enable_silent_rules;
3277fi
3278
3279case $enable_silent_rules in # (((
3280  yes) AM_DEFAULT_VERBOSITY=0;;
3281   no) AM_DEFAULT_VERBOSITY=1;;
3282    *) AM_DEFAULT_VERBOSITY=1;;
3283esac
3284am_make=${MAKE-make}
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3286$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3287if ${am_cv_make_support_nested_variables+:} false; then :
3288  $as_echo_n "(cached) " >&6
3289else
3290  if $as_echo 'TRUE=$(BAR$(V))
3291BAR0=false
3292BAR1=true
3293V=1
3294am__doit:
3295	@$(TRUE)
3296.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3297  am_cv_make_support_nested_variables=yes
3298else
3299  am_cv_make_support_nested_variables=no
3300fi
3301fi
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3303$as_echo "$am_cv_make_support_nested_variables" >&6; }
3304if test $am_cv_make_support_nested_variables = yes; then
3305    AM_V='$(V)'
3306  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3307else
3308  AM_V=$AM_DEFAULT_VERBOSITY
3309  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3310fi
3311AM_BACKSLASH='\'
3312
3313if test "`cd $srcdir && pwd`" != "`pwd`"; then
3314  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3315  # is not polluted with repeated "-I."
3316  am__isrc=' -I$(srcdir)'
3317  # test to see if srcdir already configured
3318  if test -f $srcdir/config.status; then
3319    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3320  fi
3321fi
3322
3323# test whether we have cygpath
3324if test -z "$CYGPATH_W"; then
3325  if (cygpath --version) >/dev/null 2>/dev/null; then
3326    CYGPATH_W='cygpath -w'
3327  else
3328    CYGPATH_W=echo
3329  fi
3330fi
3331
3332
3333# Define the identity of the package.
3334 PACKAGE='libmediainfo'
3335 VERSION='21.09'
3336
3337
3338cat >>confdefs.h <<_ACEOF
3339#define PACKAGE "$PACKAGE"
3340_ACEOF
3341
3342
3343cat >>confdefs.h <<_ACEOF
3344#define VERSION "$VERSION"
3345_ACEOF
3346
3347# Some tools Automake needs.
3348
3349ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3350
3351
3352AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3353
3354
3355AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3356
3357
3358AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3359
3360
3361MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3362
3363# For better backward compatibility.  To be removed once Automake 1.9.x
3364# dies out for good.  For more background, see:
3365# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3366# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3367mkdir_p='$(MKDIR_P)'
3368
3369# We need awk for the "check" target (and possibly the TAP driver).  The
3370# system "awk" is bad on some platforms.
3371# Always define AMTAR for backward compatibility.  Yes, it's still used
3372# in the wild :-(  We should find a proper way to deprecate it ...
3373AMTAR='$${TAR-tar}'
3374
3375
3376# We'll loop over all known methods to create a tar archive until one works.
3377_am_tools='gnutar  pax cpio none'
3378
3379am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3380
3381
3382
3383
3384
3385
3386# POSIX will say in a future version that running "rm -f" with no argument
3387# is OK; and we want to be able to make that assumption in our Makefile
3388# recipes.  So use an aggressive probe to check that the usage we want is
3389# actually supported "in the wild" to an acceptable degree.
3390# See automake bug#10828.
3391# To make any issue more visible, cause the running configure to be aborted
3392# by default if the 'rm' program in use doesn't match our expectations; the
3393# user can still override this though.
3394if rm -f && rm -fr && rm -rf; then : OK; else
3395  cat >&2 <<'END'
3396Oops!
3397
3398Your 'rm' program seems unable to run without file operands specified
3399on the command line, even when the '-f' option is present.  This is contrary
3400to the behaviour of most rm programs out there, and not conforming with
3401the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3402
3403Please tell bug-automake@gnu.org about your system, including the value
3404of your $PATH and any error possibly output before this message.  This
3405can help us improve future automake versions.
3406
3407END
3408  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3409    echo 'Configuration will proceed anyway, since you have set the' >&2
3410    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3411    echo >&2
3412  else
3413    cat >&2 <<'END'
3414Aborting the configuration process, to ensure you take notice of the issue.
3415
3416You can download and install GNU coreutils to get an 'rm' implementation
3417that behaves properly: <https://www.gnu.org/software/coreutils/>.
3418
3419If you want to complete the configuration process using your problematic
3420'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3421to "yes", and re-run configure.
3422
3423END
3424    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3425  fi
3426fi
3427
3428
3429CFLAGS="$CFLAGS"
3430CXXFLAGS="$CXXFLAGS"
3431ac_ext=c
3432ac_cpp='$CPP $CPPFLAGS'
3433ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3434ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3435ac_compiler_gnu=$ac_cv_c_compiler_gnu
3436if test -n "$ac_tool_prefix"; then
3437  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3438set dummy ${ac_tool_prefix}gcc; ac_word=$2
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440$as_echo_n "checking for $ac_word... " >&6; }
3441if ${ac_cv_prog_CC+:} false; then :
3442  $as_echo_n "(cached) " >&6
3443else
3444  if test -n "$CC"; then
3445  ac_cv_prog_CC="$CC" # Let the user override the test.
3446else
3447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448for as_dir in $PATH
3449do
3450  IFS=$as_save_IFS
3451  test -z "$as_dir" && as_dir=.
3452    for ac_exec_ext in '' $ac_executable_extensions; do
3453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459  done
3460IFS=$as_save_IFS
3461
3462fi
3463fi
3464CC=$ac_cv_prog_CC
3465if test -n "$CC"; then
3466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467$as_echo "$CC" >&6; }
3468else
3469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470$as_echo "no" >&6; }
3471fi
3472
3473
3474fi
3475if test -z "$ac_cv_prog_CC"; then
3476  ac_ct_CC=$CC
3477  # Extract the first word of "gcc", so it can be a program name with args.
3478set dummy gcc; ac_word=$2
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480$as_echo_n "checking for $ac_word... " >&6; }
3481if ${ac_cv_prog_ac_ct_CC+:} false; then :
3482  $as_echo_n "(cached) " >&6
3483else
3484  if test -n "$ac_ct_CC"; then
3485  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3486else
3487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488for as_dir in $PATH
3489do
3490  IFS=$as_save_IFS
3491  test -z "$as_dir" && as_dir=.
3492    for ac_exec_ext in '' $ac_executable_extensions; do
3493  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494    ac_cv_prog_ac_ct_CC="gcc"
3495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496    break 2
3497  fi
3498done
3499  done
3500IFS=$as_save_IFS
3501
3502fi
3503fi
3504ac_ct_CC=$ac_cv_prog_ac_ct_CC
3505if test -n "$ac_ct_CC"; then
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3507$as_echo "$ac_ct_CC" >&6; }
3508else
3509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510$as_echo "no" >&6; }
3511fi
3512
3513  if test "x$ac_ct_CC" = x; then
3514    CC=""
3515  else
3516    case $cross_compiling:$ac_tool_warned in
3517yes:)
3518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3520ac_tool_warned=yes ;;
3521esac
3522    CC=$ac_ct_CC
3523  fi
3524else
3525  CC="$ac_cv_prog_CC"
3526fi
3527
3528if test -z "$CC"; then
3529          if test -n "$ac_tool_prefix"; then
3530    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3531set dummy ${ac_tool_prefix}cc; ac_word=$2
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533$as_echo_n "checking for $ac_word... " >&6; }
3534if ${ac_cv_prog_CC+:} false; then :
3535  $as_echo_n "(cached) " >&6
3536else
3537  if test -n "$CC"; then
3538  ac_cv_prog_CC="$CC" # Let the user override the test.
3539else
3540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541for as_dir in $PATH
3542do
3543  IFS=$as_save_IFS
3544  test -z "$as_dir" && as_dir=.
3545    for ac_exec_ext in '' $ac_executable_extensions; do
3546  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547    ac_cv_prog_CC="${ac_tool_prefix}cc"
3548    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549    break 2
3550  fi
3551done
3552  done
3553IFS=$as_save_IFS
3554
3555fi
3556fi
3557CC=$ac_cv_prog_CC
3558if test -n "$CC"; then
3559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3560$as_echo "$CC" >&6; }
3561else
3562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563$as_echo "no" >&6; }
3564fi
3565
3566
3567  fi
3568fi
3569if test -z "$CC"; then
3570  # Extract the first word of "cc", so it can be a program name with args.
3571set dummy cc; ac_word=$2
3572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573$as_echo_n "checking for $ac_word... " >&6; }
3574if ${ac_cv_prog_CC+:} false; then :
3575  $as_echo_n "(cached) " >&6
3576else
3577  if test -n "$CC"; then
3578  ac_cv_prog_CC="$CC" # Let the user override the test.
3579else
3580  ac_prog_rejected=no
3581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582for as_dir in $PATH
3583do
3584  IFS=$as_save_IFS
3585  test -z "$as_dir" && as_dir=.
3586    for ac_exec_ext in '' $ac_executable_extensions; do
3587  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3589       ac_prog_rejected=yes
3590       continue
3591     fi
3592    ac_cv_prog_CC="cc"
3593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594    break 2
3595  fi
3596done
3597  done
3598IFS=$as_save_IFS
3599
3600if test $ac_prog_rejected = yes; then
3601  # We found a bogon in the path, so make sure we never use it.
3602  set dummy $ac_cv_prog_CC
3603  shift
3604  if test $# != 0; then
3605    # We chose a different compiler from the bogus one.
3606    # However, it has the same basename, so the bogon will be chosen
3607    # first if we set CC to just the basename; use the full file name.
3608    shift
3609    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3610  fi
3611fi
3612fi
3613fi
3614CC=$ac_cv_prog_CC
3615if test -n "$CC"; then
3616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3617$as_echo "$CC" >&6; }
3618else
3619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620$as_echo "no" >&6; }
3621fi
3622
3623
3624fi
3625if test -z "$CC"; then
3626  if test -n "$ac_tool_prefix"; then
3627  for ac_prog in cl.exe
3628  do
3629    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3630set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632$as_echo_n "checking for $ac_word... " >&6; }
3633if ${ac_cv_prog_CC+:} false; then :
3634  $as_echo_n "(cached) " >&6
3635else
3636  if test -n "$CC"; then
3637  ac_cv_prog_CC="$CC" # Let the user override the test.
3638else
3639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640for as_dir in $PATH
3641do
3642  IFS=$as_save_IFS
3643  test -z "$as_dir" && as_dir=.
3644    for ac_exec_ext in '' $ac_executable_extensions; do
3645  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3646    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648    break 2
3649  fi
3650done
3651  done
3652IFS=$as_save_IFS
3653
3654fi
3655fi
3656CC=$ac_cv_prog_CC
3657if test -n "$CC"; then
3658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659$as_echo "$CC" >&6; }
3660else
3661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662$as_echo "no" >&6; }
3663fi
3664
3665
3666    test -n "$CC" && break
3667  done
3668fi
3669if test -z "$CC"; then
3670  ac_ct_CC=$CC
3671  for ac_prog in cl.exe
3672do
3673  # Extract the first word of "$ac_prog", so it can be a program name with args.
3674set dummy $ac_prog; ac_word=$2
3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676$as_echo_n "checking for $ac_word... " >&6; }
3677if ${ac_cv_prog_ac_ct_CC+:} false; then :
3678  $as_echo_n "(cached) " >&6
3679else
3680  if test -n "$ac_ct_CC"; then
3681  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3682else
3683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684for as_dir in $PATH
3685do
3686  IFS=$as_save_IFS
3687  test -z "$as_dir" && as_dir=.
3688    for ac_exec_ext in '' $ac_executable_extensions; do
3689  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3690    ac_cv_prog_ac_ct_CC="$ac_prog"
3691    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692    break 2
3693  fi
3694done
3695  done
3696IFS=$as_save_IFS
3697
3698fi
3699fi
3700ac_ct_CC=$ac_cv_prog_ac_ct_CC
3701if test -n "$ac_ct_CC"; then
3702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3703$as_echo "$ac_ct_CC" >&6; }
3704else
3705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706$as_echo "no" >&6; }
3707fi
3708
3709
3710  test -n "$ac_ct_CC" && break
3711done
3712
3713  if test "x$ac_ct_CC" = x; then
3714    CC=""
3715  else
3716    case $cross_compiling:$ac_tool_warned in
3717yes:)
3718{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720ac_tool_warned=yes ;;
3721esac
3722    CC=$ac_ct_CC
3723  fi
3724fi
3725
3726fi
3727
3728
3729test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731as_fn_error $? "no acceptable C compiler found in \$PATH
3732See \`config.log' for more details" "$LINENO" 5; }
3733
3734# Provide some information about the compiler.
3735$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3736set X $ac_compile
3737ac_compiler=$2
3738for ac_option in --version -v -V -qversion; do
3739  { { ac_try="$ac_compiler $ac_option >&5"
3740case "(($ac_try" in
3741  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742  *) ac_try_echo=$ac_try;;
3743esac
3744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745$as_echo "$ac_try_echo"; } >&5
3746  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3747  ac_status=$?
3748  if test -s conftest.err; then
3749    sed '10a\
3750... rest of stderr output deleted ...
3751         10q' conftest.err >conftest.er1
3752    cat conftest.er1 >&5
3753  fi
3754  rm -f conftest.er1 conftest.err
3755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756  test $ac_status = 0; }
3757done
3758
3759cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760/* end confdefs.h.  */
3761
3762int
3763main ()
3764{
3765
3766  ;
3767  return 0;
3768}
3769_ACEOF
3770ac_clean_files_save=$ac_clean_files
3771ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3772# Try to create an executable without -o first, disregard a.out.
3773# It will help us diagnose broken compilers, and finding out an intuition
3774# of exeext.
3775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3776$as_echo_n "checking whether the C compiler works... " >&6; }
3777ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3778
3779# The possible output files:
3780ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3781
3782ac_rmfiles=
3783for ac_file in $ac_files
3784do
3785  case $ac_file in
3786    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3787    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3788  esac
3789done
3790rm -f $ac_rmfiles
3791
3792if { { ac_try="$ac_link_default"
3793case "(($ac_try" in
3794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795  *) ac_try_echo=$ac_try;;
3796esac
3797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798$as_echo "$ac_try_echo"; } >&5
3799  (eval "$ac_link_default") 2>&5
3800  ac_status=$?
3801  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802  test $ac_status = 0; }; then :
3803  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3804# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3805# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3806# so that the user can short-circuit this test for compilers unknown to
3807# Autoconf.
3808for ac_file in $ac_files ''
3809do
3810  test -f "$ac_file" || continue
3811  case $ac_file in
3812    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3813	;;
3814    [ab].out )
3815	# We found the default executable, but exeext='' is most
3816	# certainly right.
3817	break;;
3818    *.* )
3819	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3820	then :; else
3821	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3822	fi
3823	# We set ac_cv_exeext here because the later test for it is not
3824	# safe: cross compilers may not add the suffix if given an `-o'
3825	# argument, so we may need to know it at that point already.
3826	# Even if this section looks crufty: it has the advantage of
3827	# actually working.
3828	break;;
3829    * )
3830	break;;
3831  esac
3832done
3833test "$ac_cv_exeext" = no && ac_cv_exeext=
3834
3835else
3836  ac_file=''
3837fi
3838if test -z "$ac_file"; then :
3839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840$as_echo "no" >&6; }
3841$as_echo "$as_me: failed program was:" >&5
3842sed 's/^/| /' conftest.$ac_ext >&5
3843
3844{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846as_fn_error 77 "C compiler cannot create executables
3847See \`config.log' for more details" "$LINENO" 5; }
3848else
3849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3850$as_echo "yes" >&6; }
3851fi
3852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3853$as_echo_n "checking for C compiler default output file name... " >&6; }
3854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3855$as_echo "$ac_file" >&6; }
3856ac_exeext=$ac_cv_exeext
3857
3858rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3859ac_clean_files=$ac_clean_files_save
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3861$as_echo_n "checking for suffix of executables... " >&6; }
3862if { { ac_try="$ac_link"
3863case "(($ac_try" in
3864  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3865  *) ac_try_echo=$ac_try;;
3866esac
3867eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3868$as_echo "$ac_try_echo"; } >&5
3869  (eval "$ac_link") 2>&5
3870  ac_status=$?
3871  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872  test $ac_status = 0; }; then :
3873  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3874# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3875# work properly (i.e., refer to `conftest.exe'), while it won't with
3876# `rm'.
3877for ac_file in conftest.exe conftest conftest.*; do
3878  test -f "$ac_file" || continue
3879  case $ac_file in
3880    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3881    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3882	  break;;
3883    * ) break;;
3884  esac
3885done
3886else
3887  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3890See \`config.log' for more details" "$LINENO" 5; }
3891fi
3892rm -f conftest conftest$ac_cv_exeext
3893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3894$as_echo "$ac_cv_exeext" >&6; }
3895
3896rm -f conftest.$ac_ext
3897EXEEXT=$ac_cv_exeext
3898ac_exeext=$EXEEXT
3899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900/* end confdefs.h.  */
3901#include <stdio.h>
3902int
3903main ()
3904{
3905FILE *f = fopen ("conftest.out", "w");
3906 return ferror (f) || fclose (f) != 0;
3907
3908  ;
3909  return 0;
3910}
3911_ACEOF
3912ac_clean_files="$ac_clean_files conftest.out"
3913# Check that the compiler produces executables we can run.  If not, either
3914# the compiler is broken, or we cross compile.
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3916$as_echo_n "checking whether we are cross compiling... " >&6; }
3917if test "$cross_compiling" != yes; then
3918  { { ac_try="$ac_link"
3919case "(($ac_try" in
3920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921  *) ac_try_echo=$ac_try;;
3922esac
3923eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924$as_echo "$ac_try_echo"; } >&5
3925  (eval "$ac_link") 2>&5
3926  ac_status=$?
3927  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928  test $ac_status = 0; }
3929  if { ac_try='./conftest$ac_cv_exeext'
3930  { { case "(($ac_try" in
3931  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932  *) ac_try_echo=$ac_try;;
3933esac
3934eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935$as_echo "$ac_try_echo"; } >&5
3936  (eval "$ac_try") 2>&5
3937  ac_status=$?
3938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939  test $ac_status = 0; }; }; then
3940    cross_compiling=no
3941  else
3942    if test "$cross_compiling" = maybe; then
3943	cross_compiling=yes
3944    else
3945	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947as_fn_error $? "cannot run C compiled programs.
3948If you meant to cross compile, use \`--host'.
3949See \`config.log' for more details" "$LINENO" 5; }
3950    fi
3951  fi
3952fi
3953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3954$as_echo "$cross_compiling" >&6; }
3955
3956rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3957ac_clean_files=$ac_clean_files_save
3958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3959$as_echo_n "checking for suffix of object files... " >&6; }
3960if ${ac_cv_objext+:} false; then :
3961  $as_echo_n "(cached) " >&6
3962else
3963  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964/* end confdefs.h.  */
3965
3966int
3967main ()
3968{
3969
3970  ;
3971  return 0;
3972}
3973_ACEOF
3974rm -f conftest.o conftest.obj
3975if { { ac_try="$ac_compile"
3976case "(($ac_try" in
3977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978  *) ac_try_echo=$ac_try;;
3979esac
3980eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981$as_echo "$ac_try_echo"; } >&5
3982  (eval "$ac_compile") 2>&5
3983  ac_status=$?
3984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985  test $ac_status = 0; }; then :
3986  for ac_file in conftest.o conftest.obj conftest.*; do
3987  test -f "$ac_file" || continue;
3988  case $ac_file in
3989    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3990    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3991       break;;
3992  esac
3993done
3994else
3995  $as_echo "$as_me: failed program was:" >&5
3996sed 's/^/| /' conftest.$ac_ext >&5
3997
3998{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4000as_fn_error $? "cannot compute suffix of object files: cannot compile
4001See \`config.log' for more details" "$LINENO" 5; }
4002fi
4003rm -f conftest.$ac_cv_objext conftest.$ac_ext
4004fi
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4006$as_echo "$ac_cv_objext" >&6; }
4007OBJEXT=$ac_cv_objext
4008ac_objext=$OBJEXT
4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4010$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4011if ${ac_cv_c_compiler_gnu+:} false; then :
4012  $as_echo_n "(cached) " >&6
4013else
4014  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015/* end confdefs.h.  */
4016
4017int
4018main ()
4019{
4020#ifndef __GNUC__
4021       choke me
4022#endif
4023
4024  ;
4025  return 0;
4026}
4027_ACEOF
4028if ac_fn_c_try_compile "$LINENO"; then :
4029  ac_compiler_gnu=yes
4030else
4031  ac_compiler_gnu=no
4032fi
4033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035
4036fi
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4038$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4039if test $ac_compiler_gnu = yes; then
4040  GCC=yes
4041else
4042  GCC=
4043fi
4044ac_test_CFLAGS=${CFLAGS+set}
4045ac_save_CFLAGS=$CFLAGS
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4047$as_echo_n "checking whether $CC accepts -g... " >&6; }
4048if ${ac_cv_prog_cc_g+:} false; then :
4049  $as_echo_n "(cached) " >&6
4050else
4051  ac_save_c_werror_flag=$ac_c_werror_flag
4052   ac_c_werror_flag=yes
4053   ac_cv_prog_cc_g=no
4054   CFLAGS="-g"
4055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056/* end confdefs.h.  */
4057
4058int
4059main ()
4060{
4061
4062  ;
4063  return 0;
4064}
4065_ACEOF
4066if ac_fn_c_try_compile "$LINENO"; then :
4067  ac_cv_prog_cc_g=yes
4068else
4069  CFLAGS=""
4070      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071/* end confdefs.h.  */
4072
4073int
4074main ()
4075{
4076
4077  ;
4078  return 0;
4079}
4080_ACEOF
4081if ac_fn_c_try_compile "$LINENO"; then :
4082
4083else
4084  ac_c_werror_flag=$ac_save_c_werror_flag
4085	 CFLAGS="-g"
4086	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087/* end confdefs.h.  */
4088
4089int
4090main ()
4091{
4092
4093  ;
4094  return 0;
4095}
4096_ACEOF
4097if ac_fn_c_try_compile "$LINENO"; then :
4098  ac_cv_prog_cc_g=yes
4099fi
4100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101fi
4102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103fi
4104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105   ac_c_werror_flag=$ac_save_c_werror_flag
4106fi
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4108$as_echo "$ac_cv_prog_cc_g" >&6; }
4109if test "$ac_test_CFLAGS" = set; then
4110  CFLAGS=$ac_save_CFLAGS
4111elif test $ac_cv_prog_cc_g = yes; then
4112  if test "$GCC" = yes; then
4113    CFLAGS="-g -O2"
4114  else
4115    CFLAGS="-g"
4116  fi
4117else
4118  if test "$GCC" = yes; then
4119    CFLAGS="-O2"
4120  else
4121    CFLAGS=
4122  fi
4123fi
4124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4125$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4126if ${ac_cv_prog_cc_c89+:} false; then :
4127  $as_echo_n "(cached) " >&6
4128else
4129  ac_cv_prog_cc_c89=no
4130ac_save_CC=$CC
4131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132/* end confdefs.h.  */
4133#include <stdarg.h>
4134#include <stdio.h>
4135struct stat;
4136/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4137struct buf { int x; };
4138FILE * (*rcsopen) (struct buf *, struct stat *, int);
4139static char *e (p, i)
4140     char **p;
4141     int i;
4142{
4143  return p[i];
4144}
4145static char *f (char * (*g) (char **, int), char **p, ...)
4146{
4147  char *s;
4148  va_list v;
4149  va_start (v,p);
4150  s = g (p, va_arg (v,int));
4151  va_end (v);
4152  return s;
4153}
4154
4155/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4156   function prototypes and stuff, but not '\xHH' hex character constants.
4157   These don't provoke an error unfortunately, instead are silently treated
4158   as 'x'.  The following induces an error, until -std is added to get
4159   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4160   array size at least.  It's necessary to write '\x00'==0 to get something
4161   that's true only with -std.  */
4162int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4163
4164/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4165   inside strings and character constants.  */
4166#define FOO(x) 'x'
4167int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4168
4169int test (int i, double x);
4170struct s1 {int (*f) (int a);};
4171struct s2 {int (*f) (double a);};
4172int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4173int argc;
4174char **argv;
4175int
4176main ()
4177{
4178return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4179  ;
4180  return 0;
4181}
4182_ACEOF
4183for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4184	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4185do
4186  CC="$ac_save_CC $ac_arg"
4187  if ac_fn_c_try_compile "$LINENO"; then :
4188  ac_cv_prog_cc_c89=$ac_arg
4189fi
4190rm -f core conftest.err conftest.$ac_objext
4191  test "x$ac_cv_prog_cc_c89" != "xno" && break
4192done
4193rm -f conftest.$ac_ext
4194CC=$ac_save_CC
4195
4196fi
4197# AC_CACHE_VAL
4198case "x$ac_cv_prog_cc_c89" in
4199  x)
4200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4201$as_echo "none needed" >&6; } ;;
4202  xno)
4203    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4204$as_echo "unsupported" >&6; } ;;
4205  *)
4206    CC="$CC $ac_cv_prog_cc_c89"
4207    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4208$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4209esac
4210if test "x$ac_cv_prog_cc_c89" != xno; then :
4211
4212fi
4213
4214ac_ext=c
4215ac_cpp='$CPP $CPPFLAGS'
4216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219
4220ac_ext=c
4221ac_cpp='$CPP $CPPFLAGS'
4222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224ac_compiler_gnu=$ac_cv_c_compiler_gnu
4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4226$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4227if ${am_cv_prog_cc_c_o+:} false; then :
4228  $as_echo_n "(cached) " >&6
4229else
4230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231/* end confdefs.h.  */
4232
4233int
4234main ()
4235{
4236
4237  ;
4238  return 0;
4239}
4240_ACEOF
4241  # Make sure it works both with $CC and with simple cc.
4242  # Following AC_PROG_CC_C_O, we do the test twice because some
4243  # compilers refuse to overwrite an existing .o file with -o,
4244  # though they will create one.
4245  am_cv_prog_cc_c_o=yes
4246  for am_i in 1 2; do
4247    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4248   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4249   ac_status=$?
4250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251   (exit $ac_status); } \
4252         && test -f conftest2.$ac_objext; then
4253      : OK
4254    else
4255      am_cv_prog_cc_c_o=no
4256      break
4257    fi
4258  done
4259  rm -f core conftest*
4260  unset am_i
4261fi
4262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4263$as_echo "$am_cv_prog_cc_c_o" >&6; }
4264if test "$am_cv_prog_cc_c_o" != yes; then
4265   # Losing compiler, so override with the script.
4266   # FIXME: It is wrong to rewrite CC.
4267   # But if we don't then we get into trouble of one sort or another.
4268   # A longer-term fix would be to have automake use am__CC in this case,
4269   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4270   CC="$am_aux_dir/compile $CC"
4271fi
4272ac_ext=c
4273ac_cpp='$CPP $CPPFLAGS'
4274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277
4278DEPDIR="${am__leading_dot}deps"
4279
4280ac_config_commands="$ac_config_commands depfiles"
4281
4282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4283$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4284cat > confinc.mk << 'END'
4285am__doit:
4286	@echo this is the am__doit target >confinc.out
4287.PHONY: am__doit
4288END
4289am__include="#"
4290am__quote=
4291# BSD make does it like this.
4292echo '.include "confinc.mk" # ignored' > confmf.BSD
4293# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4294echo 'include confinc.mk # ignored' > confmf.GNU
4295_am_result=no
4296for s in GNU BSD; do
4297  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4298   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4299   ac_status=$?
4300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301   (exit $ac_status); }
4302  case $?:`cat confinc.out 2>/dev/null` in #(
4303  '0:this is the am__doit target') :
4304    case $s in #(
4305  BSD) :
4306    am__include='.include' am__quote='"' ;; #(
4307  *) :
4308    am__include='include' am__quote='' ;;
4309esac ;; #(
4310  *) :
4311     ;;
4312esac
4313  if test "$am__include" != "#"; then
4314    _am_result="yes ($s style)"
4315    break
4316  fi
4317done
4318rm -f confinc.* confmf.*
4319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4320$as_echo "${_am_result}" >&6; }
4321
4322# Check whether --enable-dependency-tracking was given.
4323if test "${enable_dependency_tracking+set}" = set; then :
4324  enableval=$enable_dependency_tracking;
4325fi
4326
4327if test "x$enable_dependency_tracking" != xno; then
4328  am_depcomp="$ac_aux_dir/depcomp"
4329  AMDEPBACKSLASH='\'
4330  am__nodep='_no'
4331fi
4332 if test "x$enable_dependency_tracking" != xno; then
4333  AMDEP_TRUE=
4334  AMDEP_FALSE='#'
4335else
4336  AMDEP_TRUE='#'
4337  AMDEP_FALSE=
4338fi
4339
4340
4341
4342depcc="$CC"   am_compiler_list=
4343
4344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4345$as_echo_n "checking dependency style of $depcc... " >&6; }
4346if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4347  $as_echo_n "(cached) " >&6
4348else
4349  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4350  # We make a subdir and do the tests there.  Otherwise we can end up
4351  # making bogus files that we don't know about and never remove.  For
4352  # instance it was reported that on HP-UX the gcc test will end up
4353  # making a dummy file named 'D' -- because '-MD' means "put the output
4354  # in D".
4355  rm -rf conftest.dir
4356  mkdir conftest.dir
4357  # Copy depcomp to subdir because otherwise we won't find it if we're
4358  # using a relative directory.
4359  cp "$am_depcomp" conftest.dir
4360  cd conftest.dir
4361  # We will build objects and dependencies in a subdirectory because
4362  # it helps to detect inapplicable dependency modes.  For instance
4363  # both Tru64's cc and ICC support -MD to output dependencies as a
4364  # side effect of compilation, but ICC will put the dependencies in
4365  # the current directory while Tru64 will put them in the object
4366  # directory.
4367  mkdir sub
4368
4369  am_cv_CC_dependencies_compiler_type=none
4370  if test "$am_compiler_list" = ""; then
4371     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4372  fi
4373  am__universal=false
4374  case " $depcc " in #(
4375     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4376     esac
4377
4378  for depmode in $am_compiler_list; do
4379    # Setup a source with many dependencies, because some compilers
4380    # like to wrap large dependency lists on column 80 (with \), and
4381    # we should not choose a depcomp mode which is confused by this.
4382    #
4383    # We need to recreate these files for each test, as the compiler may
4384    # overwrite some of them when testing with obscure command lines.
4385    # This happens at least with the AIX C compiler.
4386    : > sub/conftest.c
4387    for i in 1 2 3 4 5 6; do
4388      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4389      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4390      # Solaris 10 /bin/sh.
4391      echo '/* dummy */' > sub/conftst$i.h
4392    done
4393    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4394
4395    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4396    # mode.  It turns out that the SunPro C++ compiler does not properly
4397    # handle '-M -o', and we need to detect this.  Also, some Intel
4398    # versions had trouble with output in subdirs.
4399    am__obj=sub/conftest.${OBJEXT-o}
4400    am__minus_obj="-o $am__obj"
4401    case $depmode in
4402    gcc)
4403      # This depmode causes a compiler race in universal mode.
4404      test "$am__universal" = false || continue
4405      ;;
4406    nosideeffect)
4407      # After this tag, mechanisms are not by side-effect, so they'll
4408      # only be used when explicitly requested.
4409      if test "x$enable_dependency_tracking" = xyes; then
4410	continue
4411      else
4412	break
4413      fi
4414      ;;
4415    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4416      # This compiler won't grok '-c -o', but also, the minuso test has
4417      # not run yet.  These depmodes are late enough in the game, and
4418      # so weak that their functioning should not be impacted.
4419      am__obj=conftest.${OBJEXT-o}
4420      am__minus_obj=
4421      ;;
4422    none) break ;;
4423    esac
4424    if depmode=$depmode \
4425       source=sub/conftest.c object=$am__obj \
4426       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4427       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4428         >/dev/null 2>conftest.err &&
4429       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4430       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4431       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4432       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4433      # icc doesn't choke on unknown options, it will just issue warnings
4434      # or remarks (even with -Werror).  So we grep stderr for any message
4435      # that says an option was ignored or not supported.
4436      # When given -MP, icc 7.0 and 7.1 complain thusly:
4437      #   icc: Command line warning: ignoring option '-M'; no argument required
4438      # The diagnosis changed in icc 8.0:
4439      #   icc: Command line remark: option '-MP' not supported
4440      if (grep 'ignoring option' conftest.err ||
4441          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4442        am_cv_CC_dependencies_compiler_type=$depmode
4443        break
4444      fi
4445    fi
4446  done
4447
4448  cd ..
4449  rm -rf conftest.dir
4450else
4451  am_cv_CC_dependencies_compiler_type=none
4452fi
4453
4454fi
4455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4456$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4457CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4458
4459 if
4460  test "x$enable_dependency_tracking" != xno \
4461  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4462  am__fastdepCC_TRUE=
4463  am__fastdepCC_FALSE='#'
4464else
4465  am__fastdepCC_TRUE='#'
4466  am__fastdepCC_FALSE=
4467fi
4468
4469
4470
4471ac_ext=cpp
4472ac_cpp='$CXXCPP $CPPFLAGS'
4473ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4474ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4475ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4476if test -z "$CXX"; then
4477  if test -n "$CCC"; then
4478    CXX=$CCC
4479  else
4480    if test -n "$ac_tool_prefix"; then
4481  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4482  do
4483    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4484set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486$as_echo_n "checking for $ac_word... " >&6; }
4487if ${ac_cv_prog_CXX+:} false; then :
4488  $as_echo_n "(cached) " >&6
4489else
4490  if test -n "$CXX"; then
4491  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4492else
4493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494for as_dir in $PATH
4495do
4496  IFS=$as_save_IFS
4497  test -z "$as_dir" && as_dir=.
4498    for ac_exec_ext in '' $ac_executable_extensions; do
4499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502    break 2
4503  fi
4504done
4505  done
4506IFS=$as_save_IFS
4507
4508fi
4509fi
4510CXX=$ac_cv_prog_CXX
4511if test -n "$CXX"; then
4512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4513$as_echo "$CXX" >&6; }
4514else
4515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516$as_echo "no" >&6; }
4517fi
4518
4519
4520    test -n "$CXX" && break
4521  done
4522fi
4523if test -z "$CXX"; then
4524  ac_ct_CXX=$CXX
4525  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4526do
4527  # Extract the first word of "$ac_prog", so it can be a program name with args.
4528set dummy $ac_prog; ac_word=$2
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530$as_echo_n "checking for $ac_word... " >&6; }
4531if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4532  $as_echo_n "(cached) " >&6
4533else
4534  if test -n "$ac_ct_CXX"; then
4535  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4536else
4537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538for as_dir in $PATH
4539do
4540  IFS=$as_save_IFS
4541  test -z "$as_dir" && as_dir=.
4542    for ac_exec_ext in '' $ac_executable_extensions; do
4543  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544    ac_cv_prog_ac_ct_CXX="$ac_prog"
4545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546    break 2
4547  fi
4548done
4549  done
4550IFS=$as_save_IFS
4551
4552fi
4553fi
4554ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4555if test -n "$ac_ct_CXX"; then
4556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4557$as_echo "$ac_ct_CXX" >&6; }
4558else
4559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560$as_echo "no" >&6; }
4561fi
4562
4563
4564  test -n "$ac_ct_CXX" && break
4565done
4566
4567  if test "x$ac_ct_CXX" = x; then
4568    CXX="g++"
4569  else
4570    case $cross_compiling:$ac_tool_warned in
4571yes:)
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4573$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4574ac_tool_warned=yes ;;
4575esac
4576    CXX=$ac_ct_CXX
4577  fi
4578fi
4579
4580  fi
4581fi
4582# Provide some information about the compiler.
4583$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4584set X $ac_compile
4585ac_compiler=$2
4586for ac_option in --version -v -V -qversion; do
4587  { { ac_try="$ac_compiler $ac_option >&5"
4588case "(($ac_try" in
4589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4590  *) ac_try_echo=$ac_try;;
4591esac
4592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4593$as_echo "$ac_try_echo"; } >&5
4594  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4595  ac_status=$?
4596  if test -s conftest.err; then
4597    sed '10a\
4598... rest of stderr output deleted ...
4599         10q' conftest.err >conftest.er1
4600    cat conftest.er1 >&5
4601  fi
4602  rm -f conftest.er1 conftest.err
4603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604  test $ac_status = 0; }
4605done
4606
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4608$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4609if ${ac_cv_cxx_compiler_gnu+:} false; then :
4610  $as_echo_n "(cached) " >&6
4611else
4612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613/* end confdefs.h.  */
4614
4615int
4616main ()
4617{
4618#ifndef __GNUC__
4619       choke me
4620#endif
4621
4622  ;
4623  return 0;
4624}
4625_ACEOF
4626if ac_fn_cxx_try_compile "$LINENO"; then :
4627  ac_compiler_gnu=yes
4628else
4629  ac_compiler_gnu=no
4630fi
4631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4633
4634fi
4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4636$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4637if test $ac_compiler_gnu = yes; then
4638  GXX=yes
4639else
4640  GXX=
4641fi
4642ac_test_CXXFLAGS=${CXXFLAGS+set}
4643ac_save_CXXFLAGS=$CXXFLAGS
4644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4645$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4646if ${ac_cv_prog_cxx_g+:} false; then :
4647  $as_echo_n "(cached) " >&6
4648else
4649  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4650   ac_cxx_werror_flag=yes
4651   ac_cv_prog_cxx_g=no
4652   CXXFLAGS="-g"
4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654/* end confdefs.h.  */
4655
4656int
4657main ()
4658{
4659
4660  ;
4661  return 0;
4662}
4663_ACEOF
4664if ac_fn_cxx_try_compile "$LINENO"; then :
4665  ac_cv_prog_cxx_g=yes
4666else
4667  CXXFLAGS=""
4668      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669/* end confdefs.h.  */
4670
4671int
4672main ()
4673{
4674
4675  ;
4676  return 0;
4677}
4678_ACEOF
4679if ac_fn_cxx_try_compile "$LINENO"; then :
4680
4681else
4682  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4683	 CXXFLAGS="-g"
4684	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685/* end confdefs.h.  */
4686
4687int
4688main ()
4689{
4690
4691  ;
4692  return 0;
4693}
4694_ACEOF
4695if ac_fn_cxx_try_compile "$LINENO"; then :
4696  ac_cv_prog_cxx_g=yes
4697fi
4698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4699fi
4700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701fi
4702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4704fi
4705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4706$as_echo "$ac_cv_prog_cxx_g" >&6; }
4707if test "$ac_test_CXXFLAGS" = set; then
4708  CXXFLAGS=$ac_save_CXXFLAGS
4709elif test $ac_cv_prog_cxx_g = yes; then
4710  if test "$GXX" = yes; then
4711    CXXFLAGS="-g -O2"
4712  else
4713    CXXFLAGS="-g"
4714  fi
4715else
4716  if test "$GXX" = yes; then
4717    CXXFLAGS="-O2"
4718  else
4719    CXXFLAGS=
4720  fi
4721fi
4722ac_ext=c
4723ac_cpp='$CPP $CPPFLAGS'
4724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727
4728depcc="$CXX"  am_compiler_list=
4729
4730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4731$as_echo_n "checking dependency style of $depcc... " >&6; }
4732if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4733  $as_echo_n "(cached) " >&6
4734else
4735  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4736  # We make a subdir and do the tests there.  Otherwise we can end up
4737  # making bogus files that we don't know about and never remove.  For
4738  # instance it was reported that on HP-UX the gcc test will end up
4739  # making a dummy file named 'D' -- because '-MD' means "put the output
4740  # in D".
4741  rm -rf conftest.dir
4742  mkdir conftest.dir
4743  # Copy depcomp to subdir because otherwise we won't find it if we're
4744  # using a relative directory.
4745  cp "$am_depcomp" conftest.dir
4746  cd conftest.dir
4747  # We will build objects and dependencies in a subdirectory because
4748  # it helps to detect inapplicable dependency modes.  For instance
4749  # both Tru64's cc and ICC support -MD to output dependencies as a
4750  # side effect of compilation, but ICC will put the dependencies in
4751  # the current directory while Tru64 will put them in the object
4752  # directory.
4753  mkdir sub
4754
4755  am_cv_CXX_dependencies_compiler_type=none
4756  if test "$am_compiler_list" = ""; then
4757     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4758  fi
4759  am__universal=false
4760  case " $depcc " in #(
4761     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4762     esac
4763
4764  for depmode in $am_compiler_list; do
4765    # Setup a source with many dependencies, because some compilers
4766    # like to wrap large dependency lists on column 80 (with \), and
4767    # we should not choose a depcomp mode which is confused by this.
4768    #
4769    # We need to recreate these files for each test, as the compiler may
4770    # overwrite some of them when testing with obscure command lines.
4771    # This happens at least with the AIX C compiler.
4772    : > sub/conftest.c
4773    for i in 1 2 3 4 5 6; do
4774      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4775      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4776      # Solaris 10 /bin/sh.
4777      echo '/* dummy */' > sub/conftst$i.h
4778    done
4779    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4780
4781    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4782    # mode.  It turns out that the SunPro C++ compiler does not properly
4783    # handle '-M -o', and we need to detect this.  Also, some Intel
4784    # versions had trouble with output in subdirs.
4785    am__obj=sub/conftest.${OBJEXT-o}
4786    am__minus_obj="-o $am__obj"
4787    case $depmode in
4788    gcc)
4789      # This depmode causes a compiler race in universal mode.
4790      test "$am__universal" = false || continue
4791      ;;
4792    nosideeffect)
4793      # After this tag, mechanisms are not by side-effect, so they'll
4794      # only be used when explicitly requested.
4795      if test "x$enable_dependency_tracking" = xyes; then
4796	continue
4797      else
4798	break
4799      fi
4800      ;;
4801    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4802      # This compiler won't grok '-c -o', but also, the minuso test has
4803      # not run yet.  These depmodes are late enough in the game, and
4804      # so weak that their functioning should not be impacted.
4805      am__obj=conftest.${OBJEXT-o}
4806      am__minus_obj=
4807      ;;
4808    none) break ;;
4809    esac
4810    if depmode=$depmode \
4811       source=sub/conftest.c object=$am__obj \
4812       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4813       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4814         >/dev/null 2>conftest.err &&
4815       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4816       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4817       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4818       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4819      # icc doesn't choke on unknown options, it will just issue warnings
4820      # or remarks (even with -Werror).  So we grep stderr for any message
4821      # that says an option was ignored or not supported.
4822      # When given -MP, icc 7.0 and 7.1 complain thusly:
4823      #   icc: Command line warning: ignoring option '-M'; no argument required
4824      # The diagnosis changed in icc 8.0:
4825      #   icc: Command line remark: option '-MP' not supported
4826      if (grep 'ignoring option' conftest.err ||
4827          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4828        am_cv_CXX_dependencies_compiler_type=$depmode
4829        break
4830      fi
4831    fi
4832  done
4833
4834  cd ..
4835  rm -rf conftest.dir
4836else
4837  am_cv_CXX_dependencies_compiler_type=none
4838fi
4839
4840fi
4841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4842$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4843CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4844
4845 if
4846  test "x$enable_dependency_tracking" != xno \
4847  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4848  am__fastdepCXX_TRUE=
4849  am__fastdepCXX_FALSE='#'
4850else
4851  am__fastdepCXX_TRUE='#'
4852  am__fastdepCXX_FALSE=
4853fi
4854
4855
4856# Check whether --enable-static was given.
4857if test "${enable_static+set}" = set; then :
4858  enableval=$enable_static; p=${PACKAGE-default}
4859    case $enableval in
4860    yes) enable_static=yes ;;
4861    no) enable_static=no ;;
4862    *)
4863     enable_static=no
4864      # Look at the argument we got.  We use all the common list separators.
4865      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4866      for pkg in $enableval; do
4867	IFS=$lt_save_ifs
4868	if test "X$pkg" = "X$p"; then
4869	  enable_static=yes
4870	fi
4871      done
4872      IFS=$lt_save_ifs
4873      ;;
4874    esac
4875else
4876  enable_static=no
4877fi
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4888$as_echo_n "checking host system type... " >&6; }
4889if ${ac_cv_host+:} false; then :
4890  $as_echo_n "(cached) " >&6
4891else
4892  if test "x$host_alias" = x; then
4893  ac_cv_host=$ac_cv_build
4894else
4895  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4896    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4897fi
4898
4899fi
4900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4901$as_echo "$ac_cv_host" >&6; }
4902case $ac_cv_host in
4903*-*-*) ;;
4904*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4905esac
4906host=$ac_cv_host
4907ac_save_IFS=$IFS; IFS='-'
4908set x $ac_cv_host
4909shift
4910host_cpu=$1
4911host_vendor=$2
4912shift; shift
4913# Remember, the first character of IFS is used to create $*,
4914# except with old shells:
4915host_os=$*
4916IFS=$ac_save_IFS
4917case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4918
4919
4920enable_win32_dll=yes
4921
4922case $host in
4923*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4924  if test -n "$ac_tool_prefix"; then
4925  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4926set dummy ${ac_tool_prefix}as; ac_word=$2
4927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928$as_echo_n "checking for $ac_word... " >&6; }
4929if ${ac_cv_prog_AS+:} false; then :
4930  $as_echo_n "(cached) " >&6
4931else
4932  if test -n "$AS"; then
4933  ac_cv_prog_AS="$AS" # Let the user override the test.
4934else
4935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936for as_dir in $PATH
4937do
4938  IFS=$as_save_IFS
4939  test -z "$as_dir" && as_dir=.
4940    for ac_exec_ext in '' $ac_executable_extensions; do
4941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942    ac_cv_prog_AS="${ac_tool_prefix}as"
4943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944    break 2
4945  fi
4946done
4947  done
4948IFS=$as_save_IFS
4949
4950fi
4951fi
4952AS=$ac_cv_prog_AS
4953if test -n "$AS"; then
4954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4955$as_echo "$AS" >&6; }
4956else
4957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958$as_echo "no" >&6; }
4959fi
4960
4961
4962fi
4963if test -z "$ac_cv_prog_AS"; then
4964  ac_ct_AS=$AS
4965  # Extract the first word of "as", so it can be a program name with args.
4966set dummy as; ac_word=$2
4967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968$as_echo_n "checking for $ac_word... " >&6; }
4969if ${ac_cv_prog_ac_ct_AS+:} false; then :
4970  $as_echo_n "(cached) " >&6
4971else
4972  if test -n "$ac_ct_AS"; then
4973  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4974else
4975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976for as_dir in $PATH
4977do
4978  IFS=$as_save_IFS
4979  test -z "$as_dir" && as_dir=.
4980    for ac_exec_ext in '' $ac_executable_extensions; do
4981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982    ac_cv_prog_ac_ct_AS="as"
4983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984    break 2
4985  fi
4986done
4987  done
4988IFS=$as_save_IFS
4989
4990fi
4991fi
4992ac_ct_AS=$ac_cv_prog_ac_ct_AS
4993if test -n "$ac_ct_AS"; then
4994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4995$as_echo "$ac_ct_AS" >&6; }
4996else
4997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998$as_echo "no" >&6; }
4999fi
5000
5001  if test "x$ac_ct_AS" = x; then
5002    AS="false"
5003  else
5004    case $cross_compiling:$ac_tool_warned in
5005yes:)
5006{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5008ac_tool_warned=yes ;;
5009esac
5010    AS=$ac_ct_AS
5011  fi
5012else
5013  AS="$ac_cv_prog_AS"
5014fi
5015
5016  if test -n "$ac_tool_prefix"; then
5017  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5018set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020$as_echo_n "checking for $ac_word... " >&6; }
5021if ${ac_cv_prog_DLLTOOL+:} false; then :
5022  $as_echo_n "(cached) " >&6
5023else
5024  if test -n "$DLLTOOL"; then
5025  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5026else
5027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028for as_dir in $PATH
5029do
5030  IFS=$as_save_IFS
5031  test -z "$as_dir" && as_dir=.
5032    for ac_exec_ext in '' $ac_executable_extensions; do
5033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5034    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036    break 2
5037  fi
5038done
5039  done
5040IFS=$as_save_IFS
5041
5042fi
5043fi
5044DLLTOOL=$ac_cv_prog_DLLTOOL
5045if test -n "$DLLTOOL"; then
5046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5047$as_echo "$DLLTOOL" >&6; }
5048else
5049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050$as_echo "no" >&6; }
5051fi
5052
5053
5054fi
5055if test -z "$ac_cv_prog_DLLTOOL"; then
5056  ac_ct_DLLTOOL=$DLLTOOL
5057  # Extract the first word of "dlltool", so it can be a program name with args.
5058set dummy dlltool; ac_word=$2
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060$as_echo_n "checking for $ac_word... " >&6; }
5061if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5062  $as_echo_n "(cached) " >&6
5063else
5064  if test -n "$ac_ct_DLLTOOL"; then
5065  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5066else
5067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068for as_dir in $PATH
5069do
5070  IFS=$as_save_IFS
5071  test -z "$as_dir" && as_dir=.
5072    for ac_exec_ext in '' $ac_executable_extensions; do
5073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
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
5082fi
5083fi
5084ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5085if test -n "$ac_ct_DLLTOOL"; then
5086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5087$as_echo "$ac_ct_DLLTOOL" >&6; }
5088else
5089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090$as_echo "no" >&6; }
5091fi
5092
5093  if test "x$ac_ct_DLLTOOL" = x; then
5094    DLLTOOL="false"
5095  else
5096    case $cross_compiling:$ac_tool_warned in
5097yes:)
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100ac_tool_warned=yes ;;
5101esac
5102    DLLTOOL=$ac_ct_DLLTOOL
5103  fi
5104else
5105  DLLTOOL="$ac_cv_prog_DLLTOOL"
5106fi
5107
5108  if test -n "$ac_tool_prefix"; then
5109  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5110set dummy ${ac_tool_prefix}objdump; ac_word=$2
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112$as_echo_n "checking for $ac_word... " >&6; }
5113if ${ac_cv_prog_OBJDUMP+:} false; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  if test -n "$OBJDUMP"; then
5117  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5118else
5119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120for as_dir in $PATH
5121do
5122  IFS=$as_save_IFS
5123  test -z "$as_dir" && as_dir=.
5124    for ac_exec_ext in '' $ac_executable_extensions; do
5125  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128    break 2
5129  fi
5130done
5131  done
5132IFS=$as_save_IFS
5133
5134fi
5135fi
5136OBJDUMP=$ac_cv_prog_OBJDUMP
5137if test -n "$OBJDUMP"; then
5138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5139$as_echo "$OBJDUMP" >&6; }
5140else
5141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142$as_echo "no" >&6; }
5143fi
5144
5145
5146fi
5147if test -z "$ac_cv_prog_OBJDUMP"; then
5148  ac_ct_OBJDUMP=$OBJDUMP
5149  # Extract the first word of "objdump", so it can be a program name with args.
5150set dummy objdump; ac_word=$2
5151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152$as_echo_n "checking for $ac_word... " >&6; }
5153if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5154  $as_echo_n "(cached) " >&6
5155else
5156  if test -n "$ac_ct_OBJDUMP"; then
5157  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5158else
5159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160for as_dir in $PATH
5161do
5162  IFS=$as_save_IFS
5163  test -z "$as_dir" && as_dir=.
5164    for ac_exec_ext in '' $ac_executable_extensions; do
5165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168    break 2
5169  fi
5170done
5171  done
5172IFS=$as_save_IFS
5173
5174fi
5175fi
5176ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5177if test -n "$ac_ct_OBJDUMP"; then
5178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5179$as_echo "$ac_ct_OBJDUMP" >&6; }
5180else
5181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182$as_echo "no" >&6; }
5183fi
5184
5185  if test "x$ac_ct_OBJDUMP" = x; then
5186    OBJDUMP="false"
5187  else
5188    case $cross_compiling:$ac_tool_warned in
5189yes:)
5190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5192ac_tool_warned=yes ;;
5193esac
5194    OBJDUMP=$ac_ct_OBJDUMP
5195  fi
5196else
5197  OBJDUMP="$ac_cv_prog_OBJDUMP"
5198fi
5199
5200  ;;
5201esac
5202
5203test -z "$AS" && AS=as
5204
5205
5206
5207
5208
5209test -z "$DLLTOOL" && DLLTOOL=dlltool
5210
5211
5212
5213
5214
5215test -z "$OBJDUMP" && OBJDUMP=objdump
5216
5217
5218
5219
5220
5221
5222
5223case `pwd` in
5224  *\ * | *\	*)
5225    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5226$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5227esac
5228
5229
5230
5231macro_version='2.4.6'
5232macro_revision='2.4.6'
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246ltmain=$ac_aux_dir/ltmain.sh
5247
5248# Backslashify metacharacters that are still active within
5249# double-quoted strings.
5250sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5251
5252# Same as above, but do not quote variable references.
5253double_quote_subst='s/\(["`\\]\)/\\\1/g'
5254
5255# Sed substitution to delay expansion of an escaped shell variable in a
5256# double_quote_subst'ed string.
5257delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5258
5259# Sed substitution to delay expansion of an escaped single quote.
5260delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5261
5262# Sed substitution to avoid accidental globbing in evaled expressions
5263no_glob_subst='s/\*/\\\*/g'
5264
5265ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5266ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5267ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5268
5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5270$as_echo_n "checking how to print strings... " >&6; }
5271# Test print first, because it will be a builtin if present.
5272if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5273   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5274  ECHO='print -r --'
5275elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5276  ECHO='printf %s\n'
5277else
5278  # Use this function as a fallback that always works.
5279  func_fallback_echo ()
5280  {
5281    eval 'cat <<_LTECHO_EOF
5282$1
5283_LTECHO_EOF'
5284  }
5285  ECHO='func_fallback_echo'
5286fi
5287
5288# func_echo_all arg...
5289# Invoke $ECHO with all args, space-separated.
5290func_echo_all ()
5291{
5292    $ECHO ""
5293}
5294
5295case $ECHO in
5296  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5297$as_echo "printf" >&6; } ;;
5298  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5299$as_echo "print -r" >&6; } ;;
5300  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5301$as_echo "cat" >&6; } ;;
5302esac
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5318$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5319if ${ac_cv_path_SED+:} false; then :
5320  $as_echo_n "(cached) " >&6
5321else
5322            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5323     for ac_i in 1 2 3 4 5 6 7; do
5324       ac_script="$ac_script$as_nl$ac_script"
5325     done
5326     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5327     { ac_script=; unset ac_script;}
5328     if test -z "$SED"; then
5329  ac_path_SED_found=false
5330  # Loop through the user's path and test for each of PROGNAME-LIST
5331  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332for as_dir in $PATH
5333do
5334  IFS=$as_save_IFS
5335  test -z "$as_dir" && as_dir=.
5336    for ac_prog in sed gsed; do
5337    for ac_exec_ext in '' $ac_executable_extensions; do
5338      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5339      as_fn_executable_p "$ac_path_SED" || continue
5340# Check for GNU ac_path_SED and select it if it is found.
5341  # Check for GNU $ac_path_SED
5342case `"$ac_path_SED" --version 2>&1` in
5343*GNU*)
5344  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5345*)
5346  ac_count=0
5347  $as_echo_n 0123456789 >"conftest.in"
5348  while :
5349  do
5350    cat "conftest.in" "conftest.in" >"conftest.tmp"
5351    mv "conftest.tmp" "conftest.in"
5352    cp "conftest.in" "conftest.nl"
5353    $as_echo '' >> "conftest.nl"
5354    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5355    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5356    as_fn_arith $ac_count + 1 && ac_count=$as_val
5357    if test $ac_count -gt ${ac_path_SED_max-0}; then
5358      # Best one so far, save it but keep looking for a better one
5359      ac_cv_path_SED="$ac_path_SED"
5360      ac_path_SED_max=$ac_count
5361    fi
5362    # 10*(2^10) chars as input seems more than enough
5363    test $ac_count -gt 10 && break
5364  done
5365  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5366esac
5367
5368      $ac_path_SED_found && break 3
5369    done
5370  done
5371  done
5372IFS=$as_save_IFS
5373  if test -z "$ac_cv_path_SED"; then
5374    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5375  fi
5376else
5377  ac_cv_path_SED=$SED
5378fi
5379
5380fi
5381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5382$as_echo "$ac_cv_path_SED" >&6; }
5383 SED="$ac_cv_path_SED"
5384  rm -f conftest.sed
5385
5386test -z "$SED" && SED=sed
5387Xsed="$SED -e 1s/^X//"
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5400$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5401if ${ac_cv_path_GREP+:} false; then :
5402  $as_echo_n "(cached) " >&6
5403else
5404  if test -z "$GREP"; then
5405  ac_path_GREP_found=false
5406  # Loop through the user's path and test for each of PROGNAME-LIST
5407  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5409do
5410  IFS=$as_save_IFS
5411  test -z "$as_dir" && as_dir=.
5412    for ac_prog in grep ggrep; do
5413    for ac_exec_ext in '' $ac_executable_extensions; do
5414      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5415      as_fn_executable_p "$ac_path_GREP" || continue
5416# Check for GNU ac_path_GREP and select it if it is found.
5417  # Check for GNU $ac_path_GREP
5418case `"$ac_path_GREP" --version 2>&1` in
5419*GNU*)
5420  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5421*)
5422  ac_count=0
5423  $as_echo_n 0123456789 >"conftest.in"
5424  while :
5425  do
5426    cat "conftest.in" "conftest.in" >"conftest.tmp"
5427    mv "conftest.tmp" "conftest.in"
5428    cp "conftest.in" "conftest.nl"
5429    $as_echo 'GREP' >> "conftest.nl"
5430    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5431    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5432    as_fn_arith $ac_count + 1 && ac_count=$as_val
5433    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5434      # Best one so far, save it but keep looking for a better one
5435      ac_cv_path_GREP="$ac_path_GREP"
5436      ac_path_GREP_max=$ac_count
5437    fi
5438    # 10*(2^10) chars as input seems more than enough
5439    test $ac_count -gt 10 && break
5440  done
5441  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5442esac
5443
5444      $ac_path_GREP_found && break 3
5445    done
5446  done
5447  done
5448IFS=$as_save_IFS
5449  if test -z "$ac_cv_path_GREP"; then
5450    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5451  fi
5452else
5453  ac_cv_path_GREP=$GREP
5454fi
5455
5456fi
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5458$as_echo "$ac_cv_path_GREP" >&6; }
5459 GREP="$ac_cv_path_GREP"
5460
5461
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5463$as_echo_n "checking for egrep... " >&6; }
5464if ${ac_cv_path_EGREP+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5468   then ac_cv_path_EGREP="$GREP -E"
5469   else
5470     if test -z "$EGREP"; then
5471  ac_path_EGREP_found=false
5472  # Loop through the user's path and test for each of PROGNAME-LIST
5473  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5475do
5476  IFS=$as_save_IFS
5477  test -z "$as_dir" && as_dir=.
5478    for ac_prog in egrep; do
5479    for ac_exec_ext in '' $ac_executable_extensions; do
5480      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5481      as_fn_executable_p "$ac_path_EGREP" || continue
5482# Check for GNU ac_path_EGREP and select it if it is found.
5483  # Check for GNU $ac_path_EGREP
5484case `"$ac_path_EGREP" --version 2>&1` in
5485*GNU*)
5486  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5487*)
5488  ac_count=0
5489  $as_echo_n 0123456789 >"conftest.in"
5490  while :
5491  do
5492    cat "conftest.in" "conftest.in" >"conftest.tmp"
5493    mv "conftest.tmp" "conftest.in"
5494    cp "conftest.in" "conftest.nl"
5495    $as_echo 'EGREP' >> "conftest.nl"
5496    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5497    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5498    as_fn_arith $ac_count + 1 && ac_count=$as_val
5499    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5500      # Best one so far, save it but keep looking for a better one
5501      ac_cv_path_EGREP="$ac_path_EGREP"
5502      ac_path_EGREP_max=$ac_count
5503    fi
5504    # 10*(2^10) chars as input seems more than enough
5505    test $ac_count -gt 10 && break
5506  done
5507  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5508esac
5509
5510      $ac_path_EGREP_found && break 3
5511    done
5512  done
5513  done
5514IFS=$as_save_IFS
5515  if test -z "$ac_cv_path_EGREP"; then
5516    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5517  fi
5518else
5519  ac_cv_path_EGREP=$EGREP
5520fi
5521
5522   fi
5523fi
5524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5525$as_echo "$ac_cv_path_EGREP" >&6; }
5526 EGREP="$ac_cv_path_EGREP"
5527
5528
5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5530$as_echo_n "checking for fgrep... " >&6; }
5531if ${ac_cv_path_FGREP+:} false; then :
5532  $as_echo_n "(cached) " >&6
5533else
5534  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5535   then ac_cv_path_FGREP="$GREP -F"
5536   else
5537     if test -z "$FGREP"; then
5538  ac_path_FGREP_found=false
5539  # Loop through the user's path and test for each of PROGNAME-LIST
5540  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5542do
5543  IFS=$as_save_IFS
5544  test -z "$as_dir" && as_dir=.
5545    for ac_prog in fgrep; do
5546    for ac_exec_ext in '' $ac_executable_extensions; do
5547      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5548      as_fn_executable_p "$ac_path_FGREP" || continue
5549# Check for GNU ac_path_FGREP and select it if it is found.
5550  # Check for GNU $ac_path_FGREP
5551case `"$ac_path_FGREP" --version 2>&1` in
5552*GNU*)
5553  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5554*)
5555  ac_count=0
5556  $as_echo_n 0123456789 >"conftest.in"
5557  while :
5558  do
5559    cat "conftest.in" "conftest.in" >"conftest.tmp"
5560    mv "conftest.tmp" "conftest.in"
5561    cp "conftest.in" "conftest.nl"
5562    $as_echo 'FGREP' >> "conftest.nl"
5563    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5564    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5565    as_fn_arith $ac_count + 1 && ac_count=$as_val
5566    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5567      # Best one so far, save it but keep looking for a better one
5568      ac_cv_path_FGREP="$ac_path_FGREP"
5569      ac_path_FGREP_max=$ac_count
5570    fi
5571    # 10*(2^10) chars as input seems more than enough
5572    test $ac_count -gt 10 && break
5573  done
5574  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5575esac
5576
5577      $ac_path_FGREP_found && break 3
5578    done
5579  done
5580  done
5581IFS=$as_save_IFS
5582  if test -z "$ac_cv_path_FGREP"; then
5583    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5584  fi
5585else
5586  ac_cv_path_FGREP=$FGREP
5587fi
5588
5589   fi
5590fi
5591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5592$as_echo "$ac_cv_path_FGREP" >&6; }
5593 FGREP="$ac_cv_path_FGREP"
5594
5595
5596test -z "$GREP" && GREP=grep
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616# Check whether --with-gnu-ld was given.
5617if test "${with_gnu_ld+set}" = set; then :
5618  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5619else
5620  with_gnu_ld=no
5621fi
5622
5623ac_prog=ld
5624if test yes = "$GCC"; then
5625  # Check if gcc -print-prog-name=ld gives a path.
5626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5627$as_echo_n "checking for ld used by $CC... " >&6; }
5628  case $host in
5629  *-*-mingw*)
5630    # gcc leaves a trailing carriage return, which upsets mingw
5631    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5632  *)
5633    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5634  esac
5635  case $ac_prog in
5636    # Accept absolute paths.
5637    [\\/]* | ?:[\\/]*)
5638      re_direlt='/[^/][^/]*/\.\./'
5639      # Canonicalize the pathname of ld
5640      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5641      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5642	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5643      done
5644      test -z "$LD" && LD=$ac_prog
5645      ;;
5646  "")
5647    # If it fails, then pretend we aren't using GCC.
5648    ac_prog=ld
5649    ;;
5650  *)
5651    # If it is relative, then search for the first ld in PATH.
5652    with_gnu_ld=unknown
5653    ;;
5654  esac
5655elif test yes = "$with_gnu_ld"; then
5656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5657$as_echo_n "checking for GNU ld... " >&6; }
5658else
5659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5660$as_echo_n "checking for non-GNU ld... " >&6; }
5661fi
5662if ${lt_cv_path_LD+:} false; then :
5663  $as_echo_n "(cached) " >&6
5664else
5665  if test -z "$LD"; then
5666  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5667  for ac_dir in $PATH; do
5668    IFS=$lt_save_ifs
5669    test -z "$ac_dir" && ac_dir=.
5670    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5671      lt_cv_path_LD=$ac_dir/$ac_prog
5672      # Check to see if the program is GNU ld.  I'd rather use --version,
5673      # but apparently some variants of GNU ld only accept -v.
5674      # Break only if it was the GNU/non-GNU ld that we prefer.
5675      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5676      *GNU* | *'with BFD'*)
5677	test no != "$with_gnu_ld" && break
5678	;;
5679      *)
5680	test yes != "$with_gnu_ld" && break
5681	;;
5682      esac
5683    fi
5684  done
5685  IFS=$lt_save_ifs
5686else
5687  lt_cv_path_LD=$LD # Let the user override the test with a path.
5688fi
5689fi
5690
5691LD=$lt_cv_path_LD
5692if test -n "$LD"; then
5693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5694$as_echo "$LD" >&6; }
5695else
5696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697$as_echo "no" >&6; }
5698fi
5699test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5701$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5702if ${lt_cv_prog_gnu_ld+:} false; then :
5703  $as_echo_n "(cached) " >&6
5704else
5705  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5706case `$LD -v 2>&1 </dev/null` in
5707*GNU* | *'with BFD'*)
5708  lt_cv_prog_gnu_ld=yes
5709  ;;
5710*)
5711  lt_cv_prog_gnu_ld=no
5712  ;;
5713esac
5714fi
5715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5716$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5717with_gnu_ld=$lt_cv_prog_gnu_ld
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5728$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5729if ${lt_cv_path_NM+:} false; then :
5730  $as_echo_n "(cached) " >&6
5731else
5732  if test -n "$NM"; then
5733  # Let the user override the test.
5734  lt_cv_path_NM=$NM
5735else
5736  lt_nm_to_check=${ac_tool_prefix}nm
5737  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5738    lt_nm_to_check="$lt_nm_to_check nm"
5739  fi
5740  for lt_tmp_nm in $lt_nm_to_check; do
5741    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5742    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5743      IFS=$lt_save_ifs
5744      test -z "$ac_dir" && ac_dir=.
5745      tmp_nm=$ac_dir/$lt_tmp_nm
5746      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5747	# Check to see if the nm accepts a BSD-compat flag.
5748	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5749	#   nm: unknown option "B" ignored
5750	# Tru64's nm complains that /dev/null is an invalid object file
5751	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5752	case $build_os in
5753	mingw*) lt_bad_file=conftest.nm/nofile ;;
5754	*) lt_bad_file=/dev/null ;;
5755	esac
5756	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5757	*$lt_bad_file* | *'Invalid file or object type'*)
5758	  lt_cv_path_NM="$tmp_nm -B"
5759	  break 2
5760	  ;;
5761	*)
5762	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5763	  */dev/null*)
5764	    lt_cv_path_NM="$tmp_nm -p"
5765	    break 2
5766	    ;;
5767	  *)
5768	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5769	    continue # so that we can try to find one that supports BSD flags
5770	    ;;
5771	  esac
5772	  ;;
5773	esac
5774      fi
5775    done
5776    IFS=$lt_save_ifs
5777  done
5778  : ${lt_cv_path_NM=no}
5779fi
5780fi
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5782$as_echo "$lt_cv_path_NM" >&6; }
5783if test no != "$lt_cv_path_NM"; then
5784  NM=$lt_cv_path_NM
5785else
5786  # Didn't find any BSD compatible name lister, look for dumpbin.
5787  if test -n "$DUMPBIN"; then :
5788    # Let the user override the test.
5789  else
5790    if test -n "$ac_tool_prefix"; then
5791  for ac_prog in dumpbin "link -dump"
5792  do
5793    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5794set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796$as_echo_n "checking for $ac_word... " >&6; }
5797if ${ac_cv_prog_DUMPBIN+:} false; then :
5798  $as_echo_n "(cached) " >&6
5799else
5800  if test -n "$DUMPBIN"; then
5801  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5802else
5803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804for as_dir in $PATH
5805do
5806  IFS=$as_save_IFS
5807  test -z "$as_dir" && as_dir=.
5808    for ac_exec_ext in '' $ac_executable_extensions; do
5809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812    break 2
5813  fi
5814done
5815  done
5816IFS=$as_save_IFS
5817
5818fi
5819fi
5820DUMPBIN=$ac_cv_prog_DUMPBIN
5821if test -n "$DUMPBIN"; then
5822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5823$as_echo "$DUMPBIN" >&6; }
5824else
5825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826$as_echo "no" >&6; }
5827fi
5828
5829
5830    test -n "$DUMPBIN" && break
5831  done
5832fi
5833if test -z "$DUMPBIN"; then
5834  ac_ct_DUMPBIN=$DUMPBIN
5835  for ac_prog in dumpbin "link -dump"
5836do
5837  # Extract the first word of "$ac_prog", so it can be a program name with args.
5838set dummy $ac_prog; ac_word=$2
5839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840$as_echo_n "checking for $ac_word... " >&6; }
5841if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5842  $as_echo_n "(cached) " >&6
5843else
5844  if test -n "$ac_ct_DUMPBIN"; then
5845  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5846else
5847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848for as_dir in $PATH
5849do
5850  IFS=$as_save_IFS
5851  test -z "$as_dir" && as_dir=.
5852    for ac_exec_ext in '' $ac_executable_extensions; do
5853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856    break 2
5857  fi
5858done
5859  done
5860IFS=$as_save_IFS
5861
5862fi
5863fi
5864ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5865if test -n "$ac_ct_DUMPBIN"; then
5866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5867$as_echo "$ac_ct_DUMPBIN" >&6; }
5868else
5869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870$as_echo "no" >&6; }
5871fi
5872
5873
5874  test -n "$ac_ct_DUMPBIN" && break
5875done
5876
5877  if test "x$ac_ct_DUMPBIN" = x; then
5878    DUMPBIN=":"
5879  else
5880    case $cross_compiling:$ac_tool_warned in
5881yes:)
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5883$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5884ac_tool_warned=yes ;;
5885esac
5886    DUMPBIN=$ac_ct_DUMPBIN
5887  fi
5888fi
5889
5890    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5891    *COFF*)
5892      DUMPBIN="$DUMPBIN -symbols -headers"
5893      ;;
5894    *)
5895      DUMPBIN=:
5896      ;;
5897    esac
5898  fi
5899
5900  if test : != "$DUMPBIN"; then
5901    NM=$DUMPBIN
5902  fi
5903fi
5904test -z "$NM" && NM=nm
5905
5906
5907
5908
5909
5910
5911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5912$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5913if ${lt_cv_nm_interface+:} false; then :
5914  $as_echo_n "(cached) " >&6
5915else
5916  lt_cv_nm_interface="BSD nm"
5917  echo "int some_variable = 0;" > conftest.$ac_ext
5918  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5919  (eval "$ac_compile" 2>conftest.err)
5920  cat conftest.err >&5
5921  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5922  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5923  cat conftest.err >&5
5924  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5925  cat conftest.out >&5
5926  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5927    lt_cv_nm_interface="MS dumpbin"
5928  fi
5929  rm -f conftest*
5930fi
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5932$as_echo "$lt_cv_nm_interface" >&6; }
5933
5934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5935$as_echo_n "checking whether ln -s works... " >&6; }
5936LN_S=$as_ln_s
5937if test "$LN_S" = "ln -s"; then
5938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5939$as_echo "yes" >&6; }
5940else
5941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5942$as_echo "no, using $LN_S" >&6; }
5943fi
5944
5945# find the maximum length of command line arguments
5946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5947$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5948if ${lt_cv_sys_max_cmd_len+:} false; then :
5949  $as_echo_n "(cached) " >&6
5950else
5951    i=0
5952  teststring=ABCD
5953
5954  case $build_os in
5955  msdosdjgpp*)
5956    # On DJGPP, this test can blow up pretty badly due to problems in libc
5957    # (any single argument exceeding 2000 bytes causes a buffer overrun
5958    # during glob expansion).  Even if it were fixed, the result of this
5959    # check would be larger than it should be.
5960    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5961    ;;
5962
5963  gnu*)
5964    # Under GNU Hurd, this test is not required because there is
5965    # no limit to the length of command line arguments.
5966    # Libtool will interpret -1 as no limit whatsoever
5967    lt_cv_sys_max_cmd_len=-1;
5968    ;;
5969
5970  cygwin* | mingw* | cegcc*)
5971    # On Win9x/ME, this test blows up -- it succeeds, but takes
5972    # about 5 minutes as the teststring grows exponentially.
5973    # Worse, since 9x/ME are not pre-emptively multitasking,
5974    # you end up with a "frozen" computer, even though with patience
5975    # the test eventually succeeds (with a max line length of 256k).
5976    # Instead, let's just punt: use the minimum linelength reported by
5977    # all of the supported platforms: 8192 (on NT/2K/XP).
5978    lt_cv_sys_max_cmd_len=8192;
5979    ;;
5980
5981  mint*)
5982    # On MiNT this can take a long time and run out of memory.
5983    lt_cv_sys_max_cmd_len=8192;
5984    ;;
5985
5986  amigaos*)
5987    # On AmigaOS with pdksh, this test takes hours, literally.
5988    # So we just punt and use a minimum line length of 8192.
5989    lt_cv_sys_max_cmd_len=8192;
5990    ;;
5991
5992  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5993    # This has been around since 386BSD, at least.  Likely further.
5994    if test -x /sbin/sysctl; then
5995      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5996    elif test -x /usr/sbin/sysctl; then
5997      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5998    else
5999      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6000    fi
6001    # And add a safety zone
6002    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6003    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6004    ;;
6005
6006  interix*)
6007    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6008    lt_cv_sys_max_cmd_len=196608
6009    ;;
6010
6011  os2*)
6012    # The test takes a long time on OS/2.
6013    lt_cv_sys_max_cmd_len=8192
6014    ;;
6015
6016  osf*)
6017    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019    # nice to cause kernel panics so lets avoid the loop below.
6020    # First set a reasonable default.
6021    lt_cv_sys_max_cmd_len=16384
6022    #
6023    if test -x /sbin/sysconfig; then
6024      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026      esac
6027    fi
6028    ;;
6029  sco3.2v5*)
6030    lt_cv_sys_max_cmd_len=102400
6031    ;;
6032  sysv5* | sco5v6* | sysv4.2uw2*)
6033    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034    if test -n "$kargmax"; then
6035      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6036    else
6037      lt_cv_sys_max_cmd_len=32768
6038    fi
6039    ;;
6040  *)
6041    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042    if test -n "$lt_cv_sys_max_cmd_len" && \
6043       test undefined != "$lt_cv_sys_max_cmd_len"; then
6044      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6045      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046    else
6047      # Make teststring a little bigger before we do anything with it.
6048      # a 1K string should be a reasonable start.
6049      for i in 1 2 3 4 5 6 7 8; do
6050        teststring=$teststring$teststring
6051      done
6052      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6053      # If test is not a shell built-in, we'll probably end up computing a
6054      # maximum length that is only half of the actual maximum length, but
6055      # we can't tell.
6056      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6057	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6058	      test 17 != "$i" # 1/2 MB should be enough
6059      do
6060        i=`expr $i + 1`
6061        teststring=$teststring$teststring
6062      done
6063      # Only check the string length outside the loop.
6064      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6065      teststring=
6066      # Add a significant safety factor because C++ compilers can tack on
6067      # massive amounts of additional arguments before passing them to the
6068      # linker.  It appears as though 1/2 is a usable value.
6069      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6070    fi
6071    ;;
6072  esac
6073
6074fi
6075
6076if test -n "$lt_cv_sys_max_cmd_len"; then
6077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6078$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079else
6080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6081$as_echo "none" >&6; }
6082fi
6083max_cmd_len=$lt_cv_sys_max_cmd_len
6084
6085
6086
6087
6088
6089
6090: ${CP="cp -f"}
6091: ${MV="mv -f"}
6092: ${RM="rm -f"}
6093
6094if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6095  lt_unset=unset
6096else
6097  lt_unset=false
6098fi
6099
6100
6101
6102
6103
6104# test EBCDIC or ASCII
6105case `echo X|tr X '\101'` in
6106 A) # ASCII based system
6107    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6108  lt_SP2NL='tr \040 \012'
6109  lt_NL2SP='tr \015\012 \040\040'
6110  ;;
6111 *) # EBCDIC based system
6112  lt_SP2NL='tr \100 \n'
6113  lt_NL2SP='tr \r\n \100\100'
6114  ;;
6115esac
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6126$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6127if ${lt_cv_to_host_file_cmd+:} false; then :
6128  $as_echo_n "(cached) " >&6
6129else
6130  case $host in
6131  *-*-mingw* )
6132    case $build in
6133      *-*-mingw* ) # actually msys
6134        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6135        ;;
6136      *-*-cygwin* )
6137        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6138        ;;
6139      * ) # otherwise, assume *nix
6140        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6141        ;;
6142    esac
6143    ;;
6144  *-*-cygwin* )
6145    case $build in
6146      *-*-mingw* ) # actually msys
6147        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6148        ;;
6149      *-*-cygwin* )
6150        lt_cv_to_host_file_cmd=func_convert_file_noop
6151        ;;
6152      * ) # otherwise, assume *nix
6153        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6154        ;;
6155    esac
6156    ;;
6157  * ) # unhandled hosts (and "normal" native builds)
6158    lt_cv_to_host_file_cmd=func_convert_file_noop
6159    ;;
6160esac
6161
6162fi
6163
6164to_host_file_cmd=$lt_cv_to_host_file_cmd
6165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6166$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6167
6168
6169
6170
6171
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6173$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6174if ${lt_cv_to_tool_file_cmd+:} false; then :
6175  $as_echo_n "(cached) " >&6
6176else
6177  #assume ordinary cross tools, or native build.
6178lt_cv_to_tool_file_cmd=func_convert_file_noop
6179case $host in
6180  *-*-mingw* )
6181    case $build in
6182      *-*-mingw* ) # actually msys
6183        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6184        ;;
6185    esac
6186    ;;
6187esac
6188
6189fi
6190
6191to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6193$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6194
6195
6196
6197
6198
6199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6200$as_echo_n "checking for $LD option to reload object files... " >&6; }
6201if ${lt_cv_ld_reload_flag+:} false; then :
6202  $as_echo_n "(cached) " >&6
6203else
6204  lt_cv_ld_reload_flag='-r'
6205fi
6206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6207$as_echo "$lt_cv_ld_reload_flag" >&6; }
6208reload_flag=$lt_cv_ld_reload_flag
6209case $reload_flag in
6210"" | " "*) ;;
6211*) reload_flag=" $reload_flag" ;;
6212esac
6213reload_cmds='$LD$reload_flag -o $output$reload_objs'
6214case $host_os in
6215  cygwin* | mingw* | pw32* | cegcc*)
6216    if test yes != "$GCC"; then
6217      reload_cmds=false
6218    fi
6219    ;;
6220  darwin*)
6221    if test yes = "$GCC"; then
6222      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6223    else
6224      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6225    fi
6226    ;;
6227esac
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237if test -n "$ac_tool_prefix"; then
6238  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6239set dummy ${ac_tool_prefix}objdump; ac_word=$2
6240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241$as_echo_n "checking for $ac_word... " >&6; }
6242if ${ac_cv_prog_OBJDUMP+:} false; then :
6243  $as_echo_n "(cached) " >&6
6244else
6245  if test -n "$OBJDUMP"; then
6246  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6247else
6248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249for as_dir in $PATH
6250do
6251  IFS=$as_save_IFS
6252  test -z "$as_dir" && as_dir=.
6253    for ac_exec_ext in '' $ac_executable_extensions; do
6254  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6256    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257    break 2
6258  fi
6259done
6260  done
6261IFS=$as_save_IFS
6262
6263fi
6264fi
6265OBJDUMP=$ac_cv_prog_OBJDUMP
6266if test -n "$OBJDUMP"; then
6267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6268$as_echo "$OBJDUMP" >&6; }
6269else
6270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271$as_echo "no" >&6; }
6272fi
6273
6274
6275fi
6276if test -z "$ac_cv_prog_OBJDUMP"; then
6277  ac_ct_OBJDUMP=$OBJDUMP
6278  # Extract the first word of "objdump", so it can be a program name with args.
6279set dummy objdump; ac_word=$2
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281$as_echo_n "checking for $ac_word... " >&6; }
6282if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6283  $as_echo_n "(cached) " >&6
6284else
6285  if test -n "$ac_ct_OBJDUMP"; then
6286  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6287else
6288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289for as_dir in $PATH
6290do
6291  IFS=$as_save_IFS
6292  test -z "$as_dir" && as_dir=.
6293    for ac_exec_ext in '' $ac_executable_extensions; do
6294  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297    break 2
6298  fi
6299done
6300  done
6301IFS=$as_save_IFS
6302
6303fi
6304fi
6305ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6306if test -n "$ac_ct_OBJDUMP"; then
6307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6308$as_echo "$ac_ct_OBJDUMP" >&6; }
6309else
6310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311$as_echo "no" >&6; }
6312fi
6313
6314  if test "x$ac_ct_OBJDUMP" = x; then
6315    OBJDUMP="false"
6316  else
6317    case $cross_compiling:$ac_tool_warned in
6318yes:)
6319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321ac_tool_warned=yes ;;
6322esac
6323    OBJDUMP=$ac_ct_OBJDUMP
6324  fi
6325else
6326  OBJDUMP="$ac_cv_prog_OBJDUMP"
6327fi
6328
6329test -z "$OBJDUMP" && OBJDUMP=objdump
6330
6331
6332
6333
6334
6335
6336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6337$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6338if ${lt_cv_deplibs_check_method+:} false; then :
6339  $as_echo_n "(cached) " >&6
6340else
6341  lt_cv_file_magic_cmd='$MAGIC_CMD'
6342lt_cv_file_magic_test_file=
6343lt_cv_deplibs_check_method='unknown'
6344# Need to set the preceding variable on all platforms that support
6345# interlibrary dependencies.
6346# 'none' -- dependencies not supported.
6347# 'unknown' -- same as none, but documents that we really don't know.
6348# 'pass_all' -- all dependencies passed with no checks.
6349# 'test_compile' -- check by making test program.
6350# 'file_magic [[regex]]' -- check by looking for files in library path
6351# that responds to the $file_magic_cmd with a given extended regex.
6352# If you have 'file' or equivalent on your system and you're not sure
6353# whether 'pass_all' will *always* work, you probably want this one.
6354
6355case $host_os in
6356aix[4-9]*)
6357  lt_cv_deplibs_check_method=pass_all
6358  ;;
6359
6360beos*)
6361  lt_cv_deplibs_check_method=pass_all
6362  ;;
6363
6364bsdi[45]*)
6365  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6366  lt_cv_file_magic_cmd='/usr/bin/file -L'
6367  lt_cv_file_magic_test_file=/shlib/libc.so
6368  ;;
6369
6370cygwin*)
6371  # func_win32_libid is a shell function defined in ltmain.sh
6372  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6373  lt_cv_file_magic_cmd='func_win32_libid'
6374  ;;
6375
6376mingw* | pw32*)
6377  # Base MSYS/MinGW do not provide the 'file' command needed by
6378  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6379  # unless we find 'file', for example because we are cross-compiling.
6380  if ( file / ) >/dev/null 2>&1; then
6381    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6382    lt_cv_file_magic_cmd='func_win32_libid'
6383  else
6384    # Keep this pattern in sync with the one in func_win32_libid.
6385    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6386    lt_cv_file_magic_cmd='$OBJDUMP -f'
6387  fi
6388  ;;
6389
6390cegcc*)
6391  # use the weaker test based on 'objdump'. See mingw*.
6392  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6393  lt_cv_file_magic_cmd='$OBJDUMP -f'
6394  ;;
6395
6396darwin* | rhapsody*)
6397  lt_cv_deplibs_check_method=pass_all
6398  ;;
6399
6400freebsd* | dragonfly*)
6401  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6402    case $host_cpu in
6403    i*86 )
6404      # Not sure whether the presence of OpenBSD here was a mistake.
6405      # Let's accept both of them until this is cleared up.
6406      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6407      lt_cv_file_magic_cmd=/usr/bin/file
6408      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6409      ;;
6410    esac
6411  else
6412    lt_cv_deplibs_check_method=pass_all
6413  fi
6414  ;;
6415
6416haiku*)
6417  lt_cv_deplibs_check_method=pass_all
6418  ;;
6419
6420hpux10.20* | hpux11*)
6421  lt_cv_file_magic_cmd=/usr/bin/file
6422  case $host_cpu in
6423  ia64*)
6424    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6425    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6426    ;;
6427  hppa*64*)
6428    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]'
6429    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6430    ;;
6431  *)
6432    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6433    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6434    ;;
6435  esac
6436  ;;
6437
6438interix[3-9]*)
6439  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6440  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6441  ;;
6442
6443irix5* | irix6* | nonstopux*)
6444  case $LD in
6445  *-32|*"-32 ") libmagic=32-bit;;
6446  *-n32|*"-n32 ") libmagic=N32;;
6447  *-64|*"-64 ") libmagic=64-bit;;
6448  *) libmagic=never-match;;
6449  esac
6450  lt_cv_deplibs_check_method=pass_all
6451  ;;
6452
6453# This must be glibc/ELF.
6454linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6455  lt_cv_deplibs_check_method=pass_all
6456  ;;
6457
6458netbsd* | netbsdelf*-gnu)
6459  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6460    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6461  else
6462    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6463  fi
6464  ;;
6465
6466newos6*)
6467  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6468  lt_cv_file_magic_cmd=/usr/bin/file
6469  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6470  ;;
6471
6472*nto* | *qnx*)
6473  lt_cv_deplibs_check_method=pass_all
6474  ;;
6475
6476openbsd* | bitrig*)
6477  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6478    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6479  else
6480    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6481  fi
6482  ;;
6483
6484osf3* | osf4* | osf5*)
6485  lt_cv_deplibs_check_method=pass_all
6486  ;;
6487
6488rdos*)
6489  lt_cv_deplibs_check_method=pass_all
6490  ;;
6491
6492solaris*)
6493  lt_cv_deplibs_check_method=pass_all
6494  ;;
6495
6496sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6497  lt_cv_deplibs_check_method=pass_all
6498  ;;
6499
6500sysv4 | sysv4.3*)
6501  case $host_vendor in
6502  motorola)
6503    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]'
6504    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6505    ;;
6506  ncr)
6507    lt_cv_deplibs_check_method=pass_all
6508    ;;
6509  sequent)
6510    lt_cv_file_magic_cmd='/bin/file'
6511    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6512    ;;
6513  sni)
6514    lt_cv_file_magic_cmd='/bin/file'
6515    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6516    lt_cv_file_magic_test_file=/lib/libc.so
6517    ;;
6518  siemens)
6519    lt_cv_deplibs_check_method=pass_all
6520    ;;
6521  pc)
6522    lt_cv_deplibs_check_method=pass_all
6523    ;;
6524  esac
6525  ;;
6526
6527tpf*)
6528  lt_cv_deplibs_check_method=pass_all
6529  ;;
6530os2*)
6531  lt_cv_deplibs_check_method=pass_all
6532  ;;
6533esac
6534
6535fi
6536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6537$as_echo "$lt_cv_deplibs_check_method" >&6; }
6538
6539file_magic_glob=
6540want_nocaseglob=no
6541if test "$build" = "$host"; then
6542  case $host_os in
6543  mingw* | pw32*)
6544    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6545      want_nocaseglob=yes
6546    else
6547      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6548    fi
6549    ;;
6550  esac
6551fi
6552
6553file_magic_cmd=$lt_cv_file_magic_cmd
6554deplibs_check_method=$lt_cv_deplibs_check_method
6555test -z "$deplibs_check_method" && deplibs_check_method=unknown
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578if test -n "$ac_tool_prefix"; then
6579  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6580set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582$as_echo_n "checking for $ac_word... " >&6; }
6583if ${ac_cv_prog_DLLTOOL+:} false; then :
6584  $as_echo_n "(cached) " >&6
6585else
6586  if test -n "$DLLTOOL"; then
6587  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6588else
6589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590for as_dir in $PATH
6591do
6592  IFS=$as_save_IFS
6593  test -z "$as_dir" && as_dir=.
6594    for ac_exec_ext in '' $ac_executable_extensions; do
6595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598    break 2
6599  fi
6600done
6601  done
6602IFS=$as_save_IFS
6603
6604fi
6605fi
6606DLLTOOL=$ac_cv_prog_DLLTOOL
6607if test -n "$DLLTOOL"; then
6608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6609$as_echo "$DLLTOOL" >&6; }
6610else
6611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612$as_echo "no" >&6; }
6613fi
6614
6615
6616fi
6617if test -z "$ac_cv_prog_DLLTOOL"; then
6618  ac_ct_DLLTOOL=$DLLTOOL
6619  # Extract the first word of "dlltool", so it can be a program name with args.
6620set dummy dlltool; ac_word=$2
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622$as_echo_n "checking for $ac_word... " >&6; }
6623if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6624  $as_echo_n "(cached) " >&6
6625else
6626  if test -n "$ac_ct_DLLTOOL"; then
6627  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6628else
6629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630for as_dir in $PATH
6631do
6632  IFS=$as_save_IFS
6633  test -z "$as_dir" && as_dir=.
6634    for ac_exec_ext in '' $ac_executable_extensions; do
6635  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638    break 2
6639  fi
6640done
6641  done
6642IFS=$as_save_IFS
6643
6644fi
6645fi
6646ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6647if test -n "$ac_ct_DLLTOOL"; then
6648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6649$as_echo "$ac_ct_DLLTOOL" >&6; }
6650else
6651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652$as_echo "no" >&6; }
6653fi
6654
6655  if test "x$ac_ct_DLLTOOL" = x; then
6656    DLLTOOL="false"
6657  else
6658    case $cross_compiling:$ac_tool_warned in
6659yes:)
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6662ac_tool_warned=yes ;;
6663esac
6664    DLLTOOL=$ac_ct_DLLTOOL
6665  fi
6666else
6667  DLLTOOL="$ac_cv_prog_DLLTOOL"
6668fi
6669
6670test -z "$DLLTOOL" && DLLTOOL=dlltool
6671
6672
6673
6674
6675
6676
6677
6678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6679$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6680if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6681  $as_echo_n "(cached) " >&6
6682else
6683  lt_cv_sharedlib_from_linklib_cmd='unknown'
6684
6685case $host_os in
6686cygwin* | mingw* | pw32* | cegcc*)
6687  # two different shell functions defined in ltmain.sh;
6688  # decide which one to use based on capabilities of $DLLTOOL
6689  case `$DLLTOOL --help 2>&1` in
6690  *--identify-strict*)
6691    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6692    ;;
6693  *)
6694    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6695    ;;
6696  esac
6697  ;;
6698*)
6699  # fallback: assume linklib IS sharedlib
6700  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6701  ;;
6702esac
6703
6704fi
6705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6706$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6707sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6708test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6709
6710
6711
6712
6713
6714
6715
6716
6717if test -n "$ac_tool_prefix"; then
6718  for ac_prog in ar
6719  do
6720    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6721set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723$as_echo_n "checking for $ac_word... " >&6; }
6724if ${ac_cv_prog_AR+:} false; then :
6725  $as_echo_n "(cached) " >&6
6726else
6727  if test -n "$AR"; then
6728  ac_cv_prog_AR="$AR" # Let the user override the test.
6729else
6730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731for as_dir in $PATH
6732do
6733  IFS=$as_save_IFS
6734  test -z "$as_dir" && as_dir=.
6735    for ac_exec_ext in '' $ac_executable_extensions; do
6736  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6738    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739    break 2
6740  fi
6741done
6742  done
6743IFS=$as_save_IFS
6744
6745fi
6746fi
6747AR=$ac_cv_prog_AR
6748if test -n "$AR"; then
6749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6750$as_echo "$AR" >&6; }
6751else
6752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753$as_echo "no" >&6; }
6754fi
6755
6756
6757    test -n "$AR" && break
6758  done
6759fi
6760if test -z "$AR"; then
6761  ac_ct_AR=$AR
6762  for ac_prog in ar
6763do
6764  # Extract the first word of "$ac_prog", so it can be a program name with args.
6765set dummy $ac_prog; ac_word=$2
6766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767$as_echo_n "checking for $ac_word... " >&6; }
6768if ${ac_cv_prog_ac_ct_AR+:} false; then :
6769  $as_echo_n "(cached) " >&6
6770else
6771  if test -n "$ac_ct_AR"; then
6772  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6773else
6774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775for as_dir in $PATH
6776do
6777  IFS=$as_save_IFS
6778  test -z "$as_dir" && as_dir=.
6779    for ac_exec_ext in '' $ac_executable_extensions; do
6780  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781    ac_cv_prog_ac_ct_AR="$ac_prog"
6782    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783    break 2
6784  fi
6785done
6786  done
6787IFS=$as_save_IFS
6788
6789fi
6790fi
6791ac_ct_AR=$ac_cv_prog_ac_ct_AR
6792if test -n "$ac_ct_AR"; then
6793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6794$as_echo "$ac_ct_AR" >&6; }
6795else
6796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797$as_echo "no" >&6; }
6798fi
6799
6800
6801  test -n "$ac_ct_AR" && break
6802done
6803
6804  if test "x$ac_ct_AR" = x; then
6805    AR="false"
6806  else
6807    case $cross_compiling:$ac_tool_warned in
6808yes:)
6809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6811ac_tool_warned=yes ;;
6812esac
6813    AR=$ac_ct_AR
6814  fi
6815fi
6816
6817: ${AR=ar}
6818: ${AR_FLAGS=cr}
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6831$as_echo_n "checking for archiver @FILE support... " >&6; }
6832if ${lt_cv_ar_at_file+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  lt_cv_ar_at_file=no
6836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837/* end confdefs.h.  */
6838
6839int
6840main ()
6841{
6842
6843  ;
6844  return 0;
6845}
6846_ACEOF
6847if ac_fn_c_try_compile "$LINENO"; then :
6848  echo conftest.$ac_objext > conftest.lst
6849      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6850      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6851  (eval $lt_ar_try) 2>&5
6852  ac_status=$?
6853  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6854  test $ac_status = 0; }
6855      if test 0 -eq "$ac_status"; then
6856	# Ensure the archiver fails upon bogus file names.
6857	rm -f conftest.$ac_objext libconftest.a
6858	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6859  (eval $lt_ar_try) 2>&5
6860  ac_status=$?
6861  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6862  test $ac_status = 0; }
6863	if test 0 -ne "$ac_status"; then
6864          lt_cv_ar_at_file=@
6865        fi
6866      fi
6867      rm -f conftest.* libconftest.a
6868
6869fi
6870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6871
6872fi
6873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6874$as_echo "$lt_cv_ar_at_file" >&6; }
6875
6876if test no = "$lt_cv_ar_at_file"; then
6877  archiver_list_spec=
6878else
6879  archiver_list_spec=$lt_cv_ar_at_file
6880fi
6881
6882
6883
6884
6885
6886
6887
6888if test -n "$ac_tool_prefix"; then
6889  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6890set dummy ${ac_tool_prefix}strip; ac_word=$2
6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892$as_echo_n "checking for $ac_word... " >&6; }
6893if ${ac_cv_prog_STRIP+:} false; then :
6894  $as_echo_n "(cached) " >&6
6895else
6896  if test -n "$STRIP"; then
6897  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6898else
6899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900for as_dir in $PATH
6901do
6902  IFS=$as_save_IFS
6903  test -z "$as_dir" && as_dir=.
6904    for ac_exec_ext in '' $ac_executable_extensions; do
6905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6906    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908    break 2
6909  fi
6910done
6911  done
6912IFS=$as_save_IFS
6913
6914fi
6915fi
6916STRIP=$ac_cv_prog_STRIP
6917if test -n "$STRIP"; then
6918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6919$as_echo "$STRIP" >&6; }
6920else
6921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922$as_echo "no" >&6; }
6923fi
6924
6925
6926fi
6927if test -z "$ac_cv_prog_STRIP"; then
6928  ac_ct_STRIP=$STRIP
6929  # Extract the first word of "strip", so it can be a program name with args.
6930set dummy strip; ac_word=$2
6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932$as_echo_n "checking for $ac_word... " >&6; }
6933if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6934  $as_echo_n "(cached) " >&6
6935else
6936  if test -n "$ac_ct_STRIP"; then
6937  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6938else
6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940for as_dir in $PATH
6941do
6942  IFS=$as_save_IFS
6943  test -z "$as_dir" && as_dir=.
6944    for ac_exec_ext in '' $ac_executable_extensions; do
6945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946    ac_cv_prog_ac_ct_STRIP="strip"
6947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948    break 2
6949  fi
6950done
6951  done
6952IFS=$as_save_IFS
6953
6954fi
6955fi
6956ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6957if test -n "$ac_ct_STRIP"; then
6958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6959$as_echo "$ac_ct_STRIP" >&6; }
6960else
6961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962$as_echo "no" >&6; }
6963fi
6964
6965  if test "x$ac_ct_STRIP" = x; then
6966    STRIP=":"
6967  else
6968    case $cross_compiling:$ac_tool_warned in
6969yes:)
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6972ac_tool_warned=yes ;;
6973esac
6974    STRIP=$ac_ct_STRIP
6975  fi
6976else
6977  STRIP="$ac_cv_prog_STRIP"
6978fi
6979
6980test -z "$STRIP" && STRIP=:
6981
6982
6983
6984
6985
6986
6987if test -n "$ac_tool_prefix"; then
6988  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6989set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991$as_echo_n "checking for $ac_word... " >&6; }
6992if ${ac_cv_prog_RANLIB+:} false; then :
6993  $as_echo_n "(cached) " >&6
6994else
6995  if test -n "$RANLIB"; then
6996  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6997else
6998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999for as_dir in $PATH
7000do
7001  IFS=$as_save_IFS
7002  test -z "$as_dir" && as_dir=.
7003    for ac_exec_ext in '' $ac_executable_extensions; do
7004  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007    break 2
7008  fi
7009done
7010  done
7011IFS=$as_save_IFS
7012
7013fi
7014fi
7015RANLIB=$ac_cv_prog_RANLIB
7016if test -n "$RANLIB"; then
7017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7018$as_echo "$RANLIB" >&6; }
7019else
7020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021$as_echo "no" >&6; }
7022fi
7023
7024
7025fi
7026if test -z "$ac_cv_prog_RANLIB"; then
7027  ac_ct_RANLIB=$RANLIB
7028  # Extract the first word of "ranlib", so it can be a program name with args.
7029set dummy ranlib; ac_word=$2
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031$as_echo_n "checking for $ac_word... " >&6; }
7032if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7033  $as_echo_n "(cached) " >&6
7034else
7035  if test -n "$ac_ct_RANLIB"; then
7036  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7037else
7038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039for as_dir in $PATH
7040do
7041  IFS=$as_save_IFS
7042  test -z "$as_dir" && as_dir=.
7043    for ac_exec_ext in '' $ac_executable_extensions; do
7044  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045    ac_cv_prog_ac_ct_RANLIB="ranlib"
7046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047    break 2
7048  fi
7049done
7050  done
7051IFS=$as_save_IFS
7052
7053fi
7054fi
7055ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7056if test -n "$ac_ct_RANLIB"; then
7057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7058$as_echo "$ac_ct_RANLIB" >&6; }
7059else
7060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061$as_echo "no" >&6; }
7062fi
7063
7064  if test "x$ac_ct_RANLIB" = x; then
7065    RANLIB=":"
7066  else
7067    case $cross_compiling:$ac_tool_warned in
7068yes:)
7069{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7070$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7071ac_tool_warned=yes ;;
7072esac
7073    RANLIB=$ac_ct_RANLIB
7074  fi
7075else
7076  RANLIB="$ac_cv_prog_RANLIB"
7077fi
7078
7079test -z "$RANLIB" && RANLIB=:
7080
7081
7082
7083
7084
7085
7086# Determine commands to create old-style static archives.
7087old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7088old_postinstall_cmds='chmod 644 $oldlib'
7089old_postuninstall_cmds=
7090
7091if test -n "$RANLIB"; then
7092  case $host_os in
7093  bitrig* | openbsd*)
7094    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7095    ;;
7096  *)
7097    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7098    ;;
7099  esac
7100  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7101fi
7102
7103case $host_os in
7104  darwin*)
7105    lock_old_archive_extraction=yes ;;
7106  *)
7107    lock_old_archive_extraction=no ;;
7108esac
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148# If no C compiler was specified, use CC.
7149LTCC=${LTCC-"$CC"}
7150
7151# If no C compiler flags were specified, use CFLAGS.
7152LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7153
7154# Allow CC to be a program name with arguments.
7155compiler=$CC
7156
7157
7158# Check for command to grab the raw symbol name followed by C symbol from nm.
7159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7160$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7161if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7162  $as_echo_n "(cached) " >&6
7163else
7164
7165# These are sane defaults that work on at least a few old systems.
7166# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7167
7168# Character class describing NM global symbol codes.
7169symcode='[BCDEGRST]'
7170
7171# Regexp to match symbols that can be accessed directly from C.
7172sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7173
7174# Define system-specific variables.
7175case $host_os in
7176aix*)
7177  symcode='[BCDT]'
7178  ;;
7179cygwin* | mingw* | pw32* | cegcc*)
7180  symcode='[ABCDGISTW]'
7181  ;;
7182hpux*)
7183  if test ia64 = "$host_cpu"; then
7184    symcode='[ABCDEGRST]'
7185  fi
7186  ;;
7187irix* | nonstopux*)
7188  symcode='[BCDEGRST]'
7189  ;;
7190osf*)
7191  symcode='[BCDEGQRST]'
7192  ;;
7193solaris*)
7194  symcode='[BDRT]'
7195  ;;
7196sco3.2v5*)
7197  symcode='[DT]'
7198  ;;
7199sysv4.2uw2*)
7200  symcode='[DT]'
7201  ;;
7202sysv5* | sco5v6* | unixware* | OpenUNIX*)
7203  symcode='[ABDT]'
7204  ;;
7205sysv4)
7206  symcode='[DFNSTU]'
7207  ;;
7208esac
7209
7210# If we're using GNU nm, then use its standard symbol codes.
7211case `$NM -V 2>&1` in
7212*GNU* | *'with BFD'*)
7213  symcode='[ABCDGIRSTW]' ;;
7214esac
7215
7216if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7217  # Gets list of data symbols to import.
7218  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7219  # Adjust the below global symbol transforms to fixup imported variables.
7220  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7221  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7222  lt_c_name_lib_hook="\
7223  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7224  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7225else
7226  # Disable hooks by default.
7227  lt_cv_sys_global_symbol_to_import=
7228  lt_cdecl_hook=
7229  lt_c_name_hook=
7230  lt_c_name_lib_hook=
7231fi
7232
7233# Transform an extracted symbol line into a proper C declaration.
7234# Some systems (esp. on ia64) link data and code symbols differently,
7235# so use this general approach.
7236lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7237$lt_cdecl_hook\
7238" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7239" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7240
7241# Transform an extracted symbol line into symbol name and symbol address
7242lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7243$lt_c_name_hook\
7244" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7245" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7246
7247# Transform an extracted symbol line into symbol name with lib prefix and
7248# symbol address.
7249lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7250$lt_c_name_lib_hook\
7251" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7252" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7253" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7254
7255# Handle CRLF in mingw tool chain
7256opt_cr=
7257case $build_os in
7258mingw*)
7259  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7260  ;;
7261esac
7262
7263# Try without a prefix underscore, then with it.
7264for ac_symprfx in "" "_"; do
7265
7266  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7267  symxfrm="\\1 $ac_symprfx\\2 \\2"
7268
7269  # Write the raw and C identifiers.
7270  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7271    # Fake it for dumpbin and say T for any non-static function,
7272    # D for any global variable and I for any imported variable.
7273    # Also find C++ and __fastcall symbols from MSVC++,
7274    # which start with @ or ?.
7275    lt_cv_sys_global_symbol_pipe="$AWK '"\
7276"     {last_section=section; section=\$ 3};"\
7277"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7278"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7279"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7280"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7281"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7282"     \$ 0!~/External *\|/{next};"\
7283"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7284"     {if(hide[section]) next};"\
7285"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7286"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7287"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7288"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7289"     ' prfx=^$ac_symprfx"
7290  else
7291    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7292  fi
7293  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7294
7295  # Check to see that the pipe works correctly.
7296  pipe_works=no
7297
7298  rm -f conftest*
7299  cat > conftest.$ac_ext <<_LT_EOF
7300#ifdef __cplusplus
7301extern "C" {
7302#endif
7303char nm_test_var;
7304void nm_test_func(void);
7305void nm_test_func(void){}
7306#ifdef __cplusplus
7307}
7308#endif
7309int main(){nm_test_var='a';nm_test_func();return(0);}
7310_LT_EOF
7311
7312  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7313  (eval $ac_compile) 2>&5
7314  ac_status=$?
7315  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7316  test $ac_status = 0; }; then
7317    # Now try to grab the symbols.
7318    nlist=conftest.nm
7319    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7320    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7321      # Try sorting and uniquifying the output.
7322      if sort "$nlist" | uniq > "$nlist"T; then
7323	mv -f "$nlist"T "$nlist"
7324      else
7325	rm -f "$nlist"T
7326      fi
7327
7328      # Make sure that we snagged all the symbols we need.
7329      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7330	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7331	  cat <<_LT_EOF > conftest.$ac_ext
7332/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7333#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7334/* DATA imports from DLLs on WIN32 can't be const, because runtime
7335   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7336# define LT_DLSYM_CONST
7337#elif defined __osf__
7338/* This system does not cope well with relocations in const data.  */
7339# define LT_DLSYM_CONST
7340#else
7341# define LT_DLSYM_CONST const
7342#endif
7343
7344#ifdef __cplusplus
7345extern "C" {
7346#endif
7347
7348_LT_EOF
7349	  # Now generate the symbol file.
7350	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7351
7352	  cat <<_LT_EOF >> conftest.$ac_ext
7353
7354/* The mapping between symbol names and symbols.  */
7355LT_DLSYM_CONST struct {
7356  const char *name;
7357  void       *address;
7358}
7359lt__PROGRAM__LTX_preloaded_symbols[] =
7360{
7361  { "@PROGRAM@", (void *) 0 },
7362_LT_EOF
7363	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7364	  cat <<\_LT_EOF >> conftest.$ac_ext
7365  {0, (void *) 0}
7366};
7367
7368/* This works around a problem in FreeBSD linker */
7369#ifdef FREEBSD_WORKAROUND
7370static const void *lt_preloaded_setup() {
7371  return lt__PROGRAM__LTX_preloaded_symbols;
7372}
7373#endif
7374
7375#ifdef __cplusplus
7376}
7377#endif
7378_LT_EOF
7379	  # Now try linking the two files.
7380	  mv conftest.$ac_objext conftstm.$ac_objext
7381	  lt_globsym_save_LIBS=$LIBS
7382	  lt_globsym_save_CFLAGS=$CFLAGS
7383	  LIBS=conftstm.$ac_objext
7384	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7385	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7386  (eval $ac_link) 2>&5
7387  ac_status=$?
7388  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7389  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7390	    pipe_works=yes
7391	  fi
7392	  LIBS=$lt_globsym_save_LIBS
7393	  CFLAGS=$lt_globsym_save_CFLAGS
7394	else
7395	  echo "cannot find nm_test_func in $nlist" >&5
7396	fi
7397      else
7398	echo "cannot find nm_test_var in $nlist" >&5
7399      fi
7400    else
7401      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7402    fi
7403  else
7404    echo "$progname: failed program was:" >&5
7405    cat conftest.$ac_ext >&5
7406  fi
7407  rm -rf conftest* conftst*
7408
7409  # Do not use the global_symbol_pipe unless it works.
7410  if test yes = "$pipe_works"; then
7411    break
7412  else
7413    lt_cv_sys_global_symbol_pipe=
7414  fi
7415done
7416
7417fi
7418
7419if test -z "$lt_cv_sys_global_symbol_pipe"; then
7420  lt_cv_sys_global_symbol_to_cdecl=
7421fi
7422if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7424$as_echo "failed" >&6; }
7425else
7426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7427$as_echo "ok" >&6; }
7428fi
7429
7430# Response file support.
7431if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7432  nm_file_list_spec='@'
7433elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7434  nm_file_list_spec='@'
7435fi
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7474$as_echo_n "checking for sysroot... " >&6; }
7475
7476# Check whether --with-sysroot was given.
7477if test "${with_sysroot+set}" = set; then :
7478  withval=$with_sysroot;
7479else
7480  with_sysroot=no
7481fi
7482
7483
7484lt_sysroot=
7485case $with_sysroot in #(
7486 yes)
7487   if test yes = "$GCC"; then
7488     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7489   fi
7490   ;; #(
7491 /*)
7492   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7493   ;; #(
7494 no|'')
7495   ;; #(
7496 *)
7497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7498$as_echo "$with_sysroot" >&6; }
7499   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7500   ;;
7501esac
7502
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7504$as_echo "${lt_sysroot:-no}" >&6; }
7505
7506
7507
7508
7509
7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7511$as_echo_n "checking for a working dd... " >&6; }
7512if ${ac_cv_path_lt_DD+:} false; then :
7513  $as_echo_n "(cached) " >&6
7514else
7515  printf 0123456789abcdef0123456789abcdef >conftest.i
7516cat conftest.i conftest.i >conftest2.i
7517: ${lt_DD:=$DD}
7518if test -z "$lt_DD"; then
7519  ac_path_lt_DD_found=false
7520  # Loop through the user's path and test for each of PROGNAME-LIST
7521  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522for as_dir in $PATH
7523do
7524  IFS=$as_save_IFS
7525  test -z "$as_dir" && as_dir=.
7526    for ac_prog in dd; do
7527    for ac_exec_ext in '' $ac_executable_extensions; do
7528      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7529      as_fn_executable_p "$ac_path_lt_DD" || continue
7530if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7531  cmp -s conftest.i conftest.out \
7532  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7533fi
7534      $ac_path_lt_DD_found && break 3
7535    done
7536  done
7537  done
7538IFS=$as_save_IFS
7539  if test -z "$ac_cv_path_lt_DD"; then
7540    :
7541  fi
7542else
7543  ac_cv_path_lt_DD=$lt_DD
7544fi
7545
7546rm -f conftest.i conftest2.i conftest.out
7547fi
7548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7549$as_echo "$ac_cv_path_lt_DD" >&6; }
7550
7551
7552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7553$as_echo_n "checking how to truncate binary pipes... " >&6; }
7554if ${lt_cv_truncate_bin+:} false; then :
7555  $as_echo_n "(cached) " >&6
7556else
7557  printf 0123456789abcdef0123456789abcdef >conftest.i
7558cat conftest.i conftest.i >conftest2.i
7559lt_cv_truncate_bin=
7560if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7561  cmp -s conftest.i conftest.out \
7562  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7563fi
7564rm -f conftest.i conftest2.i conftest.out
7565test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7566fi
7567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7568$as_echo "$lt_cv_truncate_bin" >&6; }
7569
7570
7571
7572
7573
7574
7575
7576# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7577func_cc_basename ()
7578{
7579    for cc_temp in $*""; do
7580      case $cc_temp in
7581        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7582        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7583        \-*) ;;
7584        *) break;;
7585      esac
7586    done
7587    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7588}
7589
7590# Check whether --enable-libtool-lock was given.
7591if test "${enable_libtool_lock+set}" = set; then :
7592  enableval=$enable_libtool_lock;
7593fi
7594
7595test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7596
7597# Some flags need to be propagated to the compiler or linker for good
7598# libtool support.
7599case $host in
7600ia64-*-hpux*)
7601  # Find out what ABI is being produced by ac_compile, and set mode
7602  # options accordingly.
7603  echo 'int i;' > conftest.$ac_ext
7604  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7605  (eval $ac_compile) 2>&5
7606  ac_status=$?
7607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7608  test $ac_status = 0; }; then
7609    case `/usr/bin/file conftest.$ac_objext` in
7610      *ELF-32*)
7611	HPUX_IA64_MODE=32
7612	;;
7613      *ELF-64*)
7614	HPUX_IA64_MODE=64
7615	;;
7616    esac
7617  fi
7618  rm -rf conftest*
7619  ;;
7620*-*-irix6*)
7621  # Find out what ABI is being produced by ac_compile, and set linker
7622  # options accordingly.
7623  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7624  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7625  (eval $ac_compile) 2>&5
7626  ac_status=$?
7627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7628  test $ac_status = 0; }; then
7629    if test yes = "$lt_cv_prog_gnu_ld"; then
7630      case `/usr/bin/file conftest.$ac_objext` in
7631	*32-bit*)
7632	  LD="${LD-ld} -melf32bsmip"
7633	  ;;
7634	*N32*)
7635	  LD="${LD-ld} -melf32bmipn32"
7636	  ;;
7637	*64-bit*)
7638	  LD="${LD-ld} -melf64bmip"
7639	;;
7640      esac
7641    else
7642      case `/usr/bin/file conftest.$ac_objext` in
7643	*32-bit*)
7644	  LD="${LD-ld} -32"
7645	  ;;
7646	*N32*)
7647	  LD="${LD-ld} -n32"
7648	  ;;
7649	*64-bit*)
7650	  LD="${LD-ld} -64"
7651	  ;;
7652      esac
7653    fi
7654  fi
7655  rm -rf conftest*
7656  ;;
7657
7658mips64*-*linux*)
7659  # Find out what ABI is being produced by ac_compile, and set linker
7660  # options accordingly.
7661  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7662  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7663  (eval $ac_compile) 2>&5
7664  ac_status=$?
7665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7666  test $ac_status = 0; }; then
7667    emul=elf
7668    case `/usr/bin/file conftest.$ac_objext` in
7669      *32-bit*)
7670	emul="${emul}32"
7671	;;
7672      *64-bit*)
7673	emul="${emul}64"
7674	;;
7675    esac
7676    case `/usr/bin/file conftest.$ac_objext` in
7677      *MSB*)
7678	emul="${emul}btsmip"
7679	;;
7680      *LSB*)
7681	emul="${emul}ltsmip"
7682	;;
7683    esac
7684    case `/usr/bin/file conftest.$ac_objext` in
7685      *N32*)
7686	emul="${emul}n32"
7687	;;
7688    esac
7689    LD="${LD-ld} -m $emul"
7690  fi
7691  rm -rf conftest*
7692  ;;
7693
7694x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7695s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7696  # Find out what ABI is being produced by ac_compile, and set linker
7697  # options accordingly.  Note that the listed cases only cover the
7698  # situations where additional linker options are needed (such as when
7699  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7700  # vice versa); the common cases where no linker options are needed do
7701  # not appear in the list.
7702  echo 'int i;' > conftest.$ac_ext
7703  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7704  (eval $ac_compile) 2>&5
7705  ac_status=$?
7706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707  test $ac_status = 0; }; then
7708    case `/usr/bin/file conftest.o` in
7709      *32-bit*)
7710	case $host in
7711	  x86_64-*kfreebsd*-gnu)
7712	    LD="${LD-ld} -m elf_i386_fbsd"
7713	    ;;
7714	  x86_64-*linux*)
7715	    case `/usr/bin/file conftest.o` in
7716	      *x86-64*)
7717		LD="${LD-ld} -m elf32_x86_64"
7718		;;
7719	      *)
7720		LD="${LD-ld} -m elf_i386"
7721		;;
7722	    esac
7723	    ;;
7724	  powerpc64le-*linux*)
7725	    LD="${LD-ld} -m elf32lppclinux"
7726	    ;;
7727	  powerpc64-*linux*)
7728	    LD="${LD-ld} -m elf32ppclinux"
7729	    ;;
7730	  s390x-*linux*)
7731	    LD="${LD-ld} -m elf_s390"
7732	    ;;
7733	  sparc64-*linux*)
7734	    LD="${LD-ld} -m elf32_sparc"
7735	    ;;
7736	esac
7737	;;
7738      *64-bit*)
7739	case $host in
7740	  x86_64-*kfreebsd*-gnu)
7741	    LD="${LD-ld} -m elf_x86_64_fbsd"
7742	    ;;
7743	  x86_64-*linux*)
7744	    LD="${LD-ld} -m elf_x86_64"
7745	    ;;
7746	  powerpcle-*linux*)
7747	    LD="${LD-ld} -m elf64lppc"
7748	    ;;
7749	  powerpc-*linux*)
7750	    LD="${LD-ld} -m elf64ppc"
7751	    ;;
7752	  s390*-*linux*|s390*-*tpf*)
7753	    LD="${LD-ld} -m elf64_s390"
7754	    ;;
7755	  sparc*-*linux*)
7756	    LD="${LD-ld} -m elf64_sparc"
7757	    ;;
7758	esac
7759	;;
7760    esac
7761  fi
7762  rm -rf conftest*
7763  ;;
7764
7765*-*-sco3.2v5*)
7766  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7767  SAVE_CFLAGS=$CFLAGS
7768  CFLAGS="$CFLAGS -belf"
7769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7770$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7771if ${lt_cv_cc_needs_belf+:} false; then :
7772  $as_echo_n "(cached) " >&6
7773else
7774  ac_ext=c
7775ac_cpp='$CPP $CPPFLAGS'
7776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7778ac_compiler_gnu=$ac_cv_c_compiler_gnu
7779
7780     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781/* end confdefs.h.  */
7782
7783int
7784main ()
7785{
7786
7787  ;
7788  return 0;
7789}
7790_ACEOF
7791if ac_fn_c_try_link "$LINENO"; then :
7792  lt_cv_cc_needs_belf=yes
7793else
7794  lt_cv_cc_needs_belf=no
7795fi
7796rm -f core conftest.err conftest.$ac_objext \
7797    conftest$ac_exeext conftest.$ac_ext
7798     ac_ext=c
7799ac_cpp='$CPP $CPPFLAGS'
7800ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7801ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7802ac_compiler_gnu=$ac_cv_c_compiler_gnu
7803
7804fi
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7806$as_echo "$lt_cv_cc_needs_belf" >&6; }
7807  if test yes != "$lt_cv_cc_needs_belf"; then
7808    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7809    CFLAGS=$SAVE_CFLAGS
7810  fi
7811  ;;
7812*-*solaris*)
7813  # Find out what ABI is being produced by ac_compile, and set linker
7814  # options accordingly.
7815  echo 'int i;' > conftest.$ac_ext
7816  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7817  (eval $ac_compile) 2>&5
7818  ac_status=$?
7819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7820  test $ac_status = 0; }; then
7821    case `/usr/bin/file conftest.o` in
7822    *64-bit*)
7823      case $lt_cv_prog_gnu_ld in
7824      yes*)
7825        case $host in
7826        i?86-*-solaris*|x86_64-*-solaris*)
7827          LD="${LD-ld} -m elf_x86_64"
7828          ;;
7829        sparc*-*-solaris*)
7830          LD="${LD-ld} -m elf64_sparc"
7831          ;;
7832        esac
7833        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7834        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7835          LD=${LD-ld}_sol2
7836        fi
7837        ;;
7838      *)
7839	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7840	  LD="${LD-ld} -64"
7841	fi
7842	;;
7843      esac
7844      ;;
7845    esac
7846  fi
7847  rm -rf conftest*
7848  ;;
7849esac
7850
7851need_locks=$enable_libtool_lock
7852
7853if test -n "$ac_tool_prefix"; then
7854  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7855set dummy ${ac_tool_prefix}mt; ac_word=$2
7856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857$as_echo_n "checking for $ac_word... " >&6; }
7858if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7859  $as_echo_n "(cached) " >&6
7860else
7861  if test -n "$MANIFEST_TOOL"; then
7862  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7863else
7864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865for as_dir in $PATH
7866do
7867  IFS=$as_save_IFS
7868  test -z "$as_dir" && as_dir=.
7869    for ac_exec_ext in '' $ac_executable_extensions; do
7870  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7872    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873    break 2
7874  fi
7875done
7876  done
7877IFS=$as_save_IFS
7878
7879fi
7880fi
7881MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7882if test -n "$MANIFEST_TOOL"; then
7883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7884$as_echo "$MANIFEST_TOOL" >&6; }
7885else
7886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887$as_echo "no" >&6; }
7888fi
7889
7890
7891fi
7892if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7893  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7894  # Extract the first word of "mt", so it can be a program name with args.
7895set dummy mt; ac_word=$2
7896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897$as_echo_n "checking for $ac_word... " >&6; }
7898if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7899  $as_echo_n "(cached) " >&6
7900else
7901  if test -n "$ac_ct_MANIFEST_TOOL"; then
7902  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7903else
7904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905for as_dir in $PATH
7906do
7907  IFS=$as_save_IFS
7908  test -z "$as_dir" && as_dir=.
7909    for ac_exec_ext in '' $ac_executable_extensions; do
7910  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913    break 2
7914  fi
7915done
7916  done
7917IFS=$as_save_IFS
7918
7919fi
7920fi
7921ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7922if test -n "$ac_ct_MANIFEST_TOOL"; then
7923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7924$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7925else
7926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927$as_echo "no" >&6; }
7928fi
7929
7930  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7931    MANIFEST_TOOL=":"
7932  else
7933    case $cross_compiling:$ac_tool_warned in
7934yes:)
7935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7937ac_tool_warned=yes ;;
7938esac
7939    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7940  fi
7941else
7942  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7943fi
7944
7945test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7947$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7948if ${lt_cv_path_mainfest_tool+:} false; then :
7949  $as_echo_n "(cached) " >&6
7950else
7951  lt_cv_path_mainfest_tool=no
7952  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7953  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7954  cat conftest.err >&5
7955  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7956    lt_cv_path_mainfest_tool=yes
7957  fi
7958  rm -f conftest*
7959fi
7960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7961$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7962if test yes != "$lt_cv_path_mainfest_tool"; then
7963  MANIFEST_TOOL=:
7964fi
7965
7966
7967
7968
7969
7970
7971  case $host_os in
7972    rhapsody* | darwin*)
7973    if test -n "$ac_tool_prefix"; then
7974  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7975set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977$as_echo_n "checking for $ac_word... " >&6; }
7978if ${ac_cv_prog_DSYMUTIL+:} false; then :
7979  $as_echo_n "(cached) " >&6
7980else
7981  if test -n "$DSYMUTIL"; then
7982  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7983else
7984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985for as_dir in $PATH
7986do
7987  IFS=$as_save_IFS
7988  test -z "$as_dir" && as_dir=.
7989    for ac_exec_ext in '' $ac_executable_extensions; do
7990  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993    break 2
7994  fi
7995done
7996  done
7997IFS=$as_save_IFS
7998
7999fi
8000fi
8001DSYMUTIL=$ac_cv_prog_DSYMUTIL
8002if test -n "$DSYMUTIL"; then
8003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8004$as_echo "$DSYMUTIL" >&6; }
8005else
8006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007$as_echo "no" >&6; }
8008fi
8009
8010
8011fi
8012if test -z "$ac_cv_prog_DSYMUTIL"; then
8013  ac_ct_DSYMUTIL=$DSYMUTIL
8014  # Extract the first word of "dsymutil", so it can be a program name with args.
8015set dummy dsymutil; ac_word=$2
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017$as_echo_n "checking for $ac_word... " >&6; }
8018if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8019  $as_echo_n "(cached) " >&6
8020else
8021  if test -n "$ac_ct_DSYMUTIL"; then
8022  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8023else
8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025for as_dir in $PATH
8026do
8027  IFS=$as_save_IFS
8028  test -z "$as_dir" && as_dir=.
8029    for ac_exec_ext in '' $ac_executable_extensions; do
8030  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033    break 2
8034  fi
8035done
8036  done
8037IFS=$as_save_IFS
8038
8039fi
8040fi
8041ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8042if test -n "$ac_ct_DSYMUTIL"; then
8043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8044$as_echo "$ac_ct_DSYMUTIL" >&6; }
8045else
8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047$as_echo "no" >&6; }
8048fi
8049
8050  if test "x$ac_ct_DSYMUTIL" = x; then
8051    DSYMUTIL=":"
8052  else
8053    case $cross_compiling:$ac_tool_warned in
8054yes:)
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057ac_tool_warned=yes ;;
8058esac
8059    DSYMUTIL=$ac_ct_DSYMUTIL
8060  fi
8061else
8062  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8063fi
8064
8065    if test -n "$ac_tool_prefix"; then
8066  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8067set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8069$as_echo_n "checking for $ac_word... " >&6; }
8070if ${ac_cv_prog_NMEDIT+:} false; then :
8071  $as_echo_n "(cached) " >&6
8072else
8073  if test -n "$NMEDIT"; then
8074  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8075else
8076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8077for as_dir in $PATH
8078do
8079  IFS=$as_save_IFS
8080  test -z "$as_dir" && as_dir=.
8081    for ac_exec_ext in '' $ac_executable_extensions; do
8082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8083    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085    break 2
8086  fi
8087done
8088  done
8089IFS=$as_save_IFS
8090
8091fi
8092fi
8093NMEDIT=$ac_cv_prog_NMEDIT
8094if test -n "$NMEDIT"; then
8095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8096$as_echo "$NMEDIT" >&6; }
8097else
8098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099$as_echo "no" >&6; }
8100fi
8101
8102
8103fi
8104if test -z "$ac_cv_prog_NMEDIT"; then
8105  ac_ct_NMEDIT=$NMEDIT
8106  # Extract the first word of "nmedit", so it can be a program name with args.
8107set dummy nmedit; ac_word=$2
8108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109$as_echo_n "checking for $ac_word... " >&6; }
8110if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8111  $as_echo_n "(cached) " >&6
8112else
8113  if test -n "$ac_ct_NMEDIT"; then
8114  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8115else
8116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117for as_dir in $PATH
8118do
8119  IFS=$as_save_IFS
8120  test -z "$as_dir" && as_dir=.
8121    for ac_exec_ext in '' $ac_executable_extensions; do
8122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125    break 2
8126  fi
8127done
8128  done
8129IFS=$as_save_IFS
8130
8131fi
8132fi
8133ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8134if test -n "$ac_ct_NMEDIT"; then
8135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8136$as_echo "$ac_ct_NMEDIT" >&6; }
8137else
8138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139$as_echo "no" >&6; }
8140fi
8141
8142  if test "x$ac_ct_NMEDIT" = x; then
8143    NMEDIT=":"
8144  else
8145    case $cross_compiling:$ac_tool_warned in
8146yes:)
8147{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8148$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8149ac_tool_warned=yes ;;
8150esac
8151    NMEDIT=$ac_ct_NMEDIT
8152  fi
8153else
8154  NMEDIT="$ac_cv_prog_NMEDIT"
8155fi
8156
8157    if test -n "$ac_tool_prefix"; then
8158  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8159set dummy ${ac_tool_prefix}lipo; ac_word=$2
8160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8161$as_echo_n "checking for $ac_word... " >&6; }
8162if ${ac_cv_prog_LIPO+:} false; then :
8163  $as_echo_n "(cached) " >&6
8164else
8165  if test -n "$LIPO"; then
8166  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8167else
8168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8169for as_dir in $PATH
8170do
8171  IFS=$as_save_IFS
8172  test -z "$as_dir" && as_dir=.
8173    for ac_exec_ext in '' $ac_executable_extensions; do
8174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8175    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177    break 2
8178  fi
8179done
8180  done
8181IFS=$as_save_IFS
8182
8183fi
8184fi
8185LIPO=$ac_cv_prog_LIPO
8186if test -n "$LIPO"; then
8187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8188$as_echo "$LIPO" >&6; }
8189else
8190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191$as_echo "no" >&6; }
8192fi
8193
8194
8195fi
8196if test -z "$ac_cv_prog_LIPO"; then
8197  ac_ct_LIPO=$LIPO
8198  # Extract the first word of "lipo", so it can be a program name with args.
8199set dummy lipo; ac_word=$2
8200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201$as_echo_n "checking for $ac_word... " >&6; }
8202if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8203  $as_echo_n "(cached) " >&6
8204else
8205  if test -n "$ac_ct_LIPO"; then
8206  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8207else
8208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209for as_dir in $PATH
8210do
8211  IFS=$as_save_IFS
8212  test -z "$as_dir" && as_dir=.
8213    for ac_exec_ext in '' $ac_executable_extensions; do
8214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215    ac_cv_prog_ac_ct_LIPO="lipo"
8216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217    break 2
8218  fi
8219done
8220  done
8221IFS=$as_save_IFS
8222
8223fi
8224fi
8225ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8226if test -n "$ac_ct_LIPO"; then
8227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8228$as_echo "$ac_ct_LIPO" >&6; }
8229else
8230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231$as_echo "no" >&6; }
8232fi
8233
8234  if test "x$ac_ct_LIPO" = x; then
8235    LIPO=":"
8236  else
8237    case $cross_compiling:$ac_tool_warned in
8238yes:)
8239{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8240$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8241ac_tool_warned=yes ;;
8242esac
8243    LIPO=$ac_ct_LIPO
8244  fi
8245else
8246  LIPO="$ac_cv_prog_LIPO"
8247fi
8248
8249    if test -n "$ac_tool_prefix"; then
8250  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8251set dummy ${ac_tool_prefix}otool; ac_word=$2
8252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253$as_echo_n "checking for $ac_word... " >&6; }
8254if ${ac_cv_prog_OTOOL+:} false; then :
8255  $as_echo_n "(cached) " >&6
8256else
8257  if test -n "$OTOOL"; then
8258  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8259else
8260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261for as_dir in $PATH
8262do
8263  IFS=$as_save_IFS
8264  test -z "$as_dir" && as_dir=.
8265    for ac_exec_ext in '' $ac_executable_extensions; do
8266  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8267    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8268    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8269    break 2
8270  fi
8271done
8272  done
8273IFS=$as_save_IFS
8274
8275fi
8276fi
8277OTOOL=$ac_cv_prog_OTOOL
8278if test -n "$OTOOL"; then
8279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8280$as_echo "$OTOOL" >&6; }
8281else
8282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283$as_echo "no" >&6; }
8284fi
8285
8286
8287fi
8288if test -z "$ac_cv_prog_OTOOL"; then
8289  ac_ct_OTOOL=$OTOOL
8290  # Extract the first word of "otool", so it can be a program name with args.
8291set dummy otool; ac_word=$2
8292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8293$as_echo_n "checking for $ac_word... " >&6; }
8294if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8295  $as_echo_n "(cached) " >&6
8296else
8297  if test -n "$ac_ct_OTOOL"; then
8298  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8299else
8300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8301for as_dir in $PATH
8302do
8303  IFS=$as_save_IFS
8304  test -z "$as_dir" && as_dir=.
8305    for ac_exec_ext in '' $ac_executable_extensions; do
8306  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307    ac_cv_prog_ac_ct_OTOOL="otool"
8308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309    break 2
8310  fi
8311done
8312  done
8313IFS=$as_save_IFS
8314
8315fi
8316fi
8317ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8318if test -n "$ac_ct_OTOOL"; then
8319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8320$as_echo "$ac_ct_OTOOL" >&6; }
8321else
8322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323$as_echo "no" >&6; }
8324fi
8325
8326  if test "x$ac_ct_OTOOL" = x; then
8327    OTOOL=":"
8328  else
8329    case $cross_compiling:$ac_tool_warned in
8330yes:)
8331{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8332$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8333ac_tool_warned=yes ;;
8334esac
8335    OTOOL=$ac_ct_OTOOL
8336  fi
8337else
8338  OTOOL="$ac_cv_prog_OTOOL"
8339fi
8340
8341    if test -n "$ac_tool_prefix"; then
8342  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8343set dummy ${ac_tool_prefix}otool64; ac_word=$2
8344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345$as_echo_n "checking for $ac_word... " >&6; }
8346if ${ac_cv_prog_OTOOL64+:} false; then :
8347  $as_echo_n "(cached) " >&6
8348else
8349  if test -n "$OTOOL64"; then
8350  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8351else
8352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8353for as_dir in $PATH
8354do
8355  IFS=$as_save_IFS
8356  test -z "$as_dir" && as_dir=.
8357    for ac_exec_ext in '' $ac_executable_extensions; do
8358  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8359    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361    break 2
8362  fi
8363done
8364  done
8365IFS=$as_save_IFS
8366
8367fi
8368fi
8369OTOOL64=$ac_cv_prog_OTOOL64
8370if test -n "$OTOOL64"; then
8371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8372$as_echo "$OTOOL64" >&6; }
8373else
8374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375$as_echo "no" >&6; }
8376fi
8377
8378
8379fi
8380if test -z "$ac_cv_prog_OTOOL64"; then
8381  ac_ct_OTOOL64=$OTOOL64
8382  # Extract the first word of "otool64", so it can be a program name with args.
8383set dummy otool64; ac_word=$2
8384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8385$as_echo_n "checking for $ac_word... " >&6; }
8386if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8387  $as_echo_n "(cached) " >&6
8388else
8389  if test -n "$ac_ct_OTOOL64"; then
8390  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8391else
8392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8393for as_dir in $PATH
8394do
8395  IFS=$as_save_IFS
8396  test -z "$as_dir" && as_dir=.
8397    for ac_exec_ext in '' $ac_executable_extensions; do
8398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8399    ac_cv_prog_ac_ct_OTOOL64="otool64"
8400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401    break 2
8402  fi
8403done
8404  done
8405IFS=$as_save_IFS
8406
8407fi
8408fi
8409ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8410if test -n "$ac_ct_OTOOL64"; then
8411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8412$as_echo "$ac_ct_OTOOL64" >&6; }
8413else
8414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415$as_echo "no" >&6; }
8416fi
8417
8418  if test "x$ac_ct_OTOOL64" = x; then
8419    OTOOL64=":"
8420  else
8421    case $cross_compiling:$ac_tool_warned in
8422yes:)
8423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8425ac_tool_warned=yes ;;
8426esac
8427    OTOOL64=$ac_ct_OTOOL64
8428  fi
8429else
8430  OTOOL64="$ac_cv_prog_OTOOL64"
8431fi
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8460$as_echo_n "checking for -single_module linker flag... " >&6; }
8461if ${lt_cv_apple_cc_single_mod+:} false; then :
8462  $as_echo_n "(cached) " >&6
8463else
8464  lt_cv_apple_cc_single_mod=no
8465      if test -z "$LT_MULTI_MODULE"; then
8466	# By default we will add the -single_module flag. You can override
8467	# by either setting the environment variable LT_MULTI_MODULE
8468	# non-empty at configure time, or by adding -multi_module to the
8469	# link flags.
8470	rm -rf libconftest.dylib*
8471	echo "int foo(void){return 1;}" > conftest.c
8472	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8473-dynamiclib -Wl,-single_module conftest.c" >&5
8474	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8475	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8476        _lt_result=$?
8477	# If there is a non-empty error log, and "single_module"
8478	# appears in it, assume the flag caused a linker warning
8479        if test -s conftest.err && $GREP single_module conftest.err; then
8480	  cat conftest.err >&5
8481	# Otherwise, if the output was created with a 0 exit code from
8482	# the compiler, it worked.
8483	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8484	  lt_cv_apple_cc_single_mod=yes
8485	else
8486	  cat conftest.err >&5
8487	fi
8488	rm -rf libconftest.dylib*
8489	rm -f conftest.*
8490      fi
8491fi
8492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8493$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8494
8495    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8496$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8497if ${lt_cv_ld_exported_symbols_list+:} false; then :
8498  $as_echo_n "(cached) " >&6
8499else
8500  lt_cv_ld_exported_symbols_list=no
8501      save_LDFLAGS=$LDFLAGS
8502      echo "_main" > conftest.sym
8503      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8504      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505/* end confdefs.h.  */
8506
8507int
8508main ()
8509{
8510
8511  ;
8512  return 0;
8513}
8514_ACEOF
8515if ac_fn_c_try_link "$LINENO"; then :
8516  lt_cv_ld_exported_symbols_list=yes
8517else
8518  lt_cv_ld_exported_symbols_list=no
8519fi
8520rm -f core conftest.err conftest.$ac_objext \
8521    conftest$ac_exeext conftest.$ac_ext
8522	LDFLAGS=$save_LDFLAGS
8523
8524fi
8525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8526$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8527
8528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8529$as_echo_n "checking for -force_load linker flag... " >&6; }
8530if ${lt_cv_ld_force_load+:} false; then :
8531  $as_echo_n "(cached) " >&6
8532else
8533  lt_cv_ld_force_load=no
8534      cat > conftest.c << _LT_EOF
8535int forced_loaded() { return 2;}
8536_LT_EOF
8537      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8538      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8539      echo "$AR cr libconftest.a conftest.o" >&5
8540      $AR cr libconftest.a conftest.o 2>&5
8541      echo "$RANLIB libconftest.a" >&5
8542      $RANLIB libconftest.a 2>&5
8543      cat > conftest.c << _LT_EOF
8544int main() { return 0;}
8545_LT_EOF
8546      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8547      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8548      _lt_result=$?
8549      if test -s conftest.err && $GREP force_load conftest.err; then
8550	cat conftest.err >&5
8551      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8552	lt_cv_ld_force_load=yes
8553      else
8554	cat conftest.err >&5
8555      fi
8556        rm -f conftest.err libconftest.a conftest conftest.c
8557        rm -rf conftest.dSYM
8558
8559fi
8560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8561$as_echo "$lt_cv_ld_force_load" >&6; }
8562    case $host_os in
8563    rhapsody* | darwin1.[012])
8564      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8565    darwin1.*)
8566      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8567    darwin*) # darwin 5.x on
8568      # if running on 10.5 or later, the deployment target defaults
8569      # to the OS version, if on x86, and 10.4, the deployment
8570      # target defaults to 10.4. Don't you love it?
8571      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8572	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8573	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8574	10.[012][,.]*)
8575	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8576	10.*)
8577	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8578      esac
8579    ;;
8580  esac
8581    if test yes = "$lt_cv_apple_cc_single_mod"; then
8582      _lt_dar_single_mod='$single_module'
8583    fi
8584    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8585      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8586    else
8587      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8588    fi
8589    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8590      _lt_dsymutil='~$DSYMUTIL $lib || :'
8591    else
8592      _lt_dsymutil=
8593    fi
8594    ;;
8595  esac
8596
8597# func_munge_path_list VARIABLE PATH
8598# -----------------------------------
8599# VARIABLE is name of variable containing _space_ separated list of
8600# directories to be munged by the contents of PATH, which is string
8601# having a format:
8602# "DIR[:DIR]:"
8603#       string "DIR[ DIR]" will be prepended to VARIABLE
8604# ":DIR[:DIR]"
8605#       string "DIR[ DIR]" will be appended to VARIABLE
8606# "DIRP[:DIRP]::[DIRA:]DIRA"
8607#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8608#       "DIRA[ DIRA]" will be appended to VARIABLE
8609# "DIR[:DIR]"
8610#       VARIABLE will be replaced by "DIR[ DIR]"
8611func_munge_path_list ()
8612{
8613    case x$2 in
8614    x)
8615        ;;
8616    *:)
8617        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8618        ;;
8619    x:*)
8620        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8621        ;;
8622    *::*)
8623        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8624        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8625        ;;
8626    *)
8627        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8628        ;;
8629    esac
8630}
8631
8632ac_ext=c
8633ac_cpp='$CPP $CPPFLAGS'
8634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8636ac_compiler_gnu=$ac_cv_c_compiler_gnu
8637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8638$as_echo_n "checking how to run the C preprocessor... " >&6; }
8639# On Suns, sometimes $CPP names a directory.
8640if test -n "$CPP" && test -d "$CPP"; then
8641  CPP=
8642fi
8643if test -z "$CPP"; then
8644  if ${ac_cv_prog_CPP+:} false; then :
8645  $as_echo_n "(cached) " >&6
8646else
8647      # Double quotes because CPP needs to be expanded
8648    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8649    do
8650      ac_preproc_ok=false
8651for ac_c_preproc_warn_flag in '' yes
8652do
8653  # Use a header file that comes with gcc, so configuring glibc
8654  # with a fresh cross-compiler works.
8655  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8656  # <limits.h> exists even on freestanding compilers.
8657  # On the NeXT, cc -E runs the code through the compiler's parser,
8658  # not just through cpp. "Syntax error" is here to catch this case.
8659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660/* end confdefs.h.  */
8661#ifdef __STDC__
8662# include <limits.h>
8663#else
8664# include <assert.h>
8665#endif
8666		     Syntax error
8667_ACEOF
8668if ac_fn_c_try_cpp "$LINENO"; then :
8669
8670else
8671  # Broken: fails on valid input.
8672continue
8673fi
8674rm -f conftest.err conftest.i conftest.$ac_ext
8675
8676  # OK, works on sane cases.  Now check whether nonexistent headers
8677  # can be detected and how.
8678  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679/* end confdefs.h.  */
8680#include <ac_nonexistent.h>
8681_ACEOF
8682if ac_fn_c_try_cpp "$LINENO"; then :
8683  # Broken: success on invalid input.
8684continue
8685else
8686  # Passes both tests.
8687ac_preproc_ok=:
8688break
8689fi
8690rm -f conftest.err conftest.i conftest.$ac_ext
8691
8692done
8693# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8694rm -f conftest.i conftest.err conftest.$ac_ext
8695if $ac_preproc_ok; then :
8696  break
8697fi
8698
8699    done
8700    ac_cv_prog_CPP=$CPP
8701
8702fi
8703  CPP=$ac_cv_prog_CPP
8704else
8705  ac_cv_prog_CPP=$CPP
8706fi
8707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8708$as_echo "$CPP" >&6; }
8709ac_preproc_ok=false
8710for ac_c_preproc_warn_flag in '' yes
8711do
8712  # Use a header file that comes with gcc, so configuring glibc
8713  # with a fresh cross-compiler works.
8714  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8715  # <limits.h> exists even on freestanding compilers.
8716  # On the NeXT, cc -E runs the code through the compiler's parser,
8717  # not just through cpp. "Syntax error" is here to catch this case.
8718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719/* end confdefs.h.  */
8720#ifdef __STDC__
8721# include <limits.h>
8722#else
8723# include <assert.h>
8724#endif
8725		     Syntax error
8726_ACEOF
8727if ac_fn_c_try_cpp "$LINENO"; then :
8728
8729else
8730  # Broken: fails on valid input.
8731continue
8732fi
8733rm -f conftest.err conftest.i conftest.$ac_ext
8734
8735  # OK, works on sane cases.  Now check whether nonexistent headers
8736  # can be detected and how.
8737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738/* end confdefs.h.  */
8739#include <ac_nonexistent.h>
8740_ACEOF
8741if ac_fn_c_try_cpp "$LINENO"; then :
8742  # Broken: success on invalid input.
8743continue
8744else
8745  # Passes both tests.
8746ac_preproc_ok=:
8747break
8748fi
8749rm -f conftest.err conftest.i conftest.$ac_ext
8750
8751done
8752# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8753rm -f conftest.i conftest.err conftest.$ac_ext
8754if $ac_preproc_ok; then :
8755
8756else
8757  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8759as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8760See \`config.log' for more details" "$LINENO" 5; }
8761fi
8762
8763ac_ext=c
8764ac_cpp='$CPP $CPPFLAGS'
8765ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8766ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8767ac_compiler_gnu=$ac_cv_c_compiler_gnu
8768
8769
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8771$as_echo_n "checking for ANSI C header files... " >&6; }
8772if ${ac_cv_header_stdc+:} false; then :
8773  $as_echo_n "(cached) " >&6
8774else
8775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776/* end confdefs.h.  */
8777#include <stdlib.h>
8778#include <stdarg.h>
8779#include <string.h>
8780#include <float.h>
8781
8782int
8783main ()
8784{
8785
8786  ;
8787  return 0;
8788}
8789_ACEOF
8790if ac_fn_c_try_compile "$LINENO"; then :
8791  ac_cv_header_stdc=yes
8792else
8793  ac_cv_header_stdc=no
8794fi
8795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8796
8797if test $ac_cv_header_stdc = yes; then
8798  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800/* end confdefs.h.  */
8801#include <string.h>
8802
8803_ACEOF
8804if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8805  $EGREP "memchr" >/dev/null 2>&1; then :
8806
8807else
8808  ac_cv_header_stdc=no
8809fi
8810rm -f conftest*
8811
8812fi
8813
8814if test $ac_cv_header_stdc = yes; then
8815  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817/* end confdefs.h.  */
8818#include <stdlib.h>
8819
8820_ACEOF
8821if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8822  $EGREP "free" >/dev/null 2>&1; then :
8823
8824else
8825  ac_cv_header_stdc=no
8826fi
8827rm -f conftest*
8828
8829fi
8830
8831if test $ac_cv_header_stdc = yes; then
8832  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8833  if test "$cross_compiling" = yes; then :
8834  :
8835else
8836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837/* end confdefs.h.  */
8838#include <ctype.h>
8839#include <stdlib.h>
8840#if ((' ' & 0x0FF) == 0x020)
8841# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8842# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8843#else
8844# define ISLOWER(c) \
8845		   (('a' <= (c) && (c) <= 'i') \
8846		     || ('j' <= (c) && (c) <= 'r') \
8847		     || ('s' <= (c) && (c) <= 'z'))
8848# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8849#endif
8850
8851#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8852int
8853main ()
8854{
8855  int i;
8856  for (i = 0; i < 256; i++)
8857    if (XOR (islower (i), ISLOWER (i))
8858	|| toupper (i) != TOUPPER (i))
8859      return 2;
8860  return 0;
8861}
8862_ACEOF
8863if ac_fn_c_try_run "$LINENO"; then :
8864
8865else
8866  ac_cv_header_stdc=no
8867fi
8868rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8869  conftest.$ac_objext conftest.beam conftest.$ac_ext
8870fi
8871
8872fi
8873fi
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8875$as_echo "$ac_cv_header_stdc" >&6; }
8876if test $ac_cv_header_stdc = yes; then
8877
8878$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8879
8880fi
8881
8882# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8883for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8884		  inttypes.h stdint.h unistd.h
8885do :
8886  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8887ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8888"
8889if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8890  cat >>confdefs.h <<_ACEOF
8891#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8892_ACEOF
8893
8894fi
8895
8896done
8897
8898
8899for ac_header in dlfcn.h
8900do :
8901  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8902"
8903if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8904  cat >>confdefs.h <<_ACEOF
8905#define HAVE_DLFCN_H 1
8906_ACEOF
8907
8908fi
8909
8910done
8911
8912
8913
8914
8915func_stripname_cnf ()
8916{
8917  case $2 in
8918  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8919  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8920  esac
8921} # func_stripname_cnf
8922
8923
8924
8925
8926
8927# Set options
8928
8929
8930
8931        enable_dlopen=no
8932
8933
8934
8935            # Check whether --enable-shared was given.
8936if test "${enable_shared+set}" = set; then :
8937  enableval=$enable_shared; p=${PACKAGE-default}
8938    case $enableval in
8939    yes) enable_shared=yes ;;
8940    no) enable_shared=no ;;
8941    *)
8942      enable_shared=no
8943      # Look at the argument we got.  We use all the common list separators.
8944      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8945      for pkg in $enableval; do
8946	IFS=$lt_save_ifs
8947	if test "X$pkg" = "X$p"; then
8948	  enable_shared=yes
8949	fi
8950      done
8951      IFS=$lt_save_ifs
8952      ;;
8953    esac
8954else
8955  enable_shared=yes
8956fi
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968# Check whether --with-pic was given.
8969if test "${with_pic+set}" = set; then :
8970  withval=$with_pic; lt_p=${PACKAGE-default}
8971    case $withval in
8972    yes|no) pic_mode=$withval ;;
8973    *)
8974      pic_mode=default
8975      # Look at the argument we got.  We use all the common list separators.
8976      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8977      for lt_pkg in $withval; do
8978	IFS=$lt_save_ifs
8979	if test "X$lt_pkg" = "X$lt_p"; then
8980	  pic_mode=yes
8981	fi
8982      done
8983      IFS=$lt_save_ifs
8984      ;;
8985    esac
8986else
8987  pic_mode=default
8988fi
8989
8990
8991
8992
8993
8994
8995
8996
8997  # Check whether --enable-fast-install was given.
8998if test "${enable_fast_install+set}" = set; then :
8999  enableval=$enable_fast_install; p=${PACKAGE-default}
9000    case $enableval in
9001    yes) enable_fast_install=yes ;;
9002    no) enable_fast_install=no ;;
9003    *)
9004      enable_fast_install=no
9005      # Look at the argument we got.  We use all the common list separators.
9006      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9007      for pkg in $enableval; do
9008	IFS=$lt_save_ifs
9009	if test "X$pkg" = "X$p"; then
9010	  enable_fast_install=yes
9011	fi
9012      done
9013      IFS=$lt_save_ifs
9014      ;;
9015    esac
9016else
9017  enable_fast_install=yes
9018fi
9019
9020
9021
9022
9023
9024
9025
9026
9027  shared_archive_member_spec=
9028case $host,$enable_shared in
9029power*-*-aix[5-9]*,yes)
9030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9031$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9032
9033# Check whether --with-aix-soname was given.
9034if test "${with_aix_soname+set}" = set; then :
9035  withval=$with_aix_soname; case $withval in
9036    aix|svr4|both)
9037      ;;
9038    *)
9039      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9040      ;;
9041    esac
9042    lt_cv_with_aix_soname=$with_aix_soname
9043else
9044  if ${lt_cv_with_aix_soname+:} false; then :
9045  $as_echo_n "(cached) " >&6
9046else
9047  lt_cv_with_aix_soname=aix
9048fi
9049
9050    with_aix_soname=$lt_cv_with_aix_soname
9051fi
9052
9053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9054$as_echo "$with_aix_soname" >&6; }
9055  if test aix != "$with_aix_soname"; then
9056    # For the AIX way of multilib, we name the shared archive member
9057    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9058    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9059    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9060    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9061    if test 64 = "${OBJECT_MODE-32}"; then
9062      shared_archive_member_spec=shr_64
9063    else
9064      shared_archive_member_spec=shr
9065    fi
9066  fi
9067  ;;
9068*)
9069  with_aix_soname=aix
9070  ;;
9071esac
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082# This can be used to rebuild libtool when needed
9083LIBTOOL_DEPS=$ltmain
9084
9085# Always use our own libtool.
9086LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117test -z "$LN_S" && LN_S="ln -s"
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132if test -n "${ZSH_VERSION+set}"; then
9133   setopt NO_GLOB_SUBST
9134fi
9135
9136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9137$as_echo_n "checking for objdir... " >&6; }
9138if ${lt_cv_objdir+:} false; then :
9139  $as_echo_n "(cached) " >&6
9140else
9141  rm -f .libs 2>/dev/null
9142mkdir .libs 2>/dev/null
9143if test -d .libs; then
9144  lt_cv_objdir=.libs
9145else
9146  # MS-DOS does not allow filenames that begin with a dot.
9147  lt_cv_objdir=_libs
9148fi
9149rmdir .libs 2>/dev/null
9150fi
9151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9152$as_echo "$lt_cv_objdir" >&6; }
9153objdir=$lt_cv_objdir
9154
9155
9156
9157
9158
9159cat >>confdefs.h <<_ACEOF
9160#define LT_OBJDIR "$lt_cv_objdir/"
9161_ACEOF
9162
9163
9164
9165
9166case $host_os in
9167aix3*)
9168  # AIX sometimes has problems with the GCC collect2 program.  For some
9169  # reason, if we set the COLLECT_NAMES environment variable, the problems
9170  # vanish in a puff of smoke.
9171  if test set != "${COLLECT_NAMES+set}"; then
9172    COLLECT_NAMES=
9173    export COLLECT_NAMES
9174  fi
9175  ;;
9176esac
9177
9178# Global variables:
9179ofile=libtool
9180can_build_shared=yes
9181
9182# All known linkers require a '.a' archive for static linking (except MSVC,
9183# which needs '.lib').
9184libext=a
9185
9186with_gnu_ld=$lt_cv_prog_gnu_ld
9187
9188old_CC=$CC
9189old_CFLAGS=$CFLAGS
9190
9191# Set sane defaults for various variables
9192test -z "$CC" && CC=cc
9193test -z "$LTCC" && LTCC=$CC
9194test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9195test -z "$LD" && LD=ld
9196test -z "$ac_objext" && ac_objext=o
9197
9198func_cc_basename $compiler
9199cc_basename=$func_cc_basename_result
9200
9201
9202# Only perform the check for file, if the check method requires it
9203test -z "$MAGIC_CMD" && MAGIC_CMD=file
9204case $deplibs_check_method in
9205file_magic*)
9206  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9208$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9209if ${lt_cv_path_MAGIC_CMD+:} false; then :
9210  $as_echo_n "(cached) " >&6
9211else
9212  case $MAGIC_CMD in
9213[\\/*] |  ?:[\\/]*)
9214  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9215  ;;
9216*)
9217  lt_save_MAGIC_CMD=$MAGIC_CMD
9218  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9219  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9220  for ac_dir in $ac_dummy; do
9221    IFS=$lt_save_ifs
9222    test -z "$ac_dir" && ac_dir=.
9223    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9224      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9225      if test -n "$file_magic_test_file"; then
9226	case $deplibs_check_method in
9227	"file_magic "*)
9228	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9229	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9230	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9231	    $EGREP "$file_magic_regex" > /dev/null; then
9232	    :
9233	  else
9234	    cat <<_LT_EOF 1>&2
9235
9236*** Warning: the command libtool uses to detect shared libraries,
9237*** $file_magic_cmd, produces output that libtool cannot recognize.
9238*** The result is that libtool may fail to recognize shared libraries
9239*** as such.  This will affect the creation of libtool libraries that
9240*** depend on shared libraries, but programs linked with such libtool
9241*** libraries will work regardless of this problem.  Nevertheless, you
9242*** may want to report the problem to your system manager and/or to
9243*** bug-libtool@gnu.org
9244
9245_LT_EOF
9246	  fi ;;
9247	esac
9248      fi
9249      break
9250    fi
9251  done
9252  IFS=$lt_save_ifs
9253  MAGIC_CMD=$lt_save_MAGIC_CMD
9254  ;;
9255esac
9256fi
9257
9258MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9259if test -n "$MAGIC_CMD"; then
9260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9261$as_echo "$MAGIC_CMD" >&6; }
9262else
9263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9264$as_echo "no" >&6; }
9265fi
9266
9267
9268
9269
9270
9271if test -z "$lt_cv_path_MAGIC_CMD"; then
9272  if test -n "$ac_tool_prefix"; then
9273    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9274$as_echo_n "checking for file... " >&6; }
9275if ${lt_cv_path_MAGIC_CMD+:} false; then :
9276  $as_echo_n "(cached) " >&6
9277else
9278  case $MAGIC_CMD in
9279[\\/*] |  ?:[\\/]*)
9280  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9281  ;;
9282*)
9283  lt_save_MAGIC_CMD=$MAGIC_CMD
9284  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9285  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9286  for ac_dir in $ac_dummy; do
9287    IFS=$lt_save_ifs
9288    test -z "$ac_dir" && ac_dir=.
9289    if test -f "$ac_dir/file"; then
9290      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9291      if test -n "$file_magic_test_file"; then
9292	case $deplibs_check_method in
9293	"file_magic "*)
9294	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9295	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9296	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9297	    $EGREP "$file_magic_regex" > /dev/null; then
9298	    :
9299	  else
9300	    cat <<_LT_EOF 1>&2
9301
9302*** Warning: the command libtool uses to detect shared libraries,
9303*** $file_magic_cmd, produces output that libtool cannot recognize.
9304*** The result is that libtool may fail to recognize shared libraries
9305*** as such.  This will affect the creation of libtool libraries that
9306*** depend on shared libraries, but programs linked with such libtool
9307*** libraries will work regardless of this problem.  Nevertheless, you
9308*** may want to report the problem to your system manager and/or to
9309*** bug-libtool@gnu.org
9310
9311_LT_EOF
9312	  fi ;;
9313	esac
9314      fi
9315      break
9316    fi
9317  done
9318  IFS=$lt_save_ifs
9319  MAGIC_CMD=$lt_save_MAGIC_CMD
9320  ;;
9321esac
9322fi
9323
9324MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9325if test -n "$MAGIC_CMD"; then
9326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9327$as_echo "$MAGIC_CMD" >&6; }
9328else
9329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330$as_echo "no" >&6; }
9331fi
9332
9333
9334  else
9335    MAGIC_CMD=:
9336  fi
9337fi
9338
9339  fi
9340  ;;
9341esac
9342
9343# Use C for the default configuration in the libtool script
9344
9345lt_save_CC=$CC
9346ac_ext=c
9347ac_cpp='$CPP $CPPFLAGS'
9348ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9350ac_compiler_gnu=$ac_cv_c_compiler_gnu
9351
9352
9353# Source file extension for C test sources.
9354ac_ext=c
9355
9356# Object file extension for compiled C test sources.
9357objext=o
9358objext=$objext
9359
9360# Code to be used in simple compile tests
9361lt_simple_compile_test_code="int some_variable = 0;"
9362
9363# Code to be used in simple link tests
9364lt_simple_link_test_code='int main(){return(0);}'
9365
9366
9367
9368
9369
9370
9371
9372# If no C compiler was specified, use CC.
9373LTCC=${LTCC-"$CC"}
9374
9375# If no C compiler flags were specified, use CFLAGS.
9376LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9377
9378# Allow CC to be a program name with arguments.
9379compiler=$CC
9380
9381# Save the default compiler, since it gets overwritten when the other
9382# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9383compiler_DEFAULT=$CC
9384
9385# save warnings/boilerplate of simple test code
9386ac_outfile=conftest.$ac_objext
9387echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9388eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9389_lt_compiler_boilerplate=`cat conftest.err`
9390$RM conftest*
9391
9392ac_outfile=conftest.$ac_objext
9393echo "$lt_simple_link_test_code" >conftest.$ac_ext
9394eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9395_lt_linker_boilerplate=`cat conftest.err`
9396$RM -r conftest*
9397
9398
9399if test -n "$compiler"; then
9400
9401lt_prog_compiler_no_builtin_flag=
9402
9403if test yes = "$GCC"; then
9404  case $cc_basename in
9405  nvcc*)
9406    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9407  *)
9408    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9409  esac
9410
9411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9412$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9413if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9414  $as_echo_n "(cached) " >&6
9415else
9416  lt_cv_prog_compiler_rtti_exceptions=no
9417   ac_outfile=conftest.$ac_objext
9418   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9419   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9420   # Insert the option either (1) after the last *FLAGS variable, or
9421   # (2) before a word containing "conftest.", or (3) at the end.
9422   # Note that $ac_compile itself does not contain backslashes and begins
9423   # with a dollar sign (not a hyphen), so the echo should work correctly.
9424   # The option is referenced via a variable to avoid confusing sed.
9425   lt_compile=`echo "$ac_compile" | $SED \
9426   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9427   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9428   -e 's:$: $lt_compiler_flag:'`
9429   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9430   (eval "$lt_compile" 2>conftest.err)
9431   ac_status=$?
9432   cat conftest.err >&5
9433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434   if (exit $ac_status) && test -s "$ac_outfile"; then
9435     # The compiler can only warn and ignore the option if not recognized
9436     # So say no if there are warnings other than the usual output.
9437     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9438     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9439     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9440       lt_cv_prog_compiler_rtti_exceptions=yes
9441     fi
9442   fi
9443   $RM conftest*
9444
9445fi
9446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9447$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9448
9449if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9450    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9451else
9452    :
9453fi
9454
9455fi
9456
9457
9458
9459
9460
9461
9462  lt_prog_compiler_wl=
9463lt_prog_compiler_pic=
9464lt_prog_compiler_static=
9465
9466
9467  if test yes = "$GCC"; then
9468    lt_prog_compiler_wl='-Wl,'
9469    lt_prog_compiler_static='-static'
9470
9471    case $host_os in
9472      aix*)
9473      # All AIX code is PIC.
9474      if test ia64 = "$host_cpu"; then
9475	# AIX 5 now supports IA64 processor
9476	lt_prog_compiler_static='-Bstatic'
9477      fi
9478      lt_prog_compiler_pic='-fPIC'
9479      ;;
9480
9481    amigaos*)
9482      case $host_cpu in
9483      powerpc)
9484            # see comment about AmigaOS4 .so support
9485            lt_prog_compiler_pic='-fPIC'
9486        ;;
9487      m68k)
9488            # FIXME: we need at least 68020 code to build shared libraries, but
9489            # adding the '-m68020' flag to GCC prevents building anything better,
9490            # like '-m68040'.
9491            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9492        ;;
9493      esac
9494      ;;
9495
9496    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9497      # PIC is the default for these OSes.
9498      ;;
9499
9500    mingw* | cygwin* | pw32* | os2* | cegcc*)
9501      # This hack is so that the source file can tell whether it is being
9502      # built for inclusion in a dll (and should export symbols for example).
9503      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9504      # (--disable-auto-import) libraries
9505      lt_prog_compiler_pic='-DDLL_EXPORT'
9506      case $host_os in
9507      os2*)
9508	lt_prog_compiler_static='$wl-static'
9509	;;
9510      esac
9511      ;;
9512
9513    darwin* | rhapsody*)
9514      # PIC is the default on this platform
9515      # Common symbols not allowed in MH_DYLIB files
9516      lt_prog_compiler_pic='-fno-common'
9517      ;;
9518
9519    haiku*)
9520      # PIC is the default for Haiku.
9521      # The "-static" flag exists, but is broken.
9522      lt_prog_compiler_static=
9523      ;;
9524
9525    hpux*)
9526      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9527      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9528      # sets the default TLS model and affects inlining.
9529      case $host_cpu in
9530      hppa*64*)
9531	# +Z the default
9532	;;
9533      *)
9534	lt_prog_compiler_pic='-fPIC'
9535	;;
9536      esac
9537      ;;
9538
9539    interix[3-9]*)
9540      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9541      # Instead, we relocate shared libraries at runtime.
9542      ;;
9543
9544    msdosdjgpp*)
9545      # Just because we use GCC doesn't mean we suddenly get shared libraries
9546      # on systems that don't support them.
9547      lt_prog_compiler_can_build_shared=no
9548      enable_shared=no
9549      ;;
9550
9551    *nto* | *qnx*)
9552      # QNX uses GNU C++, but need to define -shared option too, otherwise
9553      # it will coredump.
9554      lt_prog_compiler_pic='-fPIC -shared'
9555      ;;
9556
9557    sysv4*MP*)
9558      if test -d /usr/nec; then
9559	lt_prog_compiler_pic=-Kconform_pic
9560      fi
9561      ;;
9562
9563    *)
9564      lt_prog_compiler_pic='-fPIC'
9565      ;;
9566    esac
9567
9568    case $cc_basename in
9569    nvcc*) # Cuda Compiler Driver 2.2
9570      lt_prog_compiler_wl='-Xlinker '
9571      if test -n "$lt_prog_compiler_pic"; then
9572        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9573      fi
9574      ;;
9575    esac
9576  else
9577    # PORTME Check for flag to pass linker flags through the system compiler.
9578    case $host_os in
9579    aix*)
9580      lt_prog_compiler_wl='-Wl,'
9581      if test ia64 = "$host_cpu"; then
9582	# AIX 5 now supports IA64 processor
9583	lt_prog_compiler_static='-Bstatic'
9584      else
9585	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9586      fi
9587      ;;
9588
9589    darwin* | rhapsody*)
9590      # PIC is the default on this platform
9591      # Common symbols not allowed in MH_DYLIB files
9592      lt_prog_compiler_pic='-fno-common'
9593      case $cc_basename in
9594      nagfor*)
9595        # NAG Fortran compiler
9596        lt_prog_compiler_wl='-Wl,-Wl,,'
9597        lt_prog_compiler_pic='-PIC'
9598        lt_prog_compiler_static='-Bstatic'
9599        ;;
9600      esac
9601      ;;
9602
9603    mingw* | cygwin* | pw32* | os2* | cegcc*)
9604      # This hack is so that the source file can tell whether it is being
9605      # built for inclusion in a dll (and should export symbols for example).
9606      lt_prog_compiler_pic='-DDLL_EXPORT'
9607      case $host_os in
9608      os2*)
9609	lt_prog_compiler_static='$wl-static'
9610	;;
9611      esac
9612      ;;
9613
9614    hpux9* | hpux10* | hpux11*)
9615      lt_prog_compiler_wl='-Wl,'
9616      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9617      # not for PA HP-UX.
9618      case $host_cpu in
9619      hppa*64*|ia64*)
9620	# +Z the default
9621	;;
9622      *)
9623	lt_prog_compiler_pic='+Z'
9624	;;
9625      esac
9626      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9627      lt_prog_compiler_static='$wl-a ${wl}archive'
9628      ;;
9629
9630    irix5* | irix6* | nonstopux*)
9631      lt_prog_compiler_wl='-Wl,'
9632      # PIC (with -KPIC) is the default.
9633      lt_prog_compiler_static='-non_shared'
9634      ;;
9635
9636    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9637      case $cc_basename in
9638      # old Intel for x86_64, which still supported -KPIC.
9639      ecc*)
9640	lt_prog_compiler_wl='-Wl,'
9641	lt_prog_compiler_pic='-KPIC'
9642	lt_prog_compiler_static='-static'
9643        ;;
9644      # flang / f18. f95 an alias for gfortran or flang on Debian
9645      flang* | f18* | f95*)
9646	lt_prog_compiler_wl='-Wl,'
9647	lt_prog_compiler_pic='-fPIC'
9648	lt_prog_compiler_static='-static'
9649        ;;
9650      # icc used to be incompatible with GCC.
9651      # ICC 10 doesn't accept -KPIC any more.
9652      icc* | ifort*)
9653	lt_prog_compiler_wl='-Wl,'
9654	lt_prog_compiler_pic='-fPIC'
9655	lt_prog_compiler_static='-static'
9656        ;;
9657      # Lahey Fortran 8.1.
9658      lf95*)
9659	lt_prog_compiler_wl='-Wl,'
9660	lt_prog_compiler_pic='--shared'
9661	lt_prog_compiler_static='--static'
9662	;;
9663      nagfor*)
9664	# NAG Fortran compiler
9665	lt_prog_compiler_wl='-Wl,-Wl,,'
9666	lt_prog_compiler_pic='-PIC'
9667	lt_prog_compiler_static='-Bstatic'
9668	;;
9669      tcc*)
9670	# Fabrice Bellard et al's Tiny C Compiler
9671	lt_prog_compiler_wl='-Wl,'
9672	lt_prog_compiler_pic='-fPIC'
9673	lt_prog_compiler_static='-static'
9674	;;
9675      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9676        # Portland Group compilers (*not* the Pentium gcc compiler,
9677	# which looks to be a dead project)
9678	lt_prog_compiler_wl='-Wl,'
9679	lt_prog_compiler_pic='-fpic'
9680	lt_prog_compiler_static='-Bstatic'
9681        ;;
9682      ccc*)
9683        lt_prog_compiler_wl='-Wl,'
9684        # All Alpha code is PIC.
9685        lt_prog_compiler_static='-non_shared'
9686        ;;
9687      xl* | bgxl* | bgf* | mpixl*)
9688	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9689	lt_prog_compiler_wl='-Wl,'
9690	lt_prog_compiler_pic='-qpic'
9691	lt_prog_compiler_static='-qstaticlink'
9692	;;
9693      *)
9694	case `$CC -V 2>&1 | sed 5q` in
9695	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9696	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9697	  lt_prog_compiler_pic='-KPIC'
9698	  lt_prog_compiler_static='-Bstatic'
9699	  lt_prog_compiler_wl=''
9700	  ;;
9701	*Sun\ F* | *Sun*Fortran*)
9702	  lt_prog_compiler_pic='-KPIC'
9703	  lt_prog_compiler_static='-Bstatic'
9704	  lt_prog_compiler_wl='-Qoption ld '
9705	  ;;
9706	*Sun\ C*)
9707	  # Sun C 5.9
9708	  lt_prog_compiler_pic='-KPIC'
9709	  lt_prog_compiler_static='-Bstatic'
9710	  lt_prog_compiler_wl='-Wl,'
9711	  ;;
9712        *Intel*\ [CF]*Compiler*)
9713	  lt_prog_compiler_wl='-Wl,'
9714	  lt_prog_compiler_pic='-fPIC'
9715	  lt_prog_compiler_static='-static'
9716	  ;;
9717	*Portland\ Group*)
9718	  lt_prog_compiler_wl='-Wl,'
9719	  lt_prog_compiler_pic='-fpic'
9720	  lt_prog_compiler_static='-Bstatic'
9721	  ;;
9722	esac
9723	;;
9724      esac
9725      ;;
9726
9727    newsos6)
9728      lt_prog_compiler_pic='-KPIC'
9729      lt_prog_compiler_static='-Bstatic'
9730      ;;
9731
9732    *nto* | *qnx*)
9733      # QNX uses GNU C++, but need to define -shared option too, otherwise
9734      # it will coredump.
9735      lt_prog_compiler_pic='-fPIC -shared'
9736      ;;
9737
9738    osf3* | osf4* | osf5*)
9739      lt_prog_compiler_wl='-Wl,'
9740      # All OSF/1 code is PIC.
9741      lt_prog_compiler_static='-non_shared'
9742      ;;
9743
9744    rdos*)
9745      lt_prog_compiler_static='-non_shared'
9746      ;;
9747
9748    solaris*)
9749      lt_prog_compiler_pic='-KPIC'
9750      lt_prog_compiler_static='-Bstatic'
9751      case $cc_basename in
9752      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9753	lt_prog_compiler_wl='-Qoption ld ';;
9754      *)
9755	lt_prog_compiler_wl='-Wl,';;
9756      esac
9757      ;;
9758
9759    sunos4*)
9760      lt_prog_compiler_wl='-Qoption ld '
9761      lt_prog_compiler_pic='-PIC'
9762      lt_prog_compiler_static='-Bstatic'
9763      ;;
9764
9765    sysv4 | sysv4.2uw2* | sysv4.3*)
9766      lt_prog_compiler_wl='-Wl,'
9767      lt_prog_compiler_pic='-KPIC'
9768      lt_prog_compiler_static='-Bstatic'
9769      ;;
9770
9771    sysv4*MP*)
9772      if test -d /usr/nec; then
9773	lt_prog_compiler_pic='-Kconform_pic'
9774	lt_prog_compiler_static='-Bstatic'
9775      fi
9776      ;;
9777
9778    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9779      lt_prog_compiler_wl='-Wl,'
9780      lt_prog_compiler_pic='-KPIC'
9781      lt_prog_compiler_static='-Bstatic'
9782      ;;
9783
9784    unicos*)
9785      lt_prog_compiler_wl='-Wl,'
9786      lt_prog_compiler_can_build_shared=no
9787      ;;
9788
9789    uts4*)
9790      lt_prog_compiler_pic='-pic'
9791      lt_prog_compiler_static='-Bstatic'
9792      ;;
9793
9794    *)
9795      lt_prog_compiler_can_build_shared=no
9796      ;;
9797    esac
9798  fi
9799
9800case $host_os in
9801  # For platforms that do not support PIC, -DPIC is meaningless:
9802  *djgpp*)
9803    lt_prog_compiler_pic=
9804    ;;
9805  *)
9806    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9807    ;;
9808esac
9809
9810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9811$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9812if ${lt_cv_prog_compiler_pic+:} false; then :
9813  $as_echo_n "(cached) " >&6
9814else
9815  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9816fi
9817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9818$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9819lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9820
9821#
9822# Check to make sure the PIC flag actually works.
9823#
9824if test -n "$lt_prog_compiler_pic"; then
9825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9826$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9827if ${lt_cv_prog_compiler_pic_works+:} false; then :
9828  $as_echo_n "(cached) " >&6
9829else
9830  lt_cv_prog_compiler_pic_works=no
9831   ac_outfile=conftest.$ac_objext
9832   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9833   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9834   # Insert the option either (1) after the last *FLAGS variable, or
9835   # (2) before a word containing "conftest.", or (3) at the end.
9836   # Note that $ac_compile itself does not contain backslashes and begins
9837   # with a dollar sign (not a hyphen), so the echo should work correctly.
9838   # The option is referenced via a variable to avoid confusing sed.
9839   lt_compile=`echo "$ac_compile" | $SED \
9840   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9841   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9842   -e 's:$: $lt_compiler_flag:'`
9843   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9844   (eval "$lt_compile" 2>conftest.err)
9845   ac_status=$?
9846   cat conftest.err >&5
9847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848   if (exit $ac_status) && test -s "$ac_outfile"; then
9849     # The compiler can only warn and ignore the option if not recognized
9850     # So say no if there are warnings other than the usual output.
9851     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9852     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9853     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9854       lt_cv_prog_compiler_pic_works=yes
9855     fi
9856   fi
9857   $RM conftest*
9858
9859fi
9860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9861$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9862
9863if test yes = "$lt_cv_prog_compiler_pic_works"; then
9864    case $lt_prog_compiler_pic in
9865     "" | " "*) ;;
9866     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9867     esac
9868else
9869    lt_prog_compiler_pic=
9870     lt_prog_compiler_can_build_shared=no
9871fi
9872
9873fi
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885#
9886# Check to make sure the static flag actually works.
9887#
9888wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9890$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9891if ${lt_cv_prog_compiler_static_works+:} false; then :
9892  $as_echo_n "(cached) " >&6
9893else
9894  lt_cv_prog_compiler_static_works=no
9895   save_LDFLAGS=$LDFLAGS
9896   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9897   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9898   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9899     # The linker can only warn and ignore the option if not recognized
9900     # So say no if there are warnings
9901     if test -s conftest.err; then
9902       # Append any errors to the config.log.
9903       cat conftest.err 1>&5
9904       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9905       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906       if diff conftest.exp conftest.er2 >/dev/null; then
9907         lt_cv_prog_compiler_static_works=yes
9908       fi
9909     else
9910       lt_cv_prog_compiler_static_works=yes
9911     fi
9912   fi
9913   $RM -r conftest*
9914   LDFLAGS=$save_LDFLAGS
9915
9916fi
9917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9918$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9919
9920if test yes = "$lt_cv_prog_compiler_static_works"; then
9921    :
9922else
9923    lt_prog_compiler_static=
9924fi
9925
9926
9927
9928
9929
9930
9931
9932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9933$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9934if ${lt_cv_prog_compiler_c_o+:} false; then :
9935  $as_echo_n "(cached) " >&6
9936else
9937  lt_cv_prog_compiler_c_o=no
9938   $RM -r conftest 2>/dev/null
9939   mkdir conftest
9940   cd conftest
9941   mkdir out
9942   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9943
9944   lt_compiler_flag="-o out/conftest2.$ac_objext"
9945   # Insert the option either (1) after the last *FLAGS variable, or
9946   # (2) before a word containing "conftest.", or (3) at the end.
9947   # Note that $ac_compile itself does not contain backslashes and begins
9948   # with a dollar sign (not a hyphen), so the echo should work correctly.
9949   lt_compile=`echo "$ac_compile" | $SED \
9950   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9951   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9952   -e 's:$: $lt_compiler_flag:'`
9953   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9954   (eval "$lt_compile" 2>out/conftest.err)
9955   ac_status=$?
9956   cat out/conftest.err >&5
9957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9958   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9959   then
9960     # The compiler can only warn and ignore the option if not recognized
9961     # So say no if there are warnings
9962     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9963     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9964     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9965       lt_cv_prog_compiler_c_o=yes
9966     fi
9967   fi
9968   chmod u+w . 2>&5
9969   $RM conftest*
9970   # SGI C++ compiler will create directory out/ii_files/ for
9971   # template instantiation
9972   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9973   $RM out/* && rmdir out
9974   cd ..
9975   $RM -r conftest
9976   $RM conftest*
9977
9978fi
9979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9980$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9981
9982
9983
9984
9985
9986
9987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9988$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9989if ${lt_cv_prog_compiler_c_o+:} false; then :
9990  $as_echo_n "(cached) " >&6
9991else
9992  lt_cv_prog_compiler_c_o=no
9993   $RM -r conftest 2>/dev/null
9994   mkdir conftest
9995   cd conftest
9996   mkdir out
9997   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9998
9999   lt_compiler_flag="-o out/conftest2.$ac_objext"
10000   # Insert the option either (1) after the last *FLAGS variable, or
10001   # (2) before a word containing "conftest.", or (3) at the end.
10002   # Note that $ac_compile itself does not contain backslashes and begins
10003   # with a dollar sign (not a hyphen), so the echo should work correctly.
10004   lt_compile=`echo "$ac_compile" | $SED \
10005   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10006   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10007   -e 's:$: $lt_compiler_flag:'`
10008   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10009   (eval "$lt_compile" 2>out/conftest.err)
10010   ac_status=$?
10011   cat out/conftest.err >&5
10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10014   then
10015     # The compiler can only warn and ignore the option if not recognized
10016     # So say no if there are warnings
10017     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10018     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10019     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10020       lt_cv_prog_compiler_c_o=yes
10021     fi
10022   fi
10023   chmod u+w . 2>&5
10024   $RM conftest*
10025   # SGI C++ compiler will create directory out/ii_files/ for
10026   # template instantiation
10027   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10028   $RM out/* && rmdir out
10029   cd ..
10030   $RM -r conftest
10031   $RM conftest*
10032
10033fi
10034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10035$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10036
10037
10038
10039
10040hard_links=nottested
10041if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10042  # do not overwrite the value of need_locks provided by the user
10043  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10044$as_echo_n "checking if we can lock with hard links... " >&6; }
10045  hard_links=yes
10046  $RM conftest*
10047  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10048  touch conftest.a
10049  ln conftest.a conftest.b 2>&5 || hard_links=no
10050  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10052$as_echo "$hard_links" >&6; }
10053  if test no = "$hard_links"; then
10054    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10055$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10056    need_locks=warn
10057  fi
10058else
10059  need_locks=no
10060fi
10061
10062
10063
10064
10065
10066
10067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10068$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10069
10070  runpath_var=
10071  allow_undefined_flag=
10072  always_export_symbols=no
10073  archive_cmds=
10074  archive_expsym_cmds=
10075  compiler_needs_object=no
10076  enable_shared_with_static_runtimes=no
10077  export_dynamic_flag_spec=
10078  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10079  hardcode_automatic=no
10080  hardcode_direct=no
10081  hardcode_direct_absolute=no
10082  hardcode_libdir_flag_spec=
10083  hardcode_libdir_separator=
10084  hardcode_minus_L=no
10085  hardcode_shlibpath_var=unsupported
10086  inherit_rpath=no
10087  link_all_deplibs=unknown
10088  module_cmds=
10089  module_expsym_cmds=
10090  old_archive_from_new_cmds=
10091  old_archive_from_expsyms_cmds=
10092  thread_safe_flag_spec=
10093  whole_archive_flag_spec=
10094  # include_expsyms should be a list of space-separated symbols to be *always*
10095  # included in the symbol list
10096  include_expsyms=
10097  # exclude_expsyms can be an extended regexp of symbols to exclude
10098  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10099  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10100  # as well as any symbol that contains 'd'.
10101  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10102  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10103  # platforms (ab)use it in PIC code, but their linkers get confused if
10104  # the symbol is explicitly referenced.  Since portable code cannot
10105  # rely on this symbol name, it's probably fine to never include it in
10106  # preloaded symbol tables.
10107  # Exclude shared library initialization/finalization symbols.
10108  extract_expsyms_cmds=
10109
10110  case $host_os in
10111  cygwin* | mingw* | pw32* | cegcc*)
10112    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10113    # When not using gcc, we currently assume that we are using
10114    # Microsoft Visual C++.
10115    if test yes != "$GCC"; then
10116      with_gnu_ld=no
10117    fi
10118    ;;
10119  interix*)
10120    # we just hope/assume this is gcc and not c89 (= MSVC++)
10121    with_gnu_ld=yes
10122    ;;
10123  openbsd* | bitrig*)
10124    with_gnu_ld=no
10125    ;;
10126  linux* | k*bsd*-gnu | gnu*)
10127    link_all_deplibs=no
10128    ;;
10129  esac
10130
10131  ld_shlibs=yes
10132
10133  # On some targets, GNU ld is compatible enough with the native linker
10134  # that we're better off using the native interface for both.
10135  lt_use_gnu_ld_interface=no
10136  if test yes = "$with_gnu_ld"; then
10137    case $host_os in
10138      aix*)
10139	# The AIX port of GNU ld has always aspired to compatibility
10140	# with the native linker.  However, as the warning in the GNU ld
10141	# block says, versions before 2.19.5* couldn't really create working
10142	# shared libraries, regardless of the interface used.
10143	case `$LD -v 2>&1` in
10144	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10145	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10146	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10147	  *)
10148	    lt_use_gnu_ld_interface=yes
10149	    ;;
10150	esac
10151	;;
10152      *)
10153	lt_use_gnu_ld_interface=yes
10154	;;
10155    esac
10156  fi
10157
10158  if test yes = "$lt_use_gnu_ld_interface"; then
10159    # If archive_cmds runs LD, not CC, wlarc should be empty
10160    wlarc='$wl'
10161
10162    # Set some defaults for GNU ld with shared library support. These
10163    # are reset later if shared libraries are not supported. Putting them
10164    # here allows them to be overridden if necessary.
10165    runpath_var=LD_RUN_PATH
10166    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10167    export_dynamic_flag_spec='$wl--export-dynamic'
10168    # ancient GNU ld didn't support --whole-archive et. al.
10169    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10170      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10171    else
10172      whole_archive_flag_spec=
10173    fi
10174    supports_anon_versioning=no
10175    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10176      *GNU\ gold*) supports_anon_versioning=yes ;;
10177      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10178      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10179      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10180      *\ 2.11.*) ;; # other 2.11 versions
10181      *) supports_anon_versioning=yes ;;
10182    esac
10183
10184    # See if GNU ld supports shared libraries.
10185    case $host_os in
10186    aix[3-9]*)
10187      # On AIX/PPC, the GNU linker is very broken
10188      if test ia64 != "$host_cpu"; then
10189	ld_shlibs=no
10190	cat <<_LT_EOF 1>&2
10191
10192*** Warning: the GNU linker, at least up to release 2.19, is reported
10193*** to be unable to reliably create shared libraries on AIX.
10194*** Therefore, libtool is disabling shared libraries support.  If you
10195*** really care for shared libraries, you may want to install binutils
10196*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10197*** You will then need to restart the configuration process.
10198
10199_LT_EOF
10200      fi
10201      ;;
10202
10203    amigaos*)
10204      case $host_cpu in
10205      powerpc)
10206            # see comment about AmigaOS4 .so support
10207            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10208            archive_expsym_cmds=''
10209        ;;
10210      m68k)
10211            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)'
10212            hardcode_libdir_flag_spec='-L$libdir'
10213            hardcode_minus_L=yes
10214        ;;
10215      esac
10216      ;;
10217
10218    beos*)
10219      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10220	allow_undefined_flag=unsupported
10221	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10222	# support --undefined.  This deserves some investigation.  FIXME
10223	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10224      else
10225	ld_shlibs=no
10226      fi
10227      ;;
10228
10229    cygwin* | mingw* | pw32* | cegcc*)
10230      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10231      # as there is no search path for DLLs.
10232      hardcode_libdir_flag_spec='-L$libdir'
10233      export_dynamic_flag_spec='$wl--export-all-symbols'
10234      allow_undefined_flag=unsupported
10235      always_export_symbols=no
10236      enable_shared_with_static_runtimes=yes
10237      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'
10238      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10239
10240      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10241        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10242	# If the export-symbols file already is a .def file, use it as
10243	# is; otherwise, prepend EXPORTS...
10244	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10245          cp $export_symbols $output_objdir/$soname.def;
10246        else
10247          echo EXPORTS > $output_objdir/$soname.def;
10248          cat $export_symbols >> $output_objdir/$soname.def;
10249        fi~
10250        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10251      else
10252	ld_shlibs=no
10253      fi
10254      ;;
10255
10256    haiku*)
10257      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10258      link_all_deplibs=yes
10259      ;;
10260
10261    os2*)
10262      hardcode_libdir_flag_spec='-L$libdir'
10263      hardcode_minus_L=yes
10264      allow_undefined_flag=unsupported
10265      shrext_cmds=.dll
10266      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10267	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10268	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10269	$ECHO EXPORTS >> $output_objdir/$libname.def~
10270	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10271	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10272	emximp -o $lib $output_objdir/$libname.def'
10273      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10274	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10275	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10276	$ECHO EXPORTS >> $output_objdir/$libname.def~
10277	prefix_cmds="$SED"~
10278	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10279	  prefix_cmds="$prefix_cmds -e 1d";
10280	fi~
10281	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10282	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10283	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10284	emximp -o $lib $output_objdir/$libname.def'
10285      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10286      enable_shared_with_static_runtimes=yes
10287      ;;
10288
10289    interix[3-9]*)
10290      hardcode_direct=no
10291      hardcode_shlibpath_var=no
10292      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10293      export_dynamic_flag_spec='$wl-E'
10294      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10295      # Instead, shared libraries are loaded at an image base (0x10000000 by
10296      # default) and relocated if they conflict, which is a slow very memory
10297      # consuming and fragmenting process.  To avoid this, we pick a random,
10298      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10299      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10300      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10301      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'
10302      ;;
10303
10304    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10305      tmp_diet=no
10306      if test linux-dietlibc = "$host_os"; then
10307	case $cc_basename in
10308	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10309	esac
10310      fi
10311      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10312	 && test no = "$tmp_diet"
10313      then
10314	tmp_addflag=' $pic_flag'
10315	tmp_sharedflag='-shared'
10316	case $cc_basename,$host_cpu in
10317        pgcc*)				# Portland Group C compiler
10318	  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'
10319	  tmp_addflag=' $pic_flag'
10320	  ;;
10321	pgf77* | pgf90* | pgf95* | pgfortran*)
10322					# Portland Group f77 and f90 compilers
10323	  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'
10324	  tmp_addflag=' $pic_flag -Mnomain' ;;
10325	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10326	  tmp_addflag=' -i_dynamic' ;;
10327	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10328	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10329	ifc* | ifort*)			# Intel Fortran compiler
10330	  tmp_addflag=' -nofor_main' ;;
10331	lf95*)				# Lahey Fortran 8.1
10332	  whole_archive_flag_spec=
10333	  tmp_sharedflag='--shared' ;;
10334        nagfor*)                        # NAGFOR 5.3
10335          tmp_sharedflag='-Wl,-shared' ;;
10336	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10337	  tmp_sharedflag='-qmkshrobj'
10338	  tmp_addflag= ;;
10339	nvcc*)	# Cuda Compiler Driver 2.2
10340	  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'
10341	  compiler_needs_object=yes
10342	  ;;
10343	esac
10344	case `$CC -V 2>&1 | sed 5q` in
10345	*Sun\ C*)			# Sun C 5.9
10346	  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'
10347	  compiler_needs_object=yes
10348	  tmp_sharedflag='-G' ;;
10349	*Sun\ F*)			# Sun Fortran 8.3
10350	  tmp_sharedflag='-G' ;;
10351	esac
10352	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10353
10354        if test yes = "$supports_anon_versioning"; then
10355          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10356            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10357            echo "local: *; };" >> $output_objdir/$libname.ver~
10358            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10359        fi
10360
10361	case $cc_basename in
10362	tcc*)
10363	  export_dynamic_flag_spec='-rdynamic'
10364	  ;;
10365	xlf* | bgf* | bgxlf* | mpixlf*)
10366	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10367	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10368	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10369	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10370	  if test yes = "$supports_anon_versioning"; then
10371	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10372              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10373              echo "local: *; };" >> $output_objdir/$libname.ver~
10374              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10375	  fi
10376	  ;;
10377	esac
10378      else
10379        ld_shlibs=no
10380      fi
10381      ;;
10382
10383    netbsd* | netbsdelf*-gnu)
10384      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10385	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10386	wlarc=
10387      else
10388	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10389	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10390      fi
10391      ;;
10392
10393    solaris*)
10394      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10395	ld_shlibs=no
10396	cat <<_LT_EOF 1>&2
10397
10398*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10399*** create shared libraries on Solaris systems.  Therefore, libtool
10400*** is disabling shared libraries support.  We urge you to upgrade GNU
10401*** binutils to release 2.9.1 or newer.  Another option is to modify
10402*** your PATH or compiler configuration so that the native linker is
10403*** used, and then restart.
10404
10405_LT_EOF
10406      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10407	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10408	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10409      else
10410	ld_shlibs=no
10411      fi
10412      ;;
10413
10414    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10415      case `$LD -v 2>&1` in
10416        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10417	ld_shlibs=no
10418	cat <<_LT_EOF 1>&2
10419
10420*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10421*** reliably create shared libraries on SCO systems.  Therefore, libtool
10422*** is disabling shared libraries support.  We urge you to upgrade GNU
10423*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10424*** your PATH or compiler configuration so that the native linker is
10425*** used, and then restart.
10426
10427_LT_EOF
10428	;;
10429	*)
10430	  # For security reasons, it is highly recommended that you always
10431	  # use absolute paths for naming shared libraries, and exclude the
10432	  # DT_RUNPATH tag from executables and libraries.  But doing so
10433	  # requires that you compile everything twice, which is a pain.
10434	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10435	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10436	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10437	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10438	  else
10439	    ld_shlibs=no
10440	  fi
10441	;;
10442      esac
10443      ;;
10444
10445    sunos4*)
10446      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10447      wlarc=
10448      hardcode_direct=yes
10449      hardcode_shlibpath_var=no
10450      ;;
10451
10452    *)
10453      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10454	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10455	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10456      else
10457	ld_shlibs=no
10458      fi
10459      ;;
10460    esac
10461
10462    if test no = "$ld_shlibs"; then
10463      runpath_var=
10464      hardcode_libdir_flag_spec=
10465      export_dynamic_flag_spec=
10466      whole_archive_flag_spec=
10467    fi
10468  else
10469    # PORTME fill in a description of your system's linker (not GNU ld)
10470    case $host_os in
10471    aix3*)
10472      allow_undefined_flag=unsupported
10473      always_export_symbols=yes
10474      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'
10475      # Note: this linker hardcodes the directories in LIBPATH if there
10476      # are no directories specified by -L.
10477      hardcode_minus_L=yes
10478      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10479	# Neither direct hardcoding nor static linking is supported with a
10480	# broken collect2.
10481	hardcode_direct=unsupported
10482      fi
10483      ;;
10484
10485    aix[4-9]*)
10486      if test ia64 = "$host_cpu"; then
10487	# On IA64, the linker does run time linking by default, so we don't
10488	# have to do anything special.
10489	aix_use_runtimelinking=no
10490	exp_sym_flag='-Bexport'
10491	no_entry_flag=
10492      else
10493	# If we're using GNU nm, then we don't want the "-C" option.
10494	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10495	# Without the "-l" option, or with the "-B" option, AIX nm treats
10496	# weak defined symbols like other global defined symbols, whereas
10497	# GNU nm marks them as "W".
10498	# While the 'weak' keyword is ignored in the Export File, we need
10499	# it in the Import File for the 'aix-soname' feature, so we have
10500	# to replace the "-B" option with "-P" for AIX nm.
10501	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10502	  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'
10503	else
10504	  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'
10505	fi
10506	aix_use_runtimelinking=no
10507
10508	# Test if we are trying to use run time linking or normal
10509	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10510	# have runtime linking enabled, and use it for executables.
10511	# For shared libraries, we enable/disable runtime linking
10512	# depending on the kind of the shared library created -
10513	# when "with_aix_soname,aix_use_runtimelinking" is:
10514	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10515	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10516	#            lib.a           static archive
10517	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10518	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10519	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10520	#            lib.a(lib.so.V) shared, rtl:no
10521	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10522	#            lib.a           static archive
10523	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10524	  for ld_flag in $LDFLAGS; do
10525	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10526	    aix_use_runtimelinking=yes
10527	    break
10528	  fi
10529	  done
10530	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10531	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10532	    # so we don't have lib.a shared libs to link our executables.
10533	    # We have to force runtime linking in this case.
10534	    aix_use_runtimelinking=yes
10535	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10536	  fi
10537	  ;;
10538	esac
10539
10540	exp_sym_flag='-bexport'
10541	no_entry_flag='-bnoentry'
10542      fi
10543
10544      # When large executables or shared objects are built, AIX ld can
10545      # have problems creating the table of contents.  If linking a library
10546      # or program results in "error TOC overflow" add -mminimal-toc to
10547      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10548      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10549
10550      archive_cmds=''
10551      hardcode_direct=yes
10552      hardcode_direct_absolute=yes
10553      hardcode_libdir_separator=':'
10554      link_all_deplibs=yes
10555      file_list_spec='$wl-f,'
10556      case $with_aix_soname,$aix_use_runtimelinking in
10557      aix,*) ;; # traditional, no import file
10558      svr4,* | *,yes) # use import file
10559	# The Import File defines what to hardcode.
10560	hardcode_direct=no
10561	hardcode_direct_absolute=no
10562	;;
10563      esac
10564
10565      if test yes = "$GCC"; then
10566	case $host_os in aix4.[012]|aix4.[012].*)
10567	# We only want to do this on AIX 4.2 and lower, the check
10568	# below for broken collect2 doesn't work under 4.3+
10569	  collect2name=`$CC -print-prog-name=collect2`
10570	  if test -f "$collect2name" &&
10571	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10572	  then
10573	  # We have reworked collect2
10574	  :
10575	  else
10576	  # We have old collect2
10577	  hardcode_direct=unsupported
10578	  # It fails to find uninstalled libraries when the uninstalled
10579	  # path is not listed in the libpath.  Setting hardcode_minus_L
10580	  # to unsupported forces relinking
10581	  hardcode_minus_L=yes
10582	  hardcode_libdir_flag_spec='-L$libdir'
10583	  hardcode_libdir_separator=
10584	  fi
10585	  ;;
10586	esac
10587	shared_flag='-shared'
10588	if test yes = "$aix_use_runtimelinking"; then
10589	  shared_flag="$shared_flag "'$wl-G'
10590	fi
10591	# Need to ensure runtime linking is disabled for the traditional
10592	# shared library, or the linker may eventually find shared libraries
10593	# /with/ Import File - we do not want to mix them.
10594	shared_flag_aix='-shared'
10595	shared_flag_svr4='-shared $wl-G'
10596      else
10597	# not using gcc
10598	if test ia64 = "$host_cpu"; then
10599	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10600	# chokes on -Wl,-G. The following line is correct:
10601	  shared_flag='-G'
10602	else
10603	  if test yes = "$aix_use_runtimelinking"; then
10604	    shared_flag='$wl-G'
10605	  else
10606	    shared_flag='$wl-bM:SRE'
10607	  fi
10608	  shared_flag_aix='$wl-bM:SRE'
10609	  shared_flag_svr4='$wl-G'
10610	fi
10611      fi
10612
10613      export_dynamic_flag_spec='$wl-bexpall'
10614      # It seems that -bexpall does not export symbols beginning with
10615      # underscore (_), so it is better to generate a list of symbols to export.
10616      always_export_symbols=yes
10617      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10618	# Warning - without using the other runtime loading flags (-brtl),
10619	# -berok will link without error, but may produce a broken library.
10620	allow_undefined_flag='-berok'
10621        # Determine the default libpath from the value encoded in an
10622        # empty executable.
10623        if test set = "${lt_cv_aix_libpath+set}"; then
10624  aix_libpath=$lt_cv_aix_libpath
10625else
10626  if ${lt_cv_aix_libpath_+:} false; then :
10627  $as_echo_n "(cached) " >&6
10628else
10629  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630/* end confdefs.h.  */
10631
10632int
10633main ()
10634{
10635
10636  ;
10637  return 0;
10638}
10639_ACEOF
10640if ac_fn_c_try_link "$LINENO"; then :
10641
10642  lt_aix_libpath_sed='
10643      /Import File Strings/,/^$/ {
10644	  /^0/ {
10645	      s/^0  *\([^ ]*\) *$/\1/
10646	      p
10647	  }
10648      }'
10649  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10650  # Check for a 64-bit object if we didn't find anything.
10651  if test -z "$lt_cv_aix_libpath_"; then
10652    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10653  fi
10654fi
10655rm -f core conftest.err conftest.$ac_objext \
10656    conftest$ac_exeext conftest.$ac_ext
10657  if test -z "$lt_cv_aix_libpath_"; then
10658    lt_cv_aix_libpath_=/usr/lib:/lib
10659  fi
10660
10661fi
10662
10663  aix_libpath=$lt_cv_aix_libpath_
10664fi
10665
10666        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10667        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
10668      else
10669	if test ia64 = "$host_cpu"; then
10670	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10671	  allow_undefined_flag="-z nodefs"
10672	  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"
10673	else
10674	 # Determine the default libpath from the value encoded in an
10675	 # empty executable.
10676	 if test set = "${lt_cv_aix_libpath+set}"; then
10677  aix_libpath=$lt_cv_aix_libpath
10678else
10679  if ${lt_cv_aix_libpath_+:} false; then :
10680  $as_echo_n "(cached) " >&6
10681else
10682  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683/* end confdefs.h.  */
10684
10685int
10686main ()
10687{
10688
10689  ;
10690  return 0;
10691}
10692_ACEOF
10693if ac_fn_c_try_link "$LINENO"; then :
10694
10695  lt_aix_libpath_sed='
10696      /Import File Strings/,/^$/ {
10697	  /^0/ {
10698	      s/^0  *\([^ ]*\) *$/\1/
10699	      p
10700	  }
10701      }'
10702  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10703  # Check for a 64-bit object if we didn't find anything.
10704  if test -z "$lt_cv_aix_libpath_"; then
10705    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10706  fi
10707fi
10708rm -f core conftest.err conftest.$ac_objext \
10709    conftest$ac_exeext conftest.$ac_ext
10710  if test -z "$lt_cv_aix_libpath_"; then
10711    lt_cv_aix_libpath_=/usr/lib:/lib
10712  fi
10713
10714fi
10715
10716  aix_libpath=$lt_cv_aix_libpath_
10717fi
10718
10719	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10720	  # Warning - without using the other run time loading flags,
10721	  # -berok will link without error, but may produce a broken library.
10722	  no_undefined_flag=' $wl-bernotok'
10723	  allow_undefined_flag=' $wl-berok'
10724	  if test yes = "$with_gnu_ld"; then
10725	    # We only use this code for GNU lds that support --whole-archive.
10726	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10727	  else
10728	    # Exported symbols can be pulled into shared objects from archives
10729	    whole_archive_flag_spec='$convenience'
10730	  fi
10731	  archive_cmds_need_lc=yes
10732	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10733	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10734	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10735	  if test svr4 != "$with_aix_soname"; then
10736	    # This is similar to how AIX traditionally builds its shared libraries.
10737	    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'
10738	  fi
10739	  if test aix != "$with_aix_soname"; then
10740	    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'
10741	  else
10742	    # used by -dlpreopen to get the symbols
10743	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10744	  fi
10745	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10746	fi
10747      fi
10748      ;;
10749
10750    amigaos*)
10751      case $host_cpu in
10752      powerpc)
10753            # see comment about AmigaOS4 .so support
10754            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10755            archive_expsym_cmds=''
10756        ;;
10757      m68k)
10758            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)'
10759            hardcode_libdir_flag_spec='-L$libdir'
10760            hardcode_minus_L=yes
10761        ;;
10762      esac
10763      ;;
10764
10765    bsdi[45]*)
10766      export_dynamic_flag_spec=-rdynamic
10767      ;;
10768
10769    cygwin* | mingw* | pw32* | cegcc*)
10770      # When not using gcc, we currently assume that we are using
10771      # Microsoft Visual C++.
10772      # hardcode_libdir_flag_spec is actually meaningless, as there is
10773      # no search path for DLLs.
10774      case $cc_basename in
10775      cl*)
10776	# Native MSVC
10777	hardcode_libdir_flag_spec=' '
10778	allow_undefined_flag=unsupported
10779	always_export_symbols=yes
10780	file_list_spec='@'
10781	# Tell ltmain to make .lib files, not .a files.
10782	libext=lib
10783	# Tell ltmain to make .dll files, not .so files.
10784	shrext_cmds=.dll
10785	# FIXME: Setting linknames here is a bad hack.
10786	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10787	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10788            cp "$export_symbols" "$output_objdir/$soname.def";
10789            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10790          else
10791            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10792          fi~
10793          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10794          linknames='
10795	# The linker will not automatically build a static lib if we build a DLL.
10796	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10797	enable_shared_with_static_runtimes=yes
10798	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10799	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10800	# Don't use ranlib
10801	old_postinstall_cmds='chmod 644 $oldlib'
10802	postlink_cmds='lt_outputfile="@OUTPUT@"~
10803          lt_tool_outputfile="@TOOL_OUTPUT@"~
10804          case $lt_outputfile in
10805            *.exe|*.EXE) ;;
10806            *)
10807              lt_outputfile=$lt_outputfile.exe
10808              lt_tool_outputfile=$lt_tool_outputfile.exe
10809              ;;
10810          esac~
10811          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10812            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10813            $RM "$lt_outputfile.manifest";
10814          fi'
10815	;;
10816      *)
10817	# Assume MSVC wrapper
10818	hardcode_libdir_flag_spec=' '
10819	allow_undefined_flag=unsupported
10820	# Tell ltmain to make .lib files, not .a files.
10821	libext=lib
10822	# Tell ltmain to make .dll files, not .so files.
10823	shrext_cmds=.dll
10824	# FIXME: Setting linknames here is a bad hack.
10825	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10826	# The linker will automatically build a .lib file if we build a DLL.
10827	old_archive_from_new_cmds='true'
10828	# FIXME: Should let the user specify the lib program.
10829	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10830	enable_shared_with_static_runtimes=yes
10831	;;
10832      esac
10833      ;;
10834
10835    darwin* | rhapsody*)
10836
10837
10838  archive_cmds_need_lc=no
10839  hardcode_direct=no
10840  hardcode_automatic=yes
10841  hardcode_shlibpath_var=unsupported
10842  if test yes = "$lt_cv_ld_force_load"; then
10843    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\"`'
10844
10845  else
10846    whole_archive_flag_spec=''
10847  fi
10848  link_all_deplibs=yes
10849  allow_undefined_flag=$_lt_dar_allow_undefined
10850  case $cc_basename in
10851     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10852     *) _lt_dar_can_shared=$GCC ;;
10853  esac
10854  if test yes = "$_lt_dar_can_shared"; then
10855    output_verbose_link_cmd=func_echo_all
10856    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10857    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10858    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"
10859    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"
10860
10861  else
10862  ld_shlibs=no
10863  fi
10864
10865      ;;
10866
10867    dgux*)
10868      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10869      hardcode_libdir_flag_spec='-L$libdir'
10870      hardcode_shlibpath_var=no
10871      ;;
10872
10873    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10874    # support.  Future versions do this automatically, but an explicit c++rt0.o
10875    # does not break anything, and helps significantly (at the cost of a little
10876    # extra space).
10877    freebsd2.2*)
10878      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10879      hardcode_libdir_flag_spec='-R$libdir'
10880      hardcode_direct=yes
10881      hardcode_shlibpath_var=no
10882      ;;
10883
10884    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10885    freebsd2.*)
10886      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10887      hardcode_direct=yes
10888      hardcode_minus_L=yes
10889      hardcode_shlibpath_var=no
10890      ;;
10891
10892    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10893    freebsd* | dragonfly*)
10894      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10895      hardcode_libdir_flag_spec='-R$libdir'
10896      hardcode_direct=yes
10897      hardcode_shlibpath_var=no
10898      ;;
10899
10900    hpux9*)
10901      if test yes = "$GCC"; then
10902	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'
10903      else
10904	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'
10905      fi
10906      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10907      hardcode_libdir_separator=:
10908      hardcode_direct=yes
10909
10910      # hardcode_minus_L: Not really in the search PATH,
10911      # but as the default location of the library.
10912      hardcode_minus_L=yes
10913      export_dynamic_flag_spec='$wl-E'
10914      ;;
10915
10916    hpux10*)
10917      if test yes,no = "$GCC,$with_gnu_ld"; then
10918	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10919      else
10920	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10921      fi
10922      if test no = "$with_gnu_ld"; then
10923	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10924	hardcode_libdir_separator=:
10925	hardcode_direct=yes
10926	hardcode_direct_absolute=yes
10927	export_dynamic_flag_spec='$wl-E'
10928	# hardcode_minus_L: Not really in the search PATH,
10929	# but as the default location of the library.
10930	hardcode_minus_L=yes
10931      fi
10932      ;;
10933
10934    hpux11*)
10935      if test yes,no = "$GCC,$with_gnu_ld"; then
10936	case $host_cpu in
10937	hppa*64*)
10938	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10939	  ;;
10940	ia64*)
10941	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10942	  ;;
10943	*)
10944	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10945	  ;;
10946	esac
10947      else
10948	case $host_cpu in
10949	hppa*64*)
10950	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10951	  ;;
10952	ia64*)
10953	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10954	  ;;
10955	*)
10956
10957	  # Older versions of the 11.00 compiler do not understand -b yet
10958	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10959	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10960$as_echo_n "checking if $CC understands -b... " >&6; }
10961if ${lt_cv_prog_compiler__b+:} false; then :
10962  $as_echo_n "(cached) " >&6
10963else
10964  lt_cv_prog_compiler__b=no
10965   save_LDFLAGS=$LDFLAGS
10966   LDFLAGS="$LDFLAGS -b"
10967   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10968   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10969     # The linker can only warn and ignore the option if not recognized
10970     # So say no if there are warnings
10971     if test -s conftest.err; then
10972       # Append any errors to the config.log.
10973       cat conftest.err 1>&5
10974       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10975       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10976       if diff conftest.exp conftest.er2 >/dev/null; then
10977         lt_cv_prog_compiler__b=yes
10978       fi
10979     else
10980       lt_cv_prog_compiler__b=yes
10981     fi
10982   fi
10983   $RM -r conftest*
10984   LDFLAGS=$save_LDFLAGS
10985
10986fi
10987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10988$as_echo "$lt_cv_prog_compiler__b" >&6; }
10989
10990if test yes = "$lt_cv_prog_compiler__b"; then
10991    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10992else
10993    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10994fi
10995
10996	  ;;
10997	esac
10998      fi
10999      if test no = "$with_gnu_ld"; then
11000	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11001	hardcode_libdir_separator=:
11002
11003	case $host_cpu in
11004	hppa*64*|ia64*)
11005	  hardcode_direct=no
11006	  hardcode_shlibpath_var=no
11007	  ;;
11008	*)
11009	  hardcode_direct=yes
11010	  hardcode_direct_absolute=yes
11011	  export_dynamic_flag_spec='$wl-E'
11012
11013	  # hardcode_minus_L: Not really in the search PATH,
11014	  # but as the default location of the library.
11015	  hardcode_minus_L=yes
11016	  ;;
11017	esac
11018      fi
11019      ;;
11020
11021    irix5* | irix6* | nonstopux*)
11022      if test yes = "$GCC"; then
11023	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'
11024	# Try to use the -exported_symbol ld option, if it does not
11025	# work, assume that -exports_file does not work either and
11026	# implicitly export all symbols.
11027	# This should be the same for all languages, so no per-tag cache variable.
11028	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11029$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11030if ${lt_cv_irix_exported_symbol+:} false; then :
11031  $as_echo_n "(cached) " >&6
11032else
11033  save_LDFLAGS=$LDFLAGS
11034	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11035	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036/* end confdefs.h.  */
11037int foo (void) { return 0; }
11038_ACEOF
11039if ac_fn_c_try_link "$LINENO"; then :
11040  lt_cv_irix_exported_symbol=yes
11041else
11042  lt_cv_irix_exported_symbol=no
11043fi
11044rm -f core conftest.err conftest.$ac_objext \
11045    conftest$ac_exeext conftest.$ac_ext
11046           LDFLAGS=$save_LDFLAGS
11047fi
11048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11049$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11050	if test yes = "$lt_cv_irix_exported_symbol"; then
11051          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'
11052	fi
11053	link_all_deplibs=no
11054      else
11055	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'
11056	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'
11057      fi
11058      archive_cmds_need_lc='no'
11059      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11060      hardcode_libdir_separator=:
11061      inherit_rpath=yes
11062      link_all_deplibs=yes
11063      ;;
11064
11065    linux*)
11066      case $cc_basename in
11067      tcc*)
11068	# Fabrice Bellard et al's Tiny C Compiler
11069	ld_shlibs=yes
11070	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11071	;;
11072      esac
11073      ;;
11074
11075    netbsd* | netbsdelf*-gnu)
11076      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11077	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11078      else
11079	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11080      fi
11081      hardcode_libdir_flag_spec='-R$libdir'
11082      hardcode_direct=yes
11083      hardcode_shlibpath_var=no
11084      ;;
11085
11086    newsos6)
11087      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11088      hardcode_direct=yes
11089      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11090      hardcode_libdir_separator=:
11091      hardcode_shlibpath_var=no
11092      ;;
11093
11094    *nto* | *qnx*)
11095      ;;
11096
11097    openbsd* | bitrig*)
11098      if test -f /usr/libexec/ld.so; then
11099	hardcode_direct=yes
11100	hardcode_shlibpath_var=no
11101	hardcode_direct_absolute=yes
11102	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11103	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11104	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11105	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11106	  export_dynamic_flag_spec='$wl-E'
11107	else
11108	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11109	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11110	fi
11111      else
11112	ld_shlibs=no
11113      fi
11114      ;;
11115
11116    os2*)
11117      hardcode_libdir_flag_spec='-L$libdir'
11118      hardcode_minus_L=yes
11119      allow_undefined_flag=unsupported
11120      shrext_cmds=.dll
11121      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11122	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11123	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11124	$ECHO EXPORTS >> $output_objdir/$libname.def~
11125	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11126	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11127	emximp -o $lib $output_objdir/$libname.def'
11128      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11129	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11130	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11131	$ECHO EXPORTS >> $output_objdir/$libname.def~
11132	prefix_cmds="$SED"~
11133	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11134	  prefix_cmds="$prefix_cmds -e 1d";
11135	fi~
11136	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11137	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11138	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11139	emximp -o $lib $output_objdir/$libname.def'
11140      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11141      enable_shared_with_static_runtimes=yes
11142      ;;
11143
11144    osf3*)
11145      if test yes = "$GCC"; then
11146	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11147	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'
11148      else
11149	allow_undefined_flag=' -expect_unresolved \*'
11150	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'
11151      fi
11152      archive_cmds_need_lc='no'
11153      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11154      hardcode_libdir_separator=:
11155      ;;
11156
11157    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11158      if test yes = "$GCC"; then
11159	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11160	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'
11161	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11162      else
11163	allow_undefined_flag=' -expect_unresolved \*'
11164	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'
11165	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~
11166          $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'
11167
11168	# Both c and cxx compiler support -rpath directly
11169	hardcode_libdir_flag_spec='-rpath $libdir'
11170      fi
11171      archive_cmds_need_lc='no'
11172      hardcode_libdir_separator=:
11173      ;;
11174
11175    solaris*)
11176      no_undefined_flag=' -z defs'
11177      if test yes = "$GCC"; then
11178	wlarc='$wl'
11179	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11180	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11181          $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'
11182      else
11183	case `$CC -V 2>&1` in
11184	*"Compilers 5.0"*)
11185	  wlarc=''
11186	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11187	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11188            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11189	  ;;
11190	*)
11191	  wlarc='$wl'
11192	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11193	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11194            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11195	  ;;
11196	esac
11197      fi
11198      hardcode_libdir_flag_spec='-R$libdir'
11199      hardcode_shlibpath_var=no
11200      case $host_os in
11201      solaris2.[0-5] | solaris2.[0-5].*) ;;
11202      *)
11203	# The compiler driver will combine and reorder linker options,
11204	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11205	# but is careful enough not to reorder.
11206	# Supported since Solaris 2.6 (maybe 2.5.1?)
11207	if test yes = "$GCC"; then
11208	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11209	else
11210	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11211	fi
11212	;;
11213      esac
11214      link_all_deplibs=yes
11215      ;;
11216
11217    sunos4*)
11218      if test sequent = "$host_vendor"; then
11219	# Use $CC to link under sequent, because it throws in some extra .o
11220	# files that make .init and .fini sections work.
11221	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11222      else
11223	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11224      fi
11225      hardcode_libdir_flag_spec='-L$libdir'
11226      hardcode_direct=yes
11227      hardcode_minus_L=yes
11228      hardcode_shlibpath_var=no
11229      ;;
11230
11231    sysv4)
11232      case $host_vendor in
11233	sni)
11234	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11235	  hardcode_direct=yes # is this really true???
11236	;;
11237	siemens)
11238	  ## LD is ld it makes a PLAMLIB
11239	  ## CC just makes a GrossModule.
11240	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11241	  reload_cmds='$CC -r -o $output$reload_objs'
11242	  hardcode_direct=no
11243        ;;
11244	motorola)
11245	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11247	;;
11248      esac
11249      runpath_var='LD_RUN_PATH'
11250      hardcode_shlibpath_var=no
11251      ;;
11252
11253    sysv4.3*)
11254      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11255      hardcode_shlibpath_var=no
11256      export_dynamic_flag_spec='-Bexport'
11257      ;;
11258
11259    sysv4*MP*)
11260      if test -d /usr/nec; then
11261	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262	hardcode_shlibpath_var=no
11263	runpath_var=LD_RUN_PATH
11264	hardcode_runpath_var=yes
11265	ld_shlibs=yes
11266      fi
11267      ;;
11268
11269    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11270      no_undefined_flag='$wl-z,text'
11271      archive_cmds_need_lc=no
11272      hardcode_shlibpath_var=no
11273      runpath_var='LD_RUN_PATH'
11274
11275      if test yes = "$GCC"; then
11276	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11277	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11278      else
11279	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11280	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11281      fi
11282      ;;
11283
11284    sysv5* | sco3.2v5* | sco5v6*)
11285      # Note: We CANNOT use -z defs as we might desire, because we do not
11286      # link with -lc, and that would cause any symbols used from libc to
11287      # always be unresolved, which means just about no library would
11288      # ever link correctly.  If we're not using GNU ld we use -z text
11289      # though, which does catch some bad symbols but isn't as heavy-handed
11290      # as -z defs.
11291      no_undefined_flag='$wl-z,text'
11292      allow_undefined_flag='$wl-z,nodefs'
11293      archive_cmds_need_lc=no
11294      hardcode_shlibpath_var=no
11295      hardcode_libdir_flag_spec='$wl-R,$libdir'
11296      hardcode_libdir_separator=':'
11297      link_all_deplibs=yes
11298      export_dynamic_flag_spec='$wl-Bexport'
11299      runpath_var='LD_RUN_PATH'
11300
11301      if test yes = "$GCC"; then
11302	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11304      else
11305	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307      fi
11308      ;;
11309
11310    uts4*)
11311      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11312      hardcode_libdir_flag_spec='-L$libdir'
11313      hardcode_shlibpath_var=no
11314      ;;
11315
11316    *)
11317      ld_shlibs=no
11318      ;;
11319    esac
11320
11321    if test sni = "$host_vendor"; then
11322      case $host in
11323      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11324	export_dynamic_flag_spec='$wl-Blargedynsym'
11325	;;
11326      esac
11327    fi
11328  fi
11329
11330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11331$as_echo "$ld_shlibs" >&6; }
11332test no = "$ld_shlibs" && can_build_shared=no
11333
11334with_gnu_ld=$with_gnu_ld
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350#
11351# Do we need to explicitly link libc?
11352#
11353case "x$archive_cmds_need_lc" in
11354x|xyes)
11355  # Assume -lc should be added
11356  archive_cmds_need_lc=yes
11357
11358  if test yes,yes = "$GCC,$enable_shared"; then
11359    case $archive_cmds in
11360    *'~'*)
11361      # FIXME: we may have to deal with multi-command sequences.
11362      ;;
11363    '$CC '*)
11364      # Test whether the compiler implicitly links with -lc since on some
11365      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11366      # to ld, don't add -lc before -lgcc.
11367      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11368$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11369if ${lt_cv_archive_cmds_need_lc+:} false; then :
11370  $as_echo_n "(cached) " >&6
11371else
11372  $RM conftest*
11373	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11374
11375	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11376  (eval $ac_compile) 2>&5
11377  ac_status=$?
11378  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379  test $ac_status = 0; } 2>conftest.err; then
11380	  soname=conftest
11381	  lib=conftest
11382	  libobjs=conftest.$ac_objext
11383	  deplibs=
11384	  wl=$lt_prog_compiler_wl
11385	  pic_flag=$lt_prog_compiler_pic
11386	  compiler_flags=-v
11387	  linker_flags=-v
11388	  verstring=
11389	  output_objdir=.
11390	  libname=conftest
11391	  lt_save_allow_undefined_flag=$allow_undefined_flag
11392	  allow_undefined_flag=
11393	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11394  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11395  ac_status=$?
11396  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11397  test $ac_status = 0; }
11398	  then
11399	    lt_cv_archive_cmds_need_lc=no
11400	  else
11401	    lt_cv_archive_cmds_need_lc=yes
11402	  fi
11403	  allow_undefined_flag=$lt_save_allow_undefined_flag
11404	else
11405	  cat conftest.err 1>&5
11406	fi
11407	$RM conftest*
11408
11409fi
11410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11411$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11412      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11413      ;;
11414    esac
11415  fi
11416  ;;
11417esac
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11571$as_echo_n "checking dynamic linker characteristics... " >&6; }
11572
11573if test yes = "$GCC"; then
11574  case $host_os in
11575    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11576    *) lt_awk_arg='/^libraries:/' ;;
11577  esac
11578  case $host_os in
11579    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11580    *) lt_sed_strip_eq='s|=/|/|g' ;;
11581  esac
11582  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11583  case $lt_search_path_spec in
11584  *\;*)
11585    # if the path contains ";" then we assume it to be the separator
11586    # otherwise default to the standard path separator (i.e. ":") - it is
11587    # assumed that no part of a normal pathname contains ";" but that should
11588    # okay in the real world where ";" in dirpaths is itself problematic.
11589    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11590    ;;
11591  *)
11592    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11593    ;;
11594  esac
11595  # Ok, now we have the path, separated by spaces, we can step through it
11596  # and add multilib dir if necessary...
11597  lt_tmp_lt_search_path_spec=
11598  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11599  # ...but if some path component already ends with the multilib dir we assume
11600  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11601  case "$lt_multi_os_dir; $lt_search_path_spec " in
11602  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11603    lt_multi_os_dir=
11604    ;;
11605  esac
11606  for lt_sys_path in $lt_search_path_spec; do
11607    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11608      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11609    elif test -n "$lt_multi_os_dir"; then
11610      test -d "$lt_sys_path" && \
11611	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11612    fi
11613  done
11614  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11615BEGIN {RS = " "; FS = "/|\n";} {
11616  lt_foo = "";
11617  lt_count = 0;
11618  for (lt_i = NF; lt_i > 0; lt_i--) {
11619    if ($lt_i != "" && $lt_i != ".") {
11620      if ($lt_i == "..") {
11621        lt_count++;
11622      } else {
11623        if (lt_count == 0) {
11624          lt_foo = "/" $lt_i lt_foo;
11625        } else {
11626          lt_count--;
11627        }
11628      }
11629    }
11630  }
11631  if (lt_foo != "") { lt_freq[lt_foo]++; }
11632  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11633}'`
11634  # AWK program above erroneously prepends '/' to C:/dos/paths
11635  # for these hosts.
11636  case $host_os in
11637    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11638      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11639  esac
11640  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11641else
11642  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11643fi
11644library_names_spec=
11645libname_spec='lib$name'
11646soname_spec=
11647shrext_cmds=.so
11648postinstall_cmds=
11649postuninstall_cmds=
11650finish_cmds=
11651finish_eval=
11652shlibpath_var=
11653shlibpath_overrides_runpath=unknown
11654version_type=none
11655dynamic_linker="$host_os ld.so"
11656sys_lib_dlsearch_path_spec="/lib /usr/lib"
11657need_lib_prefix=unknown
11658hardcode_into_libs=no
11659
11660# when you set need_version to no, make sure it does not cause -set_version
11661# flags to be left without arguments
11662need_version=unknown
11663
11664
11665
11666case $host_os in
11667aix3*)
11668  version_type=linux # correct to gnu/linux during the next big refactor
11669  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11670  shlibpath_var=LIBPATH
11671
11672  # AIX 3 has no versioning support, so we append a major version to the name.
11673  soname_spec='$libname$release$shared_ext$major'
11674  ;;
11675
11676aix[4-9]*)
11677  version_type=linux # correct to gnu/linux during the next big refactor
11678  need_lib_prefix=no
11679  need_version=no
11680  hardcode_into_libs=yes
11681  if test ia64 = "$host_cpu"; then
11682    # AIX 5 supports IA64
11683    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11684    shlibpath_var=LD_LIBRARY_PATH
11685  else
11686    # With GCC up to 2.95.x, collect2 would create an import file
11687    # for dependence libraries.  The import file would start with
11688    # the line '#! .'.  This would cause the generated library to
11689    # depend on '.', always an invalid library.  This was fixed in
11690    # development snapshots of GCC prior to 3.0.
11691    case $host_os in
11692      aix4 | aix4.[01] | aix4.[01].*)
11693      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11694	   echo ' yes '
11695	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11696	:
11697      else
11698	can_build_shared=no
11699      fi
11700      ;;
11701    esac
11702    # Using Import Files as archive members, it is possible to support
11703    # filename-based versioning of shared library archives on AIX. While
11704    # this would work for both with and without runtime linking, it will
11705    # prevent static linking of such archives. So we do filename-based
11706    # shared library versioning with .so extension only, which is used
11707    # when both runtime linking and shared linking is enabled.
11708    # Unfortunately, runtime linking may impact performance, so we do
11709    # not want this to be the default eventually. Also, we use the
11710    # versioned .so libs for executables only if there is the -brtl
11711    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11712    # To allow for filename-based versioning support, we need to create
11713    # libNAME.so.V as an archive file, containing:
11714    # *) an Import File, referring to the versioned filename of the
11715    #    archive as well as the shared archive member, telling the
11716    #    bitwidth (32 or 64) of that shared object, and providing the
11717    #    list of exported symbols of that shared object, eventually
11718    #    decorated with the 'weak' keyword
11719    # *) the shared object with the F_LOADONLY flag set, to really avoid
11720    #    it being seen by the linker.
11721    # At run time we better use the real file rather than another symlink,
11722    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11723
11724    case $with_aix_soname,$aix_use_runtimelinking in
11725    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11726    # soname into executable. Probably we can add versioning support to
11727    # collect2, so additional links can be useful in future.
11728    aix,yes) # traditional libtool
11729      dynamic_linker='AIX unversionable lib.so'
11730      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11731      # instead of lib<name>.a to let people know that these are not
11732      # typical AIX shared libraries.
11733      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11734      ;;
11735    aix,no) # traditional AIX only
11736      dynamic_linker='AIX lib.a(lib.so.V)'
11737      # We preserve .a as extension for shared libraries through AIX4.2
11738      # and later when we are not doing run time linking.
11739      library_names_spec='$libname$release.a $libname.a'
11740      soname_spec='$libname$release$shared_ext$major'
11741      ;;
11742    svr4,*) # full svr4 only
11743      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11744      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11745      # We do not specify a path in Import Files, so LIBPATH fires.
11746      shlibpath_overrides_runpath=yes
11747      ;;
11748    *,yes) # both, prefer svr4
11749      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11750      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11751      # unpreferred sharedlib libNAME.a needs extra handling
11752      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"'
11753      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"'
11754      # We do not specify a path in Import Files, so LIBPATH fires.
11755      shlibpath_overrides_runpath=yes
11756      ;;
11757    *,no) # both, prefer aix
11758      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11759      library_names_spec='$libname$release.a $libname.a'
11760      soname_spec='$libname$release$shared_ext$major'
11761      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11762      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)'
11763      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"'
11764      ;;
11765    esac
11766    shlibpath_var=LIBPATH
11767  fi
11768  ;;
11769
11770amigaos*)
11771  case $host_cpu in
11772  powerpc)
11773    # Since July 2007 AmigaOS4 officially supports .so libraries.
11774    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11775    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11776    ;;
11777  m68k)
11778    library_names_spec='$libname.ixlibrary $libname.a'
11779    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11780    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'
11781    ;;
11782  esac
11783  ;;
11784
11785beos*)
11786  library_names_spec='$libname$shared_ext'
11787  dynamic_linker="$host_os ld.so"
11788  shlibpath_var=LIBRARY_PATH
11789  ;;
11790
11791bsdi[45]*)
11792  version_type=linux # correct to gnu/linux during the next big refactor
11793  need_version=no
11794  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11795  soname_spec='$libname$release$shared_ext$major'
11796  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11797  shlibpath_var=LD_LIBRARY_PATH
11798  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11799  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11800  # the default ld.so.conf also contains /usr/contrib/lib and
11801  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11802  # libtool to hard-code these into programs
11803  ;;
11804
11805cygwin* | mingw* | pw32* | cegcc*)
11806  version_type=windows
11807  shrext_cmds=.dll
11808  need_version=no
11809  need_lib_prefix=no
11810
11811  case $GCC,$cc_basename in
11812  yes,*)
11813    # gcc
11814    library_names_spec='$libname.dll.a'
11815    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11816    postinstall_cmds='base_file=`basename \$file`~
11817      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11818      dldir=$destdir/`dirname \$dlpath`~
11819      test -d \$dldir || mkdir -p \$dldir~
11820      $install_prog $dir/$dlname \$dldir/$dlname~
11821      chmod a+x \$dldir/$dlname~
11822      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11823        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11824      fi'
11825    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11826      dlpath=$dir/\$dldll~
11827       $RM \$dlpath'
11828    shlibpath_overrides_runpath=yes
11829
11830    case $host_os in
11831    cygwin*)
11832      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11833      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11834
11835      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11836      ;;
11837    mingw* | cegcc*)
11838      # MinGW DLLs use traditional 'lib' prefix
11839      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11840      ;;
11841    pw32*)
11842      # pw32 DLLs use 'pw' prefix rather than 'lib'
11843      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11844      ;;
11845    esac
11846    dynamic_linker='Win32 ld.exe'
11847    ;;
11848
11849  *,cl*)
11850    # Native MSVC
11851    libname_spec='$name'
11852    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11853    library_names_spec='$libname.dll.lib'
11854
11855    case $build_os in
11856    mingw*)
11857      sys_lib_search_path_spec=
11858      lt_save_ifs=$IFS
11859      IFS=';'
11860      for lt_path in $LIB
11861      do
11862        IFS=$lt_save_ifs
11863        # Let DOS variable expansion print the short 8.3 style file name.
11864        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11865        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11866      done
11867      IFS=$lt_save_ifs
11868      # Convert to MSYS style.
11869      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11870      ;;
11871    cygwin*)
11872      # Convert to unix form, then to dos form, then back to unix form
11873      # but this time dos style (no spaces!) so that the unix form looks
11874      # like /cygdrive/c/PROGRA~1:/cygdr...
11875      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11876      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11877      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11878      ;;
11879    *)
11880      sys_lib_search_path_spec=$LIB
11881      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11882        # It is most probably a Windows format PATH.
11883        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11884      else
11885        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11886      fi
11887      # FIXME: find the short name or the path components, as spaces are
11888      # common. (e.g. "Program Files" -> "PROGRA~1")
11889      ;;
11890    esac
11891
11892    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11893    postinstall_cmds='base_file=`basename \$file`~
11894      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11895      dldir=$destdir/`dirname \$dlpath`~
11896      test -d \$dldir || mkdir -p \$dldir~
11897      $install_prog $dir/$dlname \$dldir/$dlname'
11898    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11899      dlpath=$dir/\$dldll~
11900       $RM \$dlpath'
11901    shlibpath_overrides_runpath=yes
11902    dynamic_linker='Win32 link.exe'
11903    ;;
11904
11905  *)
11906    # Assume MSVC wrapper
11907    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11908    dynamic_linker='Win32 ld.exe'
11909    ;;
11910  esac
11911  # FIXME: first we should search . and the directory the executable is in
11912  shlibpath_var=PATH
11913  ;;
11914
11915darwin* | rhapsody*)
11916  dynamic_linker="$host_os dyld"
11917  version_type=darwin
11918  need_lib_prefix=no
11919  need_version=no
11920  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11921  soname_spec='$libname$release$major$shared_ext'
11922  shlibpath_overrides_runpath=yes
11923  shlibpath_var=DYLD_LIBRARY_PATH
11924  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11925
11926  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11927  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11928  ;;
11929
11930dgux*)
11931  version_type=linux # correct to gnu/linux during the next big refactor
11932  need_lib_prefix=no
11933  need_version=no
11934  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11935  soname_spec='$libname$release$shared_ext$major'
11936  shlibpath_var=LD_LIBRARY_PATH
11937  ;;
11938
11939freebsd* | dragonfly*)
11940  # DragonFly does not have aout.  When/if they implement a new
11941  # versioning mechanism, adjust this.
11942  if test -x /usr/bin/objformat; then
11943    objformat=`/usr/bin/objformat`
11944  else
11945    case $host_os in
11946    freebsd[23].*) objformat=aout ;;
11947    *) objformat=elf ;;
11948    esac
11949  fi
11950  version_type=freebsd-$objformat
11951  case $version_type in
11952    freebsd-elf*)
11953      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11954      soname_spec='$libname$release$shared_ext$major'
11955      need_version=no
11956      need_lib_prefix=no
11957      ;;
11958    freebsd-*)
11959      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11960      need_version=yes
11961      ;;
11962  esac
11963  shlibpath_var=LD_LIBRARY_PATH
11964  case $host_os in
11965  freebsd2.*)
11966    shlibpath_overrides_runpath=yes
11967    ;;
11968  freebsd3.[01]* | freebsdelf3.[01]*)
11969    shlibpath_overrides_runpath=yes
11970    hardcode_into_libs=yes
11971    ;;
11972  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11973  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11974    shlibpath_overrides_runpath=no
11975    hardcode_into_libs=yes
11976    ;;
11977  *) # from 4.6 on, and DragonFly
11978    shlibpath_overrides_runpath=yes
11979    hardcode_into_libs=yes
11980    ;;
11981  esac
11982  ;;
11983
11984haiku*)
11985  version_type=linux # correct to gnu/linux during the next big refactor
11986  need_lib_prefix=no
11987  need_version=no
11988  dynamic_linker="$host_os runtime_loader"
11989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11990  soname_spec='$libname$release$shared_ext$major'
11991  shlibpath_var=LIBRARY_PATH
11992  shlibpath_overrides_runpath=no
11993  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11994  hardcode_into_libs=yes
11995  ;;
11996
11997hpux9* | hpux10* | hpux11*)
11998  # Give a soname corresponding to the major version so that dld.sl refuses to
11999  # link against other versions.
12000  version_type=sunos
12001  need_lib_prefix=no
12002  need_version=no
12003  case $host_cpu in
12004  ia64*)
12005    shrext_cmds='.so'
12006    hardcode_into_libs=yes
12007    dynamic_linker="$host_os dld.so"
12008    shlibpath_var=LD_LIBRARY_PATH
12009    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12010    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12011    soname_spec='$libname$release$shared_ext$major'
12012    if test 32 = "$HPUX_IA64_MODE"; then
12013      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12014      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12015    else
12016      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12017      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12018    fi
12019    ;;
12020  hppa*64*)
12021    shrext_cmds='.sl'
12022    hardcode_into_libs=yes
12023    dynamic_linker="$host_os dld.sl"
12024    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12025    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12026    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12027    soname_spec='$libname$release$shared_ext$major'
12028    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12029    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12030    ;;
12031  *)
12032    shrext_cmds='.sl'
12033    dynamic_linker="$host_os dld.sl"
12034    shlibpath_var=SHLIB_PATH
12035    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12036    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12037    soname_spec='$libname$release$shared_ext$major'
12038    ;;
12039  esac
12040  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12041  postinstall_cmds='chmod 555 $lib'
12042  # or fails outright, so override atomically:
12043  install_override_mode=555
12044  ;;
12045
12046interix[3-9]*)
12047  version_type=linux # correct to gnu/linux during the next big refactor
12048  need_lib_prefix=no
12049  need_version=no
12050  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12051  soname_spec='$libname$release$shared_ext$major'
12052  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12053  shlibpath_var=LD_LIBRARY_PATH
12054  shlibpath_overrides_runpath=no
12055  hardcode_into_libs=yes
12056  ;;
12057
12058irix5* | irix6* | nonstopux*)
12059  case $host_os in
12060    nonstopux*) version_type=nonstopux ;;
12061    *)
12062	if test yes = "$lt_cv_prog_gnu_ld"; then
12063		version_type=linux # correct to gnu/linux during the next big refactor
12064	else
12065		version_type=irix
12066	fi ;;
12067  esac
12068  need_lib_prefix=no
12069  need_version=no
12070  soname_spec='$libname$release$shared_ext$major'
12071  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12072  case $host_os in
12073  irix5* | nonstopux*)
12074    libsuff= shlibsuff=
12075    ;;
12076  *)
12077    case $LD in # libtool.m4 will add one of these switches to LD
12078    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12079      libsuff= shlibsuff= libmagic=32-bit;;
12080    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12081      libsuff=32 shlibsuff=N32 libmagic=N32;;
12082    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12083      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12084    *) libsuff= shlibsuff= libmagic=never-match;;
12085    esac
12086    ;;
12087  esac
12088  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12089  shlibpath_overrides_runpath=no
12090  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12091  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12092  hardcode_into_libs=yes
12093  ;;
12094
12095# No shared lib support for Linux oldld, aout, or coff.
12096linux*oldld* | linux*aout* | linux*coff*)
12097  dynamic_linker=no
12098  ;;
12099
12100linux*android*)
12101  version_type=none # Android doesn't support versioned libraries.
12102  need_lib_prefix=no
12103  need_version=no
12104  library_names_spec='$libname$release$shared_ext'
12105  soname_spec='$libname$release$shared_ext'
12106  finish_cmds=
12107  shlibpath_var=LD_LIBRARY_PATH
12108  shlibpath_overrides_runpath=yes
12109
12110  # This implies no fast_install, which is unacceptable.
12111  # Some rework will be needed to allow for fast_install
12112  # before this can be enabled.
12113  hardcode_into_libs=yes
12114
12115  dynamic_linker='Android linker'
12116  # Don't embed -rpath directories since the linker doesn't support them.
12117  hardcode_libdir_flag_spec='-L$libdir'
12118  ;;
12119
12120# This must be glibc/ELF.
12121linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12122  version_type=linux # correct to gnu/linux during the next big refactor
12123  need_lib_prefix=no
12124  need_version=no
12125  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12126  soname_spec='$libname$release$shared_ext$major'
12127  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12128  shlibpath_var=LD_LIBRARY_PATH
12129  shlibpath_overrides_runpath=no
12130
12131  # Some binutils ld are patched to set DT_RUNPATH
12132  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12133  $as_echo_n "(cached) " >&6
12134else
12135  lt_cv_shlibpath_overrides_runpath=no
12136    save_LDFLAGS=$LDFLAGS
12137    save_libdir=$libdir
12138    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12139	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12140    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141/* end confdefs.h.  */
12142
12143int
12144main ()
12145{
12146
12147  ;
12148  return 0;
12149}
12150_ACEOF
12151if ac_fn_c_try_link "$LINENO"; then :
12152  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12153  lt_cv_shlibpath_overrides_runpath=yes
12154fi
12155fi
12156rm -f core conftest.err conftest.$ac_objext \
12157    conftest$ac_exeext conftest.$ac_ext
12158    LDFLAGS=$save_LDFLAGS
12159    libdir=$save_libdir
12160
12161fi
12162
12163  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12164
12165  # This implies no fast_install, which is unacceptable.
12166  # Some rework will be needed to allow for fast_install
12167  # before this can be enabled.
12168  hardcode_into_libs=yes
12169
12170  # Ideally, we could use ldconfig to report *all* directores which are
12171  # searched for libraries, however this is still not possible.  Aside from not
12172  # being certain /sbin/ldconfig is available, command
12173  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12174  # even though it is searched at run-time.  Try to do the best guess by
12175  # appending ld.so.conf contents (and includes) to the search path.
12176  if test -f /etc/ld.so.conf; then
12177    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' ' '`
12178    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12179  fi
12180
12181  # We used to test for /lib/ld.so.1 and disable shared libraries on
12182  # powerpc, because MkLinux only supported shared libraries with the
12183  # GNU dynamic linker.  Since this was broken with cross compilers,
12184  # most powerpc-linux boxes support dynamic linking these days and
12185  # people can always --disable-shared, the test was removed, and we
12186  # assume the GNU/Linux dynamic linker is in use.
12187  dynamic_linker='GNU/Linux ld.so'
12188  ;;
12189
12190netbsdelf*-gnu)
12191  version_type=linux
12192  need_lib_prefix=no
12193  need_version=no
12194  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12195  soname_spec='${libname}${release}${shared_ext}$major'
12196  shlibpath_var=LD_LIBRARY_PATH
12197  shlibpath_overrides_runpath=no
12198  hardcode_into_libs=yes
12199  dynamic_linker='NetBSD ld.elf_so'
12200  ;;
12201
12202netbsd*)
12203  version_type=sunos
12204  need_lib_prefix=no
12205  need_version=no
12206  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12207    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12208    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12209    dynamic_linker='NetBSD (a.out) ld.so'
12210  else
12211    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12212    soname_spec='$libname$release$shared_ext$major'
12213    dynamic_linker='NetBSD ld.elf_so'
12214  fi
12215  shlibpath_var=LD_LIBRARY_PATH
12216  shlibpath_overrides_runpath=yes
12217  hardcode_into_libs=yes
12218  ;;
12219
12220newsos6)
12221  version_type=linux # correct to gnu/linux during the next big refactor
12222  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12223  shlibpath_var=LD_LIBRARY_PATH
12224  shlibpath_overrides_runpath=yes
12225  ;;
12226
12227*nto* | *qnx*)
12228  version_type=qnx
12229  need_lib_prefix=no
12230  need_version=no
12231  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12232  soname_spec='$libname$release$shared_ext$major'
12233  shlibpath_var=LD_LIBRARY_PATH
12234  shlibpath_overrides_runpath=no
12235  hardcode_into_libs=yes
12236  dynamic_linker='ldqnx.so'
12237  ;;
12238
12239openbsd* | bitrig*)
12240  version_type=sunos
12241  sys_lib_dlsearch_path_spec=/usr/lib
12242  need_lib_prefix=no
12243  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12244    need_version=no
12245  else
12246    need_version=yes
12247  fi
12248  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12249  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12250  shlibpath_var=LD_LIBRARY_PATH
12251  shlibpath_overrides_runpath=yes
12252  ;;
12253
12254os2*)
12255  libname_spec='$name'
12256  version_type=windows
12257  shrext_cmds=.dll
12258  need_version=no
12259  need_lib_prefix=no
12260  # OS/2 can only load a DLL with a base name of 8 characters or less.
12261  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12262    v=$($ECHO $release$versuffix | tr -d .-);
12263    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12264    $ECHO $n$v`$shared_ext'
12265  library_names_spec='${libname}_dll.$libext'
12266  dynamic_linker='OS/2 ld.exe'
12267  shlibpath_var=BEGINLIBPATH
12268  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12269  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12270  postinstall_cmds='base_file=`basename \$file`~
12271    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12272    dldir=$destdir/`dirname \$dlpath`~
12273    test -d \$dldir || mkdir -p \$dldir~
12274    $install_prog $dir/$dlname \$dldir/$dlname~
12275    chmod a+x \$dldir/$dlname~
12276    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12277      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12278    fi'
12279  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12280    dlpath=$dir/\$dldll~
12281    $RM \$dlpath'
12282  ;;
12283
12284osf3* | osf4* | osf5*)
12285  version_type=osf
12286  need_lib_prefix=no
12287  need_version=no
12288  soname_spec='$libname$release$shared_ext$major'
12289  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12290  shlibpath_var=LD_LIBRARY_PATH
12291  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12292  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12293  ;;
12294
12295rdos*)
12296  dynamic_linker=no
12297  ;;
12298
12299solaris*)
12300  version_type=linux # correct to gnu/linux during the next big refactor
12301  need_lib_prefix=no
12302  need_version=no
12303  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12304  soname_spec='$libname$release$shared_ext$major'
12305  shlibpath_var=LD_LIBRARY_PATH
12306  shlibpath_overrides_runpath=yes
12307  hardcode_into_libs=yes
12308  # ldd complains unless libraries are executable
12309  postinstall_cmds='chmod +x $lib'
12310  ;;
12311
12312sunos4*)
12313  version_type=sunos
12314  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12315  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12316  shlibpath_var=LD_LIBRARY_PATH
12317  shlibpath_overrides_runpath=yes
12318  if test yes = "$with_gnu_ld"; then
12319    need_lib_prefix=no
12320  fi
12321  need_version=yes
12322  ;;
12323
12324sysv4 | sysv4.3*)
12325  version_type=linux # correct to gnu/linux during the next big refactor
12326  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12327  soname_spec='$libname$release$shared_ext$major'
12328  shlibpath_var=LD_LIBRARY_PATH
12329  case $host_vendor in
12330    sni)
12331      shlibpath_overrides_runpath=no
12332      need_lib_prefix=no
12333      runpath_var=LD_RUN_PATH
12334      ;;
12335    siemens)
12336      need_lib_prefix=no
12337      ;;
12338    motorola)
12339      need_lib_prefix=no
12340      need_version=no
12341      shlibpath_overrides_runpath=no
12342      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12343      ;;
12344  esac
12345  ;;
12346
12347sysv4*MP*)
12348  if test -d /usr/nec; then
12349    version_type=linux # correct to gnu/linux during the next big refactor
12350    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12351    soname_spec='$libname$shared_ext.$major'
12352    shlibpath_var=LD_LIBRARY_PATH
12353  fi
12354  ;;
12355
12356sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12357  version_type=sco
12358  need_lib_prefix=no
12359  need_version=no
12360  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12361  soname_spec='$libname$release$shared_ext$major'
12362  shlibpath_var=LD_LIBRARY_PATH
12363  shlibpath_overrides_runpath=yes
12364  hardcode_into_libs=yes
12365  if test yes = "$with_gnu_ld"; then
12366    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12367  else
12368    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12369    case $host_os in
12370      sco3.2v5*)
12371        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12372	;;
12373    esac
12374  fi
12375  sys_lib_dlsearch_path_spec='/usr/lib'
12376  ;;
12377
12378tpf*)
12379  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12380  version_type=linux # correct to gnu/linux during the next big refactor
12381  need_lib_prefix=no
12382  need_version=no
12383  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12384  shlibpath_var=LD_LIBRARY_PATH
12385  shlibpath_overrides_runpath=no
12386  hardcode_into_libs=yes
12387  ;;
12388
12389uts4*)
12390  version_type=linux # correct to gnu/linux during the next big refactor
12391  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12392  soname_spec='$libname$release$shared_ext$major'
12393  shlibpath_var=LD_LIBRARY_PATH
12394  ;;
12395
12396*)
12397  dynamic_linker=no
12398  ;;
12399esac
12400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12401$as_echo "$dynamic_linker" >&6; }
12402test no = "$dynamic_linker" && can_build_shared=no
12403
12404variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12405if test yes = "$GCC"; then
12406  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12407fi
12408
12409if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12410  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12411fi
12412
12413if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12414  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12415fi
12416
12417# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12418configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12419
12420# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12421func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12422
12423# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12424configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12523$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12524hardcode_action=
12525if test -n "$hardcode_libdir_flag_spec" ||
12526   test -n "$runpath_var" ||
12527   test yes = "$hardcode_automatic"; then
12528
12529  # We can hardcode non-existent directories.
12530  if test no != "$hardcode_direct" &&
12531     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12532     # have to relink, otherwise we might link with an installed library
12533     # when we should be linking with a yet-to-be-installed one
12534     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12535     test no != "$hardcode_minus_L"; then
12536    # Linking always hardcodes the temporary library directory.
12537    hardcode_action=relink
12538  else
12539    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12540    hardcode_action=immediate
12541  fi
12542else
12543  # We cannot hardcode anything, or else we can only hardcode existing
12544  # directories.
12545  hardcode_action=unsupported
12546fi
12547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12548$as_echo "$hardcode_action" >&6; }
12549
12550if test relink = "$hardcode_action" ||
12551   test yes = "$inherit_rpath"; then
12552  # Fast installation is not supported
12553  enable_fast_install=no
12554elif test yes = "$shlibpath_overrides_runpath" ||
12555     test no = "$enable_shared"; then
12556  # Fast installation is not necessary
12557  enable_fast_install=needless
12558fi
12559
12560
12561
12562
12563
12564
12565  if test yes != "$enable_dlopen"; then
12566  enable_dlopen=unknown
12567  enable_dlopen_self=unknown
12568  enable_dlopen_self_static=unknown
12569else
12570  lt_cv_dlopen=no
12571  lt_cv_dlopen_libs=
12572
12573  case $host_os in
12574  beos*)
12575    lt_cv_dlopen=load_add_on
12576    lt_cv_dlopen_libs=
12577    lt_cv_dlopen_self=yes
12578    ;;
12579
12580  mingw* | pw32* | cegcc*)
12581    lt_cv_dlopen=LoadLibrary
12582    lt_cv_dlopen_libs=
12583    ;;
12584
12585  cygwin*)
12586    lt_cv_dlopen=dlopen
12587    lt_cv_dlopen_libs=
12588    ;;
12589
12590  darwin*)
12591    # if libdl is installed we need to link against it
12592    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12593$as_echo_n "checking for dlopen in -ldl... " >&6; }
12594if ${ac_cv_lib_dl_dlopen+:} false; then :
12595  $as_echo_n "(cached) " >&6
12596else
12597  ac_check_lib_save_LIBS=$LIBS
12598LIBS="-ldl  $LIBS"
12599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600/* end confdefs.h.  */
12601
12602/* Override any GCC internal prototype to avoid an error.
12603   Use char because int might match the return type of a GCC
12604   builtin and then its argument prototype would still apply.  */
12605#ifdef __cplusplus
12606extern "C"
12607#endif
12608char dlopen ();
12609int
12610main ()
12611{
12612return dlopen ();
12613  ;
12614  return 0;
12615}
12616_ACEOF
12617if ac_fn_c_try_link "$LINENO"; then :
12618  ac_cv_lib_dl_dlopen=yes
12619else
12620  ac_cv_lib_dl_dlopen=no
12621fi
12622rm -f core conftest.err conftest.$ac_objext \
12623    conftest$ac_exeext conftest.$ac_ext
12624LIBS=$ac_check_lib_save_LIBS
12625fi
12626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12627$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12628if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12629  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12630else
12631
12632    lt_cv_dlopen=dyld
12633    lt_cv_dlopen_libs=
12634    lt_cv_dlopen_self=yes
12635
12636fi
12637
12638    ;;
12639
12640  tpf*)
12641    # Don't try to run any link tests for TPF.  We know it's impossible
12642    # because TPF is a cross-compiler, and we know how we open DSOs.
12643    lt_cv_dlopen=dlopen
12644    lt_cv_dlopen_libs=
12645    lt_cv_dlopen_self=no
12646    ;;
12647
12648  *)
12649    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12650if test "x$ac_cv_func_shl_load" = xyes; then :
12651  lt_cv_dlopen=shl_load
12652else
12653  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12654$as_echo_n "checking for shl_load in -ldld... " >&6; }
12655if ${ac_cv_lib_dld_shl_load+:} false; then :
12656  $as_echo_n "(cached) " >&6
12657else
12658  ac_check_lib_save_LIBS=$LIBS
12659LIBS="-ldld  $LIBS"
12660cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661/* end confdefs.h.  */
12662
12663/* Override any GCC internal prototype to avoid an error.
12664   Use char because int might match the return type of a GCC
12665   builtin and then its argument prototype would still apply.  */
12666#ifdef __cplusplus
12667extern "C"
12668#endif
12669char shl_load ();
12670int
12671main ()
12672{
12673return shl_load ();
12674  ;
12675  return 0;
12676}
12677_ACEOF
12678if ac_fn_c_try_link "$LINENO"; then :
12679  ac_cv_lib_dld_shl_load=yes
12680else
12681  ac_cv_lib_dld_shl_load=no
12682fi
12683rm -f core conftest.err conftest.$ac_objext \
12684    conftest$ac_exeext conftest.$ac_ext
12685LIBS=$ac_check_lib_save_LIBS
12686fi
12687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12688$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12689if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12690  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12691else
12692  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12693if test "x$ac_cv_func_dlopen" = xyes; then :
12694  lt_cv_dlopen=dlopen
12695else
12696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12697$as_echo_n "checking for dlopen in -ldl... " >&6; }
12698if ${ac_cv_lib_dl_dlopen+:} false; then :
12699  $as_echo_n "(cached) " >&6
12700else
12701  ac_check_lib_save_LIBS=$LIBS
12702LIBS="-ldl  $LIBS"
12703cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704/* end confdefs.h.  */
12705
12706/* Override any GCC internal prototype to avoid an error.
12707   Use char because int might match the return type of a GCC
12708   builtin and then its argument prototype would still apply.  */
12709#ifdef __cplusplus
12710extern "C"
12711#endif
12712char dlopen ();
12713int
12714main ()
12715{
12716return dlopen ();
12717  ;
12718  return 0;
12719}
12720_ACEOF
12721if ac_fn_c_try_link "$LINENO"; then :
12722  ac_cv_lib_dl_dlopen=yes
12723else
12724  ac_cv_lib_dl_dlopen=no
12725fi
12726rm -f core conftest.err conftest.$ac_objext \
12727    conftest$ac_exeext conftest.$ac_ext
12728LIBS=$ac_check_lib_save_LIBS
12729fi
12730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12731$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12732if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12733  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12734else
12735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12736$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12737if ${ac_cv_lib_svld_dlopen+:} false; then :
12738  $as_echo_n "(cached) " >&6
12739else
12740  ac_check_lib_save_LIBS=$LIBS
12741LIBS="-lsvld  $LIBS"
12742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743/* end confdefs.h.  */
12744
12745/* Override any GCC internal prototype to avoid an error.
12746   Use char because int might match the return type of a GCC
12747   builtin and then its argument prototype would still apply.  */
12748#ifdef __cplusplus
12749extern "C"
12750#endif
12751char dlopen ();
12752int
12753main ()
12754{
12755return dlopen ();
12756  ;
12757  return 0;
12758}
12759_ACEOF
12760if ac_fn_c_try_link "$LINENO"; then :
12761  ac_cv_lib_svld_dlopen=yes
12762else
12763  ac_cv_lib_svld_dlopen=no
12764fi
12765rm -f core conftest.err conftest.$ac_objext \
12766    conftest$ac_exeext conftest.$ac_ext
12767LIBS=$ac_check_lib_save_LIBS
12768fi
12769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12770$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12771if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12772  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12773else
12774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12775$as_echo_n "checking for dld_link in -ldld... " >&6; }
12776if ${ac_cv_lib_dld_dld_link+:} false; then :
12777  $as_echo_n "(cached) " >&6
12778else
12779  ac_check_lib_save_LIBS=$LIBS
12780LIBS="-ldld  $LIBS"
12781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782/* end confdefs.h.  */
12783
12784/* Override any GCC internal prototype to avoid an error.
12785   Use char because int might match the return type of a GCC
12786   builtin and then its argument prototype would still apply.  */
12787#ifdef __cplusplus
12788extern "C"
12789#endif
12790char dld_link ();
12791int
12792main ()
12793{
12794return dld_link ();
12795  ;
12796  return 0;
12797}
12798_ACEOF
12799if ac_fn_c_try_link "$LINENO"; then :
12800  ac_cv_lib_dld_dld_link=yes
12801else
12802  ac_cv_lib_dld_dld_link=no
12803fi
12804rm -f core conftest.err conftest.$ac_objext \
12805    conftest$ac_exeext conftest.$ac_ext
12806LIBS=$ac_check_lib_save_LIBS
12807fi
12808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12809$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12810if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12811  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12812fi
12813
12814
12815fi
12816
12817
12818fi
12819
12820
12821fi
12822
12823
12824fi
12825
12826
12827fi
12828
12829    ;;
12830  esac
12831
12832  if test no = "$lt_cv_dlopen"; then
12833    enable_dlopen=no
12834  else
12835    enable_dlopen=yes
12836  fi
12837
12838  case $lt_cv_dlopen in
12839  dlopen)
12840    save_CPPFLAGS=$CPPFLAGS
12841    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12842
12843    save_LDFLAGS=$LDFLAGS
12844    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12845
12846    save_LIBS=$LIBS
12847    LIBS="$lt_cv_dlopen_libs $LIBS"
12848
12849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12850$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12851if ${lt_cv_dlopen_self+:} false; then :
12852  $as_echo_n "(cached) " >&6
12853else
12854  	  if test yes = "$cross_compiling"; then :
12855  lt_cv_dlopen_self=cross
12856else
12857  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12858  lt_status=$lt_dlunknown
12859  cat > conftest.$ac_ext <<_LT_EOF
12860#line $LINENO "configure"
12861#include "confdefs.h"
12862
12863#if HAVE_DLFCN_H
12864#include <dlfcn.h>
12865#endif
12866
12867#include <stdio.h>
12868
12869#ifdef RTLD_GLOBAL
12870#  define LT_DLGLOBAL		RTLD_GLOBAL
12871#else
12872#  ifdef DL_GLOBAL
12873#    define LT_DLGLOBAL		DL_GLOBAL
12874#  else
12875#    define LT_DLGLOBAL		0
12876#  endif
12877#endif
12878
12879/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12880   find out it does not work in some platform. */
12881#ifndef LT_DLLAZY_OR_NOW
12882#  ifdef RTLD_LAZY
12883#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12884#  else
12885#    ifdef DL_LAZY
12886#      define LT_DLLAZY_OR_NOW		DL_LAZY
12887#    else
12888#      ifdef RTLD_NOW
12889#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12890#      else
12891#        ifdef DL_NOW
12892#          define LT_DLLAZY_OR_NOW	DL_NOW
12893#        else
12894#          define LT_DLLAZY_OR_NOW	0
12895#        endif
12896#      endif
12897#    endif
12898#  endif
12899#endif
12900
12901/* When -fvisibility=hidden is used, assume the code has been annotated
12902   correspondingly for the symbols needed.  */
12903#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12904int fnord () __attribute__((visibility("default")));
12905#endif
12906
12907int fnord () { return 42; }
12908int main ()
12909{
12910  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12911  int status = $lt_dlunknown;
12912
12913  if (self)
12914    {
12915      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12916      else
12917        {
12918	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12919          else puts (dlerror ());
12920	}
12921      /* dlclose (self); */
12922    }
12923  else
12924    puts (dlerror ());
12925
12926  return status;
12927}
12928_LT_EOF
12929  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12930  (eval $ac_link) 2>&5
12931  ac_status=$?
12932  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12934    (./conftest; exit; ) >&5 2>/dev/null
12935    lt_status=$?
12936    case x$lt_status in
12937      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12938      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12939      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12940    esac
12941  else :
12942    # compilation failed
12943    lt_cv_dlopen_self=no
12944  fi
12945fi
12946rm -fr conftest*
12947
12948
12949fi
12950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12951$as_echo "$lt_cv_dlopen_self" >&6; }
12952
12953    if test yes = "$lt_cv_dlopen_self"; then
12954      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12955      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12956$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12957if ${lt_cv_dlopen_self_static+:} false; then :
12958  $as_echo_n "(cached) " >&6
12959else
12960  	  if test yes = "$cross_compiling"; then :
12961  lt_cv_dlopen_self_static=cross
12962else
12963  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12964  lt_status=$lt_dlunknown
12965  cat > conftest.$ac_ext <<_LT_EOF
12966#line $LINENO "configure"
12967#include "confdefs.h"
12968
12969#if HAVE_DLFCN_H
12970#include <dlfcn.h>
12971#endif
12972
12973#include <stdio.h>
12974
12975#ifdef RTLD_GLOBAL
12976#  define LT_DLGLOBAL		RTLD_GLOBAL
12977#else
12978#  ifdef DL_GLOBAL
12979#    define LT_DLGLOBAL		DL_GLOBAL
12980#  else
12981#    define LT_DLGLOBAL		0
12982#  endif
12983#endif
12984
12985/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12986   find out it does not work in some platform. */
12987#ifndef LT_DLLAZY_OR_NOW
12988#  ifdef RTLD_LAZY
12989#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12990#  else
12991#    ifdef DL_LAZY
12992#      define LT_DLLAZY_OR_NOW		DL_LAZY
12993#    else
12994#      ifdef RTLD_NOW
12995#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12996#      else
12997#        ifdef DL_NOW
12998#          define LT_DLLAZY_OR_NOW	DL_NOW
12999#        else
13000#          define LT_DLLAZY_OR_NOW	0
13001#        endif
13002#      endif
13003#    endif
13004#  endif
13005#endif
13006
13007/* When -fvisibility=hidden is used, assume the code has been annotated
13008   correspondingly for the symbols needed.  */
13009#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13010int fnord () __attribute__((visibility("default")));
13011#endif
13012
13013int fnord () { return 42; }
13014int main ()
13015{
13016  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13017  int status = $lt_dlunknown;
13018
13019  if (self)
13020    {
13021      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13022      else
13023        {
13024	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13025          else puts (dlerror ());
13026	}
13027      /* dlclose (self); */
13028    }
13029  else
13030    puts (dlerror ());
13031
13032  return status;
13033}
13034_LT_EOF
13035  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13036  (eval $ac_link) 2>&5
13037  ac_status=$?
13038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13039  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13040    (./conftest; exit; ) >&5 2>/dev/null
13041    lt_status=$?
13042    case x$lt_status in
13043      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13044      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13045      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13046    esac
13047  else :
13048    # compilation failed
13049    lt_cv_dlopen_self_static=no
13050  fi
13051fi
13052rm -fr conftest*
13053
13054
13055fi
13056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13057$as_echo "$lt_cv_dlopen_self_static" >&6; }
13058    fi
13059
13060    CPPFLAGS=$save_CPPFLAGS
13061    LDFLAGS=$save_LDFLAGS
13062    LIBS=$save_LIBS
13063    ;;
13064  esac
13065
13066  case $lt_cv_dlopen_self in
13067  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13068  *) enable_dlopen_self=unknown ;;
13069  esac
13070
13071  case $lt_cv_dlopen_self_static in
13072  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13073  *) enable_dlopen_self_static=unknown ;;
13074  esac
13075fi
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093striplib=
13094old_striplib=
13095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13096$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13097if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13098  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13099  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13101$as_echo "yes" >&6; }
13102else
13103# FIXME - insert some real tests, host_os isn't really good enough
13104  case $host_os in
13105  darwin*)
13106    if test -n "$STRIP"; then
13107      striplib="$STRIP -x"
13108      old_striplib="$STRIP -S"
13109      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13110$as_echo "yes" >&6; }
13111    else
13112      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113$as_echo "no" >&6; }
13114    fi
13115    ;;
13116  *)
13117    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118$as_echo "no" >&6; }
13119    ;;
13120  esac
13121fi
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134  # Report what library types will actually be built
13135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13136$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13138$as_echo "$can_build_shared" >&6; }
13139
13140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13141$as_echo_n "checking whether to build shared libraries... " >&6; }
13142  test no = "$can_build_shared" && enable_shared=no
13143
13144  # On AIX, shared libraries and static libraries use the same namespace, and
13145  # are all built from PIC.
13146  case $host_os in
13147  aix3*)
13148    test yes = "$enable_shared" && enable_static=no
13149    if test -n "$RANLIB"; then
13150      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13151      postinstall_cmds='$RANLIB $lib'
13152    fi
13153    ;;
13154
13155  aix[4-9]*)
13156    if test ia64 != "$host_cpu"; then
13157      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13158      yes,aix,yes) ;;			# shared object as lib.so file only
13159      yes,svr4,*) ;;			# shared object as lib.so archive member only
13160      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13161      esac
13162    fi
13163    ;;
13164  esac
13165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13166$as_echo "$enable_shared" >&6; }
13167
13168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13169$as_echo_n "checking whether to build static libraries... " >&6; }
13170  # Make sure either enable_shared or enable_static is yes.
13171  test yes = "$enable_shared" || enable_static=yes
13172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13173$as_echo "$enable_static" >&6; }
13174
13175
13176
13177
13178fi
13179ac_ext=c
13180ac_cpp='$CPP $CPPFLAGS'
13181ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183ac_compiler_gnu=$ac_cv_c_compiler_gnu
13184
13185CC=$lt_save_CC
13186
13187      if test -n "$CXX" && ( test no != "$CXX" &&
13188    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13189    (test g++ != "$CXX"))); then
13190  ac_ext=cpp
13191ac_cpp='$CXXCPP $CPPFLAGS'
13192ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13193ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13196$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13197if test -z "$CXXCPP"; then
13198  if ${ac_cv_prog_CXXCPP+:} false; then :
13199  $as_echo_n "(cached) " >&6
13200else
13201      # Double quotes because CXXCPP needs to be expanded
13202    for CXXCPP in "$CXX -E" "/lib/cpp"
13203    do
13204      ac_preproc_ok=false
13205for ac_cxx_preproc_warn_flag in '' yes
13206do
13207  # Use a header file that comes with gcc, so configuring glibc
13208  # with a fresh cross-compiler works.
13209  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13210  # <limits.h> exists even on freestanding compilers.
13211  # On the NeXT, cc -E runs the code through the compiler's parser,
13212  # not just through cpp. "Syntax error" is here to catch this case.
13213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214/* end confdefs.h.  */
13215#ifdef __STDC__
13216# include <limits.h>
13217#else
13218# include <assert.h>
13219#endif
13220		     Syntax error
13221_ACEOF
13222if ac_fn_cxx_try_cpp "$LINENO"; then :
13223
13224else
13225  # Broken: fails on valid input.
13226continue
13227fi
13228rm -f conftest.err conftest.i conftest.$ac_ext
13229
13230  # OK, works on sane cases.  Now check whether nonexistent headers
13231  # can be detected and how.
13232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233/* end confdefs.h.  */
13234#include <ac_nonexistent.h>
13235_ACEOF
13236if ac_fn_cxx_try_cpp "$LINENO"; then :
13237  # Broken: success on invalid input.
13238continue
13239else
13240  # Passes both tests.
13241ac_preproc_ok=:
13242break
13243fi
13244rm -f conftest.err conftest.i conftest.$ac_ext
13245
13246done
13247# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13248rm -f conftest.i conftest.err conftest.$ac_ext
13249if $ac_preproc_ok; then :
13250  break
13251fi
13252
13253    done
13254    ac_cv_prog_CXXCPP=$CXXCPP
13255
13256fi
13257  CXXCPP=$ac_cv_prog_CXXCPP
13258else
13259  ac_cv_prog_CXXCPP=$CXXCPP
13260fi
13261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13262$as_echo "$CXXCPP" >&6; }
13263ac_preproc_ok=false
13264for ac_cxx_preproc_warn_flag in '' yes
13265do
13266  # Use a header file that comes with gcc, so configuring glibc
13267  # with a fresh cross-compiler works.
13268  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13269  # <limits.h> exists even on freestanding compilers.
13270  # On the NeXT, cc -E runs the code through the compiler's parser,
13271  # not just through cpp. "Syntax error" is here to catch this case.
13272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273/* end confdefs.h.  */
13274#ifdef __STDC__
13275# include <limits.h>
13276#else
13277# include <assert.h>
13278#endif
13279		     Syntax error
13280_ACEOF
13281if ac_fn_cxx_try_cpp "$LINENO"; then :
13282
13283else
13284  # Broken: fails on valid input.
13285continue
13286fi
13287rm -f conftest.err conftest.i conftest.$ac_ext
13288
13289  # OK, works on sane cases.  Now check whether nonexistent headers
13290  # can be detected and how.
13291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292/* end confdefs.h.  */
13293#include <ac_nonexistent.h>
13294_ACEOF
13295if ac_fn_cxx_try_cpp "$LINENO"; then :
13296  # Broken: success on invalid input.
13297continue
13298else
13299  # Passes both tests.
13300ac_preproc_ok=:
13301break
13302fi
13303rm -f conftest.err conftest.i conftest.$ac_ext
13304
13305done
13306# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13307rm -f conftest.i conftest.err conftest.$ac_ext
13308if $ac_preproc_ok; then :
13309
13310else
13311  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13313as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13314See \`config.log' for more details" "$LINENO" 5; }
13315fi
13316
13317ac_ext=c
13318ac_cpp='$CPP $CPPFLAGS'
13319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13321ac_compiler_gnu=$ac_cv_c_compiler_gnu
13322
13323else
13324  _lt_caught_CXX_error=yes
13325fi
13326
13327ac_ext=cpp
13328ac_cpp='$CXXCPP $CPPFLAGS'
13329ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13330ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13331ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13332
13333archive_cmds_need_lc_CXX=no
13334allow_undefined_flag_CXX=
13335always_export_symbols_CXX=no
13336archive_expsym_cmds_CXX=
13337compiler_needs_object_CXX=no
13338export_dynamic_flag_spec_CXX=
13339hardcode_direct_CXX=no
13340hardcode_direct_absolute_CXX=no
13341hardcode_libdir_flag_spec_CXX=
13342hardcode_libdir_separator_CXX=
13343hardcode_minus_L_CXX=no
13344hardcode_shlibpath_var_CXX=unsupported
13345hardcode_automatic_CXX=no
13346inherit_rpath_CXX=no
13347module_cmds_CXX=
13348module_expsym_cmds_CXX=
13349link_all_deplibs_CXX=unknown
13350old_archive_cmds_CXX=$old_archive_cmds
13351reload_flag_CXX=$reload_flag
13352reload_cmds_CXX=$reload_cmds
13353no_undefined_flag_CXX=
13354whole_archive_flag_spec_CXX=
13355enable_shared_with_static_runtimes_CXX=no
13356
13357# Source file extension for C++ test sources.
13358ac_ext=cpp
13359
13360# Object file extension for compiled C++ test sources.
13361objext=o
13362objext_CXX=$objext
13363
13364# No sense in running all these tests if we already determined that
13365# the CXX compiler isn't working.  Some variables (like enable_shared)
13366# are currently assumed to apply to all compilers on this platform,
13367# and will be corrupted by setting them based on a non-working compiler.
13368if test yes != "$_lt_caught_CXX_error"; then
13369  # Code to be used in simple compile tests
13370  lt_simple_compile_test_code="int some_variable = 0;"
13371
13372  # Code to be used in simple link tests
13373  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13374
13375  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13376
13377
13378
13379
13380
13381
13382# If no C compiler was specified, use CC.
13383LTCC=${LTCC-"$CC"}
13384
13385# If no C compiler flags were specified, use CFLAGS.
13386LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13387
13388# Allow CC to be a program name with arguments.
13389compiler=$CC
13390
13391
13392  # save warnings/boilerplate of simple test code
13393  ac_outfile=conftest.$ac_objext
13394echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13395eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13396_lt_compiler_boilerplate=`cat conftest.err`
13397$RM conftest*
13398
13399  ac_outfile=conftest.$ac_objext
13400echo "$lt_simple_link_test_code" >conftest.$ac_ext
13401eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13402_lt_linker_boilerplate=`cat conftest.err`
13403$RM -r conftest*
13404
13405
13406  # Allow CC to be a program name with arguments.
13407  lt_save_CC=$CC
13408  lt_save_CFLAGS=$CFLAGS
13409  lt_save_LD=$LD
13410  lt_save_GCC=$GCC
13411  GCC=$GXX
13412  lt_save_with_gnu_ld=$with_gnu_ld
13413  lt_save_path_LD=$lt_cv_path_LD
13414  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13415    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13416  else
13417    $as_unset lt_cv_prog_gnu_ld
13418  fi
13419  if test -n "${lt_cv_path_LDCXX+set}"; then
13420    lt_cv_path_LD=$lt_cv_path_LDCXX
13421  else
13422    $as_unset lt_cv_path_LD
13423  fi
13424  test -z "${LDCXX+set}" || LD=$LDCXX
13425  CC=${CXX-"c++"}
13426  CFLAGS=$CXXFLAGS
13427  compiler=$CC
13428  compiler_CXX=$CC
13429  func_cc_basename $compiler
13430cc_basename=$func_cc_basename_result
13431
13432
13433  if test -n "$compiler"; then
13434    # We don't want -fno-exception when compiling C++ code, so set the
13435    # no_builtin_flag separately
13436    if test yes = "$GXX"; then
13437      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13438    else
13439      lt_prog_compiler_no_builtin_flag_CXX=
13440    fi
13441
13442    if test yes = "$GXX"; then
13443      # Set up default GNU C++ configuration
13444
13445
13446
13447# Check whether --with-gnu-ld was given.
13448if test "${with_gnu_ld+set}" = set; then :
13449  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13450else
13451  with_gnu_ld=no
13452fi
13453
13454ac_prog=ld
13455if test yes = "$GCC"; then
13456  # Check if gcc -print-prog-name=ld gives a path.
13457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13458$as_echo_n "checking for ld used by $CC... " >&6; }
13459  case $host in
13460  *-*-mingw*)
13461    # gcc leaves a trailing carriage return, which upsets mingw
13462    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13463  *)
13464    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13465  esac
13466  case $ac_prog in
13467    # Accept absolute paths.
13468    [\\/]* | ?:[\\/]*)
13469      re_direlt='/[^/][^/]*/\.\./'
13470      # Canonicalize the pathname of ld
13471      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13472      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13473	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13474      done
13475      test -z "$LD" && LD=$ac_prog
13476      ;;
13477  "")
13478    # If it fails, then pretend we aren't using GCC.
13479    ac_prog=ld
13480    ;;
13481  *)
13482    # If it is relative, then search for the first ld in PATH.
13483    with_gnu_ld=unknown
13484    ;;
13485  esac
13486elif test yes = "$with_gnu_ld"; then
13487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13488$as_echo_n "checking for GNU ld... " >&6; }
13489else
13490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13491$as_echo_n "checking for non-GNU ld... " >&6; }
13492fi
13493if ${lt_cv_path_LD+:} false; then :
13494  $as_echo_n "(cached) " >&6
13495else
13496  if test -z "$LD"; then
13497  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13498  for ac_dir in $PATH; do
13499    IFS=$lt_save_ifs
13500    test -z "$ac_dir" && ac_dir=.
13501    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13502      lt_cv_path_LD=$ac_dir/$ac_prog
13503      # Check to see if the program is GNU ld.  I'd rather use --version,
13504      # but apparently some variants of GNU ld only accept -v.
13505      # Break only if it was the GNU/non-GNU ld that we prefer.
13506      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13507      *GNU* | *'with BFD'*)
13508	test no != "$with_gnu_ld" && break
13509	;;
13510      *)
13511	test yes != "$with_gnu_ld" && break
13512	;;
13513      esac
13514    fi
13515  done
13516  IFS=$lt_save_ifs
13517else
13518  lt_cv_path_LD=$LD # Let the user override the test with a path.
13519fi
13520fi
13521
13522LD=$lt_cv_path_LD
13523if test -n "$LD"; then
13524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13525$as_echo "$LD" >&6; }
13526else
13527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13528$as_echo "no" >&6; }
13529fi
13530test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13532$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13533if ${lt_cv_prog_gnu_ld+:} false; then :
13534  $as_echo_n "(cached) " >&6
13535else
13536  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13537case `$LD -v 2>&1 </dev/null` in
13538*GNU* | *'with BFD'*)
13539  lt_cv_prog_gnu_ld=yes
13540  ;;
13541*)
13542  lt_cv_prog_gnu_ld=no
13543  ;;
13544esac
13545fi
13546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13547$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13548with_gnu_ld=$lt_cv_prog_gnu_ld
13549
13550
13551
13552
13553
13554
13555
13556      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13557      # archiving commands below assume that GNU ld is being used.
13558      if test yes = "$with_gnu_ld"; then
13559        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13560        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'
13561
13562        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13563        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13564
13565        # If archive_cmds runs LD, not CC, wlarc should be empty
13566        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13567        #     investigate it a little bit more. (MM)
13568        wlarc='$wl'
13569
13570        # ancient GNU ld didn't support --whole-archive et. al.
13571        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13572	  $GREP 'no-whole-archive' > /dev/null; then
13573          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13574        else
13575          whole_archive_flag_spec_CXX=
13576        fi
13577      else
13578        with_gnu_ld=no
13579        wlarc=
13580
13581        # A generic and very simple default shared library creation
13582        # command for GNU C++ for the case where it uses the native
13583        # linker, instead of GNU ld.  If possible, this setting should
13584        # overridden to take advantage of the native linker features on
13585        # the platform it is being used on.
13586        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13587      fi
13588
13589      # Commands to make compiler produce verbose output that lists
13590      # what "hidden" libraries, object files and flags are used when
13591      # linking a shared library.
13592      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
13593
13594    else
13595      GXX=no
13596      with_gnu_ld=no
13597      wlarc=
13598    fi
13599
13600    # PORTME: fill in a description of your system's C++ link characteristics
13601    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13602$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13603    ld_shlibs_CXX=yes
13604    case $host_os in
13605      aix3*)
13606        # FIXME: insert proper C++ library support
13607        ld_shlibs_CXX=no
13608        ;;
13609      aix[4-9]*)
13610        if test ia64 = "$host_cpu"; then
13611          # On IA64, the linker does run time linking by default, so we don't
13612          # have to do anything special.
13613          aix_use_runtimelinking=no
13614          exp_sym_flag='-Bexport'
13615          no_entry_flag=
13616        else
13617          aix_use_runtimelinking=no
13618
13619          # Test if we are trying to use run time linking or normal
13620          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13621          # have runtime linking enabled, and use it for executables.
13622          # For shared libraries, we enable/disable runtime linking
13623          # depending on the kind of the shared library created -
13624          # when "with_aix_soname,aix_use_runtimelinking" is:
13625          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13626          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13627          #            lib.a           static archive
13628          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13629          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13630          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13631          #            lib.a(lib.so.V) shared, rtl:no
13632          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13633          #            lib.a           static archive
13634          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13635	    for ld_flag in $LDFLAGS; do
13636	      case $ld_flag in
13637	      *-brtl*)
13638	        aix_use_runtimelinking=yes
13639	        break
13640	        ;;
13641	      esac
13642	    done
13643	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13644	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13645	      # so we don't have lib.a shared libs to link our executables.
13646	      # We have to force runtime linking in this case.
13647	      aix_use_runtimelinking=yes
13648	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13649	    fi
13650	    ;;
13651          esac
13652
13653          exp_sym_flag='-bexport'
13654          no_entry_flag='-bnoentry'
13655        fi
13656
13657        # When large executables or shared objects are built, AIX ld can
13658        # have problems creating the table of contents.  If linking a library
13659        # or program results in "error TOC overflow" add -mminimal-toc to
13660        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13661        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13662
13663        archive_cmds_CXX=''
13664        hardcode_direct_CXX=yes
13665        hardcode_direct_absolute_CXX=yes
13666        hardcode_libdir_separator_CXX=':'
13667        link_all_deplibs_CXX=yes
13668        file_list_spec_CXX='$wl-f,'
13669        case $with_aix_soname,$aix_use_runtimelinking in
13670        aix,*) ;;	# no import file
13671        svr4,* | *,yes) # use import file
13672          # The Import File defines what to hardcode.
13673          hardcode_direct_CXX=no
13674          hardcode_direct_absolute_CXX=no
13675          ;;
13676        esac
13677
13678        if test yes = "$GXX"; then
13679          case $host_os in aix4.[012]|aix4.[012].*)
13680          # We only want to do this on AIX 4.2 and lower, the check
13681          # below for broken collect2 doesn't work under 4.3+
13682	  collect2name=`$CC -print-prog-name=collect2`
13683	  if test -f "$collect2name" &&
13684	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13685	  then
13686	    # We have reworked collect2
13687	    :
13688	  else
13689	    # We have old collect2
13690	    hardcode_direct_CXX=unsupported
13691	    # It fails to find uninstalled libraries when the uninstalled
13692	    # path is not listed in the libpath.  Setting hardcode_minus_L
13693	    # to unsupported forces relinking
13694	    hardcode_minus_L_CXX=yes
13695	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13696	    hardcode_libdir_separator_CXX=
13697	  fi
13698          esac
13699          shared_flag='-shared'
13700	  if test yes = "$aix_use_runtimelinking"; then
13701	    shared_flag=$shared_flag' $wl-G'
13702	  fi
13703	  # Need to ensure runtime linking is disabled for the traditional
13704	  # shared library, or the linker may eventually find shared libraries
13705	  # /with/ Import File - we do not want to mix them.
13706	  shared_flag_aix='-shared'
13707	  shared_flag_svr4='-shared $wl-G'
13708        else
13709          # not using gcc
13710          if test ia64 = "$host_cpu"; then
13711	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13712	  # chokes on -Wl,-G. The following line is correct:
13713	  shared_flag='-G'
13714          else
13715	    if test yes = "$aix_use_runtimelinking"; then
13716	      shared_flag='$wl-G'
13717	    else
13718	      shared_flag='$wl-bM:SRE'
13719	    fi
13720	    shared_flag_aix='$wl-bM:SRE'
13721	    shared_flag_svr4='$wl-G'
13722          fi
13723        fi
13724
13725        export_dynamic_flag_spec_CXX='$wl-bexpall'
13726        # It seems that -bexpall does not export symbols beginning with
13727        # underscore (_), so it is better to generate a list of symbols to
13728	# export.
13729        always_export_symbols_CXX=yes
13730	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13731          # Warning - without using the other runtime loading flags (-brtl),
13732          # -berok will link without error, but may produce a broken library.
13733          # The "-G" linker flag allows undefined symbols.
13734          no_undefined_flag_CXX='-bernotok'
13735          # Determine the default libpath from the value encoded in an empty
13736          # executable.
13737          if test set = "${lt_cv_aix_libpath+set}"; then
13738  aix_libpath=$lt_cv_aix_libpath
13739else
13740  if ${lt_cv_aix_libpath__CXX+:} false; then :
13741  $as_echo_n "(cached) " >&6
13742else
13743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744/* end confdefs.h.  */
13745
13746int
13747main ()
13748{
13749
13750  ;
13751  return 0;
13752}
13753_ACEOF
13754if ac_fn_cxx_try_link "$LINENO"; then :
13755
13756  lt_aix_libpath_sed='
13757      /Import File Strings/,/^$/ {
13758	  /^0/ {
13759	      s/^0  *\([^ ]*\) *$/\1/
13760	      p
13761	  }
13762      }'
13763  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13764  # Check for a 64-bit object if we didn't find anything.
13765  if test -z "$lt_cv_aix_libpath__CXX"; then
13766    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13767  fi
13768fi
13769rm -f core conftest.err conftest.$ac_objext \
13770    conftest$ac_exeext conftest.$ac_ext
13771  if test -z "$lt_cv_aix_libpath__CXX"; then
13772    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13773  fi
13774
13775fi
13776
13777  aix_libpath=$lt_cv_aix_libpath__CXX
13778fi
13779
13780          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13781
13782          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
13783        else
13784          if test ia64 = "$host_cpu"; then
13785	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13786	    allow_undefined_flag_CXX="-z nodefs"
13787	    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"
13788          else
13789	    # Determine the default libpath from the value encoded in an
13790	    # empty executable.
13791	    if test set = "${lt_cv_aix_libpath+set}"; then
13792  aix_libpath=$lt_cv_aix_libpath
13793else
13794  if ${lt_cv_aix_libpath__CXX+:} false; then :
13795  $as_echo_n "(cached) " >&6
13796else
13797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798/* end confdefs.h.  */
13799
13800int
13801main ()
13802{
13803
13804  ;
13805  return 0;
13806}
13807_ACEOF
13808if ac_fn_cxx_try_link "$LINENO"; then :
13809
13810  lt_aix_libpath_sed='
13811      /Import File Strings/,/^$/ {
13812	  /^0/ {
13813	      s/^0  *\([^ ]*\) *$/\1/
13814	      p
13815	  }
13816      }'
13817  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13818  # Check for a 64-bit object if we didn't find anything.
13819  if test -z "$lt_cv_aix_libpath__CXX"; then
13820    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13821  fi
13822fi
13823rm -f core conftest.err conftest.$ac_objext \
13824    conftest$ac_exeext conftest.$ac_ext
13825  if test -z "$lt_cv_aix_libpath__CXX"; then
13826    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13827  fi
13828
13829fi
13830
13831  aix_libpath=$lt_cv_aix_libpath__CXX
13832fi
13833
13834	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13835	    # Warning - without using the other run time loading flags,
13836	    # -berok will link without error, but may produce a broken library.
13837	    no_undefined_flag_CXX=' $wl-bernotok'
13838	    allow_undefined_flag_CXX=' $wl-berok'
13839	    if test yes = "$with_gnu_ld"; then
13840	      # We only use this code for GNU lds that support --whole-archive.
13841	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13842	    else
13843	      # Exported symbols can be pulled into shared objects from archives
13844	      whole_archive_flag_spec_CXX='$convenience'
13845	    fi
13846	    archive_cmds_need_lc_CXX=yes
13847	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13848	    # -brtl affects multiple linker settings, -berok does not and is overridden later
13849	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13850	    if test svr4 != "$with_aix_soname"; then
13851	      # This is similar to how AIX traditionally builds its shared
13852	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13853	      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'
13854	    fi
13855	    if test aix != "$with_aix_soname"; then
13856	      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'
13857	    else
13858	      # used by -dlpreopen to get the symbols
13859	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13860	    fi
13861	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13862          fi
13863        fi
13864        ;;
13865
13866      beos*)
13867	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13868	  allow_undefined_flag_CXX=unsupported
13869	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13870	  # support --undefined.  This deserves some investigation.  FIXME
13871	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13872	else
13873	  ld_shlibs_CXX=no
13874	fi
13875	;;
13876
13877      chorus*)
13878        case $cc_basename in
13879          *)
13880	  # FIXME: insert proper C++ library support
13881	  ld_shlibs_CXX=no
13882	  ;;
13883        esac
13884        ;;
13885
13886      cygwin* | mingw* | pw32* | cegcc*)
13887	case $GXX,$cc_basename in
13888	,cl* | no,cl*)
13889	  # Native MSVC
13890	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13891	  # no search path for DLLs.
13892	  hardcode_libdir_flag_spec_CXX=' '
13893	  allow_undefined_flag_CXX=unsupported
13894	  always_export_symbols_CXX=yes
13895	  file_list_spec_CXX='@'
13896	  # Tell ltmain to make .lib files, not .a files.
13897	  libext=lib
13898	  # Tell ltmain to make .dll files, not .so files.
13899	  shrext_cmds=.dll
13900	  # FIXME: Setting linknames here is a bad hack.
13901	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13902	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13903              cp "$export_symbols" "$output_objdir/$soname.def";
13904              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13905            else
13906              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13907            fi~
13908            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13909            linknames='
13910	  # The linker will not automatically build a static lib if we build a DLL.
13911	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13912	  enable_shared_with_static_runtimes_CXX=yes
13913	  # Don't use ranlib
13914	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13915	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13916            lt_tool_outputfile="@TOOL_OUTPUT@"~
13917            case $lt_outputfile in
13918              *.exe|*.EXE) ;;
13919              *)
13920                lt_outputfile=$lt_outputfile.exe
13921                lt_tool_outputfile=$lt_tool_outputfile.exe
13922                ;;
13923            esac~
13924            func_to_tool_file "$lt_outputfile"~
13925            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13926              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13927              $RM "$lt_outputfile.manifest";
13928            fi'
13929	  ;;
13930	*)
13931	  # g++
13932	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13933	  # as there is no search path for DLLs.
13934	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13935	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13936	  allow_undefined_flag_CXX=unsupported
13937	  always_export_symbols_CXX=no
13938	  enable_shared_with_static_runtimes_CXX=yes
13939
13940	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13941	    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'
13942	    # If the export-symbols file already is a .def file, use it as
13943	    # is; otherwise, prepend EXPORTS...
13944	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13945              cp $export_symbols $output_objdir/$soname.def;
13946            else
13947              echo EXPORTS > $output_objdir/$soname.def;
13948              cat $export_symbols >> $output_objdir/$soname.def;
13949            fi~
13950            $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'
13951	  else
13952	    ld_shlibs_CXX=no
13953	  fi
13954	  ;;
13955	esac
13956	;;
13957      darwin* | rhapsody*)
13958
13959
13960  archive_cmds_need_lc_CXX=no
13961  hardcode_direct_CXX=no
13962  hardcode_automatic_CXX=yes
13963  hardcode_shlibpath_var_CXX=unsupported
13964  if test yes = "$lt_cv_ld_force_load"; then
13965    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\"`'
13966
13967  else
13968    whole_archive_flag_spec_CXX=''
13969  fi
13970  link_all_deplibs_CXX=yes
13971  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13972  case $cc_basename in
13973     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13974     *) _lt_dar_can_shared=$GCC ;;
13975  esac
13976  if test yes = "$_lt_dar_can_shared"; then
13977    output_verbose_link_cmd=func_echo_all
13978    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"
13979    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13980    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"
13981    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"
13982       if test yes != "$lt_cv_apple_cc_single_mod"; then
13983      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"
13984      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"
13985    fi
13986
13987  else
13988  ld_shlibs_CXX=no
13989  fi
13990
13991	;;
13992
13993      os2*)
13994	hardcode_libdir_flag_spec_CXX='-L$libdir'
13995	hardcode_minus_L_CXX=yes
13996	allow_undefined_flag_CXX=unsupported
13997	shrext_cmds=.dll
13998	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13999	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14000	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14001	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14002	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14003	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14004	  emximp -o $lib $output_objdir/$libname.def'
14005	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14006	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14007	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14008	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14009	  prefix_cmds="$SED"~
14010	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14011	    prefix_cmds="$prefix_cmds -e 1d";
14012	  fi~
14013	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14014	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14015	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14016	  emximp -o $lib $output_objdir/$libname.def'
14017	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14018	enable_shared_with_static_runtimes_CXX=yes
14019	;;
14020
14021      dgux*)
14022        case $cc_basename in
14023          ec++*)
14024	    # FIXME: insert proper C++ library support
14025	    ld_shlibs_CXX=no
14026	    ;;
14027          ghcx*)
14028	    # Green Hills C++ Compiler
14029	    # FIXME: insert proper C++ library support
14030	    ld_shlibs_CXX=no
14031	    ;;
14032          *)
14033	    # FIXME: insert proper C++ library support
14034	    ld_shlibs_CXX=no
14035	    ;;
14036        esac
14037        ;;
14038
14039      freebsd2.*)
14040        # C++ shared libraries reported to be fairly broken before
14041	# switch to ELF
14042        ld_shlibs_CXX=no
14043        ;;
14044
14045      freebsd-elf*)
14046        archive_cmds_need_lc_CXX=no
14047        ;;
14048
14049      freebsd* | dragonfly*)
14050        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14051        # conventions
14052        ld_shlibs_CXX=yes
14053        ;;
14054
14055      haiku*)
14056        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14057        link_all_deplibs_CXX=yes
14058        ;;
14059
14060      hpux9*)
14061        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14062        hardcode_libdir_separator_CXX=:
14063        export_dynamic_flag_spec_CXX='$wl-E'
14064        hardcode_direct_CXX=yes
14065        hardcode_minus_L_CXX=yes # Not in the search PATH,
14066				             # but as the default
14067				             # location of the library.
14068
14069        case $cc_basename in
14070          CC*)
14071            # FIXME: insert proper C++ library support
14072            ld_shlibs_CXX=no
14073            ;;
14074          aCC*)
14075            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'
14076            # Commands to make compiler produce verbose output that lists
14077            # what "hidden" libraries, object files and flags are used when
14078            # linking a shared library.
14079            #
14080            # There doesn't appear to be a way to prevent this compiler from
14081            # explicitly linking system object files so we need to strip them
14082            # from the output so that they don't get included in the library
14083            # dependencies.
14084            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"'
14085            ;;
14086          *)
14087            if test yes = "$GXX"; then
14088              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'
14089            else
14090              # FIXME: insert proper C++ library support
14091              ld_shlibs_CXX=no
14092            fi
14093            ;;
14094        esac
14095        ;;
14096
14097      hpux10*|hpux11*)
14098        if test no = "$with_gnu_ld"; then
14099	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14100	  hardcode_libdir_separator_CXX=:
14101
14102          case $host_cpu in
14103            hppa*64*|ia64*)
14104              ;;
14105            *)
14106	      export_dynamic_flag_spec_CXX='$wl-E'
14107              ;;
14108          esac
14109        fi
14110        case $host_cpu in
14111          hppa*64*|ia64*)
14112            hardcode_direct_CXX=no
14113            hardcode_shlibpath_var_CXX=no
14114            ;;
14115          *)
14116            hardcode_direct_CXX=yes
14117            hardcode_direct_absolute_CXX=yes
14118            hardcode_minus_L_CXX=yes # Not in the search PATH,
14119					         # but as the default
14120					         # location of the library.
14121            ;;
14122        esac
14123
14124        case $cc_basename in
14125          CC*)
14126	    # FIXME: insert proper C++ library support
14127	    ld_shlibs_CXX=no
14128	    ;;
14129          aCC*)
14130	    case $host_cpu in
14131	      hppa*64*)
14132	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14133	        ;;
14134	      ia64*)
14135	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14136	        ;;
14137	      *)
14138	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14139	        ;;
14140	    esac
14141	    # Commands to make compiler produce verbose output that lists
14142	    # what "hidden" libraries, object files and flags are used when
14143	    # linking a shared library.
14144	    #
14145	    # There doesn't appear to be a way to prevent this compiler from
14146	    # explicitly linking system object files so we need to strip them
14147	    # from the output so that they don't get included in the library
14148	    # dependencies.
14149	    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"'
14150	    ;;
14151          *)
14152	    if test yes = "$GXX"; then
14153	      if test no = "$with_gnu_ld"; then
14154	        case $host_cpu in
14155	          hppa*64*)
14156	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14157	            ;;
14158	          ia64*)
14159	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14160	            ;;
14161	          *)
14162	            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'
14163	            ;;
14164	        esac
14165	      fi
14166	    else
14167	      # FIXME: insert proper C++ library support
14168	      ld_shlibs_CXX=no
14169	    fi
14170	    ;;
14171        esac
14172        ;;
14173
14174      interix[3-9]*)
14175	hardcode_direct_CXX=no
14176	hardcode_shlibpath_var_CXX=no
14177	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14178	export_dynamic_flag_spec_CXX='$wl-E'
14179	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14180	# Instead, shared libraries are loaded at an image base (0x10000000 by
14181	# default) and relocated if they conflict, which is a slow very memory
14182	# consuming and fragmenting process.  To avoid this, we pick a random,
14183	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14184	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14185	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'
14186	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'
14187	;;
14188      irix5* | irix6*)
14189        case $cc_basename in
14190          CC*)
14191	    # SGI C++
14192	    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'
14193
14194	    # Archives containing C++ object files must be created using
14195	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14196	    # necessary to make sure instantiated templates are included
14197	    # in the archive.
14198	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14199	    ;;
14200          *)
14201	    if test yes = "$GXX"; then
14202	      if test no = "$with_gnu_ld"; then
14203	        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'
14204	      else
14205	        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'
14206	      fi
14207	    fi
14208	    link_all_deplibs_CXX=yes
14209	    ;;
14210        esac
14211        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14212        hardcode_libdir_separator_CXX=:
14213        inherit_rpath_CXX=yes
14214        ;;
14215
14216      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14217        case $cc_basename in
14218          KCC*)
14219	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14220
14221	    # KCC will only create a shared library if the output file
14222	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14223	    # to its proper name (with version) after linking.
14224	    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'
14225	    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'
14226	    # Commands to make compiler produce verbose output that lists
14227	    # what "hidden" libraries, object files and flags are used when
14228	    # linking a shared library.
14229	    #
14230	    # There doesn't appear to be a way to prevent this compiler from
14231	    # explicitly linking system object files so we need to strip them
14232	    # from the output so that they don't get included in the library
14233	    # dependencies.
14234	    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"'
14235
14236	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14237	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14238
14239	    # Archives containing C++ object files must be created using
14240	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14241	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14242	    ;;
14243	  icpc* | ecpc* )
14244	    # Intel C++
14245	    with_gnu_ld=yes
14246	    # version 8.0 and above of icpc choke on multiply defined symbols
14247	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14248	    # earlier do not add the objects themselves.
14249	    case `$CC -V 2>&1` in
14250	      *"Version 7."*)
14251	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14252		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'
14253		;;
14254	      *)  # Version 8.0 or newer
14255	        tmp_idyn=
14256	        case $host_cpu in
14257		  ia64*) tmp_idyn=' -i_dynamic';;
14258		esac
14259	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14260		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'
14261		;;
14262	    esac
14263	    archive_cmds_need_lc_CXX=no
14264	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14265	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14266	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14267	    ;;
14268          pgCC* | pgcpp*)
14269            # Portland Group C++ compiler
14270	    case `$CC -V` in
14271	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14272	      prelink_cmds_CXX='tpldir=Template.dir~
14273               rm -rf $tpldir~
14274               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14275               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14276	      old_archive_cmds_CXX='tpldir=Template.dir~
14277                rm -rf $tpldir~
14278                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14279                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14280                $RANLIB $oldlib'
14281	      archive_cmds_CXX='tpldir=Template.dir~
14282                rm -rf $tpldir~
14283                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14284                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14285	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14286                rm -rf $tpldir~
14287                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14288                $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'
14289	      ;;
14290	    *) # Version 6 and above use weak symbols
14291	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14292	      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'
14293	      ;;
14294	    esac
14295
14296	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14297	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14298	    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'
14299            ;;
14300	  cxx*)
14301	    # Compaq C++
14302	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14303	    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'
14304
14305	    runpath_var=LD_RUN_PATH
14306	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14307	    hardcode_libdir_separator_CXX=:
14308
14309	    # Commands to make compiler produce verbose output that lists
14310	    # what "hidden" libraries, object files and flags are used when
14311	    # linking a shared library.
14312	    #
14313	    # There doesn't appear to be a way to prevent this compiler from
14314	    # explicitly linking system object files so we need to strip them
14315	    # from the output so that they don't get included in the library
14316	    # dependencies.
14317	    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'
14318	    ;;
14319	  xl* | mpixl* | bgxl*)
14320	    # IBM XL 8.0 on PPC, with GNU ld
14321	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14322	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14323	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14324	    if test yes = "$supports_anon_versioning"; then
14325	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14326                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14327                echo "local: *; };" >> $output_objdir/$libname.ver~
14328                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14329	    fi
14330	    ;;
14331	  *)
14332	    case `$CC -V 2>&1 | sed 5q` in
14333	    *Sun\ C*)
14334	      # Sun C++ 5.9
14335	      no_undefined_flag_CXX=' -zdefs'
14336	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14337	      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'
14338	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14339	      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'
14340	      compiler_needs_object_CXX=yes
14341
14342	      # Not sure whether something based on
14343	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14344	      # would be better.
14345	      output_verbose_link_cmd='func_echo_all'
14346
14347	      # Archives containing C++ object files must be created using
14348	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14349	      # necessary to make sure instantiated templates are included
14350	      # in the archive.
14351	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14352	      ;;
14353	    esac
14354	    ;;
14355	esac
14356	;;
14357
14358      lynxos*)
14359        # FIXME: insert proper C++ library support
14360	ld_shlibs_CXX=no
14361	;;
14362
14363      m88k*)
14364        # FIXME: insert proper C++ library support
14365        ld_shlibs_CXX=no
14366	;;
14367
14368      mvs*)
14369        case $cc_basename in
14370          cxx*)
14371	    # FIXME: insert proper C++ library support
14372	    ld_shlibs_CXX=no
14373	    ;;
14374	  *)
14375	    # FIXME: insert proper C++ library support
14376	    ld_shlibs_CXX=no
14377	    ;;
14378	esac
14379	;;
14380
14381      netbsd*)
14382        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14383	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14384	  wlarc=
14385	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14386	  hardcode_direct_CXX=yes
14387	  hardcode_shlibpath_var_CXX=no
14388	fi
14389	# Workaround some broken pre-1.5 toolchains
14390	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14391	;;
14392
14393      *nto* | *qnx*)
14394        ld_shlibs_CXX=yes
14395	;;
14396
14397      openbsd* | bitrig*)
14398	if test -f /usr/libexec/ld.so; then
14399	  hardcode_direct_CXX=yes
14400	  hardcode_shlibpath_var_CXX=no
14401	  hardcode_direct_absolute_CXX=yes
14402	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14403	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14404	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14405	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14406	    export_dynamic_flag_spec_CXX='$wl-E'
14407	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14408	  fi
14409	  output_verbose_link_cmd=func_echo_all
14410	else
14411	  ld_shlibs_CXX=no
14412	fi
14413	;;
14414
14415      osf3* | osf4* | osf5*)
14416        case $cc_basename in
14417          KCC*)
14418	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14419
14420	    # KCC will only create a shared library if the output file
14421	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14422	    # to its proper name (with version) after linking.
14423	    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'
14424
14425	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14426	    hardcode_libdir_separator_CXX=:
14427
14428	    # Archives containing C++ object files must be created using
14429	    # the KAI C++ compiler.
14430	    case $host in
14431	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14432	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14433	    esac
14434	    ;;
14435          RCC*)
14436	    # Rational C++ 2.4.1
14437	    # FIXME: insert proper C++ library support
14438	    ld_shlibs_CXX=no
14439	    ;;
14440          cxx*)
14441	    case $host in
14442	      osf3*)
14443	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14444	        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'
14445	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14446		;;
14447	      *)
14448	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14449	        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'
14450	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14451                  echo "-hidden">> $lib.exp~
14452                  $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~
14453                  $RM $lib.exp'
14454	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14455		;;
14456	    esac
14457
14458	    hardcode_libdir_separator_CXX=:
14459
14460	    # Commands to make compiler produce verbose output that lists
14461	    # what "hidden" libraries, object files and flags are used when
14462	    # linking a shared library.
14463	    #
14464	    # There doesn't appear to be a way to prevent this compiler from
14465	    # explicitly linking system object files so we need to strip them
14466	    # from the output so that they don't get included in the library
14467	    # dependencies.
14468	    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"'
14469	    ;;
14470	  *)
14471	    if test yes,no = "$GXX,$with_gnu_ld"; then
14472	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14473	      case $host in
14474	        osf3*)
14475	          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'
14476		  ;;
14477	        *)
14478	          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'
14479		  ;;
14480	      esac
14481
14482	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14483	      hardcode_libdir_separator_CXX=:
14484
14485	      # Commands to make compiler produce verbose output that lists
14486	      # what "hidden" libraries, object files and flags are used when
14487	      # linking a shared library.
14488	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14489
14490	    else
14491	      # FIXME: insert proper C++ library support
14492	      ld_shlibs_CXX=no
14493	    fi
14494	    ;;
14495        esac
14496        ;;
14497
14498      psos*)
14499        # FIXME: insert proper C++ library support
14500        ld_shlibs_CXX=no
14501        ;;
14502
14503      sunos4*)
14504        case $cc_basename in
14505          CC*)
14506	    # Sun C++ 4.x
14507	    # FIXME: insert proper C++ library support
14508	    ld_shlibs_CXX=no
14509	    ;;
14510          lcc*)
14511	    # Lucid
14512	    # FIXME: insert proper C++ library support
14513	    ld_shlibs_CXX=no
14514	    ;;
14515          *)
14516	    # FIXME: insert proper C++ library support
14517	    ld_shlibs_CXX=no
14518	    ;;
14519        esac
14520        ;;
14521
14522      solaris*)
14523        case $cc_basename in
14524          CC* | sunCC*)
14525	    # Sun C++ 4.2, 5.x and Centerline C++
14526            archive_cmds_need_lc_CXX=yes
14527	    no_undefined_flag_CXX=' -zdefs'
14528	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14529	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14530              $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'
14531
14532	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14533	    hardcode_shlibpath_var_CXX=no
14534	    case $host_os in
14535	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14536	      *)
14537		# The compiler driver will combine and reorder linker options,
14538		# but understands '-z linker_flag'.
14539	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14540		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14541	        ;;
14542	    esac
14543	    link_all_deplibs_CXX=yes
14544
14545	    output_verbose_link_cmd='func_echo_all'
14546
14547	    # Archives containing C++ object files must be created using
14548	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14549	    # necessary to make sure instantiated templates are included
14550	    # in the archive.
14551	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14552	    ;;
14553          gcx*)
14554	    # Green Hills C++ Compiler
14555	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14556
14557	    # The C++ compiler must be used to create the archive.
14558	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14559	    ;;
14560          *)
14561	    # GNU C++ compiler with Solaris linker
14562	    if test yes,no = "$GXX,$with_gnu_ld"; then
14563	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14564	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14565	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14566	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14567                  $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'
14568
14569	        # Commands to make compiler produce verbose output that lists
14570	        # what "hidden" libraries, object files and flags are used when
14571	        # linking a shared library.
14572	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14573	      else
14574	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14575	        # platform.
14576	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14577	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14578                  $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'
14579
14580	        # Commands to make compiler produce verbose output that lists
14581	        # what "hidden" libraries, object files and flags are used when
14582	        # linking a shared library.
14583	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14584	      fi
14585
14586	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14587	      case $host_os in
14588		solaris2.[0-5] | solaris2.[0-5].*) ;;
14589		*)
14590		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14591		  ;;
14592	      esac
14593	    fi
14594	    ;;
14595        esac
14596        ;;
14597
14598    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14599      no_undefined_flag_CXX='$wl-z,text'
14600      archive_cmds_need_lc_CXX=no
14601      hardcode_shlibpath_var_CXX=no
14602      runpath_var='LD_RUN_PATH'
14603
14604      case $cc_basename in
14605        CC*)
14606	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14607	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14608	  ;;
14609	*)
14610	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14611	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14612	  ;;
14613      esac
14614      ;;
14615
14616      sysv5* | sco3.2v5* | sco5v6*)
14617	# Note: We CANNOT use -z defs as we might desire, because we do not
14618	# link with -lc, and that would cause any symbols used from libc to
14619	# always be unresolved, which means just about no library would
14620	# ever link correctly.  If we're not using GNU ld we use -z text
14621	# though, which does catch some bad symbols but isn't as heavy-handed
14622	# as -z defs.
14623	no_undefined_flag_CXX='$wl-z,text'
14624	allow_undefined_flag_CXX='$wl-z,nodefs'
14625	archive_cmds_need_lc_CXX=no
14626	hardcode_shlibpath_var_CXX=no
14627	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14628	hardcode_libdir_separator_CXX=':'
14629	link_all_deplibs_CXX=yes
14630	export_dynamic_flag_spec_CXX='$wl-Bexport'
14631	runpath_var='LD_RUN_PATH'
14632
14633	case $cc_basename in
14634          CC*)
14635	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14636	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14637	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14638              '"$old_archive_cmds_CXX"
14639	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14640              '"$reload_cmds_CXX"
14641	    ;;
14642	  *)
14643	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14644	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14645	    ;;
14646	esac
14647      ;;
14648
14649      tandem*)
14650        case $cc_basename in
14651          NCC*)
14652	    # NonStop-UX NCC 3.20
14653	    # FIXME: insert proper C++ library support
14654	    ld_shlibs_CXX=no
14655	    ;;
14656          *)
14657	    # FIXME: insert proper C++ library support
14658	    ld_shlibs_CXX=no
14659	    ;;
14660        esac
14661        ;;
14662
14663      vxworks*)
14664        # FIXME: insert proper C++ library support
14665        ld_shlibs_CXX=no
14666        ;;
14667
14668      *)
14669        # FIXME: insert proper C++ library support
14670        ld_shlibs_CXX=no
14671        ;;
14672    esac
14673
14674    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14675$as_echo "$ld_shlibs_CXX" >&6; }
14676    test no = "$ld_shlibs_CXX" && can_build_shared=no
14677
14678    GCC_CXX=$GXX
14679    LD_CXX=$LD
14680
14681    ## CAVEAT EMPTOR:
14682    ## There is no encapsulation within the following macros, do not change
14683    ## the running order or otherwise move them around unless you know exactly
14684    ## what you are doing...
14685    # Dependencies to place before and after the object being linked:
14686predep_objects_CXX=
14687postdep_objects_CXX=
14688predeps_CXX=
14689postdeps_CXX=
14690compiler_lib_search_path_CXX=
14691
14692cat > conftest.$ac_ext <<_LT_EOF
14693class Foo
14694{
14695public:
14696  Foo (void) { a = 0; }
14697private:
14698  int a;
14699};
14700_LT_EOF
14701
14702
14703_lt_libdeps_save_CFLAGS=$CFLAGS
14704case "$CC $CFLAGS " in #(
14705*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14706*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14707*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14708esac
14709
14710if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14711  (eval $ac_compile) 2>&5
14712  ac_status=$?
14713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14714  test $ac_status = 0; }; then
14715  # Parse the compiler output and extract the necessary
14716  # objects, libraries and library flags.
14717
14718  # Sentinel used to keep track of whether or not we are before
14719  # the conftest object file.
14720  pre_test_object_deps_done=no
14721
14722  for p in `eval "$output_verbose_link_cmd"`; do
14723    case $prev$p in
14724
14725    -L* | -R* | -l*)
14726       # Some compilers place space between "-{L,R}" and the path.
14727       # Remove the space.
14728       if test x-L = "$p" ||
14729          test x-R = "$p"; then
14730	 prev=$p
14731	 continue
14732       fi
14733
14734       # Expand the sysroot to ease extracting the directories later.
14735       if test -z "$prev"; then
14736         case $p in
14737         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14738         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14739         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14740         esac
14741       fi
14742       case $p in
14743       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14744       esac
14745       if test no = "$pre_test_object_deps_done"; then
14746	 case $prev in
14747	 -L | -R)
14748	   # Internal compiler library paths should come after those
14749	   # provided the user.  The postdeps already come after the
14750	   # user supplied libs so there is no need to process them.
14751	   if test -z "$compiler_lib_search_path_CXX"; then
14752	     compiler_lib_search_path_CXX=$prev$p
14753	   else
14754	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14755	   fi
14756	   ;;
14757	 # The "-l" case would never come before the object being
14758	 # linked, so don't bother handling this case.
14759	 esac
14760       else
14761	 if test -z "$postdeps_CXX"; then
14762	   postdeps_CXX=$prev$p
14763	 else
14764	   postdeps_CXX="${postdeps_CXX} $prev$p"
14765	 fi
14766       fi
14767       prev=
14768       ;;
14769
14770    *.lto.$objext) ;; # Ignore GCC LTO objects
14771    *.$objext)
14772       # This assumes that the test object file only shows up
14773       # once in the compiler output.
14774       if test "$p" = "conftest.$objext"; then
14775	 pre_test_object_deps_done=yes
14776	 continue
14777       fi
14778
14779       if test no = "$pre_test_object_deps_done"; then
14780	 if test -z "$predep_objects_CXX"; then
14781	   predep_objects_CXX=$p
14782	 else
14783	   predep_objects_CXX="$predep_objects_CXX $p"
14784	 fi
14785       else
14786	 if test -z "$postdep_objects_CXX"; then
14787	   postdep_objects_CXX=$p
14788	 else
14789	   postdep_objects_CXX="$postdep_objects_CXX $p"
14790	 fi
14791       fi
14792       ;;
14793
14794    *) ;; # Ignore the rest.
14795
14796    esac
14797  done
14798
14799  # Clean up.
14800  rm -f a.out a.exe
14801else
14802  echo "libtool.m4: error: problem compiling CXX test program"
14803fi
14804
14805$RM -f confest.$objext
14806CFLAGS=$_lt_libdeps_save_CFLAGS
14807
14808# PORTME: override above test on systems where it is broken
14809case $host_os in
14810interix[3-9]*)
14811  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14812  # hack all around it, let's just trust "g++" to DTRT.
14813  predep_objects_CXX=
14814  postdep_objects_CXX=
14815  postdeps_CXX=
14816  ;;
14817esac
14818
14819
14820case " $postdeps_CXX " in
14821*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14822esac
14823 compiler_lib_search_dirs_CXX=
14824if test -n "${compiler_lib_search_path_CXX}"; then
14825 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14826fi
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858    lt_prog_compiler_wl_CXX=
14859lt_prog_compiler_pic_CXX=
14860lt_prog_compiler_static_CXX=
14861
14862
14863  # C++ specific cases for pic, static, wl, etc.
14864  if test yes = "$GXX"; then
14865    lt_prog_compiler_wl_CXX='-Wl,'
14866    lt_prog_compiler_static_CXX='-static'
14867
14868    case $host_os in
14869    aix*)
14870      # All AIX code is PIC.
14871      if test ia64 = "$host_cpu"; then
14872	# AIX 5 now supports IA64 processor
14873	lt_prog_compiler_static_CXX='-Bstatic'
14874      fi
14875      lt_prog_compiler_pic_CXX='-fPIC'
14876      ;;
14877
14878    amigaos*)
14879      case $host_cpu in
14880      powerpc)
14881            # see comment about AmigaOS4 .so support
14882            lt_prog_compiler_pic_CXX='-fPIC'
14883        ;;
14884      m68k)
14885            # FIXME: we need at least 68020 code to build shared libraries, but
14886            # adding the '-m68020' flag to GCC prevents building anything better,
14887            # like '-m68040'.
14888            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14889        ;;
14890      esac
14891      ;;
14892
14893    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14894      # PIC is the default for these OSes.
14895      ;;
14896    mingw* | cygwin* | os2* | pw32* | cegcc*)
14897      # This hack is so that the source file can tell whether it is being
14898      # built for inclusion in a dll (and should export symbols for example).
14899      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14900      # (--disable-auto-import) libraries
14901      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14902      case $host_os in
14903      os2*)
14904	lt_prog_compiler_static_CXX='$wl-static'
14905	;;
14906      esac
14907      ;;
14908    darwin* | rhapsody*)
14909      # PIC is the default on this platform
14910      # Common symbols not allowed in MH_DYLIB files
14911      lt_prog_compiler_pic_CXX='-fno-common'
14912      ;;
14913    *djgpp*)
14914      # DJGPP does not support shared libraries at all
14915      lt_prog_compiler_pic_CXX=
14916      ;;
14917    haiku*)
14918      # PIC is the default for Haiku.
14919      # The "-static" flag exists, but is broken.
14920      lt_prog_compiler_static_CXX=
14921      ;;
14922    interix[3-9]*)
14923      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14924      # Instead, we relocate shared libraries at runtime.
14925      ;;
14926    sysv4*MP*)
14927      if test -d /usr/nec; then
14928	lt_prog_compiler_pic_CXX=-Kconform_pic
14929      fi
14930      ;;
14931    hpux*)
14932      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14933      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14934      # sets the default TLS model and affects inlining.
14935      case $host_cpu in
14936      hppa*64*)
14937	;;
14938      *)
14939	lt_prog_compiler_pic_CXX='-fPIC'
14940	;;
14941      esac
14942      ;;
14943    *qnx* | *nto*)
14944      # QNX uses GNU C++, but need to define -shared option too, otherwise
14945      # it will coredump.
14946      lt_prog_compiler_pic_CXX='-fPIC -shared'
14947      ;;
14948    *)
14949      lt_prog_compiler_pic_CXX='-fPIC'
14950      ;;
14951    esac
14952  else
14953    case $host_os in
14954      aix[4-9]*)
14955	# All AIX code is PIC.
14956	if test ia64 = "$host_cpu"; then
14957	  # AIX 5 now supports IA64 processor
14958	  lt_prog_compiler_static_CXX='-Bstatic'
14959	else
14960	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14961	fi
14962	;;
14963      chorus*)
14964	case $cc_basename in
14965	cxch68*)
14966	  # Green Hills C++ Compiler
14967	  # _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"
14968	  ;;
14969	esac
14970	;;
14971      mingw* | cygwin* | os2* | pw32* | cegcc*)
14972	# This hack is so that the source file can tell whether it is being
14973	# built for inclusion in a dll (and should export symbols for example).
14974	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14975	;;
14976      dgux*)
14977	case $cc_basename in
14978	  ec++*)
14979	    lt_prog_compiler_pic_CXX='-KPIC'
14980	    ;;
14981	  ghcx*)
14982	    # Green Hills C++ Compiler
14983	    lt_prog_compiler_pic_CXX='-pic'
14984	    ;;
14985	  *)
14986	    ;;
14987	esac
14988	;;
14989      freebsd* | dragonfly*)
14990	# FreeBSD uses GNU C++
14991	;;
14992      hpux9* | hpux10* | hpux11*)
14993	case $cc_basename in
14994	  CC*)
14995	    lt_prog_compiler_wl_CXX='-Wl,'
14996	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14997	    if test ia64 != "$host_cpu"; then
14998	      lt_prog_compiler_pic_CXX='+Z'
14999	    fi
15000	    ;;
15001	  aCC*)
15002	    lt_prog_compiler_wl_CXX='-Wl,'
15003	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15004	    case $host_cpu in
15005	    hppa*64*|ia64*)
15006	      # +Z the default
15007	      ;;
15008	    *)
15009	      lt_prog_compiler_pic_CXX='+Z'
15010	      ;;
15011	    esac
15012	    ;;
15013	  *)
15014	    ;;
15015	esac
15016	;;
15017      interix*)
15018	# This is c89, which is MS Visual C++ (no shared libs)
15019	# Anyone wants to do a port?
15020	;;
15021      irix5* | irix6* | nonstopux*)
15022	case $cc_basename in
15023	  CC*)
15024	    lt_prog_compiler_wl_CXX='-Wl,'
15025	    lt_prog_compiler_static_CXX='-non_shared'
15026	    # CC pic flag -KPIC is the default.
15027	    ;;
15028	  *)
15029	    ;;
15030	esac
15031	;;
15032      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15033	case $cc_basename in
15034	  KCC*)
15035	    # KAI C++ Compiler
15036	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15037	    lt_prog_compiler_pic_CXX='-fPIC'
15038	    ;;
15039	  ecpc* )
15040	    # old Intel C++ for x86_64, which still supported -KPIC.
15041	    lt_prog_compiler_wl_CXX='-Wl,'
15042	    lt_prog_compiler_pic_CXX='-KPIC'
15043	    lt_prog_compiler_static_CXX='-static'
15044	    ;;
15045	  icpc* )
15046	    # Intel C++, used to be incompatible with GCC.
15047	    # ICC 10 doesn't accept -KPIC any more.
15048	    lt_prog_compiler_wl_CXX='-Wl,'
15049	    lt_prog_compiler_pic_CXX='-fPIC'
15050	    lt_prog_compiler_static_CXX='-static'
15051	    ;;
15052	  pgCC* | pgcpp*)
15053	    # Portland Group C++ compiler
15054	    lt_prog_compiler_wl_CXX='-Wl,'
15055	    lt_prog_compiler_pic_CXX='-fpic'
15056	    lt_prog_compiler_static_CXX='-Bstatic'
15057	    ;;
15058	  cxx*)
15059	    # Compaq C++
15060	    # Make sure the PIC flag is empty.  It appears that all Alpha
15061	    # Linux and Compaq Tru64 Unix objects are PIC.
15062	    lt_prog_compiler_pic_CXX=
15063	    lt_prog_compiler_static_CXX='-non_shared'
15064	    ;;
15065	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15066	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15067	    lt_prog_compiler_wl_CXX='-Wl,'
15068	    lt_prog_compiler_pic_CXX='-qpic'
15069	    lt_prog_compiler_static_CXX='-qstaticlink'
15070	    ;;
15071	  *)
15072	    case `$CC -V 2>&1 | sed 5q` in
15073	    *Sun\ C*)
15074	      # Sun C++ 5.9
15075	      lt_prog_compiler_pic_CXX='-KPIC'
15076	      lt_prog_compiler_static_CXX='-Bstatic'
15077	      lt_prog_compiler_wl_CXX='-Qoption ld '
15078	      ;;
15079	    esac
15080	    ;;
15081	esac
15082	;;
15083      lynxos*)
15084	;;
15085      m88k*)
15086	;;
15087      mvs*)
15088	case $cc_basename in
15089	  cxx*)
15090	    lt_prog_compiler_pic_CXX='-W c,exportall'
15091	    ;;
15092	  *)
15093	    ;;
15094	esac
15095	;;
15096      netbsd* | netbsdelf*-gnu)
15097	;;
15098      *qnx* | *nto*)
15099        # QNX uses GNU C++, but need to define -shared option too, otherwise
15100        # it will coredump.
15101        lt_prog_compiler_pic_CXX='-fPIC -shared'
15102        ;;
15103      osf3* | osf4* | osf5*)
15104	case $cc_basename in
15105	  KCC*)
15106	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15107	    ;;
15108	  RCC*)
15109	    # Rational C++ 2.4.1
15110	    lt_prog_compiler_pic_CXX='-pic'
15111	    ;;
15112	  cxx*)
15113	    # Digital/Compaq C++
15114	    lt_prog_compiler_wl_CXX='-Wl,'
15115	    # Make sure the PIC flag is empty.  It appears that all Alpha
15116	    # Linux and Compaq Tru64 Unix objects are PIC.
15117	    lt_prog_compiler_pic_CXX=
15118	    lt_prog_compiler_static_CXX='-non_shared'
15119	    ;;
15120	  *)
15121	    ;;
15122	esac
15123	;;
15124      psos*)
15125	;;
15126      solaris*)
15127	case $cc_basename in
15128	  CC* | sunCC*)
15129	    # Sun C++ 4.2, 5.x and Centerline C++
15130	    lt_prog_compiler_pic_CXX='-KPIC'
15131	    lt_prog_compiler_static_CXX='-Bstatic'
15132	    lt_prog_compiler_wl_CXX='-Qoption ld '
15133	    ;;
15134	  gcx*)
15135	    # Green Hills C++ Compiler
15136	    lt_prog_compiler_pic_CXX='-PIC'
15137	    ;;
15138	  *)
15139	    ;;
15140	esac
15141	;;
15142      sunos4*)
15143	case $cc_basename in
15144	  CC*)
15145	    # Sun C++ 4.x
15146	    lt_prog_compiler_pic_CXX='-pic'
15147	    lt_prog_compiler_static_CXX='-Bstatic'
15148	    ;;
15149	  lcc*)
15150	    # Lucid
15151	    lt_prog_compiler_pic_CXX='-pic'
15152	    ;;
15153	  *)
15154	    ;;
15155	esac
15156	;;
15157      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15158	case $cc_basename in
15159	  CC*)
15160	    lt_prog_compiler_wl_CXX='-Wl,'
15161	    lt_prog_compiler_pic_CXX='-KPIC'
15162	    lt_prog_compiler_static_CXX='-Bstatic'
15163	    ;;
15164	esac
15165	;;
15166      tandem*)
15167	case $cc_basename in
15168	  NCC*)
15169	    # NonStop-UX NCC 3.20
15170	    lt_prog_compiler_pic_CXX='-KPIC'
15171	    ;;
15172	  *)
15173	    ;;
15174	esac
15175	;;
15176      vxworks*)
15177	;;
15178      *)
15179	lt_prog_compiler_can_build_shared_CXX=no
15180	;;
15181    esac
15182  fi
15183
15184case $host_os in
15185  # For platforms that do not support PIC, -DPIC is meaningless:
15186  *djgpp*)
15187    lt_prog_compiler_pic_CXX=
15188    ;;
15189  *)
15190    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15191    ;;
15192esac
15193
15194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15195$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15196if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15197  $as_echo_n "(cached) " >&6
15198else
15199  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15200fi
15201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15202$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15203lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15204
15205#
15206# Check to make sure the PIC flag actually works.
15207#
15208if test -n "$lt_prog_compiler_pic_CXX"; then
15209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15210$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15211if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15212  $as_echo_n "(cached) " >&6
15213else
15214  lt_cv_prog_compiler_pic_works_CXX=no
15215   ac_outfile=conftest.$ac_objext
15216   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15217   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15218   # Insert the option either (1) after the last *FLAGS variable, or
15219   # (2) before a word containing "conftest.", or (3) at the end.
15220   # Note that $ac_compile itself does not contain backslashes and begins
15221   # with a dollar sign (not a hyphen), so the echo should work correctly.
15222   # The option is referenced via a variable to avoid confusing sed.
15223   lt_compile=`echo "$ac_compile" | $SED \
15224   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15225   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15226   -e 's:$: $lt_compiler_flag:'`
15227   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15228   (eval "$lt_compile" 2>conftest.err)
15229   ac_status=$?
15230   cat conftest.err >&5
15231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232   if (exit $ac_status) && test -s "$ac_outfile"; then
15233     # The compiler can only warn and ignore the option if not recognized
15234     # So say no if there are warnings other than the usual output.
15235     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15236     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15237     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15238       lt_cv_prog_compiler_pic_works_CXX=yes
15239     fi
15240   fi
15241   $RM conftest*
15242
15243fi
15244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15245$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15246
15247if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15248    case $lt_prog_compiler_pic_CXX in
15249     "" | " "*) ;;
15250     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15251     esac
15252else
15253    lt_prog_compiler_pic_CXX=
15254     lt_prog_compiler_can_build_shared_CXX=no
15255fi
15256
15257fi
15258
15259
15260
15261
15262
15263#
15264# Check to make sure the static flag actually works.
15265#
15266wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15268$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15269if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15270  $as_echo_n "(cached) " >&6
15271else
15272  lt_cv_prog_compiler_static_works_CXX=no
15273   save_LDFLAGS=$LDFLAGS
15274   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15275   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15276   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15277     # The linker can only warn and ignore the option if not recognized
15278     # So say no if there are warnings
15279     if test -s conftest.err; then
15280       # Append any errors to the config.log.
15281       cat conftest.err 1>&5
15282       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15283       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15284       if diff conftest.exp conftest.er2 >/dev/null; then
15285         lt_cv_prog_compiler_static_works_CXX=yes
15286       fi
15287     else
15288       lt_cv_prog_compiler_static_works_CXX=yes
15289     fi
15290   fi
15291   $RM -r conftest*
15292   LDFLAGS=$save_LDFLAGS
15293
15294fi
15295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15296$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15297
15298if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15299    :
15300else
15301    lt_prog_compiler_static_CXX=
15302fi
15303
15304
15305
15306
15307    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15308$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15309if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15310  $as_echo_n "(cached) " >&6
15311else
15312  lt_cv_prog_compiler_c_o_CXX=no
15313   $RM -r conftest 2>/dev/null
15314   mkdir conftest
15315   cd conftest
15316   mkdir out
15317   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15318
15319   lt_compiler_flag="-o out/conftest2.$ac_objext"
15320   # Insert the option either (1) after the last *FLAGS variable, or
15321   # (2) before a word containing "conftest.", or (3) at the end.
15322   # Note that $ac_compile itself does not contain backslashes and begins
15323   # with a dollar sign (not a hyphen), so the echo should work correctly.
15324   lt_compile=`echo "$ac_compile" | $SED \
15325   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15326   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15327   -e 's:$: $lt_compiler_flag:'`
15328   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15329   (eval "$lt_compile" 2>out/conftest.err)
15330   ac_status=$?
15331   cat out/conftest.err >&5
15332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15334   then
15335     # The compiler can only warn and ignore the option if not recognized
15336     # So say no if there are warnings
15337     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15338     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15339     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15340       lt_cv_prog_compiler_c_o_CXX=yes
15341     fi
15342   fi
15343   chmod u+w . 2>&5
15344   $RM conftest*
15345   # SGI C++ compiler will create directory out/ii_files/ for
15346   # template instantiation
15347   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15348   $RM out/* && rmdir out
15349   cd ..
15350   $RM -r conftest
15351   $RM conftest*
15352
15353fi
15354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15355$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15356
15357
15358
15359    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15360$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15361if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15362  $as_echo_n "(cached) " >&6
15363else
15364  lt_cv_prog_compiler_c_o_CXX=no
15365   $RM -r conftest 2>/dev/null
15366   mkdir conftest
15367   cd conftest
15368   mkdir out
15369   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15370
15371   lt_compiler_flag="-o out/conftest2.$ac_objext"
15372   # Insert the option either (1) after the last *FLAGS variable, or
15373   # (2) before a word containing "conftest.", or (3) at the end.
15374   # Note that $ac_compile itself does not contain backslashes and begins
15375   # with a dollar sign (not a hyphen), so the echo should work correctly.
15376   lt_compile=`echo "$ac_compile" | $SED \
15377   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15378   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15379   -e 's:$: $lt_compiler_flag:'`
15380   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15381   (eval "$lt_compile" 2>out/conftest.err)
15382   ac_status=$?
15383   cat out/conftest.err >&5
15384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15386   then
15387     # The compiler can only warn and ignore the option if not recognized
15388     # So say no if there are warnings
15389     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15390     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15391     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15392       lt_cv_prog_compiler_c_o_CXX=yes
15393     fi
15394   fi
15395   chmod u+w . 2>&5
15396   $RM conftest*
15397   # SGI C++ compiler will create directory out/ii_files/ for
15398   # template instantiation
15399   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15400   $RM out/* && rmdir out
15401   cd ..
15402   $RM -r conftest
15403   $RM conftest*
15404
15405fi
15406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15407$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15408
15409
15410
15411
15412hard_links=nottested
15413if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15414  # do not overwrite the value of need_locks provided by the user
15415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15416$as_echo_n "checking if we can lock with hard links... " >&6; }
15417  hard_links=yes
15418  $RM conftest*
15419  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15420  touch conftest.a
15421  ln conftest.a conftest.b 2>&5 || hard_links=no
15422  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15424$as_echo "$hard_links" >&6; }
15425  if test no = "$hard_links"; then
15426    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15427$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15428    need_locks=warn
15429  fi
15430else
15431  need_locks=no
15432fi
15433
15434
15435
15436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15437$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15438
15439  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15440  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15441  case $host_os in
15442  aix[4-9]*)
15443    # If we're using GNU nm, then we don't want the "-C" option.
15444    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15445    # Without the "-l" option, or with the "-B" option, AIX nm treats
15446    # weak defined symbols like other global defined symbols, whereas
15447    # GNU nm marks them as "W".
15448    # While the 'weak' keyword is ignored in the Export File, we need
15449    # it in the Import File for the 'aix-soname' feature, so we have
15450    # to replace the "-B" option with "-P" for AIX nm.
15451    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15452      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'
15453    else
15454      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'
15455    fi
15456    ;;
15457  pw32*)
15458    export_symbols_cmds_CXX=$ltdll_cmds
15459    ;;
15460  cygwin* | mingw* | cegcc*)
15461    case $cc_basename in
15462    cl*)
15463      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15464      ;;
15465    *)
15466      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'
15467      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15468      ;;
15469    esac
15470    ;;
15471  linux* | k*bsd*-gnu | gnu*)
15472    link_all_deplibs_CXX=no
15473    ;;
15474  *)
15475    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15476    ;;
15477  esac
15478
15479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15480$as_echo "$ld_shlibs_CXX" >&6; }
15481test no = "$ld_shlibs_CXX" && can_build_shared=no
15482
15483with_gnu_ld_CXX=$with_gnu_ld
15484
15485
15486
15487
15488
15489
15490#
15491# Do we need to explicitly link libc?
15492#
15493case "x$archive_cmds_need_lc_CXX" in
15494x|xyes)
15495  # Assume -lc should be added
15496  archive_cmds_need_lc_CXX=yes
15497
15498  if test yes,yes = "$GCC,$enable_shared"; then
15499    case $archive_cmds_CXX in
15500    *'~'*)
15501      # FIXME: we may have to deal with multi-command sequences.
15502      ;;
15503    '$CC '*)
15504      # Test whether the compiler implicitly links with -lc since on some
15505      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15506      # to ld, don't add -lc before -lgcc.
15507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15508$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15509if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15510  $as_echo_n "(cached) " >&6
15511else
15512  $RM conftest*
15513	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15514
15515	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15516  (eval $ac_compile) 2>&5
15517  ac_status=$?
15518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15519  test $ac_status = 0; } 2>conftest.err; then
15520	  soname=conftest
15521	  lib=conftest
15522	  libobjs=conftest.$ac_objext
15523	  deplibs=
15524	  wl=$lt_prog_compiler_wl_CXX
15525	  pic_flag=$lt_prog_compiler_pic_CXX
15526	  compiler_flags=-v
15527	  linker_flags=-v
15528	  verstring=
15529	  output_objdir=.
15530	  libname=conftest
15531	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15532	  allow_undefined_flag_CXX=
15533	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15534  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15535  ac_status=$?
15536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15537  test $ac_status = 0; }
15538	  then
15539	    lt_cv_archive_cmds_need_lc_CXX=no
15540	  else
15541	    lt_cv_archive_cmds_need_lc_CXX=yes
15542	  fi
15543	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15544	else
15545	  cat conftest.err 1>&5
15546	fi
15547	$RM conftest*
15548
15549fi
15550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15551$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15552      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15553      ;;
15554    esac
15555  fi
15556  ;;
15557esac
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15621$as_echo_n "checking dynamic linker characteristics... " >&6; }
15622
15623library_names_spec=
15624libname_spec='lib$name'
15625soname_spec=
15626shrext_cmds=.so
15627postinstall_cmds=
15628postuninstall_cmds=
15629finish_cmds=
15630finish_eval=
15631shlibpath_var=
15632shlibpath_overrides_runpath=unknown
15633version_type=none
15634dynamic_linker="$host_os ld.so"
15635sys_lib_dlsearch_path_spec="/lib /usr/lib"
15636need_lib_prefix=unknown
15637hardcode_into_libs=no
15638
15639# when you set need_version to no, make sure it does not cause -set_version
15640# flags to be left without arguments
15641need_version=unknown
15642
15643
15644
15645case $host_os in
15646aix3*)
15647  version_type=linux # correct to gnu/linux during the next big refactor
15648  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15649  shlibpath_var=LIBPATH
15650
15651  # AIX 3 has no versioning support, so we append a major version to the name.
15652  soname_spec='$libname$release$shared_ext$major'
15653  ;;
15654
15655aix[4-9]*)
15656  version_type=linux # correct to gnu/linux during the next big refactor
15657  need_lib_prefix=no
15658  need_version=no
15659  hardcode_into_libs=yes
15660  if test ia64 = "$host_cpu"; then
15661    # AIX 5 supports IA64
15662    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15663    shlibpath_var=LD_LIBRARY_PATH
15664  else
15665    # With GCC up to 2.95.x, collect2 would create an import file
15666    # for dependence libraries.  The import file would start with
15667    # the line '#! .'.  This would cause the generated library to
15668    # depend on '.', always an invalid library.  This was fixed in
15669    # development snapshots of GCC prior to 3.0.
15670    case $host_os in
15671      aix4 | aix4.[01] | aix4.[01].*)
15672      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15673	   echo ' yes '
15674	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15675	:
15676      else
15677	can_build_shared=no
15678      fi
15679      ;;
15680    esac
15681    # Using Import Files as archive members, it is possible to support
15682    # filename-based versioning of shared library archives on AIX. While
15683    # this would work for both with and without runtime linking, it will
15684    # prevent static linking of such archives. So we do filename-based
15685    # shared library versioning with .so extension only, which is used
15686    # when both runtime linking and shared linking is enabled.
15687    # Unfortunately, runtime linking may impact performance, so we do
15688    # not want this to be the default eventually. Also, we use the
15689    # versioned .so libs for executables only if there is the -brtl
15690    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15691    # To allow for filename-based versioning support, we need to create
15692    # libNAME.so.V as an archive file, containing:
15693    # *) an Import File, referring to the versioned filename of the
15694    #    archive as well as the shared archive member, telling the
15695    #    bitwidth (32 or 64) of that shared object, and providing the
15696    #    list of exported symbols of that shared object, eventually
15697    #    decorated with the 'weak' keyword
15698    # *) the shared object with the F_LOADONLY flag set, to really avoid
15699    #    it being seen by the linker.
15700    # At run time we better use the real file rather than another symlink,
15701    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15702
15703    case $with_aix_soname,$aix_use_runtimelinking in
15704    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15705    # soname into executable. Probably we can add versioning support to
15706    # collect2, so additional links can be useful in future.
15707    aix,yes) # traditional libtool
15708      dynamic_linker='AIX unversionable lib.so'
15709      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15710      # instead of lib<name>.a to let people know that these are not
15711      # typical AIX shared libraries.
15712      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15713      ;;
15714    aix,no) # traditional AIX only
15715      dynamic_linker='AIX lib.a(lib.so.V)'
15716      # We preserve .a as extension for shared libraries through AIX4.2
15717      # and later when we are not doing run time linking.
15718      library_names_spec='$libname$release.a $libname.a'
15719      soname_spec='$libname$release$shared_ext$major'
15720      ;;
15721    svr4,*) # full svr4 only
15722      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15723      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15724      # We do not specify a path in Import Files, so LIBPATH fires.
15725      shlibpath_overrides_runpath=yes
15726      ;;
15727    *,yes) # both, prefer svr4
15728      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15729      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15730      # unpreferred sharedlib libNAME.a needs extra handling
15731      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"'
15732      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"'
15733      # We do not specify a path in Import Files, so LIBPATH fires.
15734      shlibpath_overrides_runpath=yes
15735      ;;
15736    *,no) # both, prefer aix
15737      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15738      library_names_spec='$libname$release.a $libname.a'
15739      soname_spec='$libname$release$shared_ext$major'
15740      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15741      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)'
15742      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"'
15743      ;;
15744    esac
15745    shlibpath_var=LIBPATH
15746  fi
15747  ;;
15748
15749amigaos*)
15750  case $host_cpu in
15751  powerpc)
15752    # Since July 2007 AmigaOS4 officially supports .so libraries.
15753    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15754    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15755    ;;
15756  m68k)
15757    library_names_spec='$libname.ixlibrary $libname.a'
15758    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15759    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'
15760    ;;
15761  esac
15762  ;;
15763
15764beos*)
15765  library_names_spec='$libname$shared_ext'
15766  dynamic_linker="$host_os ld.so"
15767  shlibpath_var=LIBRARY_PATH
15768  ;;
15769
15770bsdi[45]*)
15771  version_type=linux # correct to gnu/linux during the next big refactor
15772  need_version=no
15773  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15774  soname_spec='$libname$release$shared_ext$major'
15775  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15776  shlibpath_var=LD_LIBRARY_PATH
15777  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15778  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15779  # the default ld.so.conf also contains /usr/contrib/lib and
15780  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15781  # libtool to hard-code these into programs
15782  ;;
15783
15784cygwin* | mingw* | pw32* | cegcc*)
15785  version_type=windows
15786  shrext_cmds=.dll
15787  need_version=no
15788  need_lib_prefix=no
15789
15790  case $GCC,$cc_basename in
15791  yes,*)
15792    # gcc
15793    library_names_spec='$libname.dll.a'
15794    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15795    postinstall_cmds='base_file=`basename \$file`~
15796      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15797      dldir=$destdir/`dirname \$dlpath`~
15798      test -d \$dldir || mkdir -p \$dldir~
15799      $install_prog $dir/$dlname \$dldir/$dlname~
15800      chmod a+x \$dldir/$dlname~
15801      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15802        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15803      fi'
15804    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15805      dlpath=$dir/\$dldll~
15806       $RM \$dlpath'
15807    shlibpath_overrides_runpath=yes
15808
15809    case $host_os in
15810    cygwin*)
15811      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15812      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15813
15814      ;;
15815    mingw* | cegcc*)
15816      # MinGW DLLs use traditional 'lib' prefix
15817      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15818      ;;
15819    pw32*)
15820      # pw32 DLLs use 'pw' prefix rather than 'lib'
15821      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15822      ;;
15823    esac
15824    dynamic_linker='Win32 ld.exe'
15825    ;;
15826
15827  *,cl*)
15828    # Native MSVC
15829    libname_spec='$name'
15830    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15831    library_names_spec='$libname.dll.lib'
15832
15833    case $build_os in
15834    mingw*)
15835      sys_lib_search_path_spec=
15836      lt_save_ifs=$IFS
15837      IFS=';'
15838      for lt_path in $LIB
15839      do
15840        IFS=$lt_save_ifs
15841        # Let DOS variable expansion print the short 8.3 style file name.
15842        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15843        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15844      done
15845      IFS=$lt_save_ifs
15846      # Convert to MSYS style.
15847      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15848      ;;
15849    cygwin*)
15850      # Convert to unix form, then to dos form, then back to unix form
15851      # but this time dos style (no spaces!) so that the unix form looks
15852      # like /cygdrive/c/PROGRA~1:/cygdr...
15853      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15854      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15855      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15856      ;;
15857    *)
15858      sys_lib_search_path_spec=$LIB
15859      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15860        # It is most probably a Windows format PATH.
15861        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15862      else
15863        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15864      fi
15865      # FIXME: find the short name or the path components, as spaces are
15866      # common. (e.g. "Program Files" -> "PROGRA~1")
15867      ;;
15868    esac
15869
15870    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15871    postinstall_cmds='base_file=`basename \$file`~
15872      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15873      dldir=$destdir/`dirname \$dlpath`~
15874      test -d \$dldir || mkdir -p \$dldir~
15875      $install_prog $dir/$dlname \$dldir/$dlname'
15876    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15877      dlpath=$dir/\$dldll~
15878       $RM \$dlpath'
15879    shlibpath_overrides_runpath=yes
15880    dynamic_linker='Win32 link.exe'
15881    ;;
15882
15883  *)
15884    # Assume MSVC wrapper
15885    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15886    dynamic_linker='Win32 ld.exe'
15887    ;;
15888  esac
15889  # FIXME: first we should search . and the directory the executable is in
15890  shlibpath_var=PATH
15891  ;;
15892
15893darwin* | rhapsody*)
15894  dynamic_linker="$host_os dyld"
15895  version_type=darwin
15896  need_lib_prefix=no
15897  need_version=no
15898  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15899  soname_spec='$libname$release$major$shared_ext'
15900  shlibpath_overrides_runpath=yes
15901  shlibpath_var=DYLD_LIBRARY_PATH
15902  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15903
15904  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15905  ;;
15906
15907dgux*)
15908  version_type=linux # correct to gnu/linux during the next big refactor
15909  need_lib_prefix=no
15910  need_version=no
15911  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15912  soname_spec='$libname$release$shared_ext$major'
15913  shlibpath_var=LD_LIBRARY_PATH
15914  ;;
15915
15916freebsd* | dragonfly*)
15917  # DragonFly does not have aout.  When/if they implement a new
15918  # versioning mechanism, adjust this.
15919  if test -x /usr/bin/objformat; then
15920    objformat=`/usr/bin/objformat`
15921  else
15922    case $host_os in
15923    freebsd[23].*) objformat=aout ;;
15924    *) objformat=elf ;;
15925    esac
15926  fi
15927  version_type=freebsd-$objformat
15928  case $version_type in
15929    freebsd-elf*)
15930      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15931      soname_spec='$libname$release$shared_ext$major'
15932      need_version=no
15933      need_lib_prefix=no
15934      ;;
15935    freebsd-*)
15936      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15937      need_version=yes
15938      ;;
15939  esac
15940  shlibpath_var=LD_LIBRARY_PATH
15941  case $host_os in
15942  freebsd2.*)
15943    shlibpath_overrides_runpath=yes
15944    ;;
15945  freebsd3.[01]* | freebsdelf3.[01]*)
15946    shlibpath_overrides_runpath=yes
15947    hardcode_into_libs=yes
15948    ;;
15949  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15950  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15951    shlibpath_overrides_runpath=no
15952    hardcode_into_libs=yes
15953    ;;
15954  *) # from 4.6 on, and DragonFly
15955    shlibpath_overrides_runpath=yes
15956    hardcode_into_libs=yes
15957    ;;
15958  esac
15959  ;;
15960
15961haiku*)
15962  version_type=linux # correct to gnu/linux during the next big refactor
15963  need_lib_prefix=no
15964  need_version=no
15965  dynamic_linker="$host_os runtime_loader"
15966  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15967  soname_spec='$libname$release$shared_ext$major'
15968  shlibpath_var=LIBRARY_PATH
15969  shlibpath_overrides_runpath=no
15970  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15971  hardcode_into_libs=yes
15972  ;;
15973
15974hpux9* | hpux10* | hpux11*)
15975  # Give a soname corresponding to the major version so that dld.sl refuses to
15976  # link against other versions.
15977  version_type=sunos
15978  need_lib_prefix=no
15979  need_version=no
15980  case $host_cpu in
15981  ia64*)
15982    shrext_cmds='.so'
15983    hardcode_into_libs=yes
15984    dynamic_linker="$host_os dld.so"
15985    shlibpath_var=LD_LIBRARY_PATH
15986    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15987    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15988    soname_spec='$libname$release$shared_ext$major'
15989    if test 32 = "$HPUX_IA64_MODE"; then
15990      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15991      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15992    else
15993      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15994      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15995    fi
15996    ;;
15997  hppa*64*)
15998    shrext_cmds='.sl'
15999    hardcode_into_libs=yes
16000    dynamic_linker="$host_os dld.sl"
16001    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16002    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16003    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16004    soname_spec='$libname$release$shared_ext$major'
16005    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16006    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16007    ;;
16008  *)
16009    shrext_cmds='.sl'
16010    dynamic_linker="$host_os dld.sl"
16011    shlibpath_var=SHLIB_PATH
16012    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16013    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16014    soname_spec='$libname$release$shared_ext$major'
16015    ;;
16016  esac
16017  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16018  postinstall_cmds='chmod 555 $lib'
16019  # or fails outright, so override atomically:
16020  install_override_mode=555
16021  ;;
16022
16023interix[3-9]*)
16024  version_type=linux # correct to gnu/linux during the next big refactor
16025  need_lib_prefix=no
16026  need_version=no
16027  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16028  soname_spec='$libname$release$shared_ext$major'
16029  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16030  shlibpath_var=LD_LIBRARY_PATH
16031  shlibpath_overrides_runpath=no
16032  hardcode_into_libs=yes
16033  ;;
16034
16035irix5* | irix6* | nonstopux*)
16036  case $host_os in
16037    nonstopux*) version_type=nonstopux ;;
16038    *)
16039	if test yes = "$lt_cv_prog_gnu_ld"; then
16040		version_type=linux # correct to gnu/linux during the next big refactor
16041	else
16042		version_type=irix
16043	fi ;;
16044  esac
16045  need_lib_prefix=no
16046  need_version=no
16047  soname_spec='$libname$release$shared_ext$major'
16048  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16049  case $host_os in
16050  irix5* | nonstopux*)
16051    libsuff= shlibsuff=
16052    ;;
16053  *)
16054    case $LD in # libtool.m4 will add one of these switches to LD
16055    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16056      libsuff= shlibsuff= libmagic=32-bit;;
16057    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16058      libsuff=32 shlibsuff=N32 libmagic=N32;;
16059    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16060      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16061    *) libsuff= shlibsuff= libmagic=never-match;;
16062    esac
16063    ;;
16064  esac
16065  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16066  shlibpath_overrides_runpath=no
16067  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16068  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16069  hardcode_into_libs=yes
16070  ;;
16071
16072# No shared lib support for Linux oldld, aout, or coff.
16073linux*oldld* | linux*aout* | linux*coff*)
16074  dynamic_linker=no
16075  ;;
16076
16077linux*android*)
16078  version_type=none # Android doesn't support versioned libraries.
16079  need_lib_prefix=no
16080  need_version=no
16081  library_names_spec='$libname$release$shared_ext'
16082  soname_spec='$libname$release$shared_ext'
16083  finish_cmds=
16084  shlibpath_var=LD_LIBRARY_PATH
16085  shlibpath_overrides_runpath=yes
16086
16087  # This implies no fast_install, which is unacceptable.
16088  # Some rework will be needed to allow for fast_install
16089  # before this can be enabled.
16090  hardcode_into_libs=yes
16091
16092  dynamic_linker='Android linker'
16093  # Don't embed -rpath directories since the linker doesn't support them.
16094  hardcode_libdir_flag_spec_CXX='-L$libdir'
16095  ;;
16096
16097# This must be glibc/ELF.
16098linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16099  version_type=linux # correct to gnu/linux during the next big refactor
16100  need_lib_prefix=no
16101  need_version=no
16102  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16103  soname_spec='$libname$release$shared_ext$major'
16104  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16105  shlibpath_var=LD_LIBRARY_PATH
16106  shlibpath_overrides_runpath=no
16107
16108  # Some binutils ld are patched to set DT_RUNPATH
16109  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16110  $as_echo_n "(cached) " >&6
16111else
16112  lt_cv_shlibpath_overrides_runpath=no
16113    save_LDFLAGS=$LDFLAGS
16114    save_libdir=$libdir
16115    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16116	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16117    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118/* end confdefs.h.  */
16119
16120int
16121main ()
16122{
16123
16124  ;
16125  return 0;
16126}
16127_ACEOF
16128if ac_fn_cxx_try_link "$LINENO"; then :
16129  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16130  lt_cv_shlibpath_overrides_runpath=yes
16131fi
16132fi
16133rm -f core conftest.err conftest.$ac_objext \
16134    conftest$ac_exeext conftest.$ac_ext
16135    LDFLAGS=$save_LDFLAGS
16136    libdir=$save_libdir
16137
16138fi
16139
16140  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16141
16142  # This implies no fast_install, which is unacceptable.
16143  # Some rework will be needed to allow for fast_install
16144  # before this can be enabled.
16145  hardcode_into_libs=yes
16146
16147  # Ideally, we could use ldconfig to report *all* directores which are
16148  # searched for libraries, however this is still not possible.  Aside from not
16149  # being certain /sbin/ldconfig is available, command
16150  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16151  # even though it is searched at run-time.  Try to do the best guess by
16152  # appending ld.so.conf contents (and includes) to the search path.
16153  if test -f /etc/ld.so.conf; then
16154    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' ' '`
16155    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16156  fi
16157
16158  # We used to test for /lib/ld.so.1 and disable shared libraries on
16159  # powerpc, because MkLinux only supported shared libraries with the
16160  # GNU dynamic linker.  Since this was broken with cross compilers,
16161  # most powerpc-linux boxes support dynamic linking these days and
16162  # people can always --disable-shared, the test was removed, and we
16163  # assume the GNU/Linux dynamic linker is in use.
16164  dynamic_linker='GNU/Linux ld.so'
16165  ;;
16166
16167netbsdelf*-gnu)
16168  version_type=linux
16169  need_lib_prefix=no
16170  need_version=no
16171  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16172  soname_spec='${libname}${release}${shared_ext}$major'
16173  shlibpath_var=LD_LIBRARY_PATH
16174  shlibpath_overrides_runpath=no
16175  hardcode_into_libs=yes
16176  dynamic_linker='NetBSD ld.elf_so'
16177  ;;
16178
16179netbsd*)
16180  version_type=sunos
16181  need_lib_prefix=no
16182  need_version=no
16183  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16184    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16185    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16186    dynamic_linker='NetBSD (a.out) ld.so'
16187  else
16188    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16189    soname_spec='$libname$release$shared_ext$major'
16190    dynamic_linker='NetBSD ld.elf_so'
16191  fi
16192  shlibpath_var=LD_LIBRARY_PATH
16193  shlibpath_overrides_runpath=yes
16194  hardcode_into_libs=yes
16195  ;;
16196
16197newsos6)
16198  version_type=linux # correct to gnu/linux during the next big refactor
16199  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16200  shlibpath_var=LD_LIBRARY_PATH
16201  shlibpath_overrides_runpath=yes
16202  ;;
16203
16204*nto* | *qnx*)
16205  version_type=qnx
16206  need_lib_prefix=no
16207  need_version=no
16208  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16209  soname_spec='$libname$release$shared_ext$major'
16210  shlibpath_var=LD_LIBRARY_PATH
16211  shlibpath_overrides_runpath=no
16212  hardcode_into_libs=yes
16213  dynamic_linker='ldqnx.so'
16214  ;;
16215
16216openbsd* | bitrig*)
16217  version_type=sunos
16218  sys_lib_dlsearch_path_spec=/usr/lib
16219  need_lib_prefix=no
16220  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16221    need_version=no
16222  else
16223    need_version=yes
16224  fi
16225  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16226  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16227  shlibpath_var=LD_LIBRARY_PATH
16228  shlibpath_overrides_runpath=yes
16229  ;;
16230
16231os2*)
16232  libname_spec='$name'
16233  version_type=windows
16234  shrext_cmds=.dll
16235  need_version=no
16236  need_lib_prefix=no
16237  # OS/2 can only load a DLL with a base name of 8 characters or less.
16238  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16239    v=$($ECHO $release$versuffix | tr -d .-);
16240    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16241    $ECHO $n$v`$shared_ext'
16242  library_names_spec='${libname}_dll.$libext'
16243  dynamic_linker='OS/2 ld.exe'
16244  shlibpath_var=BEGINLIBPATH
16245  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16246  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16247  postinstall_cmds='base_file=`basename \$file`~
16248    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16249    dldir=$destdir/`dirname \$dlpath`~
16250    test -d \$dldir || mkdir -p \$dldir~
16251    $install_prog $dir/$dlname \$dldir/$dlname~
16252    chmod a+x \$dldir/$dlname~
16253    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16254      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16255    fi'
16256  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16257    dlpath=$dir/\$dldll~
16258    $RM \$dlpath'
16259  ;;
16260
16261osf3* | osf4* | osf5*)
16262  version_type=osf
16263  need_lib_prefix=no
16264  need_version=no
16265  soname_spec='$libname$release$shared_ext$major'
16266  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16267  shlibpath_var=LD_LIBRARY_PATH
16268  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16269  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16270  ;;
16271
16272rdos*)
16273  dynamic_linker=no
16274  ;;
16275
16276solaris*)
16277  version_type=linux # correct to gnu/linux during the next big refactor
16278  need_lib_prefix=no
16279  need_version=no
16280  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16281  soname_spec='$libname$release$shared_ext$major'
16282  shlibpath_var=LD_LIBRARY_PATH
16283  shlibpath_overrides_runpath=yes
16284  hardcode_into_libs=yes
16285  # ldd complains unless libraries are executable
16286  postinstall_cmds='chmod +x $lib'
16287  ;;
16288
16289sunos4*)
16290  version_type=sunos
16291  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16292  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16293  shlibpath_var=LD_LIBRARY_PATH
16294  shlibpath_overrides_runpath=yes
16295  if test yes = "$with_gnu_ld"; then
16296    need_lib_prefix=no
16297  fi
16298  need_version=yes
16299  ;;
16300
16301sysv4 | sysv4.3*)
16302  version_type=linux # correct to gnu/linux during the next big refactor
16303  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16304  soname_spec='$libname$release$shared_ext$major'
16305  shlibpath_var=LD_LIBRARY_PATH
16306  case $host_vendor in
16307    sni)
16308      shlibpath_overrides_runpath=no
16309      need_lib_prefix=no
16310      runpath_var=LD_RUN_PATH
16311      ;;
16312    siemens)
16313      need_lib_prefix=no
16314      ;;
16315    motorola)
16316      need_lib_prefix=no
16317      need_version=no
16318      shlibpath_overrides_runpath=no
16319      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16320      ;;
16321  esac
16322  ;;
16323
16324sysv4*MP*)
16325  if test -d /usr/nec; then
16326    version_type=linux # correct to gnu/linux during the next big refactor
16327    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16328    soname_spec='$libname$shared_ext.$major'
16329    shlibpath_var=LD_LIBRARY_PATH
16330  fi
16331  ;;
16332
16333sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16334  version_type=sco
16335  need_lib_prefix=no
16336  need_version=no
16337  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16338  soname_spec='$libname$release$shared_ext$major'
16339  shlibpath_var=LD_LIBRARY_PATH
16340  shlibpath_overrides_runpath=yes
16341  hardcode_into_libs=yes
16342  if test yes = "$with_gnu_ld"; then
16343    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16344  else
16345    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16346    case $host_os in
16347      sco3.2v5*)
16348        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16349	;;
16350    esac
16351  fi
16352  sys_lib_dlsearch_path_spec='/usr/lib'
16353  ;;
16354
16355tpf*)
16356  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16357  version_type=linux # correct to gnu/linux during the next big refactor
16358  need_lib_prefix=no
16359  need_version=no
16360  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16361  shlibpath_var=LD_LIBRARY_PATH
16362  shlibpath_overrides_runpath=no
16363  hardcode_into_libs=yes
16364  ;;
16365
16366uts4*)
16367  version_type=linux # correct to gnu/linux during the next big refactor
16368  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16369  soname_spec='$libname$release$shared_ext$major'
16370  shlibpath_var=LD_LIBRARY_PATH
16371  ;;
16372
16373*)
16374  dynamic_linker=no
16375  ;;
16376esac
16377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16378$as_echo "$dynamic_linker" >&6; }
16379test no = "$dynamic_linker" && can_build_shared=no
16380
16381variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16382if test yes = "$GCC"; then
16383  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16384fi
16385
16386if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16387  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16388fi
16389
16390if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16391  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16392fi
16393
16394# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16395configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16396
16397# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16398func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16399
16400# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16401configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16443$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16444hardcode_action_CXX=
16445if test -n "$hardcode_libdir_flag_spec_CXX" ||
16446   test -n "$runpath_var_CXX" ||
16447   test yes = "$hardcode_automatic_CXX"; then
16448
16449  # We can hardcode non-existent directories.
16450  if test no != "$hardcode_direct_CXX" &&
16451     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16452     # have to relink, otherwise we might link with an installed library
16453     # when we should be linking with a yet-to-be-installed one
16454     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16455     test no != "$hardcode_minus_L_CXX"; then
16456    # Linking always hardcodes the temporary library directory.
16457    hardcode_action_CXX=relink
16458  else
16459    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16460    hardcode_action_CXX=immediate
16461  fi
16462else
16463  # We cannot hardcode anything, or else we can only hardcode existing
16464  # directories.
16465  hardcode_action_CXX=unsupported
16466fi
16467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16468$as_echo "$hardcode_action_CXX" >&6; }
16469
16470if test relink = "$hardcode_action_CXX" ||
16471   test yes = "$inherit_rpath_CXX"; then
16472  # Fast installation is not supported
16473  enable_fast_install=no
16474elif test yes = "$shlibpath_overrides_runpath" ||
16475     test no = "$enable_shared"; then
16476  # Fast installation is not necessary
16477  enable_fast_install=needless
16478fi
16479
16480
16481
16482
16483
16484
16485
16486  fi # test -n "$compiler"
16487
16488  CC=$lt_save_CC
16489  CFLAGS=$lt_save_CFLAGS
16490  LDCXX=$LD
16491  LD=$lt_save_LD
16492  GCC=$lt_save_GCC
16493  with_gnu_ld=$lt_save_with_gnu_ld
16494  lt_cv_path_LDCXX=$lt_cv_path_LD
16495  lt_cv_path_LD=$lt_save_path_LD
16496  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16497  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16498fi # test yes != "$_lt_caught_CXX_error"
16499
16500ac_ext=c
16501ac_cpp='$CPP $CPPFLAGS'
16502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504ac_compiler_gnu=$ac_cv_c_compiler_gnu
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520        ac_config_commands="$ac_config_commands libtool"
16521
16522
16523
16524
16525# Only expand once:
16526
16527
16528
16529
16530
16531Home=`pwd`
16532
16533
16534# Check whether --enable-debug was given.
16535if test "${enable_debug+set}" = set; then :
16536  enableval=$enable_debug;
16537else
16538  enable_debug=no
16539fi
16540
16541# Check whether --enable-gprof was given.
16542if test "${enable_gprof+set}" = set; then :
16543  enableval=$enable_gprof;
16544else
16545  enable_gprof=no
16546fi
16547
16548# Check whether --enable-visibility was given.
16549if test "${enable_visibility+set}" = set; then :
16550  enableval=$enable_visibility;
16551else
16552  enable_visibility=no
16553fi
16554
16555# Check whether --enable-universal_binary was given.
16556if test "${enable_universal_binary+set}" = set; then :
16557  enableval=$enable_universal_binary;
16558else
16559  enable_universal_binary=no
16560fi
16561
16562# Check whether --enable-arch-ppc was given.
16563if test "${enable_arch_ppc+set}" = set; then :
16564  enableval=$enable_arch_ppc;
16565else
16566  enable_arch_ppc=no
16567fi
16568
16569# Check whether --enable-arch-ppc64 was given.
16570if test "${enable_arch_ppc64+set}" = set; then :
16571  enableval=$enable_arch_ppc64;
16572else
16573  enable_arch_ppc64=no
16574fi
16575
16576# Check whether --enable-arch-i386 was given.
16577if test "${enable_arch_i386+set}" = set; then :
16578  enableval=$enable_arch_i386;
16579else
16580  enable_arch_i386=no
16581fi
16582
16583# Check whether --enable-arch-x86_64 was given.
16584if test "${enable_arch_x86_64+set}" = set; then :
16585  enableval=$enable_arch_x86_64;
16586else
16587  enable_arch_x86_64=no
16588fi
16589
16590# Check whether --enable-arch-armv7 was given.
16591if test "${enable_arch_armv7+set}" = set; then :
16592  enableval=$enable_arch_armv7;
16593else
16594  enable_arch_armv7=no
16595fi
16596
16597# Check whether --enable-arch-armv7s was given.
16598if test "${enable_arch_armv7s+set}" = set; then :
16599  enableval=$enable_arch_armv7s;
16600else
16601  enable_arch_armv7s=no
16602fi
16603
16604# Check whether --enable-arch-arm64 was given.
16605if test "${enable_arch_arm64+set}" = set; then :
16606  enableval=$enable_arch_arm64;
16607else
16608  enable_arch_arm64=no
16609fi
16610
16611# Check whether --enable-staticlibs was given.
16612if test "${enable_staticlibs+set}" = set; then :
16613  enableval=$enable_staticlibs;
16614else
16615  enable_staticlibs=no
16616fi
16617
16618# Check whether --enable-minimize-size was given.
16619if test "${enable_minimize_size+set}" = set; then :
16620  enableval=$enable_minimize_size; MediaInfoMinimizeSize=$enableval
16621else
16622  MediaInfoMinimizeSize=depend
16623fi
16624
16625# Check whether --enable-minimal was given.
16626if test "${enable_minimal+set}" = set; then :
16627  enableval=$enable_minimal; MediaInfoMinimal=$enableval
16628else
16629  MediaInfoMinimal=depend
16630fi
16631
16632# Check whether --enable-trace was given.
16633if test "${enable_trace+set}" = set; then :
16634  enableval=$enable_trace; MediaInfoTrace=$enableval
16635else
16636  MediaInfoTrace=depend
16637fi
16638
16639# Check whether --enable-events was given.
16640if test "${enable_events+set}" = set; then :
16641  enableval=$enable_events; MediaInfoEvents=$enableval
16642else
16643  MediaInfoEvents=depend
16644fi
16645
16646# Check whether --enable-demux was given.
16647if test "${enable_demux+set}" = set; then :
16648  enableval=$enable_demux; MediaInfoDemux=$enableval
16649else
16650  MediaInfoDemux=depend
16651fi
16652
16653# Check whether --enable-libmms-describe-support was given.
16654if test "${enable_libmms_describe_support+set}" = set; then :
16655  enableval=$enable_libmms_describe_support; MediaInfoLibmmsDescribeSupport=$enableval
16656else
16657  MediaInfoLibmmsDescribeSupport=depend
16658fi
16659
16660# Check whether --enable-dll was given.
16661if test "${enable_dll+set}" = set; then :
16662  enableval=$enable_dll; MediaInfoDll=$enableval
16663else
16664  MediaInfoDll=depend
16665fi
16666
16667# Check whether --enable-jni was given.
16668if test "${enable_jni+set}" = set; then :
16669  enableval=$enable_jni; MediaInfoJni=$enableval
16670else
16671  MediaInfoJni=depend
16672fi
16673
16674# Check whether --enable-all was given.
16675if test "${enable_all+set}" = set; then :
16676  enableval=$enable_all; MediaInfoAll=$enableval
16677else
16678  MediaInfoAll=depend
16679fi
16680
16681# Check whether --enable-archive was given.
16682if test "${enable_archive+set}" = set; then :
16683  enableval=$enable_archive; MediaInfoArchive=$enableval
16684else
16685  MediaInfoArchive=depend
16686fi
16687
16688# Check whether --enable-audio was given.
16689if test "${enable_audio+set}" = set; then :
16690  enableval=$enable_audio; MediaInfoAudio=$enableval
16691else
16692  MediaInfoAudio=depend
16693fi
16694
16695# Check whether --enable-image was given.
16696if test "${enable_image+set}" = set; then :
16697  enableval=$enable_image; MediaInfoImage=$enableval
16698else
16699  MediaInfoImage=depend
16700fi
16701
16702# Check whether --enable-multi was given.
16703if test "${enable_multi+set}" = set; then :
16704  enableval=$enable_multi; MediaInfoMulti=$enableval
16705else
16706  MediaInfoMulti=depend
16707fi
16708
16709# Check whether --enable-tag was given.
16710if test "${enable_tag+set}" = set; then :
16711  enableval=$enable_tag; MediaInfoTag=$enableval
16712else
16713  MediaInfoTag=depend
16714fi
16715
16716# Check whether --enable-text was given.
16717if test "${enable_text+set}" = set; then :
16718  enableval=$enable_text; MediaInfoText=$enableval
16719else
16720  MediaInfoText=depend
16721fi
16722
16723# Check whether --enable-video was given.
16724if test "${enable_video+set}" = set; then :
16725  enableval=$enable_video; MediaInfoVideo=$enableval
16726else
16727  MediaInfoVideo=depend
16728fi
16729
16730# Check whether --enable-7z was given.
16731if test "${enable_7z+set}" = set; then :
16732  enableval=$enable_7z; MediaInfo7z=$enableval
16733else
16734  MediaInfo7z=depend
16735fi
16736
16737# Check whether --enable-ace was given.
16738if test "${enable_ace+set}" = set; then :
16739  enableval=$enable_ace; MediaInfoAce=$enableval
16740else
16741  MediaInfoAce=depend
16742fi
16743
16744# Check whether --enable-bzip2 was given.
16745if test "${enable_bzip2+set}" = set; then :
16746  enableval=$enable_bzip2; MediaInfoBzip2=$enableval
16747else
16748  MediaInfoBzip2=depend
16749fi
16750
16751# Check whether --enable-elf was given.
16752if test "${enable_elf+set}" = set; then :
16753  enableval=$enable_elf; MediaInfoElf=$enableval
16754else
16755  MediaInfoElf=depend
16756fi
16757
16758# Check whether --enable-gzip was given.
16759if test "${enable_gzip+set}" = set; then :
16760  enableval=$enable_gzip; MediaInfoGzip=$enableval
16761else
16762  MediaInfoGzip=depend
16763fi
16764
16765# Check whether --enable-iso9660 was given.
16766if test "${enable_iso9660+set}" = set; then :
16767  enableval=$enable_iso9660; MediaInfoIso9660=$enableval
16768else
16769  MediaInfoIso9660=depend
16770fi
16771
16772# Check whether --enable-mz was given.
16773if test "${enable_mz+set}" = set; then :
16774  enableval=$enable_mz; MediaInfoMz=$enableval
16775else
16776  MediaInfoMz=depend
16777fi
16778
16779# Check whether --enable-rar was given.
16780if test "${enable_rar+set}" = set; then :
16781  enableval=$enable_rar; MediaInfoRar=$enableval
16782else
16783  MediaInfoRar=depend
16784fi
16785
16786# Check whether --enable-tar was given.
16787if test "${enable_tar+set}" = set; then :
16788  enableval=$enable_tar; MediaInfoTar=$enableval
16789else
16790  MediaInfoTar=depend
16791fi
16792
16793# Check whether --enable-zip was given.
16794if test "${enable_zip+set}" = set; then :
16795  enableval=$enable_zip; MediaInfoZip=$enableval
16796else
16797  MediaInfoZip=depend
16798fi
16799
16800# Check whether --enable-aac was given.
16801if test "${enable_aac+set}" = set; then :
16802  enableval=$enable_aac; MediaInfoAac=$enableval
16803else
16804  MediaInfoAac=depend
16805fi
16806
16807# Check whether --enable-ac3 was given.
16808if test "${enable_ac3+set}" = set; then :
16809  enableval=$enable_ac3; MediaInfoAc3=$enableval
16810else
16811  MediaInfoAc3=depend
16812fi
16813
16814# Check whether --enable-adif was given.
16815if test "${enable_adif+set}" = set; then :
16816  enableval=$enable_adif; MediaInfoAdif=$enableval
16817else
16818  MediaInfoAdif=depend
16819fi
16820
16821# Check whether --enable-adpcm was given.
16822if test "${enable_adpcm+set}" = set; then :
16823  enableval=$enable_adpcm; MediaInfoAdpcm=$enableval
16824else
16825  MediaInfoAdpcm=depend
16826fi
16827
16828# Check whether --enable-adts was given.
16829if test "${enable_adts+set}" = set; then :
16830  enableval=$enable_adts; MediaInfoAdts=$enableval
16831else
16832  MediaInfoAdts=depend
16833fi
16834
16835# Check whether --enable-aes3 was given.
16836if test "${enable_aes3+set}" = set; then :
16837  enableval=$enable_aes3; MediaInfoAdts=$enableval
16838else
16839  MediaInfoAes3=depend
16840fi
16841
16842# Check whether --enable-als was given.
16843if test "${enable_als+set}" = set; then :
16844  enableval=$enable_als; MediaInfoAls=$enableval
16845else
16846  MediaInfoAls=depend
16847fi
16848
16849# Check whether --enable-amr was given.
16850if test "${enable_amr+set}" = set; then :
16851  enableval=$enable_amr; MediaInfoAmr=$enableval
16852else
16853  MediaInfoAmr=depend
16854fi
16855
16856# Check whether --enable-amv was given.
16857if test "${enable_amv+set}" = set; then :
16858  enableval=$enable_amv; MediaInfoAmv=$enableval
16859else
16860  MediaInfoAmv=depend
16861fi
16862
16863# Check whether --enable-ape was given.
16864if test "${enable_ape+set}" = set; then :
16865  enableval=$enable_ape; MediaInfoApe=$enableval
16866else
16867  MediaInfoApe=depend
16868fi
16869
16870# Check whether --enable-au was given.
16871if test "${enable_au+set}" = set; then :
16872  enableval=$enable_au; MediaInfoAu=$enableval
16873else
16874  MediaInfoAu=depend
16875fi
16876
16877# Check whether --enable-caf was given.
16878if test "${enable_caf+set}" = set; then :
16879  enableval=$enable_caf; MediaInfoCAf=$enableval
16880else
16881  MediaInfoCaf=depend
16882fi
16883
16884# Check whether --enable-celt was given.
16885if test "${enable_celt+set}" = set; then :
16886  enableval=$enable_celt; MediaInfoCelt=$enableval
16887else
16888  MediaInfoCelt=depend
16889fi
16890
16891# Check whether --enable-dts was given.
16892if test "${enable_dts+set}" = set; then :
16893  enableval=$enable_dts; MediaInfoDts=$enableval
16894else
16895  MediaInfoDts=depend
16896fi
16897
16898# Check whether --enable-flac was given.
16899if test "${enable_flac+set}" = set; then :
16900  enableval=$enable_flac; MediaInfoFlac=$enableval
16901else
16902  MediaInfoFlac=depend
16903fi
16904
16905# Check whether --enable-la was given.
16906if test "${enable_la+set}" = set; then :
16907  enableval=$enable_la; MediaInfoLa=$enableval
16908else
16909  MediaInfoLa=depend
16910fi
16911
16912# Check whether --enable-latm was given.
16913if test "${enable_latm+set}" = set; then :
16914  enableval=$enable_latm; MediaInfoLatm=$enableval
16915else
16916  MediaInfoLatm=depend
16917fi
16918
16919# Check whether --enable-midi was given.
16920if test "${enable_midi+set}" = set; then :
16921  enableval=$enable_midi; MediaInfoMidi=$enableval
16922else
16923  MediaInfoMidi=depend
16924fi
16925
16926# Check whether --enable-mpc was given.
16927if test "${enable_mpc+set}" = set; then :
16928  enableval=$enable_mpc; MediaInfoMpc=$enableval
16929else
16930  MediaInfoMpc=depend
16931fi
16932
16933# Check whether --enable-mpcsv8 was given.
16934if test "${enable_mpcsv8+set}" = set; then :
16935  enableval=$enable_mpcsv8; MediaInfoMpcSv8=$enableval
16936else
16937  MediaInfoMpcSv8=depend
16938fi
16939
16940# Check whether --enable-mpega was given.
16941if test "${enable_mpega+set}" = set; then :
16942  enableval=$enable_mpega; MediaInfoMpega=$enableval
16943else
16944  MediaInfoMpega=depend
16945fi
16946
16947# Check whether --enable-openmf was given.
16948if test "${enable_openmf+set}" = set; then :
16949  enableval=$enable_openmf; MediaInfoOpenMG=$enableval
16950else
16951  MediaInfoOpenMG=depend
16952fi
16953
16954# Check whether --enable-pcm was given.
16955if test "${enable_pcm+set}" = set; then :
16956  enableval=$enable_pcm; MediaInfoPcm=$enableval
16957else
16958  MediaInfoPcm=depend
16959fi
16960
16961# Check whether --enable-ps2a was given.
16962if test "${enable_ps2a+set}" = set; then :
16963  enableval=$enable_ps2a; MediaInfoPs2a=$enableval
16964else
16965  MediaInfoPs2a=depend
16966fi
16967
16968# Check whether --enable-rkau was given.
16969if test "${enable_rkau+set}" = set; then :
16970  enableval=$enable_rkau; MediaInfoRkau=$enableval
16971else
16972  MediaInfoRkau=depend
16973fi
16974
16975# Check whether --enable-speex was given.
16976if test "${enable_speex+set}" = set; then :
16977  enableval=$enable_speex; MediaInfoSpeex=$enableval
16978else
16979  MediaInfoSpeex=depend
16980fi
16981
16982# Check whether --enable-tak was given.
16983if test "${enable_tak+set}" = set; then :
16984  enableval=$enable_tak; MediaInfoTak=$enableval
16985else
16986  MediaInfoTak=depend
16987fi
16988
16989# Check whether --enable-tta was given.
16990if test "${enable_tta+set}" = set; then :
16991  enableval=$enable_tta; MediaInfoTta=$enableval
16992else
16993  MediaInfoTta=depend
16994fi
16995
16996# Check whether --enable-twinvq was given.
16997if test "${enable_twinvq+set}" = set; then :
16998  enableval=$enable_twinvq; MediaInfoTwinVQ=$enableval
16999else
17000  MediaInfoTwinVQ=depend
17001fi
17002
17003# Check whether --enable-vorbis was given.
17004if test "${enable_vorbis+set}" = set; then :
17005  enableval=$enable_vorbis; MediaInfovorbis=$enableval
17006else
17007  MediaInfovorbis=depend
17008fi
17009
17010# Check whether --enable-wvpk was given.
17011if test "${enable_wvpk+set}" = set; then :
17012  enableval=$enable_wvpk; MediaInfoWvpk=$enableval
17013else
17014  MediaInfoWvpk=depend
17015fi
17016
17017# Check whether --enable-arriraw was given.
17018if test "${enable_arriraw+set}" = set; then :
17019  enableval=$enable_arriraw; MediaInfoArriRaw=$enableval
17020else
17021  MediaInfoArriRaw=depend
17022fi
17023
17024# Check whether --enable-bmp was given.
17025if test "${enable_bmp+set}" = set; then :
17026  enableval=$enable_bmp; MediaInfoBmp=$enableval
17027else
17028  MediaInfoBmp=depend
17029fi
17030
17031# Check whether --enable-bpg was given.
17032if test "${enable_bpg+set}" = set; then :
17033  enableval=$enable_bpg; MediaInfoBpg=$enableval
17034else
17035  MediaInfoBpg=depend
17036fi
17037
17038# Check whether --enable-dds was given.
17039if test "${enable_dds+set}" = set; then :
17040  enableval=$enable_dds; MediaInfoDds=$enableval
17041else
17042  MediaInfoDds=depend
17043fi
17044
17045# Check whether --enable-dpx was given.
17046if test "${enable_dpx+set}" = set; then :
17047  enableval=$enable_dpx; MediaInfoDpx=$enableval
17048else
17049  MediaInfoDpx=depend
17050fi
17051
17052# Check whether --enable-exr was given.
17053if test "${enable_exr+set}" = set; then :
17054  enableval=$enable_exr; MediaInfoExr=$enableval
17055else
17056  MediaInfoExr=depend
17057fi
17058
17059# Check whether --enable-gif was given.
17060if test "${enable_gif+set}" = set; then :
17061  enableval=$enable_gif; MediaInfoGif=$enableval
17062else
17063  MediaInfoGif=depend
17064fi
17065
17066# Check whether --enable-ico was given.
17067if test "${enable_ico+set}" = set; then :
17068  enableval=$enable_ico; MediaInfoIco=$enableval
17069else
17070  MediaInfoIco=depend
17071fi
17072
17073# Check whether --enable-jpeg was given.
17074if test "${enable_jpeg+set}" = set; then :
17075  enableval=$enable_jpeg; MediaInfoJpeg=$enableval
17076else
17077  MediaInfoJpeg=depend
17078fi
17079
17080# Check whether --enable-pcx was given.
17081if test "${enable_pcx+set}" = set; then :
17082  enableval=$enable_pcx; MediaInfoPcx=$enableval
17083else
17084  MediaInfoPcx=depend
17085fi
17086
17087# Check whether --enable-png was given.
17088if test "${enable_png+set}" = set; then :
17089  enableval=$enable_png; MediaInfoPng=$enableval
17090else
17091  MediaInfoPng=depend
17092fi
17093
17094# Check whether --enable-psd was given.
17095if test "${enable_psd+set}" = set; then :
17096  enableval=$enable_psd; MediaInfoPsd=$enableval
17097else
17098  MediaInfoPsd=depend
17099fi
17100
17101# Check whether --enable-rle was given.
17102if test "${enable_rle+set}" = set; then :
17103  enableval=$enable_rle; MediaInfoRle=$enableval
17104else
17105  MediaInfoRle=depend
17106fi
17107
17108# Check whether --enable-tiff was given.
17109if test "${enable_tiff+set}" = set; then :
17110  enableval=$enable_tiff; MediaInfoTiff=$enableval
17111else
17112  MediaInfoTiff=depend
17113fi
17114
17115# Check whether --enable-aaf was given.
17116if test "${enable_aaf+set}" = set; then :
17117  enableval=$enable_aaf; MediaInfoAaf=$enableval
17118else
17119  MediaInfoAaf=depend
17120fi
17121
17122# Check whether --enable-bdav was given.
17123if test "${enable_bdav+set}" = set; then :
17124  enableval=$enable_bdav; MediaInfoBdav=$enableval
17125else
17126  MediaInfoBdav=depend
17127fi
17128
17129# Check whether --enable-bdmv was given.
17130if test "${enable_bdmv+set}" = set; then :
17131  enableval=$enable_bdmv; MediaInfoBdmv=$enableval
17132else
17133  MediaInfoBdmv=depend
17134fi
17135
17136# Check whether --enable-cdxa was given.
17137if test "${enable_cdxa+set}" = set; then :
17138  enableval=$enable_cdxa; MediaInfoCdxa=$enableval
17139else
17140  MediaInfoCdxa=depend
17141fi
17142
17143# Check whether --enable-dashmpd was given.
17144if test "${enable_dashmpd+set}" = set; then :
17145  enableval=$enable_dashmpd; MediaInfoDashMpd=$enableval
17146else
17147  MediaInfoDashMpd=depend
17148fi
17149
17150# Check whether --enable-dcp was given.
17151if test "${enable_dcp+set}" = set; then :
17152  enableval=$enable_dcp; MediaInfoDcp=$enableval
17153else
17154  MediaInfoDcp=depend
17155fi
17156
17157# Check whether --enable-dpg was given.
17158if test "${enable_dpg+set}" = set; then :
17159  enableval=$enable_dpg; MediaInfoDpg=$enableval
17160else
17161  MediaInfoDpg=depend
17162fi
17163
17164# Check whether --enable-references was given.
17165if test "${enable_references+set}" = set; then :
17166  enableval=$enable_references; MediaInfoReferences=$enableval
17167else
17168  MediaInfoReferences=depend
17169fi
17170
17171# Check whether --enable-dvdif was given.
17172if test "${enable_dvdif+set}" = set; then :
17173  enableval=$enable_dvdif; MediaInfoDvDif=$enableval
17174else
17175  MediaInfoDvDif=depend
17176fi
17177
17178# Check whether --enable-dvdif-analyze was given.
17179if test "${enable_dvdif_analyze+set}" = set; then :
17180  enableval=$enable_dvdif_analyze; MediaInfoDvDifAnalyze=$enableval
17181else
17182  MediaInfoDvDifAnalyze=depend
17183fi
17184
17185# Check whether --enable-dvdv was given.
17186if test "${enable_dvdv+set}" = set; then :
17187  enableval=$enable_dvdv; MediaInfoDvdv=$enableval
17188else
17189  MediaInfoDvdv=depend
17190fi
17191
17192# Check whether --enable-dxw was given.
17193if test "${enable_dxw+set}" = set; then :
17194  enableval=$enable_dxw; MediaInfoDxw=$enableval
17195else
17196  MediaInfoDxw=depend
17197fi
17198
17199# Check whether --enable-flv was given.
17200if test "${enable_flv+set}" = set; then :
17201  enableval=$enable_flv; MediaInfoFlv=$enableval
17202else
17203  MediaInfoFlv=depend
17204fi
17205
17206# Check whether --enable-gxf was given.
17207if test "${enable_gxf+set}" = set; then :
17208  enableval=$enable_gxf; MediaInfoGxf=$enableval
17209else
17210  MediaInfoGxf=depend
17211fi
17212
17213# Check whether --enable-hdsf4m was given.
17214if test "${enable_hdsf4m+set}" = set; then :
17215  enableval=$enable_hdsf4m; MediaInfoHdsF4m=$enableval
17216else
17217  MediaInfoHdsf4m=depend
17218fi
17219
17220# Check whether --enable-hls was given.
17221if test "${enable_hls+set}" = set; then :
17222  enableval=$enable_hls; MediaInfoHls=$enableval
17223else
17224  MediaInfoHls=depend
17225fi
17226
17227# Check whether --enable-mk was given.
17228if test "${enable_mk+set}" = set; then :
17229  enableval=$enable_mk; MediaInfoMk=$enableval
17230else
17231  MediaInfoMk=depend
17232fi
17233
17234# Check whether --enable-mixml was given.
17235if test "${enable_mixml+set}" = set; then :
17236  enableval=$enable_mixml; MediaInfoMiXml=$enableval
17237else
17238  MediaInfoMiXml=depend
17239fi
17240
17241# Check whether --enable-mpeg4 was given.
17242if test "${enable_mpeg4+set}" = set; then :
17243  enableval=$enable_mpeg4; MediaInfoMpeg4=$enableval
17244else
17245  MediaInfoMpeg4=depend
17246fi
17247
17248# Check whether --enable-mpegps was given.
17249if test "${enable_mpegps+set}" = set; then :
17250  enableval=$enable_mpegps; MediaInfoMpegPs=$enableval
17251else
17252  MediaInfoMpegPs=depend
17253fi
17254
17255# Check whether --enable-mpegts was given.
17256if test "${enable_mpegts+set}" = set; then :
17257  enableval=$enable_mpegts; MediaInfoMpegTs=$enableval
17258else
17259  MediaInfoMpegTs=depend
17260fi
17261
17262# Check whether --enable-mpegts-pcr was given.
17263if test "${enable_mpegts_pcr+set}" = set; then :
17264  enableval=$enable_mpegts_pcr; MediaInfoMpegTsPcr=$enableval
17265else
17266  MediaInfoMpegTsPcr=depend
17267fi
17268
17269# Check whether --enable-mpegts-pestimestamp was given.
17270if test "${enable_mpegts_pestimestamp+set}" = set; then :
17271  enableval=$enable_mpegts_pestimestamp; MediaInfoMpegTsPesTimeStamp=$enableval
17272else
17273  MediaInfoMpegTsPesTimeStamp=depend
17274fi
17275
17276# Check whether --enable-mxf was given.
17277if test "${enable_mxf+set}" = set; then :
17278  enableval=$enable_mxf; MediaInfoMxf=$enableval
17279else
17280  MediaInfoMxf=depend
17281fi
17282
17283# Check whether --enable-nut was given.
17284if test "${enable_nut+set}" = set; then :
17285  enableval=$enable_nut; MediaInfoNut=$enableval
17286else
17287  MediaInfoNut=depend
17288fi
17289
17290# Check whether --enable-ogg was given.
17291if test "${enable_ogg+set}" = set; then :
17292  enableval=$enable_ogg; MediaInfoOgg=$enableval
17293else
17294  MediaInfoOgg=depend
17295fi
17296
17297# Check whether --enable-pmp was given.
17298if test "${enable_pmp+set}" = set; then :
17299  enableval=$enable_pmp; MediaInfoPmp=$enableval
17300else
17301  MediaInfoPmp=depend
17302fi
17303
17304# Check whether --enable-riff was given.
17305if test "${enable_riff+set}" = set; then :
17306  enableval=$enable_riff; MediaInfoRiff=$enableval
17307else
17308  MediaInfoRiff=depend
17309fi
17310
17311# Check whether --enable-rm was given.
17312if test "${enable_rm+set}" = set; then :
17313  enableval=$enable_rm; MediaInfoRm=$enableval
17314else
17315  MediaInfoRm=depend
17316fi
17317
17318# Check whether --enable-skm was given.
17319if test "${enable_skm+set}" = set; then :
17320  enableval=$enable_skm; MediaInfoSkm=$enableval
17321else
17322  MediaInfoSkm=depend
17323fi
17324
17325# Check whether --enable-swf was given.
17326if test "${enable_swf+set}" = set; then :
17327  enableval=$enable_swf; MediaInfoSwf=$enableval
17328else
17329  MediaInfoSwf=depend
17330fi
17331
17332# Check whether --enable-tsp was given.
17333if test "${enable_tsp+set}" = set; then :
17334  enableval=$enable_tsp; MediaInfoTsp=$enableval
17335else
17336  MediaInfoTsp=depend
17337fi
17338
17339# Check whether --enable-wm was given.
17340if test "${enable_wm+set}" = set; then :
17341  enableval=$enable_wm; MediaInfoWm=$enableval
17342else
17343  MediaInfoWm=depend
17344fi
17345
17346# Check whether --enable-apetag was given.
17347if test "${enable_apetag+set}" = set; then :
17348  enableval=$enable_apetag; MediaInfoApeTag=$enableval
17349else
17350  MediaInfoApeTag=depend
17351fi
17352
17353# Check whether --enable-Id3 was given.
17354if test "${enable_Id3+set}" = set; then :
17355  enableval=$enable_Id3; MediaInfoId3=$enableval
17356else
17357  MediaInfoId3=depend
17358fi
17359
17360# Check whether --enable-Id3v2 was given.
17361if test "${enable_Id3v2+set}" = set; then :
17362  enableval=$enable_Id3v2; MediaInfoId3v2=$enableval
17363else
17364  MediaInfoId3v2=depend
17365fi
17366
17367# Check whether --enable-Lyrics3 was given.
17368if test "${enable_Lyrics3+set}" = set; then :
17369  enableval=$enable_Lyrics3; MediaInfoLyrics3=$enableval
17370else
17371  MediaInfoLyrics3=depend
17372fi
17373
17374# Check whether --enable-Lyrics3v2 was given.
17375if test "${enable_Lyrics3v2+set}" = set; then :
17376  enableval=$enable_Lyrics3v2; MediaInfoLyrics3v2=$enableval
17377else
17378  MediaInfoLyrics3v2=depend
17379fi
17380
17381# Check whether --enable-VorbisCom was given.
17382if test "${enable_VorbisCom+set}" = set; then :
17383  enableval=$enable_VorbisCom; MediaInfoVorbisCom=$enableval
17384else
17385  MediaInfoVorbisCom=depend
17386fi
17387
17388# Check whether --enable-cmml was given.
17389if test "${enable_cmml+set}" = set; then :
17390  enableval=$enable_cmml; MediaInfoCmml=$enableval
17391else
17392  MediaInfoCmml=depend
17393fi
17394
17395# Check whether --enable-dvbsubtitle was given.
17396if test "${enable_dvbsubtitle+set}" = set; then :
17397  enableval=$enable_dvbsubtitle; MediaInfoDvbSubtitle=$enableval
17398else
17399  MediaInfoDvbSubtitle=depend
17400fi
17401
17402# Check whether --enable-aribstdb24b37 was given.
17403if test "${enable_aribstdb24b37+set}" = set; then :
17404  enableval=$enable_aribstdb24b37; MediaInfoaribstdb24b37=$enableval
17405else
17406  MediaInfoaribstdb24b37=depend
17407fi
17408
17409# Check whether --enable-eia608 was given.
17410if test "${enable_eia608+set}" = set; then :
17411  enableval=$enable_eia608; MediaInfoEia608=$enableval
17412else
17413  MediaInfoEia608=depend
17414fi
17415
17416# Check whether --enable-eia708 was given.
17417if test "${enable_eia708+set}" = set; then :
17418  enableval=$enable_eia708; MediaInfoEia708=$enableval
17419else
17420  MediaInfoEia708=depend
17421fi
17422
17423# Check whether --enable-subrip was given.
17424if test "${enable_subrip+set}" = set; then :
17425  enableval=$enable_subrip; MediaInfoSubRip=$enableval
17426else
17427  MediaInfoSubRip=depend
17428fi
17429
17430# Check whether --enable-teletext was given.
17431if test "${enable_teletext+set}" = set; then :
17432  enableval=$enable_teletext; MediaInfoTeletext=$enableval
17433else
17434  MediaInfoTeletext=depend
17435fi
17436
17437# Check whether --enable-timedtext was given.
17438if test "${enable_timedtext+set}" = set; then :
17439  enableval=$enable_timedtext; MediaInfoTimedText=$enableval
17440else
17441  MediaInfoTimedText=depend
17442fi
17443
17444# Check whether --enable-ttml was given.
17445if test "${enable_ttml+set}" = set; then :
17446  enableval=$enable_ttml; MediaInfoTtml=$enableval
17447else
17448  MediaInfoTtml=depend
17449fi
17450
17451# Check whether --enable-kate was given.
17452if test "${enable_kate+set}" = set; then :
17453  enableval=$enable_kate; MediaInfoKate=$enableval
17454else
17455  MediaInfoKate=depend
17456fi
17457
17458# Check whether --enable-pdf was given.
17459if test "${enable_pdf+set}" = set; then :
17460  enableval=$enable_pdf; MediaInfoPdf=$enableval
17461else
17462  MediaInfoPdf=depend
17463fi
17464
17465# Check whether --enable-pgs was given.
17466if test "${enable_pgs+set}" = set; then :
17467  enableval=$enable_pgs; MediaInfoPgs=$enableval
17468else
17469  MediaInfoPgs=depend
17470fi
17471
17472# Check whether --enable-scc was given.
17473if test "${enable_scc+set}" = set; then :
17474  enableval=$enable_scc; MediaInfoScc=$enableval
17475else
17476  MediaInfoScc=depend
17477fi
17478
17479# Check whether --enable-aic was given.
17480if test "${enable_aic+set}" = set; then :
17481  enableval=$enable_aic; MediaInfoAic=$enableval
17482else
17483  MediaInfoAic=depend
17484fi
17485
17486# Check whether --enable-av1 was given.
17487if test "${enable_av1+set}" = set; then :
17488  enableval=$enable_av1; MediaInfoAv1=$enableval
17489else
17490  MediaInfoAv1=depend
17491fi
17492
17493# Check whether --enable-avc was given.
17494if test "${enable_avc+set}" = set; then :
17495  enableval=$enable_avc; MediaInfoAvc=$enableval
17496else
17497  MediaInfoAvc=depend
17498fi
17499
17500# Check whether --enable-avsV was given.
17501if test "${enable_avsV+set}" = set; then :
17502  enableval=$enable_avsV; MediaInfoAvsV=$enableval
17503else
17504  MediaInfoAvsV=depend
17505fi
17506
17507# Check whether --enable-canopus was given.
17508if test "${enable_canopus+set}" = set; then :
17509  enableval=$enable_canopus; MediaInfoCanopus=$enableval
17510else
17511  MediaInfoCanopus=depend
17512fi
17513
17514# Check whether --enable-ffv1 was given.
17515if test "${enable_ffv1+set}" = set; then :
17516  enableval=$enable_ffv1; MediaInfoFfv1=$enableval
17517else
17518  MediaInfoFfv1=depend
17519fi
17520
17521# Check whether --enable-flic was given.
17522if test "${enable_flic+set}" = set; then :
17523  enableval=$enable_flic; MediaInfoFlic=$enableval
17524else
17525  MediaInfoFlic=depend
17526fi
17527
17528# Check whether --enable-h263 was given.
17529if test "${enable_h263+set}" = set; then :
17530  enableval=$enable_h263; MediaInfoH263=$enableval
17531else
17532  MediaInfoH263=depend
17533fi
17534
17535# Check whether --enable-hevc was given.
17536if test "${enable_hevc+set}" = set; then :
17537  enableval=$enable_hevc; MediaInfoHevc=$enableval
17538else
17539  MediaInfoHevc=depend
17540fi
17541
17542# Check whether --enable-huffyuv was given.
17543if test "${enable_huffyuv+set}" = set; then :
17544  enableval=$enable_huffyuv; MediaInfoHuffYUV=$enableval
17545else
17546  MediaInfoHuffYUV=depend
17547fi
17548
17549# Check whether --enable-mpeg4v was given.
17550if test "${enable_mpeg4v+set}" = set; then :
17551  enableval=$enable_mpeg4v; MediaInfoMpeg4v=$enableval
17552else
17553  MediaInfoMpeg4v=depend
17554fi
17555
17556# Check whether --enable-mpegv was given.
17557if test "${enable_mpegv+set}" = set; then :
17558  enableval=$enable_mpegv; MediaInfoMpegv=$enableval
17559else
17560  MediaInfoMpegv=depend
17561fi
17562
17563# Check whether --enable-prores was given.
17564if test "${enable_prores+set}" = set; then :
17565  enableval=$enable_prores; MediaInfoProRes=$enableval
17566else
17567  MediaInfoProRes=depend
17568fi
17569
17570# Check whether --enable-theora was given.
17571if test "${enable_theora+set}" = set; then :
17572  enableval=$enable_theora; MediaInfoTheora=$enableval
17573else
17574  MediaInfoTheora=depend
17575fi
17576
17577# Check whether --enable-vc1 was given.
17578if test "${enable_vc1+set}" = set; then :
17579  enableval=$enable_vc1; MediaInfoVc1=$enableval
17580else
17581  MediaInfoVc1=depend
17582fi
17583
17584# Check whether --enable-vc3 was given.
17585if test "${enable_vc3+set}" = set; then :
17586  enableval=$enable_vc3; MediaInfoVc3=$enableval
17587else
17588  MediaInfoVc3=depend
17589fi
17590
17591# Check whether --enable-vp8 was given.
17592if test "${enable_vp8+set}" = set; then :
17593  enableval=$enable_vp8; MediaInfovp8=$enableval
17594else
17595  MediaInfovp8=depend
17596fi
17597
17598# Check whether --enable-y4m was given.
17599if test "${enable_y4m+set}" = set; then :
17600  enableval=$enable_y4m; MediaInfoy4m=$enableval
17601else
17602  MediaInfoy4m=depend
17603fi
17604
17605
17606
17607# Check whether --with-macosx-sdk was given.
17608if test "${with_macosx_sdk+set}" = set; then :
17609  withval=$with_macosx_sdk;
17610else
17611  with_macosx_sdk=no
17612fi
17613
17614
17615# Check whether --with-macosx-version-min was given.
17616if test "${with_macosx_version_min+set}" = set; then :
17617  withval=$with_macosx_version_min;
17618else
17619  with_macosx_version_min=no
17620fi
17621
17622
17623# Check whether --with-iphoneos-sdk was given.
17624if test "${with_iphoneos_sdk+set}" = set; then :
17625  withval=$with_iphoneos_sdk;
17626else
17627  with_iphoneos_sdk=no
17628fi
17629
17630
17631# Check whether --with-iphoneos-version-min was given.
17632if test "${with_iphoneos_version_min+set}" = set; then :
17633  withval=$with_iphoneos_version_min;
17634else
17635  with_iphoneos_version_min=no
17636fi
17637
17638
17639# Check whether --with-libz_static was given.
17640if test "${with_libz_static+set}" = set; then :
17641  withval=$with_libz_static;
17642else
17643  with_libz_static=no
17644fi
17645
17646
17647# Check whether --with-graphviz was given.
17648if test "${with_graphviz+set}" = set; then :
17649  withval=$with_graphviz;
17650else
17651  with_graphviz=no
17652fi
17653
17654
17655# Check whether --with-libcurl was given.
17656if test "${with_libcurl+set}" = set; then :
17657  withval=$with_libcurl;
17658else
17659  with_libcurl=no
17660fi
17661
17662
17663# Check whether --with-libmms was given.
17664if test "${with_libmms+set}" = set; then :
17665  withval=$with_libmms;
17666else
17667  with_libmms=no
17668fi
17669
17670
17671# Check whether --with-libaes was given.
17672if test "${with_libaes+set}" = set; then :
17673  withval=$with_libaes;
17674else
17675  with_libaes=depend
17676fi
17677
17678
17679# Check whether --with-libmd5 was given.
17680if test "${with_libmd5+set}" = set; then :
17681  withval=$with_libmd5;
17682else
17683  with_libmd5=depend
17684fi
17685
17686
17687# Check whether --with-libsha1 was given.
17688if test "${with_libsha1+set}" = set; then :
17689  withval=$with_libsha1;
17690else
17691  with_libsha1=depend
17692fi
17693
17694
17695# Check whether --with-libsha2 was given.
17696if test "${with_libsha2+set}" = set; then :
17697  withval=$with_libsha2;
17698else
17699  with_libsha2=depend
17700fi
17701
17702
17703# Check whether --with-libhmac was given.
17704if test "${with_libhmac+set}" = set; then :
17705  withval=$with_libhmac;
17706else
17707  with_libhmac=depend
17708fi
17709
17710
17711# Check whether --with-libtinyxml2 was given.
17712if test "${with_libtinyxml2+set}" = set; then :
17713  withval=$with_libtinyxml2;
17714else
17715  with_libtinyxml2=depend
17716fi
17717
17718
17719# Check whether --with-libmediainfo-name was given.
17720if test "${with_libmediainfo_name+set}" = set; then :
17721  withval=$with_libmediainfo_name;
17722else
17723  with_libmediainfo_name=mediainfo
17724fi
17725
17726
17727if test "$MediaInfoMinimizeSize" = "yes";  then $as_echo "#define MEDIAINFO_MINIMIZESIZE 1" >>confdefs.h
17728 fi
17729if test "$MediaInfoMinimal" = "no";  then $as_echo "#define MEDIAINFO_MINIMAL_NO 1" >>confdefs.h
17730 fi; if test "$MediaInfoMinimal" = "yes"; then $as_echo "#define MEDIAINFO_MINIMAL_YES 1" >>confdefs.h
17731 fi
17732if test "$MediaInfoTrace"   = "no";  then $as_echo "#define MEDIAINFO_TRACE_NO 1" >>confdefs.h
17733   fi; if test "$MediaInfoTrace"   = "yes"; then $as_echo "#define MEDIAINFO_TRACE_YES 1" >>confdefs.h
17734   fi
17735if test "$MediaInfoEvents"  = "no";  then $as_echo "#define MEDIAINFO_EVENTS_NO 1" >>confdefs.h
17736  fi; if test "$MediaInfoEvents"  = "yes"; then $as_echo "#define MEDIAINFO_EVENTS_YES 1" >>confdefs.h
17737  fi
17738if test "$MediaInfoDemux"   = "no";  then $as_echo "#define MEDIAINFO_DEMUX_NO 1" >>confdefs.h
17739   fi; if test "$MediaInfoDemux"   = "yes"; then $as_echo "#define MEDIAINFO_DEMUX_YES 1" >>confdefs.h
17740   fi
17741if test "$MediaInfoJni"     = "no";  then $as_echo "#define MEDIAINFO_JNI_NO 1" >>confdefs.h
17742     fi; if test "$MediaInfoJni"     = "yes"; then $as_echo "#define MEDIAINFO_JNI_YES 1" >>confdefs.h
17743   fi
17744if test "$MediaInfoLibmmsDescribeSupport" = "yes"; then $as_echo "#define MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT 1" >>confdefs.h
17745   fi
17746if test "$MediaInfoAll"     = "no";  then $as_echo "#define MEDIAINFO_ALL_NO 1" >>confdefs.h
17747     fi
17748if test "$MediaInfoArchive" = "no";  then $as_echo "#define MEDIAINFO_ARCHIVE_NO 1" >>confdefs.h
17749 fi
17750if test "$MediaInfoAudio"   = "no";  then $as_echo "#define MEDIAINFO_AUDIO_NO 1" >>confdefs.h
17751   fi
17752if test "$MediaInfoImage"   = "no";  then $as_echo "#define MEDIAINFO_IMAGE_NO 1" >>confdefs.h
17753   fi
17754if test "$MediaInfoMulti"   = "no";  then $as_echo "#define MEDIAINFO_MULTI_NO 1" >>confdefs.h
17755   fi
17756if test "$MediaInfoText"    = "no";  then $as_echo "#define MEDIAINFO_TAG_NO 1" >>confdefs.h
17757     fi
17758if test "$MediaInfoText"    = "no";  then $as_echo "#define MEDIAINFO_TEXT_NO 1" >>confdefs.h
17759    fi
17760if test "$MediaInfoVideo"   = "no";  then $as_echo "#define MEDIAINFO_VIDEO_NO 1" >>confdefs.h
17761   fi
17762if test "$MediaInfo7z"      = "no";  then $as_echo "#define MEDIAINFO_7Z_NO 1" >>confdefs.h
17763      fi; if test "$MediaInfo7z"      = "yes"; then $as_echo "#define MEDIAINFO_7Z_YES 1" >>confdefs.h
17764      fi
17765if test "$MediaInfoAce"     = "no";  then $as_echo "#define MEDIAINFO_ACE_NO 1" >>confdefs.h
17766     fi; if test "$MediaInfoAce"     = "yes"; then $as_echo "#define MEDIAINFO_ACE_YES 1" >>confdefs.h
17767     fi
17768if test "$MediaInfoBzip2"   = "no";  then $as_echo "#define MEDIAINFO_BZIP2_NO 1" >>confdefs.h
17769   fi; if test "$MediaInfoBzip2"   = "yes"; then $as_echo "#define MEDIAINFO_BZIP2_YES 1" >>confdefs.h
17770   fi
17771if test "$MediaInfoElf"     = "no";  then $as_echo "#define MEDIAINFO_ELF_NO 1" >>confdefs.h
17772     fi; if test "$MediaInfoElf"     = "yes"; then $as_echo "#define MEDIAINFO_ELF_YES 1" >>confdefs.h
17773     fi
17774if test "$MediaInfoGzip"    = "no";  then $as_echo "#define MEDIAINFO_GZIP_NO 1" >>confdefs.h
17775    fi; if test "$MediaInfoGzip"    = "yes"; then $as_echo "#define MEDIAINFO_GZIP_YES 1" >>confdefs.h
17776    fi
17777if test "$MediaInfoIso9660" = "no";  then $as_echo "#define MEDIAINFO_ISO9660_NO 1" >>confdefs.h
17778 fi; if test "$MediaInfoIso9660" = "yes"; then $as_echo "#define MEDIAINFO_ISO9660_YES 1" >>confdefs.h
17779 fi
17780if test "$MediaInfoMz"      = "no";  then $as_echo "#define MEDIAINFO_MZ_NO 1" >>confdefs.h
17781      fi; if test "$MediaInfoMz"      = "yes"; then $as_echo "#define MEDIAINFO_MZ_YES 1" >>confdefs.h
17782      fi
17783if test "$MediaInfoRar"     = "no";  then $as_echo "#define MEDIAINFO_RAR_NO 1" >>confdefs.h
17784     fi; if test "$MediaInfoRar"     = "yes"; then $as_echo "#define MEDIAINFO_RAR_YES 1" >>confdefs.h
17785     fi
17786if test "$MediaInfoTar"     = "no";  then $as_echo "#define MEDIAINFO_TAR_NO 1" >>confdefs.h
17787     fi; if test "$MediaInfoTar"     = "yes"; then $as_echo "#define MEDIAINFO_TAR_YES 1" >>confdefs.h
17788     fi
17789if test "$MediaInfoZip"     = "no";  then $as_echo "#define MEDIAINFO_ZIP_NO 1" >>confdefs.h
17790     fi; if test "$MediaInfoZip"     = "yes"; then $as_echo "#define MEDIAINFO_ZIP_YES 1" >>confdefs.h
17791     fi
17792if test "$MediaInfoAac"     = "no";  then $as_echo "#define MEDIAINFO_AAC_NO 1" >>confdefs.h
17793     fi; if test "$MediaInfoAac"     = "yes"; then $as_echo "#define MEDIAINFO_AAC_YES 1" >>confdefs.h
17794     fi
17795if test "$MediaInfoAc3"     = "no";  then $as_echo "#define MEDIAINFO_AC3_NO 1" >>confdefs.h
17796     fi; if test "$MediaInfoAc3"     = "yes"; then $as_echo "#define MEDIAINFO_AC3_YES 1" >>confdefs.h
17797     fi
17798if test "$MediaInfoAdif"    = "no";  then $as_echo "#define MEDIAINFO_ADIF_NO 1" >>confdefs.h
17799    fi; if test "$MediaInfoAdif"    = "yes"; then $as_echo "#define MEDIAINFO_ADIF_YES 1" >>confdefs.h
17800    fi
17801if test "$MediaInfoAdpcm"   = "no";  then $as_echo "#define MEDIAINFO_ADPCM_NO 1" >>confdefs.h
17802   fi; if test "$MediaInfoAdpcm"   = "yes"; then $as_echo "#define MEDIAINFO_ADPCM_YES 1" >>confdefs.h
17803   fi
17804if test "$MediaInfoAdts"    = "no";  then $as_echo "#define MEDIAINFO_ADTS_NO 1" >>confdefs.h
17805    fi; if test "$MediaInfoAdts"    = "yes"; then $as_echo "#define MEDIAINFO_ADTS_YES 1" >>confdefs.h
17806    fi
17807if test "$MediaInfoAes3"    = "no";  then $as_echo "#define MEDIAINFO_AES3_NO 1" >>confdefs.h
17808    fi; if test "$MediaInfoAes3"    = "yes"; then $as_echo "#define MEDIAINFO_AES3_YES 1" >>confdefs.h
17809    fi
17810if test "$MediaInfoAls"     = "no";  then $as_echo "#define MEDIAINFO_ALS_NO 1" >>confdefs.h
17811     fi; if test "$MediaInfoAls"     = "yes"; then $as_echo "#define MEDIAINFO_ALS_YES 1" >>confdefs.h
17812     fi
17813if test "$MediaInfoAmr"     = "no";  then $as_echo "#define MEDIAINFO_AMR_NO 1" >>confdefs.h
17814     fi; if test "$MediaInfoAmr"     = "yes"; then $as_echo "#define MEDIAINFO_AMR_YES 1" >>confdefs.h
17815     fi
17816if test "$MediaInfoAmv"     = "no";  then $as_echo "#define MEDIAINFO_AMV_NO 1" >>confdefs.h
17817     fi; if test "$MediaInfoAmv"     = "yes"; then $as_echo "#define MEDIAINFO_AMV_YES 1" >>confdefs.h
17818     fi
17819if test "$MediaInfoApe"     = "no";  then $as_echo "#define MEDIAINFO_APE_NO 1" >>confdefs.h
17820     fi; if test "$MediaInfoApe"     = "yes"; then $as_echo "#define MEDIAINFO_APE_YES 1" >>confdefs.h
17821     fi
17822if test "$MediaInfoAu"      = "no";  then $as_echo "#define MEDIAINFO_AU_NO 1" >>confdefs.h
17823      fi; if test "$MediaInfoAu"      = "yes"; then $as_echo "#define MEDIAINFO_AU_YES 1" >>confdefs.h
17824      fi
17825if test "$MediaInfoCaf"     = "no";  then $as_echo "#define MEDIAINFO_CAF_NO 1" >>confdefs.h
17826     fi; if test "$MediaInfoCaf"     = "yes"; then $as_echo "#define MEDIAINFO_CAF_YES 1" >>confdefs.h
17827     fi
17828if test "$MediaInfoCelt"    = "no";  then $as_echo "#define MEDIAINFO_CELT_NO 1" >>confdefs.h
17829    fi; if test "$MediaInfoCelt"    = "yes"; then $as_echo "#define MEDIAINFO_CELT_YES 1" >>confdefs.h
17830    fi
17831if test "$MediaInfoDts"     = "no";  then $as_echo "#define MEDIAINFO_DTS_NO 1" >>confdefs.h
17832     fi; if test "$MediaInfoDts"     = "yes"; then $as_echo "#define MEDIAINFO_DTS_YES 1" >>confdefs.h
17833     fi
17834if test "$MediaInfoFlac"    = "no";  then $as_echo "#define MEDIAINFO_FLAC_NO 1" >>confdefs.h
17835    fi; if test "$MediaInfoFlac"    = "yes"; then $as_echo "#define MEDIAINFO_FLAC_YES 1" >>confdefs.h
17836    fi
17837if test "$MediaInfoLa"      = "no";  then $as_echo "#define MEDIAINFO_LA_NO 1" >>confdefs.h
17838      fi; if test "$MediaInfoLa"      = "yes"; then $as_echo "#define MEDIAINFO_LA_YES 1" >>confdefs.h
17839      fi
17840if test "$MediaInfoLatm"    = "no";  then $as_echo "#define MEDIAINFO_LATM_NO 1" >>confdefs.h
17841    fi; if test "$MediaInfoLatm"    = "yes"; then $as_echo "#define MEDIAINFO_LATM_YES 1" >>confdefs.h
17842    fi
17843if test "$MediaInfoMidi"    = "no";  then $as_echo "#define MEDIAINFO_MIDO_NO 1" >>confdefs.h
17844    fi; if test "$MediaInfoMidi"    = "yes"; then $as_echo "#define MEDIAINFO_MIDI_YES 1" >>confdefs.h
17845    fi
17846if test "$MediaInfoMpc"     = "no";  then $as_echo "#define MEDIAINFO_MPC_NO 1" >>confdefs.h
17847     fi; if test "$MediaInfoMpc"     = "yes"; then $as_echo "#define MEDIAINFO_MPC_YES 1" >>confdefs.h
17848     fi
17849if test "$MediaInfoMpcSv8"  = "no";  then $as_echo "#define MEDIAINFO_MPCSV8_NO 1" >>confdefs.h
17850  fi; if test "$MediaInfoMpcSv8"  = "yes"; then $as_echo "#define MEDIAINFO_MPCSV8_YES 1" >>confdefs.h
17851  fi
17852if test "$MediaInfoMpega"   = "no";  then $as_echo "#define MEDIAINFO_MPEGA_NO 1" >>confdefs.h
17853   fi; if test "$MediaInfoMpega"   = "yes"; then $as_echo "#define MEDIAINFO_MPEGA_YES 1" >>confdefs.h
17854   fi
17855if test "$MediaInfoOpenMG"  = "no";  then $as_echo "#define MEDIAINFO_OPENMG_NO 1" >>confdefs.h
17856  fi; if test "$MediaInfoOpenMG"  = "yes"; then $as_echo "#define MEDIAINFO_OPENMG_YES 1" >>confdefs.h
17857  fi
17858if test "$MediaInfoPcm"     = "no";  then $as_echo "#define MEDIAINFO_PCM_NO 1" >>confdefs.h
17859     fi; if test "$MediaInfoPcm"     = "yes"; then $as_echo "#define MEDIAINFO_PCM_YES 1" >>confdefs.h
17860     fi
17861if test "$MediaInfoPs2a"    = "no";  then $as_echo "#define MEDIAINFO_PS2A_NO 1" >>confdefs.h
17862    fi; if test "$MediaInfoPs2a"    = "yes"; then $as_echo "#define MEDIAINFO_PS2A_YES 1" >>confdefs.h
17863    fi
17864if test "$MediaInfoRkau"    = "no";  then $as_echo "#define MEDIAINFO_RKAU_NO 1" >>confdefs.h
17865    fi; if test "$MediaInfoRkau"    = "yes"; then $as_echo "#define MEDIAINFO_RKAU_YES 1" >>confdefs.h
17866    fi
17867if test "$MediaInfoSpeex"   = "no";  then $as_echo "#define MEDIAINFO_SPEEX_NO 1" >>confdefs.h
17868   fi; if test "$MediaInfoSpeex"   = "yes"; then $as_echo "#define MEDIAINFO_SPEEX_YES 1" >>confdefs.h
17869   fi
17870if test "$MediaInfoTak"     = "no";  then $as_echo "#define MEDIAINFO_TAK_NO 1" >>confdefs.h
17871     fi; if test "$MediaInfoTak"     = "yes"; then $as_echo "#define MEDIAINFO_TAK_YES 1" >>confdefs.h
17872     fi
17873if test "$MediaInfoTta"     = "no";  then $as_echo "#define MEDIAINFO_TTA_NO 1" >>confdefs.h
17874     fi; if test "$MediaInfoTta"     = "yes"; then $as_echo "#define MEDIAINFO_TTA_YES 1" >>confdefs.h
17875     fi
17876if test "$MediaInfoTwinVQ"  = "no";  then $as_echo "#define MEDIAINFO_TWINVQ_NO 1" >>confdefs.h
17877  fi; if test "$MediaInfoTwinVQ"  = "yes"; then $as_echo "#define MEDIAINFO_TWINVQ_YES 1" >>confdefs.h
17878  fi
17879if test "$MediaInfoVorbis"  = "no";  then $as_echo "#define MEDIAINFO_VORBIS_NO 1" >>confdefs.h
17880  fi; if test "$MediaInfoVorbis"  = "yes"; then $as_echo "#define MEDIAINFO_VORBIS_YES 1" >>confdefs.h
17881  fi
17882if test "$MediaInfoWvpk"    = "no";  then $as_echo "#define MEDIAINFO_WVPK_NO 1" >>confdefs.h
17883    fi; if test "$MediaInfoWvpk"    = "yes"; then $as_echo "#define MEDIAINFO_WVPK_YES 1" >>confdefs.h
17884    fi
17885if test "$MediaInfoArriRaw" = "no";  then $as_echo "#define MEDIAINFO_ARRIRAW_NO 1" >>confdefs.h
17886 fi; if test "$MediaInfoArriRaw" = "yes"; then $as_echo "#define MEDIAINFO_ARRIRAW_YES 1" >>confdefs.h
17887 fi
17888if test "$MediaInfoBmp"     = "no";  then $as_echo "#define MEDIAINFO_BMP_NO 1" >>confdefs.h
17889     fi; if test "$MediaInfoBmp"     = "yes"; then $as_echo "#define MEDIAINFO_BMP_YES 1" >>confdefs.h
17890     fi
17891if test "$MediaInfoBpg"     = "no";  then $as_echo "#define MEDIAINFO_BPG_NO 1" >>confdefs.h
17892     fi; if test "$MediaInfoBpg"     = "yes"; then $as_echo "#define MEDIAINFO_BPG_YES 1" >>confdefs.h
17893     fi
17894if test "$MediaInfoDds"     = "no";  then $as_echo "#define MEDIAINFO_DDS_NO 1" >>confdefs.h
17895     fi; if test "$MediaInfoDds"     = "yes"; then $as_echo "#define MEDIAINFO_DDS_YES 1" >>confdefs.h
17896     fi
17897if test "$MediaInfoDpx"     = "no";  then $as_echo "#define MEDIAINFO_DPX_NO 1" >>confdefs.h
17898     fi; if test "$MediaInfoDpx"     = "yes"; then $as_echo "#define MEDIAINFO_DPX_YES 1" >>confdefs.h
17899     fi
17900if test "$MediaInfoExr"     = "no";  then $as_echo "#define MEDIAINFO_EXR_NO 1" >>confdefs.h
17901     fi; if test "$MediaInfoExr"     = "yes"; then $as_echo "#define MEDIAINFO_EXR_YES 1" >>confdefs.h
17902     fi
17903if test "$MediaInfoGif"     = "no";  then $as_echo "#define MEDIAINFO_GIF_NO 1" >>confdefs.h
17904     fi; if test "$MediaInfoGif"     = "yes"; then $as_echo "#define MEDIAINFO_GIF_YES 1" >>confdefs.h
17905     fi
17906if test "$MediaInfoIco"     = "no";  then $as_echo "#define MEDIAINFO_ICO_NO 1" >>confdefs.h
17907     fi; if test "$MediaInfoIco"     = "yes"; then $as_echo "#define MEDIAINFO_ICO_YES 1" >>confdefs.h
17908     fi
17909if test "$MediaInfoJpeg"    = "no";  then $as_echo "#define MEDIAINFO_JPEG_NO 1" >>confdefs.h
17910    fi; if test "$MediaInfoJpeg"    = "yes"; then $as_echo "#define MEDIAINFO_JPEG_YES 1" >>confdefs.h
17911    fi
17912if test "$MediaInfoPcx"     = "no";  then $as_echo "#define MEDIAINFO_PCX_NO 1" >>confdefs.h
17913     fi; if test "$MediaInfoPcx"     = "yes"; then $as_echo "#define MEDIAINFO_PCX_YES 1" >>confdefs.h
17914     fi
17915if test "$MediaInfoPng"     = "no";  then $as_echo "#define MEDIAINFO_PNG_NO 1" >>confdefs.h
17916     fi; if test "$MediaInfoPng"     = "yes"; then $as_echo "#define MEDIAINFO_PNG_YES 1" >>confdefs.h
17917     fi
17918if test "$MediaInfoPsd"     = "no";  then $as_echo "#define MEDIAINFO_PSD_NO 1" >>confdefs.h
17919     fi; if test "$MediaInfoPsd"     = "yes"; then $as_echo "#define MEDIAINFO_PSD_YES 1" >>confdefs.h
17920     fi
17921if test "$MediaInfoTiff"    = "no";  then $as_echo "#define MEDIAINFO_TIFF_NO 1" >>confdefs.h
17922    fi; if test "$MediaInfoTiff"    = "yes"; then $as_echo "#define MEDIAINFO_TIFF_YES 1" >>confdefs.h
17923    fi
17924if test "$MediaInfoAaf"     = "no";  then $as_echo "#define MEDIAINFO_AAF_NO 1" >>confdefs.h
17925     fi; if test "$MediaInfoAaf"     = "yes"; then $as_echo "#define MEDIAINFO_AAF_YES 1" >>confdefs.h
17926     fi
17927if test "$MediaInfoBdav"    = "no";  then $as_echo "#define MEDIAINFO_BDAV_NO 1" >>confdefs.h
17928    fi; if test "$MediaInfoBdav"    = "yes"; then $as_echo "#define MEDIAINFO_BDAV_YES 1" >>confdefs.h
17929    fi
17930if test "$MediaInfoBdmv"    = "no";  then $as_echo "#define MEDIAINFO_BDMV_NO 1" >>confdefs.h
17931    fi; if test "$MediaInfoBdmv"    = "yes"; then $as_echo "#define MEDIAINFO_BDMV_YES 1" >>confdefs.h
17932    fi
17933if test "$MediaInfoCdxa"    = "no";  then $as_echo "#define MEDIAINFO_CDXA_NO 1" >>confdefs.h
17934    fi; if test "$MediaInfoCdxa"    = "yes"; then $as_echo "#define MEDIAINFO_CDXA_YES 1" >>confdefs.h
17935    fi
17936if test "$MediaInfoDashMpd" = "no";  then $as_echo "#define MEDIAINFO_DASHMPD_NO 1" >>confdefs.h
17937 fi; if test "$MediaInfoDashMpd" = "yes"; then $as_echo "#define MEDIAINFO_DASHMPD_YES 1" >>confdefs.h
17938 fi
17939if test "$MediaInfoDcp"     = "no";  then $as_echo "#define MEDIAINFO_DCP_NO 1" >>confdefs.h
17940     fi; if test "$MediaInfoDcp"     = "yes"; then $as_echo "#define MEDIAINFO_DCP_YES 1" >>confdefs.h
17941     fi
17942if test "$MediaInfoDpg"     = "no";  then $as_echo "#define MEDIAINFO_DPG_NO 1" >>confdefs.h
17943     fi; if test "$MediaInfoDpg"     = "yes"; then $as_echo "#define MEDIAINFO_DPG_YES 1" >>confdefs.h
17944     fi
17945if test "$MediaInfoReferences" = "no";  then $as_echo "#define MEDIAINFO_REFERENCES_NO 1" >>confdefs.h
17946   fi; if test "$MediaInfoReferences" = "yes"; then $as_echo "#define MEDIAINFO_REFERENCES_YES 1" >>confdefs.h
17947   fi
17948if test "$MediaInfoDvDif"   = "no";  then $as_echo "#define MEDIAINFO_DVDIF_NO 1" >>confdefs.h
17949   fi; if test "$MediaInfoDvDif"   = "yes"; then $as_echo "#define MEDIAINFO_DVDIF_YES 1" >>confdefs.h
17950   fi
17951if test "$MediaInfoDvDifAnalyze" = "no";  then $as_echo "#define MEDIAINFO_DVDIF_ANALYZE_NO 1" >>confdefs.h
17952   fi; if test "$MediaInfoDvDifAnalyze" = "yes"; then $as_echo "#define MEDIAINFO_DVDIF_ANALYZE_YES 1" >>confdefs.h
17953 fi
17954if test "$MediaInfoDvdv"    = "no";  then $as_echo "#define MEDIAINFO_DVDV_NO 1" >>confdefs.h
17955    fi; if test "$MediaInfoDvdv"    = "yes"; then $as_echo "#define MEDIAINFO_DVDV_YES 1" >>confdefs.h
17956    fi
17957if test "$MediaInfoDxw"     = "no";  then $as_echo "#define MEDIAINFO_DXW_NO 1" >>confdefs.h
17958     fi; if test "$MediaInfoDxw"     = "yes"; then $as_echo "#define MEDIAINFO_DXW_YES 1" >>confdefs.h
17959     fi
17960if test "$MediaInfoFlv"     = "no";  then $as_echo "#define MEDIAINFO_FLV_NO 1" >>confdefs.h
17961     fi; if test "$MediaInfoFlv"     = "yes"; then $as_echo "#define MEDIAINFO_FLV_YES 1" >>confdefs.h
17962     fi
17963if test "$MediaInfoGxf"     = "no";  then $as_echo "#define MEDIAINFO_GXF_NO 1" >>confdefs.h
17964     fi; if test "$MediaInfoGxf"     = "yes"; then $as_echo "#define MEDIAINFO_GXF_YES 1" >>confdefs.h
17965     fi
17966if test "$MediaInfohdsF4m"  = "no";  then $as_echo "#define MEDIAINFO_HDSF4M_NO 1" >>confdefs.h
17967  fi; if test "$MediaInfoHdsF4m"  = "yes"; then $as_echo "#define MEDIAINFO_HDSF4M_YES 1" >>confdefs.h
17968  fi
17969if test "$MediaInfoHls"     = "no";  then $as_echo "#define MEDIAINFO_HLS_NO 1" >>confdefs.h
17970     fi; if test "$MediaInfoHls"     = "yes"; then $as_echo "#define MEDIAINFO_HLS_YES 1" >>confdefs.h
17971     fi
17972if test "$MediaInfoMk"      = "no";  then $as_echo "#define MEDIAINFO_MK_NO 1" >>confdefs.h
17973      fi; if test "$MediaInfoMk"      = "yes"; then $as_echo "#define MEDIAINFO_MK_YES 1" >>confdefs.h
17974      fi
17975if test "$MediaInfoMiXml"   = "no";  then $as_echo "#define MEDIAINFO_MIXML_NO 1" >>confdefs.h
17976   fi; if test "$MediaInfoMiXml"   = "yes"; then $as_echo "#define MEDIAINFO_MIXML_YES 1" >>confdefs.h
17977   fi
17978if test "$MediaInfoMpeg4"   = "no";  then $as_echo "#define MEDIAINFO_MPEG4_NO 1" >>confdefs.h
17979   fi; if test "$MediaInfoMpeg4"   = "yes"; then $as_echo "#define MEDIAINFO_MPEG4_YES 1" >>confdefs.h
17980   fi
17981if test "$MediaInfoMpegPs"  = "no";  then $as_echo "#define MEDIAINFO_MPEGPS_NO 1" >>confdefs.h
17982  fi; if test "$MediaInfoMpegPs"  = "yes"; then $as_echo "#define MEDIAINFO_MPEGPS_YES 1" >>confdefs.h
17983  fi
17984if test "$MediaInfoMpegTs"  = "no";  then $as_echo "#define MEDIAINFO_MPEGTS_NO 1" >>confdefs.h
17985  fi; if test "$MediaInfoMpegTs"  = "yes"; then $as_echo "#define MEDIAINFO_MPEGTS_YES 1" >>confdefs.h
17986  fi
17987if test "$MediaInfoMpegTsPcr" = "no"; then $as_echo "#define MEDIAINFO_MPEGTS_PCR_NO 1" >>confdefs.h
17988  fi; if test "$MediaInfoMpegTs" = "yes"; then $as_echo "#define MEDIAINFO_MPEGTS_PCR_YES 1" >>confdefs.h
17989 fi
17990if test "$MediaInfoMpegTsPesTimeStamp" = "no"; then $as_echo "#define MEDIAINFO_MPEGTS_PESTIMESTAMP_NO 1" >>confdefs.h
17991  fi; if test "$MediaInfoMpegTs" = "yes"; then $as_echo "#define MEDIAINFO_MPEGTS_PESTIMESTAMP_YES 1" >>confdefs.h
17992 fi
17993if test "$MediaInfoMxf"     = "no";  then $as_echo "#define MEDIAINFO_MXF_NO 1" >>confdefs.h
17994     fi; if test "$MediaInfoMxf"     = "yes"; then $as_echo "#define MEDIAINFO_MXF_YES 1" >>confdefs.h
17995     fi
17996if test "$MediaInfoNut"     = "no";  then $as_echo "#define MEDIAINFO_NUT_NO 1" >>confdefs.h
17997     fi; if test "$MediaInfoNut"     = "yes"; then $as_echo "#define MEDIAINFO_NUT_YES 1" >>confdefs.h
17998     fi
17999if test "$MediaInfoOgg"     = "no";  then $as_echo "#define MEDIAINFO_OGG_NO 1" >>confdefs.h
18000     fi; if test "$MediaInfoOgg"     = "yes"; then $as_echo "#define MEDIAINFO_OGG_YES 1" >>confdefs.h
18001     fi
18002if test "$MediaInfoPmp"     = "no";  then $as_echo "#define MEDIAINFO_PMP_NO 1" >>confdefs.h
18003     fi; if test "$MediaInfoPmp"     = "yes"; then $as_echo "#define MEDIAINFO_PMP_YES 1" >>confdefs.h
18004     fi
18005if test "$MediaInfoRiff"    = "no";  then $as_echo "#define MEDIAINFO_RIFF_NO 1" >>confdefs.h
18006    fi; if test "$MediaInfoRiff"    = "yes"; then $as_echo "#define MEDIAINFO_RIFF_YES 1" >>confdefs.h
18007    fi
18008if test "$MediaInfoRm"      = "no";  then $as_echo "#define MEDIAINFO_RM_NO 1" >>confdefs.h
18009      fi; if test "$MediaInfoRm"      = "yes"; then $as_echo "#define MEDIAINFO_RM_YES 1" >>confdefs.h
18010      fi
18011if test "$MediaInfoSkm"     = "no";  then $as_echo "#define MEDIAINFO_SKM_NO 1" >>confdefs.h
18012     fi; if test "$MediaInfoSkm"     = "yes"; then $as_echo "#define MEDIAINFO_SKM_YES 1" >>confdefs.h
18013     fi
18014if test "$MediaInfoSwf"     = "no";  then $as_echo "#define MEDIAINFO_SWF_NO 1" >>confdefs.h
18015     fi; if test "$MediaInfoSwf"     = "yes"; then $as_echo "#define MEDIAINFO_SWF_YES 1" >>confdefs.h
18016     fi
18017if test "$MediaInfoTsp"     = "no";  then $as_echo "#define MEDIAINFO_TSP_NO 1" >>confdefs.h
18018     fi; if test "$MediaInfoTsp"     = "yes"; then $as_echo "#define MEDIAINFO_TSP_YES 1" >>confdefs.h
18019     fi
18020if test "$MediaInfoWm"      = "no";  then $as_echo "#define MEDIAINFO_WM_NO 1" >>confdefs.h
18021      fi; if test "$MediaInfoWm"      = "yes"; then $as_echo "#define MEDIAINFO_WM_YES 1" >>confdefs.h
18022      fi
18023if test "$MediaInfoApeTag"  = "no";  then $as_echo "#define MEDIAINFO_APETAG_NO 1" >>confdefs.h
18024  fi; if test "$MediaInfoApeTag"  = "yes"; then $as_echo "#define MEDIAINFO_APETAG_YES 1" >>confdefs.h
18025  fi
18026if test "$MediaInfoId3"     = "no";  then $as_echo "#define MEDIAINFO_ID3_NO 1" >>confdefs.h
18027     fi; if test "$MediaInfoId3"     = "yes"; then $as_echo "#define MEDIAINFO_ID3_YES 1" >>confdefs.h
18028     fi
18029if test "$MediaInfoId3v2"   = "no";  then $as_echo "#define MEDIAINFO_ID3V2_NO 1" >>confdefs.h
18030   fi; if test "$MediaInfoId3v2"   = "yes"; then $as_echo "#define MEDIAINFO_ID3V2_YES 1" >>confdefs.h
18031   fi
18032if test "$MediaInfoLyrics3" = "no";  then $as_echo "#define MEDIAINFO_LYRICS3_NO 1" >>confdefs.h
18033 fi; if test "$MediaInfoLyrics3" = "yes"; then $as_echo "#define MEDIAINFO_LYRICS3_YES 1" >>confdefs.h
18034 fi
18035if test "$MediaInfoLyrics3v2" = "no";  then $as_echo "#define MEDIAINFO_LYRICS3V2_NO 1" >>confdefs.h
18036 fi; if test "$MediaInfoLyrics3v2" = "yes"; then $as_echo "#define MEDIAINFO_LYRICS3V2_YES 1" >>confdefs.h
18037 fi
18038if test "$MediaInfoVorbisCom" = "no";  then $as_echo "#define MEDIAINFO_VORBISCOM_NO 1" >>confdefs.h
18039 fi; if test "$MediaInfoVorbisCom" = "yes"; then $as_echo "#define MEDIAINFO_VORBISCOM_YES 1" >>confdefs.h
18040 fi
18041if test "$MediaInfoCmml"    = "no";  then $as_echo "#define MEDIAINFO_CMML_NO 1" >>confdefs.h
18042    fi; if test "$MediaInfoCmml"    = "yes"; then $as_echo "#define MEDIAINFO_CMML_YES 1" >>confdefs.h
18043    fi
18044if test "$MediaInfoDvbSubtitle" = "no"; then $as_echo "#define MEDIAINFO_DVBSUBTITLE_NO 1" >>confdefs.h
18045 fi; if test "$MediaInfoDvbSubtitle" = "yes"; then $as_echo "#define MEDIAINFO_DVBSUBTITLE_YES 1" >>confdefs.h
18046  fi
18047if test "$MediaInfoaribstdb24b37" = "no"; then $as_echo "#define MEDIAINFO_ARIBSTDB24B37_NO 1" >>confdefs.h
18048 fi; if test "$MediaInfoaribstdb24b37" = "yes"; then $as_echo "#define MEDIAINFO_ARIBSTDB24B37_YES 1" >>confdefs.h
18049 fi
18050if test "$MediaInfoEia608"  = "no";  then $as_echo "#define MEDIAINFO_EIA608_NO 1" >>confdefs.h
18051  fi; if test "$MediaInfoEia608"  = "yes"; then $as_echo "#define MEDIAINFO_EIA608_YES 1" >>confdefs.h
18052  fi
18053if test "$MediaInfoEia708"  = "no";  then $as_echo "#define MEDIAINFO_EIA708_NO 1" >>confdefs.h
18054  fi; if test "$MediaInfoEia708"  = "yes"; then $as_echo "#define MEDIAINFO_EIA708_YES 1" >>confdefs.h
18055  fi
18056if test "$MediaInfoSubRip"  = "no";  then $as_echo "#define MEDIAINFO_SUBRIP_NO 1" >>confdefs.h
18057  fi; if test "$MediaInfoSubRip"  = "yes"; then $as_echo "#define MEDIAINFO_SUBRIP_YES 1" >>confdefs.h
18058 fi
18059if test "$MediaInfoTeletext" = "no";  then $as_echo "#define MEDIAINFO_TELETEXT_NO 1" >>confdefs.h
18060 fi; if test "$MediaInfoTeletext" = "yes"; then $as_echo "#define MEDIAINFO_TELETEXT_YES 1" >>confdefs.h
18061 fi
18062if test "$MediaInfoTimedText" = "no";  then $as_echo "#define MEDIAINFO_TIMEDTEXT_NO 1" >>confdefs.h
18063    fi; if test "$MediaInfoTimedText"  = "yes"; then $as_echo "#define MEDIAINFO_TIMEDTEXT_YES 1" >>confdefs.h
18064 fi
18065if test "$MediaInfoTtml"    = "no";  then $as_echo "#define MEDIAINFO_TTML_NO 1" >>confdefs.h
18066    fi; if test "$MediaInfoTtml"    = "yes"; then $as_echo "#define MEDIAINFO_TTML_YES 1" >>confdefs.h
18067 fi
18068if test "$MediaInfoKate"    = "no";  then $as_echo "#define MEDIAINFO_KATE_NO 1" >>confdefs.h
18069    fi; if test "$MediaInfoKate"    = "yes"; then $as_echo "#define MEDIAINFO_KATE_YES 1" >>confdefs.h
18070    fi
18071if test "$MediaInfoPdf"     = "no";  then $as_echo "#define MEDIAINFO_PDF_NO 1" >>confdefs.h
18072     fi; if test "$MediaInfoPdf"     = "yes"; then $as_echo "#define MEDIAINFO_PDF_YES 1" >>confdefs.h
18073     fi
18074if test "$MediaInfoPgs"     = "no";  then $as_echo "#define MEDIAINFO_PGS_NO 1" >>confdefs.h
18075     fi; if test "$MediaInfoPgs"     = "yes"; then $as_echo "#define MEDIAINFO_PGS_YES 1" >>confdefs.h
18076     fi
18077if test "$MediaInfoScc"     = "no";  then $as_echo "#define MEDIAINFO_SCC_NO 1" >>confdefs.h
18078     fi; if test "$MediaInfoScc"     = "yes"; then $as_echo "#define MEDIAINFO_SCC_YES 1" >>confdefs.h
18079     fi
18080if test "$MediaInfoAic"     = "no";  then $as_echo "#define MEDIAINFO_AIC_NO 1" >>confdefs.h
18081     fi; if test "$MediaInfoAic"     = "yes"; then $as_echo "#define MEDIAINFO_AIC_YES 1" >>confdefs.h
18082     fi
18083if test "$MediaInfoAv1"     = "no";  then $as_echo "#define MEDIAINFO_AV1_NO 1" >>confdefs.h
18084     fi; if test "$MediaInfoAv1"     = "yes"; then $as_echo "#define MEDIAINFO_AV1_YES 1" >>confdefs.h
18085     fi
18086if test "$MediaInfoAvc"     = "no";  then $as_echo "#define MEDIAINFO_AVC_NO 1" >>confdefs.h
18087     fi; if test "$MediaInfoAvc"     = "yes"; then $as_echo "#define MEDIAINFO_AVC_YES 1" >>confdefs.h
18088     fi
18089if test "$MediaInfoAvsV"    = "no";  then $as_echo "#define MEDIAINFO_AVSV_NO 1" >>confdefs.h
18090    fi; if test "$MediaInfoAvsV"    = "yes"; then $as_echo "#define MEDIAINFO_AVSV_YES 1" >>confdefs.h
18091    fi
18092if test "$MediaInfoCanopus" = "no";  then $as_echo "#define MEDIAINFO_CANOPUS_NO 1" >>confdefs.h
18093 fi; if test "$MediaInfoCanopus" = "yes"; then $as_echo "#define MEDIAINFO_CANOPUS_YES 1" >>confdefs.h
18094 fi
18095if test "$MediaInfoFfv1"    = "no";  then $as_echo "#define MEDIAINFO_FFV1_NO 1" >>confdefs.h
18096    fi; if test "$MediaInfoFfv1"    = "yes"; then $as_echo "#define MEDIAINFO_FFV1_YES 1" >>confdefs.h
18097    fi
18098if test "$MediaInfoFlic"    = "no";  then $as_echo "#define MEDIAINFO_FLIC_NO 1" >>confdefs.h
18099    fi; if test "$MediaInfoFlic"    = "yes"; then $as_echo "#define MEDIAINFO_FLIC_YES 1" >>confdefs.h
18100    fi
18101if test "$MediaInfoH263"    = "no";  then $as_echo "#define MEDIAINFO_H263_NO 1" >>confdefs.h
18102    fi; if test "$MediaInfoH263"    = "yes"; then $as_echo "#define MEDIAINFO_H263_YES 1" >>confdefs.h
18103    fi
18104if test "$MediaInfoHevc"    = "no";  then $as_echo "#define MEDIAINFO_HEVC_NO 1" >>confdefs.h
18105    fi; if test "$MediaInfoHevc"    = "yes"; then $as_echo "#define MEDIAINFO_HEVC_YES 1" >>confdefs.h
18106    fi
18107if test "$MediaInfoHuffYUV" = "no";  then $as_echo "#define MEDIAINFO_HUFFYUV_NO 1" >>confdefs.h
18108 fi; if test "$MediaInfoHuffYUV" = "yes"; then $as_echo "#define MEDIAINFO_HUFFYUV_YES 1" >>confdefs.h
18109 fi
18110if test "$MediaInfoMpeg4v"  = "no";  then $as_echo "#define MEDIAINFO_MPEG4V_NO 1" >>confdefs.h
18111  fi; if test "$MediaInfoMpeg4v"  = "yes"; then $as_echo "#define MEDIAINFO_MPEG4V_YES 1" >>confdefs.h
18112  fi
18113if test "$MediaInfoMpegv"   = "no";  then $as_echo "#define MEDIAINFO_MPEGV_NO 1" >>confdefs.h
18114   fi; if test "$MediaInfoMpegv"   = "yes"; then $as_echo "#define MEDIAINFO_MPEGV_YES 1" >>confdefs.h
18115   fi
18116if test "$MediaInfoProRes"  = "no";  then $as_echo "#define MEDIAINFO_PRORES_NO 1" >>confdefs.h
18117  fi; if test "$MediaInfoProRes"  = "yes"; then $as_echo "#define MEDIAINFO_PRORES_YES 1" >>confdefs.h
18118  fi
18119if test "$MediaInfoTheora"  = "no";  then $as_echo "#define MEDIAINFO_THEORA_NO 1" >>confdefs.h
18120  fi; if test "$MediaInfoTheora"  = "yes"; then $as_echo "#define MEDIAINFO_THEORA_YES 1" >>confdefs.h
18121  fi
18122if test "$MediaInfoVc1"     = "no";  then $as_echo "#define MEDIAINFO_VC1_NO 1" >>confdefs.h
18123     fi; if test "$MediaInfoVc1"     = "yes"; then $as_echo "#define MEDIAINFO_VC1_YES 1" >>confdefs.h
18124     fi
18125if test "$MediaInfoVc3"     = "no";  then $as_echo "#define MEDIAINFO_VC3_NO 1" >>confdefs.h
18126     fi; if test "$MediaInfoVc3"     = "yes"; then $as_echo "#define MEDIAINFO_VC3_YES 1" >>confdefs.h
18127     fi
18128if test "$MediaInfoVp8"     = "no";  then $as_echo "#define MEDIAINFO_VP8_NO 1" >>confdefs.h
18129     fi; if test "$MediaInfoVp8"     = "yes"; then $as_echo "#define MEDIAINFO_VP8_YES 1" >>confdefs.h
18130     fi
18131if test "$MediaInfoY4m"     = "no";  then $as_echo "#define MEDIAINFO_Y4M_NO 1" >>confdefs.h
18132     fi; if test "$MediaInfoY4m"     = "yes"; then $as_echo "#define MEDIAINFO_Y4M_YES 1" >>confdefs.h
18133     fi
18134
18135 if test "$MediaInfoDll" != "no"; then
18136  COMPILE_DLL_TRUE=
18137  COMPILE_DLL_FALSE='#'
18138else
18139  COMPILE_DLL_TRUE='#'
18140  COMPILE_DLL_FALSE=
18141fi
18142
18143
18144
18145if test -e ../../../../ZenLib/Project/GNU/Library/libzen-config; then
18146	enable_unicode="$(../../../../ZenLib/Project/GNU/Library/libzen-config Unicode)"
18147elif test "$(command -v libzen-config)" ; then
18148	enable_unicode="$(libzen-config Unicode)"
18149else
18150	if pkg-config --exists libzen; then
18151		enable_unicode="$(pkg-config --variable=Unicode libzen)"
18152	else
18153		as_fn_error $? "libzen configuration is not found" "$LINENO" 5
18154	fi
18155fi
18156
18157
18158
18159if test "$with_libz_static" != "yes"; then
18160	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
18161$as_echo_n "checking for uncompress in -lz... " >&6; }
18162if ${ac_cv_lib_z_uncompress+:} false; then :
18163  $as_echo_n "(cached) " >&6
18164else
18165  ac_check_lib_save_LIBS=$LIBS
18166LIBS="-lz  $LIBS"
18167cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168/* end confdefs.h.  */
18169
18170/* Override any GCC internal prototype to avoid an error.
18171   Use char because int might match the return type of a GCC
18172   builtin and then its argument prototype would still apply.  */
18173#ifdef __cplusplus
18174extern "C"
18175#endif
18176char uncompress ();
18177int
18178main ()
18179{
18180return uncompress ();
18181  ;
18182  return 0;
18183}
18184_ACEOF
18185if ac_fn_c_try_link "$LINENO"; then :
18186  ac_cv_lib_z_uncompress=yes
18187else
18188  ac_cv_lib_z_uncompress=no
18189fi
18190rm -f core conftest.err conftest.$ac_objext \
18191    conftest$ac_exeext conftest.$ac_ext
18192LIBS=$ac_check_lib_save_LIBS
18193fi
18194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
18195$as_echo "$ac_cv_lib_z_uncompress" >&6; }
18196if test "x$ac_cv_lib_z_uncompress" = xyes; then :
18197  have_libz="yes"
18198else
18199  have_libz="no"
18200fi
18201
18202	for ac_header in zlib.h
18203do :
18204  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18205if test "x$ac_cv_header_zlib_h" = xyes; then :
18206  cat >>confdefs.h <<_ACEOF
18207#define HAVE_ZLIB_H 1
18208_ACEOF
18209
18210else
18211  have_libz="no"
18212fi
18213
18214done
18215
18216else
18217	have_libz="no"
18218fi
18219if test "$have_libz" != "yes"; then
18220	if test -e ../../../../Shared/Source/zlib/libz.a || test -e ../../../../Shared/Source/zlib/libz.la; then
18221		with_zlib="builtin"
18222	else
18223		{ $as_echo "$as_me:${as_lineno-$LINENO}: zlib is not found, trying to download and compile it" >&5
18224$as_echo "$as_me: zlib is not found, trying to download and compile it" >&6;}
18225		if test -e ../../../../Shared/Project/zlib/Compile.sh; then
18226			cd ../../../../Shared/Project/zlib
18227			chmod u+x Compile.sh
18228			# Since zlib configure answer :unknown option: --build=
18229			#./Compile.sh --build=$build_alias
18230			./Compile.sh
18231			cd $Home
18232			if test -e ../../../../Shared/Source/zlib/libz.a || test -e ../../../../Shared/Source/zlib/libz.la; then
18233				with_zlib="builtin"
18234			else
18235				with_zlib="no"
18236				as_fn_error $? "Problem while compiling builtin zlib" "$LINENO" 5
18237			fi
18238		else
18239			with_zlib="no"
18240			as_fn_error $? "zlib is not found, please install development package of zlib" "$LINENO" 5
18241		fi
18242	fi
18243	CXXFLAGS="$CXXFLAGS -I../../../../Shared/Source/zlib"
18244	LIBS="$LIBS -L../../../../Shared/Source/zlib"
18245	MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/zlib -lz"
18246	MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/zlib -lz"
18247else
18248    with_zlib="system"
18249    LIBS="$LIBS -lz"
18250    MediaInfoLib_LIBS="$MediaInfoLib_LIBS -lz"
18251    MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -lz"
18252fi
18253
18254if test -e ../../../../ZenLib/Project/GNU/Library/libzen.la; then
18255	CXXFLAGS="$CXXFLAGS $(../../../../ZenLib/Project/GNU/Library/libzen-config CXXFLAGS)"
18256	if test "$enable_staticlibs" = "yes"; then
18257		with_zenlib="builtin (static)"
18258		LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS_Static)"
18259	else
18260		with_zenlib="builtin"
18261		LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18262		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18263		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18264	fi
18265elif test "$(command -v libzen-config)" ; then
18266	CXXFLAGS="$CXXFLAGS $(libzen-config CXXFLAGS)"
18267	if test "$enable_staticlibs" = "yes"; then
18268		with_zenlib="system (static)"
18269		LIBS="$LIBS $(libzen-config LIBS_Static)"
18270	else
18271		with_zenlib="system"
18272		LIBS="$LIBS $(libzen-config LIBS)"
18273		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(libzen-config LIBS)"
18274		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(libzen-config LIBS)"
18275	fi
18276else
18277	if pkg-config --exists libzen; then
18278		CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)"
18279		if test "$enable_staticlibs" = "yes"; then
18280			with_zenlib="system (static)"
18281			LIBS="$LIBS $(pkg-config --variable=LIBS_Static libzen)"
18282		else
18283			with_zenlib="system"
18284			LIBS="$LIBS $(pkg-config --libs libzen)"
18285			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --variable=LIBS libzen)"
18286		fi
18287	else
18288		as_fn_error $? "libzen configuration is not found" "$LINENO" 5
18289	fi
18290fi
18291
18292if test -d $with_graphviz; then
18293	if test -f "$with_graphviz/lib/pkgconfig/libgvc.pc"; then
18294		gvcpcfile="$with_graphviz/lib/pkgconfig/libgvc.pc"
18295	else
18296		as_fn_error $? "Problem while configuring builtin graphviz (libgvc.pc not found)" "$LINENO" 5
18297	fi
18298	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags $gvcpcfile)"
18299	if test "$enable_staticlibs" = "yes"; then
18300		using_graphviz="custom (static)"
18301		LIBS="$LIBS $(pkg-config --libs --static $gvcpcfile)"
18302		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $gvcpcfile)"
18303		Graphviz_Lib=" $(pkg-config --libs --static $gvcpcfile)"
18304	else
18305		using_graphviz="custom"
18306		LIBS="$LIBS $(pkg-config --libs $gvcpcfile)"
18307		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $gvcpcfile)"
18308		Graphviz_Lib=" $(pkg-config --libs --static $gvcpcfile)"
18309	fi
18310elif test "$with_graphviz" = "no"; then
18311	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_GRAPHVIZ_NO"
18312	using_graphviz="no"
18313elif test "$with_graphviz" = "runtime"; then
18314	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18315$as_echo_n "checking for dlopen in -ldl... " >&6; }
18316if ${ac_cv_lib_dl_dlopen+:} false; then :
18317  $as_echo_n "(cached) " >&6
18318else
18319  ac_check_lib_save_LIBS=$LIBS
18320LIBS="-ldl  $LIBS"
18321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322/* end confdefs.h.  */
18323
18324/* Override any GCC internal prototype to avoid an error.
18325   Use char because int might match the return type of a GCC
18326   builtin and then its argument prototype would still apply.  */
18327#ifdef __cplusplus
18328extern "C"
18329#endif
18330char dlopen ();
18331int
18332main ()
18333{
18334return dlopen ();
18335  ;
18336  return 0;
18337}
18338_ACEOF
18339if ac_fn_c_try_link "$LINENO"; then :
18340  ac_cv_lib_dl_dlopen=yes
18341else
18342  ac_cv_lib_dl_dlopen=no
18343fi
18344rm -f core conftest.err conftest.$ac_objext \
18345    conftest$ac_exeext conftest.$ac_ext
18346LIBS=$ac_check_lib_save_LIBS
18347fi
18348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18349$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18350if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18351  use_libdl="yes"
18352else
18353  use_libdl="no"
18354fi
18355
18356	if test "$use_libdl" = "yes"; then
18357		LIBS="$LIBS -ldl"
18358		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -ldl"
18359		Graphviz_Lib=" -ldl"
18360	fi
18361	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_GRAPHVIZ_DLL_RUNTIME"
18362	using_graphviz="system (runtime)"
18363elif pkg-config --exists libgvc; then
18364	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libgvc)"
18365	if test "$enable_staticlibs" = "yes"; then
18366		using_graphviz="system (static)"
18367		LIBS="$LIBS $(pkg-config --libs --static libgvc)"
18368		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static libgvc)"
18369		Graphviz_Lib=" $(pkg-config --libs --static libgvc)"
18370	else
18371		using_graphviz="system"
18372		LIBS="$LIBS $(pkg-config --libs libgvc)"
18373		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libgvc)"
18374		Graphviz_Lib=" $(pkg-config --libs libgvc)"
18375	fi
18376	Graphviz_Require=" libgvc"
18377else
18378	as_fn_error $? "graphviz development files are not found. Install the corresponding graphviz development package (e.g. \"apt-get install graphviz-dev\" or \"yum install graphviz-devel\"" "$LINENO" 5
18379fi
18380
18381if test -d $with_libcurl; then
18382	if test -f $with_libcurl/libcurl.pc; then
18383		libcurlpcfile="$with_libcurl/libcurl.pc"
18384	else
18385		if test -f "$with_libcurl/libdata/pkgconfig/libcurl.pc"; then
18386			libcurlpcfile="$with_libcurl/libdata/pkgconfig/libcurl.pc"
18387		else
18388			as_fn_error $? "Problem while configuring builtin curl (libcurl.pc not found)" "$LINENO" 5
18389		fi
18390	fi
18391	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags $libcurlpcfile)"
18392	if test "$enable_staticlibs" = "yes"; then
18393		using_libcurl="custom (static)"
18394		LIBS="$LIBS $(pkg-config --libs --static $libcurlpcfile)"
18395		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $libcurlpcfile)"
18396	else
18397		using_libcurl="custom"
18398		LIBS="$LIBS $with_libcurl/lib $(pkg-config --libs $libcurlpcfile)"
18399		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs $libcurlpcfile)"
18400	fi
18401elif test "$with_libcurl" = "no"; then
18402	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBCURL_NO"
18403	using_libcurl="no"
18404elif test "$with_libcurl" = "runtime"; then
18405	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18406$as_echo_n "checking for dlopen in -ldl... " >&6; }
18407if ${ac_cv_lib_dl_dlopen+:} false; then :
18408  $as_echo_n "(cached) " >&6
18409else
18410  ac_check_lib_save_LIBS=$LIBS
18411LIBS="-ldl  $LIBS"
18412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413/* end confdefs.h.  */
18414
18415/* Override any GCC internal prototype to avoid an error.
18416   Use char because int might match the return type of a GCC
18417   builtin and then its argument prototype would still apply.  */
18418#ifdef __cplusplus
18419extern "C"
18420#endif
18421char dlopen ();
18422int
18423main ()
18424{
18425return dlopen ();
18426  ;
18427  return 0;
18428}
18429_ACEOF
18430if ac_fn_c_try_link "$LINENO"; then :
18431  ac_cv_lib_dl_dlopen=yes
18432else
18433  ac_cv_lib_dl_dlopen=no
18434fi
18435rm -f core conftest.err conftest.$ac_objext \
18436    conftest$ac_exeext conftest.$ac_ext
18437LIBS=$ac_check_lib_save_LIBS
18438fi
18439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18440$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18441if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18442  use_libdl="yes"
18443else
18444  use_libdl="no"
18445fi
18446
18447	if test "$use_libdl" = "yes"; then
18448		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -ldl"
18449		Curl_Lib=" -ldl"
18450	fi
18451	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBCURL_DLL_RUNTIME"
18452	using_libcurl="system (runtime)"
18453elif test -e ../../../../curl/libcurl.pc; then
18454	CXXFLAGS="$CXXFLAGS -I../../../../curl/include"
18455	if test "$enable_staticlibs" = "yes"; then
18456		using_libcurl="builtin (static)"
18457		LIBS="$LIBS $(pkg-config --libs --static ../../../../curl/libcurl.pc)"
18458	else
18459		using_libcurl="builtin"
18460		LIBS="$LIBS $(pkg-config --libs ../../../../curl/libcurl.pc)"
18461		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs ../../../../curl/libcurl.pc)"
18462		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs ../../../../curl/libcurl.pc)"
18463	fi
18464elif pkg-config --exists libcurl; then
18465	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libcurl)"
18466	if test "$enable_staticlibs" = "yes"; then
18467		using_libcurl="system (static)"
18468		LIBS="$LIBS $(pkg-config --libs --static libcurl)"
18469	else
18470		using_libcurl="system"
18471		LIBS="$LIBS $(pkg-config --libs libcurl)"
18472		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs libcurl)"
18473		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libcurl)"
18474	fi
18475	Curl_Require=" libcurl"
18476	Curl_Lib=" -lcurl"
18477elif test -e /usr/bin/curl-config; then
18478	CXXFLAGS="$CXXFLAGS $(/usr/bin/curl-config --cflags)"
18479	if test "$enable_staticlibs" = "yes"; then
18480		using_libcurl="system (static)"
18481		LIBS="$LIBS $(/usr/bin/curl-config --libs)"
18482	else
18483		using_libcurl="system"
18484		LIBS="$LIBS $(pkg-config --libs libcurl)"
18485		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(/usr/bin/curl-config --libs)"
18486		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(/usr/bin/curl-config --libs)"
18487	fi
18488elif test -e ../../../../Shared/Project/curl/Compile.sh; then
18489	cd ../../../../Shared/Project/curl
18490	chmod u+x Compile.sh
18491	./Compile.sh --build=$build_alias
18492	cd $Home
18493	if test -e ../../../../Shared/Source/curl/lib/libcurl.a || test -e ../../../../Shared/Source/curl/lib/libcurl.la; then
18494		CXXFLAGS="$CXXFLAGS -I../../../../Shared/Source/curl/include"
18495		if test "$enable_staticlibs" = "yes"; then
18496			using_libcurl="builtin (static)"
18497			LIBS="$LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18498			MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18499			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18500		else
18501			using_libcurl="builtin"
18502			LIBS="$LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18503			MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18504			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18505		fi
18506	else
18507		as_fn_error $? "Problem while compiling builtin curl" "$LINENO" 5
18508	fi
18509else
18510	as_fn_error $? "libcurl development files are not found. Install the corresponding libcurl development package (e.g. \"apt-get install libcurl-dev\" or \"yum install libcurl-devel\"" "$LINENO" 5
18511fi
18512
18513if test -d $with_libmms; then
18514	CXXFLAGS="$CXXFLAGS  -I$with_libmms/src $(pkg-config --cflags $with_libmms/libdata/pkgconfig/libmms.pc)"
18515	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS -I$with_libmms $(pkg-config --cflags $with_libmms/libdata/pkgconfig/libmms.pc)"
18516	if test "$enable_staticlibs" = "yes"; then
18517		using_libmms="custom (static)"
18518		LIBS="$LIBS -L$with_libmms/lib $(pkg-config --libs --static $with_libmms/libdata/pkgconfig/libmms.pc)"
18519		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L$with_libmms/lib $(pkg-config --libs --static $with_libmms/libdata/pkgconfig/libmms.pc)"
18520	else
18521		using_libmms="custom"
18522		LIBS="$LIBS -L$with_libmms/lib $(pkg-config --libs $with_libmms/libdata/pkgconfig/libmms.pc)"
18523		MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L$with_libmms/lib $(pkg-config --libs $with_libmms/libdata/pkgconfig/libmms.pc)"
18524	fi
18525elif test "$with_libmms" = "no"; then
18526	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBMMS_NO"
18527	using_libmms="no"
18528elif test -e ../../../../libmms/libmms.pc; then
18529	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags ../../../../libmms/libmms.pc)"
18530	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags ../../../../libmms/libmms.pc)"
18531	if test "$enable_staticlibs" = "yes"; then
18532		using_libmms="builtin (static)"
18533		LIBS="$LIBS $(pkg-config --libs --static ../../../../libmms/libmms.pc)"
18534	else
18535		using_libmms="builtin"
18536		LIBS="$LIBS $(pkg-config --libs ../../../../libmms/libmms.pc)"
18537		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs ../../../../libmms/libmms.pc)"
18538		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs ../../../../libmms/libmms.pc)"
18539	fi
18540elif pkg-config --exists libmms; then
18541	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libmms)"
18542	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags libmms)"
18543	if test "$enable_staticlibs" = "yes"; then
18544		using_libmms="system (static)"
18545		LIBS="$LIBS $(pkg-config --libs --static libmms)"
18546	else
18547		using_libmms="system"
18548		LIBS="$LIBS $(pkg-config --libs libmms)"
18549		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs libmms)"
18550		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libmms)"
18551	fi
18552else
18553	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBMMS_NO"
18554	using_libmms="not found"
18555fi
18556
18557if test "$with_libaes" = "yes"; then
18558
18559
18560
18561
18562
18563
18564
18565if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18566	if test -n "$ac_tool_prefix"; then
18567  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18568set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18570$as_echo_n "checking for $ac_word... " >&6; }
18571if ${ac_cv_path_PKG_CONFIG+:} false; then :
18572  $as_echo_n "(cached) " >&6
18573else
18574  case $PKG_CONFIG in
18575  [\\/]* | ?:[\\/]*)
18576  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18577  ;;
18578  *)
18579  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18580for as_dir in $PATH
18581do
18582  IFS=$as_save_IFS
18583  test -z "$as_dir" && as_dir=.
18584    for ac_exec_ext in '' $ac_executable_extensions; do
18585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18586    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18588    break 2
18589  fi
18590done
18591  done
18592IFS=$as_save_IFS
18593
18594  ;;
18595esac
18596fi
18597PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18598if test -n "$PKG_CONFIG"; then
18599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18600$as_echo "$PKG_CONFIG" >&6; }
18601else
18602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18603$as_echo "no" >&6; }
18604fi
18605
18606
18607fi
18608if test -z "$ac_cv_path_PKG_CONFIG"; then
18609  ac_pt_PKG_CONFIG=$PKG_CONFIG
18610  # Extract the first word of "pkg-config", so it can be a program name with args.
18611set dummy pkg-config; ac_word=$2
18612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18613$as_echo_n "checking for $ac_word... " >&6; }
18614if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18615  $as_echo_n "(cached) " >&6
18616else
18617  case $ac_pt_PKG_CONFIG in
18618  [\\/]* | ?:[\\/]*)
18619  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18620  ;;
18621  *)
18622  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18623for as_dir in $PATH
18624do
18625  IFS=$as_save_IFS
18626  test -z "$as_dir" && as_dir=.
18627    for ac_exec_ext in '' $ac_executable_extensions; do
18628  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18629    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18630    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18631    break 2
18632  fi
18633done
18634  done
18635IFS=$as_save_IFS
18636
18637  ;;
18638esac
18639fi
18640ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18641if test -n "$ac_pt_PKG_CONFIG"; then
18642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18643$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18644else
18645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18646$as_echo "no" >&6; }
18647fi
18648
18649  if test "x$ac_pt_PKG_CONFIG" = x; then
18650    PKG_CONFIG=""
18651  else
18652    case $cross_compiling:$ac_tool_warned in
18653yes:)
18654{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18655$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18656ac_tool_warned=yes ;;
18657esac
18658    PKG_CONFIG=$ac_pt_PKG_CONFIG
18659  fi
18660else
18661  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18662fi
18663
18664fi
18665if test -n "$PKG_CONFIG"; then
18666	_pkg_min_version=0.9.0
18667	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18668$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18669	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18670		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18671$as_echo "yes" >&6; }
18672	else
18673		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18674$as_echo "no" >&6; }
18675		PKG_CONFIG=""
18676	fi
18677fi
18678
18679pkg_failed=no
18680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_GLADMAN" >&5
18681$as_echo_n "checking for AES_GLADMAN... " >&6; }
18682
18683if test -n "$AES_GLADMAN_CFLAGS"; then
18684    pkg_cv_AES_GLADMAN_CFLAGS="$AES_GLADMAN_CFLAGS"
18685 elif test -n "$PKG_CONFIG"; then
18686    if test -n "$PKG_CONFIG" && \
18687    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aes_gladman\""; } >&5
18688  ($PKG_CONFIG --exists --print-errors "aes_gladman") 2>&5
18689  ac_status=$?
18690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18691  test $ac_status = 0; }; then
18692  pkg_cv_AES_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "aes_gladman" 2>/dev/null`
18693		      test "x$?" != "x0" && pkg_failed=yes
18694else
18695  pkg_failed=yes
18696fi
18697 else
18698    pkg_failed=untried
18699fi
18700if test -n "$AES_GLADMAN_LIBS"; then
18701    pkg_cv_AES_GLADMAN_LIBS="$AES_GLADMAN_LIBS"
18702 elif test -n "$PKG_CONFIG"; then
18703    if test -n "$PKG_CONFIG" && \
18704    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aes_gladman\""; } >&5
18705  ($PKG_CONFIG --exists --print-errors "aes_gladman") 2>&5
18706  ac_status=$?
18707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18708  test $ac_status = 0; }; then
18709  pkg_cv_AES_GLADMAN_LIBS=`$PKG_CONFIG --libs "aes_gladman" 2>/dev/null`
18710		      test "x$?" != "x0" && pkg_failed=yes
18711else
18712  pkg_failed=yes
18713fi
18714 else
18715    pkg_failed=untried
18716fi
18717
18718
18719
18720if test $pkg_failed = yes; then
18721   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18722$as_echo "no" >&6; }
18723
18724if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18725        _pkg_short_errors_supported=yes
18726else
18727        _pkg_short_errors_supported=no
18728fi
18729        if test $_pkg_short_errors_supported = yes; then
18730	        AES_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "aes_gladman" 2>&1`
18731        else
18732	        AES_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "aes_gladman" 2>&1`
18733        fi
18734	# Put the nasty error message in config.log where it belongs
18735	echo "$AES_GLADMAN_PKG_ERRORS" >&5
18736
18737	as_fn_error $? "Package requirements (aes_gladman) were not met:
18738
18739$AES_GLADMAN_PKG_ERRORS
18740
18741Consider adjusting the PKG_CONFIG_PATH environment variable if you
18742installed software in a non-standard prefix.
18743
18744Alternatively, you may set the environment variables AES_GLADMAN_CFLAGS
18745and AES_GLADMAN_LIBS to avoid the need to call pkg-config.
18746See the pkg-config man page for more details." "$LINENO" 5
18747elif test $pkg_failed = untried; then
18748     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18749$as_echo "no" >&6; }
18750	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18752as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18753is in your PATH or set the PKG_CONFIG environment variable to the full
18754path to pkg-config.
18755
18756Alternatively, you may set the environment variables AES_GLADMAN_CFLAGS
18757and AES_GLADMAN_LIBS to avoid the need to call pkg-config.
18758See the pkg-config man page for more details.
18759
18760To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18761See \`config.log' for more details" "$LINENO" 5; }
18762else
18763	AES_GLADMAN_CFLAGS=$pkg_cv_AES_GLADMAN_CFLAGS
18764	AES_GLADMAN_LIBS=$pkg_cv_AES_GLADMAN_LIBS
18765        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18766$as_echo "yes" >&6; }
18767
18768fi
18769	CXXFLAGS="$CXXFLAGS $AES_CXXFLAGS"
18770	CFLAGS="$CFLAGS $AES_CFLAGS"
18771	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $AES_CFLAGS"
18772	LIBS="$LIBS $AES_LIBS"
18773	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $AES_LIBS"
18774	 if false; then
18775  COMPILE_AES_TRUE=
18776  COMPILE_AES_FALSE='#'
18777else
18778  COMPILE_AES_TRUE='#'
18779  COMPILE_AES_FALSE=
18780fi
18781
18782	using_libaes="system"
18783else
18784	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/aes-gladman"
18785	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/aes-gladman"
18786	using_libaes="internal"
18787	 if true; then
18788  COMPILE_AES_TRUE=
18789  COMPILE_AES_FALSE='#'
18790else
18791  COMPILE_AES_TRUE='#'
18792  COMPILE_AES_FALSE=
18793fi
18794
18795fi
18796
18797
18798
18799
18800
18801
18802
18803
18804if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18805	if test -n "$ac_tool_prefix"; then
18806  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18807set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18809$as_echo_n "checking for $ac_word... " >&6; }
18810if ${ac_cv_path_PKG_CONFIG+:} false; then :
18811  $as_echo_n "(cached) " >&6
18812else
18813  case $PKG_CONFIG in
18814  [\\/]* | ?:[\\/]*)
18815  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18816  ;;
18817  *)
18818  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18819for as_dir in $PATH
18820do
18821  IFS=$as_save_IFS
18822  test -z "$as_dir" && as_dir=.
18823    for ac_exec_ext in '' $ac_executable_extensions; do
18824  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18825    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18827    break 2
18828  fi
18829done
18830  done
18831IFS=$as_save_IFS
18832
18833  ;;
18834esac
18835fi
18836PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18837if test -n "$PKG_CONFIG"; then
18838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18839$as_echo "$PKG_CONFIG" >&6; }
18840else
18841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18842$as_echo "no" >&6; }
18843fi
18844
18845
18846fi
18847if test -z "$ac_cv_path_PKG_CONFIG"; then
18848  ac_pt_PKG_CONFIG=$PKG_CONFIG
18849  # Extract the first word of "pkg-config", so it can be a program name with args.
18850set dummy pkg-config; ac_word=$2
18851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18852$as_echo_n "checking for $ac_word... " >&6; }
18853if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18854  $as_echo_n "(cached) " >&6
18855else
18856  case $ac_pt_PKG_CONFIG in
18857  [\\/]* | ?:[\\/]*)
18858  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18859  ;;
18860  *)
18861  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18862for as_dir in $PATH
18863do
18864  IFS=$as_save_IFS
18865  test -z "$as_dir" && as_dir=.
18866    for ac_exec_ext in '' $ac_executable_extensions; do
18867  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18868    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18869    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18870    break 2
18871  fi
18872done
18873  done
18874IFS=$as_save_IFS
18875
18876  ;;
18877esac
18878fi
18879ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18880if test -n "$ac_pt_PKG_CONFIG"; then
18881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18882$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18883else
18884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18885$as_echo "no" >&6; }
18886fi
18887
18888  if test "x$ac_pt_PKG_CONFIG" = x; then
18889    PKG_CONFIG=""
18890  else
18891    case $cross_compiling:$ac_tool_warned in
18892yes:)
18893{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18894$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18895ac_tool_warned=yes ;;
18896esac
18897    PKG_CONFIG=$ac_pt_PKG_CONFIG
18898  fi
18899else
18900  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18901fi
18902
18903fi
18904if test -n "$PKG_CONFIG"; then
18905	_pkg_min_version=0.9.0
18906	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18907$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18908	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18909		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18910$as_echo "yes" >&6; }
18911	else
18912		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18913$as_echo "no" >&6; }
18914		PKG_CONFIG=""
18915	fi
18916fi
18917
18918if test "$with_libmd5" = "yes"; then
18919
18920pkg_failed=no
18921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5" >&5
18922$as_echo_n "checking for MD5... " >&6; }
18923
18924if test -n "$MD5_CFLAGS"; then
18925    pkg_cv_MD5_CFLAGS="$MD5_CFLAGS"
18926 elif test -n "$PKG_CONFIG"; then
18927    if test -n "$PKG_CONFIG" && \
18928    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"md5\""; } >&5
18929  ($PKG_CONFIG --exists --print-errors "md5") 2>&5
18930  ac_status=$?
18931  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18932  test $ac_status = 0; }; then
18933  pkg_cv_MD5_CFLAGS=`$PKG_CONFIG --cflags "md5" 2>/dev/null`
18934		      test "x$?" != "x0" && pkg_failed=yes
18935else
18936  pkg_failed=yes
18937fi
18938 else
18939    pkg_failed=untried
18940fi
18941if test -n "$MD5_LIBS"; then
18942    pkg_cv_MD5_LIBS="$MD5_LIBS"
18943 elif test -n "$PKG_CONFIG"; then
18944    if test -n "$PKG_CONFIG" && \
18945    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"md5\""; } >&5
18946  ($PKG_CONFIG --exists --print-errors "md5") 2>&5
18947  ac_status=$?
18948  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18949  test $ac_status = 0; }; then
18950  pkg_cv_MD5_LIBS=`$PKG_CONFIG --libs "md5" 2>/dev/null`
18951		      test "x$?" != "x0" && pkg_failed=yes
18952else
18953  pkg_failed=yes
18954fi
18955 else
18956    pkg_failed=untried
18957fi
18958
18959
18960
18961if test $pkg_failed = yes; then
18962   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18963$as_echo "no" >&6; }
18964
18965if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18966        _pkg_short_errors_supported=yes
18967else
18968        _pkg_short_errors_supported=no
18969fi
18970        if test $_pkg_short_errors_supported = yes; then
18971	        MD5_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "md5" 2>&1`
18972        else
18973	        MD5_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "md5" 2>&1`
18974        fi
18975	# Put the nasty error message in config.log where it belongs
18976	echo "$MD5_PKG_ERRORS" >&5
18977
18978	as_fn_error $? "Package requirements (md5) were not met:
18979
18980$MD5_PKG_ERRORS
18981
18982Consider adjusting the PKG_CONFIG_PATH environment variable if you
18983installed software in a non-standard prefix.
18984
18985Alternatively, you may set the environment variables MD5_CFLAGS
18986and MD5_LIBS to avoid the need to call pkg-config.
18987See the pkg-config man page for more details." "$LINENO" 5
18988elif test $pkg_failed = untried; then
18989     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18990$as_echo "no" >&6; }
18991	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18992$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18993as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18994is in your PATH or set the PKG_CONFIG environment variable to the full
18995path to pkg-config.
18996
18997Alternatively, you may set the environment variables MD5_CFLAGS
18998and MD5_LIBS to avoid the need to call pkg-config.
18999See the pkg-config man page for more details.
19000
19001To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19002See \`config.log' for more details" "$LINENO" 5; }
19003else
19004	MD5_CFLAGS=$pkg_cv_MD5_CFLAGS
19005	MD5_LIBS=$pkg_cv_MD5_LIBS
19006        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19007$as_echo "yes" >&6; }
19008
19009fi
19010	CXXFLAGS="$CXXFLAGS $MD5_CXXFLAGS"
19011	CFLAGS="$CFLAGS $MD5_CFLAGS"
19012	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $MD5_CFLAGS"
19013	LIBS="$LIBS $MD5_LIBS"
19014	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $MD5_LIBS"
19015	 if false; then
19016  COMPILE_MD5_TRUE=
19017  COMPILE_MD5_FALSE='#'
19018else
19019  COMPILE_MD5_TRUE='#'
19020  COMPILE_MD5_FALSE=
19021fi
19022
19023	using_libmd5="system"
19024else
19025	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/md5"
19026	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/md5"
19027	using_libmd5="internal"
19028	 if true; then
19029  COMPILE_MD5_TRUE=
19030  COMPILE_MD5_FALSE='#'
19031else
19032  COMPILE_MD5_TRUE='#'
19033  COMPILE_MD5_FALSE=
19034fi
19035
19036fi
19037
19038if test "$with_libsha1" = "yes"; then
19039
19040pkg_failed=no
19041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_GLADMAN" >&5
19042$as_echo_n "checking for SHA1_GLADMAN... " >&6; }
19043
19044if test -n "$SHA1_GLADMAN_CFLAGS"; then
19045    pkg_cv_SHA1_GLADMAN_CFLAGS="$SHA1_GLADMAN_CFLAGS"
19046 elif test -n "$PKG_CONFIG"; then
19047    if test -n "$PKG_CONFIG" && \
19048    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha1_gladman\""; } >&5
19049  ($PKG_CONFIG --exists --print-errors "sha1_gladman") 2>&5
19050  ac_status=$?
19051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19052  test $ac_status = 0; }; then
19053  pkg_cv_SHA1_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "sha1_gladman" 2>/dev/null`
19054		      test "x$?" != "x0" && pkg_failed=yes
19055else
19056  pkg_failed=yes
19057fi
19058 else
19059    pkg_failed=untried
19060fi
19061if test -n "$SHA1_GLADMAN_LIBS"; then
19062    pkg_cv_SHA1_GLADMAN_LIBS="$SHA1_GLADMAN_LIBS"
19063 elif test -n "$PKG_CONFIG"; then
19064    if test -n "$PKG_CONFIG" && \
19065    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha1_gladman\""; } >&5
19066  ($PKG_CONFIG --exists --print-errors "sha1_gladman") 2>&5
19067  ac_status=$?
19068  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19069  test $ac_status = 0; }; then
19070  pkg_cv_SHA1_GLADMAN_LIBS=`$PKG_CONFIG --libs "sha1_gladman" 2>/dev/null`
19071		      test "x$?" != "x0" && pkg_failed=yes
19072else
19073  pkg_failed=yes
19074fi
19075 else
19076    pkg_failed=untried
19077fi
19078
19079
19080
19081if test $pkg_failed = yes; then
19082   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19083$as_echo "no" >&6; }
19084
19085if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19086        _pkg_short_errors_supported=yes
19087else
19088        _pkg_short_errors_supported=no
19089fi
19090        if test $_pkg_short_errors_supported = yes; then
19091	        SHA1_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sha1_gladman" 2>&1`
19092        else
19093	        SHA1_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sha1_gladman" 2>&1`
19094        fi
19095	# Put the nasty error message in config.log where it belongs
19096	echo "$SHA1_GLADMAN_PKG_ERRORS" >&5
19097
19098	as_fn_error $? "Package requirements (sha1_gladman) were not met:
19099
19100$SHA1_GLADMAN_PKG_ERRORS
19101
19102Consider adjusting the PKG_CONFIG_PATH environment variable if you
19103installed software in a non-standard prefix.
19104
19105Alternatively, you may set the environment variables SHA1_GLADMAN_CFLAGS
19106and SHA1_GLADMAN_LIBS to avoid the need to call pkg-config.
19107See the pkg-config man page for more details." "$LINENO" 5
19108elif test $pkg_failed = untried; then
19109     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19110$as_echo "no" >&6; }
19111	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19113as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19114is in your PATH or set the PKG_CONFIG environment variable to the full
19115path to pkg-config.
19116
19117Alternatively, you may set the environment variables SHA1_GLADMAN_CFLAGS
19118and SHA1_GLADMAN_LIBS to avoid the need to call pkg-config.
19119See the pkg-config man page for more details.
19120
19121To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19122See \`config.log' for more details" "$LINENO" 5; }
19123else
19124	SHA1_GLADMAN_CFLAGS=$pkg_cv_SHA1_GLADMAN_CFLAGS
19125	SHA1_GLADMAN_LIBS=$pkg_cv_SHA1_GLADMAN_LIBS
19126        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19127$as_echo "yes" >&6; }
19128
19129fi
19130	CXXFLAGS="$CXXFLAGS $SHA1_CXXFLAGS"
19131	CFLAGS="$CFLAGS $SHA1_CFLAGS"
19132	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $SHA1_CFLAGS"
19133	LIBS="$LIBS $SHA1_LIBS"
19134	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $SHA1_LIBS"
19135	 if false; then
19136  COMPILE_SHA1_TRUE=
19137  COMPILE_SHA1_FALSE='#'
19138else
19139  COMPILE_SHA1_TRUE='#'
19140  COMPILE_SHA1_FALSE=
19141fi
19142
19143	using_libsha1="system"
19144else
19145	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/sha1-gladman"
19146	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/sha1-gladman"
19147	using_libsha1="internal"
19148	 if true; then
19149  COMPILE_SHA1_TRUE=
19150  COMPILE_SHA1_FALSE='#'
19151else
19152  COMPILE_SHA1_TRUE='#'
19153  COMPILE_SHA1_FALSE=
19154fi
19155
19156fi
19157
19158if test "$with_libsha2" = "yes"; then
19159
19160pkg_failed=no
19161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA2_GLADMAN" >&5
19162$as_echo_n "checking for SHA2_GLADMAN... " >&6; }
19163
19164if test -n "$SHA2_GLADMAN_CFLAGS"; then
19165    pkg_cv_SHA2_GLADMAN_CFLAGS="$SHA2_GLADMAN_CFLAGS"
19166 elif test -n "$PKG_CONFIG"; then
19167    if test -n "$PKG_CONFIG" && \
19168    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha2_gladman\""; } >&5
19169  ($PKG_CONFIG --exists --print-errors "sha2_gladman") 2>&5
19170  ac_status=$?
19171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19172  test $ac_status = 0; }; then
19173  pkg_cv_SHA2_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "sha2_gladman" 2>/dev/null`
19174		      test "x$?" != "x0" && pkg_failed=yes
19175else
19176  pkg_failed=yes
19177fi
19178 else
19179    pkg_failed=untried
19180fi
19181if test -n "$SHA2_GLADMAN_LIBS"; then
19182    pkg_cv_SHA2_GLADMAN_LIBS="$SHA2_GLADMAN_LIBS"
19183 elif test -n "$PKG_CONFIG"; then
19184    if test -n "$PKG_CONFIG" && \
19185    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha2_gladman\""; } >&5
19186  ($PKG_CONFIG --exists --print-errors "sha2_gladman") 2>&5
19187  ac_status=$?
19188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19189  test $ac_status = 0; }; then
19190  pkg_cv_SHA2_GLADMAN_LIBS=`$PKG_CONFIG --libs "sha2_gladman" 2>/dev/null`
19191		      test "x$?" != "x0" && pkg_failed=yes
19192else
19193  pkg_failed=yes
19194fi
19195 else
19196    pkg_failed=untried
19197fi
19198
19199
19200
19201if test $pkg_failed = yes; then
19202   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19203$as_echo "no" >&6; }
19204
19205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19206        _pkg_short_errors_supported=yes
19207else
19208        _pkg_short_errors_supported=no
19209fi
19210        if test $_pkg_short_errors_supported = yes; then
19211	        SHA2_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sha2_gladman" 2>&1`
19212        else
19213	        SHA2_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sha2_gladman" 2>&1`
19214        fi
19215	# Put the nasty error message in config.log where it belongs
19216	echo "$SHA2_GLADMAN_PKG_ERRORS" >&5
19217
19218	as_fn_error $? "Package requirements (sha2_gladman) were not met:
19219
19220$SHA2_GLADMAN_PKG_ERRORS
19221
19222Consider adjusting the PKG_CONFIG_PATH environment variable if you
19223installed software in a non-standard prefix.
19224
19225Alternatively, you may set the environment variables SHA2_GLADMAN_CFLAGS
19226and SHA2_GLADMAN_LIBS to avoid the need to call pkg-config.
19227See the pkg-config man page for more details." "$LINENO" 5
19228elif test $pkg_failed = untried; then
19229     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19230$as_echo "no" >&6; }
19231	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19233as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19234is in your PATH or set the PKG_CONFIG environment variable to the full
19235path to pkg-config.
19236
19237Alternatively, you may set the environment variables SHA2_GLADMAN_CFLAGS
19238and SHA2_GLADMAN_LIBS to avoid the need to call pkg-config.
19239See the pkg-config man page for more details.
19240
19241To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19242See \`config.log' for more details" "$LINENO" 5; }
19243else
19244	SHA2_GLADMAN_CFLAGS=$pkg_cv_SHA2_GLADMAN_CFLAGS
19245	SHA2_GLADMAN_LIBS=$pkg_cv_SHA2_GLADMAN_LIBS
19246        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19247$as_echo "yes" >&6; }
19248
19249fi
19250	CXXFLAGS="$CXXFLAGS $SHA2_CXXFLAGS"
19251	CFLAGS="$CFLAGS $SHA2_CFLAGS"
19252	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $SHA2_CFLAGS"
19253	LIBS="$LIBS $SHA2_LIBS"
19254	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $SHA2_LIBS"
19255	 if false; then
19256  COMPILE_SHA2_TRUE=
19257  COMPILE_SHA2_FALSE='#'
19258else
19259  COMPILE_SHA2_TRUE='#'
19260  COMPILE_SHA2_FALSE=
19261fi
19262
19263	using_libsha2="system"
19264else
19265	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/sha2-gladman"
19266	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/sha2-gladman"
19267	using_libsha2="internal"
19268	 if true; then
19269  COMPILE_SHA2_TRUE=
19270  COMPILE_SHA2_FALSE='#'
19271else
19272  COMPILE_SHA2_TRUE='#'
19273  COMPILE_SHA2_FALSE=
19274fi
19275
19276fi
19277
19278if test "$with_libhmac" = "yes"; then
19279
19280pkg_failed=no
19281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_GLADMAN" >&5
19282$as_echo_n "checking for HMAC_GLADMAN... " >&6; }
19283
19284if test -n "$HMAC_GLADMAN_CFLAGS"; then
19285    pkg_cv_HMAC_GLADMAN_CFLAGS="$HMAC_GLADMAN_CFLAGS"
19286 elif test -n "$PKG_CONFIG"; then
19287    if test -n "$PKG_CONFIG" && \
19288    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hmac_gladman\""; } >&5
19289  ($PKG_CONFIG --exists --print-errors "hmac_gladman") 2>&5
19290  ac_status=$?
19291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19292  test $ac_status = 0; }; then
19293  pkg_cv_HMAC_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "hmac_gladman" 2>/dev/null`
19294		      test "x$?" != "x0" && pkg_failed=yes
19295else
19296  pkg_failed=yes
19297fi
19298 else
19299    pkg_failed=untried
19300fi
19301if test -n "$HMAC_GLADMAN_LIBS"; then
19302    pkg_cv_HMAC_GLADMAN_LIBS="$HMAC_GLADMAN_LIBS"
19303 elif test -n "$PKG_CONFIG"; then
19304    if test -n "$PKG_CONFIG" && \
19305    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hmac_gladman\""; } >&5
19306  ($PKG_CONFIG --exists --print-errors "hmac_gladman") 2>&5
19307  ac_status=$?
19308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19309  test $ac_status = 0; }; then
19310  pkg_cv_HMAC_GLADMAN_LIBS=`$PKG_CONFIG --libs "hmac_gladman" 2>/dev/null`
19311		      test "x$?" != "x0" && pkg_failed=yes
19312else
19313  pkg_failed=yes
19314fi
19315 else
19316    pkg_failed=untried
19317fi
19318
19319
19320
19321if test $pkg_failed = yes; then
19322   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19323$as_echo "no" >&6; }
19324
19325if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19326        _pkg_short_errors_supported=yes
19327else
19328        _pkg_short_errors_supported=no
19329fi
19330        if test $_pkg_short_errors_supported = yes; then
19331	        HMAC_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hmac_gladman" 2>&1`
19332        else
19333	        HMAC_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hmac_gladman" 2>&1`
19334        fi
19335	# Put the nasty error message in config.log where it belongs
19336	echo "$HMAC_GLADMAN_PKG_ERRORS" >&5
19337
19338	as_fn_error $? "Package requirements (hmac_gladman) were not met:
19339
19340$HMAC_GLADMAN_PKG_ERRORS
19341
19342Consider adjusting the PKG_CONFIG_PATH environment variable if you
19343installed software in a non-standard prefix.
19344
19345Alternatively, you may set the environment variables HMAC_GLADMAN_CFLAGS
19346and HMAC_GLADMAN_LIBS to avoid the need to call pkg-config.
19347See the pkg-config man page for more details." "$LINENO" 5
19348elif test $pkg_failed = untried; then
19349     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19350$as_echo "no" >&6; }
19351	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19352$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19353as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19354is in your PATH or set the PKG_CONFIG environment variable to the full
19355path to pkg-config.
19356
19357Alternatively, you may set the environment variables HMAC_GLADMAN_CFLAGS
19358and HMAC_GLADMAN_LIBS to avoid the need to call pkg-config.
19359See the pkg-config man page for more details.
19360
19361To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19362See \`config.log' for more details" "$LINENO" 5; }
19363else
19364	HMAC_GLADMAN_CFLAGS=$pkg_cv_HMAC_GLADMAN_CFLAGS
19365	HMAC_GLADMAN_LIBS=$pkg_cv_HMAC_GLADMAN_LIBS
19366        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19367$as_echo "yes" >&6; }
19368
19369fi
19370	CXXFLAGS="$CXXFLAGS $HMAC_CXXFLAGS"
19371	CFLAGS="$CFLAGS $HMAC_CFLAGS"
19372	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $HMAC_CFLAGS"
19373	LIBS="$LIBS $HMAC_LIBS"
19374	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $HMAC_LIBS"
19375	 if false; then
19376  COMPILE_HMAC_TRUE=
19377  COMPILE_HMAC_FALSE='#'
19378else
19379  COMPILE_HMAC_TRUE='#'
19380  COMPILE_HMAC_FALSE=
19381fi
19382
19383	using_libhmac="system"
19384else
19385	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/hmac-gladman"
19386	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/hmac-gladman"
19387	using_libhmac="internal"
19388	 if true; then
19389  COMPILE_HMAC_TRUE=
19390  COMPILE_HMAC_FALSE='#'
19391else
19392  COMPILE_HMAC_TRUE='#'
19393  COMPILE_HMAC_FALSE=
19394fi
19395
19396fi
19397
19398if test "$with_libtinyxml2" = "yes"; then
19399
19400pkg_failed=no
19401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINYXML2" >&5
19402$as_echo_n "checking for TINYXML2... " >&6; }
19403
19404if test -n "$TINYXML2_CFLAGS"; then
19405    pkg_cv_TINYXML2_CFLAGS="$TINYXML2_CFLAGS"
19406 elif test -n "$PKG_CONFIG"; then
19407    if test -n "$PKG_CONFIG" && \
19408    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml2\""; } >&5
19409  ($PKG_CONFIG --exists --print-errors "tinyxml2") 2>&5
19410  ac_status=$?
19411  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19412  test $ac_status = 0; }; then
19413  pkg_cv_TINYXML2_CFLAGS=`$PKG_CONFIG --cflags "tinyxml2" 2>/dev/null`
19414		      test "x$?" != "x0" && pkg_failed=yes
19415else
19416  pkg_failed=yes
19417fi
19418 else
19419    pkg_failed=untried
19420fi
19421if test -n "$TINYXML2_LIBS"; then
19422    pkg_cv_TINYXML2_LIBS="$TINYXML2_LIBS"
19423 elif test -n "$PKG_CONFIG"; then
19424    if test -n "$PKG_CONFIG" && \
19425    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml2\""; } >&5
19426  ($PKG_CONFIG --exists --print-errors "tinyxml2") 2>&5
19427  ac_status=$?
19428  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19429  test $ac_status = 0; }; then
19430  pkg_cv_TINYXML2_LIBS=`$PKG_CONFIG --libs "tinyxml2" 2>/dev/null`
19431		      test "x$?" != "x0" && pkg_failed=yes
19432else
19433  pkg_failed=yes
19434fi
19435 else
19436    pkg_failed=untried
19437fi
19438
19439
19440
19441if test $pkg_failed = yes; then
19442   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19443$as_echo "no" >&6; }
19444
19445if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19446        _pkg_short_errors_supported=yes
19447else
19448        _pkg_short_errors_supported=no
19449fi
19450        if test $_pkg_short_errors_supported = yes; then
19451	        TINYXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinyxml2" 2>&1`
19452        else
19453	        TINYXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinyxml2" 2>&1`
19454        fi
19455	# Put the nasty error message in config.log where it belongs
19456	echo "$TINYXML2_PKG_ERRORS" >&5
19457
19458	as_fn_error $? "Package requirements (tinyxml2) were not met:
19459
19460$TINYXML2_PKG_ERRORS
19461
19462Consider adjusting the PKG_CONFIG_PATH environment variable if you
19463installed software in a non-standard prefix.
19464
19465Alternatively, you may set the environment variables TINYXML2_CFLAGS
19466and TINYXML2_LIBS to avoid the need to call pkg-config.
19467See the pkg-config man page for more details." "$LINENO" 5
19468elif test $pkg_failed = untried; then
19469     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19470$as_echo "no" >&6; }
19471	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19472$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19473as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19474is in your PATH or set the PKG_CONFIG environment variable to the full
19475path to pkg-config.
19476
19477Alternatively, you may set the environment variables TINYXML2_CFLAGS
19478and TINYXML2_LIBS to avoid the need to call pkg-config.
19479See the pkg-config man page for more details.
19480
19481To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19482See \`config.log' for more details" "$LINENO" 5; }
19483else
19484	TINYXML2_CFLAGS=$pkg_cv_TINYXML2_CFLAGS
19485	TINYXML2_LIBS=$pkg_cv_TINYXML2_LIBS
19486        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19487$as_echo "yes" >&6; }
19488
19489fi
19490	CXXFLAGS="$CXXFLAGS $TINYXML2_CXXFLAGS"
19491	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $TINYXML2_CXXFLAGS"
19492	LIBS="$LIBS $TINYXML2_LIBS"
19493	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $TINYXML2_LIBS"
19494	 if false; then
19495  COMPILE_TINYXML2_TRUE=
19496  COMPILE_TINYXML2_FALSE='#'
19497else
19498  COMPILE_TINYXML2_TRUE='#'
19499  COMPILE_TINYXML2_FALSE=
19500fi
19501
19502	using_libtinyxml2="system"
19503else
19504	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/tinyxml2"
19505	using_libtinyxml2="internal"
19506	 if true; then
19507  COMPILE_TINYXML2_TRUE=
19508  COMPILE_TINYXML2_FALSE='#'
19509else
19510  COMPILE_TINYXML2_TRUE='#'
19511  COMPILE_TINYXML2_FALSE=
19512fi
19513
19514fi
19515
19516MediaInfoLib_LibName="$with_libmediainfo_name"
19517
19518CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/base64"
19519
19520
19521case "${build}" in
19522  powerpc-montavista* )
19523    CFLAGS="$CFLAGS -D__MONTAVISTA__"
19524    CXXFLAGS="$CXXFLAGS -D__MONTAVISTA__"
19525  ;;
19526  powerpc64-* )
19527    enable_visibility="no"
19528  ;;
19529esac
19530
19531if test "$enable_universal_binary" = "yes"; then
19532	enable_arch_ppc=yes
19533	enable_arch_i386=yes
19534fi
19535if test "$enable_arch_ppc" = "yes"; then
19536	CXXFLAGS="$CXXFLAGS -arch ppc"
19537	CFLAGS="$CFLAGS -arch ppc"
19538	LDFLAGS="$LDFLAGS -arch ppc"
19539fi
19540if test "$enable_arch_ppc64" = "yes"; then
19541	CXXFLAGS="$CXXFLAGS -arch ppc64"
19542	CFLAGS="$CFLAGS -arch ppc64"
19543	LDFLAGS="$LDFLAGS -arch ppc64"
19544fi
19545if test "$enable_arch_i386" = "yes"; then
19546	CXXFLAGS="$CXXFLAGS -arch i386"
19547	CFLAGS="$CFLAGS -arch i386"
19548	LDFLAGS="$LDFLAGS -arch i386"
19549fi
19550if test "$enable_arch_x86_64" = "yes"; then
19551	CXXFLAGS="$CXXFLAGS -arch x86_64"
19552	CFLAGS="$CFLAGS -arch x86_64"
19553	LDFLAGS="$LDFLAGS -arch x86_64"
19554fi
19555if test "$enable_arch_armv7" = "yes"; then
19556	CXXFLAGS="$CXXFLAGS -arch armv7"
19557	CFLAGS="$CFLAGS -arch armv7"
19558	LDFLAGS="$LDFLAGS -arch armv7"
19559fi
19560if test "$enable_arch_armv7s" = "yes"; then
19561	CXXFLAGS="$CXXFLAGS -arch armv7s"
19562	CFLAGS="$CFLAGS -arch armv7s"
19563	LDFLAGS="$LDFLAGS -arch armv7s"
19564fi
19565if test "$enable_arch_arm64" = "yes"; then
19566	CXXFLAGS="$CXXFLAGS -arch arm64"
19567	CFLAGS="$CFLAGS -arch arm64"
19568	LDFLAGS="$LDFLAGS -arch arm64"
19569fi
19570if test "x$with_macosx_sdk" != xno ; then
19571	CXXFLAGS="-isysroot $with_macosx_sdk $CXXFLAGS"
19572	CFLAGS="-isysroot $with_macosx_sdk $CFLAGS"
19573	LDFLAGS="-isysroot $with_macosx_sdk $LDFLAGS"
19574fi
19575if test "x$with_macosx_version_min" != xno ; then
19576	CXXFLAGS="-mmacosx-version-min=$with_macosx_version_min $CXXFLAGS"
19577	CFLAGS="-mmacosx-version-min=$with_macosx_version_min $CFLAGS"
19578	LDFLAGS="-mmacosx-version-min=$with_macosx_version_min $LDFLAGS"
19579fi
19580if test "x$with_iphoneos_sdk" != xno ; then
19581	CXXFLAGS="-isysroot $with_iphoneos_sdk $CXXFLAGS"
19582	CFLAGS="-isysroot $with_iphoneos_sdk $CFLAGS"
19583	LDFLAGS="-isysroot $with_iphoneos_sdk $LDFLAGS"
19584fi
19585if test "x$with_iphoneos_version_min" != xno ; then
19586	CXXFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CXXFLAGS"
19587	CFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CFLAGS"
19588	LDFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $LDFLAGS"
19589fi
19590
19591
19592if test "$enable_unicode" = "yes"; then
19593	CXXFLAGS="$CXXFLAGS -DUNICODE"
19594	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS -DUNICODE"
19595	MediaInfoLib_Unicode="yes"
19596else
19597	MediaInfoLib_Unicode="no"
19598fi
19599
19600if test "$GXX" = yes ; then
19601    case "${build}" in
19602      *mingw* | *cygwin* ) ;;
19603      *)
19604        CFLAGS="$CFLAGS -fPIC"
19605        CXXFLAGS="$CXXFLAGS -fPIC"
19606        LDFLAGS="$LDFLAGS -fPIC"
19607      ;;
19608    esac
19609	if test "$enable_debug" = "yes"; then
19610		CFLAGS="$CFLAGS -O0 -g -Wall -Wundef"
19611		CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy"
19612	else
19613		CFLAGS="$CFLAGS -O2"
19614		CXXFLAGS="$CXXFLAGS -O2"
19615	fi
19616	if test "$enable_gprof" = "yes"; then
19617		CFLAGS="$CFLAGS -pg -g"
19618		CXXFLAGS="$CXXFLAGS -pg -g"
19619	fi
19620fi
19621
19622if test "$enable_visibility" = yes ; then
19623	if test -e "/etc/debian_version" ; then
19624		Debian_Version="$(more /etc/debian_version)"
19625		case $Debian_Version in
19626		*4.*)
19627			enable_visibility="no" ;;
19628		esac
19629	fi
19630fi
19631if test "$enable_visibility" = yes ; then
19632	CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19633	CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19634	LDFLAGS="$LDFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19635fi
19636
19637
19638if test "$enable_shared" = yes ; then
19639    MediaInfoLib_LIBS=" -L$(pwd)/.libs -l$with_libmediainfo_name $MediaInfoLib_LIBS"
19640else
19641    MediaInfoLib_LIBS=""
19642fi
19643if test "$enable_static" = yes ; then
19644    MediaInfoLib_LIBS_Static=" $(pwd)/.libs/lib$with_libmediainfo_name.a $MediaInfoLib_LIBS_Static"
19645else
19646    MediaInfoLib_LIBS_Static=""
19647fi
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659ac_config_files="$ac_config_files libmediainfo-config"
19660
19661ac_config_files="$ac_config_files libmediainfo.pc"
19662
19663
19664ac_config_files="$ac_config_files Makefile test/Makefile"
19665
19666cat >confcache <<\_ACEOF
19667# This file is a shell script that caches the results of configure
19668# tests run on this system so they can be shared between configure
19669# scripts and configure runs, see configure's option --config-cache.
19670# It is not useful on other systems.  If it contains results you don't
19671# want to keep, you may remove or edit it.
19672#
19673# config.status only pays attention to the cache file if you give it
19674# the --recheck option to rerun configure.
19675#
19676# `ac_cv_env_foo' variables (set or unset) will be overridden when
19677# loading this file, other *unset* `ac_cv_foo' will be assigned the
19678# following values.
19679
19680_ACEOF
19681
19682# The following way of writing the cache mishandles newlines in values,
19683# but we know of no workaround that is simple, portable, and efficient.
19684# So, we kill variables containing newlines.
19685# Ultrix sh set writes to stderr and can't be redirected directly,
19686# and sets the high bit in the cache file unless we assign to the vars.
19687(
19688  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19689    eval ac_val=\$$ac_var
19690    case $ac_val in #(
19691    *${as_nl}*)
19692      case $ac_var in #(
19693      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19694$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19695      esac
19696      case $ac_var in #(
19697      _ | IFS | as_nl) ;; #(
19698      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19699      *) { eval $ac_var=; unset $ac_var;} ;;
19700      esac ;;
19701    esac
19702  done
19703
19704  (set) 2>&1 |
19705    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19706    *${as_nl}ac_space=\ *)
19707      # `set' does not quote correctly, so add quotes: double-quote
19708      # substitution turns \\\\ into \\, and sed turns \\ into \.
19709      sed -n \
19710	"s/'/'\\\\''/g;
19711	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19712      ;; #(
19713    *)
19714      # `set' quotes correctly as required by POSIX, so do not add quotes.
19715      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19716      ;;
19717    esac |
19718    sort
19719) |
19720  sed '
19721     /^ac_cv_env_/b end
19722     t clear
19723     :clear
19724     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19725     t end
19726     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19727     :end' >>confcache
19728if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19729  if test -w "$cache_file"; then
19730    if test "x$cache_file" != "x/dev/null"; then
19731      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19732$as_echo "$as_me: updating cache $cache_file" >&6;}
19733      if test ! -f "$cache_file" || test -h "$cache_file"; then
19734	cat confcache >"$cache_file"
19735      else
19736        case $cache_file in #(
19737        */* | ?:*)
19738	  mv -f confcache "$cache_file"$$ &&
19739	  mv -f "$cache_file"$$ "$cache_file" ;; #(
19740        *)
19741	  mv -f confcache "$cache_file" ;;
19742	esac
19743      fi
19744    fi
19745  else
19746    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19747$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19748  fi
19749fi
19750rm -f confcache
19751
19752test "x$prefix" = xNONE && prefix=$ac_default_prefix
19753# Let make expand exec_prefix.
19754test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19755
19756# Transform confdefs.h into DEFS.
19757# Protect against shell expansion while executing Makefile rules.
19758# Protect against Makefile macro expansion.
19759#
19760# If the first sed substitution is executed (which looks for macros that
19761# take arguments), then branch to the quote section.  Otherwise,
19762# look for a macro that doesn't take arguments.
19763ac_script='
19764:mline
19765/\\$/{
19766 N
19767 s,\\\n,,
19768 b mline
19769}
19770t clear
19771:clear
19772s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
19773t quote
19774s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
19775t quote
19776b any
19777:quote
19778s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19779s/\[/\\&/g
19780s/\]/\\&/g
19781s/\$/$$/g
19782H
19783:any
19784${
19785	g
19786	s/^\n//
19787	s/\n/ /g
19788	p
19789}
19790'
19791DEFS=`sed -n "$ac_script" confdefs.h`
19792
19793
19794ac_libobjs=
19795ac_ltlibobjs=
19796U=
19797for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19798  # 1. Remove the extension, and $U if already installed.
19799  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19800  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19801  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19802  #    will be set to the directory where LIBOBJS objects are built.
19803  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19804  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19805done
19806LIBOBJS=$ac_libobjs
19807
19808LTLIBOBJS=$ac_ltlibobjs
19809
19810
19811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19812$as_echo_n "checking that generated files are newer than configure... " >&6; }
19813   if test -n "$am_sleep_pid"; then
19814     # Hide warnings about reused PIDs.
19815     wait $am_sleep_pid 2>/dev/null
19816   fi
19817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19818$as_echo "done" >&6; }
19819 if test -n "$EXEEXT"; then
19820  am__EXEEXT_TRUE=
19821  am__EXEEXT_FALSE='#'
19822else
19823  am__EXEEXT_TRUE='#'
19824  am__EXEEXT_FALSE=
19825fi
19826
19827if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19828  as_fn_error $? "conditional \"AMDEP\" was never defined.
19829Usually this means the macro was only invoked conditionally." "$LINENO" 5
19830fi
19831if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19832  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19833Usually this means the macro was only invoked conditionally." "$LINENO" 5
19834fi
19835if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19836  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19837Usually this means the macro was only invoked conditionally." "$LINENO" 5
19838fi
19839if test -z "${COMPILE_DLL_TRUE}" && test -z "${COMPILE_DLL_FALSE}"; then
19840  as_fn_error $? "conditional \"COMPILE_DLL\" was never defined.
19841Usually this means the macro was only invoked conditionally." "$LINENO" 5
19842fi
19843if test -z "${COMPILE_AES_TRUE}" && test -z "${COMPILE_AES_FALSE}"; then
19844  as_fn_error $? "conditional \"COMPILE_AES\" was never defined.
19845Usually this means the macro was only invoked conditionally." "$LINENO" 5
19846fi
19847if test -z "${COMPILE_AES_TRUE}" && test -z "${COMPILE_AES_FALSE}"; then
19848  as_fn_error $? "conditional \"COMPILE_AES\" was never defined.
19849Usually this means the macro was only invoked conditionally." "$LINENO" 5
19850fi
19851if test -z "${COMPILE_MD5_TRUE}" && test -z "${COMPILE_MD5_FALSE}"; then
19852  as_fn_error $? "conditional \"COMPILE_MD5\" was never defined.
19853Usually this means the macro was only invoked conditionally." "$LINENO" 5
19854fi
19855if test -z "${COMPILE_MD5_TRUE}" && test -z "${COMPILE_MD5_FALSE}"; then
19856  as_fn_error $? "conditional \"COMPILE_MD5\" was never defined.
19857Usually this means the macro was only invoked conditionally." "$LINENO" 5
19858fi
19859if test -z "${COMPILE_SHA1_TRUE}" && test -z "${COMPILE_SHA1_FALSE}"; then
19860  as_fn_error $? "conditional \"COMPILE_SHA1\" was never defined.
19861Usually this means the macro was only invoked conditionally." "$LINENO" 5
19862fi
19863if test -z "${COMPILE_SHA1_TRUE}" && test -z "${COMPILE_SHA1_FALSE}"; then
19864  as_fn_error $? "conditional \"COMPILE_SHA1\" was never defined.
19865Usually this means the macro was only invoked conditionally." "$LINENO" 5
19866fi
19867if test -z "${COMPILE_SHA2_TRUE}" && test -z "${COMPILE_SHA2_FALSE}"; then
19868  as_fn_error $? "conditional \"COMPILE_SHA2\" was never defined.
19869Usually this means the macro was only invoked conditionally." "$LINENO" 5
19870fi
19871if test -z "${COMPILE_SHA2_TRUE}" && test -z "${COMPILE_SHA2_FALSE}"; then
19872  as_fn_error $? "conditional \"COMPILE_SHA2\" was never defined.
19873Usually this means the macro was only invoked conditionally." "$LINENO" 5
19874fi
19875if test -z "${COMPILE_HMAC_TRUE}" && test -z "${COMPILE_HMAC_FALSE}"; then
19876  as_fn_error $? "conditional \"COMPILE_HMAC\" was never defined.
19877Usually this means the macro was only invoked conditionally." "$LINENO" 5
19878fi
19879if test -z "${COMPILE_HMAC_TRUE}" && test -z "${COMPILE_HMAC_FALSE}"; then
19880  as_fn_error $? "conditional \"COMPILE_HMAC\" was never defined.
19881Usually this means the macro was only invoked conditionally." "$LINENO" 5
19882fi
19883if test -z "${COMPILE_TINYXML2_TRUE}" && test -z "${COMPILE_TINYXML2_FALSE}"; then
19884  as_fn_error $? "conditional \"COMPILE_TINYXML2\" was never defined.
19885Usually this means the macro was only invoked conditionally." "$LINENO" 5
19886fi
19887if test -z "${COMPILE_TINYXML2_TRUE}" && test -z "${COMPILE_TINYXML2_FALSE}"; then
19888  as_fn_error $? "conditional \"COMPILE_TINYXML2\" was never defined.
19889Usually this means the macro was only invoked conditionally." "$LINENO" 5
19890fi
19891
19892: "${CONFIG_STATUS=./config.status}"
19893ac_write_fail=0
19894ac_clean_files_save=$ac_clean_files
19895ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19896{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19897$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19898as_write_fail=0
19899cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19900#! $SHELL
19901# Generated by $as_me.
19902# Run this file to recreate the current configuration.
19903# Compiler output produced by configure, useful for debugging
19904# configure, is in config.log if it exists.
19905
19906debug=false
19907ac_cs_recheck=false
19908ac_cs_silent=false
19909
19910SHELL=\${CONFIG_SHELL-$SHELL}
19911export SHELL
19912_ASEOF
19913cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19914## -------------------- ##
19915## M4sh Initialization. ##
19916## -------------------- ##
19917
19918# Be more Bourne compatible
19919DUALCASE=1; export DUALCASE # for MKS sh
19920if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19921  emulate sh
19922  NULLCMD=:
19923  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19924  # is contrary to our usage.  Disable this feature.
19925  alias -g '${1+"$@"}'='"$@"'
19926  setopt NO_GLOB_SUBST
19927else
19928  case `(set -o) 2>/dev/null` in #(
19929  *posix*) :
19930    set -o posix ;; #(
19931  *) :
19932     ;;
19933esac
19934fi
19935
19936
19937as_nl='
19938'
19939export as_nl
19940# Printing a long string crashes Solaris 7 /usr/bin/printf.
19941as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19942as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19943as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19944# Prefer a ksh shell builtin over an external printf program on Solaris,
19945# but without wasting forks for bash or zsh.
19946if test -z "$BASH_VERSION$ZSH_VERSION" \
19947    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19948  as_echo='print -r --'
19949  as_echo_n='print -rn --'
19950elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19951  as_echo='printf %s\n'
19952  as_echo_n='printf %s'
19953else
19954  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19955    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19956    as_echo_n='/usr/ucb/echo -n'
19957  else
19958    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19959    as_echo_n_body='eval
19960      arg=$1;
19961      case $arg in #(
19962      *"$as_nl"*)
19963	expr "X$arg" : "X\\(.*\\)$as_nl";
19964	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19965      esac;
19966      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19967    '
19968    export as_echo_n_body
19969    as_echo_n='sh -c $as_echo_n_body as_echo'
19970  fi
19971  export as_echo_body
19972  as_echo='sh -c $as_echo_body as_echo'
19973fi
19974
19975# The user is always right.
19976if test "${PATH_SEPARATOR+set}" != set; then
19977  PATH_SEPARATOR=:
19978  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19979    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19980      PATH_SEPARATOR=';'
19981  }
19982fi
19983
19984
19985# IFS
19986# We need space, tab and new line, in precisely that order.  Quoting is
19987# there to prevent editors from complaining about space-tab.
19988# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19989# splitting by setting IFS to empty value.)
19990IFS=" ""	$as_nl"
19991
19992# Find who we are.  Look in the path if we contain no directory separator.
19993as_myself=
19994case $0 in #((
19995  *[\\/]* ) as_myself=$0 ;;
19996  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19997for as_dir in $PATH
19998do
19999  IFS=$as_save_IFS
20000  test -z "$as_dir" && as_dir=.
20001    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20002  done
20003IFS=$as_save_IFS
20004
20005     ;;
20006esac
20007# We did not find ourselves, most probably we were run as `sh COMMAND'
20008# in which case we are not to be found in the path.
20009if test "x$as_myself" = x; then
20010  as_myself=$0
20011fi
20012if test ! -f "$as_myself"; then
20013  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20014  exit 1
20015fi
20016
20017# Unset variables that we do not need and which cause bugs (e.g. in
20018# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20019# suppresses any "Segmentation fault" message there.  '((' could
20020# trigger a bug in pdksh 5.2.14.
20021for as_var in BASH_ENV ENV MAIL MAILPATH
20022do eval test x\${$as_var+set} = xset \
20023  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20024done
20025PS1='$ '
20026PS2='> '
20027PS4='+ '
20028
20029# NLS nuisances.
20030LC_ALL=C
20031export LC_ALL
20032LANGUAGE=C
20033export LANGUAGE
20034
20035# CDPATH.
20036(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20037
20038
20039# as_fn_error STATUS ERROR [LINENO LOG_FD]
20040# ----------------------------------------
20041# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20042# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20043# script with STATUS, using 1 if that was 0.
20044as_fn_error ()
20045{
20046  as_status=$1; test $as_status -eq 0 && as_status=1
20047  if test "$4"; then
20048    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20049    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20050  fi
20051  $as_echo "$as_me: error: $2" >&2
20052  as_fn_exit $as_status
20053} # as_fn_error
20054
20055
20056# as_fn_set_status STATUS
20057# -----------------------
20058# Set $? to STATUS, without forking.
20059as_fn_set_status ()
20060{
20061  return $1
20062} # as_fn_set_status
20063
20064# as_fn_exit STATUS
20065# -----------------
20066# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20067as_fn_exit ()
20068{
20069  set +e
20070  as_fn_set_status $1
20071  exit $1
20072} # as_fn_exit
20073
20074# as_fn_unset VAR
20075# ---------------
20076# Portably unset VAR.
20077as_fn_unset ()
20078{
20079  { eval $1=; unset $1;}
20080}
20081as_unset=as_fn_unset
20082# as_fn_append VAR VALUE
20083# ----------------------
20084# Append the text in VALUE to the end of the definition contained in VAR. Take
20085# advantage of any shell optimizations that allow amortized linear growth over
20086# repeated appends, instead of the typical quadratic growth present in naive
20087# implementations.
20088if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20089  eval 'as_fn_append ()
20090  {
20091    eval $1+=\$2
20092  }'
20093else
20094  as_fn_append ()
20095  {
20096    eval $1=\$$1\$2
20097  }
20098fi # as_fn_append
20099
20100# as_fn_arith ARG...
20101# ------------------
20102# Perform arithmetic evaluation on the ARGs, and store the result in the
20103# global $as_val. Take advantage of shells that can avoid forks. The arguments
20104# must be portable across $(()) and expr.
20105if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20106  eval 'as_fn_arith ()
20107  {
20108    as_val=$(( $* ))
20109  }'
20110else
20111  as_fn_arith ()
20112  {
20113    as_val=`expr "$@" || test $? -eq 1`
20114  }
20115fi # as_fn_arith
20116
20117
20118if expr a : '\(a\)' >/dev/null 2>&1 &&
20119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20120  as_expr=expr
20121else
20122  as_expr=false
20123fi
20124
20125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20126  as_basename=basename
20127else
20128  as_basename=false
20129fi
20130
20131if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20132  as_dirname=dirname
20133else
20134  as_dirname=false
20135fi
20136
20137as_me=`$as_basename -- "$0" ||
20138$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20139	 X"$0" : 'X\(//\)$' \| \
20140	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20141$as_echo X/"$0" |
20142    sed '/^.*\/\([^/][^/]*\)\/*$/{
20143	    s//\1/
20144	    q
20145	  }
20146	  /^X\/\(\/\/\)$/{
20147	    s//\1/
20148	    q
20149	  }
20150	  /^X\/\(\/\).*/{
20151	    s//\1/
20152	    q
20153	  }
20154	  s/.*/./; q'`
20155
20156# Avoid depending upon Character Ranges.
20157as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20158as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20159as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20160as_cr_digits='0123456789'
20161as_cr_alnum=$as_cr_Letters$as_cr_digits
20162
20163ECHO_C= ECHO_N= ECHO_T=
20164case `echo -n x` in #(((((
20165-n*)
20166  case `echo 'xy\c'` in
20167  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
20168  xy)  ECHO_C='\c';;
20169  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20170       ECHO_T='	';;
20171  esac;;
20172*)
20173  ECHO_N='-n';;
20174esac
20175
20176rm -f conf$$ conf$$.exe conf$$.file
20177if test -d conf$$.dir; then
20178  rm -f conf$$.dir/conf$$.file
20179else
20180  rm -f conf$$.dir
20181  mkdir conf$$.dir 2>/dev/null
20182fi
20183if (echo >conf$$.file) 2>/dev/null; then
20184  if ln -s conf$$.file conf$$ 2>/dev/null; then
20185    as_ln_s='ln -s'
20186    # ... but there are two gotchas:
20187    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20188    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20189    # In both cases, we have to default to `cp -pR'.
20190    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20191      as_ln_s='cp -pR'
20192  elif ln conf$$.file conf$$ 2>/dev/null; then
20193    as_ln_s=ln
20194  else
20195    as_ln_s='cp -pR'
20196  fi
20197else
20198  as_ln_s='cp -pR'
20199fi
20200rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20201rmdir conf$$.dir 2>/dev/null
20202
20203
20204# as_fn_mkdir_p
20205# -------------
20206# Create "$as_dir" as a directory, including parents if necessary.
20207as_fn_mkdir_p ()
20208{
20209
20210  case $as_dir in #(
20211  -*) as_dir=./$as_dir;;
20212  esac
20213  test -d "$as_dir" || eval $as_mkdir_p || {
20214    as_dirs=
20215    while :; do
20216      case $as_dir in #(
20217      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20218      *) as_qdir=$as_dir;;
20219      esac
20220      as_dirs="'$as_qdir' $as_dirs"
20221      as_dir=`$as_dirname -- "$as_dir" ||
20222$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20223	 X"$as_dir" : 'X\(//\)[^/]' \| \
20224	 X"$as_dir" : 'X\(//\)$' \| \
20225	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20226$as_echo X"$as_dir" |
20227    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20228	    s//\1/
20229	    q
20230	  }
20231	  /^X\(\/\/\)[^/].*/{
20232	    s//\1/
20233	    q
20234	  }
20235	  /^X\(\/\/\)$/{
20236	    s//\1/
20237	    q
20238	  }
20239	  /^X\(\/\).*/{
20240	    s//\1/
20241	    q
20242	  }
20243	  s/.*/./; q'`
20244      test -d "$as_dir" && break
20245    done
20246    test -z "$as_dirs" || eval "mkdir $as_dirs"
20247  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20248
20249
20250} # as_fn_mkdir_p
20251if mkdir -p . 2>/dev/null; then
20252  as_mkdir_p='mkdir -p "$as_dir"'
20253else
20254  test -d ./-p && rmdir ./-p
20255  as_mkdir_p=false
20256fi
20257
20258
20259# as_fn_executable_p FILE
20260# -----------------------
20261# Test if FILE is an executable regular file.
20262as_fn_executable_p ()
20263{
20264  test -f "$1" && test -x "$1"
20265} # as_fn_executable_p
20266as_test_x='test -x'
20267as_executable_p=as_fn_executable_p
20268
20269# Sed expression to map a string onto a valid CPP name.
20270as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20271
20272# Sed expression to map a string onto a valid variable name.
20273as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20274
20275
20276exec 6>&1
20277## ----------------------------------- ##
20278## Main body of $CONFIG_STATUS script. ##
20279## ----------------------------------- ##
20280_ASEOF
20281test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20282
20283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20284# Save the log message, to keep $0 and so on meaningful, and to
20285# report actual input values of CONFIG_FILES etc. instead of their
20286# values after options handling.
20287ac_log="
20288This file was extended by libmediainfo $as_me 21.09, which was
20289generated by GNU Autoconf 2.69.  Invocation command line was
20290
20291  CONFIG_FILES    = $CONFIG_FILES
20292  CONFIG_HEADERS  = $CONFIG_HEADERS
20293  CONFIG_LINKS    = $CONFIG_LINKS
20294  CONFIG_COMMANDS = $CONFIG_COMMANDS
20295  $ $0 $@
20296
20297on `(hostname || uname -n) 2>/dev/null | sed 1q`
20298"
20299
20300_ACEOF
20301
20302case $ac_config_files in *"
20303"*) set x $ac_config_files; shift; ac_config_files=$*;;
20304esac
20305
20306
20307
20308cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20309# Files that config.status was made for.
20310config_files="$ac_config_files"
20311config_commands="$ac_config_commands"
20312
20313_ACEOF
20314
20315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20316ac_cs_usage="\
20317\`$as_me' instantiates files and other configuration actions
20318from templates according to the current configuration.  Unless the files
20319and actions are specified as TAGs, all are instantiated by default.
20320
20321Usage: $0 [OPTION]... [TAG]...
20322
20323  -h, --help       print this help, then exit
20324  -V, --version    print version number and configuration settings, then exit
20325      --config     print configuration, then exit
20326  -q, --quiet, --silent
20327                   do not print progress messages
20328  -d, --debug      don't remove temporary files
20329      --recheck    update $as_me by reconfiguring in the same conditions
20330      --file=FILE[:TEMPLATE]
20331                   instantiate the configuration file FILE
20332
20333Configuration files:
20334$config_files
20335
20336Configuration commands:
20337$config_commands
20338
20339Report bugs to the package provider."
20340
20341_ACEOF
20342cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20343ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20344ac_cs_version="\\
20345libmediainfo config.status 21.09
20346configured by $0, generated by GNU Autoconf 2.69,
20347  with options \\"\$ac_cs_config\\"
20348
20349Copyright (C) 2012 Free Software Foundation, Inc.
20350This config.status script is free software; the Free Software Foundation
20351gives unlimited permission to copy, distribute and modify it."
20352
20353ac_pwd='$ac_pwd'
20354srcdir='$srcdir'
20355INSTALL='$INSTALL'
20356MKDIR_P='$MKDIR_P'
20357AWK='$AWK'
20358test -n "\$AWK" || AWK=awk
20359_ACEOF
20360
20361cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20362# The default lists apply if the user does not specify any file.
20363ac_need_defaults=:
20364while test $# != 0
20365do
20366  case $1 in
20367  --*=?*)
20368    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20369    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20370    ac_shift=:
20371    ;;
20372  --*=)
20373    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20374    ac_optarg=
20375    ac_shift=:
20376    ;;
20377  *)
20378    ac_option=$1
20379    ac_optarg=$2
20380    ac_shift=shift
20381    ;;
20382  esac
20383
20384  case $ac_option in
20385  # Handling of the options.
20386  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20387    ac_cs_recheck=: ;;
20388  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20389    $as_echo "$ac_cs_version"; exit ;;
20390  --config | --confi | --conf | --con | --co | --c )
20391    $as_echo "$ac_cs_config"; exit ;;
20392  --debug | --debu | --deb | --de | --d | -d )
20393    debug=: ;;
20394  --file | --fil | --fi | --f )
20395    $ac_shift
20396    case $ac_optarg in
20397    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20398    '') as_fn_error $? "missing file argument" ;;
20399    esac
20400    as_fn_append CONFIG_FILES " '$ac_optarg'"
20401    ac_need_defaults=false;;
20402  --he | --h |  --help | --hel | -h )
20403    $as_echo "$ac_cs_usage"; exit ;;
20404  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20405  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20406    ac_cs_silent=: ;;
20407
20408  # This is an error.
20409  -*) as_fn_error $? "unrecognized option: \`$1'
20410Try \`$0 --help' for more information." ;;
20411
20412  *) as_fn_append ac_config_targets " $1"
20413     ac_need_defaults=false ;;
20414
20415  esac
20416  shift
20417done
20418
20419ac_configure_extra_args=
20420
20421if $ac_cs_silent; then
20422  exec 6>/dev/null
20423  ac_configure_extra_args="$ac_configure_extra_args --silent"
20424fi
20425
20426_ACEOF
20427cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20428if \$ac_cs_recheck; then
20429  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20430  shift
20431  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20432  CONFIG_SHELL='$SHELL'
20433  export CONFIG_SHELL
20434  exec "\$@"
20435fi
20436
20437_ACEOF
20438cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20439exec 5>>config.log
20440{
20441  echo
20442  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20443## Running $as_me. ##
20444_ASBOX
20445  $as_echo "$ac_log"
20446} >&5
20447
20448_ACEOF
20449cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20450#
20451# INIT-COMMANDS
20452#
20453AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20454
20455
20456# The HP-UX ksh and POSIX shell print the target directory to stdout
20457# if CDPATH is set.
20458(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20459
20460sed_quote_subst='$sed_quote_subst'
20461double_quote_subst='$double_quote_subst'
20462delay_variable_subst='$delay_variable_subst'
20463enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20464AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20465DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20466OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20467macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20468macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20469enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20470pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20471enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20472shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20473SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20474ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20475PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20476host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20477host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20478host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20479build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20480build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20481build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20482SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20483Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20484GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20485EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20486FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20487LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20488NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20489LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20490max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20491ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20492exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20493lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20494lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20495lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20496lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20497lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20498reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20499reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20500deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20501file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20502file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20503want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20504sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20505AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20506AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20507archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20508STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20509RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20510old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20511old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20512old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20513lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20514CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20515CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20516compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20517GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20518lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20519lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20520lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20521lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20522lt_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"`'
20523lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20524nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20525lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20526lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20527objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20528MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20529lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20530lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20531lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20532lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20533lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20534need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20535MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20536DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20537NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20538LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20539OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20540OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20541libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20542shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20543extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20544archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20545enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20546export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20547whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20548compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20549old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20550old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20551archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20552archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20553module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20554module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20555with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20556allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20557no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20558hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20559hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20560hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20561hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20562hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20563hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20564hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20565inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20566link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20567always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20568export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20569exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20570include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20571prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20572postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20573file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20574variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20575need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20576need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20577version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20578runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20579shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20580shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20581libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20582library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20583soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20584install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20585postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20586postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20587finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20588finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20589hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20590sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20591configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20592configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20593hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20594enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20595enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20596enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20597old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20598striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20599compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20600predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20601postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20602predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20603postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20604compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20605LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20606reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20607reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20608old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20609compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20610GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20611lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20612lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20613lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20614lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20615lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20616archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20617enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20618export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20619whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20620compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20621old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20622old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20623archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20624archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20625module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20626module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20627with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20628allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20629no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20630hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20631hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20632hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20633hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20634hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20635hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20636hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20637inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20638link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20639always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20640export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20641exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20642include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20643prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20644postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20645file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20646hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20647compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20648predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20649postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20650predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20651postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20652compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20653
20654LTCC='$LTCC'
20655LTCFLAGS='$LTCFLAGS'
20656compiler='$compiler_DEFAULT'
20657
20658# A function that is used when there is no print builtin or printf.
20659func_fallback_echo ()
20660{
20661  eval 'cat <<_LTECHO_EOF
20662\$1
20663_LTECHO_EOF'
20664}
20665
20666# Quote evaled strings.
20667for var in AS \
20668DLLTOOL \
20669OBJDUMP \
20670SHELL \
20671ECHO \
20672PATH_SEPARATOR \
20673SED \
20674GREP \
20675EGREP \
20676FGREP \
20677LD \
20678NM \
20679LN_S \
20680lt_SP2NL \
20681lt_NL2SP \
20682reload_flag \
20683deplibs_check_method \
20684file_magic_cmd \
20685file_magic_glob \
20686want_nocaseglob \
20687sharedlib_from_linklib_cmd \
20688AR \
20689AR_FLAGS \
20690archiver_list_spec \
20691STRIP \
20692RANLIB \
20693CC \
20694CFLAGS \
20695compiler \
20696lt_cv_sys_global_symbol_pipe \
20697lt_cv_sys_global_symbol_to_cdecl \
20698lt_cv_sys_global_symbol_to_import \
20699lt_cv_sys_global_symbol_to_c_name_address \
20700lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20701lt_cv_nm_interface \
20702nm_file_list_spec \
20703lt_cv_truncate_bin \
20704lt_prog_compiler_no_builtin_flag \
20705lt_prog_compiler_pic \
20706lt_prog_compiler_wl \
20707lt_prog_compiler_static \
20708lt_cv_prog_compiler_c_o \
20709need_locks \
20710MANIFEST_TOOL \
20711DSYMUTIL \
20712NMEDIT \
20713LIPO \
20714OTOOL \
20715OTOOL64 \
20716shrext_cmds \
20717export_dynamic_flag_spec \
20718whole_archive_flag_spec \
20719compiler_needs_object \
20720with_gnu_ld \
20721allow_undefined_flag \
20722no_undefined_flag \
20723hardcode_libdir_flag_spec \
20724hardcode_libdir_separator \
20725exclude_expsyms \
20726include_expsyms \
20727file_list_spec \
20728variables_saved_for_relink \
20729libname_spec \
20730library_names_spec \
20731soname_spec \
20732install_override_mode \
20733finish_eval \
20734old_striplib \
20735striplib \
20736compiler_lib_search_dirs \
20737predep_objects \
20738postdep_objects \
20739predeps \
20740postdeps \
20741compiler_lib_search_path \
20742LD_CXX \
20743reload_flag_CXX \
20744compiler_CXX \
20745lt_prog_compiler_no_builtin_flag_CXX \
20746lt_prog_compiler_pic_CXX \
20747lt_prog_compiler_wl_CXX \
20748lt_prog_compiler_static_CXX \
20749lt_cv_prog_compiler_c_o_CXX \
20750export_dynamic_flag_spec_CXX \
20751whole_archive_flag_spec_CXX \
20752compiler_needs_object_CXX \
20753with_gnu_ld_CXX \
20754allow_undefined_flag_CXX \
20755no_undefined_flag_CXX \
20756hardcode_libdir_flag_spec_CXX \
20757hardcode_libdir_separator_CXX \
20758exclude_expsyms_CXX \
20759include_expsyms_CXX \
20760file_list_spec_CXX \
20761compiler_lib_search_dirs_CXX \
20762predep_objects_CXX \
20763postdep_objects_CXX \
20764predeps_CXX \
20765postdeps_CXX \
20766compiler_lib_search_path_CXX; do
20767    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20768    *[\\\\\\\`\\"\\\$]*)
20769      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20770      ;;
20771    *)
20772      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20773      ;;
20774    esac
20775done
20776
20777# Double-quote double-evaled strings.
20778for var in reload_cmds \
20779old_postinstall_cmds \
20780old_postuninstall_cmds \
20781old_archive_cmds \
20782extract_expsyms_cmds \
20783old_archive_from_new_cmds \
20784old_archive_from_expsyms_cmds \
20785archive_cmds \
20786archive_expsym_cmds \
20787module_cmds \
20788module_expsym_cmds \
20789export_symbols_cmds \
20790prelink_cmds \
20791postlink_cmds \
20792postinstall_cmds \
20793postuninstall_cmds \
20794finish_cmds \
20795sys_lib_search_path_spec \
20796configure_time_dlsearch_path \
20797configure_time_lt_sys_library_path \
20798reload_cmds_CXX \
20799old_archive_cmds_CXX \
20800old_archive_from_new_cmds_CXX \
20801old_archive_from_expsyms_cmds_CXX \
20802archive_cmds_CXX \
20803archive_expsym_cmds_CXX \
20804module_cmds_CXX \
20805module_expsym_cmds_CXX \
20806export_symbols_cmds_CXX \
20807prelink_cmds_CXX \
20808postlink_cmds_CXX; do
20809    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20810    *[\\\\\\\`\\"\\\$]*)
20811      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20812      ;;
20813    *)
20814      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20815      ;;
20816    esac
20817done
20818
20819ac_aux_dir='$ac_aux_dir'
20820
20821# See if we are running on zsh, and set the options that allow our
20822# commands through without removal of \ escapes INIT.
20823if test -n "\${ZSH_VERSION+set}"; then
20824   setopt NO_GLOB_SUBST
20825fi
20826
20827
20828    PACKAGE='$PACKAGE'
20829    VERSION='$VERSION'
20830    RM='$RM'
20831    ofile='$ofile'
20832
20833
20834
20835
20836
20837
20838_ACEOF
20839
20840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20841
20842# Handling of arguments.
20843for ac_config_target in $ac_config_targets
20844do
20845  case $ac_config_target in
20846    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20847    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20848    "libmediainfo-config") CONFIG_FILES="$CONFIG_FILES libmediainfo-config" ;;
20849    "libmediainfo.pc") CONFIG_FILES="$CONFIG_FILES libmediainfo.pc" ;;
20850    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20851    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20852
20853  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20854  esac
20855done
20856
20857
20858# If the user did not use the arguments to specify the items to instantiate,
20859# then the envvar interface is used.  Set only those that are not.
20860# We use the long form for the default assignment because of an extremely
20861# bizarre bug on SunOS 4.1.3.
20862if $ac_need_defaults; then
20863  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20864  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20865fi
20866
20867# Have a temporary directory for convenience.  Make it in the build tree
20868# simply because there is no reason against having it here, and in addition,
20869# creating and moving files from /tmp can sometimes cause problems.
20870# Hook for its removal unless debugging.
20871# Note that there is a small window in which the directory will not be cleaned:
20872# after its creation but before its name has been assigned to `$tmp'.
20873$debug ||
20874{
20875  tmp= ac_tmp=
20876  trap 'exit_status=$?
20877  : "${ac_tmp:=$tmp}"
20878  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20879' 0
20880  trap 'as_fn_exit 1' 1 2 13 15
20881}
20882# Create a (secure) tmp directory for tmp files.
20883
20884{
20885  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20886  test -d "$tmp"
20887}  ||
20888{
20889  tmp=./conf$$-$RANDOM
20890  (umask 077 && mkdir "$tmp")
20891} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20892ac_tmp=$tmp
20893
20894# Set up the scripts for CONFIG_FILES section.
20895# No need to generate them if there are no CONFIG_FILES.
20896# This happens for instance with `./config.status config.h'.
20897if test -n "$CONFIG_FILES"; then
20898
20899
20900ac_cr=`echo X | tr X '\015'`
20901# On cygwin, bash can eat \r inside `` if the user requested igncr.
20902# But we know of no other shell where ac_cr would be empty at this
20903# point, so we can use a bashism as a fallback.
20904if test "x$ac_cr" = x; then
20905  eval ac_cr=\$\'\\r\'
20906fi
20907ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20908if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20909  ac_cs_awk_cr='\\r'
20910else
20911  ac_cs_awk_cr=$ac_cr
20912fi
20913
20914echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20915_ACEOF
20916
20917
20918{
20919  echo "cat >conf$$subs.awk <<_ACEOF" &&
20920  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20921  echo "_ACEOF"
20922} >conf$$subs.sh ||
20923  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20924ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20925ac_delim='%!_!# '
20926for ac_last_try in false false false false false :; do
20927  . ./conf$$subs.sh ||
20928    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20929
20930  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20931  if test $ac_delim_n = $ac_delim_num; then
20932    break
20933  elif $ac_last_try; then
20934    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20935  else
20936    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20937  fi
20938done
20939rm -f conf$$subs.sh
20940
20941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20942cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20943_ACEOF
20944sed -n '
20945h
20946s/^/S["/; s/!.*/"]=/
20947p
20948g
20949s/^[^!]*!//
20950:repl
20951t repl
20952s/'"$ac_delim"'$//
20953t delim
20954:nl
20955h
20956s/\(.\{148\}\)..*/\1/
20957t more1
20958s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20959p
20960n
20961b repl
20962:more1
20963s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20964p
20965g
20966s/.\{148\}//
20967t nl
20968:delim
20969h
20970s/\(.\{148\}\)..*/\1/
20971t more2
20972s/["\\]/\\&/g; s/^/"/; s/$/"/
20973p
20974b
20975:more2
20976s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20977p
20978g
20979s/.\{148\}//
20980t delim
20981' <conf$$subs.awk | sed '
20982/^[^""]/{
20983  N
20984  s/\n//
20985}
20986' >>$CONFIG_STATUS || ac_write_fail=1
20987rm -f conf$$subs.awk
20988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20989_ACAWK
20990cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20991  for (key in S) S_is_set[key] = 1
20992  FS = ""
20993
20994}
20995{
20996  line = $ 0
20997  nfields = split(line, field, "@")
20998  substed = 0
20999  len = length(field[1])
21000  for (i = 2; i < nfields; i++) {
21001    key = field[i]
21002    keylen = length(key)
21003    if (S_is_set[key]) {
21004      value = S[key]
21005      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21006      len += length(value) + length(field[++i])
21007      substed = 1
21008    } else
21009      len += 1 + keylen
21010  }
21011
21012  print line
21013}
21014
21015_ACAWK
21016_ACEOF
21017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21018if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21019  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21020else
21021  cat
21022fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21023  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21024_ACEOF
21025
21026# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21027# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21028# trailing colons and then remove the whole line if VPATH becomes empty
21029# (actually we leave an empty line to preserve line numbers).
21030if test "x$srcdir" = x.; then
21031  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
21032h
21033s///
21034s/^/:/
21035s/[	 ]*$/:/
21036s/:\$(srcdir):/:/g
21037s/:\${srcdir}:/:/g
21038s/:@srcdir@:/:/g
21039s/^:*//
21040s/:*$//
21041x
21042s/\(=[	 ]*\).*/\1/
21043G
21044s/\n//
21045s/^[^=]*=[	 ]*$//
21046}'
21047fi
21048
21049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21050fi # test -n "$CONFIG_FILES"
21051
21052
21053eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
21054shift
21055for ac_tag
21056do
21057  case $ac_tag in
21058  :[FHLC]) ac_mode=$ac_tag; continue;;
21059  esac
21060  case $ac_mode$ac_tag in
21061  :[FHL]*:*);;
21062  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21063  :[FH]-) ac_tag=-:-;;
21064  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21065  esac
21066  ac_save_IFS=$IFS
21067  IFS=:
21068  set x $ac_tag
21069  IFS=$ac_save_IFS
21070  shift
21071  ac_file=$1
21072  shift
21073
21074  case $ac_mode in
21075  :L) ac_source=$1;;
21076  :[FH])
21077    ac_file_inputs=
21078    for ac_f
21079    do
21080      case $ac_f in
21081      -) ac_f="$ac_tmp/stdin";;
21082      *) # Look for the file first in the build tree, then in the source tree
21083	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
21084	 # because $ac_f cannot contain `:'.
21085	 test -f "$ac_f" ||
21086	   case $ac_f in
21087	   [\\/$]*) false;;
21088	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21089	   esac ||
21090	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21091      esac
21092      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21093      as_fn_append ac_file_inputs " '$ac_f'"
21094    done
21095
21096    # Let's still pretend it is `configure' which instantiates (i.e., don't
21097    # use $as_me), people would be surprised to read:
21098    #    /* config.h.  Generated by config.status.  */
21099    configure_input='Generated from '`
21100	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21101	`' by configure.'
21102    if test x"$ac_file" != x-; then
21103      configure_input="$ac_file.  $configure_input"
21104      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21105$as_echo "$as_me: creating $ac_file" >&6;}
21106    fi
21107    # Neutralize special characters interpreted by sed in replacement strings.
21108    case $configure_input in #(
21109    *\&* | *\|* | *\\* )
21110       ac_sed_conf_input=`$as_echo "$configure_input" |
21111       sed 's/[\\\\&|]/\\\\&/g'`;; #(
21112    *) ac_sed_conf_input=$configure_input;;
21113    esac
21114
21115    case $ac_tag in
21116    *:-:* | *:-) cat >"$ac_tmp/stdin" \
21117      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21118    esac
21119    ;;
21120  esac
21121
21122  ac_dir=`$as_dirname -- "$ac_file" ||
21123$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21124	 X"$ac_file" : 'X\(//\)[^/]' \| \
21125	 X"$ac_file" : 'X\(//\)$' \| \
21126	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21127$as_echo X"$ac_file" |
21128    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21129	    s//\1/
21130	    q
21131	  }
21132	  /^X\(\/\/\)[^/].*/{
21133	    s//\1/
21134	    q
21135	  }
21136	  /^X\(\/\/\)$/{
21137	    s//\1/
21138	    q
21139	  }
21140	  /^X\(\/\).*/{
21141	    s//\1/
21142	    q
21143	  }
21144	  s/.*/./; q'`
21145  as_dir="$ac_dir"; as_fn_mkdir_p
21146  ac_builddir=.
21147
21148case "$ac_dir" in
21149.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21150*)
21151  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21152  # A ".." for each directory in $ac_dir_suffix.
21153  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21154  case $ac_top_builddir_sub in
21155  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21156  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21157  esac ;;
21158esac
21159ac_abs_top_builddir=$ac_pwd
21160ac_abs_builddir=$ac_pwd$ac_dir_suffix
21161# for backward compatibility:
21162ac_top_builddir=$ac_top_build_prefix
21163
21164case $srcdir in
21165  .)  # We are building in place.
21166    ac_srcdir=.
21167    ac_top_srcdir=$ac_top_builddir_sub
21168    ac_abs_top_srcdir=$ac_pwd ;;
21169  [\\/]* | ?:[\\/]* )  # Absolute name.
21170    ac_srcdir=$srcdir$ac_dir_suffix;
21171    ac_top_srcdir=$srcdir
21172    ac_abs_top_srcdir=$srcdir ;;
21173  *) # Relative name.
21174    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21175    ac_top_srcdir=$ac_top_build_prefix$srcdir
21176    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21177esac
21178ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21179
21180
21181  case $ac_mode in
21182  :F)
21183  #
21184  # CONFIG_FILE
21185  #
21186
21187  case $INSTALL in
21188  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21189  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21190  esac
21191  ac_MKDIR_P=$MKDIR_P
21192  case $MKDIR_P in
21193  [\\/$]* | ?:[\\/]* ) ;;
21194  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21195  esac
21196_ACEOF
21197
21198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21199# If the template does not know about datarootdir, expand it.
21200# FIXME: This hack should be removed a few years after 2.60.
21201ac_datarootdir_hack=; ac_datarootdir_seen=
21202ac_sed_dataroot='
21203/datarootdir/ {
21204  p
21205  q
21206}
21207/@datadir@/p
21208/@docdir@/p
21209/@infodir@/p
21210/@localedir@/p
21211/@mandir@/p'
21212case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21213*datarootdir*) ac_datarootdir_seen=yes;;
21214*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21215  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21216$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21217_ACEOF
21218cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21219  ac_datarootdir_hack='
21220  s&@datadir@&$datadir&g
21221  s&@docdir@&$docdir&g
21222  s&@infodir@&$infodir&g
21223  s&@localedir@&$localedir&g
21224  s&@mandir@&$mandir&g
21225  s&\\\${datarootdir}&$datarootdir&g' ;;
21226esac
21227_ACEOF
21228
21229# Neutralize VPATH when `$srcdir' = `.'.
21230# Shell code in configure.ac might set extrasub.
21231# FIXME: do we really want to maintain this feature?
21232cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21233ac_sed_extra="$ac_vpsub
21234$extrasub
21235_ACEOF
21236cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21237:t
21238/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21239s|@configure_input@|$ac_sed_conf_input|;t t
21240s&@top_builddir@&$ac_top_builddir_sub&;t t
21241s&@top_build_prefix@&$ac_top_build_prefix&;t t
21242s&@srcdir@&$ac_srcdir&;t t
21243s&@abs_srcdir@&$ac_abs_srcdir&;t t
21244s&@top_srcdir@&$ac_top_srcdir&;t t
21245s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21246s&@builddir@&$ac_builddir&;t t
21247s&@abs_builddir@&$ac_abs_builddir&;t t
21248s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21249s&@INSTALL@&$ac_INSTALL&;t t
21250s&@MKDIR_P@&$ac_MKDIR_P&;t t
21251$ac_datarootdir_hack
21252"
21253eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21254  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21255
21256test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21257  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21258  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
21259      "$ac_tmp/out"`; test -z "$ac_out"; } &&
21260  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21261which seems to be undefined.  Please make sure it is defined" >&5
21262$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21263which seems to be undefined.  Please make sure it is defined" >&2;}
21264
21265  rm -f "$ac_tmp/stdin"
21266  case $ac_file in
21267  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21268  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21269  esac \
21270  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21271 ;;
21272
21273
21274  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21275$as_echo "$as_me: executing $ac_file commands" >&6;}
21276 ;;
21277  esac
21278
21279
21280  case $ac_file$ac_mode in
21281    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21282  # Older Autoconf quotes --file arguments for eval, but not when files
21283  # are listed without --file.  Let's play safe and only enable the eval
21284  # if we detect the quoting.
21285  # TODO: see whether this extra hack can be removed once we start
21286  # requiring Autoconf 2.70 or later.
21287  case $CONFIG_FILES in #(
21288  *\'*) :
21289    eval set x "$CONFIG_FILES" ;; #(
21290  *) :
21291    set x $CONFIG_FILES ;; #(
21292  *) :
21293     ;;
21294esac
21295  shift
21296  # Used to flag and report bootstrapping failures.
21297  am_rc=0
21298  for am_mf
21299  do
21300    # Strip MF so we end up with the name of the file.
21301    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
21302    # Check whether this is an Automake generated Makefile which includes
21303    # dependency-tracking related rules and includes.
21304    # Grep'ing the whole file directly is not great: AIX grep has a line
21305    # limit of 2048, but all sed's we know have understand at least 4000.
21306    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
21307      || continue
21308    am_dirpart=`$as_dirname -- "$am_mf" ||
21309$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21310	 X"$am_mf" : 'X\(//\)[^/]' \| \
21311	 X"$am_mf" : 'X\(//\)$' \| \
21312	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21313$as_echo X"$am_mf" |
21314    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21315	    s//\1/
21316	    q
21317	  }
21318	  /^X\(\/\/\)[^/].*/{
21319	    s//\1/
21320	    q
21321	  }
21322	  /^X\(\/\/\)$/{
21323	    s//\1/
21324	    q
21325	  }
21326	  /^X\(\/\).*/{
21327	    s//\1/
21328	    q
21329	  }
21330	  s/.*/./; q'`
21331    am_filepart=`$as_basename -- "$am_mf" ||
21332$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
21333	 X"$am_mf" : 'X\(//\)$' \| \
21334	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21335$as_echo X/"$am_mf" |
21336    sed '/^.*\/\([^/][^/]*\)\/*$/{
21337	    s//\1/
21338	    q
21339	  }
21340	  /^X\/\(\/\/\)$/{
21341	    s//\1/
21342	    q
21343	  }
21344	  /^X\/\(\/\).*/{
21345	    s//\1/
21346	    q
21347	  }
21348	  s/.*/./; q'`
21349    { echo "$as_me:$LINENO: cd "$am_dirpart" \
21350      && sed -e '/# am--include-marker/d' "$am_filepart" \
21351        | $MAKE -f - am--depfiles" >&5
21352   (cd "$am_dirpart" \
21353      && sed -e '/# am--include-marker/d' "$am_filepart" \
21354        | $MAKE -f - am--depfiles) >&5 2>&5
21355   ac_status=$?
21356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357   (exit $ac_status); } || am_rc=$?
21358  done
21359  if test $am_rc -ne 0; then
21360    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21361$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21362as_fn_error $? "Something went wrong bootstrapping makefile fragments
21363    for automatic dependency tracking.  Try re-running configure with the
21364    '--disable-dependency-tracking' option to at least be able to build
21365    the package (albeit without support for automatic dependency tracking).
21366See \`config.log' for more details" "$LINENO" 5; }
21367  fi
21368  { am_dirpart=; unset am_dirpart;}
21369  { am_filepart=; unset am_filepart;}
21370  { am_mf=; unset am_mf;}
21371  { am_rc=; unset am_rc;}
21372  rm -f conftest-deps.mk
21373}
21374 ;;
21375    "libtool":C)
21376
21377    # See if we are running on zsh, and set the options that allow our
21378    # commands through without removal of \ escapes.
21379    if test -n "${ZSH_VERSION+set}"; then
21380      setopt NO_GLOB_SUBST
21381    fi
21382
21383    cfgfile=${ofile}T
21384    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21385    $RM "$cfgfile"
21386
21387    cat <<_LT_EOF >> "$cfgfile"
21388#! $SHELL
21389# Generated automatically by $as_me ($PACKAGE) $VERSION
21390# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21391
21392# Provide generalized library-building support services.
21393# Written by Gordon Matzigkeit, 1996
21394
21395# Copyright (C) 2014 Free Software Foundation, Inc.
21396# This is free software; see the source for copying conditions.  There is NO
21397# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21398
21399# GNU Libtool is free software; you can redistribute it and/or modify
21400# it under the terms of the GNU General Public License as published by
21401# the Free Software Foundation; either version 2 of of the License, or
21402# (at your option) any later version.
21403#
21404# As a special exception to the GNU General Public License, if you
21405# distribute this file as part of a program or library that is built
21406# using GNU Libtool, you may include this file under the  same
21407# distribution terms that you use for the rest of that program.
21408#
21409# GNU Libtool is distributed in the hope that it will be useful, but
21410# WITHOUT ANY WARRANTY; without even the implied warranty of
21411# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21412# GNU General Public License for more details.
21413#
21414# You should have received a copy of the GNU General Public License
21415# along with this program.  If not, see <http://www.gnu.org/licenses/>.
21416
21417
21418# The names of the tagged configurations supported by this script.
21419available_tags='CXX '
21420
21421# Configured defaults for sys_lib_dlsearch_path munging.
21422: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21423
21424# ### BEGIN LIBTOOL CONFIG
21425
21426# Whether or not to build static libraries.
21427build_old_libs=$enable_static
21428
21429# Assembler program.
21430AS=$lt_AS
21431
21432# DLL creation program.
21433DLLTOOL=$lt_DLLTOOL
21434
21435# Object dumper program.
21436OBJDUMP=$lt_OBJDUMP
21437
21438# Which release of libtool.m4 was used?
21439macro_version=$macro_version
21440macro_revision=$macro_revision
21441
21442# Whether or not to build shared libraries.
21443build_libtool_libs=$enable_shared
21444
21445# What type of objects to build.
21446pic_mode=$pic_mode
21447
21448# Whether or not to optimize for fast installation.
21449fast_install=$enable_fast_install
21450
21451# Shared archive member basename,for filename based shared library versioning on AIX.
21452shared_archive_member_spec=$shared_archive_member_spec
21453
21454# Shell to use when invoking shell scripts.
21455SHELL=$lt_SHELL
21456
21457# An echo program that protects backslashes.
21458ECHO=$lt_ECHO
21459
21460# The PATH separator for the build system.
21461PATH_SEPARATOR=$lt_PATH_SEPARATOR
21462
21463# The host system.
21464host_alias=$host_alias
21465host=$host
21466host_os=$host_os
21467
21468# The build system.
21469build_alias=$build_alias
21470build=$build
21471build_os=$build_os
21472
21473# A sed program that does not truncate output.
21474SED=$lt_SED
21475
21476# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21477Xsed="\$SED -e 1s/^X//"
21478
21479# A grep program that handles long lines.
21480GREP=$lt_GREP
21481
21482# An ERE matcher.
21483EGREP=$lt_EGREP
21484
21485# A literal string matcher.
21486FGREP=$lt_FGREP
21487
21488# A BSD- or MS-compatible name lister.
21489NM=$lt_NM
21490
21491# Whether we need soft or hard links.
21492LN_S=$lt_LN_S
21493
21494# What is the maximum length of a command?
21495max_cmd_len=$max_cmd_len
21496
21497# Object file suffix (normally "o").
21498objext=$ac_objext
21499
21500# Executable file suffix (normally "").
21501exeext=$exeext
21502
21503# whether the shell understands "unset".
21504lt_unset=$lt_unset
21505
21506# turn spaces into newlines.
21507SP2NL=$lt_lt_SP2NL
21508
21509# turn newlines into spaces.
21510NL2SP=$lt_lt_NL2SP
21511
21512# convert \$build file names to \$host format.
21513to_host_file_cmd=$lt_cv_to_host_file_cmd
21514
21515# convert \$build files to toolchain format.
21516to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21517
21518# Method to check whether dependent libraries are shared objects.
21519deplibs_check_method=$lt_deplibs_check_method
21520
21521# Command to use when deplibs_check_method = "file_magic".
21522file_magic_cmd=$lt_file_magic_cmd
21523
21524# How to find potential files when deplibs_check_method = "file_magic".
21525file_magic_glob=$lt_file_magic_glob
21526
21527# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21528want_nocaseglob=$lt_want_nocaseglob
21529
21530# Command to associate shared and link libraries.
21531sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21532
21533# The archiver.
21534AR=$lt_AR
21535
21536# Flags to create an archive.
21537AR_FLAGS=$lt_AR_FLAGS
21538
21539# How to feed a file listing to the archiver.
21540archiver_list_spec=$lt_archiver_list_spec
21541
21542# A symbol stripping program.
21543STRIP=$lt_STRIP
21544
21545# Commands used to install an old-style archive.
21546RANLIB=$lt_RANLIB
21547old_postinstall_cmds=$lt_old_postinstall_cmds
21548old_postuninstall_cmds=$lt_old_postuninstall_cmds
21549
21550# Whether to use a lock for old archive extraction.
21551lock_old_archive_extraction=$lock_old_archive_extraction
21552
21553# A C compiler.
21554LTCC=$lt_CC
21555
21556# LTCC compiler flags.
21557LTCFLAGS=$lt_CFLAGS
21558
21559# Take the output of nm and produce a listing of raw symbols and C names.
21560global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21561
21562# Transform the output of nm in a proper C declaration.
21563global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21564
21565# Transform the output of nm into a list of symbols to manually relocate.
21566global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21567
21568# Transform the output of nm in a C name address pair.
21569global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21570
21571# Transform the output of nm in a C name address pair when lib prefix is needed.
21572global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21573
21574# The name lister interface.
21575nm_interface=$lt_lt_cv_nm_interface
21576
21577# Specify filename containing input files for \$NM.
21578nm_file_list_spec=$lt_nm_file_list_spec
21579
21580# The root where to search for dependent libraries,and where our libraries should be installed.
21581lt_sysroot=$lt_sysroot
21582
21583# Command to truncate a binary pipe.
21584lt_truncate_bin=$lt_lt_cv_truncate_bin
21585
21586# The name of the directory that contains temporary libtool files.
21587objdir=$objdir
21588
21589# Used to examine libraries when file_magic_cmd begins with "file".
21590MAGIC_CMD=$MAGIC_CMD
21591
21592# Must we lock files when doing compilation?
21593need_locks=$lt_need_locks
21594
21595# Manifest tool.
21596MANIFEST_TOOL=$lt_MANIFEST_TOOL
21597
21598# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21599DSYMUTIL=$lt_DSYMUTIL
21600
21601# Tool to change global to local symbols on Mac OS X.
21602NMEDIT=$lt_NMEDIT
21603
21604# Tool to manipulate fat objects and archives on Mac OS X.
21605LIPO=$lt_LIPO
21606
21607# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21608OTOOL=$lt_OTOOL
21609
21610# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21611OTOOL64=$lt_OTOOL64
21612
21613# Old archive suffix (normally "a").
21614libext=$libext
21615
21616# Shared library suffix (normally ".so").
21617shrext_cmds=$lt_shrext_cmds
21618
21619# The commands to extract the exported symbol list from a shared archive.
21620extract_expsyms_cmds=$lt_extract_expsyms_cmds
21621
21622# Variables whose values should be saved in libtool wrapper scripts and
21623# restored at link time.
21624variables_saved_for_relink=$lt_variables_saved_for_relink
21625
21626# Do we need the "lib" prefix for modules?
21627need_lib_prefix=$need_lib_prefix
21628
21629# Do we need a version for libraries?
21630need_version=$need_version
21631
21632# Library versioning type.
21633version_type=$version_type
21634
21635# Shared library runtime path variable.
21636runpath_var=$runpath_var
21637
21638# Shared library path variable.
21639shlibpath_var=$shlibpath_var
21640
21641# Is shlibpath searched before the hard-coded library search path?
21642shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21643
21644# Format of library name prefix.
21645libname_spec=$lt_libname_spec
21646
21647# List of archive names.  First name is the real one, the rest are links.
21648# The last name is the one that the linker finds with -lNAME
21649library_names_spec=$lt_library_names_spec
21650
21651# The coded name of the library, if different from the real name.
21652soname_spec=$lt_soname_spec
21653
21654# Permission mode override for installation of shared libraries.
21655install_override_mode=$lt_install_override_mode
21656
21657# Command to use after installation of a shared archive.
21658postinstall_cmds=$lt_postinstall_cmds
21659
21660# Command to use after uninstallation of a shared archive.
21661postuninstall_cmds=$lt_postuninstall_cmds
21662
21663# Commands used to finish a libtool library installation in a directory.
21664finish_cmds=$lt_finish_cmds
21665
21666# As "finish_cmds", except a single script fragment to be evaled but
21667# not shown.
21668finish_eval=$lt_finish_eval
21669
21670# Whether we should hardcode library paths into libraries.
21671hardcode_into_libs=$hardcode_into_libs
21672
21673# Compile-time system search path for libraries.
21674sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21675
21676# Detected run-time system search path for libraries.
21677sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21678
21679# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21680configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21681
21682# Whether dlopen is supported.
21683dlopen_support=$enable_dlopen
21684
21685# Whether dlopen of programs is supported.
21686dlopen_self=$enable_dlopen_self
21687
21688# Whether dlopen of statically linked programs is supported.
21689dlopen_self_static=$enable_dlopen_self_static
21690
21691# Commands to strip libraries.
21692old_striplib=$lt_old_striplib
21693striplib=$lt_striplib
21694
21695
21696# The linker used to build libraries.
21697LD=$lt_LD
21698
21699# How to create reloadable object files.
21700reload_flag=$lt_reload_flag
21701reload_cmds=$lt_reload_cmds
21702
21703# Commands used to build an old-style archive.
21704old_archive_cmds=$lt_old_archive_cmds
21705
21706# A language specific compiler.
21707CC=$lt_compiler
21708
21709# Is the compiler the GNU compiler?
21710with_gcc=$GCC
21711
21712# Compiler flag to turn off builtin functions.
21713no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21714
21715# Additional compiler flags for building library objects.
21716pic_flag=$lt_lt_prog_compiler_pic
21717
21718# How to pass a linker flag through the compiler.
21719wl=$lt_lt_prog_compiler_wl
21720
21721# Compiler flag to prevent dynamic linking.
21722link_static_flag=$lt_lt_prog_compiler_static
21723
21724# Does compiler simultaneously support -c and -o options?
21725compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21726
21727# Whether or not to add -lc for building shared libraries.
21728build_libtool_need_lc=$archive_cmds_need_lc
21729
21730# Whether or not to disallow shared libs when runtime libs are static.
21731allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21732
21733# Compiler flag to allow reflexive dlopens.
21734export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21735
21736# Compiler flag to generate shared objects directly from archives.
21737whole_archive_flag_spec=$lt_whole_archive_flag_spec
21738
21739# Whether the compiler copes with passing no objects directly.
21740compiler_needs_object=$lt_compiler_needs_object
21741
21742# Create an old-style archive from a shared archive.
21743old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21744
21745# Create a temporary old-style archive to link instead of a shared archive.
21746old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21747
21748# Commands used to build a shared archive.
21749archive_cmds=$lt_archive_cmds
21750archive_expsym_cmds=$lt_archive_expsym_cmds
21751
21752# Commands used to build a loadable module if different from building
21753# a shared archive.
21754module_cmds=$lt_module_cmds
21755module_expsym_cmds=$lt_module_expsym_cmds
21756
21757# Whether we are building with GNU ld or not.
21758with_gnu_ld=$lt_with_gnu_ld
21759
21760# Flag that allows shared libraries with undefined symbols to be built.
21761allow_undefined_flag=$lt_allow_undefined_flag
21762
21763# Flag that enforces no undefined symbols.
21764no_undefined_flag=$lt_no_undefined_flag
21765
21766# Flag to hardcode \$libdir into a binary during linking.
21767# This must work even if \$libdir does not exist
21768hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21769
21770# Whether we need a single "-rpath" flag with a separated argument.
21771hardcode_libdir_separator=$lt_hardcode_libdir_separator
21772
21773# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21774# DIR into the resulting binary.
21775hardcode_direct=$hardcode_direct
21776
21777# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21778# DIR into the resulting binary and the resulting library dependency is
21779# "absolute",i.e impossible to change by setting \$shlibpath_var if the
21780# library is relocated.
21781hardcode_direct_absolute=$hardcode_direct_absolute
21782
21783# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21784# into the resulting binary.
21785hardcode_minus_L=$hardcode_minus_L
21786
21787# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21788# into the resulting binary.
21789hardcode_shlibpath_var=$hardcode_shlibpath_var
21790
21791# Set to "yes" if building a shared library automatically hardcodes DIR
21792# into the library and all subsequent libraries and executables linked
21793# against it.
21794hardcode_automatic=$hardcode_automatic
21795
21796# Set to yes if linker adds runtime paths of dependent libraries
21797# to runtime path list.
21798inherit_rpath=$inherit_rpath
21799
21800# Whether libtool must link a program against all its dependency libraries.
21801link_all_deplibs=$link_all_deplibs
21802
21803# Set to "yes" if exported symbols are required.
21804always_export_symbols=$always_export_symbols
21805
21806# The commands to list exported symbols.
21807export_symbols_cmds=$lt_export_symbols_cmds
21808
21809# Symbols that should not be listed in the preloaded symbols.
21810exclude_expsyms=$lt_exclude_expsyms
21811
21812# Symbols that must always be exported.
21813include_expsyms=$lt_include_expsyms
21814
21815# Commands necessary for linking programs (against libraries) with templates.
21816prelink_cmds=$lt_prelink_cmds
21817
21818# Commands necessary for finishing linking programs.
21819postlink_cmds=$lt_postlink_cmds
21820
21821# Specify filename containing input files.
21822file_list_spec=$lt_file_list_spec
21823
21824# How to hardcode a shared library path into an executable.
21825hardcode_action=$hardcode_action
21826
21827# The directories searched by this compiler when creating a shared library.
21828compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21829
21830# Dependencies to place before and after the objects being linked to
21831# create a shared library.
21832predep_objects=$lt_predep_objects
21833postdep_objects=$lt_postdep_objects
21834predeps=$lt_predeps
21835postdeps=$lt_postdeps
21836
21837# The library search path used internally by the compiler when linking
21838# a shared library.
21839compiler_lib_search_path=$lt_compiler_lib_search_path
21840
21841# ### END LIBTOOL CONFIG
21842
21843_LT_EOF
21844
21845    cat <<'_LT_EOF' >> "$cfgfile"
21846
21847# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
21848
21849# func_munge_path_list VARIABLE PATH
21850# -----------------------------------
21851# VARIABLE is name of variable containing _space_ separated list of
21852# directories to be munged by the contents of PATH, which is string
21853# having a format:
21854# "DIR[:DIR]:"
21855#       string "DIR[ DIR]" will be prepended to VARIABLE
21856# ":DIR[:DIR]"
21857#       string "DIR[ DIR]" will be appended to VARIABLE
21858# "DIRP[:DIRP]::[DIRA:]DIRA"
21859#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
21860#       "DIRA[ DIRA]" will be appended to VARIABLE
21861# "DIR[:DIR]"
21862#       VARIABLE will be replaced by "DIR[ DIR]"
21863func_munge_path_list ()
21864{
21865    case x$2 in
21866    x)
21867        ;;
21868    *:)
21869        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
21870        ;;
21871    x:*)
21872        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
21873        ;;
21874    *::*)
21875        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21876        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
21877        ;;
21878    *)
21879        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
21880        ;;
21881    esac
21882}
21883
21884
21885# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
21886func_cc_basename ()
21887{
21888    for cc_temp in $*""; do
21889      case $cc_temp in
21890        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21891        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21892        \-*) ;;
21893        *) break;;
21894      esac
21895    done
21896    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21897}
21898
21899
21900# ### END FUNCTIONS SHARED WITH CONFIGURE
21901
21902_LT_EOF
21903
21904  case $host_os in
21905  aix3*)
21906    cat <<\_LT_EOF >> "$cfgfile"
21907# AIX sometimes has problems with the GCC collect2 program.  For some
21908# reason, if we set the COLLECT_NAMES environment variable, the problems
21909# vanish in a puff of smoke.
21910if test set != "${COLLECT_NAMES+set}"; then
21911  COLLECT_NAMES=
21912  export COLLECT_NAMES
21913fi
21914_LT_EOF
21915    ;;
21916  esac
21917
21918
21919ltmain=$ac_aux_dir/ltmain.sh
21920
21921
21922  # We use sed instead of cat because bash on DJGPP gets confused if
21923  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21924  # text mode, it properly converts lines to CR/LF.  This bash problem
21925  # is reportedly fixed, but why not run on old versions too?
21926  sed '$q' "$ltmain" >> "$cfgfile" \
21927     || (rm -f "$cfgfile"; exit 1)
21928
21929   mv -f "$cfgfile" "$ofile" ||
21930    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21931  chmod +x "$ofile"
21932
21933
21934    cat <<_LT_EOF >> "$ofile"
21935
21936# ### BEGIN LIBTOOL TAG CONFIG: CXX
21937
21938# The linker used to build libraries.
21939LD=$lt_LD_CXX
21940
21941# How to create reloadable object files.
21942reload_flag=$lt_reload_flag_CXX
21943reload_cmds=$lt_reload_cmds_CXX
21944
21945# Commands used to build an old-style archive.
21946old_archive_cmds=$lt_old_archive_cmds_CXX
21947
21948# A language specific compiler.
21949CC=$lt_compiler_CXX
21950
21951# Is the compiler the GNU compiler?
21952with_gcc=$GCC_CXX
21953
21954# Compiler flag to turn off builtin functions.
21955no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21956
21957# Additional compiler flags for building library objects.
21958pic_flag=$lt_lt_prog_compiler_pic_CXX
21959
21960# How to pass a linker flag through the compiler.
21961wl=$lt_lt_prog_compiler_wl_CXX
21962
21963# Compiler flag to prevent dynamic linking.
21964link_static_flag=$lt_lt_prog_compiler_static_CXX
21965
21966# Does compiler simultaneously support -c and -o options?
21967compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21968
21969# Whether or not to add -lc for building shared libraries.
21970build_libtool_need_lc=$archive_cmds_need_lc_CXX
21971
21972# Whether or not to disallow shared libs when runtime libs are static.
21973allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21974
21975# Compiler flag to allow reflexive dlopens.
21976export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21977
21978# Compiler flag to generate shared objects directly from archives.
21979whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21980
21981# Whether the compiler copes with passing no objects directly.
21982compiler_needs_object=$lt_compiler_needs_object_CXX
21983
21984# Create an old-style archive from a shared archive.
21985old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21986
21987# Create a temporary old-style archive to link instead of a shared archive.
21988old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21989
21990# Commands used to build a shared archive.
21991archive_cmds=$lt_archive_cmds_CXX
21992archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21993
21994# Commands used to build a loadable module if different from building
21995# a shared archive.
21996module_cmds=$lt_module_cmds_CXX
21997module_expsym_cmds=$lt_module_expsym_cmds_CXX
21998
21999# Whether we are building with GNU ld or not.
22000with_gnu_ld=$lt_with_gnu_ld_CXX
22001
22002# Flag that allows shared libraries with undefined symbols to be built.
22003allow_undefined_flag=$lt_allow_undefined_flag_CXX
22004
22005# Flag that enforces no undefined symbols.
22006no_undefined_flag=$lt_no_undefined_flag_CXX
22007
22008# Flag to hardcode \$libdir into a binary during linking.
22009# This must work even if \$libdir does not exist
22010hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22011
22012# Whether we need a single "-rpath" flag with a separated argument.
22013hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22014
22015# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22016# DIR into the resulting binary.
22017hardcode_direct=$hardcode_direct_CXX
22018
22019# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22020# DIR into the resulting binary and the resulting library dependency is
22021# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22022# library is relocated.
22023hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22024
22025# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22026# into the resulting binary.
22027hardcode_minus_L=$hardcode_minus_L_CXX
22028
22029# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22030# into the resulting binary.
22031hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22032
22033# Set to "yes" if building a shared library automatically hardcodes DIR
22034# into the library and all subsequent libraries and executables linked
22035# against it.
22036hardcode_automatic=$hardcode_automatic_CXX
22037
22038# Set to yes if linker adds runtime paths of dependent libraries
22039# to runtime path list.
22040inherit_rpath=$inherit_rpath_CXX
22041
22042# Whether libtool must link a program against all its dependency libraries.
22043link_all_deplibs=$link_all_deplibs_CXX
22044
22045# Set to "yes" if exported symbols are required.
22046always_export_symbols=$always_export_symbols_CXX
22047
22048# The commands to list exported symbols.
22049export_symbols_cmds=$lt_export_symbols_cmds_CXX
22050
22051# Symbols that should not be listed in the preloaded symbols.
22052exclude_expsyms=$lt_exclude_expsyms_CXX
22053
22054# Symbols that must always be exported.
22055include_expsyms=$lt_include_expsyms_CXX
22056
22057# Commands necessary for linking programs (against libraries) with templates.
22058prelink_cmds=$lt_prelink_cmds_CXX
22059
22060# Commands necessary for finishing linking programs.
22061postlink_cmds=$lt_postlink_cmds_CXX
22062
22063# Specify filename containing input files.
22064file_list_spec=$lt_file_list_spec_CXX
22065
22066# How to hardcode a shared library path into an executable.
22067hardcode_action=$hardcode_action_CXX
22068
22069# The directories searched by this compiler when creating a shared library.
22070compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22071
22072# Dependencies to place before and after the objects being linked to
22073# create a shared library.
22074predep_objects=$lt_predep_objects_CXX
22075postdep_objects=$lt_postdep_objects_CXX
22076predeps=$lt_predeps_CXX
22077postdeps=$lt_postdeps_CXX
22078
22079# The library search path used internally by the compiler when linking
22080# a shared library.
22081compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22082
22083# ### END LIBTOOL TAG CONFIG: CXX
22084_LT_EOF
22085
22086 ;;
22087    "libmediainfo-config":F) chmod u+x libmediainfo-config ;;
22088
22089  esac
22090done # for ac_tag
22091
22092
22093as_fn_exit 0
22094_ACEOF
22095ac_clean_files=$ac_clean_files_save
22096
22097test $ac_write_fail = 0 ||
22098  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22099
22100
22101# configure is writing to config.log, and then calls config.status.
22102# config.status does its own redirection, appending to config.log.
22103# Unfortunately, on DOS this fails, as config.log is still kept open
22104# by configure, so config.status won't be able to write to it; its
22105# output is simply discarded.  So we exec the FD to /dev/null,
22106# effectively closing config.log, so it can be properly (re)opened and
22107# appended to by config.status.  When coming back to configure, we
22108# need to make the FD available again.
22109if test "$no_create" != yes; then
22110  ac_cs_success=:
22111  ac_config_status_args=
22112  test "$silent" = yes &&
22113    ac_config_status_args="$ac_config_status_args --quiet"
22114  exec 5>/dev/null
22115  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22116  exec 5>>config.log
22117  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22118  # would make configure fail if this is the last instruction.
22119  $ac_cs_success || as_fn_exit 1
22120fi
22121if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22122  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22123$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22124fi
22125
22126
22127
22128Mcho ()
22129{
22130if test "$2" = "no" || test "$2" = "yes"; then
22131echo "  $1 forced to                                        $2"
22132fi
22133}
22134
22135echo ""
22136echo "Configured MediaInfoLib for '$build'"
22137echo ""
22138echo "  Unicode?                                                $enable_unicode"
22139echo "  Using ZenLib?                                           $with_zenlib"
22140echo "  Using graphviz?                                         $using_graphviz"
22141echo "  Using libcurl?                                          $using_libcurl"
22142echo "  Using libmms?                                           $using_libmms"
22143echo "  Using zlib?                                             $with_zlib"
22144echo "  Using aes?                                              $using_libaes"
22145echo "  Using md5?                                              $using_libmd5"
22146echo "  Using sha1?                                             $using_libsha1"
22147echo "  Using sha2?                                             $using_libsha2"
22148echo "  Using hmac?                                             $using_libhmac"
22149echo "  Using tinyxml2?                                         $using_libtinyxml2"
22150echo ""
22151echo "  Create static lib?                                      $enable_static"
22152echo "  Create shared lib?                                      $enable_shared"
22153echo ""
22154Mcho "Minimize size" "$MediaInfoMinimizeSize"
22155Mcho "libmms describe support" "$MediaInfoLibmmsDescribeSupport"
22156Mcho "All    " "$MediaInfoAll"
22157Mcho "Archive" "$MediaInfoArchive"
22158Mcho "Audio  " "$MediaInfoAudio"
22159Mcho "Image  " "$MediaInfoImage"
22160Mcho "Multi  " "$MediaInfoMulti"
22161Mcho "Multi  " "$MediaInfoTag"
22162Mcho "Text   " "$MediaInfoText"
22163Mcho "Video  " "$MediaInfoVideo"
22164Mcho "7z     " "$MediaInfo7z"
22165Mcho "Ace    " "$MediaInfoAce"
22166Mcho "Bzip2  " "$MediaInfoBzip2"
22167Mcho "Elf    " "$MediaInfoElf"
22168Mcho "Gzip   " "$MediaInfoGzip"
22169Mcho "ISO9660" "$MediaInfoIso9660"
22170Mcho "Mz     " "$MediaInfoMz"
22171Mcho "Rar    " "$MediaInfoRar"
22172Mcho "Tar    " "$MediaInfoTar"
22173Mcho "Zip    " "$MediaInfoZip"
22174Mcho "Aac    " "$MediaInfoAac"
22175Mcho "Ac3    " "$MediaInfoAc3"
22176Mcho "Adif   " "$MediaInfoAdif"
22177Mcho "Adpcm  " "$MediaInfoAdpcm"
22178Mcho "Adts   " "$MediaInfoAdts"
22179Mcho "Aes3   " "$MediaInfoAes3"
22180Mcho "Als    " "$MediaInfoAls"
22181Mcho "Amr    " "$MediaInfoAmr"
22182Mcho "Amv    " "$MediaInfoAmv"
22183Mcho "Ape    " "$MediaInfoApe"
22184Mcho "Au     " "$MediaInfoAu"
22185Mcho "Caf    " "$MediaInfoCaf"
22186Mcho "Celt   " "$MediaInfoCelt"
22187Mcho "Dts    " "$MediaInfoDts"
22188Mcho "Flac   " "$MediaInfoFlac"
22189Mcho "La     " "$MediaInfoLa"
22190Mcho "Latm   " "$MediaInfoLatm"
22191Mcho "Midi   " "$MediaInfoMidi"
22192Mcho "Mpc    " "$MediaInfoMpc"
22193Mcho "MpcSv8 " "$MediaInfoMpcSv8"
22194Mcho "Mpega  " "$MediaInfoMpega"
22195Mcho "OpenMG " "$MediaInfoOpenMG"
22196Mcho "Pcm    " "$MediaInfoPcm"
22197Mcho "Ps2a   " "$MediaInfoPs2a"
22198Mcho "Rkau   " "$MediaInfoRkau"
22199Mcho "Speex  " "$MediaInfoSpeex"
22200Mcho "Tak    " "$MediaInfoTak"
22201Mcho "Tta    " "$MediaInfoTta"
22202Mcho "TwinVQ " "$MediaInfoTwinVQ"
22203Mcho "Vorbis " "$MediaInfoVorbis"
22204Mcho "Wvpk   " "$MediaInfoWvpk"
22205Mcho "ArriRaw" "$MediaInfoArriRaw"
22206Mcho "Bmp    " "$MediaInfoBmp"
22207Mcho "Bpg    " "$MediaInfoBpg"
22208Mcho "Dds    " "$MediaInfoDds"
22209Mcho "Dpx    " "$MediaInfoDpx"
22210Mcho "Exr    " "$MediaInfoDpx"
22211Mcho "Gif    " "$MediaInfoGif"
22212Mcho "Ico    " "$MediaInfoIco"
22213Mcho "Jpeg   " "$MediaInfoJpeg"
22214Mcho "Pcx    " "$MediaInfoPcx"
22215Mcho "Png    " "$MediaInfoPng"
22216Mcho "Psd    " "$MediaInfoPsd"
22217Mcho "Tiff   " "$MediaInfoTiff"
22218Mcho "Aaf    " "$MediaInfoAaf"
22219Mcho "Bdav   " "$MediaInfoBdav"
22220Mcho "Bdmv   " "$MediaInfoBdmv"
22221Mcho "Cdxa   " "$MediaInfoCdxa"
22222Mcho "DASH   " "$MediaInfoDashMpd"
22223Mcho "Dcp    " "$MediaInfoDcp"
22224Mcho "Dpg    " "$MediaInfoDpg"
22225Mcho "References" "$References"
22226Mcho "DvDif  " "$MediaInfoDvDif"
22227Mcho "DvDifAnalyze" "$MediaInfoDvDifAnalyze"
22228Mcho "Dvdv   " "$MediaInfoDvdv"
22229Mcho "Dxw    " "$MediaInfoFlv"
22230Mcho "Gxf "  "$MediaInfoHdsGxf"
22231Mcho "HdsF4m " "$MediaInfoHdsF4m"
22232Mcho "Hls    " "$MediaInfoHls"
22233Mcho "Flv    " "$MediaInfoFlv"
22234Mcho "Mk     " "$MediaInfoMk"
22235Mcho "MiXml  " "$MediaInfoMiXml"
22236Mcho "Mpeg4  " "$MediaInfoMpeg4"
22237Mcho "MpegPs " "$MediaInfoMpegPs"
22238Mcho "MpegTs " "$MediaInfoMpegTs"
22239Mcho "MpegTs (PCR)" "$MediaInfoMpegTsPcr"
22240Mcho "MpegTs (Parser time stamp)" "$MediaInfoMpegTsPesTimeStamp"
22241Mcho "Mxf    " "$MediaInfoMxf"
22242Mcho "Nut    " "$MediaInfoNut"
22243Mcho "Ogg    " "$MediaInfoOgg"
22244Mcho "Pmp    " "$MediaInfoPmp"
22245Mcho "Riff   " "$MediaInfoRiff"
22246Mcho "Rm     " "$MediaInfoRm"
22247Mcho "Skm    " "$MediaInfoSkm"
22248Mcho "Swf    " "$MediaInfoSwf"
22249Mcho "Tsp    " "$MediaInfoTsp"
22250Mcho "Wm     " "$MediaInfoWm"
22251Mcho "ApeTag " "$MediaInfoApeTag"
22252Mcho "Id3    " "$MediaInfoId3"
22253Mcho "Id3v2  " "$MediaInfoId3v2"
22254Mcho "Lyrics3" "$MediaInfoLyrics3"
22255Mcho "Lyrics3v2" "$MediaInfoLyrics3v2"
22256Mcho "VorbisCom" "$MediaInfoVorbisCom"
22257Mcho "Cmml   " "$MediaInfoCmml"
22258Mcho "DvbSubtitle " "$MediaInfoDvbSubtitle"
22259Mcho "Eia608 " "$MediaInfoEia608"
22260Mcho "Eia708 " "$MediaInfoEia708"
22261Mcho "SubRip " "$MediaInfoSubRip"
22262Mcho "Teletext " "$MediaInfoTeletext"
22263Mcho "TimedText " "$MediaInfoTimedText"
22264Mcho "Ttml   " "$MediaInfoTtml"
22265Mcho "Kate   " "$MediaInfoKate"
22266Mcho "Pdf    " "$MediaInfoPdf"
22267Mcho "Pgs    " "$MediaInfoPgs"
22268Mcho "Scc    " "$MediaInfoScc"
22269Mcho "Aic    " "$MediaInfoAic"
22270Mcho "Av1    " "$MediaInfoAv1"
22271Mcho "Avc    " "$MediaInfoAvc"
22272Mcho "AvsV   " "$MediaInfoAvsV"
22273Mcho "Canopus" "$MediaInfoCanopus"
22274Mcho "Ffv1   " "$MediaInfoFfv1"
22275Mcho "Flic   " "$MediaInfoFlic"
22276Mcho "H263   " "$MediaInfoH263"
22277Mcho "Hevc   " "$MediaInfoHevc"
22278Mcho "HuffYUV" "$MediaInfoHuffYUV"
22279Mcho "Mpeg4v " "$MediaInfoMpeg4v"
22280Mcho "Mpegv  " "$MediaInfoMpegv"
22281Mcho "ProRes " "$MediaInfoProRes"
22282Mcho "Theora " "$MediaInfoTheora"
22283Mcho "Vc1    " "$MediaInfoVc1"
22284Mcho "Vc3    " "$MediaInfoVc3"
22285Mcho "VP8    " "$MediaInfoVp8"
22286Mcho "Y4m    " "$MediaInfoY4m"
22287echo ""
22288echo "  CXXFLAGS: $CXXFLAGS"
22289echo "  LDFLAGS: $LDFLAGS"
22290echo "  LIBS: $LIBS"
22291