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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
397@%:@ must be portable across @S|@(()) 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 @S|@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=.
581LIB@&t@OBJS=
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
635LIB@&t@OBJS
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                          @<:@@S|@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.@S|@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.@S|@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.@S|@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.@S|@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.@S|@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.@S|@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.@S|@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@&t@_DLSYM_CONST
7337#elif defined __osf__
7338/* This system does not cope well with relocations in const data.  */
7339# define LT@&t@_DLSYM_CONST
7340#else
7341# define LT@&t@_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@&t@_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 @S|@*""; 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@S|@2 in
8614    x)
8615        ;;
8616    *:)
8617        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
8618        ;;
8619    x:*)
8620        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
8621        ;;
8622    *::*)
8623        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8624        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
8625        ;;
8626    *)
8627        eval @S|@1=\"`$ECHO @S|@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 @S|@2 in
8918  .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
8919  *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@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
9399## CAVEAT EMPTOR:
9400## There is no encapsulation within the following macros, do not change
9401## the running order or otherwise move them around unless you know exactly
9402## what you are doing...
9403if test -n "$compiler"; then
9404
9405lt_prog_compiler_no_builtin_flag=
9406
9407if test yes = "$GCC"; then
9408  case $cc_basename in
9409  nvcc*)
9410    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9411  *)
9412    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9413  esac
9414
9415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9416$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9417if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9418  $as_echo_n "(cached) " >&6
9419else
9420  lt_cv_prog_compiler_rtti_exceptions=no
9421   ac_outfile=conftest.$ac_objext
9422   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9423   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9424   # Insert the option either (1) after the last *FLAGS variable, or
9425   # (2) before a word containing "conftest.", or (3) at the end.
9426   # Note that $ac_compile itself does not contain backslashes and begins
9427   # with a dollar sign (not a hyphen), so the echo should work correctly.
9428   # The option is referenced via a variable to avoid confusing sed.
9429   lt_compile=`echo "$ac_compile" | $SED \
9430   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9431   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9432   -e 's:$: $lt_compiler_flag:'`
9433   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9434   (eval "$lt_compile" 2>conftest.err)
9435   ac_status=$?
9436   cat conftest.err >&5
9437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438   if (exit $ac_status) && test -s "$ac_outfile"; then
9439     # The compiler can only warn and ignore the option if not recognized
9440     # So say no if there are warnings other than the usual output.
9441     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9442     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9443     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9444       lt_cv_prog_compiler_rtti_exceptions=yes
9445     fi
9446   fi
9447   $RM conftest*
9448
9449fi
9450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9451$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9452
9453if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9454    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9455else
9456    :
9457fi
9458
9459fi
9460
9461
9462
9463
9464
9465
9466  lt_prog_compiler_wl=
9467lt_prog_compiler_pic=
9468lt_prog_compiler_static=
9469
9470
9471  if test yes = "$GCC"; then
9472    lt_prog_compiler_wl='-Wl,'
9473    lt_prog_compiler_static='-static'
9474
9475    case $host_os in
9476      aix*)
9477      # All AIX code is PIC.
9478      if test ia64 = "$host_cpu"; then
9479	# AIX 5 now supports IA64 processor
9480	lt_prog_compiler_static='-Bstatic'
9481      fi
9482      lt_prog_compiler_pic='-fPIC'
9483      ;;
9484
9485    amigaos*)
9486      case $host_cpu in
9487      powerpc)
9488            # see comment about AmigaOS4 .so support
9489            lt_prog_compiler_pic='-fPIC'
9490        ;;
9491      m68k)
9492            # FIXME: we need at least 68020 code to build shared libraries, but
9493            # adding the '-m68020' flag to GCC prevents building anything better,
9494            # like '-m68040'.
9495            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9496        ;;
9497      esac
9498      ;;
9499
9500    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9501      # PIC is the default for these OSes.
9502      ;;
9503
9504    mingw* | cygwin* | pw32* | os2* | cegcc*)
9505      # This hack is so that the source file can tell whether it is being
9506      # built for inclusion in a dll (and should export symbols for example).
9507      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9508      # (--disable-auto-import) libraries
9509      lt_prog_compiler_pic='-DDLL_EXPORT'
9510      case $host_os in
9511      os2*)
9512	lt_prog_compiler_static='$wl-static'
9513	;;
9514      esac
9515      ;;
9516
9517    darwin* | rhapsody*)
9518      # PIC is the default on this platform
9519      # Common symbols not allowed in MH_DYLIB files
9520      lt_prog_compiler_pic='-fno-common'
9521      ;;
9522
9523    haiku*)
9524      # PIC is the default for Haiku.
9525      # The "-static" flag exists, but is broken.
9526      lt_prog_compiler_static=
9527      ;;
9528
9529    hpux*)
9530      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9531      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9532      # sets the default TLS model and affects inlining.
9533      case $host_cpu in
9534      hppa*64*)
9535	# +Z the default
9536	;;
9537      *)
9538	lt_prog_compiler_pic='-fPIC'
9539	;;
9540      esac
9541      ;;
9542
9543    interix[3-9]*)
9544      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9545      # Instead, we relocate shared libraries at runtime.
9546      ;;
9547
9548    msdosdjgpp*)
9549      # Just because we use GCC doesn't mean we suddenly get shared libraries
9550      # on systems that don't support them.
9551      lt_prog_compiler_can_build_shared=no
9552      enable_shared=no
9553      ;;
9554
9555    *nto* | *qnx*)
9556      # QNX uses GNU C++, but need to define -shared option too, otherwise
9557      # it will coredump.
9558      lt_prog_compiler_pic='-fPIC -shared'
9559      ;;
9560
9561    sysv4*MP*)
9562      if test -d /usr/nec; then
9563	lt_prog_compiler_pic=-Kconform_pic
9564      fi
9565      ;;
9566
9567    *)
9568      lt_prog_compiler_pic='-fPIC'
9569      ;;
9570    esac
9571
9572    case $cc_basename in
9573    nvcc*) # Cuda Compiler Driver 2.2
9574      lt_prog_compiler_wl='-Xlinker '
9575      if test -n "$lt_prog_compiler_pic"; then
9576        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9577      fi
9578      ;;
9579    esac
9580  else
9581    # PORTME Check for flag to pass linker flags through the system compiler.
9582    case $host_os in
9583    aix*)
9584      lt_prog_compiler_wl='-Wl,'
9585      if test ia64 = "$host_cpu"; then
9586	# AIX 5 now supports IA64 processor
9587	lt_prog_compiler_static='-Bstatic'
9588      else
9589	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9590      fi
9591      ;;
9592
9593    darwin* | rhapsody*)
9594      # PIC is the default on this platform
9595      # Common symbols not allowed in MH_DYLIB files
9596      lt_prog_compiler_pic='-fno-common'
9597      case $cc_basename in
9598      nagfor*)
9599        # NAG Fortran compiler
9600        lt_prog_compiler_wl='-Wl,-Wl,,'
9601        lt_prog_compiler_pic='-PIC'
9602        lt_prog_compiler_static='-Bstatic'
9603        ;;
9604      esac
9605      ;;
9606
9607    mingw* | cygwin* | pw32* | os2* | cegcc*)
9608      # This hack is so that the source file can tell whether it is being
9609      # built for inclusion in a dll (and should export symbols for example).
9610      lt_prog_compiler_pic='-DDLL_EXPORT'
9611      case $host_os in
9612      os2*)
9613	lt_prog_compiler_static='$wl-static'
9614	;;
9615      esac
9616      ;;
9617
9618    hpux9* | hpux10* | hpux11*)
9619      lt_prog_compiler_wl='-Wl,'
9620      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9621      # not for PA HP-UX.
9622      case $host_cpu in
9623      hppa*64*|ia64*)
9624	# +Z the default
9625	;;
9626      *)
9627	lt_prog_compiler_pic='+Z'
9628	;;
9629      esac
9630      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9631      lt_prog_compiler_static='$wl-a ${wl}archive'
9632      ;;
9633
9634    irix5* | irix6* | nonstopux*)
9635      lt_prog_compiler_wl='-Wl,'
9636      # PIC (with -KPIC) is the default.
9637      lt_prog_compiler_static='-non_shared'
9638      ;;
9639
9640    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9641      case $cc_basename in
9642      # old Intel for x86_64, which still supported -KPIC.
9643      ecc*)
9644	lt_prog_compiler_wl='-Wl,'
9645	lt_prog_compiler_pic='-KPIC'
9646	lt_prog_compiler_static='-static'
9647        ;;
9648      # flang / f18. f95 an alias for gfortran or flang on Debian
9649      flang* | f18* | f95*)
9650	lt_prog_compiler_wl='-Wl,'
9651	lt_prog_compiler_pic='-fPIC'
9652	lt_prog_compiler_static='-static'
9653        ;;
9654      # icc used to be incompatible with GCC.
9655      # ICC 10 doesn't accept -KPIC any more.
9656      icc* | ifort*)
9657	lt_prog_compiler_wl='-Wl,'
9658	lt_prog_compiler_pic='-fPIC'
9659	lt_prog_compiler_static='-static'
9660        ;;
9661      # Lahey Fortran 8.1.
9662      lf95*)
9663	lt_prog_compiler_wl='-Wl,'
9664	lt_prog_compiler_pic='--shared'
9665	lt_prog_compiler_static='--static'
9666	;;
9667      nagfor*)
9668	# NAG Fortran compiler
9669	lt_prog_compiler_wl='-Wl,-Wl,,'
9670	lt_prog_compiler_pic='-PIC'
9671	lt_prog_compiler_static='-Bstatic'
9672	;;
9673      tcc*)
9674	# Fabrice Bellard et al's Tiny C Compiler
9675	lt_prog_compiler_wl='-Wl,'
9676	lt_prog_compiler_pic='-fPIC'
9677	lt_prog_compiler_static='-static'
9678	;;
9679      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9680        # Portland Group compilers (*not* the Pentium gcc compiler,
9681	# which looks to be a dead project)
9682	lt_prog_compiler_wl='-Wl,'
9683	lt_prog_compiler_pic='-fpic'
9684	lt_prog_compiler_static='-Bstatic'
9685        ;;
9686      ccc*)
9687        lt_prog_compiler_wl='-Wl,'
9688        # All Alpha code is PIC.
9689        lt_prog_compiler_static='-non_shared'
9690        ;;
9691      xl* | bgxl* | bgf* | mpixl*)
9692	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9693	lt_prog_compiler_wl='-Wl,'
9694	lt_prog_compiler_pic='-qpic'
9695	lt_prog_compiler_static='-qstaticlink'
9696	;;
9697      *)
9698	case `$CC -V 2>&1 | sed 5q` in
9699	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9700	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9701	  lt_prog_compiler_pic='-KPIC'
9702	  lt_prog_compiler_static='-Bstatic'
9703	  lt_prog_compiler_wl=''
9704	  ;;
9705	*Sun\ F* | *Sun*Fortran*)
9706	  lt_prog_compiler_pic='-KPIC'
9707	  lt_prog_compiler_static='-Bstatic'
9708	  lt_prog_compiler_wl='-Qoption ld '
9709	  ;;
9710	*Sun\ C*)
9711	  # Sun C 5.9
9712	  lt_prog_compiler_pic='-KPIC'
9713	  lt_prog_compiler_static='-Bstatic'
9714	  lt_prog_compiler_wl='-Wl,'
9715	  ;;
9716        *Intel*\ [CF]*Compiler*)
9717	  lt_prog_compiler_wl='-Wl,'
9718	  lt_prog_compiler_pic='-fPIC'
9719	  lt_prog_compiler_static='-static'
9720	  ;;
9721	*Portland\ Group*)
9722	  lt_prog_compiler_wl='-Wl,'
9723	  lt_prog_compiler_pic='-fpic'
9724	  lt_prog_compiler_static='-Bstatic'
9725	  ;;
9726	esac
9727	;;
9728      esac
9729      ;;
9730
9731    newsos6)
9732      lt_prog_compiler_pic='-KPIC'
9733      lt_prog_compiler_static='-Bstatic'
9734      ;;
9735
9736    *nto* | *qnx*)
9737      # QNX uses GNU C++, but need to define -shared option too, otherwise
9738      # it will coredump.
9739      lt_prog_compiler_pic='-fPIC -shared'
9740      ;;
9741
9742    osf3* | osf4* | osf5*)
9743      lt_prog_compiler_wl='-Wl,'
9744      # All OSF/1 code is PIC.
9745      lt_prog_compiler_static='-non_shared'
9746      ;;
9747
9748    rdos*)
9749      lt_prog_compiler_static='-non_shared'
9750      ;;
9751
9752    solaris*)
9753      lt_prog_compiler_pic='-KPIC'
9754      lt_prog_compiler_static='-Bstatic'
9755      case $cc_basename in
9756      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9757	lt_prog_compiler_wl='-Qoption ld ';;
9758      *)
9759	lt_prog_compiler_wl='-Wl,';;
9760      esac
9761      ;;
9762
9763    sunos4*)
9764      lt_prog_compiler_wl='-Qoption ld '
9765      lt_prog_compiler_pic='-PIC'
9766      lt_prog_compiler_static='-Bstatic'
9767      ;;
9768
9769    sysv4 | sysv4.2uw2* | sysv4.3*)
9770      lt_prog_compiler_wl='-Wl,'
9771      lt_prog_compiler_pic='-KPIC'
9772      lt_prog_compiler_static='-Bstatic'
9773      ;;
9774
9775    sysv4*MP*)
9776      if test -d /usr/nec; then
9777	lt_prog_compiler_pic='-Kconform_pic'
9778	lt_prog_compiler_static='-Bstatic'
9779      fi
9780      ;;
9781
9782    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9783      lt_prog_compiler_wl='-Wl,'
9784      lt_prog_compiler_pic='-KPIC'
9785      lt_prog_compiler_static='-Bstatic'
9786      ;;
9787
9788    unicos*)
9789      lt_prog_compiler_wl='-Wl,'
9790      lt_prog_compiler_can_build_shared=no
9791      ;;
9792
9793    uts4*)
9794      lt_prog_compiler_pic='-pic'
9795      lt_prog_compiler_static='-Bstatic'
9796      ;;
9797
9798    *)
9799      lt_prog_compiler_can_build_shared=no
9800      ;;
9801    esac
9802  fi
9803
9804case $host_os in
9805  # For platforms that do not support PIC, -DPIC is meaningless:
9806  *djgpp*)
9807    lt_prog_compiler_pic=
9808    ;;
9809  *)
9810    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9811    ;;
9812esac
9813
9814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9815$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9816if ${lt_cv_prog_compiler_pic+:} false; then :
9817  $as_echo_n "(cached) " >&6
9818else
9819  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9820fi
9821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9822$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9823lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9824
9825#
9826# Check to make sure the PIC flag actually works.
9827#
9828if test -n "$lt_prog_compiler_pic"; then
9829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9830$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9831if ${lt_cv_prog_compiler_pic_works+:} false; then :
9832  $as_echo_n "(cached) " >&6
9833else
9834  lt_cv_prog_compiler_pic_works=no
9835   ac_outfile=conftest.$ac_objext
9836   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9837   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9838   # Insert the option either (1) after the last *FLAGS variable, or
9839   # (2) before a word containing "conftest.", or (3) at the end.
9840   # Note that $ac_compile itself does not contain backslashes and begins
9841   # with a dollar sign (not a hyphen), so the echo should work correctly.
9842   # The option is referenced via a variable to avoid confusing sed.
9843   lt_compile=`echo "$ac_compile" | $SED \
9844   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9845   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9846   -e 's:$: $lt_compiler_flag:'`
9847   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9848   (eval "$lt_compile" 2>conftest.err)
9849   ac_status=$?
9850   cat conftest.err >&5
9851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852   if (exit $ac_status) && test -s "$ac_outfile"; then
9853     # The compiler can only warn and ignore the option if not recognized
9854     # So say no if there are warnings other than the usual output.
9855     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9856     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9857     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9858       lt_cv_prog_compiler_pic_works=yes
9859     fi
9860   fi
9861   $RM conftest*
9862
9863fi
9864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9865$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9866
9867if test yes = "$lt_cv_prog_compiler_pic_works"; then
9868    case $lt_prog_compiler_pic in
9869     "" | " "*) ;;
9870     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9871     esac
9872else
9873    lt_prog_compiler_pic=
9874     lt_prog_compiler_can_build_shared=no
9875fi
9876
9877fi
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889#
9890# Check to make sure the static flag actually works.
9891#
9892wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9894$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9895if ${lt_cv_prog_compiler_static_works+:} false; then :
9896  $as_echo_n "(cached) " >&6
9897else
9898  lt_cv_prog_compiler_static_works=no
9899   save_LDFLAGS=$LDFLAGS
9900   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9901   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9902   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9903     # The linker can only warn and ignore the option if not recognized
9904     # So say no if there are warnings
9905     if test -s conftest.err; then
9906       # Append any errors to the config.log.
9907       cat conftest.err 1>&5
9908       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9909       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9910       if diff conftest.exp conftest.er2 >/dev/null; then
9911         lt_cv_prog_compiler_static_works=yes
9912       fi
9913     else
9914       lt_cv_prog_compiler_static_works=yes
9915     fi
9916   fi
9917   $RM -r conftest*
9918   LDFLAGS=$save_LDFLAGS
9919
9920fi
9921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9922$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9923
9924if test yes = "$lt_cv_prog_compiler_static_works"; then
9925    :
9926else
9927    lt_prog_compiler_static=
9928fi
9929
9930
9931
9932
9933
9934
9935
9936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9937$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9938if ${lt_cv_prog_compiler_c_o+:} false; then :
9939  $as_echo_n "(cached) " >&6
9940else
9941  lt_cv_prog_compiler_c_o=no
9942   $RM -r conftest 2>/dev/null
9943   mkdir conftest
9944   cd conftest
9945   mkdir out
9946   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9947
9948   lt_compiler_flag="-o out/conftest2.$ac_objext"
9949   # Insert the option either (1) after the last *FLAGS variable, or
9950   # (2) before a word containing "conftest.", or (3) at the end.
9951   # Note that $ac_compile itself does not contain backslashes and begins
9952   # with a dollar sign (not a hyphen), so the echo should work correctly.
9953   lt_compile=`echo "$ac_compile" | $SED \
9954   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9955   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9956   -e 's:$: $lt_compiler_flag:'`
9957   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9958   (eval "$lt_compile" 2>out/conftest.err)
9959   ac_status=$?
9960   cat out/conftest.err >&5
9961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9963   then
9964     # The compiler can only warn and ignore the option if not recognized
9965     # So say no if there are warnings
9966     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9967     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9968     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9969       lt_cv_prog_compiler_c_o=yes
9970     fi
9971   fi
9972   chmod u+w . 2>&5
9973   $RM conftest*
9974   # SGI C++ compiler will create directory out/ii_files/ for
9975   # template instantiation
9976   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9977   $RM out/* && rmdir out
9978   cd ..
9979   $RM -r conftest
9980   $RM conftest*
9981
9982fi
9983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9984$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9985
9986
9987
9988
9989
9990
9991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9992$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9993if ${lt_cv_prog_compiler_c_o+:} false; then :
9994  $as_echo_n "(cached) " >&6
9995else
9996  lt_cv_prog_compiler_c_o=no
9997   $RM -r conftest 2>/dev/null
9998   mkdir conftest
9999   cd conftest
10000   mkdir out
10001   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10002
10003   lt_compiler_flag="-o out/conftest2.$ac_objext"
10004   # Insert the option either (1) after the last *FLAGS variable, or
10005   # (2) before a word containing "conftest.", or (3) at the end.
10006   # Note that $ac_compile itself does not contain backslashes and begins
10007   # with a dollar sign (not a hyphen), so the echo should work correctly.
10008   lt_compile=`echo "$ac_compile" | $SED \
10009   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10010   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10011   -e 's:$: $lt_compiler_flag:'`
10012   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10013   (eval "$lt_compile" 2>out/conftest.err)
10014   ac_status=$?
10015   cat out/conftest.err >&5
10016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10018   then
10019     # The compiler can only warn and ignore the option if not recognized
10020     # So say no if there are warnings
10021     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10022     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10023     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10024       lt_cv_prog_compiler_c_o=yes
10025     fi
10026   fi
10027   chmod u+w . 2>&5
10028   $RM conftest*
10029   # SGI C++ compiler will create directory out/ii_files/ for
10030   # template instantiation
10031   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10032   $RM out/* && rmdir out
10033   cd ..
10034   $RM -r conftest
10035   $RM conftest*
10036
10037fi
10038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10039$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10040
10041
10042
10043
10044hard_links=nottested
10045if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10046  # do not overwrite the value of need_locks provided by the user
10047  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10048$as_echo_n "checking if we can lock with hard links... " >&6; }
10049  hard_links=yes
10050  $RM conftest*
10051  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10052  touch conftest.a
10053  ln conftest.a conftest.b 2>&5 || hard_links=no
10054  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10056$as_echo "$hard_links" >&6; }
10057  if test no = "$hard_links"; then
10058    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10059$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10060    need_locks=warn
10061  fi
10062else
10063  need_locks=no
10064fi
10065
10066
10067
10068
10069
10070
10071  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10072$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10073
10074  runpath_var=
10075  allow_undefined_flag=
10076  always_export_symbols=no
10077  archive_cmds=
10078  archive_expsym_cmds=
10079  compiler_needs_object=no
10080  enable_shared_with_static_runtimes=no
10081  export_dynamic_flag_spec=
10082  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10083  hardcode_automatic=no
10084  hardcode_direct=no
10085  hardcode_direct_absolute=no
10086  hardcode_libdir_flag_spec=
10087  hardcode_libdir_separator=
10088  hardcode_minus_L=no
10089  hardcode_shlibpath_var=unsupported
10090  inherit_rpath=no
10091  link_all_deplibs=unknown
10092  module_cmds=
10093  module_expsym_cmds=
10094  old_archive_from_new_cmds=
10095  old_archive_from_expsyms_cmds=
10096  thread_safe_flag_spec=
10097  whole_archive_flag_spec=
10098  # include_expsyms should be a list of space-separated symbols to be *always*
10099  # included in the symbol list
10100  include_expsyms=
10101  # exclude_expsyms can be an extended regexp of symbols to exclude
10102  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10103  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10104  # as well as any symbol that contains 'd'.
10105  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10106  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10107  # platforms (ab)use it in PIC code, but their linkers get confused if
10108  # the symbol is explicitly referenced.  Since portable code cannot
10109  # rely on this symbol name, it's probably fine to never include it in
10110  # preloaded symbol tables.
10111  # Exclude shared library initialization/finalization symbols.
10112  extract_expsyms_cmds=
10113
10114  case $host_os in
10115  cygwin* | mingw* | pw32* | cegcc*)
10116    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10117    # When not using gcc, we currently assume that we are using
10118    # Microsoft Visual C++.
10119    if test yes != "$GCC"; then
10120      with_gnu_ld=no
10121    fi
10122    ;;
10123  interix*)
10124    # we just hope/assume this is gcc and not c89 (= MSVC++)
10125    with_gnu_ld=yes
10126    ;;
10127  openbsd* | bitrig*)
10128    with_gnu_ld=no
10129    ;;
10130  linux* | k*bsd*-gnu | gnu*)
10131    link_all_deplibs=no
10132    ;;
10133  esac
10134
10135  ld_shlibs=yes
10136
10137  # On some targets, GNU ld is compatible enough with the native linker
10138  # that we're better off using the native interface for both.
10139  lt_use_gnu_ld_interface=no
10140  if test yes = "$with_gnu_ld"; then
10141    case $host_os in
10142      aix*)
10143	# The AIX port of GNU ld has always aspired to compatibility
10144	# with the native linker.  However, as the warning in the GNU ld
10145	# block says, versions before 2.19.5* couldn't really create working
10146	# shared libraries, regardless of the interface used.
10147	case `$LD -v 2>&1` in
10148	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10149	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10150	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10151	  *)
10152	    lt_use_gnu_ld_interface=yes
10153	    ;;
10154	esac
10155	;;
10156      *)
10157	lt_use_gnu_ld_interface=yes
10158	;;
10159    esac
10160  fi
10161
10162  if test yes = "$lt_use_gnu_ld_interface"; then
10163    # If archive_cmds runs LD, not CC, wlarc should be empty
10164    wlarc='$wl'
10165
10166    # Set some defaults for GNU ld with shared library support. These
10167    # are reset later if shared libraries are not supported. Putting them
10168    # here allows them to be overridden if necessary.
10169    runpath_var=LD_RUN_PATH
10170    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10171    export_dynamic_flag_spec='$wl--export-dynamic'
10172    # ancient GNU ld didn't support --whole-archive et. al.
10173    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10174      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10175    else
10176      whole_archive_flag_spec=
10177    fi
10178    supports_anon_versioning=no
10179    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10180      *GNU\ gold*) supports_anon_versioning=yes ;;
10181      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10182      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10183      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10184      *\ 2.11.*) ;; # other 2.11 versions
10185      *) supports_anon_versioning=yes ;;
10186    esac
10187
10188    # See if GNU ld supports shared libraries.
10189    case $host_os in
10190    aix[3-9]*)
10191      # On AIX/PPC, the GNU linker is very broken
10192      if test ia64 != "$host_cpu"; then
10193	ld_shlibs=no
10194	cat <<_LT_EOF 1>&2
10195
10196*** Warning: the GNU linker, at least up to release 2.19, is reported
10197*** to be unable to reliably create shared libraries on AIX.
10198*** Therefore, libtool is disabling shared libraries support.  If you
10199*** really care for shared libraries, you may want to install binutils
10200*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10201*** You will then need to restart the configuration process.
10202
10203_LT_EOF
10204      fi
10205      ;;
10206
10207    amigaos*)
10208      case $host_cpu in
10209      powerpc)
10210            # see comment about AmigaOS4 .so support
10211            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10212            archive_expsym_cmds=''
10213        ;;
10214      m68k)
10215            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)'
10216            hardcode_libdir_flag_spec='-L$libdir'
10217            hardcode_minus_L=yes
10218        ;;
10219      esac
10220      ;;
10221
10222    beos*)
10223      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10224	allow_undefined_flag=unsupported
10225	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10226	# support --undefined.  This deserves some investigation.  FIXME
10227	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10228      else
10229	ld_shlibs=no
10230      fi
10231      ;;
10232
10233    cygwin* | mingw* | pw32* | cegcc*)
10234      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10235      # as there is no search path for DLLs.
10236      hardcode_libdir_flag_spec='-L$libdir'
10237      export_dynamic_flag_spec='$wl--export-all-symbols'
10238      allow_undefined_flag=unsupported
10239      always_export_symbols=no
10240      enable_shared_with_static_runtimes=yes
10241      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'
10242      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10243
10244      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10245        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10246	# If the export-symbols file already is a .def file, use it as
10247	# is; otherwise, prepend EXPORTS...
10248	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10249          cp $export_symbols $output_objdir/$soname.def;
10250        else
10251          echo EXPORTS > $output_objdir/$soname.def;
10252          cat $export_symbols >> $output_objdir/$soname.def;
10253        fi~
10254        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10255      else
10256	ld_shlibs=no
10257      fi
10258      ;;
10259
10260    haiku*)
10261      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10262      link_all_deplibs=yes
10263      ;;
10264
10265    os2*)
10266      hardcode_libdir_flag_spec='-L$libdir'
10267      hardcode_minus_L=yes
10268      allow_undefined_flag=unsupported
10269      shrext_cmds=.dll
10270      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10271	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10272	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10273	$ECHO EXPORTS >> $output_objdir/$libname.def~
10274	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10275	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10276	emximp -o $lib $output_objdir/$libname.def'
10277      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10278	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10279	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10280	$ECHO EXPORTS >> $output_objdir/$libname.def~
10281	prefix_cmds="$SED"~
10282	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10283	  prefix_cmds="$prefix_cmds -e 1d";
10284	fi~
10285	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10286	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10287	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10288	emximp -o $lib $output_objdir/$libname.def'
10289      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10290      enable_shared_with_static_runtimes=yes
10291      ;;
10292
10293    interix[3-9]*)
10294      hardcode_direct=no
10295      hardcode_shlibpath_var=no
10296      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10297      export_dynamic_flag_spec='$wl-E'
10298      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10299      # Instead, shared libraries are loaded at an image base (0x10000000 by
10300      # default) and relocated if they conflict, which is a slow very memory
10301      # consuming and fragmenting process.  To avoid this, we pick a random,
10302      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10303      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10304      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10305      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'
10306      ;;
10307
10308    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10309      tmp_diet=no
10310      if test linux-dietlibc = "$host_os"; then
10311	case $cc_basename in
10312	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10313	esac
10314      fi
10315      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10316	 && test no = "$tmp_diet"
10317      then
10318	tmp_addflag=' $pic_flag'
10319	tmp_sharedflag='-shared'
10320	case $cc_basename,$host_cpu in
10321        pgcc*)				# Portland Group C compiler
10322	  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'
10323	  tmp_addflag=' $pic_flag'
10324	  ;;
10325	pgf77* | pgf90* | pgf95* | pgfortran*)
10326					# Portland Group f77 and f90 compilers
10327	  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'
10328	  tmp_addflag=' $pic_flag -Mnomain' ;;
10329	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10330	  tmp_addflag=' -i_dynamic' ;;
10331	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10332	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10333	ifc* | ifort*)			# Intel Fortran compiler
10334	  tmp_addflag=' -nofor_main' ;;
10335	lf95*)				# Lahey Fortran 8.1
10336	  whole_archive_flag_spec=
10337	  tmp_sharedflag='--shared' ;;
10338        nagfor*)                        # NAGFOR 5.3
10339          tmp_sharedflag='-Wl,-shared' ;;
10340	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10341	  tmp_sharedflag='-qmkshrobj'
10342	  tmp_addflag= ;;
10343	nvcc*)	# Cuda Compiler Driver 2.2
10344	  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'
10345	  compiler_needs_object=yes
10346	  ;;
10347	esac
10348	case `$CC -V 2>&1 | sed 5q` in
10349	*Sun\ C*)			# Sun C 5.9
10350	  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'
10351	  compiler_needs_object=yes
10352	  tmp_sharedflag='-G' ;;
10353	*Sun\ F*)			# Sun Fortran 8.3
10354	  tmp_sharedflag='-G' ;;
10355	esac
10356	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10357
10358        if test yes = "$supports_anon_versioning"; then
10359          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10360            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10361            echo "local: *; };" >> $output_objdir/$libname.ver~
10362            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10363        fi
10364
10365	case $cc_basename in
10366	tcc*)
10367	  export_dynamic_flag_spec='-rdynamic'
10368	  ;;
10369	xlf* | bgf* | bgxlf* | mpixlf*)
10370	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10371	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10372	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10373	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10374	  if test yes = "$supports_anon_versioning"; then
10375	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10376              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10377              echo "local: *; };" >> $output_objdir/$libname.ver~
10378              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10379	  fi
10380	  ;;
10381	esac
10382      else
10383        ld_shlibs=no
10384      fi
10385      ;;
10386
10387    netbsd* | netbsdelf*-gnu)
10388      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10389	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10390	wlarc=
10391      else
10392	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10393	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10394      fi
10395      ;;
10396
10397    solaris*)
10398      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10399	ld_shlibs=no
10400	cat <<_LT_EOF 1>&2
10401
10402*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10403*** create shared libraries on Solaris systems.  Therefore, libtool
10404*** is disabling shared libraries support.  We urge you to upgrade GNU
10405*** binutils to release 2.9.1 or newer.  Another option is to modify
10406*** your PATH or compiler configuration so that the native linker is
10407*** used, and then restart.
10408
10409_LT_EOF
10410      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10411	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10412	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10413      else
10414	ld_shlibs=no
10415      fi
10416      ;;
10417
10418    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10419      case `$LD -v 2>&1` in
10420        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10421	ld_shlibs=no
10422	cat <<_LT_EOF 1>&2
10423
10424*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10425*** reliably create shared libraries on SCO systems.  Therefore, libtool
10426*** is disabling shared libraries support.  We urge you to upgrade GNU
10427*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10428*** your PATH or compiler configuration so that the native linker is
10429*** used, and then restart.
10430
10431_LT_EOF
10432	;;
10433	*)
10434	  # For security reasons, it is highly recommended that you always
10435	  # use absolute paths for naming shared libraries, and exclude the
10436	  # DT_RUNPATH tag from executables and libraries.  But doing so
10437	  # requires that you compile everything twice, which is a pain.
10438	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10439	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10440	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10441	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10442	  else
10443	    ld_shlibs=no
10444	  fi
10445	;;
10446      esac
10447      ;;
10448
10449    sunos4*)
10450      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10451      wlarc=
10452      hardcode_direct=yes
10453      hardcode_shlibpath_var=no
10454      ;;
10455
10456    *)
10457      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10458	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10459	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10460      else
10461	ld_shlibs=no
10462      fi
10463      ;;
10464    esac
10465
10466    if test no = "$ld_shlibs"; then
10467      runpath_var=
10468      hardcode_libdir_flag_spec=
10469      export_dynamic_flag_spec=
10470      whole_archive_flag_spec=
10471    fi
10472  else
10473    # PORTME fill in a description of your system's linker (not GNU ld)
10474    case $host_os in
10475    aix3*)
10476      allow_undefined_flag=unsupported
10477      always_export_symbols=yes
10478      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'
10479      # Note: this linker hardcodes the directories in LIBPATH if there
10480      # are no directories specified by -L.
10481      hardcode_minus_L=yes
10482      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10483	# Neither direct hardcoding nor static linking is supported with a
10484	# broken collect2.
10485	hardcode_direct=unsupported
10486      fi
10487      ;;
10488
10489    aix[4-9]*)
10490      if test ia64 = "$host_cpu"; then
10491	# On IA64, the linker does run time linking by default, so we don't
10492	# have to do anything special.
10493	aix_use_runtimelinking=no
10494	exp_sym_flag='-Bexport'
10495	no_entry_flag=
10496      else
10497	# If we're using GNU nm, then we don't want the "-C" option.
10498	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10499	# Without the "-l" option, or with the "-B" option, AIX nm treats
10500	# weak defined symbols like other global defined symbols, whereas
10501	# GNU nm marks them as "W".
10502	# While the 'weak' keyword is ignored in the Export File, we need
10503	# it in the Import File for the 'aix-soname' feature, so we have
10504	# to replace the "-B" option with "-P" for AIX nm.
10505	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10506	  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'
10507	else
10508	  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'
10509	fi
10510	aix_use_runtimelinking=no
10511
10512	# Test if we are trying to use run time linking or normal
10513	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10514	# have runtime linking enabled, and use it for executables.
10515	# For shared libraries, we enable/disable runtime linking
10516	# depending on the kind of the shared library created -
10517	# when "with_aix_soname,aix_use_runtimelinking" is:
10518	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10519	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10520	#            lib.a           static archive
10521	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10522	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10523	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10524	#            lib.a(lib.so.V) shared, rtl:no
10525	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10526	#            lib.a           static archive
10527	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10528	  for ld_flag in $LDFLAGS; do
10529	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10530	    aix_use_runtimelinking=yes
10531	    break
10532	  fi
10533	  done
10534	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10535	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10536	    # so we don't have lib.a shared libs to link our executables.
10537	    # We have to force runtime linking in this case.
10538	    aix_use_runtimelinking=yes
10539	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10540	  fi
10541	  ;;
10542	esac
10543
10544	exp_sym_flag='-bexport'
10545	no_entry_flag='-bnoentry'
10546      fi
10547
10548      # When large executables or shared objects are built, AIX ld can
10549      # have problems creating the table of contents.  If linking a library
10550      # or program results in "error TOC overflow" add -mminimal-toc to
10551      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10552      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10553
10554      archive_cmds=''
10555      hardcode_direct=yes
10556      hardcode_direct_absolute=yes
10557      hardcode_libdir_separator=':'
10558      link_all_deplibs=yes
10559      file_list_spec='$wl-f,'
10560      case $with_aix_soname,$aix_use_runtimelinking in
10561      aix,*) ;; # traditional, no import file
10562      svr4,* | *,yes) # use import file
10563	# The Import File defines what to hardcode.
10564	hardcode_direct=no
10565	hardcode_direct_absolute=no
10566	;;
10567      esac
10568
10569      if test yes = "$GCC"; then
10570	case $host_os in aix4.[012]|aix4.[012].*)
10571	# We only want to do this on AIX 4.2 and lower, the check
10572	# below for broken collect2 doesn't work under 4.3+
10573	  collect2name=`$CC -print-prog-name=collect2`
10574	  if test -f "$collect2name" &&
10575	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10576	  then
10577	  # We have reworked collect2
10578	  :
10579	  else
10580	  # We have old collect2
10581	  hardcode_direct=unsupported
10582	  # It fails to find uninstalled libraries when the uninstalled
10583	  # path is not listed in the libpath.  Setting hardcode_minus_L
10584	  # to unsupported forces relinking
10585	  hardcode_minus_L=yes
10586	  hardcode_libdir_flag_spec='-L$libdir'
10587	  hardcode_libdir_separator=
10588	  fi
10589	  ;;
10590	esac
10591	shared_flag='-shared'
10592	if test yes = "$aix_use_runtimelinking"; then
10593	  shared_flag="$shared_flag "'$wl-G'
10594	fi
10595	# Need to ensure runtime linking is disabled for the traditional
10596	# shared library, or the linker may eventually find shared libraries
10597	# /with/ Import File - we do not want to mix them.
10598	shared_flag_aix='-shared'
10599	shared_flag_svr4='-shared $wl-G'
10600      else
10601	# not using gcc
10602	if test ia64 = "$host_cpu"; then
10603	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10604	# chokes on -Wl,-G. The following line is correct:
10605	  shared_flag='-G'
10606	else
10607	  if test yes = "$aix_use_runtimelinking"; then
10608	    shared_flag='$wl-G'
10609	  else
10610	    shared_flag='$wl-bM:SRE'
10611	  fi
10612	  shared_flag_aix='$wl-bM:SRE'
10613	  shared_flag_svr4='$wl-G'
10614	fi
10615      fi
10616
10617      export_dynamic_flag_spec='$wl-bexpall'
10618      # It seems that -bexpall does not export symbols beginning with
10619      # underscore (_), so it is better to generate a list of symbols to export.
10620      always_export_symbols=yes
10621      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10622	# Warning - without using the other runtime loading flags (-brtl),
10623	# -berok will link without error, but may produce a broken library.
10624	allow_undefined_flag='-berok'
10625        # Determine the default libpath from the value encoded in an
10626        # empty executable.
10627        if test set = "${lt_cv_aix_libpath+set}"; then
10628  aix_libpath=$lt_cv_aix_libpath
10629else
10630  if ${lt_cv_aix_libpath_+:} false; then :
10631  $as_echo_n "(cached) " >&6
10632else
10633  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634/* end confdefs.h.  */
10635
10636int
10637main ()
10638{
10639
10640  ;
10641  return 0;
10642}
10643_ACEOF
10644if ac_fn_c_try_link "$LINENO"; then :
10645
10646  lt_aix_libpath_sed='
10647      /Import File Strings/,/^$/ {
10648	  /^0/ {
10649	      s/^0  *\([^ ]*\) *$/\1/
10650	      p
10651	  }
10652      }'
10653  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10654  # Check for a 64-bit object if we didn't find anything.
10655  if test -z "$lt_cv_aix_libpath_"; then
10656    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10657  fi
10658fi
10659rm -f core conftest.err conftest.$ac_objext \
10660    conftest$ac_exeext conftest.$ac_ext
10661  if test -z "$lt_cv_aix_libpath_"; then
10662    lt_cv_aix_libpath_=/usr/lib:/lib
10663  fi
10664
10665fi
10666
10667  aix_libpath=$lt_cv_aix_libpath_
10668fi
10669
10670        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10671        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
10672      else
10673	if test ia64 = "$host_cpu"; then
10674	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10675	  allow_undefined_flag="-z nodefs"
10676	  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"
10677	else
10678	 # Determine the default libpath from the value encoded in an
10679	 # empty executable.
10680	 if test set = "${lt_cv_aix_libpath+set}"; then
10681  aix_libpath=$lt_cv_aix_libpath
10682else
10683  if ${lt_cv_aix_libpath_+:} false; then :
10684  $as_echo_n "(cached) " >&6
10685else
10686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687/* end confdefs.h.  */
10688
10689int
10690main ()
10691{
10692
10693  ;
10694  return 0;
10695}
10696_ACEOF
10697if ac_fn_c_try_link "$LINENO"; then :
10698
10699  lt_aix_libpath_sed='
10700      /Import File Strings/,/^$/ {
10701	  /^0/ {
10702	      s/^0  *\([^ ]*\) *$/\1/
10703	      p
10704	  }
10705      }'
10706  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10707  # Check for a 64-bit object if we didn't find anything.
10708  if test -z "$lt_cv_aix_libpath_"; then
10709    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10710  fi
10711fi
10712rm -f core conftest.err conftest.$ac_objext \
10713    conftest$ac_exeext conftest.$ac_ext
10714  if test -z "$lt_cv_aix_libpath_"; then
10715    lt_cv_aix_libpath_=/usr/lib:/lib
10716  fi
10717
10718fi
10719
10720  aix_libpath=$lt_cv_aix_libpath_
10721fi
10722
10723	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10724	  # Warning - without using the other run time loading flags,
10725	  # -berok will link without error, but may produce a broken library.
10726	  no_undefined_flag=' $wl-bernotok'
10727	  allow_undefined_flag=' $wl-berok'
10728	  if test yes = "$with_gnu_ld"; then
10729	    # We only use this code for GNU lds that support --whole-archive.
10730	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10731	  else
10732	    # Exported symbols can be pulled into shared objects from archives
10733	    whole_archive_flag_spec='$convenience'
10734	  fi
10735	  archive_cmds_need_lc=yes
10736	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10737	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10738	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10739	  if test svr4 != "$with_aix_soname"; then
10740	    # This is similar to how AIX traditionally builds its shared libraries.
10741	    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'
10742	  fi
10743	  if test aix != "$with_aix_soname"; then
10744	    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'
10745	  else
10746	    # used by -dlpreopen to get the symbols
10747	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10748	  fi
10749	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10750	fi
10751      fi
10752      ;;
10753
10754    amigaos*)
10755      case $host_cpu in
10756      powerpc)
10757            # see comment about AmigaOS4 .so support
10758            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10759            archive_expsym_cmds=''
10760        ;;
10761      m68k)
10762            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)'
10763            hardcode_libdir_flag_spec='-L$libdir'
10764            hardcode_minus_L=yes
10765        ;;
10766      esac
10767      ;;
10768
10769    bsdi[45]*)
10770      export_dynamic_flag_spec=-rdynamic
10771      ;;
10772
10773    cygwin* | mingw* | pw32* | cegcc*)
10774      # When not using gcc, we currently assume that we are using
10775      # Microsoft Visual C++.
10776      # hardcode_libdir_flag_spec is actually meaningless, as there is
10777      # no search path for DLLs.
10778      case $cc_basename in
10779      cl*)
10780	# Native MSVC
10781	hardcode_libdir_flag_spec=' '
10782	allow_undefined_flag=unsupported
10783	always_export_symbols=yes
10784	file_list_spec='@'
10785	# Tell ltmain to make .lib files, not .a files.
10786	libext=lib
10787	# Tell ltmain to make .dll files, not .so files.
10788	shrext_cmds=.dll
10789	# FIXME: Setting linknames here is a bad hack.
10790	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10791	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10792            cp "$export_symbols" "$output_objdir/$soname.def";
10793            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10794          else
10795            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10796          fi~
10797          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10798          linknames='
10799	# The linker will not automatically build a static lib if we build a DLL.
10800	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10801	enable_shared_with_static_runtimes=yes
10802	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10803	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10804	# Don't use ranlib
10805	old_postinstall_cmds='chmod 644 $oldlib'
10806	postlink_cmds='lt_outputfile="@OUTPUT@"~
10807          lt_tool_outputfile="@TOOL_OUTPUT@"~
10808          case $lt_outputfile in
10809            *.exe|*.EXE) ;;
10810            *)
10811              lt_outputfile=$lt_outputfile.exe
10812              lt_tool_outputfile=$lt_tool_outputfile.exe
10813              ;;
10814          esac~
10815          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10816            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10817            $RM "$lt_outputfile.manifest";
10818          fi'
10819	;;
10820      *)
10821	# Assume MSVC wrapper
10822	hardcode_libdir_flag_spec=' '
10823	allow_undefined_flag=unsupported
10824	# Tell ltmain to make .lib files, not .a files.
10825	libext=lib
10826	# Tell ltmain to make .dll files, not .so files.
10827	shrext_cmds=.dll
10828	# FIXME: Setting linknames here is a bad hack.
10829	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10830	# The linker will automatically build a .lib file if we build a DLL.
10831	old_archive_from_new_cmds='true'
10832	# FIXME: Should let the user specify the lib program.
10833	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10834	enable_shared_with_static_runtimes=yes
10835	;;
10836      esac
10837      ;;
10838
10839    darwin* | rhapsody*)
10840
10841
10842  archive_cmds_need_lc=no
10843  hardcode_direct=no
10844  hardcode_automatic=yes
10845  hardcode_shlibpath_var=unsupported
10846  if test yes = "$lt_cv_ld_force_load"; then
10847    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\"`'
10848
10849  else
10850    whole_archive_flag_spec=''
10851  fi
10852  link_all_deplibs=yes
10853  allow_undefined_flag=$_lt_dar_allow_undefined
10854  case $cc_basename in
10855     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10856     *) _lt_dar_can_shared=$GCC ;;
10857  esac
10858  if test yes = "$_lt_dar_can_shared"; then
10859    output_verbose_link_cmd=func_echo_all
10860    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10861    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10862    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"
10863    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"
10864
10865  else
10866  ld_shlibs=no
10867  fi
10868
10869      ;;
10870
10871    dgux*)
10872      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10873      hardcode_libdir_flag_spec='-L$libdir'
10874      hardcode_shlibpath_var=no
10875      ;;
10876
10877    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10878    # support.  Future versions do this automatically, but an explicit c++rt0.o
10879    # does not break anything, and helps significantly (at the cost of a little
10880    # extra space).
10881    freebsd2.2*)
10882      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10883      hardcode_libdir_flag_spec='-R$libdir'
10884      hardcode_direct=yes
10885      hardcode_shlibpath_var=no
10886      ;;
10887
10888    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10889    freebsd2.*)
10890      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10891      hardcode_direct=yes
10892      hardcode_minus_L=yes
10893      hardcode_shlibpath_var=no
10894      ;;
10895
10896    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10897    freebsd* | dragonfly*)
10898      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10899      hardcode_libdir_flag_spec='-R$libdir'
10900      hardcode_direct=yes
10901      hardcode_shlibpath_var=no
10902      ;;
10903
10904    hpux9*)
10905      if test yes = "$GCC"; then
10906	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'
10907      else
10908	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'
10909      fi
10910      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10911      hardcode_libdir_separator=:
10912      hardcode_direct=yes
10913
10914      # hardcode_minus_L: Not really in the search PATH,
10915      # but as the default location of the library.
10916      hardcode_minus_L=yes
10917      export_dynamic_flag_spec='$wl-E'
10918      ;;
10919
10920    hpux10*)
10921      if test yes,no = "$GCC,$with_gnu_ld"; then
10922	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10923      else
10924	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10925      fi
10926      if test no = "$with_gnu_ld"; then
10927	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10928	hardcode_libdir_separator=:
10929	hardcode_direct=yes
10930	hardcode_direct_absolute=yes
10931	export_dynamic_flag_spec='$wl-E'
10932	# hardcode_minus_L: Not really in the search PATH,
10933	# but as the default location of the library.
10934	hardcode_minus_L=yes
10935      fi
10936      ;;
10937
10938    hpux11*)
10939      if test yes,no = "$GCC,$with_gnu_ld"; then
10940	case $host_cpu in
10941	hppa*64*)
10942	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10943	  ;;
10944	ia64*)
10945	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10946	  ;;
10947	*)
10948	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10949	  ;;
10950	esac
10951      else
10952	case $host_cpu in
10953	hppa*64*)
10954	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10955	  ;;
10956	ia64*)
10957	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10958	  ;;
10959	*)
10960
10961	  # Older versions of the 11.00 compiler do not understand -b yet
10962	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10963	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10964$as_echo_n "checking if $CC understands -b... " >&6; }
10965if ${lt_cv_prog_compiler__b+:} false; then :
10966  $as_echo_n "(cached) " >&6
10967else
10968  lt_cv_prog_compiler__b=no
10969   save_LDFLAGS=$LDFLAGS
10970   LDFLAGS="$LDFLAGS -b"
10971   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10972   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10973     # The linker can only warn and ignore the option if not recognized
10974     # So say no if there are warnings
10975     if test -s conftest.err; then
10976       # Append any errors to the config.log.
10977       cat conftest.err 1>&5
10978       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10979       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10980       if diff conftest.exp conftest.er2 >/dev/null; then
10981         lt_cv_prog_compiler__b=yes
10982       fi
10983     else
10984       lt_cv_prog_compiler__b=yes
10985     fi
10986   fi
10987   $RM -r conftest*
10988   LDFLAGS=$save_LDFLAGS
10989
10990fi
10991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10992$as_echo "$lt_cv_prog_compiler__b" >&6; }
10993
10994if test yes = "$lt_cv_prog_compiler__b"; then
10995    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10996else
10997    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10998fi
10999
11000	  ;;
11001	esac
11002      fi
11003      if test no = "$with_gnu_ld"; then
11004	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11005	hardcode_libdir_separator=:
11006
11007	case $host_cpu in
11008	hppa*64*|ia64*)
11009	  hardcode_direct=no
11010	  hardcode_shlibpath_var=no
11011	  ;;
11012	*)
11013	  hardcode_direct=yes
11014	  hardcode_direct_absolute=yes
11015	  export_dynamic_flag_spec='$wl-E'
11016
11017	  # hardcode_minus_L: Not really in the search PATH,
11018	  # but as the default location of the library.
11019	  hardcode_minus_L=yes
11020	  ;;
11021	esac
11022      fi
11023      ;;
11024
11025    irix5* | irix6* | nonstopux*)
11026      if test yes = "$GCC"; then
11027	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'
11028	# Try to use the -exported_symbol ld option, if it does not
11029	# work, assume that -exports_file does not work either and
11030	# implicitly export all symbols.
11031	# This should be the same for all languages, so no per-tag cache variable.
11032	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11033$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11034if ${lt_cv_irix_exported_symbol+:} false; then :
11035  $as_echo_n "(cached) " >&6
11036else
11037  save_LDFLAGS=$LDFLAGS
11038	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11039	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040/* end confdefs.h.  */
11041int foo (void) { return 0; }
11042_ACEOF
11043if ac_fn_c_try_link "$LINENO"; then :
11044  lt_cv_irix_exported_symbol=yes
11045else
11046  lt_cv_irix_exported_symbol=no
11047fi
11048rm -f core conftest.err conftest.$ac_objext \
11049    conftest$ac_exeext conftest.$ac_ext
11050           LDFLAGS=$save_LDFLAGS
11051fi
11052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11053$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11054	if test yes = "$lt_cv_irix_exported_symbol"; then
11055          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'
11056	fi
11057	link_all_deplibs=no
11058      else
11059	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'
11060	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'
11061      fi
11062      archive_cmds_need_lc='no'
11063      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11064      hardcode_libdir_separator=:
11065      inherit_rpath=yes
11066      link_all_deplibs=yes
11067      ;;
11068
11069    linux*)
11070      case $cc_basename in
11071      tcc*)
11072	# Fabrice Bellard et al's Tiny C Compiler
11073	ld_shlibs=yes
11074	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11075	;;
11076      esac
11077      ;;
11078
11079    netbsd* | netbsdelf*-gnu)
11080      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11081	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11082      else
11083	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11084      fi
11085      hardcode_libdir_flag_spec='-R$libdir'
11086      hardcode_direct=yes
11087      hardcode_shlibpath_var=no
11088      ;;
11089
11090    newsos6)
11091      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11092      hardcode_direct=yes
11093      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11094      hardcode_libdir_separator=:
11095      hardcode_shlibpath_var=no
11096      ;;
11097
11098    *nto* | *qnx*)
11099      ;;
11100
11101    openbsd* | bitrig*)
11102      if test -f /usr/libexec/ld.so; then
11103	hardcode_direct=yes
11104	hardcode_shlibpath_var=no
11105	hardcode_direct_absolute=yes
11106	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11107	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11108	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11109	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11110	  export_dynamic_flag_spec='$wl-E'
11111	else
11112	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11113	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11114	fi
11115      else
11116	ld_shlibs=no
11117      fi
11118      ;;
11119
11120    os2*)
11121      hardcode_libdir_flag_spec='-L$libdir'
11122      hardcode_minus_L=yes
11123      allow_undefined_flag=unsupported
11124      shrext_cmds=.dll
11125      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11126	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11127	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11128	$ECHO EXPORTS >> $output_objdir/$libname.def~
11129	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11130	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11131	emximp -o $lib $output_objdir/$libname.def'
11132      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11133	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11134	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11135	$ECHO EXPORTS >> $output_objdir/$libname.def~
11136	prefix_cmds="$SED"~
11137	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11138	  prefix_cmds="$prefix_cmds -e 1d";
11139	fi~
11140	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11141	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11142	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11143	emximp -o $lib $output_objdir/$libname.def'
11144      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11145      enable_shared_with_static_runtimes=yes
11146      ;;
11147
11148    osf3*)
11149      if test yes = "$GCC"; then
11150	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11151	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'
11152      else
11153	allow_undefined_flag=' -expect_unresolved \*'
11154	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'
11155      fi
11156      archive_cmds_need_lc='no'
11157      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11158      hardcode_libdir_separator=:
11159      ;;
11160
11161    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11162      if test yes = "$GCC"; then
11163	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11164	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'
11165	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11166      else
11167	allow_undefined_flag=' -expect_unresolved \*'
11168	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'
11169	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~
11170          $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'
11171
11172	# Both c and cxx compiler support -rpath directly
11173	hardcode_libdir_flag_spec='-rpath $libdir'
11174      fi
11175      archive_cmds_need_lc='no'
11176      hardcode_libdir_separator=:
11177      ;;
11178
11179    solaris*)
11180      no_undefined_flag=' -z defs'
11181      if test yes = "$GCC"; then
11182	wlarc='$wl'
11183	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11184	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11185          $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'
11186      else
11187	case `$CC -V 2>&1` in
11188	*"Compilers 5.0"*)
11189	  wlarc=''
11190	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11191	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11192            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11193	  ;;
11194	*)
11195	  wlarc='$wl'
11196	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11197	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11198            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11199	  ;;
11200	esac
11201      fi
11202      hardcode_libdir_flag_spec='-R$libdir'
11203      hardcode_shlibpath_var=no
11204      case $host_os in
11205      solaris2.[0-5] | solaris2.[0-5].*) ;;
11206      *)
11207	# The compiler driver will combine and reorder linker options,
11208	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11209	# but is careful enough not to reorder.
11210	# Supported since Solaris 2.6 (maybe 2.5.1?)
11211	if test yes = "$GCC"; then
11212	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11213	else
11214	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11215	fi
11216	;;
11217      esac
11218      link_all_deplibs=yes
11219      ;;
11220
11221    sunos4*)
11222      if test sequent = "$host_vendor"; then
11223	# Use $CC to link under sequent, because it throws in some extra .o
11224	# files that make .init and .fini sections work.
11225	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11226      else
11227	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11228      fi
11229      hardcode_libdir_flag_spec='-L$libdir'
11230      hardcode_direct=yes
11231      hardcode_minus_L=yes
11232      hardcode_shlibpath_var=no
11233      ;;
11234
11235    sysv4)
11236      case $host_vendor in
11237	sni)
11238	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239	  hardcode_direct=yes # is this really true???
11240	;;
11241	siemens)
11242	  ## LD is ld it makes a PLAMLIB
11243	  ## CC just makes a GrossModule.
11244	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11245	  reload_cmds='$CC -r -o $output$reload_objs'
11246	  hardcode_direct=no
11247        ;;
11248	motorola)
11249	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11250	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11251	;;
11252      esac
11253      runpath_var='LD_RUN_PATH'
11254      hardcode_shlibpath_var=no
11255      ;;
11256
11257    sysv4.3*)
11258      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259      hardcode_shlibpath_var=no
11260      export_dynamic_flag_spec='-Bexport'
11261      ;;
11262
11263    sysv4*MP*)
11264      if test -d /usr/nec; then
11265	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11266	hardcode_shlibpath_var=no
11267	runpath_var=LD_RUN_PATH
11268	hardcode_runpath_var=yes
11269	ld_shlibs=yes
11270      fi
11271      ;;
11272
11273    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11274      no_undefined_flag='$wl-z,text'
11275      archive_cmds_need_lc=no
11276      hardcode_shlibpath_var=no
11277      runpath_var='LD_RUN_PATH'
11278
11279      if test yes = "$GCC"; then
11280	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11281	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11282      else
11283	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11284	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11285      fi
11286      ;;
11287
11288    sysv5* | sco3.2v5* | sco5v6*)
11289      # Note: We CANNOT use -z defs as we might desire, because we do not
11290      # link with -lc, and that would cause any symbols used from libc to
11291      # always be unresolved, which means just about no library would
11292      # ever link correctly.  If we're not using GNU ld we use -z text
11293      # though, which does catch some bad symbols but isn't as heavy-handed
11294      # as -z defs.
11295      no_undefined_flag='$wl-z,text'
11296      allow_undefined_flag='$wl-z,nodefs'
11297      archive_cmds_need_lc=no
11298      hardcode_shlibpath_var=no
11299      hardcode_libdir_flag_spec='$wl-R,$libdir'
11300      hardcode_libdir_separator=':'
11301      link_all_deplibs=yes
11302      export_dynamic_flag_spec='$wl-Bexport'
11303      runpath_var='LD_RUN_PATH'
11304
11305      if test yes = "$GCC"; then
11306	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308      else
11309	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11310	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11311      fi
11312      ;;
11313
11314    uts4*)
11315      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11316      hardcode_libdir_flag_spec='-L$libdir'
11317      hardcode_shlibpath_var=no
11318      ;;
11319
11320    *)
11321      ld_shlibs=no
11322      ;;
11323    esac
11324
11325    if test sni = "$host_vendor"; then
11326      case $host in
11327      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11328	export_dynamic_flag_spec='$wl-Blargedynsym'
11329	;;
11330      esac
11331    fi
11332  fi
11333
11334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11335$as_echo "$ld_shlibs" >&6; }
11336test no = "$ld_shlibs" && can_build_shared=no
11337
11338with_gnu_ld=$with_gnu_ld
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354#
11355# Do we need to explicitly link libc?
11356#
11357case "x$archive_cmds_need_lc" in
11358x|xyes)
11359  # Assume -lc should be added
11360  archive_cmds_need_lc=yes
11361
11362  if test yes,yes = "$GCC,$enable_shared"; then
11363    case $archive_cmds in
11364    *'~'*)
11365      # FIXME: we may have to deal with multi-command sequences.
11366      ;;
11367    '$CC '*)
11368      # Test whether the compiler implicitly links with -lc since on some
11369      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11370      # to ld, don't add -lc before -lgcc.
11371      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11372$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11373if ${lt_cv_archive_cmds_need_lc+:} false; then :
11374  $as_echo_n "(cached) " >&6
11375else
11376  $RM conftest*
11377	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11378
11379	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11380  (eval $ac_compile) 2>&5
11381  ac_status=$?
11382  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11383  test $ac_status = 0; } 2>conftest.err; then
11384	  soname=conftest
11385	  lib=conftest
11386	  libobjs=conftest.$ac_objext
11387	  deplibs=
11388	  wl=$lt_prog_compiler_wl
11389	  pic_flag=$lt_prog_compiler_pic
11390	  compiler_flags=-v
11391	  linker_flags=-v
11392	  verstring=
11393	  output_objdir=.
11394	  libname=conftest
11395	  lt_save_allow_undefined_flag=$allow_undefined_flag
11396	  allow_undefined_flag=
11397	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11398  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11399  ac_status=$?
11400  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11401  test $ac_status = 0; }
11402	  then
11403	    lt_cv_archive_cmds_need_lc=no
11404	  else
11405	    lt_cv_archive_cmds_need_lc=yes
11406	  fi
11407	  allow_undefined_flag=$lt_save_allow_undefined_flag
11408	else
11409	  cat conftest.err 1>&5
11410	fi
11411	$RM conftest*
11412
11413fi
11414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11415$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11416      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11417      ;;
11418    esac
11419  fi
11420  ;;
11421esac
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
11571
11572
11573
11574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11575$as_echo_n "checking dynamic linker characteristics... " >&6; }
11576
11577if test yes = "$GCC"; then
11578  case $host_os in
11579    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11580    *) lt_awk_arg='/^libraries:/' ;;
11581  esac
11582  case $host_os in
11583    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11584    *) lt_sed_strip_eq='s|=/|/|g' ;;
11585  esac
11586  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11587  case $lt_search_path_spec in
11588  *\;*)
11589    # if the path contains ";" then we assume it to be the separator
11590    # otherwise default to the standard path separator (i.e. ":") - it is
11591    # assumed that no part of a normal pathname contains ";" but that should
11592    # okay in the real world where ";" in dirpaths is itself problematic.
11593    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11594    ;;
11595  *)
11596    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11597    ;;
11598  esac
11599  # Ok, now we have the path, separated by spaces, we can step through it
11600  # and add multilib dir if necessary...
11601  lt_tmp_lt_search_path_spec=
11602  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11603  # ...but if some path component already ends with the multilib dir we assume
11604  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11605  case "$lt_multi_os_dir; $lt_search_path_spec " in
11606  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11607    lt_multi_os_dir=
11608    ;;
11609  esac
11610  for lt_sys_path in $lt_search_path_spec; do
11611    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11612      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11613    elif test -n "$lt_multi_os_dir"; then
11614      test -d "$lt_sys_path" && \
11615	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11616    fi
11617  done
11618  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11619BEGIN {RS = " "; FS = "/|\n";} {
11620  lt_foo = "";
11621  lt_count = 0;
11622  for (lt_i = NF; lt_i > 0; lt_i--) {
11623    if ($lt_i != "" && $lt_i != ".") {
11624      if ($lt_i == "..") {
11625        lt_count++;
11626      } else {
11627        if (lt_count == 0) {
11628          lt_foo = "/" $lt_i lt_foo;
11629        } else {
11630          lt_count--;
11631        }
11632      }
11633    }
11634  }
11635  if (lt_foo != "") { lt_freq[lt_foo]++; }
11636  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11637}'`
11638  # AWK program above erroneously prepends '/' to C:/dos/paths
11639  # for these hosts.
11640  case $host_os in
11641    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11642      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11643  esac
11644  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11645else
11646  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11647fi
11648library_names_spec=
11649libname_spec='lib$name'
11650soname_spec=
11651shrext_cmds=.so
11652postinstall_cmds=
11653postuninstall_cmds=
11654finish_cmds=
11655finish_eval=
11656shlibpath_var=
11657shlibpath_overrides_runpath=unknown
11658version_type=none
11659dynamic_linker="$host_os ld.so"
11660sys_lib_dlsearch_path_spec="/lib /usr/lib"
11661need_lib_prefix=unknown
11662hardcode_into_libs=no
11663
11664# when you set need_version to no, make sure it does not cause -set_version
11665# flags to be left without arguments
11666need_version=unknown
11667
11668
11669
11670case $host_os in
11671aix3*)
11672  version_type=linux # correct to gnu/linux during the next big refactor
11673  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11674  shlibpath_var=LIBPATH
11675
11676  # AIX 3 has no versioning support, so we append a major version to the name.
11677  soname_spec='$libname$release$shared_ext$major'
11678  ;;
11679
11680aix[4-9]*)
11681  version_type=linux # correct to gnu/linux during the next big refactor
11682  need_lib_prefix=no
11683  need_version=no
11684  hardcode_into_libs=yes
11685  if test ia64 = "$host_cpu"; then
11686    # AIX 5 supports IA64
11687    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11688    shlibpath_var=LD_LIBRARY_PATH
11689  else
11690    # With GCC up to 2.95.x, collect2 would create an import file
11691    # for dependence libraries.  The import file would start with
11692    # the line '#! .'.  This would cause the generated library to
11693    # depend on '.', always an invalid library.  This was fixed in
11694    # development snapshots of GCC prior to 3.0.
11695    case $host_os in
11696      aix4 | aix4.[01] | aix4.[01].*)
11697      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11698	   echo ' yes '
11699	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11700	:
11701      else
11702	can_build_shared=no
11703      fi
11704      ;;
11705    esac
11706    # Using Import Files as archive members, it is possible to support
11707    # filename-based versioning of shared library archives on AIX. While
11708    # this would work for both with and without runtime linking, it will
11709    # prevent static linking of such archives. So we do filename-based
11710    # shared library versioning with .so extension only, which is used
11711    # when both runtime linking and shared linking is enabled.
11712    # Unfortunately, runtime linking may impact performance, so we do
11713    # not want this to be the default eventually. Also, we use the
11714    # versioned .so libs for executables only if there is the -brtl
11715    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11716    # To allow for filename-based versioning support, we need to create
11717    # libNAME.so.V as an archive file, containing:
11718    # *) an Import File, referring to the versioned filename of the
11719    #    archive as well as the shared archive member, telling the
11720    #    bitwidth (32 or 64) of that shared object, and providing the
11721    #    list of exported symbols of that shared object, eventually
11722    #    decorated with the 'weak' keyword
11723    # *) the shared object with the F_LOADONLY flag set, to really avoid
11724    #    it being seen by the linker.
11725    # At run time we better use the real file rather than another symlink,
11726    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11727
11728    case $with_aix_soname,$aix_use_runtimelinking in
11729    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11730    # soname into executable. Probably we can add versioning support to
11731    # collect2, so additional links can be useful in future.
11732    aix,yes) # traditional libtool
11733      dynamic_linker='AIX unversionable lib.so'
11734      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11735      # instead of lib<name>.a to let people know that these are not
11736      # typical AIX shared libraries.
11737      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11738      ;;
11739    aix,no) # traditional AIX only
11740      dynamic_linker='AIX lib.a(lib.so.V)'
11741      # We preserve .a as extension for shared libraries through AIX4.2
11742      # and later when we are not doing run time linking.
11743      library_names_spec='$libname$release.a $libname.a'
11744      soname_spec='$libname$release$shared_ext$major'
11745      ;;
11746    svr4,*) # full svr4 only
11747      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11748      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11749      # We do not specify a path in Import Files, so LIBPATH fires.
11750      shlibpath_overrides_runpath=yes
11751      ;;
11752    *,yes) # both, prefer svr4
11753      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11754      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11755      # unpreferred sharedlib libNAME.a needs extra handling
11756      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"'
11757      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"'
11758      # We do not specify a path in Import Files, so LIBPATH fires.
11759      shlibpath_overrides_runpath=yes
11760      ;;
11761    *,no) # both, prefer aix
11762      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11763      library_names_spec='$libname$release.a $libname.a'
11764      soname_spec='$libname$release$shared_ext$major'
11765      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11766      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)'
11767      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"'
11768      ;;
11769    esac
11770    shlibpath_var=LIBPATH
11771  fi
11772  ;;
11773
11774amigaos*)
11775  case $host_cpu in
11776  powerpc)
11777    # Since July 2007 AmigaOS4 officially supports .so libraries.
11778    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11779    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780    ;;
11781  m68k)
11782    library_names_spec='$libname.ixlibrary $libname.a'
11783    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11784    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'
11785    ;;
11786  esac
11787  ;;
11788
11789beos*)
11790  library_names_spec='$libname$shared_ext'
11791  dynamic_linker="$host_os ld.so"
11792  shlibpath_var=LIBRARY_PATH
11793  ;;
11794
11795bsdi[45]*)
11796  version_type=linux # correct to gnu/linux during the next big refactor
11797  need_version=no
11798  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11799  soname_spec='$libname$release$shared_ext$major'
11800  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11801  shlibpath_var=LD_LIBRARY_PATH
11802  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11803  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11804  # the default ld.so.conf also contains /usr/contrib/lib and
11805  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11806  # libtool to hard-code these into programs
11807  ;;
11808
11809cygwin* | mingw* | pw32* | cegcc*)
11810  version_type=windows
11811  shrext_cmds=.dll
11812  need_version=no
11813  need_lib_prefix=no
11814
11815  case $GCC,$cc_basename in
11816  yes,*)
11817    # gcc
11818    library_names_spec='$libname.dll.a'
11819    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11820    postinstall_cmds='base_file=`basename \$file`~
11821      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11822      dldir=$destdir/`dirname \$dlpath`~
11823      test -d \$dldir || mkdir -p \$dldir~
11824      $install_prog $dir/$dlname \$dldir/$dlname~
11825      chmod a+x \$dldir/$dlname~
11826      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11827        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11828      fi'
11829    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11830      dlpath=$dir/\$dldll~
11831       $RM \$dlpath'
11832    shlibpath_overrides_runpath=yes
11833
11834    case $host_os in
11835    cygwin*)
11836      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11837      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11838
11839      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11840      ;;
11841    mingw* | cegcc*)
11842      # MinGW DLLs use traditional 'lib' prefix
11843      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11844      ;;
11845    pw32*)
11846      # pw32 DLLs use 'pw' prefix rather than 'lib'
11847      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11848      ;;
11849    esac
11850    dynamic_linker='Win32 ld.exe'
11851    ;;
11852
11853  *,cl*)
11854    # Native MSVC
11855    libname_spec='$name'
11856    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11857    library_names_spec='$libname.dll.lib'
11858
11859    case $build_os in
11860    mingw*)
11861      sys_lib_search_path_spec=
11862      lt_save_ifs=$IFS
11863      IFS=';'
11864      for lt_path in $LIB
11865      do
11866        IFS=$lt_save_ifs
11867        # Let DOS variable expansion print the short 8.3 style file name.
11868        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11869        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11870      done
11871      IFS=$lt_save_ifs
11872      # Convert to MSYS style.
11873      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11874      ;;
11875    cygwin*)
11876      # Convert to unix form, then to dos form, then back to unix form
11877      # but this time dos style (no spaces!) so that the unix form looks
11878      # like /cygdrive/c/PROGRA~1:/cygdr...
11879      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11880      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11881      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11882      ;;
11883    *)
11884      sys_lib_search_path_spec=$LIB
11885      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11886        # It is most probably a Windows format PATH.
11887        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11888      else
11889        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11890      fi
11891      # FIXME: find the short name or the path components, as spaces are
11892      # common. (e.g. "Program Files" -> "PROGRA~1")
11893      ;;
11894    esac
11895
11896    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11897    postinstall_cmds='base_file=`basename \$file`~
11898      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11899      dldir=$destdir/`dirname \$dlpath`~
11900      test -d \$dldir || mkdir -p \$dldir~
11901      $install_prog $dir/$dlname \$dldir/$dlname'
11902    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11903      dlpath=$dir/\$dldll~
11904       $RM \$dlpath'
11905    shlibpath_overrides_runpath=yes
11906    dynamic_linker='Win32 link.exe'
11907    ;;
11908
11909  *)
11910    # Assume MSVC wrapper
11911    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11912    dynamic_linker='Win32 ld.exe'
11913    ;;
11914  esac
11915  # FIXME: first we should search . and the directory the executable is in
11916  shlibpath_var=PATH
11917  ;;
11918
11919darwin* | rhapsody*)
11920  dynamic_linker="$host_os dyld"
11921  version_type=darwin
11922  need_lib_prefix=no
11923  need_version=no
11924  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11925  soname_spec='$libname$release$major$shared_ext'
11926  shlibpath_overrides_runpath=yes
11927  shlibpath_var=DYLD_LIBRARY_PATH
11928  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11929
11930  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11931  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11932  ;;
11933
11934dgux*)
11935  version_type=linux # correct to gnu/linux during the next big refactor
11936  need_lib_prefix=no
11937  need_version=no
11938  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11939  soname_spec='$libname$release$shared_ext$major'
11940  shlibpath_var=LD_LIBRARY_PATH
11941  ;;
11942
11943freebsd* | dragonfly*)
11944  # DragonFly does not have aout.  When/if they implement a new
11945  # versioning mechanism, adjust this.
11946  if test -x /usr/bin/objformat; then
11947    objformat=`/usr/bin/objformat`
11948  else
11949    case $host_os in
11950    freebsd[23].*) objformat=aout ;;
11951    *) objformat=elf ;;
11952    esac
11953  fi
11954  version_type=freebsd-$objformat
11955  case $version_type in
11956    freebsd-elf*)
11957      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11958      soname_spec='$libname$release$shared_ext$major'
11959      need_version=no
11960      need_lib_prefix=no
11961      ;;
11962    freebsd-*)
11963      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11964      need_version=yes
11965      ;;
11966  esac
11967  shlibpath_var=LD_LIBRARY_PATH
11968  case $host_os in
11969  freebsd2.*)
11970    shlibpath_overrides_runpath=yes
11971    ;;
11972  freebsd3.[01]* | freebsdelf3.[01]*)
11973    shlibpath_overrides_runpath=yes
11974    hardcode_into_libs=yes
11975    ;;
11976  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11977  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11978    shlibpath_overrides_runpath=no
11979    hardcode_into_libs=yes
11980    ;;
11981  *) # from 4.6 on, and DragonFly
11982    shlibpath_overrides_runpath=yes
11983    hardcode_into_libs=yes
11984    ;;
11985  esac
11986  ;;
11987
11988haiku*)
11989  version_type=linux # correct to gnu/linux during the next big refactor
11990  need_lib_prefix=no
11991  need_version=no
11992  dynamic_linker="$host_os runtime_loader"
11993  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11994  soname_spec='$libname$release$shared_ext$major'
11995  shlibpath_var=LIBRARY_PATH
11996  shlibpath_overrides_runpath=no
11997  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11998  hardcode_into_libs=yes
11999  ;;
12000
12001hpux9* | hpux10* | hpux11*)
12002  # Give a soname corresponding to the major version so that dld.sl refuses to
12003  # link against other versions.
12004  version_type=sunos
12005  need_lib_prefix=no
12006  need_version=no
12007  case $host_cpu in
12008  ia64*)
12009    shrext_cmds='.so'
12010    hardcode_into_libs=yes
12011    dynamic_linker="$host_os dld.so"
12012    shlibpath_var=LD_LIBRARY_PATH
12013    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12014    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12015    soname_spec='$libname$release$shared_ext$major'
12016    if test 32 = "$HPUX_IA64_MODE"; then
12017      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12018      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12019    else
12020      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12021      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12022    fi
12023    ;;
12024  hppa*64*)
12025    shrext_cmds='.sl'
12026    hardcode_into_libs=yes
12027    dynamic_linker="$host_os dld.sl"
12028    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12029    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12030    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12031    soname_spec='$libname$release$shared_ext$major'
12032    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12033    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12034    ;;
12035  *)
12036    shrext_cmds='.sl'
12037    dynamic_linker="$host_os dld.sl"
12038    shlibpath_var=SHLIB_PATH
12039    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12040    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12041    soname_spec='$libname$release$shared_ext$major'
12042    ;;
12043  esac
12044  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12045  postinstall_cmds='chmod 555 $lib'
12046  # or fails outright, so override atomically:
12047  install_override_mode=555
12048  ;;
12049
12050interix[3-9]*)
12051  version_type=linux # correct to gnu/linux during the next big refactor
12052  need_lib_prefix=no
12053  need_version=no
12054  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12055  soname_spec='$libname$release$shared_ext$major'
12056  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12057  shlibpath_var=LD_LIBRARY_PATH
12058  shlibpath_overrides_runpath=no
12059  hardcode_into_libs=yes
12060  ;;
12061
12062irix5* | irix6* | nonstopux*)
12063  case $host_os in
12064    nonstopux*) version_type=nonstopux ;;
12065    *)
12066	if test yes = "$lt_cv_prog_gnu_ld"; then
12067		version_type=linux # correct to gnu/linux during the next big refactor
12068	else
12069		version_type=irix
12070	fi ;;
12071  esac
12072  need_lib_prefix=no
12073  need_version=no
12074  soname_spec='$libname$release$shared_ext$major'
12075  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12076  case $host_os in
12077  irix5* | nonstopux*)
12078    libsuff= shlibsuff=
12079    ;;
12080  *)
12081    case $LD in # libtool.m4 will add one of these switches to LD
12082    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12083      libsuff= shlibsuff= libmagic=32-bit;;
12084    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12085      libsuff=32 shlibsuff=N32 libmagic=N32;;
12086    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12087      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12088    *) libsuff= shlibsuff= libmagic=never-match;;
12089    esac
12090    ;;
12091  esac
12092  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12093  shlibpath_overrides_runpath=no
12094  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12095  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12096  hardcode_into_libs=yes
12097  ;;
12098
12099# No shared lib support for Linux oldld, aout, or coff.
12100linux*oldld* | linux*aout* | linux*coff*)
12101  dynamic_linker=no
12102  ;;
12103
12104linux*android*)
12105  version_type=none # Android doesn't support versioned libraries.
12106  need_lib_prefix=no
12107  need_version=no
12108  library_names_spec='$libname$release$shared_ext'
12109  soname_spec='$libname$release$shared_ext'
12110  finish_cmds=
12111  shlibpath_var=LD_LIBRARY_PATH
12112  shlibpath_overrides_runpath=yes
12113
12114  # This implies no fast_install, which is unacceptable.
12115  # Some rework will be needed to allow for fast_install
12116  # before this can be enabled.
12117  hardcode_into_libs=yes
12118
12119  dynamic_linker='Android linker'
12120  # Don't embed -rpath directories since the linker doesn't support them.
12121  hardcode_libdir_flag_spec='-L$libdir'
12122  ;;
12123
12124# This must be glibc/ELF.
12125linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12126  version_type=linux # correct to gnu/linux during the next big refactor
12127  need_lib_prefix=no
12128  need_version=no
12129  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12130  soname_spec='$libname$release$shared_ext$major'
12131  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12132  shlibpath_var=LD_LIBRARY_PATH
12133  shlibpath_overrides_runpath=no
12134
12135  # Some binutils ld are patched to set DT_RUNPATH
12136  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12137  $as_echo_n "(cached) " >&6
12138else
12139  lt_cv_shlibpath_overrides_runpath=no
12140    save_LDFLAGS=$LDFLAGS
12141    save_libdir=$libdir
12142    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12143	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12144    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145/* end confdefs.h.  */
12146
12147int
12148main ()
12149{
12150
12151  ;
12152  return 0;
12153}
12154_ACEOF
12155if ac_fn_c_try_link "$LINENO"; then :
12156  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12157  lt_cv_shlibpath_overrides_runpath=yes
12158fi
12159fi
12160rm -f core conftest.err conftest.$ac_objext \
12161    conftest$ac_exeext conftest.$ac_ext
12162    LDFLAGS=$save_LDFLAGS
12163    libdir=$save_libdir
12164
12165fi
12166
12167  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12168
12169  # This implies no fast_install, which is unacceptable.
12170  # Some rework will be needed to allow for fast_install
12171  # before this can be enabled.
12172  hardcode_into_libs=yes
12173
12174  # Ideally, we could use ldconfig to report *all* directores which are
12175  # searched for libraries, however this is still not possible.  Aside from not
12176  # being certain /sbin/ldconfig is available, command
12177  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12178  # even though it is searched at run-time.  Try to do the best guess by
12179  # appending ld.so.conf contents (and includes) to the search path.
12180  if test -f /etc/ld.so.conf; then
12181    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' ' '`
12182    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12183  fi
12184
12185  # We used to test for /lib/ld.so.1 and disable shared libraries on
12186  # powerpc, because MkLinux only supported shared libraries with the
12187  # GNU dynamic linker.  Since this was broken with cross compilers,
12188  # most powerpc-linux boxes support dynamic linking these days and
12189  # people can always --disable-shared, the test was removed, and we
12190  # assume the GNU/Linux dynamic linker is in use.
12191  dynamic_linker='GNU/Linux ld.so'
12192  ;;
12193
12194netbsdelf*-gnu)
12195  version_type=linux
12196  need_lib_prefix=no
12197  need_version=no
12198  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12199  soname_spec='${libname}${release}${shared_ext}$major'
12200  shlibpath_var=LD_LIBRARY_PATH
12201  shlibpath_overrides_runpath=no
12202  hardcode_into_libs=yes
12203  dynamic_linker='NetBSD ld.elf_so'
12204  ;;
12205
12206netbsd*)
12207  version_type=sunos
12208  need_lib_prefix=no
12209  need_version=no
12210  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12211    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12212    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12213    dynamic_linker='NetBSD (a.out) ld.so'
12214  else
12215    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216    soname_spec='$libname$release$shared_ext$major'
12217    dynamic_linker='NetBSD ld.elf_so'
12218  fi
12219  shlibpath_var=LD_LIBRARY_PATH
12220  shlibpath_overrides_runpath=yes
12221  hardcode_into_libs=yes
12222  ;;
12223
12224newsos6)
12225  version_type=linux # correct to gnu/linux during the next big refactor
12226  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12227  shlibpath_var=LD_LIBRARY_PATH
12228  shlibpath_overrides_runpath=yes
12229  ;;
12230
12231*nto* | *qnx*)
12232  version_type=qnx
12233  need_lib_prefix=no
12234  need_version=no
12235  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12236  soname_spec='$libname$release$shared_ext$major'
12237  shlibpath_var=LD_LIBRARY_PATH
12238  shlibpath_overrides_runpath=no
12239  hardcode_into_libs=yes
12240  dynamic_linker='ldqnx.so'
12241  ;;
12242
12243openbsd* | bitrig*)
12244  version_type=sunos
12245  sys_lib_dlsearch_path_spec=/usr/lib
12246  need_lib_prefix=no
12247  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12248    need_version=no
12249  else
12250    need_version=yes
12251  fi
12252  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12253  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12254  shlibpath_var=LD_LIBRARY_PATH
12255  shlibpath_overrides_runpath=yes
12256  ;;
12257
12258os2*)
12259  libname_spec='$name'
12260  version_type=windows
12261  shrext_cmds=.dll
12262  need_version=no
12263  need_lib_prefix=no
12264  # OS/2 can only load a DLL with a base name of 8 characters or less.
12265  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12266    v=$($ECHO $release$versuffix | tr -d .-);
12267    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12268    $ECHO $n$v`$shared_ext'
12269  library_names_spec='${libname}_dll.$libext'
12270  dynamic_linker='OS/2 ld.exe'
12271  shlibpath_var=BEGINLIBPATH
12272  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12273  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12274  postinstall_cmds='base_file=`basename \$file`~
12275    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12276    dldir=$destdir/`dirname \$dlpath`~
12277    test -d \$dldir || mkdir -p \$dldir~
12278    $install_prog $dir/$dlname \$dldir/$dlname~
12279    chmod a+x \$dldir/$dlname~
12280    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12281      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12282    fi'
12283  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12284    dlpath=$dir/\$dldll~
12285    $RM \$dlpath'
12286  ;;
12287
12288osf3* | osf4* | osf5*)
12289  version_type=osf
12290  need_lib_prefix=no
12291  need_version=no
12292  soname_spec='$libname$release$shared_ext$major'
12293  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12294  shlibpath_var=LD_LIBRARY_PATH
12295  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12296  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12297  ;;
12298
12299rdos*)
12300  dynamic_linker=no
12301  ;;
12302
12303solaris*)
12304  version_type=linux # correct to gnu/linux during the next big refactor
12305  need_lib_prefix=no
12306  need_version=no
12307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12308  soname_spec='$libname$release$shared_ext$major'
12309  shlibpath_var=LD_LIBRARY_PATH
12310  shlibpath_overrides_runpath=yes
12311  hardcode_into_libs=yes
12312  # ldd complains unless libraries are executable
12313  postinstall_cmds='chmod +x $lib'
12314  ;;
12315
12316sunos4*)
12317  version_type=sunos
12318  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12319  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12320  shlibpath_var=LD_LIBRARY_PATH
12321  shlibpath_overrides_runpath=yes
12322  if test yes = "$with_gnu_ld"; then
12323    need_lib_prefix=no
12324  fi
12325  need_version=yes
12326  ;;
12327
12328sysv4 | sysv4.3*)
12329  version_type=linux # correct to gnu/linux during the next big refactor
12330  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12331  soname_spec='$libname$release$shared_ext$major'
12332  shlibpath_var=LD_LIBRARY_PATH
12333  case $host_vendor in
12334    sni)
12335      shlibpath_overrides_runpath=no
12336      need_lib_prefix=no
12337      runpath_var=LD_RUN_PATH
12338      ;;
12339    siemens)
12340      need_lib_prefix=no
12341      ;;
12342    motorola)
12343      need_lib_prefix=no
12344      need_version=no
12345      shlibpath_overrides_runpath=no
12346      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12347      ;;
12348  esac
12349  ;;
12350
12351sysv4*MP*)
12352  if test -d /usr/nec; then
12353    version_type=linux # correct to gnu/linux during the next big refactor
12354    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12355    soname_spec='$libname$shared_ext.$major'
12356    shlibpath_var=LD_LIBRARY_PATH
12357  fi
12358  ;;
12359
12360sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12361  version_type=sco
12362  need_lib_prefix=no
12363  need_version=no
12364  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12365  soname_spec='$libname$release$shared_ext$major'
12366  shlibpath_var=LD_LIBRARY_PATH
12367  shlibpath_overrides_runpath=yes
12368  hardcode_into_libs=yes
12369  if test yes = "$with_gnu_ld"; then
12370    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12371  else
12372    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12373    case $host_os in
12374      sco3.2v5*)
12375        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12376	;;
12377    esac
12378  fi
12379  sys_lib_dlsearch_path_spec='/usr/lib'
12380  ;;
12381
12382tpf*)
12383  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12384  version_type=linux # correct to gnu/linux during the next big refactor
12385  need_lib_prefix=no
12386  need_version=no
12387  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12388  shlibpath_var=LD_LIBRARY_PATH
12389  shlibpath_overrides_runpath=no
12390  hardcode_into_libs=yes
12391  ;;
12392
12393uts4*)
12394  version_type=linux # correct to gnu/linux during the next big refactor
12395  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12396  soname_spec='$libname$release$shared_ext$major'
12397  shlibpath_var=LD_LIBRARY_PATH
12398  ;;
12399
12400*)
12401  dynamic_linker=no
12402  ;;
12403esac
12404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12405$as_echo "$dynamic_linker" >&6; }
12406test no = "$dynamic_linker" && can_build_shared=no
12407
12408variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12409if test yes = "$GCC"; then
12410  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12411fi
12412
12413if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12414  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12415fi
12416
12417if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12418  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12419fi
12420
12421# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12422configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12423
12424# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12425func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12426
12427# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12428configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
12523
12524
12525
12526  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12527$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12528hardcode_action=
12529if test -n "$hardcode_libdir_flag_spec" ||
12530   test -n "$runpath_var" ||
12531   test yes = "$hardcode_automatic"; then
12532
12533  # We can hardcode non-existent directories.
12534  if test no != "$hardcode_direct" &&
12535     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12536     # have to relink, otherwise we might link with an installed library
12537     # when we should be linking with a yet-to-be-installed one
12538     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12539     test no != "$hardcode_minus_L"; then
12540    # Linking always hardcodes the temporary library directory.
12541    hardcode_action=relink
12542  else
12543    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12544    hardcode_action=immediate
12545  fi
12546else
12547  # We cannot hardcode anything, or else we can only hardcode existing
12548  # directories.
12549  hardcode_action=unsupported
12550fi
12551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12552$as_echo "$hardcode_action" >&6; }
12553
12554if test relink = "$hardcode_action" ||
12555   test yes = "$inherit_rpath"; then
12556  # Fast installation is not supported
12557  enable_fast_install=no
12558elif test yes = "$shlibpath_overrides_runpath" ||
12559     test no = "$enable_shared"; then
12560  # Fast installation is not necessary
12561  enable_fast_install=needless
12562fi
12563
12564
12565
12566
12567
12568
12569  if test yes != "$enable_dlopen"; then
12570  enable_dlopen=unknown
12571  enable_dlopen_self=unknown
12572  enable_dlopen_self_static=unknown
12573else
12574  lt_cv_dlopen=no
12575  lt_cv_dlopen_libs=
12576
12577  case $host_os in
12578  beos*)
12579    lt_cv_dlopen=load_add_on
12580    lt_cv_dlopen_libs=
12581    lt_cv_dlopen_self=yes
12582    ;;
12583
12584  mingw* | pw32* | cegcc*)
12585    lt_cv_dlopen=LoadLibrary
12586    lt_cv_dlopen_libs=
12587    ;;
12588
12589  cygwin*)
12590    lt_cv_dlopen=dlopen
12591    lt_cv_dlopen_libs=
12592    ;;
12593
12594  darwin*)
12595    # if libdl is installed we need to link against it
12596    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12597$as_echo_n "checking for dlopen in -ldl... " >&6; }
12598if ${ac_cv_lib_dl_dlopen+:} false; then :
12599  $as_echo_n "(cached) " >&6
12600else
12601  ac_check_lib_save_LIBS=$LIBS
12602LIBS="-ldl  $LIBS"
12603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604/* end confdefs.h.  */
12605
12606/* Override any GCC internal prototype to avoid an error.
12607   Use char because int might match the return type of a GCC
12608   builtin and then its argument prototype would still apply.  */
12609#ifdef __cplusplus
12610extern "C"
12611#endif
12612char dlopen ();
12613int
12614main ()
12615{
12616return dlopen ();
12617  ;
12618  return 0;
12619}
12620_ACEOF
12621if ac_fn_c_try_link "$LINENO"; then :
12622  ac_cv_lib_dl_dlopen=yes
12623else
12624  ac_cv_lib_dl_dlopen=no
12625fi
12626rm -f core conftest.err conftest.$ac_objext \
12627    conftest$ac_exeext conftest.$ac_ext
12628LIBS=$ac_check_lib_save_LIBS
12629fi
12630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12631$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12632if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12633  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12634else
12635
12636    lt_cv_dlopen=dyld
12637    lt_cv_dlopen_libs=
12638    lt_cv_dlopen_self=yes
12639
12640fi
12641
12642    ;;
12643
12644  tpf*)
12645    # Don't try to run any link tests for TPF.  We know it's impossible
12646    # because TPF is a cross-compiler, and we know how we open DSOs.
12647    lt_cv_dlopen=dlopen
12648    lt_cv_dlopen_libs=
12649    lt_cv_dlopen_self=no
12650    ;;
12651
12652  *)
12653    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12654if test "x$ac_cv_func_shl_load" = xyes; then :
12655  lt_cv_dlopen=shl_load
12656else
12657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12658$as_echo_n "checking for shl_load in -ldld... " >&6; }
12659if ${ac_cv_lib_dld_shl_load+:} false; then :
12660  $as_echo_n "(cached) " >&6
12661else
12662  ac_check_lib_save_LIBS=$LIBS
12663LIBS="-ldld  $LIBS"
12664cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665/* end confdefs.h.  */
12666
12667/* Override any GCC internal prototype to avoid an error.
12668   Use char because int might match the return type of a GCC
12669   builtin and then its argument prototype would still apply.  */
12670#ifdef __cplusplus
12671extern "C"
12672#endif
12673char shl_load ();
12674int
12675main ()
12676{
12677return shl_load ();
12678  ;
12679  return 0;
12680}
12681_ACEOF
12682if ac_fn_c_try_link "$LINENO"; then :
12683  ac_cv_lib_dld_shl_load=yes
12684else
12685  ac_cv_lib_dld_shl_load=no
12686fi
12687rm -f core conftest.err conftest.$ac_objext \
12688    conftest$ac_exeext conftest.$ac_ext
12689LIBS=$ac_check_lib_save_LIBS
12690fi
12691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12692$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12693if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12694  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12695else
12696  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12697if test "x$ac_cv_func_dlopen" = xyes; then :
12698  lt_cv_dlopen=dlopen
12699else
12700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12701$as_echo_n "checking for dlopen in -ldl... " >&6; }
12702if ${ac_cv_lib_dl_dlopen+:} false; then :
12703  $as_echo_n "(cached) " >&6
12704else
12705  ac_check_lib_save_LIBS=$LIBS
12706LIBS="-ldl  $LIBS"
12707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708/* end confdefs.h.  */
12709
12710/* Override any GCC internal prototype to avoid an error.
12711   Use char because int might match the return type of a GCC
12712   builtin and then its argument prototype would still apply.  */
12713#ifdef __cplusplus
12714extern "C"
12715#endif
12716char dlopen ();
12717int
12718main ()
12719{
12720return dlopen ();
12721  ;
12722  return 0;
12723}
12724_ACEOF
12725if ac_fn_c_try_link "$LINENO"; then :
12726  ac_cv_lib_dl_dlopen=yes
12727else
12728  ac_cv_lib_dl_dlopen=no
12729fi
12730rm -f core conftest.err conftest.$ac_objext \
12731    conftest$ac_exeext conftest.$ac_ext
12732LIBS=$ac_check_lib_save_LIBS
12733fi
12734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12735$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12736if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12737  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12738else
12739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12740$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12741if ${ac_cv_lib_svld_dlopen+:} false; then :
12742  $as_echo_n "(cached) " >&6
12743else
12744  ac_check_lib_save_LIBS=$LIBS
12745LIBS="-lsvld  $LIBS"
12746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747/* end confdefs.h.  */
12748
12749/* Override any GCC internal prototype to avoid an error.
12750   Use char because int might match the return type of a GCC
12751   builtin and then its argument prototype would still apply.  */
12752#ifdef __cplusplus
12753extern "C"
12754#endif
12755char dlopen ();
12756int
12757main ()
12758{
12759return dlopen ();
12760  ;
12761  return 0;
12762}
12763_ACEOF
12764if ac_fn_c_try_link "$LINENO"; then :
12765  ac_cv_lib_svld_dlopen=yes
12766else
12767  ac_cv_lib_svld_dlopen=no
12768fi
12769rm -f core conftest.err conftest.$ac_objext \
12770    conftest$ac_exeext conftest.$ac_ext
12771LIBS=$ac_check_lib_save_LIBS
12772fi
12773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12774$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12775if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12776  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12777else
12778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12779$as_echo_n "checking for dld_link in -ldld... " >&6; }
12780if ${ac_cv_lib_dld_dld_link+:} false; then :
12781  $as_echo_n "(cached) " >&6
12782else
12783  ac_check_lib_save_LIBS=$LIBS
12784LIBS="-ldld  $LIBS"
12785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786/* end confdefs.h.  */
12787
12788/* Override any GCC internal prototype to avoid an error.
12789   Use char because int might match the return type of a GCC
12790   builtin and then its argument prototype would still apply.  */
12791#ifdef __cplusplus
12792extern "C"
12793#endif
12794char dld_link ();
12795int
12796main ()
12797{
12798return dld_link ();
12799  ;
12800  return 0;
12801}
12802_ACEOF
12803if ac_fn_c_try_link "$LINENO"; then :
12804  ac_cv_lib_dld_dld_link=yes
12805else
12806  ac_cv_lib_dld_dld_link=no
12807fi
12808rm -f core conftest.err conftest.$ac_objext \
12809    conftest$ac_exeext conftest.$ac_ext
12810LIBS=$ac_check_lib_save_LIBS
12811fi
12812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12813$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12814if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12815  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12816fi
12817
12818
12819fi
12820
12821
12822fi
12823
12824
12825fi
12826
12827
12828fi
12829
12830
12831fi
12832
12833    ;;
12834  esac
12835
12836  if test no = "$lt_cv_dlopen"; then
12837    enable_dlopen=no
12838  else
12839    enable_dlopen=yes
12840  fi
12841
12842  case $lt_cv_dlopen in
12843  dlopen)
12844    save_CPPFLAGS=$CPPFLAGS
12845    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12846
12847    save_LDFLAGS=$LDFLAGS
12848    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12849
12850    save_LIBS=$LIBS
12851    LIBS="$lt_cv_dlopen_libs $LIBS"
12852
12853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12854$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12855if ${lt_cv_dlopen_self+:} false; then :
12856  $as_echo_n "(cached) " >&6
12857else
12858  	  if test yes = "$cross_compiling"; then :
12859  lt_cv_dlopen_self=cross
12860else
12861  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12862  lt_status=$lt_dlunknown
12863  cat > conftest.$ac_ext <<_LT_EOF
12864#line $LINENO "configure"
12865#include "confdefs.h"
12866
12867#if HAVE_DLFCN_H
12868#include <dlfcn.h>
12869#endif
12870
12871#include <stdio.h>
12872
12873#ifdef RTLD_GLOBAL
12874#  define LT_DLGLOBAL		RTLD_GLOBAL
12875#else
12876#  ifdef DL_GLOBAL
12877#    define LT_DLGLOBAL		DL_GLOBAL
12878#  else
12879#    define LT_DLGLOBAL		0
12880#  endif
12881#endif
12882
12883/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12884   find out it does not work in some platform. */
12885#ifndef LT_DLLAZY_OR_NOW
12886#  ifdef RTLD_LAZY
12887#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12888#  else
12889#    ifdef DL_LAZY
12890#      define LT_DLLAZY_OR_NOW		DL_LAZY
12891#    else
12892#      ifdef RTLD_NOW
12893#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12894#      else
12895#        ifdef DL_NOW
12896#          define LT_DLLAZY_OR_NOW	DL_NOW
12897#        else
12898#          define LT_DLLAZY_OR_NOW	0
12899#        endif
12900#      endif
12901#    endif
12902#  endif
12903#endif
12904
12905/* When -fvisibility=hidden is used, assume the code has been annotated
12906   correspondingly for the symbols needed.  */
12907#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12908int fnord () __attribute__((visibility("default")));
12909#endif
12910
12911int fnord () { return 42; }
12912int main ()
12913{
12914  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12915  int status = $lt_dlunknown;
12916
12917  if (self)
12918    {
12919      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12920      else
12921        {
12922	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12923          else puts (dlerror ());
12924	}
12925      /* dlclose (self); */
12926    }
12927  else
12928    puts (dlerror ());
12929
12930  return status;
12931}
12932_LT_EOF
12933  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12934  (eval $ac_link) 2>&5
12935  ac_status=$?
12936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12937  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12938    (./conftest; exit; ) >&5 2>/dev/null
12939    lt_status=$?
12940    case x$lt_status in
12941      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12942      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12943      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12944    esac
12945  else :
12946    # compilation failed
12947    lt_cv_dlopen_self=no
12948  fi
12949fi
12950rm -fr conftest*
12951
12952
12953fi
12954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12955$as_echo "$lt_cv_dlopen_self" >&6; }
12956
12957    if test yes = "$lt_cv_dlopen_self"; then
12958      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12959      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12960$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12961if ${lt_cv_dlopen_self_static+:} false; then :
12962  $as_echo_n "(cached) " >&6
12963else
12964  	  if test yes = "$cross_compiling"; then :
12965  lt_cv_dlopen_self_static=cross
12966else
12967  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12968  lt_status=$lt_dlunknown
12969  cat > conftest.$ac_ext <<_LT_EOF
12970#line $LINENO "configure"
12971#include "confdefs.h"
12972
12973#if HAVE_DLFCN_H
12974#include <dlfcn.h>
12975#endif
12976
12977#include <stdio.h>
12978
12979#ifdef RTLD_GLOBAL
12980#  define LT_DLGLOBAL		RTLD_GLOBAL
12981#else
12982#  ifdef DL_GLOBAL
12983#    define LT_DLGLOBAL		DL_GLOBAL
12984#  else
12985#    define LT_DLGLOBAL		0
12986#  endif
12987#endif
12988
12989/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12990   find out it does not work in some platform. */
12991#ifndef LT_DLLAZY_OR_NOW
12992#  ifdef RTLD_LAZY
12993#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12994#  else
12995#    ifdef DL_LAZY
12996#      define LT_DLLAZY_OR_NOW		DL_LAZY
12997#    else
12998#      ifdef RTLD_NOW
12999#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13000#      else
13001#        ifdef DL_NOW
13002#          define LT_DLLAZY_OR_NOW	DL_NOW
13003#        else
13004#          define LT_DLLAZY_OR_NOW	0
13005#        endif
13006#      endif
13007#    endif
13008#  endif
13009#endif
13010
13011/* When -fvisibility=hidden is used, assume the code has been annotated
13012   correspondingly for the symbols needed.  */
13013#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13014int fnord () __attribute__((visibility("default")));
13015#endif
13016
13017int fnord () { return 42; }
13018int main ()
13019{
13020  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13021  int status = $lt_dlunknown;
13022
13023  if (self)
13024    {
13025      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13026      else
13027        {
13028	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13029          else puts (dlerror ());
13030	}
13031      /* dlclose (self); */
13032    }
13033  else
13034    puts (dlerror ());
13035
13036  return status;
13037}
13038_LT_EOF
13039  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13040  (eval $ac_link) 2>&5
13041  ac_status=$?
13042  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13043  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13044    (./conftest; exit; ) >&5 2>/dev/null
13045    lt_status=$?
13046    case x$lt_status in
13047      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13048      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13049      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13050    esac
13051  else :
13052    # compilation failed
13053    lt_cv_dlopen_self_static=no
13054  fi
13055fi
13056rm -fr conftest*
13057
13058
13059fi
13060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13061$as_echo "$lt_cv_dlopen_self_static" >&6; }
13062    fi
13063
13064    CPPFLAGS=$save_CPPFLAGS
13065    LDFLAGS=$save_LDFLAGS
13066    LIBS=$save_LIBS
13067    ;;
13068  esac
13069
13070  case $lt_cv_dlopen_self in
13071  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13072  *) enable_dlopen_self=unknown ;;
13073  esac
13074
13075  case $lt_cv_dlopen_self_static in
13076  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13077  *) enable_dlopen_self_static=unknown ;;
13078  esac
13079fi
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097striplib=
13098old_striplib=
13099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13100$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13101if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13102  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13103  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13105$as_echo "yes" >&6; }
13106else
13107# FIXME - insert some real tests, host_os isn't really good enough
13108  case $host_os in
13109  darwin*)
13110    if test -n "$STRIP"; then
13111      striplib="$STRIP -x"
13112      old_striplib="$STRIP -S"
13113      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13114$as_echo "yes" >&6; }
13115    else
13116      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117$as_echo "no" >&6; }
13118    fi
13119    ;;
13120  *)
13121    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13122$as_echo "no" >&6; }
13123    ;;
13124  esac
13125fi
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138  # Report what library types will actually be built
13139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13140$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13142$as_echo "$can_build_shared" >&6; }
13143
13144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13145$as_echo_n "checking whether to build shared libraries... " >&6; }
13146  test no = "$can_build_shared" && enable_shared=no
13147
13148  # On AIX, shared libraries and static libraries use the same namespace, and
13149  # are all built from PIC.
13150  case $host_os in
13151  aix3*)
13152    test yes = "$enable_shared" && enable_static=no
13153    if test -n "$RANLIB"; then
13154      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13155      postinstall_cmds='$RANLIB $lib'
13156    fi
13157    ;;
13158
13159  aix[4-9]*)
13160    if test ia64 != "$host_cpu"; then
13161      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13162      yes,aix,yes) ;;			# shared object as lib.so file only
13163      yes,svr4,*) ;;			# shared object as lib.so archive member only
13164      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13165      esac
13166    fi
13167    ;;
13168  esac
13169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13170$as_echo "$enable_shared" >&6; }
13171
13172  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13173$as_echo_n "checking whether to build static libraries... " >&6; }
13174  # Make sure either enable_shared or enable_static is yes.
13175  test yes = "$enable_shared" || enable_static=yes
13176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13177$as_echo "$enable_static" >&6; }
13178
13179
13180
13181
13182fi
13183ac_ext=c
13184ac_cpp='$CPP $CPPFLAGS'
13185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189CC=$lt_save_CC
13190
13191      if test -n "$CXX" && ( test no != "$CXX" &&
13192    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13193    (test g++ != "$CXX"))); then
13194  ac_ext=cpp
13195ac_cpp='$CXXCPP $CPPFLAGS'
13196ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13197ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13198ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13200$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13201if test -z "$CXXCPP"; then
13202  if ${ac_cv_prog_CXXCPP+:} false; then :
13203  $as_echo_n "(cached) " >&6
13204else
13205      # Double quotes because CXXCPP needs to be expanded
13206    for CXXCPP in "$CXX -E" "/lib/cpp"
13207    do
13208      ac_preproc_ok=false
13209for ac_cxx_preproc_warn_flag in '' yes
13210do
13211  # Use a header file that comes with gcc, so configuring glibc
13212  # with a fresh cross-compiler works.
13213  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13214  # <limits.h> exists even on freestanding compilers.
13215  # On the NeXT, cc -E runs the code through the compiler's parser,
13216  # not just through cpp. "Syntax error" is here to catch this case.
13217  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218/* end confdefs.h.  */
13219@%:@ifdef __STDC__
13220@%:@ include <limits.h>
13221@%:@else
13222@%:@ include <assert.h>
13223@%:@endif
13224		     Syntax error
13225_ACEOF
13226if ac_fn_cxx_try_cpp "$LINENO"; then :
13227
13228else
13229  # Broken: fails on valid input.
13230continue
13231fi
13232rm -f conftest.err conftest.i conftest.$ac_ext
13233
13234  # OK, works on sane cases.  Now check whether nonexistent headers
13235  # can be detected and how.
13236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237/* end confdefs.h.  */
13238@%:@include <ac_nonexistent.h>
13239_ACEOF
13240if ac_fn_cxx_try_cpp "$LINENO"; then :
13241  # Broken: success on invalid input.
13242continue
13243else
13244  # Passes both tests.
13245ac_preproc_ok=:
13246break
13247fi
13248rm -f conftest.err conftest.i conftest.$ac_ext
13249
13250done
13251# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13252rm -f conftest.i conftest.err conftest.$ac_ext
13253if $ac_preproc_ok; then :
13254  break
13255fi
13256
13257    done
13258    ac_cv_prog_CXXCPP=$CXXCPP
13259
13260fi
13261  CXXCPP=$ac_cv_prog_CXXCPP
13262else
13263  ac_cv_prog_CXXCPP=$CXXCPP
13264fi
13265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13266$as_echo "$CXXCPP" >&6; }
13267ac_preproc_ok=false
13268for ac_cxx_preproc_warn_flag in '' yes
13269do
13270  # Use a header file that comes with gcc, so configuring glibc
13271  # with a fresh cross-compiler works.
13272  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273  # <limits.h> exists even on freestanding compilers.
13274  # On the NeXT, cc -E runs the code through the compiler's parser,
13275  # not just through cpp. "Syntax error" is here to catch this case.
13276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277/* end confdefs.h.  */
13278@%:@ifdef __STDC__
13279@%:@ include <limits.h>
13280@%:@else
13281@%:@ include <assert.h>
13282@%:@endif
13283		     Syntax error
13284_ACEOF
13285if ac_fn_cxx_try_cpp "$LINENO"; then :
13286
13287else
13288  # Broken: fails on valid input.
13289continue
13290fi
13291rm -f conftest.err conftest.i conftest.$ac_ext
13292
13293  # OK, works on sane cases.  Now check whether nonexistent headers
13294  # can be detected and how.
13295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296/* end confdefs.h.  */
13297@%:@include <ac_nonexistent.h>
13298_ACEOF
13299if ac_fn_cxx_try_cpp "$LINENO"; then :
13300  # Broken: success on invalid input.
13301continue
13302else
13303  # Passes both tests.
13304ac_preproc_ok=:
13305break
13306fi
13307rm -f conftest.err conftest.i conftest.$ac_ext
13308
13309done
13310# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13311rm -f conftest.i conftest.err conftest.$ac_ext
13312if $ac_preproc_ok; then :
13313
13314else
13315  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13317as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13318See \`config.log' for more details" "$LINENO" 5; }
13319fi
13320
13321ac_ext=c
13322ac_cpp='$CPP $CPPFLAGS'
13323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325ac_compiler_gnu=$ac_cv_c_compiler_gnu
13326
13327else
13328  _lt_caught_CXX_error=yes
13329fi
13330
13331ac_ext=cpp
13332ac_cpp='$CXXCPP $CPPFLAGS'
13333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13336
13337archive_cmds_need_lc_CXX=no
13338allow_undefined_flag_CXX=
13339always_export_symbols_CXX=no
13340archive_expsym_cmds_CXX=
13341compiler_needs_object_CXX=no
13342export_dynamic_flag_spec_CXX=
13343hardcode_direct_CXX=no
13344hardcode_direct_absolute_CXX=no
13345hardcode_libdir_flag_spec_CXX=
13346hardcode_libdir_separator_CXX=
13347hardcode_minus_L_CXX=no
13348hardcode_shlibpath_var_CXX=unsupported
13349hardcode_automatic_CXX=no
13350inherit_rpath_CXX=no
13351module_cmds_CXX=
13352module_expsym_cmds_CXX=
13353link_all_deplibs_CXX=unknown
13354old_archive_cmds_CXX=$old_archive_cmds
13355reload_flag_CXX=$reload_flag
13356reload_cmds_CXX=$reload_cmds
13357no_undefined_flag_CXX=
13358whole_archive_flag_spec_CXX=
13359enable_shared_with_static_runtimes_CXX=no
13360
13361# Source file extension for C++ test sources.
13362ac_ext=cpp
13363
13364# Object file extension for compiled C++ test sources.
13365objext=o
13366objext_CXX=$objext
13367
13368# No sense in running all these tests if we already determined that
13369# the CXX compiler isn't working.  Some variables (like enable_shared)
13370# are currently assumed to apply to all compilers on this platform,
13371# and will be corrupted by setting them based on a non-working compiler.
13372if test yes != "$_lt_caught_CXX_error"; then
13373  # Code to be used in simple compile tests
13374  lt_simple_compile_test_code="int some_variable = 0;"
13375
13376  # Code to be used in simple link tests
13377  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13378
13379  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13380
13381
13382
13383
13384
13385
13386# If no C compiler was specified, use CC.
13387LTCC=${LTCC-"$CC"}
13388
13389# If no C compiler flags were specified, use CFLAGS.
13390LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13391
13392# Allow CC to be a program name with arguments.
13393compiler=$CC
13394
13395
13396  # save warnings/boilerplate of simple test code
13397  ac_outfile=conftest.$ac_objext
13398echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13399eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13400_lt_compiler_boilerplate=`cat conftest.err`
13401$RM conftest*
13402
13403  ac_outfile=conftest.$ac_objext
13404echo "$lt_simple_link_test_code" >conftest.$ac_ext
13405eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13406_lt_linker_boilerplate=`cat conftest.err`
13407$RM -r conftest*
13408
13409
13410  # Allow CC to be a program name with arguments.
13411  lt_save_CC=$CC
13412  lt_save_CFLAGS=$CFLAGS
13413  lt_save_LD=$LD
13414  lt_save_GCC=$GCC
13415  GCC=$GXX
13416  lt_save_with_gnu_ld=$with_gnu_ld
13417  lt_save_path_LD=$lt_cv_path_LD
13418  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13419    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13420  else
13421    $as_unset lt_cv_prog_gnu_ld
13422  fi
13423  if test -n "${lt_cv_path_LDCXX+set}"; then
13424    lt_cv_path_LD=$lt_cv_path_LDCXX
13425  else
13426    $as_unset lt_cv_path_LD
13427  fi
13428  test -z "${LDCXX+set}" || LD=$LDCXX
13429  CC=${CXX-"c++"}
13430  CFLAGS=$CXXFLAGS
13431  compiler=$CC
13432  compiler_CXX=$CC
13433  func_cc_basename $compiler
13434cc_basename=$func_cc_basename_result
13435
13436
13437  if test -n "$compiler"; then
13438    # We don't want -fno-exception when compiling C++ code, so set the
13439    # no_builtin_flag separately
13440    if test yes = "$GXX"; then
13441      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13442    else
13443      lt_prog_compiler_no_builtin_flag_CXX=
13444    fi
13445
13446    if test yes = "$GXX"; then
13447      # Set up default GNU C++ configuration
13448
13449
13450
13451@%:@ Check whether --with-gnu-ld was given.
13452if test "${with_gnu_ld+set}" = set; then :
13453  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13454else
13455  with_gnu_ld=no
13456fi
13457
13458ac_prog=ld
13459if test yes = "$GCC"; then
13460  # Check if gcc -print-prog-name=ld gives a path.
13461  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13462$as_echo_n "checking for ld used by $CC... " >&6; }
13463  case $host in
13464  *-*-mingw*)
13465    # gcc leaves a trailing carriage return, which upsets mingw
13466    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13467  *)
13468    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13469  esac
13470  case $ac_prog in
13471    # Accept absolute paths.
13472    [\\/]* | ?:[\\/]*)
13473      re_direlt='/[^/][^/]*/\.\./'
13474      # Canonicalize the pathname of ld
13475      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13476      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13477	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13478      done
13479      test -z "$LD" && LD=$ac_prog
13480      ;;
13481  "")
13482    # If it fails, then pretend we aren't using GCC.
13483    ac_prog=ld
13484    ;;
13485  *)
13486    # If it is relative, then search for the first ld in PATH.
13487    with_gnu_ld=unknown
13488    ;;
13489  esac
13490elif test yes = "$with_gnu_ld"; then
13491  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13492$as_echo_n "checking for GNU ld... " >&6; }
13493else
13494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13495$as_echo_n "checking for non-GNU ld... " >&6; }
13496fi
13497if ${lt_cv_path_LD+:} false; then :
13498  $as_echo_n "(cached) " >&6
13499else
13500  if test -z "$LD"; then
13501  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13502  for ac_dir in $PATH; do
13503    IFS=$lt_save_ifs
13504    test -z "$ac_dir" && ac_dir=.
13505    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13506      lt_cv_path_LD=$ac_dir/$ac_prog
13507      # Check to see if the program is GNU ld.  I'd rather use --version,
13508      # but apparently some variants of GNU ld only accept -v.
13509      # Break only if it was the GNU/non-GNU ld that we prefer.
13510      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13511      *GNU* | *'with BFD'*)
13512	test no != "$with_gnu_ld" && break
13513	;;
13514      *)
13515	test yes != "$with_gnu_ld" && break
13516	;;
13517      esac
13518    fi
13519  done
13520  IFS=$lt_save_ifs
13521else
13522  lt_cv_path_LD=$LD # Let the user override the test with a path.
13523fi
13524fi
13525
13526LD=$lt_cv_path_LD
13527if test -n "$LD"; then
13528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13529$as_echo "$LD" >&6; }
13530else
13531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13532$as_echo "no" >&6; }
13533fi
13534test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13536$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13537if ${lt_cv_prog_gnu_ld+:} false; then :
13538  $as_echo_n "(cached) " >&6
13539else
13540  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13541case `$LD -v 2>&1 </dev/null` in
13542*GNU* | *'with BFD'*)
13543  lt_cv_prog_gnu_ld=yes
13544  ;;
13545*)
13546  lt_cv_prog_gnu_ld=no
13547  ;;
13548esac
13549fi
13550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13551$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13552with_gnu_ld=$lt_cv_prog_gnu_ld
13553
13554
13555
13556
13557
13558
13559
13560      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13561      # archiving commands below assume that GNU ld is being used.
13562      if test yes = "$with_gnu_ld"; then
13563        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13564        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'
13565
13566        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13567        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13568
13569        # If archive_cmds runs LD, not CC, wlarc should be empty
13570        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13571        #     investigate it a little bit more. (MM)
13572        wlarc='$wl'
13573
13574        # ancient GNU ld didn't support --whole-archive et. al.
13575        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13576	  $GREP 'no-whole-archive' > /dev/null; then
13577          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13578        else
13579          whole_archive_flag_spec_CXX=
13580        fi
13581      else
13582        with_gnu_ld=no
13583        wlarc=
13584
13585        # A generic and very simple default shared library creation
13586        # command for GNU C++ for the case where it uses the native
13587        # linker, instead of GNU ld.  If possible, this setting should
13588        # overridden to take advantage of the native linker features on
13589        # the platform it is being used on.
13590        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13591      fi
13592
13593      # Commands to make compiler produce verbose output that lists
13594      # what "hidden" libraries, object files and flags are used when
13595      # linking a shared library.
13596      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
13597
13598    else
13599      GXX=no
13600      with_gnu_ld=no
13601      wlarc=
13602    fi
13603
13604    # PORTME: fill in a description of your system's C++ link characteristics
13605    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13606$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13607    ld_shlibs_CXX=yes
13608    case $host_os in
13609      aix3*)
13610        # FIXME: insert proper C++ library support
13611        ld_shlibs_CXX=no
13612        ;;
13613      aix[4-9]*)
13614        if test ia64 = "$host_cpu"; then
13615          # On IA64, the linker does run time linking by default, so we don't
13616          # have to do anything special.
13617          aix_use_runtimelinking=no
13618          exp_sym_flag='-Bexport'
13619          no_entry_flag=
13620        else
13621          aix_use_runtimelinking=no
13622
13623          # Test if we are trying to use run time linking or normal
13624          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13625          # have runtime linking enabled, and use it for executables.
13626          # For shared libraries, we enable/disable runtime linking
13627          # depending on the kind of the shared library created -
13628          # when "with_aix_soname,aix_use_runtimelinking" is:
13629          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13630          # "aix,yes"  lib.so          shared, rtl:yes, for executables
13631          #            lib.a           static archive
13632          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13633          #            lib.a(lib.so.V) shared, rtl:no,  for executables
13634          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13635          #            lib.a(lib.so.V) shared, rtl:no
13636          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13637          #            lib.a           static archive
13638          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13639	    for ld_flag in $LDFLAGS; do
13640	      case $ld_flag in
13641	      *-brtl*)
13642	        aix_use_runtimelinking=yes
13643	        break
13644	        ;;
13645	      esac
13646	    done
13647	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13648	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
13649	      # so we don't have lib.a shared libs to link our executables.
13650	      # We have to force runtime linking in this case.
13651	      aix_use_runtimelinking=yes
13652	      LDFLAGS="$LDFLAGS -Wl,-brtl"
13653	    fi
13654	    ;;
13655          esac
13656
13657          exp_sym_flag='-bexport'
13658          no_entry_flag='-bnoentry'
13659        fi
13660
13661        # When large executables or shared objects are built, AIX ld can
13662        # have problems creating the table of contents.  If linking a library
13663        # or program results in "error TOC overflow" add -mminimal-toc to
13664        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13665        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13666
13667        archive_cmds_CXX=''
13668        hardcode_direct_CXX=yes
13669        hardcode_direct_absolute_CXX=yes
13670        hardcode_libdir_separator_CXX=':'
13671        link_all_deplibs_CXX=yes
13672        file_list_spec_CXX='$wl-f,'
13673        case $with_aix_soname,$aix_use_runtimelinking in
13674        aix,*) ;;	# no import file
13675        svr4,* | *,yes) # use import file
13676          # The Import File defines what to hardcode.
13677          hardcode_direct_CXX=no
13678          hardcode_direct_absolute_CXX=no
13679          ;;
13680        esac
13681
13682        if test yes = "$GXX"; then
13683          case $host_os in aix4.[012]|aix4.[012].*)
13684          # We only want to do this on AIX 4.2 and lower, the check
13685          # below for broken collect2 doesn't work under 4.3+
13686	  collect2name=`$CC -print-prog-name=collect2`
13687	  if test -f "$collect2name" &&
13688	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13689	  then
13690	    # We have reworked collect2
13691	    :
13692	  else
13693	    # We have old collect2
13694	    hardcode_direct_CXX=unsupported
13695	    # It fails to find uninstalled libraries when the uninstalled
13696	    # path is not listed in the libpath.  Setting hardcode_minus_L
13697	    # to unsupported forces relinking
13698	    hardcode_minus_L_CXX=yes
13699	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13700	    hardcode_libdir_separator_CXX=
13701	  fi
13702          esac
13703          shared_flag='-shared'
13704	  if test yes = "$aix_use_runtimelinking"; then
13705	    shared_flag=$shared_flag' $wl-G'
13706	  fi
13707	  # Need to ensure runtime linking is disabled for the traditional
13708	  # shared library, or the linker may eventually find shared libraries
13709	  # /with/ Import File - we do not want to mix them.
13710	  shared_flag_aix='-shared'
13711	  shared_flag_svr4='-shared $wl-G'
13712        else
13713          # not using gcc
13714          if test ia64 = "$host_cpu"; then
13715	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13716	  # chokes on -Wl,-G. The following line is correct:
13717	  shared_flag='-G'
13718          else
13719	    if test yes = "$aix_use_runtimelinking"; then
13720	      shared_flag='$wl-G'
13721	    else
13722	      shared_flag='$wl-bM:SRE'
13723	    fi
13724	    shared_flag_aix='$wl-bM:SRE'
13725	    shared_flag_svr4='$wl-G'
13726          fi
13727        fi
13728
13729        export_dynamic_flag_spec_CXX='$wl-bexpall'
13730        # It seems that -bexpall does not export symbols beginning with
13731        # underscore (_), so it is better to generate a list of symbols to
13732	# export.
13733        always_export_symbols_CXX=yes
13734	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13735          # Warning - without using the other runtime loading flags (-brtl),
13736          # -berok will link without error, but may produce a broken library.
13737          # The "-G" linker flag allows undefined symbols.
13738          no_undefined_flag_CXX='-bernotok'
13739          # Determine the default libpath from the value encoded in an empty
13740          # executable.
13741          if test set = "${lt_cv_aix_libpath+set}"; then
13742  aix_libpath=$lt_cv_aix_libpath
13743else
13744  if ${lt_cv_aix_libpath__CXX+:} false; then :
13745  $as_echo_n "(cached) " >&6
13746else
13747  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748/* end confdefs.h.  */
13749
13750int
13751main ()
13752{
13753
13754  ;
13755  return 0;
13756}
13757_ACEOF
13758if ac_fn_cxx_try_link "$LINENO"; then :
13759
13760  lt_aix_libpath_sed='
13761      /Import File Strings/,/^$/ {
13762	  /^0/ {
13763	      s/^0  *\([^ ]*\) *$/\1/
13764	      p
13765	  }
13766      }'
13767  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13768  # Check for a 64-bit object if we didn't find anything.
13769  if test -z "$lt_cv_aix_libpath__CXX"; then
13770    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13771  fi
13772fi
13773rm -f core conftest.err conftest.$ac_objext \
13774    conftest$ac_exeext conftest.$ac_ext
13775  if test -z "$lt_cv_aix_libpath__CXX"; then
13776    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13777  fi
13778
13779fi
13780
13781  aix_libpath=$lt_cv_aix_libpath__CXX
13782fi
13783
13784          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13785
13786          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
13787        else
13788          if test ia64 = "$host_cpu"; then
13789	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13790	    allow_undefined_flag_CXX="-z nodefs"
13791	    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"
13792          else
13793	    # Determine the default libpath from the value encoded in an
13794	    # empty executable.
13795	    if test set = "${lt_cv_aix_libpath+set}"; then
13796  aix_libpath=$lt_cv_aix_libpath
13797else
13798  if ${lt_cv_aix_libpath__CXX+:} false; then :
13799  $as_echo_n "(cached) " >&6
13800else
13801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802/* end confdefs.h.  */
13803
13804int
13805main ()
13806{
13807
13808  ;
13809  return 0;
13810}
13811_ACEOF
13812if ac_fn_cxx_try_link "$LINENO"; then :
13813
13814  lt_aix_libpath_sed='
13815      /Import File Strings/,/^$/ {
13816	  /^0/ {
13817	      s/^0  *\([^ ]*\) *$/\1/
13818	      p
13819	  }
13820      }'
13821  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13822  # Check for a 64-bit object if we didn't find anything.
13823  if test -z "$lt_cv_aix_libpath__CXX"; then
13824    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13825  fi
13826fi
13827rm -f core conftest.err conftest.$ac_objext \
13828    conftest$ac_exeext conftest.$ac_ext
13829  if test -z "$lt_cv_aix_libpath__CXX"; then
13830    lt_cv_aix_libpath__CXX=/usr/lib:/lib
13831  fi
13832
13833fi
13834
13835  aix_libpath=$lt_cv_aix_libpath__CXX
13836fi
13837
13838	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13839	    # Warning - without using the other run time loading flags,
13840	    # -berok will link without error, but may produce a broken library.
13841	    no_undefined_flag_CXX=' $wl-bernotok'
13842	    allow_undefined_flag_CXX=' $wl-berok'
13843	    if test yes = "$with_gnu_ld"; then
13844	      # We only use this code for GNU lds that support --whole-archive.
13845	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13846	    else
13847	      # Exported symbols can be pulled into shared objects from archives
13848	      whole_archive_flag_spec_CXX='$convenience'
13849	    fi
13850	    archive_cmds_need_lc_CXX=yes
13851	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13852	    # -brtl affects multiple linker settings, -berok does not and is overridden later
13853	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13854	    if test svr4 != "$with_aix_soname"; then
13855	      # This is similar to how AIX traditionally builds its shared
13856	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13857	      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'
13858	    fi
13859	    if test aix != "$with_aix_soname"; then
13860	      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'
13861	    else
13862	      # used by -dlpreopen to get the symbols
13863	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13864	    fi
13865	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13866          fi
13867        fi
13868        ;;
13869
13870      beos*)
13871	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13872	  allow_undefined_flag_CXX=unsupported
13873	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13874	  # support --undefined.  This deserves some investigation.  FIXME
13875	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13876	else
13877	  ld_shlibs_CXX=no
13878	fi
13879	;;
13880
13881      chorus*)
13882        case $cc_basename in
13883          *)
13884	  # FIXME: insert proper C++ library support
13885	  ld_shlibs_CXX=no
13886	  ;;
13887        esac
13888        ;;
13889
13890      cygwin* | mingw* | pw32* | cegcc*)
13891	case $GXX,$cc_basename in
13892	,cl* | no,cl*)
13893	  # Native MSVC
13894	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13895	  # no search path for DLLs.
13896	  hardcode_libdir_flag_spec_CXX=' '
13897	  allow_undefined_flag_CXX=unsupported
13898	  always_export_symbols_CXX=yes
13899	  file_list_spec_CXX='@'
13900	  # Tell ltmain to make .lib files, not .a files.
13901	  libext=lib
13902	  # Tell ltmain to make .dll files, not .so files.
13903	  shrext_cmds=.dll
13904	  # FIXME: Setting linknames here is a bad hack.
13905	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13906	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13907              cp "$export_symbols" "$output_objdir/$soname.def";
13908              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13909            else
13910              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13911            fi~
13912            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13913            linknames='
13914	  # The linker will not automatically build a static lib if we build a DLL.
13915	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13916	  enable_shared_with_static_runtimes_CXX=yes
13917	  # Don't use ranlib
13918	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13919	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13920            lt_tool_outputfile="@TOOL_OUTPUT@"~
13921            case $lt_outputfile in
13922              *.exe|*.EXE) ;;
13923              *)
13924                lt_outputfile=$lt_outputfile.exe
13925                lt_tool_outputfile=$lt_tool_outputfile.exe
13926                ;;
13927            esac~
13928            func_to_tool_file "$lt_outputfile"~
13929            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13930              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13931              $RM "$lt_outputfile.manifest";
13932            fi'
13933	  ;;
13934	*)
13935	  # g++
13936	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13937	  # as there is no search path for DLLs.
13938	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13939	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13940	  allow_undefined_flag_CXX=unsupported
13941	  always_export_symbols_CXX=no
13942	  enable_shared_with_static_runtimes_CXX=yes
13943
13944	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13945	    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'
13946	    # If the export-symbols file already is a .def file, use it as
13947	    # is; otherwise, prepend EXPORTS...
13948	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13949              cp $export_symbols $output_objdir/$soname.def;
13950            else
13951              echo EXPORTS > $output_objdir/$soname.def;
13952              cat $export_symbols >> $output_objdir/$soname.def;
13953            fi~
13954            $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'
13955	  else
13956	    ld_shlibs_CXX=no
13957	  fi
13958	  ;;
13959	esac
13960	;;
13961      darwin* | rhapsody*)
13962
13963
13964  archive_cmds_need_lc_CXX=no
13965  hardcode_direct_CXX=no
13966  hardcode_automatic_CXX=yes
13967  hardcode_shlibpath_var_CXX=unsupported
13968  if test yes = "$lt_cv_ld_force_load"; then
13969    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\"`'
13970
13971  else
13972    whole_archive_flag_spec_CXX=''
13973  fi
13974  link_all_deplibs_CXX=yes
13975  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13976  case $cc_basename in
13977     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13978     *) _lt_dar_can_shared=$GCC ;;
13979  esac
13980  if test yes = "$_lt_dar_can_shared"; then
13981    output_verbose_link_cmd=func_echo_all
13982    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"
13983    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13984    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"
13985    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"
13986       if test yes != "$lt_cv_apple_cc_single_mod"; then
13987      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"
13988      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"
13989    fi
13990
13991  else
13992  ld_shlibs_CXX=no
13993  fi
13994
13995	;;
13996
13997      os2*)
13998	hardcode_libdir_flag_spec_CXX='-L$libdir'
13999	hardcode_minus_L_CXX=yes
14000	allow_undefined_flag_CXX=unsupported
14001	shrext_cmds=.dll
14002	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14003	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14004	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14005	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14006	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14007	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14008	  emximp -o $lib $output_objdir/$libname.def'
14009	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14010	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14011	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14012	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14013	  prefix_cmds="$SED"~
14014	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14015	    prefix_cmds="$prefix_cmds -e 1d";
14016	  fi~
14017	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14018	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14019	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14020	  emximp -o $lib $output_objdir/$libname.def'
14021	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14022	enable_shared_with_static_runtimes_CXX=yes
14023	;;
14024
14025      dgux*)
14026        case $cc_basename in
14027          ec++*)
14028	    # FIXME: insert proper C++ library support
14029	    ld_shlibs_CXX=no
14030	    ;;
14031          ghcx*)
14032	    # Green Hills C++ Compiler
14033	    # FIXME: insert proper C++ library support
14034	    ld_shlibs_CXX=no
14035	    ;;
14036          *)
14037	    # FIXME: insert proper C++ library support
14038	    ld_shlibs_CXX=no
14039	    ;;
14040        esac
14041        ;;
14042
14043      freebsd2.*)
14044        # C++ shared libraries reported to be fairly broken before
14045	# switch to ELF
14046        ld_shlibs_CXX=no
14047        ;;
14048
14049      freebsd-elf*)
14050        archive_cmds_need_lc_CXX=no
14051        ;;
14052
14053      freebsd* | dragonfly*)
14054        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14055        # conventions
14056        ld_shlibs_CXX=yes
14057        ;;
14058
14059      haiku*)
14060        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14061        link_all_deplibs_CXX=yes
14062        ;;
14063
14064      hpux9*)
14065        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14066        hardcode_libdir_separator_CXX=:
14067        export_dynamic_flag_spec_CXX='$wl-E'
14068        hardcode_direct_CXX=yes
14069        hardcode_minus_L_CXX=yes # Not in the search PATH,
14070				             # but as the default
14071				             # location of the library.
14072
14073        case $cc_basename in
14074          CC*)
14075            # FIXME: insert proper C++ library support
14076            ld_shlibs_CXX=no
14077            ;;
14078          aCC*)
14079            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'
14080            # Commands to make compiler produce verbose output that lists
14081            # what "hidden" libraries, object files and flags are used when
14082            # linking a shared library.
14083            #
14084            # There doesn't appear to be a way to prevent this compiler from
14085            # explicitly linking system object files so we need to strip them
14086            # from the output so that they don't get included in the library
14087            # dependencies.
14088            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"'
14089            ;;
14090          *)
14091            if test yes = "$GXX"; then
14092              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'
14093            else
14094              # FIXME: insert proper C++ library support
14095              ld_shlibs_CXX=no
14096            fi
14097            ;;
14098        esac
14099        ;;
14100
14101      hpux10*|hpux11*)
14102        if test no = "$with_gnu_ld"; then
14103	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14104	  hardcode_libdir_separator_CXX=:
14105
14106          case $host_cpu in
14107            hppa*64*|ia64*)
14108              ;;
14109            *)
14110	      export_dynamic_flag_spec_CXX='$wl-E'
14111              ;;
14112          esac
14113        fi
14114        case $host_cpu in
14115          hppa*64*|ia64*)
14116            hardcode_direct_CXX=no
14117            hardcode_shlibpath_var_CXX=no
14118            ;;
14119          *)
14120            hardcode_direct_CXX=yes
14121            hardcode_direct_absolute_CXX=yes
14122            hardcode_minus_L_CXX=yes # Not in the search PATH,
14123					         # but as the default
14124					         # location of the library.
14125            ;;
14126        esac
14127
14128        case $cc_basename in
14129          CC*)
14130	    # FIXME: insert proper C++ library support
14131	    ld_shlibs_CXX=no
14132	    ;;
14133          aCC*)
14134	    case $host_cpu in
14135	      hppa*64*)
14136	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14137	        ;;
14138	      ia64*)
14139	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14140	        ;;
14141	      *)
14142	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14143	        ;;
14144	    esac
14145	    # Commands to make compiler produce verbose output that lists
14146	    # what "hidden" libraries, object files and flags are used when
14147	    # linking a shared library.
14148	    #
14149	    # There doesn't appear to be a way to prevent this compiler from
14150	    # explicitly linking system object files so we need to strip them
14151	    # from the output so that they don't get included in the library
14152	    # dependencies.
14153	    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"'
14154	    ;;
14155          *)
14156	    if test yes = "$GXX"; then
14157	      if test no = "$with_gnu_ld"; then
14158	        case $host_cpu in
14159	          hppa*64*)
14160	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14161	            ;;
14162	          ia64*)
14163	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14164	            ;;
14165	          *)
14166	            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'
14167	            ;;
14168	        esac
14169	      fi
14170	    else
14171	      # FIXME: insert proper C++ library support
14172	      ld_shlibs_CXX=no
14173	    fi
14174	    ;;
14175        esac
14176        ;;
14177
14178      interix[3-9]*)
14179	hardcode_direct_CXX=no
14180	hardcode_shlibpath_var_CXX=no
14181	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14182	export_dynamic_flag_spec_CXX='$wl-E'
14183	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14184	# Instead, shared libraries are loaded at an image base (0x10000000 by
14185	# default) and relocated if they conflict, which is a slow very memory
14186	# consuming and fragmenting process.  To avoid this, we pick a random,
14187	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14188	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14189	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'
14190	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'
14191	;;
14192      irix5* | irix6*)
14193        case $cc_basename in
14194          CC*)
14195	    # SGI C++
14196	    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'
14197
14198	    # Archives containing C++ object files must be created using
14199	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14200	    # necessary to make sure instantiated templates are included
14201	    # in the archive.
14202	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14203	    ;;
14204          *)
14205	    if test yes = "$GXX"; then
14206	      if test no = "$with_gnu_ld"; then
14207	        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'
14208	      else
14209	        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'
14210	      fi
14211	    fi
14212	    link_all_deplibs_CXX=yes
14213	    ;;
14214        esac
14215        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14216        hardcode_libdir_separator_CXX=:
14217        inherit_rpath_CXX=yes
14218        ;;
14219
14220      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14221        case $cc_basename in
14222          KCC*)
14223	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14224
14225	    # KCC will only create a shared library if the output file
14226	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14227	    # to its proper name (with version) after linking.
14228	    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'
14229	    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'
14230	    # Commands to make compiler produce verbose output that lists
14231	    # what "hidden" libraries, object files and flags are used when
14232	    # linking a shared library.
14233	    #
14234	    # There doesn't appear to be a way to prevent this compiler from
14235	    # explicitly linking system object files so we need to strip them
14236	    # from the output so that they don't get included in the library
14237	    # dependencies.
14238	    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"'
14239
14240	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14241	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14242
14243	    # Archives containing C++ object files must be created using
14244	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14245	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14246	    ;;
14247	  icpc* | ecpc* )
14248	    # Intel C++
14249	    with_gnu_ld=yes
14250	    # version 8.0 and above of icpc choke on multiply defined symbols
14251	    # if we add $predep_objects and $postdep_objects, however 7.1 and
14252	    # earlier do not add the objects themselves.
14253	    case `$CC -V 2>&1` in
14254	      *"Version 7."*)
14255	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14256		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'
14257		;;
14258	      *)  # Version 8.0 or newer
14259	        tmp_idyn=
14260	        case $host_cpu in
14261		  ia64*) tmp_idyn=' -i_dynamic';;
14262		esac
14263	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14264		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'
14265		;;
14266	    esac
14267	    archive_cmds_need_lc_CXX=no
14268	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14269	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14270	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14271	    ;;
14272          pgCC* | pgcpp*)
14273            # Portland Group C++ compiler
14274	    case `$CC -V` in
14275	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14276	      prelink_cmds_CXX='tpldir=Template.dir~
14277               rm -rf $tpldir~
14278               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14279               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14280	      old_archive_cmds_CXX='tpldir=Template.dir~
14281                rm -rf $tpldir~
14282                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14283                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14284                $RANLIB $oldlib'
14285	      archive_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 -o $lib'
14289	      archive_expsym_cmds_CXX='tpldir=Template.dir~
14290                rm -rf $tpldir~
14291                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14292                $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'
14293	      ;;
14294	    *) # Version 6 and above use weak symbols
14295	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14296	      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'
14297	      ;;
14298	    esac
14299
14300	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14301	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14302	    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'
14303            ;;
14304	  cxx*)
14305	    # Compaq C++
14306	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14307	    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'
14308
14309	    runpath_var=LD_RUN_PATH
14310	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14311	    hardcode_libdir_separator_CXX=:
14312
14313	    # Commands to make compiler produce verbose output that lists
14314	    # what "hidden" libraries, object files and flags are used when
14315	    # linking a shared library.
14316	    #
14317	    # There doesn't appear to be a way to prevent this compiler from
14318	    # explicitly linking system object files so we need to strip them
14319	    # from the output so that they don't get included in the library
14320	    # dependencies.
14321	    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'
14322	    ;;
14323	  xl* | mpixl* | bgxl*)
14324	    # IBM XL 8.0 on PPC, with GNU ld
14325	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14326	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14327	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14328	    if test yes = "$supports_anon_versioning"; then
14329	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14330                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14331                echo "local: *; };" >> $output_objdir/$libname.ver~
14332                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14333	    fi
14334	    ;;
14335	  *)
14336	    case `$CC -V 2>&1 | sed 5q` in
14337	    *Sun\ C*)
14338	      # Sun C++ 5.9
14339	      no_undefined_flag_CXX=' -zdefs'
14340	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14341	      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'
14342	      hardcode_libdir_flag_spec_CXX='-R$libdir'
14343	      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'
14344	      compiler_needs_object_CXX=yes
14345
14346	      # Not sure whether something based on
14347	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14348	      # would be better.
14349	      output_verbose_link_cmd='func_echo_all'
14350
14351	      # Archives containing C++ object files must be created using
14352	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14353	      # necessary to make sure instantiated templates are included
14354	      # in the archive.
14355	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14356	      ;;
14357	    esac
14358	    ;;
14359	esac
14360	;;
14361
14362      lynxos*)
14363        # FIXME: insert proper C++ library support
14364	ld_shlibs_CXX=no
14365	;;
14366
14367      m88k*)
14368        # FIXME: insert proper C++ library support
14369        ld_shlibs_CXX=no
14370	;;
14371
14372      mvs*)
14373        case $cc_basename in
14374          cxx*)
14375	    # FIXME: insert proper C++ library support
14376	    ld_shlibs_CXX=no
14377	    ;;
14378	  *)
14379	    # FIXME: insert proper C++ library support
14380	    ld_shlibs_CXX=no
14381	    ;;
14382	esac
14383	;;
14384
14385      netbsd*)
14386        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14387	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14388	  wlarc=
14389	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14390	  hardcode_direct_CXX=yes
14391	  hardcode_shlibpath_var_CXX=no
14392	fi
14393	# Workaround some broken pre-1.5 toolchains
14394	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14395	;;
14396
14397      *nto* | *qnx*)
14398        ld_shlibs_CXX=yes
14399	;;
14400
14401      openbsd* | bitrig*)
14402	if test -f /usr/libexec/ld.so; then
14403	  hardcode_direct_CXX=yes
14404	  hardcode_shlibpath_var_CXX=no
14405	  hardcode_direct_absolute_CXX=yes
14406	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14407	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14408	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14409	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14410	    export_dynamic_flag_spec_CXX='$wl-E'
14411	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14412	  fi
14413	  output_verbose_link_cmd=func_echo_all
14414	else
14415	  ld_shlibs_CXX=no
14416	fi
14417	;;
14418
14419      osf3* | osf4* | osf5*)
14420        case $cc_basename in
14421          KCC*)
14422	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14423
14424	    # KCC will only create a shared library if the output file
14425	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14426	    # to its proper name (with version) after linking.
14427	    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'
14428
14429	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14430	    hardcode_libdir_separator_CXX=:
14431
14432	    # Archives containing C++ object files must be created using
14433	    # the KAI C++ compiler.
14434	    case $host in
14435	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14436	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14437	    esac
14438	    ;;
14439          RCC*)
14440	    # Rational C++ 2.4.1
14441	    # FIXME: insert proper C++ library support
14442	    ld_shlibs_CXX=no
14443	    ;;
14444          cxx*)
14445	    case $host in
14446	      osf3*)
14447	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14448	        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'
14449	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14450		;;
14451	      *)
14452	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14453	        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'
14454	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14455                  echo "-hidden">> $lib.exp~
14456                  $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~
14457                  $RM $lib.exp'
14458	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14459		;;
14460	    esac
14461
14462	    hardcode_libdir_separator_CXX=:
14463
14464	    # Commands to make compiler produce verbose output that lists
14465	    # what "hidden" libraries, object files and flags are used when
14466	    # linking a shared library.
14467	    #
14468	    # There doesn't appear to be a way to prevent this compiler from
14469	    # explicitly linking system object files so we need to strip them
14470	    # from the output so that they don't get included in the library
14471	    # dependencies.
14472	    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"'
14473	    ;;
14474	  *)
14475	    if test yes,no = "$GXX,$with_gnu_ld"; then
14476	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14477	      case $host in
14478	        osf3*)
14479	          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'
14480		  ;;
14481	        *)
14482	          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'
14483		  ;;
14484	      esac
14485
14486	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14487	      hardcode_libdir_separator_CXX=:
14488
14489	      # Commands to make compiler produce verbose output that lists
14490	      # what "hidden" libraries, object files and flags are used when
14491	      # linking a shared library.
14492	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14493
14494	    else
14495	      # FIXME: insert proper C++ library support
14496	      ld_shlibs_CXX=no
14497	    fi
14498	    ;;
14499        esac
14500        ;;
14501
14502      psos*)
14503        # FIXME: insert proper C++ library support
14504        ld_shlibs_CXX=no
14505        ;;
14506
14507      sunos4*)
14508        case $cc_basename in
14509          CC*)
14510	    # Sun C++ 4.x
14511	    # FIXME: insert proper C++ library support
14512	    ld_shlibs_CXX=no
14513	    ;;
14514          lcc*)
14515	    # Lucid
14516	    # FIXME: insert proper C++ library support
14517	    ld_shlibs_CXX=no
14518	    ;;
14519          *)
14520	    # FIXME: insert proper C++ library support
14521	    ld_shlibs_CXX=no
14522	    ;;
14523        esac
14524        ;;
14525
14526      solaris*)
14527        case $cc_basename in
14528          CC* | sunCC*)
14529	    # Sun C++ 4.2, 5.x and Centerline C++
14530            archive_cmds_need_lc_CXX=yes
14531	    no_undefined_flag_CXX=' -zdefs'
14532	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14533	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14534              $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'
14535
14536	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14537	    hardcode_shlibpath_var_CXX=no
14538	    case $host_os in
14539	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14540	      *)
14541		# The compiler driver will combine and reorder linker options,
14542		# but understands '-z linker_flag'.
14543	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14544		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14545	        ;;
14546	    esac
14547	    link_all_deplibs_CXX=yes
14548
14549	    output_verbose_link_cmd='func_echo_all'
14550
14551	    # Archives containing C++ object files must be created using
14552	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14553	    # necessary to make sure instantiated templates are included
14554	    # in the archive.
14555	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14556	    ;;
14557          gcx*)
14558	    # Green Hills C++ Compiler
14559	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14560
14561	    # The C++ compiler must be used to create the archive.
14562	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14563	    ;;
14564          *)
14565	    # GNU C++ compiler with Solaris linker
14566	    if test yes,no = "$GXX,$with_gnu_ld"; then
14567	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
14568	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14569	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14570	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14571                  $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'
14572
14573	        # Commands to make compiler produce verbose output that lists
14574	        # what "hidden" libraries, object files and flags are used when
14575	        # linking a shared library.
14576	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14577	      else
14578	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
14579	        # platform.
14580	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14581	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14582                  $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'
14583
14584	        # Commands to make compiler produce verbose output that lists
14585	        # what "hidden" libraries, object files and flags are used when
14586	        # linking a shared library.
14587	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14588	      fi
14589
14590	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14591	      case $host_os in
14592		solaris2.[0-5] | solaris2.[0-5].*) ;;
14593		*)
14594		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14595		  ;;
14596	      esac
14597	    fi
14598	    ;;
14599        esac
14600        ;;
14601
14602    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14603      no_undefined_flag_CXX='$wl-z,text'
14604      archive_cmds_need_lc_CXX=no
14605      hardcode_shlibpath_var_CXX=no
14606      runpath_var='LD_RUN_PATH'
14607
14608      case $cc_basename in
14609        CC*)
14610	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14611	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14612	  ;;
14613	*)
14614	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14615	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14616	  ;;
14617      esac
14618      ;;
14619
14620      sysv5* | sco3.2v5* | sco5v6*)
14621	# Note: We CANNOT use -z defs as we might desire, because we do not
14622	# link with -lc, and that would cause any symbols used from libc to
14623	# always be unresolved, which means just about no library would
14624	# ever link correctly.  If we're not using GNU ld we use -z text
14625	# though, which does catch some bad symbols but isn't as heavy-handed
14626	# as -z defs.
14627	no_undefined_flag_CXX='$wl-z,text'
14628	allow_undefined_flag_CXX='$wl-z,nodefs'
14629	archive_cmds_need_lc_CXX=no
14630	hardcode_shlibpath_var_CXX=no
14631	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14632	hardcode_libdir_separator_CXX=':'
14633	link_all_deplibs_CXX=yes
14634	export_dynamic_flag_spec_CXX='$wl-Bexport'
14635	runpath_var='LD_RUN_PATH'
14636
14637	case $cc_basename in
14638          CC*)
14639	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14640	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14641	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14642              '"$old_archive_cmds_CXX"
14643	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14644              '"$reload_cmds_CXX"
14645	    ;;
14646	  *)
14647	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14648	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14649	    ;;
14650	esac
14651      ;;
14652
14653      tandem*)
14654        case $cc_basename in
14655          NCC*)
14656	    # NonStop-UX NCC 3.20
14657	    # FIXME: insert proper C++ library support
14658	    ld_shlibs_CXX=no
14659	    ;;
14660          *)
14661	    # FIXME: insert proper C++ library support
14662	    ld_shlibs_CXX=no
14663	    ;;
14664        esac
14665        ;;
14666
14667      vxworks*)
14668        # FIXME: insert proper C++ library support
14669        ld_shlibs_CXX=no
14670        ;;
14671
14672      *)
14673        # FIXME: insert proper C++ library support
14674        ld_shlibs_CXX=no
14675        ;;
14676    esac
14677
14678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14679$as_echo "$ld_shlibs_CXX" >&6; }
14680    test no = "$ld_shlibs_CXX" && can_build_shared=no
14681
14682    GCC_CXX=$GXX
14683    LD_CXX=$LD
14684
14685    ## CAVEAT EMPTOR:
14686    ## There is no encapsulation within the following macros, do not change
14687    ## the running order or otherwise move them around unless you know exactly
14688    ## what you are doing...
14689    # Dependencies to place before and after the object being linked:
14690predep_objects_CXX=
14691postdep_objects_CXX=
14692predeps_CXX=
14693postdeps_CXX=
14694compiler_lib_search_path_CXX=
14695
14696cat > conftest.$ac_ext <<_LT_EOF
14697class Foo
14698{
14699public:
14700  Foo (void) { a = 0; }
14701private:
14702  int a;
14703};
14704_LT_EOF
14705
14706
14707_lt_libdeps_save_CFLAGS=$CFLAGS
14708case "$CC $CFLAGS " in #(
14709*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14710*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14711*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14712esac
14713
14714if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14715  (eval $ac_compile) 2>&5
14716  ac_status=$?
14717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14718  test $ac_status = 0; }; then
14719  # Parse the compiler output and extract the necessary
14720  # objects, libraries and library flags.
14721
14722  # Sentinel used to keep track of whether or not we are before
14723  # the conftest object file.
14724  pre_test_object_deps_done=no
14725
14726  for p in `eval "$output_verbose_link_cmd"`; do
14727    case $prev$p in
14728
14729    -L* | -R* | -l*)
14730       # Some compilers place space between "-{L,R}" and the path.
14731       # Remove the space.
14732       if test x-L = "$p" ||
14733          test x-R = "$p"; then
14734	 prev=$p
14735	 continue
14736       fi
14737
14738       # Expand the sysroot to ease extracting the directories later.
14739       if test -z "$prev"; then
14740         case $p in
14741         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14742         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14743         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14744         esac
14745       fi
14746       case $p in
14747       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14748       esac
14749       if test no = "$pre_test_object_deps_done"; then
14750	 case $prev in
14751	 -L | -R)
14752	   # Internal compiler library paths should come after those
14753	   # provided the user.  The postdeps already come after the
14754	   # user supplied libs so there is no need to process them.
14755	   if test -z "$compiler_lib_search_path_CXX"; then
14756	     compiler_lib_search_path_CXX=$prev$p
14757	   else
14758	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14759	   fi
14760	   ;;
14761	 # The "-l" case would never come before the object being
14762	 # linked, so don't bother handling this case.
14763	 esac
14764       else
14765	 if test -z "$postdeps_CXX"; then
14766	   postdeps_CXX=$prev$p
14767	 else
14768	   postdeps_CXX="${postdeps_CXX} $prev$p"
14769	 fi
14770       fi
14771       prev=
14772       ;;
14773
14774    *.lto.$objext) ;; # Ignore GCC LTO objects
14775    *.$objext)
14776       # This assumes that the test object file only shows up
14777       # once in the compiler output.
14778       if test "$p" = "conftest.$objext"; then
14779	 pre_test_object_deps_done=yes
14780	 continue
14781       fi
14782
14783       if test no = "$pre_test_object_deps_done"; then
14784	 if test -z "$predep_objects_CXX"; then
14785	   predep_objects_CXX=$p
14786	 else
14787	   predep_objects_CXX="$predep_objects_CXX $p"
14788	 fi
14789       else
14790	 if test -z "$postdep_objects_CXX"; then
14791	   postdep_objects_CXX=$p
14792	 else
14793	   postdep_objects_CXX="$postdep_objects_CXX $p"
14794	 fi
14795       fi
14796       ;;
14797
14798    *) ;; # Ignore the rest.
14799
14800    esac
14801  done
14802
14803  # Clean up.
14804  rm -f a.out a.exe
14805else
14806  echo "libtool.m4: error: problem compiling CXX test program"
14807fi
14808
14809$RM -f confest.$objext
14810CFLAGS=$_lt_libdeps_save_CFLAGS
14811
14812# PORTME: override above test on systems where it is broken
14813case $host_os in
14814interix[3-9]*)
14815  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14816  # hack all around it, let's just trust "g++" to DTRT.
14817  predep_objects_CXX=
14818  postdep_objects_CXX=
14819  postdeps_CXX=
14820  ;;
14821esac
14822
14823
14824case " $postdeps_CXX " in
14825*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14826esac
14827 compiler_lib_search_dirs_CXX=
14828if test -n "${compiler_lib_search_path_CXX}"; then
14829 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14830fi
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
14859
14860
14861
14862    lt_prog_compiler_wl_CXX=
14863lt_prog_compiler_pic_CXX=
14864lt_prog_compiler_static_CXX=
14865
14866
14867  # C++ specific cases for pic, static, wl, etc.
14868  if test yes = "$GXX"; then
14869    lt_prog_compiler_wl_CXX='-Wl,'
14870    lt_prog_compiler_static_CXX='-static'
14871
14872    case $host_os in
14873    aix*)
14874      # All AIX code is PIC.
14875      if test ia64 = "$host_cpu"; then
14876	# AIX 5 now supports IA64 processor
14877	lt_prog_compiler_static_CXX='-Bstatic'
14878      fi
14879      lt_prog_compiler_pic_CXX='-fPIC'
14880      ;;
14881
14882    amigaos*)
14883      case $host_cpu in
14884      powerpc)
14885            # see comment about AmigaOS4 .so support
14886            lt_prog_compiler_pic_CXX='-fPIC'
14887        ;;
14888      m68k)
14889            # FIXME: we need at least 68020 code to build shared libraries, but
14890            # adding the '-m68020' flag to GCC prevents building anything better,
14891            # like '-m68040'.
14892            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14893        ;;
14894      esac
14895      ;;
14896
14897    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14898      # PIC is the default for these OSes.
14899      ;;
14900    mingw* | cygwin* | os2* | pw32* | cegcc*)
14901      # This hack is so that the source file can tell whether it is being
14902      # built for inclusion in a dll (and should export symbols for example).
14903      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14904      # (--disable-auto-import) libraries
14905      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14906      case $host_os in
14907      os2*)
14908	lt_prog_compiler_static_CXX='$wl-static'
14909	;;
14910      esac
14911      ;;
14912    darwin* | rhapsody*)
14913      # PIC is the default on this platform
14914      # Common symbols not allowed in MH_DYLIB files
14915      lt_prog_compiler_pic_CXX='-fno-common'
14916      ;;
14917    *djgpp*)
14918      # DJGPP does not support shared libraries at all
14919      lt_prog_compiler_pic_CXX=
14920      ;;
14921    haiku*)
14922      # PIC is the default for Haiku.
14923      # The "-static" flag exists, but is broken.
14924      lt_prog_compiler_static_CXX=
14925      ;;
14926    interix[3-9]*)
14927      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14928      # Instead, we relocate shared libraries at runtime.
14929      ;;
14930    sysv4*MP*)
14931      if test -d /usr/nec; then
14932	lt_prog_compiler_pic_CXX=-Kconform_pic
14933      fi
14934      ;;
14935    hpux*)
14936      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14937      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14938      # sets the default TLS model and affects inlining.
14939      case $host_cpu in
14940      hppa*64*)
14941	;;
14942      *)
14943	lt_prog_compiler_pic_CXX='-fPIC'
14944	;;
14945      esac
14946      ;;
14947    *qnx* | *nto*)
14948      # QNX uses GNU C++, but need to define -shared option too, otherwise
14949      # it will coredump.
14950      lt_prog_compiler_pic_CXX='-fPIC -shared'
14951      ;;
14952    *)
14953      lt_prog_compiler_pic_CXX='-fPIC'
14954      ;;
14955    esac
14956  else
14957    case $host_os in
14958      aix[4-9]*)
14959	# All AIX code is PIC.
14960	if test ia64 = "$host_cpu"; then
14961	  # AIX 5 now supports IA64 processor
14962	  lt_prog_compiler_static_CXX='-Bstatic'
14963	else
14964	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14965	fi
14966	;;
14967      chorus*)
14968	case $cc_basename in
14969	cxch68*)
14970	  # Green Hills C++ Compiler
14971	  # _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"
14972	  ;;
14973	esac
14974	;;
14975      mingw* | cygwin* | os2* | pw32* | cegcc*)
14976	# This hack is so that the source file can tell whether it is being
14977	# built for inclusion in a dll (and should export symbols for example).
14978	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14979	;;
14980      dgux*)
14981	case $cc_basename in
14982	  ec++*)
14983	    lt_prog_compiler_pic_CXX='-KPIC'
14984	    ;;
14985	  ghcx*)
14986	    # Green Hills C++ Compiler
14987	    lt_prog_compiler_pic_CXX='-pic'
14988	    ;;
14989	  *)
14990	    ;;
14991	esac
14992	;;
14993      freebsd* | dragonfly*)
14994	# FreeBSD uses GNU C++
14995	;;
14996      hpux9* | hpux10* | hpux11*)
14997	case $cc_basename in
14998	  CC*)
14999	    lt_prog_compiler_wl_CXX='-Wl,'
15000	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15001	    if test ia64 != "$host_cpu"; then
15002	      lt_prog_compiler_pic_CXX='+Z'
15003	    fi
15004	    ;;
15005	  aCC*)
15006	    lt_prog_compiler_wl_CXX='-Wl,'
15007	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15008	    case $host_cpu in
15009	    hppa*64*|ia64*)
15010	      # +Z the default
15011	      ;;
15012	    *)
15013	      lt_prog_compiler_pic_CXX='+Z'
15014	      ;;
15015	    esac
15016	    ;;
15017	  *)
15018	    ;;
15019	esac
15020	;;
15021      interix*)
15022	# This is c89, which is MS Visual C++ (no shared libs)
15023	# Anyone wants to do a port?
15024	;;
15025      irix5* | irix6* | nonstopux*)
15026	case $cc_basename in
15027	  CC*)
15028	    lt_prog_compiler_wl_CXX='-Wl,'
15029	    lt_prog_compiler_static_CXX='-non_shared'
15030	    # CC pic flag -KPIC is the default.
15031	    ;;
15032	  *)
15033	    ;;
15034	esac
15035	;;
15036      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15037	case $cc_basename in
15038	  KCC*)
15039	    # KAI C++ Compiler
15040	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15041	    lt_prog_compiler_pic_CXX='-fPIC'
15042	    ;;
15043	  ecpc* )
15044	    # old Intel C++ for x86_64, which still supported -KPIC.
15045	    lt_prog_compiler_wl_CXX='-Wl,'
15046	    lt_prog_compiler_pic_CXX='-KPIC'
15047	    lt_prog_compiler_static_CXX='-static'
15048	    ;;
15049	  icpc* )
15050	    # Intel C++, used to be incompatible with GCC.
15051	    # ICC 10 doesn't accept -KPIC any more.
15052	    lt_prog_compiler_wl_CXX='-Wl,'
15053	    lt_prog_compiler_pic_CXX='-fPIC'
15054	    lt_prog_compiler_static_CXX='-static'
15055	    ;;
15056	  pgCC* | pgcpp*)
15057	    # Portland Group C++ compiler
15058	    lt_prog_compiler_wl_CXX='-Wl,'
15059	    lt_prog_compiler_pic_CXX='-fpic'
15060	    lt_prog_compiler_static_CXX='-Bstatic'
15061	    ;;
15062	  cxx*)
15063	    # Compaq C++
15064	    # Make sure the PIC flag is empty.  It appears that all Alpha
15065	    # Linux and Compaq Tru64 Unix objects are PIC.
15066	    lt_prog_compiler_pic_CXX=
15067	    lt_prog_compiler_static_CXX='-non_shared'
15068	    ;;
15069	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15070	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15071	    lt_prog_compiler_wl_CXX='-Wl,'
15072	    lt_prog_compiler_pic_CXX='-qpic'
15073	    lt_prog_compiler_static_CXX='-qstaticlink'
15074	    ;;
15075	  *)
15076	    case `$CC -V 2>&1 | sed 5q` in
15077	    *Sun\ C*)
15078	      # Sun C++ 5.9
15079	      lt_prog_compiler_pic_CXX='-KPIC'
15080	      lt_prog_compiler_static_CXX='-Bstatic'
15081	      lt_prog_compiler_wl_CXX='-Qoption ld '
15082	      ;;
15083	    esac
15084	    ;;
15085	esac
15086	;;
15087      lynxos*)
15088	;;
15089      m88k*)
15090	;;
15091      mvs*)
15092	case $cc_basename in
15093	  cxx*)
15094	    lt_prog_compiler_pic_CXX='-W c,exportall'
15095	    ;;
15096	  *)
15097	    ;;
15098	esac
15099	;;
15100      netbsd* | netbsdelf*-gnu)
15101	;;
15102      *qnx* | *nto*)
15103        # QNX uses GNU C++, but need to define -shared option too, otherwise
15104        # it will coredump.
15105        lt_prog_compiler_pic_CXX='-fPIC -shared'
15106        ;;
15107      osf3* | osf4* | osf5*)
15108	case $cc_basename in
15109	  KCC*)
15110	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15111	    ;;
15112	  RCC*)
15113	    # Rational C++ 2.4.1
15114	    lt_prog_compiler_pic_CXX='-pic'
15115	    ;;
15116	  cxx*)
15117	    # Digital/Compaq C++
15118	    lt_prog_compiler_wl_CXX='-Wl,'
15119	    # Make sure the PIC flag is empty.  It appears that all Alpha
15120	    # Linux and Compaq Tru64 Unix objects are PIC.
15121	    lt_prog_compiler_pic_CXX=
15122	    lt_prog_compiler_static_CXX='-non_shared'
15123	    ;;
15124	  *)
15125	    ;;
15126	esac
15127	;;
15128      psos*)
15129	;;
15130      solaris*)
15131	case $cc_basename in
15132	  CC* | sunCC*)
15133	    # Sun C++ 4.2, 5.x and Centerline C++
15134	    lt_prog_compiler_pic_CXX='-KPIC'
15135	    lt_prog_compiler_static_CXX='-Bstatic'
15136	    lt_prog_compiler_wl_CXX='-Qoption ld '
15137	    ;;
15138	  gcx*)
15139	    # Green Hills C++ Compiler
15140	    lt_prog_compiler_pic_CXX='-PIC'
15141	    ;;
15142	  *)
15143	    ;;
15144	esac
15145	;;
15146      sunos4*)
15147	case $cc_basename in
15148	  CC*)
15149	    # Sun C++ 4.x
15150	    lt_prog_compiler_pic_CXX='-pic'
15151	    lt_prog_compiler_static_CXX='-Bstatic'
15152	    ;;
15153	  lcc*)
15154	    # Lucid
15155	    lt_prog_compiler_pic_CXX='-pic'
15156	    ;;
15157	  *)
15158	    ;;
15159	esac
15160	;;
15161      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15162	case $cc_basename in
15163	  CC*)
15164	    lt_prog_compiler_wl_CXX='-Wl,'
15165	    lt_prog_compiler_pic_CXX='-KPIC'
15166	    lt_prog_compiler_static_CXX='-Bstatic'
15167	    ;;
15168	esac
15169	;;
15170      tandem*)
15171	case $cc_basename in
15172	  NCC*)
15173	    # NonStop-UX NCC 3.20
15174	    lt_prog_compiler_pic_CXX='-KPIC'
15175	    ;;
15176	  *)
15177	    ;;
15178	esac
15179	;;
15180      vxworks*)
15181	;;
15182      *)
15183	lt_prog_compiler_can_build_shared_CXX=no
15184	;;
15185    esac
15186  fi
15187
15188case $host_os in
15189  # For platforms that do not support PIC, -DPIC is meaningless:
15190  *djgpp*)
15191    lt_prog_compiler_pic_CXX=
15192    ;;
15193  *)
15194    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15195    ;;
15196esac
15197
15198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15199$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15200if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15201  $as_echo_n "(cached) " >&6
15202else
15203  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15204fi
15205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15206$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15207lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15208
15209#
15210# Check to make sure the PIC flag actually works.
15211#
15212if test -n "$lt_prog_compiler_pic_CXX"; then
15213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15214$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15215if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15216  $as_echo_n "(cached) " >&6
15217else
15218  lt_cv_prog_compiler_pic_works_CXX=no
15219   ac_outfile=conftest.$ac_objext
15220   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15221   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15222   # Insert the option either (1) after the last *FLAGS variable, or
15223   # (2) before a word containing "conftest.", or (3) at the end.
15224   # Note that $ac_compile itself does not contain backslashes and begins
15225   # with a dollar sign (not a hyphen), so the echo should work correctly.
15226   # The option is referenced via a variable to avoid confusing sed.
15227   lt_compile=`echo "$ac_compile" | $SED \
15228   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15229   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15230   -e 's:$: $lt_compiler_flag:'`
15231   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15232   (eval "$lt_compile" 2>conftest.err)
15233   ac_status=$?
15234   cat conftest.err >&5
15235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236   if (exit $ac_status) && test -s "$ac_outfile"; then
15237     # The compiler can only warn and ignore the option if not recognized
15238     # So say no if there are warnings other than the usual output.
15239     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15240     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15241     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15242       lt_cv_prog_compiler_pic_works_CXX=yes
15243     fi
15244   fi
15245   $RM conftest*
15246
15247fi
15248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15249$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15250
15251if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15252    case $lt_prog_compiler_pic_CXX in
15253     "" | " "*) ;;
15254     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15255     esac
15256else
15257    lt_prog_compiler_pic_CXX=
15258     lt_prog_compiler_can_build_shared_CXX=no
15259fi
15260
15261fi
15262
15263
15264
15265
15266
15267#
15268# Check to make sure the static flag actually works.
15269#
15270wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15272$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15273if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15274  $as_echo_n "(cached) " >&6
15275else
15276  lt_cv_prog_compiler_static_works_CXX=no
15277   save_LDFLAGS=$LDFLAGS
15278   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15279   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15280   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15281     # The linker can only warn and ignore the option if not recognized
15282     # So say no if there are warnings
15283     if test -s conftest.err; then
15284       # Append any errors to the config.log.
15285       cat conftest.err 1>&5
15286       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15287       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15288       if diff conftest.exp conftest.er2 >/dev/null; then
15289         lt_cv_prog_compiler_static_works_CXX=yes
15290       fi
15291     else
15292       lt_cv_prog_compiler_static_works_CXX=yes
15293     fi
15294   fi
15295   $RM -r conftest*
15296   LDFLAGS=$save_LDFLAGS
15297
15298fi
15299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15300$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15301
15302if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15303    :
15304else
15305    lt_prog_compiler_static_CXX=
15306fi
15307
15308
15309
15310
15311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15312$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15313if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15314  $as_echo_n "(cached) " >&6
15315else
15316  lt_cv_prog_compiler_c_o_CXX=no
15317   $RM -r conftest 2>/dev/null
15318   mkdir conftest
15319   cd conftest
15320   mkdir out
15321   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15322
15323   lt_compiler_flag="-o out/conftest2.$ac_objext"
15324   # Insert the option either (1) after the last *FLAGS variable, or
15325   # (2) before a word containing "conftest.", or (3) at the end.
15326   # Note that $ac_compile itself does not contain backslashes and begins
15327   # with a dollar sign (not a hyphen), so the echo should work correctly.
15328   lt_compile=`echo "$ac_compile" | $SED \
15329   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15330   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15331   -e 's:$: $lt_compiler_flag:'`
15332   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15333   (eval "$lt_compile" 2>out/conftest.err)
15334   ac_status=$?
15335   cat out/conftest.err >&5
15336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15338   then
15339     # The compiler can only warn and ignore the option if not recognized
15340     # So say no if there are warnings
15341     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15342     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15343     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15344       lt_cv_prog_compiler_c_o_CXX=yes
15345     fi
15346   fi
15347   chmod u+w . 2>&5
15348   $RM conftest*
15349   # SGI C++ compiler will create directory out/ii_files/ for
15350   # template instantiation
15351   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15352   $RM out/* && rmdir out
15353   cd ..
15354   $RM -r conftest
15355   $RM conftest*
15356
15357fi
15358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15359$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15360
15361
15362
15363    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15364$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15365if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15366  $as_echo_n "(cached) " >&6
15367else
15368  lt_cv_prog_compiler_c_o_CXX=no
15369   $RM -r conftest 2>/dev/null
15370   mkdir conftest
15371   cd conftest
15372   mkdir out
15373   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15374
15375   lt_compiler_flag="-o out/conftest2.$ac_objext"
15376   # Insert the option either (1) after the last *FLAGS variable, or
15377   # (2) before a word containing "conftest.", or (3) at the end.
15378   # Note that $ac_compile itself does not contain backslashes and begins
15379   # with a dollar sign (not a hyphen), so the echo should work correctly.
15380   lt_compile=`echo "$ac_compile" | $SED \
15381   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15382   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15383   -e 's:$: $lt_compiler_flag:'`
15384   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15385   (eval "$lt_compile" 2>out/conftest.err)
15386   ac_status=$?
15387   cat out/conftest.err >&5
15388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15390   then
15391     # The compiler can only warn and ignore the option if not recognized
15392     # So say no if there are warnings
15393     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15394     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15395     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15396       lt_cv_prog_compiler_c_o_CXX=yes
15397     fi
15398   fi
15399   chmod u+w . 2>&5
15400   $RM conftest*
15401   # SGI C++ compiler will create directory out/ii_files/ for
15402   # template instantiation
15403   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15404   $RM out/* && rmdir out
15405   cd ..
15406   $RM -r conftest
15407   $RM conftest*
15408
15409fi
15410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15411$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15412
15413
15414
15415
15416hard_links=nottested
15417if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15418  # do not overwrite the value of need_locks provided by the user
15419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15420$as_echo_n "checking if we can lock with hard links... " >&6; }
15421  hard_links=yes
15422  $RM conftest*
15423  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15424  touch conftest.a
15425  ln conftest.a conftest.b 2>&5 || hard_links=no
15426  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15428$as_echo "$hard_links" >&6; }
15429  if test no = "$hard_links"; then
15430    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15431$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15432    need_locks=warn
15433  fi
15434else
15435  need_locks=no
15436fi
15437
15438
15439
15440    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15441$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15442
15443  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15444  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15445  case $host_os in
15446  aix[4-9]*)
15447    # If we're using GNU nm, then we don't want the "-C" option.
15448    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15449    # Without the "-l" option, or with the "-B" option, AIX nm treats
15450    # weak defined symbols like other global defined symbols, whereas
15451    # GNU nm marks them as "W".
15452    # While the 'weak' keyword is ignored in the Export File, we need
15453    # it in the Import File for the 'aix-soname' feature, so we have
15454    # to replace the "-B" option with "-P" for AIX nm.
15455    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15456      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'
15457    else
15458      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'
15459    fi
15460    ;;
15461  pw32*)
15462    export_symbols_cmds_CXX=$ltdll_cmds
15463    ;;
15464  cygwin* | mingw* | cegcc*)
15465    case $cc_basename in
15466    cl*)
15467      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15468      ;;
15469    *)
15470      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'
15471      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15472      ;;
15473    esac
15474    ;;
15475  linux* | k*bsd*-gnu | gnu*)
15476    link_all_deplibs_CXX=no
15477    ;;
15478  *)
15479    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15480    ;;
15481  esac
15482
15483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15484$as_echo "$ld_shlibs_CXX" >&6; }
15485test no = "$ld_shlibs_CXX" && can_build_shared=no
15486
15487with_gnu_ld_CXX=$with_gnu_ld
15488
15489
15490
15491
15492
15493
15494#
15495# Do we need to explicitly link libc?
15496#
15497case "x$archive_cmds_need_lc_CXX" in
15498x|xyes)
15499  # Assume -lc should be added
15500  archive_cmds_need_lc_CXX=yes
15501
15502  if test yes,yes = "$GCC,$enable_shared"; then
15503    case $archive_cmds_CXX in
15504    *'~'*)
15505      # FIXME: we may have to deal with multi-command sequences.
15506      ;;
15507    '$CC '*)
15508      # Test whether the compiler implicitly links with -lc since on some
15509      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15510      # to ld, don't add -lc before -lgcc.
15511      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15512$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15513if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15514  $as_echo_n "(cached) " >&6
15515else
15516  $RM conftest*
15517	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15518
15519	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15520  (eval $ac_compile) 2>&5
15521  ac_status=$?
15522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15523  test $ac_status = 0; } 2>conftest.err; then
15524	  soname=conftest
15525	  lib=conftest
15526	  libobjs=conftest.$ac_objext
15527	  deplibs=
15528	  wl=$lt_prog_compiler_wl_CXX
15529	  pic_flag=$lt_prog_compiler_pic_CXX
15530	  compiler_flags=-v
15531	  linker_flags=-v
15532	  verstring=
15533	  output_objdir=.
15534	  libname=conftest
15535	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15536	  allow_undefined_flag_CXX=
15537	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15538  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15539  ac_status=$?
15540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541  test $ac_status = 0; }
15542	  then
15543	    lt_cv_archive_cmds_need_lc_CXX=no
15544	  else
15545	    lt_cv_archive_cmds_need_lc_CXX=yes
15546	  fi
15547	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15548	else
15549	  cat conftest.err 1>&5
15550	fi
15551	$RM conftest*
15552
15553fi
15554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15555$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15556      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15557      ;;
15558    esac
15559  fi
15560  ;;
15561esac
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
15621
15622
15623
15624    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15625$as_echo_n "checking dynamic linker characteristics... " >&6; }
15626
15627library_names_spec=
15628libname_spec='lib$name'
15629soname_spec=
15630shrext_cmds=.so
15631postinstall_cmds=
15632postuninstall_cmds=
15633finish_cmds=
15634finish_eval=
15635shlibpath_var=
15636shlibpath_overrides_runpath=unknown
15637version_type=none
15638dynamic_linker="$host_os ld.so"
15639sys_lib_dlsearch_path_spec="/lib /usr/lib"
15640need_lib_prefix=unknown
15641hardcode_into_libs=no
15642
15643# when you set need_version to no, make sure it does not cause -set_version
15644# flags to be left without arguments
15645need_version=unknown
15646
15647
15648
15649case $host_os in
15650aix3*)
15651  version_type=linux # correct to gnu/linux during the next big refactor
15652  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15653  shlibpath_var=LIBPATH
15654
15655  # AIX 3 has no versioning support, so we append a major version to the name.
15656  soname_spec='$libname$release$shared_ext$major'
15657  ;;
15658
15659aix[4-9]*)
15660  version_type=linux # correct to gnu/linux during the next big refactor
15661  need_lib_prefix=no
15662  need_version=no
15663  hardcode_into_libs=yes
15664  if test ia64 = "$host_cpu"; then
15665    # AIX 5 supports IA64
15666    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15667    shlibpath_var=LD_LIBRARY_PATH
15668  else
15669    # With GCC up to 2.95.x, collect2 would create an import file
15670    # for dependence libraries.  The import file would start with
15671    # the line '#! .'.  This would cause the generated library to
15672    # depend on '.', always an invalid library.  This was fixed in
15673    # development snapshots of GCC prior to 3.0.
15674    case $host_os in
15675      aix4 | aix4.[01] | aix4.[01].*)
15676      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15677	   echo ' yes '
15678	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15679	:
15680      else
15681	can_build_shared=no
15682      fi
15683      ;;
15684    esac
15685    # Using Import Files as archive members, it is possible to support
15686    # filename-based versioning of shared library archives on AIX. While
15687    # this would work for both with and without runtime linking, it will
15688    # prevent static linking of such archives. So we do filename-based
15689    # shared library versioning with .so extension only, which is used
15690    # when both runtime linking and shared linking is enabled.
15691    # Unfortunately, runtime linking may impact performance, so we do
15692    # not want this to be the default eventually. Also, we use the
15693    # versioned .so libs for executables only if there is the -brtl
15694    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15695    # To allow for filename-based versioning support, we need to create
15696    # libNAME.so.V as an archive file, containing:
15697    # *) an Import File, referring to the versioned filename of the
15698    #    archive as well as the shared archive member, telling the
15699    #    bitwidth (32 or 64) of that shared object, and providing the
15700    #    list of exported symbols of that shared object, eventually
15701    #    decorated with the 'weak' keyword
15702    # *) the shared object with the F_LOADONLY flag set, to really avoid
15703    #    it being seen by the linker.
15704    # At run time we better use the real file rather than another symlink,
15705    # but for link time we create the symlink libNAME.so -> libNAME.so.V
15706
15707    case $with_aix_soname,$aix_use_runtimelinking in
15708    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15709    # soname into executable. Probably we can add versioning support to
15710    # collect2, so additional links can be useful in future.
15711    aix,yes) # traditional libtool
15712      dynamic_linker='AIX unversionable lib.so'
15713      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15714      # instead of lib<name>.a to let people know that these are not
15715      # typical AIX shared libraries.
15716      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15717      ;;
15718    aix,no) # traditional AIX only
15719      dynamic_linker='AIX lib.a(lib.so.V)'
15720      # We preserve .a as extension for shared libraries through AIX4.2
15721      # and later when we are not doing run time linking.
15722      library_names_spec='$libname$release.a $libname.a'
15723      soname_spec='$libname$release$shared_ext$major'
15724      ;;
15725    svr4,*) # full svr4 only
15726      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15727      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15728      # We do not specify a path in Import Files, so LIBPATH fires.
15729      shlibpath_overrides_runpath=yes
15730      ;;
15731    *,yes) # both, prefer svr4
15732      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15733      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15734      # unpreferred sharedlib libNAME.a needs extra handling
15735      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"'
15736      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"'
15737      # We do not specify a path in Import Files, so LIBPATH fires.
15738      shlibpath_overrides_runpath=yes
15739      ;;
15740    *,no) # both, prefer aix
15741      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15742      library_names_spec='$libname$release.a $libname.a'
15743      soname_spec='$libname$release$shared_ext$major'
15744      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15745      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)'
15746      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"'
15747      ;;
15748    esac
15749    shlibpath_var=LIBPATH
15750  fi
15751  ;;
15752
15753amigaos*)
15754  case $host_cpu in
15755  powerpc)
15756    # Since July 2007 AmigaOS4 officially supports .so libraries.
15757    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15758    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15759    ;;
15760  m68k)
15761    library_names_spec='$libname.ixlibrary $libname.a'
15762    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15763    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'
15764    ;;
15765  esac
15766  ;;
15767
15768beos*)
15769  library_names_spec='$libname$shared_ext'
15770  dynamic_linker="$host_os ld.so"
15771  shlibpath_var=LIBRARY_PATH
15772  ;;
15773
15774bsdi[45]*)
15775  version_type=linux # correct to gnu/linux during the next big refactor
15776  need_version=no
15777  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15778  soname_spec='$libname$release$shared_ext$major'
15779  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15780  shlibpath_var=LD_LIBRARY_PATH
15781  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15782  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15783  # the default ld.so.conf also contains /usr/contrib/lib and
15784  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15785  # libtool to hard-code these into programs
15786  ;;
15787
15788cygwin* | mingw* | pw32* | cegcc*)
15789  version_type=windows
15790  shrext_cmds=.dll
15791  need_version=no
15792  need_lib_prefix=no
15793
15794  case $GCC,$cc_basename in
15795  yes,*)
15796    # gcc
15797    library_names_spec='$libname.dll.a'
15798    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15799    postinstall_cmds='base_file=`basename \$file`~
15800      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15801      dldir=$destdir/`dirname \$dlpath`~
15802      test -d \$dldir || mkdir -p \$dldir~
15803      $install_prog $dir/$dlname \$dldir/$dlname~
15804      chmod a+x \$dldir/$dlname~
15805      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15806        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15807      fi'
15808    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15809      dlpath=$dir/\$dldll~
15810       $RM \$dlpath'
15811    shlibpath_overrides_runpath=yes
15812
15813    case $host_os in
15814    cygwin*)
15815      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15816      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15817
15818      ;;
15819    mingw* | cegcc*)
15820      # MinGW DLLs use traditional 'lib' prefix
15821      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15822      ;;
15823    pw32*)
15824      # pw32 DLLs use 'pw' prefix rather than 'lib'
15825      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15826      ;;
15827    esac
15828    dynamic_linker='Win32 ld.exe'
15829    ;;
15830
15831  *,cl*)
15832    # Native MSVC
15833    libname_spec='$name'
15834    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15835    library_names_spec='$libname.dll.lib'
15836
15837    case $build_os in
15838    mingw*)
15839      sys_lib_search_path_spec=
15840      lt_save_ifs=$IFS
15841      IFS=';'
15842      for lt_path in $LIB
15843      do
15844        IFS=$lt_save_ifs
15845        # Let DOS variable expansion print the short 8.3 style file name.
15846        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15847        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15848      done
15849      IFS=$lt_save_ifs
15850      # Convert to MSYS style.
15851      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15852      ;;
15853    cygwin*)
15854      # Convert to unix form, then to dos form, then back to unix form
15855      # but this time dos style (no spaces!) so that the unix form looks
15856      # like /cygdrive/c/PROGRA~1:/cygdr...
15857      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15858      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15859      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15860      ;;
15861    *)
15862      sys_lib_search_path_spec=$LIB
15863      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15864        # It is most probably a Windows format PATH.
15865        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15866      else
15867        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15868      fi
15869      # FIXME: find the short name or the path components, as spaces are
15870      # common. (e.g. "Program Files" -> "PROGRA~1")
15871      ;;
15872    esac
15873
15874    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15875    postinstall_cmds='base_file=`basename \$file`~
15876      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15877      dldir=$destdir/`dirname \$dlpath`~
15878      test -d \$dldir || mkdir -p \$dldir~
15879      $install_prog $dir/$dlname \$dldir/$dlname'
15880    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15881      dlpath=$dir/\$dldll~
15882       $RM \$dlpath'
15883    shlibpath_overrides_runpath=yes
15884    dynamic_linker='Win32 link.exe'
15885    ;;
15886
15887  *)
15888    # Assume MSVC wrapper
15889    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15890    dynamic_linker='Win32 ld.exe'
15891    ;;
15892  esac
15893  # FIXME: first we should search . and the directory the executable is in
15894  shlibpath_var=PATH
15895  ;;
15896
15897darwin* | rhapsody*)
15898  dynamic_linker="$host_os dyld"
15899  version_type=darwin
15900  need_lib_prefix=no
15901  need_version=no
15902  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15903  soname_spec='$libname$release$major$shared_ext'
15904  shlibpath_overrides_runpath=yes
15905  shlibpath_var=DYLD_LIBRARY_PATH
15906  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15907
15908  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15909  ;;
15910
15911dgux*)
15912  version_type=linux # correct to gnu/linux during the next big refactor
15913  need_lib_prefix=no
15914  need_version=no
15915  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15916  soname_spec='$libname$release$shared_ext$major'
15917  shlibpath_var=LD_LIBRARY_PATH
15918  ;;
15919
15920freebsd* | dragonfly*)
15921  # DragonFly does not have aout.  When/if they implement a new
15922  # versioning mechanism, adjust this.
15923  if test -x /usr/bin/objformat; then
15924    objformat=`/usr/bin/objformat`
15925  else
15926    case $host_os in
15927    freebsd[23].*) objformat=aout ;;
15928    *) objformat=elf ;;
15929    esac
15930  fi
15931  version_type=freebsd-$objformat
15932  case $version_type in
15933    freebsd-elf*)
15934      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15935      soname_spec='$libname$release$shared_ext$major'
15936      need_version=no
15937      need_lib_prefix=no
15938      ;;
15939    freebsd-*)
15940      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15941      need_version=yes
15942      ;;
15943  esac
15944  shlibpath_var=LD_LIBRARY_PATH
15945  case $host_os in
15946  freebsd2.*)
15947    shlibpath_overrides_runpath=yes
15948    ;;
15949  freebsd3.[01]* | freebsdelf3.[01]*)
15950    shlibpath_overrides_runpath=yes
15951    hardcode_into_libs=yes
15952    ;;
15953  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15954  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15955    shlibpath_overrides_runpath=no
15956    hardcode_into_libs=yes
15957    ;;
15958  *) # from 4.6 on, and DragonFly
15959    shlibpath_overrides_runpath=yes
15960    hardcode_into_libs=yes
15961    ;;
15962  esac
15963  ;;
15964
15965haiku*)
15966  version_type=linux # correct to gnu/linux during the next big refactor
15967  need_lib_prefix=no
15968  need_version=no
15969  dynamic_linker="$host_os runtime_loader"
15970  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15971  soname_spec='$libname$release$shared_ext$major'
15972  shlibpath_var=LIBRARY_PATH
15973  shlibpath_overrides_runpath=no
15974  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15975  hardcode_into_libs=yes
15976  ;;
15977
15978hpux9* | hpux10* | hpux11*)
15979  # Give a soname corresponding to the major version so that dld.sl refuses to
15980  # link against other versions.
15981  version_type=sunos
15982  need_lib_prefix=no
15983  need_version=no
15984  case $host_cpu in
15985  ia64*)
15986    shrext_cmds='.so'
15987    hardcode_into_libs=yes
15988    dynamic_linker="$host_os dld.so"
15989    shlibpath_var=LD_LIBRARY_PATH
15990    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15991    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15992    soname_spec='$libname$release$shared_ext$major'
15993    if test 32 = "$HPUX_IA64_MODE"; then
15994      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15995      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15996    else
15997      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15998      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15999    fi
16000    ;;
16001  hppa*64*)
16002    shrext_cmds='.sl'
16003    hardcode_into_libs=yes
16004    dynamic_linker="$host_os dld.sl"
16005    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16006    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16007    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16008    soname_spec='$libname$release$shared_ext$major'
16009    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16010    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16011    ;;
16012  *)
16013    shrext_cmds='.sl'
16014    dynamic_linker="$host_os dld.sl"
16015    shlibpath_var=SHLIB_PATH
16016    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16017    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16018    soname_spec='$libname$release$shared_ext$major'
16019    ;;
16020  esac
16021  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16022  postinstall_cmds='chmod 555 $lib'
16023  # or fails outright, so override atomically:
16024  install_override_mode=555
16025  ;;
16026
16027interix[3-9]*)
16028  version_type=linux # correct to gnu/linux during the next big refactor
16029  need_lib_prefix=no
16030  need_version=no
16031  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16032  soname_spec='$libname$release$shared_ext$major'
16033  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16034  shlibpath_var=LD_LIBRARY_PATH
16035  shlibpath_overrides_runpath=no
16036  hardcode_into_libs=yes
16037  ;;
16038
16039irix5* | irix6* | nonstopux*)
16040  case $host_os in
16041    nonstopux*) version_type=nonstopux ;;
16042    *)
16043	if test yes = "$lt_cv_prog_gnu_ld"; then
16044		version_type=linux # correct to gnu/linux during the next big refactor
16045	else
16046		version_type=irix
16047	fi ;;
16048  esac
16049  need_lib_prefix=no
16050  need_version=no
16051  soname_spec='$libname$release$shared_ext$major'
16052  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16053  case $host_os in
16054  irix5* | nonstopux*)
16055    libsuff= shlibsuff=
16056    ;;
16057  *)
16058    case $LD in # libtool.m4 will add one of these switches to LD
16059    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16060      libsuff= shlibsuff= libmagic=32-bit;;
16061    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16062      libsuff=32 shlibsuff=N32 libmagic=N32;;
16063    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16064      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16065    *) libsuff= shlibsuff= libmagic=never-match;;
16066    esac
16067    ;;
16068  esac
16069  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16070  shlibpath_overrides_runpath=no
16071  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16072  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16073  hardcode_into_libs=yes
16074  ;;
16075
16076# No shared lib support for Linux oldld, aout, or coff.
16077linux*oldld* | linux*aout* | linux*coff*)
16078  dynamic_linker=no
16079  ;;
16080
16081linux*android*)
16082  version_type=none # Android doesn't support versioned libraries.
16083  need_lib_prefix=no
16084  need_version=no
16085  library_names_spec='$libname$release$shared_ext'
16086  soname_spec='$libname$release$shared_ext'
16087  finish_cmds=
16088  shlibpath_var=LD_LIBRARY_PATH
16089  shlibpath_overrides_runpath=yes
16090
16091  # This implies no fast_install, which is unacceptable.
16092  # Some rework will be needed to allow for fast_install
16093  # before this can be enabled.
16094  hardcode_into_libs=yes
16095
16096  dynamic_linker='Android linker'
16097  # Don't embed -rpath directories since the linker doesn't support them.
16098  hardcode_libdir_flag_spec_CXX='-L$libdir'
16099  ;;
16100
16101# This must be glibc/ELF.
16102linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16103  version_type=linux # correct to gnu/linux during the next big refactor
16104  need_lib_prefix=no
16105  need_version=no
16106  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16107  soname_spec='$libname$release$shared_ext$major'
16108  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16109  shlibpath_var=LD_LIBRARY_PATH
16110  shlibpath_overrides_runpath=no
16111
16112  # Some binutils ld are patched to set DT_RUNPATH
16113  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16114  $as_echo_n "(cached) " >&6
16115else
16116  lt_cv_shlibpath_overrides_runpath=no
16117    save_LDFLAGS=$LDFLAGS
16118    save_libdir=$libdir
16119    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16120	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16121    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16122/* end confdefs.h.  */
16123
16124int
16125main ()
16126{
16127
16128  ;
16129  return 0;
16130}
16131_ACEOF
16132if ac_fn_cxx_try_link "$LINENO"; then :
16133  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16134  lt_cv_shlibpath_overrides_runpath=yes
16135fi
16136fi
16137rm -f core conftest.err conftest.$ac_objext \
16138    conftest$ac_exeext conftest.$ac_ext
16139    LDFLAGS=$save_LDFLAGS
16140    libdir=$save_libdir
16141
16142fi
16143
16144  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16145
16146  # This implies no fast_install, which is unacceptable.
16147  # Some rework will be needed to allow for fast_install
16148  # before this can be enabled.
16149  hardcode_into_libs=yes
16150
16151  # Ideally, we could use ldconfig to report *all* directores which are
16152  # searched for libraries, however this is still not possible.  Aside from not
16153  # being certain /sbin/ldconfig is available, command
16154  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16155  # even though it is searched at run-time.  Try to do the best guess by
16156  # appending ld.so.conf contents (and includes) to the search path.
16157  if test -f /etc/ld.so.conf; then
16158    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' ' '`
16159    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16160  fi
16161
16162  # We used to test for /lib/ld.so.1 and disable shared libraries on
16163  # powerpc, because MkLinux only supported shared libraries with the
16164  # GNU dynamic linker.  Since this was broken with cross compilers,
16165  # most powerpc-linux boxes support dynamic linking these days and
16166  # people can always --disable-shared, the test was removed, and we
16167  # assume the GNU/Linux dynamic linker is in use.
16168  dynamic_linker='GNU/Linux ld.so'
16169  ;;
16170
16171netbsdelf*-gnu)
16172  version_type=linux
16173  need_lib_prefix=no
16174  need_version=no
16175  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16176  soname_spec='${libname}${release}${shared_ext}$major'
16177  shlibpath_var=LD_LIBRARY_PATH
16178  shlibpath_overrides_runpath=no
16179  hardcode_into_libs=yes
16180  dynamic_linker='NetBSD ld.elf_so'
16181  ;;
16182
16183netbsd*)
16184  version_type=sunos
16185  need_lib_prefix=no
16186  need_version=no
16187  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16188    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16189    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16190    dynamic_linker='NetBSD (a.out) ld.so'
16191  else
16192    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16193    soname_spec='$libname$release$shared_ext$major'
16194    dynamic_linker='NetBSD ld.elf_so'
16195  fi
16196  shlibpath_var=LD_LIBRARY_PATH
16197  shlibpath_overrides_runpath=yes
16198  hardcode_into_libs=yes
16199  ;;
16200
16201newsos6)
16202  version_type=linux # correct to gnu/linux during the next big refactor
16203  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16204  shlibpath_var=LD_LIBRARY_PATH
16205  shlibpath_overrides_runpath=yes
16206  ;;
16207
16208*nto* | *qnx*)
16209  version_type=qnx
16210  need_lib_prefix=no
16211  need_version=no
16212  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16213  soname_spec='$libname$release$shared_ext$major'
16214  shlibpath_var=LD_LIBRARY_PATH
16215  shlibpath_overrides_runpath=no
16216  hardcode_into_libs=yes
16217  dynamic_linker='ldqnx.so'
16218  ;;
16219
16220openbsd* | bitrig*)
16221  version_type=sunos
16222  sys_lib_dlsearch_path_spec=/usr/lib
16223  need_lib_prefix=no
16224  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16225    need_version=no
16226  else
16227    need_version=yes
16228  fi
16229  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16230  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16231  shlibpath_var=LD_LIBRARY_PATH
16232  shlibpath_overrides_runpath=yes
16233  ;;
16234
16235os2*)
16236  libname_spec='$name'
16237  version_type=windows
16238  shrext_cmds=.dll
16239  need_version=no
16240  need_lib_prefix=no
16241  # OS/2 can only load a DLL with a base name of 8 characters or less.
16242  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16243    v=$($ECHO $release$versuffix | tr -d .-);
16244    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16245    $ECHO $n$v`$shared_ext'
16246  library_names_spec='${libname}_dll.$libext'
16247  dynamic_linker='OS/2 ld.exe'
16248  shlibpath_var=BEGINLIBPATH
16249  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16250  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16251  postinstall_cmds='base_file=`basename \$file`~
16252    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16253    dldir=$destdir/`dirname \$dlpath`~
16254    test -d \$dldir || mkdir -p \$dldir~
16255    $install_prog $dir/$dlname \$dldir/$dlname~
16256    chmod a+x \$dldir/$dlname~
16257    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16258      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16259    fi'
16260  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16261    dlpath=$dir/\$dldll~
16262    $RM \$dlpath'
16263  ;;
16264
16265osf3* | osf4* | osf5*)
16266  version_type=osf
16267  need_lib_prefix=no
16268  need_version=no
16269  soname_spec='$libname$release$shared_ext$major'
16270  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16271  shlibpath_var=LD_LIBRARY_PATH
16272  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16273  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16274  ;;
16275
16276rdos*)
16277  dynamic_linker=no
16278  ;;
16279
16280solaris*)
16281  version_type=linux # correct to gnu/linux during the next big refactor
16282  need_lib_prefix=no
16283  need_version=no
16284  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16285  soname_spec='$libname$release$shared_ext$major'
16286  shlibpath_var=LD_LIBRARY_PATH
16287  shlibpath_overrides_runpath=yes
16288  hardcode_into_libs=yes
16289  # ldd complains unless libraries are executable
16290  postinstall_cmds='chmod +x $lib'
16291  ;;
16292
16293sunos4*)
16294  version_type=sunos
16295  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16296  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16297  shlibpath_var=LD_LIBRARY_PATH
16298  shlibpath_overrides_runpath=yes
16299  if test yes = "$with_gnu_ld"; then
16300    need_lib_prefix=no
16301  fi
16302  need_version=yes
16303  ;;
16304
16305sysv4 | sysv4.3*)
16306  version_type=linux # correct to gnu/linux during the next big refactor
16307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16308  soname_spec='$libname$release$shared_ext$major'
16309  shlibpath_var=LD_LIBRARY_PATH
16310  case $host_vendor in
16311    sni)
16312      shlibpath_overrides_runpath=no
16313      need_lib_prefix=no
16314      runpath_var=LD_RUN_PATH
16315      ;;
16316    siemens)
16317      need_lib_prefix=no
16318      ;;
16319    motorola)
16320      need_lib_prefix=no
16321      need_version=no
16322      shlibpath_overrides_runpath=no
16323      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16324      ;;
16325  esac
16326  ;;
16327
16328sysv4*MP*)
16329  if test -d /usr/nec; then
16330    version_type=linux # correct to gnu/linux during the next big refactor
16331    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16332    soname_spec='$libname$shared_ext.$major'
16333    shlibpath_var=LD_LIBRARY_PATH
16334  fi
16335  ;;
16336
16337sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16338  version_type=sco
16339  need_lib_prefix=no
16340  need_version=no
16341  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16342  soname_spec='$libname$release$shared_ext$major'
16343  shlibpath_var=LD_LIBRARY_PATH
16344  shlibpath_overrides_runpath=yes
16345  hardcode_into_libs=yes
16346  if test yes = "$with_gnu_ld"; then
16347    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16348  else
16349    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16350    case $host_os in
16351      sco3.2v5*)
16352        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16353	;;
16354    esac
16355  fi
16356  sys_lib_dlsearch_path_spec='/usr/lib'
16357  ;;
16358
16359tpf*)
16360  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16361  version_type=linux # correct to gnu/linux during the next big refactor
16362  need_lib_prefix=no
16363  need_version=no
16364  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16365  shlibpath_var=LD_LIBRARY_PATH
16366  shlibpath_overrides_runpath=no
16367  hardcode_into_libs=yes
16368  ;;
16369
16370uts4*)
16371  version_type=linux # correct to gnu/linux during the next big refactor
16372  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16373  soname_spec='$libname$release$shared_ext$major'
16374  shlibpath_var=LD_LIBRARY_PATH
16375  ;;
16376
16377*)
16378  dynamic_linker=no
16379  ;;
16380esac
16381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16382$as_echo "$dynamic_linker" >&6; }
16383test no = "$dynamic_linker" && can_build_shared=no
16384
16385variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16386if test yes = "$GCC"; then
16387  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16388fi
16389
16390if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16391  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16392fi
16393
16394if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16395  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16396fi
16397
16398# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16399configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16400
16401# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16402func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16403
16404# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16405configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16447$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16448hardcode_action_CXX=
16449if test -n "$hardcode_libdir_flag_spec_CXX" ||
16450   test -n "$runpath_var_CXX" ||
16451   test yes = "$hardcode_automatic_CXX"; then
16452
16453  # We can hardcode non-existent directories.
16454  if test no != "$hardcode_direct_CXX" &&
16455     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16456     # have to relink, otherwise we might link with an installed library
16457     # when we should be linking with a yet-to-be-installed one
16458     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16459     test no != "$hardcode_minus_L_CXX"; then
16460    # Linking always hardcodes the temporary library directory.
16461    hardcode_action_CXX=relink
16462  else
16463    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16464    hardcode_action_CXX=immediate
16465  fi
16466else
16467  # We cannot hardcode anything, or else we can only hardcode existing
16468  # directories.
16469  hardcode_action_CXX=unsupported
16470fi
16471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16472$as_echo "$hardcode_action_CXX" >&6; }
16473
16474if test relink = "$hardcode_action_CXX" ||
16475   test yes = "$inherit_rpath_CXX"; then
16476  # Fast installation is not supported
16477  enable_fast_install=no
16478elif test yes = "$shlibpath_overrides_runpath" ||
16479     test no = "$enable_shared"; then
16480  # Fast installation is not necessary
16481  enable_fast_install=needless
16482fi
16483
16484
16485
16486
16487
16488
16489
16490  fi # test -n "$compiler"
16491
16492  CC=$lt_save_CC
16493  CFLAGS=$lt_save_CFLAGS
16494  LDCXX=$LD
16495  LD=$lt_save_LD
16496  GCC=$lt_save_GCC
16497  with_gnu_ld=$lt_save_with_gnu_ld
16498  lt_cv_path_LDCXX=$lt_cv_path_LD
16499  lt_cv_path_LD=$lt_save_path_LD
16500  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16501  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16502fi # test yes != "$_lt_caught_CXX_error"
16503
16504ac_ext=c
16505ac_cpp='$CPP $CPPFLAGS'
16506ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16508ac_compiler_gnu=$ac_cv_c_compiler_gnu
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524        ac_config_commands="$ac_config_commands libtool"
16525
16526
16527
16528
16529# Only expand once:
16530
16531
16532
16533
16534
16535Home=`pwd`
16536
16537
16538@%:@ Check whether --enable-debug was given.
16539if test "${enable_debug+set}" = set; then :
16540  enableval=$enable_debug;
16541else
16542  enable_debug=no
16543fi
16544
16545@%:@ Check whether --enable-gprof was given.
16546if test "${enable_gprof+set}" = set; then :
16547  enableval=$enable_gprof;
16548else
16549  enable_gprof=no
16550fi
16551
16552@%:@ Check whether --enable-visibility was given.
16553if test "${enable_visibility+set}" = set; then :
16554  enableval=$enable_visibility;
16555else
16556  enable_visibility=no
16557fi
16558
16559@%:@ Check whether --enable-universal_binary was given.
16560if test "${enable_universal_binary+set}" = set; then :
16561  enableval=$enable_universal_binary;
16562else
16563  enable_universal_binary=no
16564fi
16565
16566@%:@ Check whether --enable-arch-ppc was given.
16567if test "${enable_arch_ppc+set}" = set; then :
16568  enableval=$enable_arch_ppc;
16569else
16570  enable_arch_ppc=no
16571fi
16572
16573@%:@ Check whether --enable-arch-ppc64 was given.
16574if test "${enable_arch_ppc64+set}" = set; then :
16575  enableval=$enable_arch_ppc64;
16576else
16577  enable_arch_ppc64=no
16578fi
16579
16580@%:@ Check whether --enable-arch-i386 was given.
16581if test "${enable_arch_i386+set}" = set; then :
16582  enableval=$enable_arch_i386;
16583else
16584  enable_arch_i386=no
16585fi
16586
16587@%:@ Check whether --enable-arch-x86_64 was given.
16588if test "${enable_arch_x86_64+set}" = set; then :
16589  enableval=$enable_arch_x86_64;
16590else
16591  enable_arch_x86_64=no
16592fi
16593
16594@%:@ Check whether --enable-arch-armv7 was given.
16595if test "${enable_arch_armv7+set}" = set; then :
16596  enableval=$enable_arch_armv7;
16597else
16598  enable_arch_armv7=no
16599fi
16600
16601@%:@ Check whether --enable-arch-armv7s was given.
16602if test "${enable_arch_armv7s+set}" = set; then :
16603  enableval=$enable_arch_armv7s;
16604else
16605  enable_arch_armv7s=no
16606fi
16607
16608@%:@ Check whether --enable-arch-arm64 was given.
16609if test "${enable_arch_arm64+set}" = set; then :
16610  enableval=$enable_arch_arm64;
16611else
16612  enable_arch_arm64=no
16613fi
16614
16615@%:@ Check whether --enable-staticlibs was given.
16616if test "${enable_staticlibs+set}" = set; then :
16617  enableval=$enable_staticlibs;
16618else
16619  enable_staticlibs=no
16620fi
16621
16622@%:@ Check whether --enable-minimize-size was given.
16623if test "${enable_minimize_size+set}" = set; then :
16624  enableval=$enable_minimize_size; MediaInfoMinimizeSize=$enableval
16625else
16626  MediaInfoMinimizeSize=depend
16627fi
16628
16629@%:@ Check whether --enable-minimal was given.
16630if test "${enable_minimal+set}" = set; then :
16631  enableval=$enable_minimal; MediaInfoMinimal=$enableval
16632else
16633  MediaInfoMinimal=depend
16634fi
16635
16636@%:@ Check whether --enable-trace was given.
16637if test "${enable_trace+set}" = set; then :
16638  enableval=$enable_trace; MediaInfoTrace=$enableval
16639else
16640  MediaInfoTrace=depend
16641fi
16642
16643@%:@ Check whether --enable-events was given.
16644if test "${enable_events+set}" = set; then :
16645  enableval=$enable_events; MediaInfoEvents=$enableval
16646else
16647  MediaInfoEvents=depend
16648fi
16649
16650@%:@ Check whether --enable-demux was given.
16651if test "${enable_demux+set}" = set; then :
16652  enableval=$enable_demux; MediaInfoDemux=$enableval
16653else
16654  MediaInfoDemux=depend
16655fi
16656
16657@%:@ Check whether --enable-libmms-describe-support was given.
16658if test "${enable_libmms_describe_support+set}" = set; then :
16659  enableval=$enable_libmms_describe_support; MediaInfoLibmmsDescribeSupport=$enableval
16660else
16661  MediaInfoLibmmsDescribeSupport=depend
16662fi
16663
16664@%:@ Check whether --enable-dll was given.
16665if test "${enable_dll+set}" = set; then :
16666  enableval=$enable_dll; MediaInfoDll=$enableval
16667else
16668  MediaInfoDll=depend
16669fi
16670
16671@%:@ Check whether --enable-jni was given.
16672if test "${enable_jni+set}" = set; then :
16673  enableval=$enable_jni; MediaInfoJni=$enableval
16674else
16675  MediaInfoJni=depend
16676fi
16677
16678@%:@ Check whether --enable-all was given.
16679if test "${enable_all+set}" = set; then :
16680  enableval=$enable_all; MediaInfoAll=$enableval
16681else
16682  MediaInfoAll=depend
16683fi
16684
16685@%:@ Check whether --enable-archive was given.
16686if test "${enable_archive+set}" = set; then :
16687  enableval=$enable_archive; MediaInfoArchive=$enableval
16688else
16689  MediaInfoArchive=depend
16690fi
16691
16692@%:@ Check whether --enable-audio was given.
16693if test "${enable_audio+set}" = set; then :
16694  enableval=$enable_audio; MediaInfoAudio=$enableval
16695else
16696  MediaInfoAudio=depend
16697fi
16698
16699@%:@ Check whether --enable-image was given.
16700if test "${enable_image+set}" = set; then :
16701  enableval=$enable_image; MediaInfoImage=$enableval
16702else
16703  MediaInfoImage=depend
16704fi
16705
16706@%:@ Check whether --enable-multi was given.
16707if test "${enable_multi+set}" = set; then :
16708  enableval=$enable_multi; MediaInfoMulti=$enableval
16709else
16710  MediaInfoMulti=depend
16711fi
16712
16713@%:@ Check whether --enable-tag was given.
16714if test "${enable_tag+set}" = set; then :
16715  enableval=$enable_tag; MediaInfoTag=$enableval
16716else
16717  MediaInfoTag=depend
16718fi
16719
16720@%:@ Check whether --enable-text was given.
16721if test "${enable_text+set}" = set; then :
16722  enableval=$enable_text; MediaInfoText=$enableval
16723else
16724  MediaInfoText=depend
16725fi
16726
16727@%:@ Check whether --enable-video was given.
16728if test "${enable_video+set}" = set; then :
16729  enableval=$enable_video; MediaInfoVideo=$enableval
16730else
16731  MediaInfoVideo=depend
16732fi
16733
16734@%:@ Check whether --enable-7z was given.
16735if test "${enable_7z+set}" = set; then :
16736  enableval=$enable_7z; MediaInfo7z=$enableval
16737else
16738  MediaInfo7z=depend
16739fi
16740
16741@%:@ Check whether --enable-ace was given.
16742if test "${enable_ace+set}" = set; then :
16743  enableval=$enable_ace; MediaInfoAce=$enableval
16744else
16745  MediaInfoAce=depend
16746fi
16747
16748@%:@ Check whether --enable-bzip2 was given.
16749if test "${enable_bzip2+set}" = set; then :
16750  enableval=$enable_bzip2; MediaInfoBzip2=$enableval
16751else
16752  MediaInfoBzip2=depend
16753fi
16754
16755@%:@ Check whether --enable-elf was given.
16756if test "${enable_elf+set}" = set; then :
16757  enableval=$enable_elf; MediaInfoElf=$enableval
16758else
16759  MediaInfoElf=depend
16760fi
16761
16762@%:@ Check whether --enable-gzip was given.
16763if test "${enable_gzip+set}" = set; then :
16764  enableval=$enable_gzip; MediaInfoGzip=$enableval
16765else
16766  MediaInfoGzip=depend
16767fi
16768
16769@%:@ Check whether --enable-iso9660 was given.
16770if test "${enable_iso9660+set}" = set; then :
16771  enableval=$enable_iso9660; MediaInfoIso9660=$enableval
16772else
16773  MediaInfoIso9660=depend
16774fi
16775
16776@%:@ Check whether --enable-mz was given.
16777if test "${enable_mz+set}" = set; then :
16778  enableval=$enable_mz; MediaInfoMz=$enableval
16779else
16780  MediaInfoMz=depend
16781fi
16782
16783@%:@ Check whether --enable-rar was given.
16784if test "${enable_rar+set}" = set; then :
16785  enableval=$enable_rar; MediaInfoRar=$enableval
16786else
16787  MediaInfoRar=depend
16788fi
16789
16790@%:@ Check whether --enable-tar was given.
16791if test "${enable_tar+set}" = set; then :
16792  enableval=$enable_tar; MediaInfoTar=$enableval
16793else
16794  MediaInfoTar=depend
16795fi
16796
16797@%:@ Check whether --enable-zip was given.
16798if test "${enable_zip+set}" = set; then :
16799  enableval=$enable_zip; MediaInfoZip=$enableval
16800else
16801  MediaInfoZip=depend
16802fi
16803
16804@%:@ Check whether --enable-aac was given.
16805if test "${enable_aac+set}" = set; then :
16806  enableval=$enable_aac; MediaInfoAac=$enableval
16807else
16808  MediaInfoAac=depend
16809fi
16810
16811@%:@ Check whether --enable-ac3 was given.
16812if test "${enable_ac3+set}" = set; then :
16813  enableval=$enable_ac3; MediaInfoAc3=$enableval
16814else
16815  MediaInfoAc3=depend
16816fi
16817
16818@%:@ Check whether --enable-adif was given.
16819if test "${enable_adif+set}" = set; then :
16820  enableval=$enable_adif; MediaInfoAdif=$enableval
16821else
16822  MediaInfoAdif=depend
16823fi
16824
16825@%:@ Check whether --enable-adpcm was given.
16826if test "${enable_adpcm+set}" = set; then :
16827  enableval=$enable_adpcm; MediaInfoAdpcm=$enableval
16828else
16829  MediaInfoAdpcm=depend
16830fi
16831
16832@%:@ Check whether --enable-adts was given.
16833if test "${enable_adts+set}" = set; then :
16834  enableval=$enable_adts; MediaInfoAdts=$enableval
16835else
16836  MediaInfoAdts=depend
16837fi
16838
16839@%:@ Check whether --enable-aes3 was given.
16840if test "${enable_aes3+set}" = set; then :
16841  enableval=$enable_aes3; MediaInfoAdts=$enableval
16842else
16843  MediaInfoAes3=depend
16844fi
16845
16846@%:@ Check whether --enable-als was given.
16847if test "${enable_als+set}" = set; then :
16848  enableval=$enable_als; MediaInfoAls=$enableval
16849else
16850  MediaInfoAls=depend
16851fi
16852
16853@%:@ Check whether --enable-amr was given.
16854if test "${enable_amr+set}" = set; then :
16855  enableval=$enable_amr; MediaInfoAmr=$enableval
16856else
16857  MediaInfoAmr=depend
16858fi
16859
16860@%:@ Check whether --enable-amv was given.
16861if test "${enable_amv+set}" = set; then :
16862  enableval=$enable_amv; MediaInfoAmv=$enableval
16863else
16864  MediaInfoAmv=depend
16865fi
16866
16867@%:@ Check whether --enable-ape was given.
16868if test "${enable_ape+set}" = set; then :
16869  enableval=$enable_ape; MediaInfoApe=$enableval
16870else
16871  MediaInfoApe=depend
16872fi
16873
16874@%:@ Check whether --enable-au was given.
16875if test "${enable_au+set}" = set; then :
16876  enableval=$enable_au; MediaInfoAu=$enableval
16877else
16878  MediaInfoAu=depend
16879fi
16880
16881@%:@ Check whether --enable-caf was given.
16882if test "${enable_caf+set}" = set; then :
16883  enableval=$enable_caf; MediaInfoCAf=$enableval
16884else
16885  MediaInfoCaf=depend
16886fi
16887
16888@%:@ Check whether --enable-celt was given.
16889if test "${enable_celt+set}" = set; then :
16890  enableval=$enable_celt; MediaInfoCelt=$enableval
16891else
16892  MediaInfoCelt=depend
16893fi
16894
16895@%:@ Check whether --enable-dts was given.
16896if test "${enable_dts+set}" = set; then :
16897  enableval=$enable_dts; MediaInfoDts=$enableval
16898else
16899  MediaInfoDts=depend
16900fi
16901
16902@%:@ Check whether --enable-flac was given.
16903if test "${enable_flac+set}" = set; then :
16904  enableval=$enable_flac; MediaInfoFlac=$enableval
16905else
16906  MediaInfoFlac=depend
16907fi
16908
16909@%:@ Check whether --enable-la was given.
16910if test "${enable_la+set}" = set; then :
16911  enableval=$enable_la; MediaInfoLa=$enableval
16912else
16913  MediaInfoLa=depend
16914fi
16915
16916@%:@ Check whether --enable-latm was given.
16917if test "${enable_latm+set}" = set; then :
16918  enableval=$enable_latm; MediaInfoLatm=$enableval
16919else
16920  MediaInfoLatm=depend
16921fi
16922
16923@%:@ Check whether --enable-midi was given.
16924if test "${enable_midi+set}" = set; then :
16925  enableval=$enable_midi; MediaInfoMidi=$enableval
16926else
16927  MediaInfoMidi=depend
16928fi
16929
16930@%:@ Check whether --enable-mpc was given.
16931if test "${enable_mpc+set}" = set; then :
16932  enableval=$enable_mpc; MediaInfoMpc=$enableval
16933else
16934  MediaInfoMpc=depend
16935fi
16936
16937@%:@ Check whether --enable-mpcsv8 was given.
16938if test "${enable_mpcsv8+set}" = set; then :
16939  enableval=$enable_mpcsv8; MediaInfoMpcSv8=$enableval
16940else
16941  MediaInfoMpcSv8=depend
16942fi
16943
16944@%:@ Check whether --enable-mpega was given.
16945if test "${enable_mpega+set}" = set; then :
16946  enableval=$enable_mpega; MediaInfoMpega=$enableval
16947else
16948  MediaInfoMpega=depend
16949fi
16950
16951@%:@ Check whether --enable-openmf was given.
16952if test "${enable_openmf+set}" = set; then :
16953  enableval=$enable_openmf; MediaInfoOpenMG=$enableval
16954else
16955  MediaInfoOpenMG=depend
16956fi
16957
16958@%:@ Check whether --enable-pcm was given.
16959if test "${enable_pcm+set}" = set; then :
16960  enableval=$enable_pcm; MediaInfoPcm=$enableval
16961else
16962  MediaInfoPcm=depend
16963fi
16964
16965@%:@ Check whether --enable-ps2a was given.
16966if test "${enable_ps2a+set}" = set; then :
16967  enableval=$enable_ps2a; MediaInfoPs2a=$enableval
16968else
16969  MediaInfoPs2a=depend
16970fi
16971
16972@%:@ Check whether --enable-rkau was given.
16973if test "${enable_rkau+set}" = set; then :
16974  enableval=$enable_rkau; MediaInfoRkau=$enableval
16975else
16976  MediaInfoRkau=depend
16977fi
16978
16979@%:@ Check whether --enable-speex was given.
16980if test "${enable_speex+set}" = set; then :
16981  enableval=$enable_speex; MediaInfoSpeex=$enableval
16982else
16983  MediaInfoSpeex=depend
16984fi
16985
16986@%:@ Check whether --enable-tak was given.
16987if test "${enable_tak+set}" = set; then :
16988  enableval=$enable_tak; MediaInfoTak=$enableval
16989else
16990  MediaInfoTak=depend
16991fi
16992
16993@%:@ Check whether --enable-tta was given.
16994if test "${enable_tta+set}" = set; then :
16995  enableval=$enable_tta; MediaInfoTta=$enableval
16996else
16997  MediaInfoTta=depend
16998fi
16999
17000@%:@ Check whether --enable-twinvq was given.
17001if test "${enable_twinvq+set}" = set; then :
17002  enableval=$enable_twinvq; MediaInfoTwinVQ=$enableval
17003else
17004  MediaInfoTwinVQ=depend
17005fi
17006
17007@%:@ Check whether --enable-vorbis was given.
17008if test "${enable_vorbis+set}" = set; then :
17009  enableval=$enable_vorbis; MediaInfovorbis=$enableval
17010else
17011  MediaInfovorbis=depend
17012fi
17013
17014@%:@ Check whether --enable-wvpk was given.
17015if test "${enable_wvpk+set}" = set; then :
17016  enableval=$enable_wvpk; MediaInfoWvpk=$enableval
17017else
17018  MediaInfoWvpk=depend
17019fi
17020
17021@%:@ Check whether --enable-arriraw was given.
17022if test "${enable_arriraw+set}" = set; then :
17023  enableval=$enable_arriraw; MediaInfoArriRaw=$enableval
17024else
17025  MediaInfoArriRaw=depend
17026fi
17027
17028@%:@ Check whether --enable-bmp was given.
17029if test "${enable_bmp+set}" = set; then :
17030  enableval=$enable_bmp; MediaInfoBmp=$enableval
17031else
17032  MediaInfoBmp=depend
17033fi
17034
17035@%:@ Check whether --enable-bpg was given.
17036if test "${enable_bpg+set}" = set; then :
17037  enableval=$enable_bpg; MediaInfoBpg=$enableval
17038else
17039  MediaInfoBpg=depend
17040fi
17041
17042@%:@ Check whether --enable-dds was given.
17043if test "${enable_dds+set}" = set; then :
17044  enableval=$enable_dds; MediaInfoDds=$enableval
17045else
17046  MediaInfoDds=depend
17047fi
17048
17049@%:@ Check whether --enable-dpx was given.
17050if test "${enable_dpx+set}" = set; then :
17051  enableval=$enable_dpx; MediaInfoDpx=$enableval
17052else
17053  MediaInfoDpx=depend
17054fi
17055
17056@%:@ Check whether --enable-exr was given.
17057if test "${enable_exr+set}" = set; then :
17058  enableval=$enable_exr; MediaInfoExr=$enableval
17059else
17060  MediaInfoExr=depend
17061fi
17062
17063@%:@ Check whether --enable-gif was given.
17064if test "${enable_gif+set}" = set; then :
17065  enableval=$enable_gif; MediaInfoGif=$enableval
17066else
17067  MediaInfoGif=depend
17068fi
17069
17070@%:@ Check whether --enable-ico was given.
17071if test "${enable_ico+set}" = set; then :
17072  enableval=$enable_ico; MediaInfoIco=$enableval
17073else
17074  MediaInfoIco=depend
17075fi
17076
17077@%:@ Check whether --enable-jpeg was given.
17078if test "${enable_jpeg+set}" = set; then :
17079  enableval=$enable_jpeg; MediaInfoJpeg=$enableval
17080else
17081  MediaInfoJpeg=depend
17082fi
17083
17084@%:@ Check whether --enable-pcx was given.
17085if test "${enable_pcx+set}" = set; then :
17086  enableval=$enable_pcx; MediaInfoPcx=$enableval
17087else
17088  MediaInfoPcx=depend
17089fi
17090
17091@%:@ Check whether --enable-png was given.
17092if test "${enable_png+set}" = set; then :
17093  enableval=$enable_png; MediaInfoPng=$enableval
17094else
17095  MediaInfoPng=depend
17096fi
17097
17098@%:@ Check whether --enable-psd was given.
17099if test "${enable_psd+set}" = set; then :
17100  enableval=$enable_psd; MediaInfoPsd=$enableval
17101else
17102  MediaInfoPsd=depend
17103fi
17104
17105@%:@ Check whether --enable-rle was given.
17106if test "${enable_rle+set}" = set; then :
17107  enableval=$enable_rle; MediaInfoRle=$enableval
17108else
17109  MediaInfoRle=depend
17110fi
17111
17112@%:@ Check whether --enable-tiff was given.
17113if test "${enable_tiff+set}" = set; then :
17114  enableval=$enable_tiff; MediaInfoTiff=$enableval
17115else
17116  MediaInfoTiff=depend
17117fi
17118
17119@%:@ Check whether --enable-aaf was given.
17120if test "${enable_aaf+set}" = set; then :
17121  enableval=$enable_aaf; MediaInfoAaf=$enableval
17122else
17123  MediaInfoAaf=depend
17124fi
17125
17126@%:@ Check whether --enable-bdav was given.
17127if test "${enable_bdav+set}" = set; then :
17128  enableval=$enable_bdav; MediaInfoBdav=$enableval
17129else
17130  MediaInfoBdav=depend
17131fi
17132
17133@%:@ Check whether --enable-bdmv was given.
17134if test "${enable_bdmv+set}" = set; then :
17135  enableval=$enable_bdmv; MediaInfoBdmv=$enableval
17136else
17137  MediaInfoBdmv=depend
17138fi
17139
17140@%:@ Check whether --enable-cdxa was given.
17141if test "${enable_cdxa+set}" = set; then :
17142  enableval=$enable_cdxa; MediaInfoCdxa=$enableval
17143else
17144  MediaInfoCdxa=depend
17145fi
17146
17147@%:@ Check whether --enable-dashmpd was given.
17148if test "${enable_dashmpd+set}" = set; then :
17149  enableval=$enable_dashmpd; MediaInfoDashMpd=$enableval
17150else
17151  MediaInfoDashMpd=depend
17152fi
17153
17154@%:@ Check whether --enable-dcp was given.
17155if test "${enable_dcp+set}" = set; then :
17156  enableval=$enable_dcp; MediaInfoDcp=$enableval
17157else
17158  MediaInfoDcp=depend
17159fi
17160
17161@%:@ Check whether --enable-dpg was given.
17162if test "${enable_dpg+set}" = set; then :
17163  enableval=$enable_dpg; MediaInfoDpg=$enableval
17164else
17165  MediaInfoDpg=depend
17166fi
17167
17168@%:@ Check whether --enable-references was given.
17169if test "${enable_references+set}" = set; then :
17170  enableval=$enable_references; MediaInfoReferences=$enableval
17171else
17172  MediaInfoReferences=depend
17173fi
17174
17175@%:@ Check whether --enable-dvdif was given.
17176if test "${enable_dvdif+set}" = set; then :
17177  enableval=$enable_dvdif; MediaInfoDvDif=$enableval
17178else
17179  MediaInfoDvDif=depend
17180fi
17181
17182@%:@ Check whether --enable-dvdif-analyze was given.
17183if test "${enable_dvdif_analyze+set}" = set; then :
17184  enableval=$enable_dvdif_analyze; MediaInfoDvDifAnalyze=$enableval
17185else
17186  MediaInfoDvDifAnalyze=depend
17187fi
17188
17189@%:@ Check whether --enable-dvdv was given.
17190if test "${enable_dvdv+set}" = set; then :
17191  enableval=$enable_dvdv; MediaInfoDvdv=$enableval
17192else
17193  MediaInfoDvdv=depend
17194fi
17195
17196@%:@ Check whether --enable-dxw was given.
17197if test "${enable_dxw+set}" = set; then :
17198  enableval=$enable_dxw; MediaInfoDxw=$enableval
17199else
17200  MediaInfoDxw=depend
17201fi
17202
17203@%:@ Check whether --enable-flv was given.
17204if test "${enable_flv+set}" = set; then :
17205  enableval=$enable_flv; MediaInfoFlv=$enableval
17206else
17207  MediaInfoFlv=depend
17208fi
17209
17210@%:@ Check whether --enable-gxf was given.
17211if test "${enable_gxf+set}" = set; then :
17212  enableval=$enable_gxf; MediaInfoGxf=$enableval
17213else
17214  MediaInfoGxf=depend
17215fi
17216
17217@%:@ Check whether --enable-hdsf4m was given.
17218if test "${enable_hdsf4m+set}" = set; then :
17219  enableval=$enable_hdsf4m; MediaInfoHdsF4m=$enableval
17220else
17221  MediaInfoHdsf4m=depend
17222fi
17223
17224@%:@ Check whether --enable-hls was given.
17225if test "${enable_hls+set}" = set; then :
17226  enableval=$enable_hls; MediaInfoHls=$enableval
17227else
17228  MediaInfoHls=depend
17229fi
17230
17231@%:@ Check whether --enable-mk was given.
17232if test "${enable_mk+set}" = set; then :
17233  enableval=$enable_mk; MediaInfoMk=$enableval
17234else
17235  MediaInfoMk=depend
17236fi
17237
17238@%:@ Check whether --enable-mixml was given.
17239if test "${enable_mixml+set}" = set; then :
17240  enableval=$enable_mixml; MediaInfoMiXml=$enableval
17241else
17242  MediaInfoMiXml=depend
17243fi
17244
17245@%:@ Check whether --enable-mpeg4 was given.
17246if test "${enable_mpeg4+set}" = set; then :
17247  enableval=$enable_mpeg4; MediaInfoMpeg4=$enableval
17248else
17249  MediaInfoMpeg4=depend
17250fi
17251
17252@%:@ Check whether --enable-mpegps was given.
17253if test "${enable_mpegps+set}" = set; then :
17254  enableval=$enable_mpegps; MediaInfoMpegPs=$enableval
17255else
17256  MediaInfoMpegPs=depend
17257fi
17258
17259@%:@ Check whether --enable-mpegts was given.
17260if test "${enable_mpegts+set}" = set; then :
17261  enableval=$enable_mpegts; MediaInfoMpegTs=$enableval
17262else
17263  MediaInfoMpegTs=depend
17264fi
17265
17266@%:@ Check whether --enable-mpegts-pcr was given.
17267if test "${enable_mpegts_pcr+set}" = set; then :
17268  enableval=$enable_mpegts_pcr; MediaInfoMpegTsPcr=$enableval
17269else
17270  MediaInfoMpegTsPcr=depend
17271fi
17272
17273@%:@ Check whether --enable-mpegts-pestimestamp was given.
17274if test "${enable_mpegts_pestimestamp+set}" = set; then :
17275  enableval=$enable_mpegts_pestimestamp; MediaInfoMpegTsPesTimeStamp=$enableval
17276else
17277  MediaInfoMpegTsPesTimeStamp=depend
17278fi
17279
17280@%:@ Check whether --enable-mxf was given.
17281if test "${enable_mxf+set}" = set; then :
17282  enableval=$enable_mxf; MediaInfoMxf=$enableval
17283else
17284  MediaInfoMxf=depend
17285fi
17286
17287@%:@ Check whether --enable-nut was given.
17288if test "${enable_nut+set}" = set; then :
17289  enableval=$enable_nut; MediaInfoNut=$enableval
17290else
17291  MediaInfoNut=depend
17292fi
17293
17294@%:@ Check whether --enable-ogg was given.
17295if test "${enable_ogg+set}" = set; then :
17296  enableval=$enable_ogg; MediaInfoOgg=$enableval
17297else
17298  MediaInfoOgg=depend
17299fi
17300
17301@%:@ Check whether --enable-pmp was given.
17302if test "${enable_pmp+set}" = set; then :
17303  enableval=$enable_pmp; MediaInfoPmp=$enableval
17304else
17305  MediaInfoPmp=depend
17306fi
17307
17308@%:@ Check whether --enable-riff was given.
17309if test "${enable_riff+set}" = set; then :
17310  enableval=$enable_riff; MediaInfoRiff=$enableval
17311else
17312  MediaInfoRiff=depend
17313fi
17314
17315@%:@ Check whether --enable-rm was given.
17316if test "${enable_rm+set}" = set; then :
17317  enableval=$enable_rm; MediaInfoRm=$enableval
17318else
17319  MediaInfoRm=depend
17320fi
17321
17322@%:@ Check whether --enable-skm was given.
17323if test "${enable_skm+set}" = set; then :
17324  enableval=$enable_skm; MediaInfoSkm=$enableval
17325else
17326  MediaInfoSkm=depend
17327fi
17328
17329@%:@ Check whether --enable-swf was given.
17330if test "${enable_swf+set}" = set; then :
17331  enableval=$enable_swf; MediaInfoSwf=$enableval
17332else
17333  MediaInfoSwf=depend
17334fi
17335
17336@%:@ Check whether --enable-tsp was given.
17337if test "${enable_tsp+set}" = set; then :
17338  enableval=$enable_tsp; MediaInfoTsp=$enableval
17339else
17340  MediaInfoTsp=depend
17341fi
17342
17343@%:@ Check whether --enable-wm was given.
17344if test "${enable_wm+set}" = set; then :
17345  enableval=$enable_wm; MediaInfoWm=$enableval
17346else
17347  MediaInfoWm=depend
17348fi
17349
17350@%:@ Check whether --enable-apetag was given.
17351if test "${enable_apetag+set}" = set; then :
17352  enableval=$enable_apetag; MediaInfoApeTag=$enableval
17353else
17354  MediaInfoApeTag=depend
17355fi
17356
17357@%:@ Check whether --enable-Id3 was given.
17358if test "${enable_Id3+set}" = set; then :
17359  enableval=$enable_Id3; MediaInfoId3=$enableval
17360else
17361  MediaInfoId3=depend
17362fi
17363
17364@%:@ Check whether --enable-Id3v2 was given.
17365if test "${enable_Id3v2+set}" = set; then :
17366  enableval=$enable_Id3v2; MediaInfoId3v2=$enableval
17367else
17368  MediaInfoId3v2=depend
17369fi
17370
17371@%:@ Check whether --enable-Lyrics3 was given.
17372if test "${enable_Lyrics3+set}" = set; then :
17373  enableval=$enable_Lyrics3; MediaInfoLyrics3=$enableval
17374else
17375  MediaInfoLyrics3=depend
17376fi
17377
17378@%:@ Check whether --enable-Lyrics3v2 was given.
17379if test "${enable_Lyrics3v2+set}" = set; then :
17380  enableval=$enable_Lyrics3v2; MediaInfoLyrics3v2=$enableval
17381else
17382  MediaInfoLyrics3v2=depend
17383fi
17384
17385@%:@ Check whether --enable-VorbisCom was given.
17386if test "${enable_VorbisCom+set}" = set; then :
17387  enableval=$enable_VorbisCom; MediaInfoVorbisCom=$enableval
17388else
17389  MediaInfoVorbisCom=depend
17390fi
17391
17392@%:@ Check whether --enable-cmml was given.
17393if test "${enable_cmml+set}" = set; then :
17394  enableval=$enable_cmml; MediaInfoCmml=$enableval
17395else
17396  MediaInfoCmml=depend
17397fi
17398
17399@%:@ Check whether --enable-dvbsubtitle was given.
17400if test "${enable_dvbsubtitle+set}" = set; then :
17401  enableval=$enable_dvbsubtitle; MediaInfoDvbSubtitle=$enableval
17402else
17403  MediaInfoDvbSubtitle=depend
17404fi
17405
17406@%:@ Check whether --enable-aribstdb24b37 was given.
17407if test "${enable_aribstdb24b37+set}" = set; then :
17408  enableval=$enable_aribstdb24b37; MediaInfoaribstdb24b37=$enableval
17409else
17410  MediaInfoaribstdb24b37=depend
17411fi
17412
17413@%:@ Check whether --enable-eia608 was given.
17414if test "${enable_eia608+set}" = set; then :
17415  enableval=$enable_eia608; MediaInfoEia608=$enableval
17416else
17417  MediaInfoEia608=depend
17418fi
17419
17420@%:@ Check whether --enable-eia708 was given.
17421if test "${enable_eia708+set}" = set; then :
17422  enableval=$enable_eia708; MediaInfoEia708=$enableval
17423else
17424  MediaInfoEia708=depend
17425fi
17426
17427@%:@ Check whether --enable-subrip was given.
17428if test "${enable_subrip+set}" = set; then :
17429  enableval=$enable_subrip; MediaInfoSubRip=$enableval
17430else
17431  MediaInfoSubRip=depend
17432fi
17433
17434@%:@ Check whether --enable-teletext was given.
17435if test "${enable_teletext+set}" = set; then :
17436  enableval=$enable_teletext; MediaInfoTeletext=$enableval
17437else
17438  MediaInfoTeletext=depend
17439fi
17440
17441@%:@ Check whether --enable-timedtext was given.
17442if test "${enable_timedtext+set}" = set; then :
17443  enableval=$enable_timedtext; MediaInfoTimedText=$enableval
17444else
17445  MediaInfoTimedText=depend
17446fi
17447
17448@%:@ Check whether --enable-ttml was given.
17449if test "${enable_ttml+set}" = set; then :
17450  enableval=$enable_ttml; MediaInfoTtml=$enableval
17451else
17452  MediaInfoTtml=depend
17453fi
17454
17455@%:@ Check whether --enable-kate was given.
17456if test "${enable_kate+set}" = set; then :
17457  enableval=$enable_kate; MediaInfoKate=$enableval
17458else
17459  MediaInfoKate=depend
17460fi
17461
17462@%:@ Check whether --enable-pdf was given.
17463if test "${enable_pdf+set}" = set; then :
17464  enableval=$enable_pdf; MediaInfoPdf=$enableval
17465else
17466  MediaInfoPdf=depend
17467fi
17468
17469@%:@ Check whether --enable-pgs was given.
17470if test "${enable_pgs+set}" = set; then :
17471  enableval=$enable_pgs; MediaInfoPgs=$enableval
17472else
17473  MediaInfoPgs=depend
17474fi
17475
17476@%:@ Check whether --enable-scc was given.
17477if test "${enable_scc+set}" = set; then :
17478  enableval=$enable_scc; MediaInfoScc=$enableval
17479else
17480  MediaInfoScc=depend
17481fi
17482
17483@%:@ Check whether --enable-aic was given.
17484if test "${enable_aic+set}" = set; then :
17485  enableval=$enable_aic; MediaInfoAic=$enableval
17486else
17487  MediaInfoAic=depend
17488fi
17489
17490@%:@ Check whether --enable-av1 was given.
17491if test "${enable_av1+set}" = set; then :
17492  enableval=$enable_av1; MediaInfoAv1=$enableval
17493else
17494  MediaInfoAv1=depend
17495fi
17496
17497@%:@ Check whether --enable-avc was given.
17498if test "${enable_avc+set}" = set; then :
17499  enableval=$enable_avc; MediaInfoAvc=$enableval
17500else
17501  MediaInfoAvc=depend
17502fi
17503
17504@%:@ Check whether --enable-avsV was given.
17505if test "${enable_avsV+set}" = set; then :
17506  enableval=$enable_avsV; MediaInfoAvsV=$enableval
17507else
17508  MediaInfoAvsV=depend
17509fi
17510
17511@%:@ Check whether --enable-canopus was given.
17512if test "${enable_canopus+set}" = set; then :
17513  enableval=$enable_canopus; MediaInfoCanopus=$enableval
17514else
17515  MediaInfoCanopus=depend
17516fi
17517
17518@%:@ Check whether --enable-ffv1 was given.
17519if test "${enable_ffv1+set}" = set; then :
17520  enableval=$enable_ffv1; MediaInfoFfv1=$enableval
17521else
17522  MediaInfoFfv1=depend
17523fi
17524
17525@%:@ Check whether --enable-flic was given.
17526if test "${enable_flic+set}" = set; then :
17527  enableval=$enable_flic; MediaInfoFlic=$enableval
17528else
17529  MediaInfoFlic=depend
17530fi
17531
17532@%:@ Check whether --enable-h263 was given.
17533if test "${enable_h263+set}" = set; then :
17534  enableval=$enable_h263; MediaInfoH263=$enableval
17535else
17536  MediaInfoH263=depend
17537fi
17538
17539@%:@ Check whether --enable-hevc was given.
17540if test "${enable_hevc+set}" = set; then :
17541  enableval=$enable_hevc; MediaInfoHevc=$enableval
17542else
17543  MediaInfoHevc=depend
17544fi
17545
17546@%:@ Check whether --enable-huffyuv was given.
17547if test "${enable_huffyuv+set}" = set; then :
17548  enableval=$enable_huffyuv; MediaInfoHuffYUV=$enableval
17549else
17550  MediaInfoHuffYUV=depend
17551fi
17552
17553@%:@ Check whether --enable-mpeg4v was given.
17554if test "${enable_mpeg4v+set}" = set; then :
17555  enableval=$enable_mpeg4v; MediaInfoMpeg4v=$enableval
17556else
17557  MediaInfoMpeg4v=depend
17558fi
17559
17560@%:@ Check whether --enable-mpegv was given.
17561if test "${enable_mpegv+set}" = set; then :
17562  enableval=$enable_mpegv; MediaInfoMpegv=$enableval
17563else
17564  MediaInfoMpegv=depend
17565fi
17566
17567@%:@ Check whether --enable-prores was given.
17568if test "${enable_prores+set}" = set; then :
17569  enableval=$enable_prores; MediaInfoProRes=$enableval
17570else
17571  MediaInfoProRes=depend
17572fi
17573
17574@%:@ Check whether --enable-theora was given.
17575if test "${enable_theora+set}" = set; then :
17576  enableval=$enable_theora; MediaInfoTheora=$enableval
17577else
17578  MediaInfoTheora=depend
17579fi
17580
17581@%:@ Check whether --enable-vc1 was given.
17582if test "${enable_vc1+set}" = set; then :
17583  enableval=$enable_vc1; MediaInfoVc1=$enableval
17584else
17585  MediaInfoVc1=depend
17586fi
17587
17588@%:@ Check whether --enable-vc3 was given.
17589if test "${enable_vc3+set}" = set; then :
17590  enableval=$enable_vc3; MediaInfoVc3=$enableval
17591else
17592  MediaInfoVc3=depend
17593fi
17594
17595@%:@ Check whether --enable-vp8 was given.
17596if test "${enable_vp8+set}" = set; then :
17597  enableval=$enable_vp8; MediaInfovp8=$enableval
17598else
17599  MediaInfovp8=depend
17600fi
17601
17602@%:@ Check whether --enable-y4m was given.
17603if test "${enable_y4m+set}" = set; then :
17604  enableval=$enable_y4m; MediaInfoy4m=$enableval
17605else
17606  MediaInfoy4m=depend
17607fi
17608
17609
17610
17611@%:@ Check whether --with-macosx-sdk was given.
17612if test "${with_macosx_sdk+set}" = set; then :
17613  withval=$with_macosx_sdk;
17614else
17615  with_macosx_sdk=no
17616fi
17617
17618
17619@%:@ Check whether --with-macosx-version-min was given.
17620if test "${with_macosx_version_min+set}" = set; then :
17621  withval=$with_macosx_version_min;
17622else
17623  with_macosx_version_min=no
17624fi
17625
17626
17627@%:@ Check whether --with-iphoneos-sdk was given.
17628if test "${with_iphoneos_sdk+set}" = set; then :
17629  withval=$with_iphoneos_sdk;
17630else
17631  with_iphoneos_sdk=no
17632fi
17633
17634
17635@%:@ Check whether --with-iphoneos-version-min was given.
17636if test "${with_iphoneos_version_min+set}" = set; then :
17637  withval=$with_iphoneos_version_min;
17638else
17639  with_iphoneos_version_min=no
17640fi
17641
17642
17643@%:@ Check whether --with-libz_static was given.
17644if test "${with_libz_static+set}" = set; then :
17645  withval=$with_libz_static;
17646else
17647  with_libz_static=no
17648fi
17649
17650
17651@%:@ Check whether --with-graphviz was given.
17652if test "${with_graphviz+set}" = set; then :
17653  withval=$with_graphviz;
17654else
17655  with_graphviz=no
17656fi
17657
17658
17659@%:@ Check whether --with-libcurl was given.
17660if test "${with_libcurl+set}" = set; then :
17661  withval=$with_libcurl;
17662else
17663  with_libcurl=no
17664fi
17665
17666
17667@%:@ Check whether --with-libmms was given.
17668if test "${with_libmms+set}" = set; then :
17669  withval=$with_libmms;
17670else
17671  with_libmms=no
17672fi
17673
17674
17675@%:@ Check whether --with-libaes was given.
17676if test "${with_libaes+set}" = set; then :
17677  withval=$with_libaes;
17678else
17679  with_libaes=depend
17680fi
17681
17682
17683@%:@ Check whether --with-libmd5 was given.
17684if test "${with_libmd5+set}" = set; then :
17685  withval=$with_libmd5;
17686else
17687  with_libmd5=depend
17688fi
17689
17690
17691@%:@ Check whether --with-libsha1 was given.
17692if test "${with_libsha1+set}" = set; then :
17693  withval=$with_libsha1;
17694else
17695  with_libsha1=depend
17696fi
17697
17698
17699@%:@ Check whether --with-libsha2 was given.
17700if test "${with_libsha2+set}" = set; then :
17701  withval=$with_libsha2;
17702else
17703  with_libsha2=depend
17704fi
17705
17706
17707@%:@ Check whether --with-libhmac was given.
17708if test "${with_libhmac+set}" = set; then :
17709  withval=$with_libhmac;
17710else
17711  with_libhmac=depend
17712fi
17713
17714
17715@%:@ Check whether --with-libtinyxml2 was given.
17716if test "${with_libtinyxml2+set}" = set; then :
17717  withval=$with_libtinyxml2;
17718else
17719  with_libtinyxml2=depend
17720fi
17721
17722
17723@%:@ Check whether --with-libmediainfo-name was given.
17724if test "${with_libmediainfo_name+set}" = set; then :
17725  withval=$with_libmediainfo_name;
17726else
17727  with_libmediainfo_name=mediainfo
17728fi
17729
17730
17731if test "$MediaInfoMinimizeSize" = "yes";  then $as_echo "@%:@define MEDIAINFO_MINIMIZESIZE 1" >>confdefs.h
17732 fi
17733if test "$MediaInfoMinimal" = "no";  then $as_echo "@%:@define MEDIAINFO_MINIMAL_NO 1" >>confdefs.h
17734 fi; if test "$MediaInfoMinimal" = "yes"; then $as_echo "@%:@define MEDIAINFO_MINIMAL_YES 1" >>confdefs.h
17735 fi
17736if test "$MediaInfoTrace"   = "no";  then $as_echo "@%:@define MEDIAINFO_TRACE_NO 1" >>confdefs.h
17737   fi; if test "$MediaInfoTrace"   = "yes"; then $as_echo "@%:@define MEDIAINFO_TRACE_YES 1" >>confdefs.h
17738   fi
17739if test "$MediaInfoEvents"  = "no";  then $as_echo "@%:@define MEDIAINFO_EVENTS_NO 1" >>confdefs.h
17740  fi; if test "$MediaInfoEvents"  = "yes"; then $as_echo "@%:@define MEDIAINFO_EVENTS_YES 1" >>confdefs.h
17741  fi
17742if test "$MediaInfoDemux"   = "no";  then $as_echo "@%:@define MEDIAINFO_DEMUX_NO 1" >>confdefs.h
17743   fi; if test "$MediaInfoDemux"   = "yes"; then $as_echo "@%:@define MEDIAINFO_DEMUX_YES 1" >>confdefs.h
17744   fi
17745if test "$MediaInfoJni"     = "no";  then $as_echo "@%:@define MEDIAINFO_JNI_NO 1" >>confdefs.h
17746     fi; if test "$MediaInfoJni"     = "yes"; then $as_echo "@%:@define MEDIAINFO_JNI_YES 1" >>confdefs.h
17747   fi
17748if test "$MediaInfoLibmmsDescribeSupport" = "yes"; then $as_echo "@%:@define MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT 1" >>confdefs.h
17749   fi
17750if test "$MediaInfoAll"     = "no";  then $as_echo "@%:@define MEDIAINFO_ALL_NO 1" >>confdefs.h
17751     fi
17752if test "$MediaInfoArchive" = "no";  then $as_echo "@%:@define MEDIAINFO_ARCHIVE_NO 1" >>confdefs.h
17753 fi
17754if test "$MediaInfoAudio"   = "no";  then $as_echo "@%:@define MEDIAINFO_AUDIO_NO 1" >>confdefs.h
17755   fi
17756if test "$MediaInfoImage"   = "no";  then $as_echo "@%:@define MEDIAINFO_IMAGE_NO 1" >>confdefs.h
17757   fi
17758if test "$MediaInfoMulti"   = "no";  then $as_echo "@%:@define MEDIAINFO_MULTI_NO 1" >>confdefs.h
17759   fi
17760if test "$MediaInfoText"    = "no";  then $as_echo "@%:@define MEDIAINFO_TAG_NO 1" >>confdefs.h
17761     fi
17762if test "$MediaInfoText"    = "no";  then $as_echo "@%:@define MEDIAINFO_TEXT_NO 1" >>confdefs.h
17763    fi
17764if test "$MediaInfoVideo"   = "no";  then $as_echo "@%:@define MEDIAINFO_VIDEO_NO 1" >>confdefs.h
17765   fi
17766if test "$MediaInfo7z"      = "no";  then $as_echo "@%:@define MEDIAINFO_7Z_NO 1" >>confdefs.h
17767      fi; if test "$MediaInfo7z"      = "yes"; then $as_echo "@%:@define MEDIAINFO_7Z_YES 1" >>confdefs.h
17768      fi
17769if test "$MediaInfoAce"     = "no";  then $as_echo "@%:@define MEDIAINFO_ACE_NO 1" >>confdefs.h
17770     fi; if test "$MediaInfoAce"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ACE_YES 1" >>confdefs.h
17771     fi
17772if test "$MediaInfoBzip2"   = "no";  then $as_echo "@%:@define MEDIAINFO_BZIP2_NO 1" >>confdefs.h
17773   fi; if test "$MediaInfoBzip2"   = "yes"; then $as_echo "@%:@define MEDIAINFO_BZIP2_YES 1" >>confdefs.h
17774   fi
17775if test "$MediaInfoElf"     = "no";  then $as_echo "@%:@define MEDIAINFO_ELF_NO 1" >>confdefs.h
17776     fi; if test "$MediaInfoElf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ELF_YES 1" >>confdefs.h
17777     fi
17778if test "$MediaInfoGzip"    = "no";  then $as_echo "@%:@define MEDIAINFO_GZIP_NO 1" >>confdefs.h
17779    fi; if test "$MediaInfoGzip"    = "yes"; then $as_echo "@%:@define MEDIAINFO_GZIP_YES 1" >>confdefs.h
17780    fi
17781if test "$MediaInfoIso9660" = "no";  then $as_echo "@%:@define MEDIAINFO_ISO9660_NO 1" >>confdefs.h
17782 fi; if test "$MediaInfoIso9660" = "yes"; then $as_echo "@%:@define MEDIAINFO_ISO9660_YES 1" >>confdefs.h
17783 fi
17784if test "$MediaInfoMz"      = "no";  then $as_echo "@%:@define MEDIAINFO_MZ_NO 1" >>confdefs.h
17785      fi; if test "$MediaInfoMz"      = "yes"; then $as_echo "@%:@define MEDIAINFO_MZ_YES 1" >>confdefs.h
17786      fi
17787if test "$MediaInfoRar"     = "no";  then $as_echo "@%:@define MEDIAINFO_RAR_NO 1" >>confdefs.h
17788     fi; if test "$MediaInfoRar"     = "yes"; then $as_echo "@%:@define MEDIAINFO_RAR_YES 1" >>confdefs.h
17789     fi
17790if test "$MediaInfoTar"     = "no";  then $as_echo "@%:@define MEDIAINFO_TAR_NO 1" >>confdefs.h
17791     fi; if test "$MediaInfoTar"     = "yes"; then $as_echo "@%:@define MEDIAINFO_TAR_YES 1" >>confdefs.h
17792     fi
17793if test "$MediaInfoZip"     = "no";  then $as_echo "@%:@define MEDIAINFO_ZIP_NO 1" >>confdefs.h
17794     fi; if test "$MediaInfoZip"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ZIP_YES 1" >>confdefs.h
17795     fi
17796if test "$MediaInfoAac"     = "no";  then $as_echo "@%:@define MEDIAINFO_AAC_NO 1" >>confdefs.h
17797     fi; if test "$MediaInfoAac"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AAC_YES 1" >>confdefs.h
17798     fi
17799if test "$MediaInfoAc3"     = "no";  then $as_echo "@%:@define MEDIAINFO_AC3_NO 1" >>confdefs.h
17800     fi; if test "$MediaInfoAc3"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AC3_YES 1" >>confdefs.h
17801     fi
17802if test "$MediaInfoAdif"    = "no";  then $as_echo "@%:@define MEDIAINFO_ADIF_NO 1" >>confdefs.h
17803    fi; if test "$MediaInfoAdif"    = "yes"; then $as_echo "@%:@define MEDIAINFO_ADIF_YES 1" >>confdefs.h
17804    fi
17805if test "$MediaInfoAdpcm"   = "no";  then $as_echo "@%:@define MEDIAINFO_ADPCM_NO 1" >>confdefs.h
17806   fi; if test "$MediaInfoAdpcm"   = "yes"; then $as_echo "@%:@define MEDIAINFO_ADPCM_YES 1" >>confdefs.h
17807   fi
17808if test "$MediaInfoAdts"    = "no";  then $as_echo "@%:@define MEDIAINFO_ADTS_NO 1" >>confdefs.h
17809    fi; if test "$MediaInfoAdts"    = "yes"; then $as_echo "@%:@define MEDIAINFO_ADTS_YES 1" >>confdefs.h
17810    fi
17811if test "$MediaInfoAes3"    = "no";  then $as_echo "@%:@define MEDIAINFO_AES3_NO 1" >>confdefs.h
17812    fi; if test "$MediaInfoAes3"    = "yes"; then $as_echo "@%:@define MEDIAINFO_AES3_YES 1" >>confdefs.h
17813    fi
17814if test "$MediaInfoAls"     = "no";  then $as_echo "@%:@define MEDIAINFO_ALS_NO 1" >>confdefs.h
17815     fi; if test "$MediaInfoAls"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ALS_YES 1" >>confdefs.h
17816     fi
17817if test "$MediaInfoAmr"     = "no";  then $as_echo "@%:@define MEDIAINFO_AMR_NO 1" >>confdefs.h
17818     fi; if test "$MediaInfoAmr"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AMR_YES 1" >>confdefs.h
17819     fi
17820if test "$MediaInfoAmv"     = "no";  then $as_echo "@%:@define MEDIAINFO_AMV_NO 1" >>confdefs.h
17821     fi; if test "$MediaInfoAmv"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AMV_YES 1" >>confdefs.h
17822     fi
17823if test "$MediaInfoApe"     = "no";  then $as_echo "@%:@define MEDIAINFO_APE_NO 1" >>confdefs.h
17824     fi; if test "$MediaInfoApe"     = "yes"; then $as_echo "@%:@define MEDIAINFO_APE_YES 1" >>confdefs.h
17825     fi
17826if test "$MediaInfoAu"      = "no";  then $as_echo "@%:@define MEDIAINFO_AU_NO 1" >>confdefs.h
17827      fi; if test "$MediaInfoAu"      = "yes"; then $as_echo "@%:@define MEDIAINFO_AU_YES 1" >>confdefs.h
17828      fi
17829if test "$MediaInfoCaf"     = "no";  then $as_echo "@%:@define MEDIAINFO_CAF_NO 1" >>confdefs.h
17830     fi; if test "$MediaInfoCaf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_CAF_YES 1" >>confdefs.h
17831     fi
17832if test "$MediaInfoCelt"    = "no";  then $as_echo "@%:@define MEDIAINFO_CELT_NO 1" >>confdefs.h
17833    fi; if test "$MediaInfoCelt"    = "yes"; then $as_echo "@%:@define MEDIAINFO_CELT_YES 1" >>confdefs.h
17834    fi
17835if test "$MediaInfoDts"     = "no";  then $as_echo "@%:@define MEDIAINFO_DTS_NO 1" >>confdefs.h
17836     fi; if test "$MediaInfoDts"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DTS_YES 1" >>confdefs.h
17837     fi
17838if test "$MediaInfoFlac"    = "no";  then $as_echo "@%:@define MEDIAINFO_FLAC_NO 1" >>confdefs.h
17839    fi; if test "$MediaInfoFlac"    = "yes"; then $as_echo "@%:@define MEDIAINFO_FLAC_YES 1" >>confdefs.h
17840    fi
17841if test "$MediaInfoLa"      = "no";  then $as_echo "@%:@define MEDIAINFO_LA_NO 1" >>confdefs.h
17842      fi; if test "$MediaInfoLa"      = "yes"; then $as_echo "@%:@define MEDIAINFO_LA_YES 1" >>confdefs.h
17843      fi
17844if test "$MediaInfoLatm"    = "no";  then $as_echo "@%:@define MEDIAINFO_LATM_NO 1" >>confdefs.h
17845    fi; if test "$MediaInfoLatm"    = "yes"; then $as_echo "@%:@define MEDIAINFO_LATM_YES 1" >>confdefs.h
17846    fi
17847if test "$MediaInfoMidi"    = "no";  then $as_echo "@%:@define MEDIAINFO_MIDO_NO 1" >>confdefs.h
17848    fi; if test "$MediaInfoMidi"    = "yes"; then $as_echo "@%:@define MEDIAINFO_MIDI_YES 1" >>confdefs.h
17849    fi
17850if test "$MediaInfoMpc"     = "no";  then $as_echo "@%:@define MEDIAINFO_MPC_NO 1" >>confdefs.h
17851     fi; if test "$MediaInfoMpc"     = "yes"; then $as_echo "@%:@define MEDIAINFO_MPC_YES 1" >>confdefs.h
17852     fi
17853if test "$MediaInfoMpcSv8"  = "no";  then $as_echo "@%:@define MEDIAINFO_MPCSV8_NO 1" >>confdefs.h
17854  fi; if test "$MediaInfoMpcSv8"  = "yes"; then $as_echo "@%:@define MEDIAINFO_MPCSV8_YES 1" >>confdefs.h
17855  fi
17856if test "$MediaInfoMpega"   = "no";  then $as_echo "@%:@define MEDIAINFO_MPEGA_NO 1" >>confdefs.h
17857   fi; if test "$MediaInfoMpega"   = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGA_YES 1" >>confdefs.h
17858   fi
17859if test "$MediaInfoOpenMG"  = "no";  then $as_echo "@%:@define MEDIAINFO_OPENMG_NO 1" >>confdefs.h
17860  fi; if test "$MediaInfoOpenMG"  = "yes"; then $as_echo "@%:@define MEDIAINFO_OPENMG_YES 1" >>confdefs.h
17861  fi
17862if test "$MediaInfoPcm"     = "no";  then $as_echo "@%:@define MEDIAINFO_PCM_NO 1" >>confdefs.h
17863     fi; if test "$MediaInfoPcm"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PCM_YES 1" >>confdefs.h
17864     fi
17865if test "$MediaInfoPs2a"    = "no";  then $as_echo "@%:@define MEDIAINFO_PS2A_NO 1" >>confdefs.h
17866    fi; if test "$MediaInfoPs2a"    = "yes"; then $as_echo "@%:@define MEDIAINFO_PS2A_YES 1" >>confdefs.h
17867    fi
17868if test "$MediaInfoRkau"    = "no";  then $as_echo "@%:@define MEDIAINFO_RKAU_NO 1" >>confdefs.h
17869    fi; if test "$MediaInfoRkau"    = "yes"; then $as_echo "@%:@define MEDIAINFO_RKAU_YES 1" >>confdefs.h
17870    fi
17871if test "$MediaInfoSpeex"   = "no";  then $as_echo "@%:@define MEDIAINFO_SPEEX_NO 1" >>confdefs.h
17872   fi; if test "$MediaInfoSpeex"   = "yes"; then $as_echo "@%:@define MEDIAINFO_SPEEX_YES 1" >>confdefs.h
17873   fi
17874if test "$MediaInfoTak"     = "no";  then $as_echo "@%:@define MEDIAINFO_TAK_NO 1" >>confdefs.h
17875     fi; if test "$MediaInfoTak"     = "yes"; then $as_echo "@%:@define MEDIAINFO_TAK_YES 1" >>confdefs.h
17876     fi
17877if test "$MediaInfoTta"     = "no";  then $as_echo "@%:@define MEDIAINFO_TTA_NO 1" >>confdefs.h
17878     fi; if test "$MediaInfoTta"     = "yes"; then $as_echo "@%:@define MEDIAINFO_TTA_YES 1" >>confdefs.h
17879     fi
17880if test "$MediaInfoTwinVQ"  = "no";  then $as_echo "@%:@define MEDIAINFO_TWINVQ_NO 1" >>confdefs.h
17881  fi; if test "$MediaInfoTwinVQ"  = "yes"; then $as_echo "@%:@define MEDIAINFO_TWINVQ_YES 1" >>confdefs.h
17882  fi
17883if test "$MediaInfoVorbis"  = "no";  then $as_echo "@%:@define MEDIAINFO_VORBIS_NO 1" >>confdefs.h
17884  fi; if test "$MediaInfoVorbis"  = "yes"; then $as_echo "@%:@define MEDIAINFO_VORBIS_YES 1" >>confdefs.h
17885  fi
17886if test "$MediaInfoWvpk"    = "no";  then $as_echo "@%:@define MEDIAINFO_WVPK_NO 1" >>confdefs.h
17887    fi; if test "$MediaInfoWvpk"    = "yes"; then $as_echo "@%:@define MEDIAINFO_WVPK_YES 1" >>confdefs.h
17888    fi
17889if test "$MediaInfoArriRaw" = "no";  then $as_echo "@%:@define MEDIAINFO_ARRIRAW_NO 1" >>confdefs.h
17890 fi; if test "$MediaInfoArriRaw" = "yes"; then $as_echo "@%:@define MEDIAINFO_ARRIRAW_YES 1" >>confdefs.h
17891 fi
17892if test "$MediaInfoBmp"     = "no";  then $as_echo "@%:@define MEDIAINFO_BMP_NO 1" >>confdefs.h
17893     fi; if test "$MediaInfoBmp"     = "yes"; then $as_echo "@%:@define MEDIAINFO_BMP_YES 1" >>confdefs.h
17894     fi
17895if test "$MediaInfoBpg"     = "no";  then $as_echo "@%:@define MEDIAINFO_BPG_NO 1" >>confdefs.h
17896     fi; if test "$MediaInfoBpg"     = "yes"; then $as_echo "@%:@define MEDIAINFO_BPG_YES 1" >>confdefs.h
17897     fi
17898if test "$MediaInfoDds"     = "no";  then $as_echo "@%:@define MEDIAINFO_DDS_NO 1" >>confdefs.h
17899     fi; if test "$MediaInfoDds"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DDS_YES 1" >>confdefs.h
17900     fi
17901if test "$MediaInfoDpx"     = "no";  then $as_echo "@%:@define MEDIAINFO_DPX_NO 1" >>confdefs.h
17902     fi; if test "$MediaInfoDpx"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DPX_YES 1" >>confdefs.h
17903     fi
17904if test "$MediaInfoExr"     = "no";  then $as_echo "@%:@define MEDIAINFO_EXR_NO 1" >>confdefs.h
17905     fi; if test "$MediaInfoExr"     = "yes"; then $as_echo "@%:@define MEDIAINFO_EXR_YES 1" >>confdefs.h
17906     fi
17907if test "$MediaInfoGif"     = "no";  then $as_echo "@%:@define MEDIAINFO_GIF_NO 1" >>confdefs.h
17908     fi; if test "$MediaInfoGif"     = "yes"; then $as_echo "@%:@define MEDIAINFO_GIF_YES 1" >>confdefs.h
17909     fi
17910if test "$MediaInfoIco"     = "no";  then $as_echo "@%:@define MEDIAINFO_ICO_NO 1" >>confdefs.h
17911     fi; if test "$MediaInfoIco"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ICO_YES 1" >>confdefs.h
17912     fi
17913if test "$MediaInfoJpeg"    = "no";  then $as_echo "@%:@define MEDIAINFO_JPEG_NO 1" >>confdefs.h
17914    fi; if test "$MediaInfoJpeg"    = "yes"; then $as_echo "@%:@define MEDIAINFO_JPEG_YES 1" >>confdefs.h
17915    fi
17916if test "$MediaInfoPcx"     = "no";  then $as_echo "@%:@define MEDIAINFO_PCX_NO 1" >>confdefs.h
17917     fi; if test "$MediaInfoPcx"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PCX_YES 1" >>confdefs.h
17918     fi
17919if test "$MediaInfoPng"     = "no";  then $as_echo "@%:@define MEDIAINFO_PNG_NO 1" >>confdefs.h
17920     fi; if test "$MediaInfoPng"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PNG_YES 1" >>confdefs.h
17921     fi
17922if test "$MediaInfoPsd"     = "no";  then $as_echo "@%:@define MEDIAINFO_PSD_NO 1" >>confdefs.h
17923     fi; if test "$MediaInfoPsd"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PSD_YES 1" >>confdefs.h
17924     fi
17925if test "$MediaInfoTiff"    = "no";  then $as_echo "@%:@define MEDIAINFO_TIFF_NO 1" >>confdefs.h
17926    fi; if test "$MediaInfoTiff"    = "yes"; then $as_echo "@%:@define MEDIAINFO_TIFF_YES 1" >>confdefs.h
17927    fi
17928if test "$MediaInfoAaf"     = "no";  then $as_echo "@%:@define MEDIAINFO_AAF_NO 1" >>confdefs.h
17929     fi; if test "$MediaInfoAaf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AAF_YES 1" >>confdefs.h
17930     fi
17931if test "$MediaInfoBdav"    = "no";  then $as_echo "@%:@define MEDIAINFO_BDAV_NO 1" >>confdefs.h
17932    fi; if test "$MediaInfoBdav"    = "yes"; then $as_echo "@%:@define MEDIAINFO_BDAV_YES 1" >>confdefs.h
17933    fi
17934if test "$MediaInfoBdmv"    = "no";  then $as_echo "@%:@define MEDIAINFO_BDMV_NO 1" >>confdefs.h
17935    fi; if test "$MediaInfoBdmv"    = "yes"; then $as_echo "@%:@define MEDIAINFO_BDMV_YES 1" >>confdefs.h
17936    fi
17937if test "$MediaInfoCdxa"    = "no";  then $as_echo "@%:@define MEDIAINFO_CDXA_NO 1" >>confdefs.h
17938    fi; if test "$MediaInfoCdxa"    = "yes"; then $as_echo "@%:@define MEDIAINFO_CDXA_YES 1" >>confdefs.h
17939    fi
17940if test "$MediaInfoDashMpd" = "no";  then $as_echo "@%:@define MEDIAINFO_DASHMPD_NO 1" >>confdefs.h
17941 fi; if test "$MediaInfoDashMpd" = "yes"; then $as_echo "@%:@define MEDIAINFO_DASHMPD_YES 1" >>confdefs.h
17942 fi
17943if test "$MediaInfoDcp"     = "no";  then $as_echo "@%:@define MEDIAINFO_DCP_NO 1" >>confdefs.h
17944     fi; if test "$MediaInfoDcp"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DCP_YES 1" >>confdefs.h
17945     fi
17946if test "$MediaInfoDpg"     = "no";  then $as_echo "@%:@define MEDIAINFO_DPG_NO 1" >>confdefs.h
17947     fi; if test "$MediaInfoDpg"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DPG_YES 1" >>confdefs.h
17948     fi
17949if test "$MediaInfoReferences" = "no";  then $as_echo "@%:@define MEDIAINFO_REFERENCES_NO 1" >>confdefs.h
17950   fi; if test "$MediaInfoReferences" = "yes"; then $as_echo "@%:@define MEDIAINFO_REFERENCES_YES 1" >>confdefs.h
17951   fi
17952if test "$MediaInfoDvDif"   = "no";  then $as_echo "@%:@define MEDIAINFO_DVDIF_NO 1" >>confdefs.h
17953   fi; if test "$MediaInfoDvDif"   = "yes"; then $as_echo "@%:@define MEDIAINFO_DVDIF_YES 1" >>confdefs.h
17954   fi
17955if test "$MediaInfoDvDifAnalyze" = "no";  then $as_echo "@%:@define MEDIAINFO_DVDIF_ANALYZE_NO 1" >>confdefs.h
17956   fi; if test "$MediaInfoDvDifAnalyze" = "yes"; then $as_echo "@%:@define MEDIAINFO_DVDIF_ANALYZE_YES 1" >>confdefs.h
17957 fi
17958if test "$MediaInfoDvdv"    = "no";  then $as_echo "@%:@define MEDIAINFO_DVDV_NO 1" >>confdefs.h
17959    fi; if test "$MediaInfoDvdv"    = "yes"; then $as_echo "@%:@define MEDIAINFO_DVDV_YES 1" >>confdefs.h
17960    fi
17961if test "$MediaInfoDxw"     = "no";  then $as_echo "@%:@define MEDIAINFO_DXW_NO 1" >>confdefs.h
17962     fi; if test "$MediaInfoDxw"     = "yes"; then $as_echo "@%:@define MEDIAINFO_DXW_YES 1" >>confdefs.h
17963     fi
17964if test "$MediaInfoFlv"     = "no";  then $as_echo "@%:@define MEDIAINFO_FLV_NO 1" >>confdefs.h
17965     fi; if test "$MediaInfoFlv"     = "yes"; then $as_echo "@%:@define MEDIAINFO_FLV_YES 1" >>confdefs.h
17966     fi
17967if test "$MediaInfoGxf"     = "no";  then $as_echo "@%:@define MEDIAINFO_GXF_NO 1" >>confdefs.h
17968     fi; if test "$MediaInfoGxf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_GXF_YES 1" >>confdefs.h
17969     fi
17970if test "$MediaInfohdsF4m"  = "no";  then $as_echo "@%:@define MEDIAINFO_HDSF4M_NO 1" >>confdefs.h
17971  fi; if test "$MediaInfoHdsF4m"  = "yes"; then $as_echo "@%:@define MEDIAINFO_HDSF4M_YES 1" >>confdefs.h
17972  fi
17973if test "$MediaInfoHls"     = "no";  then $as_echo "@%:@define MEDIAINFO_HLS_NO 1" >>confdefs.h
17974     fi; if test "$MediaInfoHls"     = "yes"; then $as_echo "@%:@define MEDIAINFO_HLS_YES 1" >>confdefs.h
17975     fi
17976if test "$MediaInfoMk"      = "no";  then $as_echo "@%:@define MEDIAINFO_MK_NO 1" >>confdefs.h
17977      fi; if test "$MediaInfoMk"      = "yes"; then $as_echo "@%:@define MEDIAINFO_MK_YES 1" >>confdefs.h
17978      fi
17979if test "$MediaInfoMiXml"   = "no";  then $as_echo "@%:@define MEDIAINFO_MIXML_NO 1" >>confdefs.h
17980   fi; if test "$MediaInfoMiXml"   = "yes"; then $as_echo "@%:@define MEDIAINFO_MIXML_YES 1" >>confdefs.h
17981   fi
17982if test "$MediaInfoMpeg4"   = "no";  then $as_echo "@%:@define MEDIAINFO_MPEG4_NO 1" >>confdefs.h
17983   fi; if test "$MediaInfoMpeg4"   = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEG4_YES 1" >>confdefs.h
17984   fi
17985if test "$MediaInfoMpegPs"  = "no";  then $as_echo "@%:@define MEDIAINFO_MPEGPS_NO 1" >>confdefs.h
17986  fi; if test "$MediaInfoMpegPs"  = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGPS_YES 1" >>confdefs.h
17987  fi
17988if test "$MediaInfoMpegTs"  = "no";  then $as_echo "@%:@define MEDIAINFO_MPEGTS_NO 1" >>confdefs.h
17989  fi; if test "$MediaInfoMpegTs"  = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGTS_YES 1" >>confdefs.h
17990  fi
17991if test "$MediaInfoMpegTsPcr" = "no"; then $as_echo "@%:@define MEDIAINFO_MPEGTS_PCR_NO 1" >>confdefs.h
17992  fi; if test "$MediaInfoMpegTs" = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGTS_PCR_YES 1" >>confdefs.h
17993 fi
17994if test "$MediaInfoMpegTsPesTimeStamp" = "no"; then $as_echo "@%:@define MEDIAINFO_MPEGTS_PESTIMESTAMP_NO 1" >>confdefs.h
17995  fi; if test "$MediaInfoMpegTs" = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGTS_PESTIMESTAMP_YES 1" >>confdefs.h
17996 fi
17997if test "$MediaInfoMxf"     = "no";  then $as_echo "@%:@define MEDIAINFO_MXF_NO 1" >>confdefs.h
17998     fi; if test "$MediaInfoMxf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_MXF_YES 1" >>confdefs.h
17999     fi
18000if test "$MediaInfoNut"     = "no";  then $as_echo "@%:@define MEDIAINFO_NUT_NO 1" >>confdefs.h
18001     fi; if test "$MediaInfoNut"     = "yes"; then $as_echo "@%:@define MEDIAINFO_NUT_YES 1" >>confdefs.h
18002     fi
18003if test "$MediaInfoOgg"     = "no";  then $as_echo "@%:@define MEDIAINFO_OGG_NO 1" >>confdefs.h
18004     fi; if test "$MediaInfoOgg"     = "yes"; then $as_echo "@%:@define MEDIAINFO_OGG_YES 1" >>confdefs.h
18005     fi
18006if test "$MediaInfoPmp"     = "no";  then $as_echo "@%:@define MEDIAINFO_PMP_NO 1" >>confdefs.h
18007     fi; if test "$MediaInfoPmp"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PMP_YES 1" >>confdefs.h
18008     fi
18009if test "$MediaInfoRiff"    = "no";  then $as_echo "@%:@define MEDIAINFO_RIFF_NO 1" >>confdefs.h
18010    fi; if test "$MediaInfoRiff"    = "yes"; then $as_echo "@%:@define MEDIAINFO_RIFF_YES 1" >>confdefs.h
18011    fi
18012if test "$MediaInfoRm"      = "no";  then $as_echo "@%:@define MEDIAINFO_RM_NO 1" >>confdefs.h
18013      fi; if test "$MediaInfoRm"      = "yes"; then $as_echo "@%:@define MEDIAINFO_RM_YES 1" >>confdefs.h
18014      fi
18015if test "$MediaInfoSkm"     = "no";  then $as_echo "@%:@define MEDIAINFO_SKM_NO 1" >>confdefs.h
18016     fi; if test "$MediaInfoSkm"     = "yes"; then $as_echo "@%:@define MEDIAINFO_SKM_YES 1" >>confdefs.h
18017     fi
18018if test "$MediaInfoSwf"     = "no";  then $as_echo "@%:@define MEDIAINFO_SWF_NO 1" >>confdefs.h
18019     fi; if test "$MediaInfoSwf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_SWF_YES 1" >>confdefs.h
18020     fi
18021if test "$MediaInfoTsp"     = "no";  then $as_echo "@%:@define MEDIAINFO_TSP_NO 1" >>confdefs.h
18022     fi; if test "$MediaInfoTsp"     = "yes"; then $as_echo "@%:@define MEDIAINFO_TSP_YES 1" >>confdefs.h
18023     fi
18024if test "$MediaInfoWm"      = "no";  then $as_echo "@%:@define MEDIAINFO_WM_NO 1" >>confdefs.h
18025      fi; if test "$MediaInfoWm"      = "yes"; then $as_echo "@%:@define MEDIAINFO_WM_YES 1" >>confdefs.h
18026      fi
18027if test "$MediaInfoApeTag"  = "no";  then $as_echo "@%:@define MEDIAINFO_APETAG_NO 1" >>confdefs.h
18028  fi; if test "$MediaInfoApeTag"  = "yes"; then $as_echo "@%:@define MEDIAINFO_APETAG_YES 1" >>confdefs.h
18029  fi
18030if test "$MediaInfoId3"     = "no";  then $as_echo "@%:@define MEDIAINFO_ID3_NO 1" >>confdefs.h
18031     fi; if test "$MediaInfoId3"     = "yes"; then $as_echo "@%:@define MEDIAINFO_ID3_YES 1" >>confdefs.h
18032     fi
18033if test "$MediaInfoId3v2"   = "no";  then $as_echo "@%:@define MEDIAINFO_ID3V2_NO 1" >>confdefs.h
18034   fi; if test "$MediaInfoId3v2"   = "yes"; then $as_echo "@%:@define MEDIAINFO_ID3V2_YES 1" >>confdefs.h
18035   fi
18036if test "$MediaInfoLyrics3" = "no";  then $as_echo "@%:@define MEDIAINFO_LYRICS3_NO 1" >>confdefs.h
18037 fi; if test "$MediaInfoLyrics3" = "yes"; then $as_echo "@%:@define MEDIAINFO_LYRICS3_YES 1" >>confdefs.h
18038 fi
18039if test "$MediaInfoLyrics3v2" = "no";  then $as_echo "@%:@define MEDIAINFO_LYRICS3V2_NO 1" >>confdefs.h
18040 fi; if test "$MediaInfoLyrics3v2" = "yes"; then $as_echo "@%:@define MEDIAINFO_LYRICS3V2_YES 1" >>confdefs.h
18041 fi
18042if test "$MediaInfoVorbisCom" = "no";  then $as_echo "@%:@define MEDIAINFO_VORBISCOM_NO 1" >>confdefs.h
18043 fi; if test "$MediaInfoVorbisCom" = "yes"; then $as_echo "@%:@define MEDIAINFO_VORBISCOM_YES 1" >>confdefs.h
18044 fi
18045if test "$MediaInfoCmml"    = "no";  then $as_echo "@%:@define MEDIAINFO_CMML_NO 1" >>confdefs.h
18046    fi; if test "$MediaInfoCmml"    = "yes"; then $as_echo "@%:@define MEDIAINFO_CMML_YES 1" >>confdefs.h
18047    fi
18048if test "$MediaInfoDvbSubtitle" = "no"; then $as_echo "@%:@define MEDIAINFO_DVBSUBTITLE_NO 1" >>confdefs.h
18049 fi; if test "$MediaInfoDvbSubtitle" = "yes"; then $as_echo "@%:@define MEDIAINFO_DVBSUBTITLE_YES 1" >>confdefs.h
18050  fi
18051if test "$MediaInfoaribstdb24b37" = "no"; then $as_echo "@%:@define MEDIAINFO_ARIBSTDB24B37_NO 1" >>confdefs.h
18052 fi; if test "$MediaInfoaribstdb24b37" = "yes"; then $as_echo "@%:@define MEDIAINFO_ARIBSTDB24B37_YES 1" >>confdefs.h
18053 fi
18054if test "$MediaInfoEia608"  = "no";  then $as_echo "@%:@define MEDIAINFO_EIA608_NO 1" >>confdefs.h
18055  fi; if test "$MediaInfoEia608"  = "yes"; then $as_echo "@%:@define MEDIAINFO_EIA608_YES 1" >>confdefs.h
18056  fi
18057if test "$MediaInfoEia708"  = "no";  then $as_echo "@%:@define MEDIAINFO_EIA708_NO 1" >>confdefs.h
18058  fi; if test "$MediaInfoEia708"  = "yes"; then $as_echo "@%:@define MEDIAINFO_EIA708_YES 1" >>confdefs.h
18059  fi
18060if test "$MediaInfoSubRip"  = "no";  then $as_echo "@%:@define MEDIAINFO_SUBRIP_NO 1" >>confdefs.h
18061  fi; if test "$MediaInfoSubRip"  = "yes"; then $as_echo "@%:@define MEDIAINFO_SUBRIP_YES 1" >>confdefs.h
18062 fi
18063if test "$MediaInfoTeletext" = "no";  then $as_echo "@%:@define MEDIAINFO_TELETEXT_NO 1" >>confdefs.h
18064 fi; if test "$MediaInfoTeletext" = "yes"; then $as_echo "@%:@define MEDIAINFO_TELETEXT_YES 1" >>confdefs.h
18065 fi
18066if test "$MediaInfoTimedText" = "no";  then $as_echo "@%:@define MEDIAINFO_TIMEDTEXT_NO 1" >>confdefs.h
18067    fi; if test "$MediaInfoTimedText"  = "yes"; then $as_echo "@%:@define MEDIAINFO_TIMEDTEXT_YES 1" >>confdefs.h
18068 fi
18069if test "$MediaInfoTtml"    = "no";  then $as_echo "@%:@define MEDIAINFO_TTML_NO 1" >>confdefs.h
18070    fi; if test "$MediaInfoTtml"    = "yes"; then $as_echo "@%:@define MEDIAINFO_TTML_YES 1" >>confdefs.h
18071 fi
18072if test "$MediaInfoKate"    = "no";  then $as_echo "@%:@define MEDIAINFO_KATE_NO 1" >>confdefs.h
18073    fi; if test "$MediaInfoKate"    = "yes"; then $as_echo "@%:@define MEDIAINFO_KATE_YES 1" >>confdefs.h
18074    fi
18075if test "$MediaInfoPdf"     = "no";  then $as_echo "@%:@define MEDIAINFO_PDF_NO 1" >>confdefs.h
18076     fi; if test "$MediaInfoPdf"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PDF_YES 1" >>confdefs.h
18077     fi
18078if test "$MediaInfoPgs"     = "no";  then $as_echo "@%:@define MEDIAINFO_PGS_NO 1" >>confdefs.h
18079     fi; if test "$MediaInfoPgs"     = "yes"; then $as_echo "@%:@define MEDIAINFO_PGS_YES 1" >>confdefs.h
18080     fi
18081if test "$MediaInfoScc"     = "no";  then $as_echo "@%:@define MEDIAINFO_SCC_NO 1" >>confdefs.h
18082     fi; if test "$MediaInfoScc"     = "yes"; then $as_echo "@%:@define MEDIAINFO_SCC_YES 1" >>confdefs.h
18083     fi
18084if test "$MediaInfoAic"     = "no";  then $as_echo "@%:@define MEDIAINFO_AIC_NO 1" >>confdefs.h
18085     fi; if test "$MediaInfoAic"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AIC_YES 1" >>confdefs.h
18086     fi
18087if test "$MediaInfoAv1"     = "no";  then $as_echo "@%:@define MEDIAINFO_AV1_NO 1" >>confdefs.h
18088     fi; if test "$MediaInfoAv1"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AV1_YES 1" >>confdefs.h
18089     fi
18090if test "$MediaInfoAvc"     = "no";  then $as_echo "@%:@define MEDIAINFO_AVC_NO 1" >>confdefs.h
18091     fi; if test "$MediaInfoAvc"     = "yes"; then $as_echo "@%:@define MEDIAINFO_AVC_YES 1" >>confdefs.h
18092     fi
18093if test "$MediaInfoAvsV"    = "no";  then $as_echo "@%:@define MEDIAINFO_AVSV_NO 1" >>confdefs.h
18094    fi; if test "$MediaInfoAvsV"    = "yes"; then $as_echo "@%:@define MEDIAINFO_AVSV_YES 1" >>confdefs.h
18095    fi
18096if test "$MediaInfoCanopus" = "no";  then $as_echo "@%:@define MEDIAINFO_CANOPUS_NO 1" >>confdefs.h
18097 fi; if test "$MediaInfoCanopus" = "yes"; then $as_echo "@%:@define MEDIAINFO_CANOPUS_YES 1" >>confdefs.h
18098 fi
18099if test "$MediaInfoFfv1"    = "no";  then $as_echo "@%:@define MEDIAINFO_FFV1_NO 1" >>confdefs.h
18100    fi; if test "$MediaInfoFfv1"    = "yes"; then $as_echo "@%:@define MEDIAINFO_FFV1_YES 1" >>confdefs.h
18101    fi
18102if test "$MediaInfoFlic"    = "no";  then $as_echo "@%:@define MEDIAINFO_FLIC_NO 1" >>confdefs.h
18103    fi; if test "$MediaInfoFlic"    = "yes"; then $as_echo "@%:@define MEDIAINFO_FLIC_YES 1" >>confdefs.h
18104    fi
18105if test "$MediaInfoH263"    = "no";  then $as_echo "@%:@define MEDIAINFO_H263_NO 1" >>confdefs.h
18106    fi; if test "$MediaInfoH263"    = "yes"; then $as_echo "@%:@define MEDIAINFO_H263_YES 1" >>confdefs.h
18107    fi
18108if test "$MediaInfoHevc"    = "no";  then $as_echo "@%:@define MEDIAINFO_HEVC_NO 1" >>confdefs.h
18109    fi; if test "$MediaInfoHevc"    = "yes"; then $as_echo "@%:@define MEDIAINFO_HEVC_YES 1" >>confdefs.h
18110    fi
18111if test "$MediaInfoHuffYUV" = "no";  then $as_echo "@%:@define MEDIAINFO_HUFFYUV_NO 1" >>confdefs.h
18112 fi; if test "$MediaInfoHuffYUV" = "yes"; then $as_echo "@%:@define MEDIAINFO_HUFFYUV_YES 1" >>confdefs.h
18113 fi
18114if test "$MediaInfoMpeg4v"  = "no";  then $as_echo "@%:@define MEDIAINFO_MPEG4V_NO 1" >>confdefs.h
18115  fi; if test "$MediaInfoMpeg4v"  = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEG4V_YES 1" >>confdefs.h
18116  fi
18117if test "$MediaInfoMpegv"   = "no";  then $as_echo "@%:@define MEDIAINFO_MPEGV_NO 1" >>confdefs.h
18118   fi; if test "$MediaInfoMpegv"   = "yes"; then $as_echo "@%:@define MEDIAINFO_MPEGV_YES 1" >>confdefs.h
18119   fi
18120if test "$MediaInfoProRes"  = "no";  then $as_echo "@%:@define MEDIAINFO_PRORES_NO 1" >>confdefs.h
18121  fi; if test "$MediaInfoProRes"  = "yes"; then $as_echo "@%:@define MEDIAINFO_PRORES_YES 1" >>confdefs.h
18122  fi
18123if test "$MediaInfoTheora"  = "no";  then $as_echo "@%:@define MEDIAINFO_THEORA_NO 1" >>confdefs.h
18124  fi; if test "$MediaInfoTheora"  = "yes"; then $as_echo "@%:@define MEDIAINFO_THEORA_YES 1" >>confdefs.h
18125  fi
18126if test "$MediaInfoVc1"     = "no";  then $as_echo "@%:@define MEDIAINFO_VC1_NO 1" >>confdefs.h
18127     fi; if test "$MediaInfoVc1"     = "yes"; then $as_echo "@%:@define MEDIAINFO_VC1_YES 1" >>confdefs.h
18128     fi
18129if test "$MediaInfoVc3"     = "no";  then $as_echo "@%:@define MEDIAINFO_VC3_NO 1" >>confdefs.h
18130     fi; if test "$MediaInfoVc3"     = "yes"; then $as_echo "@%:@define MEDIAINFO_VC3_YES 1" >>confdefs.h
18131     fi
18132if test "$MediaInfoVp8"     = "no";  then $as_echo "@%:@define MEDIAINFO_VP8_NO 1" >>confdefs.h
18133     fi; if test "$MediaInfoVp8"     = "yes"; then $as_echo "@%:@define MEDIAINFO_VP8_YES 1" >>confdefs.h
18134     fi
18135if test "$MediaInfoY4m"     = "no";  then $as_echo "@%:@define MEDIAINFO_Y4M_NO 1" >>confdefs.h
18136     fi; if test "$MediaInfoY4m"     = "yes"; then $as_echo "@%:@define MEDIAINFO_Y4M_YES 1" >>confdefs.h
18137     fi
18138
18139 if test "$MediaInfoDll" != "no"; then
18140  COMPILE_DLL_TRUE=
18141  COMPILE_DLL_FALSE='#'
18142else
18143  COMPILE_DLL_TRUE='#'
18144  COMPILE_DLL_FALSE=
18145fi
18146
18147
18148
18149if test -e ../../../../ZenLib/Project/GNU/Library/libzen-config; then
18150	enable_unicode="$(../../../../ZenLib/Project/GNU/Library/libzen-config Unicode)"
18151elif test "$(command -v libzen-config)" ; then
18152	enable_unicode="$(libzen-config Unicode)"
18153else
18154	if pkg-config --exists libzen; then
18155		enable_unicode="$(pkg-config --variable=Unicode libzen)"
18156	else
18157		as_fn_error $? "libzen configuration is not found" "$LINENO" 5
18158	fi
18159fi
18160
18161
18162
18163if test "$with_libz_static" != "yes"; then
18164	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
18165$as_echo_n "checking for uncompress in -lz... " >&6; }
18166if ${ac_cv_lib_z_uncompress+:} false; then :
18167  $as_echo_n "(cached) " >&6
18168else
18169  ac_check_lib_save_LIBS=$LIBS
18170LIBS="-lz  $LIBS"
18171cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172/* end confdefs.h.  */
18173
18174/* Override any GCC internal prototype to avoid an error.
18175   Use char because int might match the return type of a GCC
18176   builtin and then its argument prototype would still apply.  */
18177#ifdef __cplusplus
18178extern "C"
18179#endif
18180char uncompress ();
18181int
18182main ()
18183{
18184return uncompress ();
18185  ;
18186  return 0;
18187}
18188_ACEOF
18189if ac_fn_c_try_link "$LINENO"; then :
18190  ac_cv_lib_z_uncompress=yes
18191else
18192  ac_cv_lib_z_uncompress=no
18193fi
18194rm -f core conftest.err conftest.$ac_objext \
18195    conftest$ac_exeext conftest.$ac_ext
18196LIBS=$ac_check_lib_save_LIBS
18197fi
18198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
18199$as_echo "$ac_cv_lib_z_uncompress" >&6; }
18200if test "x$ac_cv_lib_z_uncompress" = xyes; then :
18201  have_libz="yes"
18202else
18203  have_libz="no"
18204fi
18205
18206	for ac_header in zlib.h
18207do :
18208  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18209if test "x$ac_cv_header_zlib_h" = xyes; then :
18210  cat >>confdefs.h <<_ACEOF
18211@%:@define HAVE_ZLIB_H 1
18212_ACEOF
18213
18214else
18215  have_libz="no"
18216fi
18217
18218done
18219
18220else
18221	have_libz="no"
18222fi
18223if test "$have_libz" != "yes"; then
18224	if test -e ../../../../Shared/Source/zlib/libz.a || test -e ../../../../Shared/Source/zlib/libz.la; then
18225		with_zlib="builtin"
18226	else
18227		{ $as_echo "$as_me:${as_lineno-$LINENO}: zlib is not found, trying to download and compile it" >&5
18228$as_echo "$as_me: zlib is not found, trying to download and compile it" >&6;}
18229		if test -e ../../../../Shared/Project/zlib/Compile.sh; then
18230			cd ../../../../Shared/Project/zlib
18231			chmod u+x Compile.sh
18232			# Since zlib configure answer :unknown option: --build=
18233			#./Compile.sh --build=$build_alias
18234			./Compile.sh
18235			cd $Home
18236			if test -e ../../../../Shared/Source/zlib/libz.a || test -e ../../../../Shared/Source/zlib/libz.la; then
18237				with_zlib="builtin"
18238			else
18239				with_zlib="no"
18240				as_fn_error $? "Problem while compiling builtin zlib" "$LINENO" 5
18241			fi
18242		else
18243			with_zlib="no"
18244			as_fn_error $? "zlib is not found, please install development package of zlib" "$LINENO" 5
18245		fi
18246	fi
18247	CXXFLAGS="$CXXFLAGS -I../../../../Shared/Source/zlib"
18248	LIBS="$LIBS -L../../../../Shared/Source/zlib"
18249	MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/zlib -lz"
18250	MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/zlib -lz"
18251else
18252    with_zlib="system"
18253    LIBS="$LIBS -lz"
18254    MediaInfoLib_LIBS="$MediaInfoLib_LIBS -lz"
18255    MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -lz"
18256fi
18257
18258if test -e ../../../../ZenLib/Project/GNU/Library/libzen.la; then
18259	CXXFLAGS="$CXXFLAGS $(../../../../ZenLib/Project/GNU/Library/libzen-config CXXFLAGS)"
18260	if test "$enable_staticlibs" = "yes"; then
18261		with_zenlib="builtin (static)"
18262		LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS_Static)"
18263	else
18264		with_zenlib="builtin"
18265		LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18266		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18267		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)"
18268	fi
18269elif test "$(command -v libzen-config)" ; then
18270	CXXFLAGS="$CXXFLAGS $(libzen-config CXXFLAGS)"
18271	if test "$enable_staticlibs" = "yes"; then
18272		with_zenlib="system (static)"
18273		LIBS="$LIBS $(libzen-config LIBS_Static)"
18274	else
18275		with_zenlib="system"
18276		LIBS="$LIBS $(libzen-config LIBS)"
18277		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(libzen-config LIBS)"
18278		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(libzen-config LIBS)"
18279	fi
18280else
18281	if pkg-config --exists libzen; then
18282		CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libzen)"
18283		if test "$enable_staticlibs" = "yes"; then
18284			with_zenlib="system (static)"
18285			LIBS="$LIBS $(pkg-config --variable=LIBS_Static libzen)"
18286		else
18287			with_zenlib="system"
18288			LIBS="$LIBS $(pkg-config --libs libzen)"
18289			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --variable=LIBS libzen)"
18290		fi
18291	else
18292		as_fn_error $? "libzen configuration is not found" "$LINENO" 5
18293	fi
18294fi
18295
18296if test -d $with_graphviz; then
18297	if test -f "$with_graphviz/lib/pkgconfig/libgvc.pc"; then
18298		gvcpcfile="$with_graphviz/lib/pkgconfig/libgvc.pc"
18299	else
18300		as_fn_error $? "Problem while configuring builtin graphviz (libgvc.pc not found)" "$LINENO" 5
18301	fi
18302	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags $gvcpcfile)"
18303	if test "$enable_staticlibs" = "yes"; then
18304		using_graphviz="custom (static)"
18305		LIBS="$LIBS $(pkg-config --libs --static $gvcpcfile)"
18306		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $gvcpcfile)"
18307		Graphviz_Lib=" $(pkg-config --libs --static $gvcpcfile)"
18308	else
18309		using_graphviz="custom"
18310		LIBS="$LIBS $(pkg-config --libs $gvcpcfile)"
18311		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $gvcpcfile)"
18312		Graphviz_Lib=" $(pkg-config --libs --static $gvcpcfile)"
18313	fi
18314elif test "$with_graphviz" = "no"; then
18315	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_GRAPHVIZ_NO"
18316	using_graphviz="no"
18317elif test "$with_graphviz" = "runtime"; then
18318	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18319$as_echo_n "checking for dlopen in -ldl... " >&6; }
18320if ${ac_cv_lib_dl_dlopen+:} false; then :
18321  $as_echo_n "(cached) " >&6
18322else
18323  ac_check_lib_save_LIBS=$LIBS
18324LIBS="-ldl  $LIBS"
18325cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326/* end confdefs.h.  */
18327
18328/* Override any GCC internal prototype to avoid an error.
18329   Use char because int might match the return type of a GCC
18330   builtin and then its argument prototype would still apply.  */
18331#ifdef __cplusplus
18332extern "C"
18333#endif
18334char dlopen ();
18335int
18336main ()
18337{
18338return dlopen ();
18339  ;
18340  return 0;
18341}
18342_ACEOF
18343if ac_fn_c_try_link "$LINENO"; then :
18344  ac_cv_lib_dl_dlopen=yes
18345else
18346  ac_cv_lib_dl_dlopen=no
18347fi
18348rm -f core conftest.err conftest.$ac_objext \
18349    conftest$ac_exeext conftest.$ac_ext
18350LIBS=$ac_check_lib_save_LIBS
18351fi
18352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18353$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18354if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18355  use_libdl="yes"
18356else
18357  use_libdl="no"
18358fi
18359
18360	if test "$use_libdl" = "yes"; then
18361		LIBS="$LIBS -ldl"
18362		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -ldl"
18363		Graphviz_Lib=" -ldl"
18364	fi
18365	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_GRAPHVIZ_DLL_RUNTIME"
18366	using_graphviz="system (runtime)"
18367elif pkg-config --exists libgvc; then
18368	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libgvc)"
18369	if test "$enable_staticlibs" = "yes"; then
18370		using_graphviz="system (static)"
18371		LIBS="$LIBS $(pkg-config --libs --static libgvc)"
18372		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static libgvc)"
18373		Graphviz_Lib=" $(pkg-config --libs --static libgvc)"
18374	else
18375		using_graphviz="system"
18376		LIBS="$LIBS $(pkg-config --libs libgvc)"
18377		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libgvc)"
18378		Graphviz_Lib=" $(pkg-config --libs libgvc)"
18379	fi
18380	Graphviz_Require=" libgvc"
18381else
18382	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
18383fi
18384
18385if test -d $with_libcurl; then
18386	if test -f $with_libcurl/libcurl.pc; then
18387		libcurlpcfile="$with_libcurl/libcurl.pc"
18388	else
18389		if test -f "$with_libcurl/lib/pkgconfig/libcurl.pc"; then
18390			libcurlpcfile="$with_libcurl/lib/pkgconfig/libcurl.pc"
18391		else
18392			as_fn_error $? "Problem while configuring builtin curl (libcurl.pc not found)" "$LINENO" 5
18393		fi
18394	fi
18395	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags $libcurlpcfile)"
18396	if test "$enable_staticlibs" = "yes"; then
18397		using_libcurl="custom (static)"
18398		LIBS="$LIBS $(pkg-config --libs --static $libcurlpcfile)"
18399		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs --static $libcurlpcfile)"
18400	else
18401		using_libcurl="custom"
18402		LIBS="$LIBS $with_libcurl/lib $(pkg-config --libs $libcurlpcfile)"
18403		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs $libcurlpcfile)"
18404	fi
18405elif test "$with_libcurl" = "no"; then
18406	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBCURL_NO"
18407	using_libcurl="no"
18408elif test "$with_libcurl" = "runtime"; then
18409	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18410$as_echo_n "checking for dlopen in -ldl... " >&6; }
18411if ${ac_cv_lib_dl_dlopen+:} false; then :
18412  $as_echo_n "(cached) " >&6
18413else
18414  ac_check_lib_save_LIBS=$LIBS
18415LIBS="-ldl  $LIBS"
18416cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18417/* end confdefs.h.  */
18418
18419/* Override any GCC internal prototype to avoid an error.
18420   Use char because int might match the return type of a GCC
18421   builtin and then its argument prototype would still apply.  */
18422#ifdef __cplusplus
18423extern "C"
18424#endif
18425char dlopen ();
18426int
18427main ()
18428{
18429return dlopen ();
18430  ;
18431  return 0;
18432}
18433_ACEOF
18434if ac_fn_c_try_link "$LINENO"; then :
18435  ac_cv_lib_dl_dlopen=yes
18436else
18437  ac_cv_lib_dl_dlopen=no
18438fi
18439rm -f core conftest.err conftest.$ac_objext \
18440    conftest$ac_exeext conftest.$ac_ext
18441LIBS=$ac_check_lib_save_LIBS
18442fi
18443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18444$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18445if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
18446  use_libdl="yes"
18447else
18448  use_libdl="no"
18449fi
18450
18451	if test "$use_libdl" = "yes"; then
18452		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -ldl"
18453		Curl_Lib=" -ldl"
18454	fi
18455	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBCURL_DLL_RUNTIME"
18456	using_libcurl="system (runtime)"
18457elif test -e ../../../../curl/libcurl.pc; then
18458	CXXFLAGS="$CXXFLAGS -I../../../../curl/include"
18459	if test "$enable_staticlibs" = "yes"; then
18460		using_libcurl="builtin (static)"
18461		LIBS="$LIBS $(pkg-config --libs --static ../../../../curl/libcurl.pc)"
18462	else
18463		using_libcurl="builtin"
18464		LIBS="$LIBS $(pkg-config --libs ../../../../curl/libcurl.pc)"
18465		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs ../../../../curl/libcurl.pc)"
18466		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs ../../../../curl/libcurl.pc)"
18467	fi
18468elif pkg-config --exists libcurl; then
18469	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libcurl)"
18470	if test "$enable_staticlibs" = "yes"; then
18471		using_libcurl="system (static)"
18472		LIBS="$LIBS $(pkg-config --libs --static libcurl)"
18473	else
18474		using_libcurl="system"
18475		LIBS="$LIBS $(pkg-config --libs libcurl)"
18476		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs libcurl)"
18477		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libcurl)"
18478	fi
18479	Curl_Require=" libcurl"
18480	Curl_Lib=" -lcurl"
18481elif test -e /usr/bin/curl-config; then
18482	CXXFLAGS="$CXXFLAGS $(/usr/bin/curl-config --cflags)"
18483	if test "$enable_staticlibs" = "yes"; then
18484		using_libcurl="system (static)"
18485		LIBS="$LIBS $(/usr/bin/curl-config --libs)"
18486	else
18487		using_libcurl="system"
18488		LIBS="$LIBS $(pkg-config --libs libcurl)"
18489		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(/usr/bin/curl-config --libs)"
18490		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(/usr/bin/curl-config --libs)"
18491	fi
18492elif test -e ../../../../Shared/Project/curl/Compile.sh; then
18493	cd ../../../../Shared/Project/curl
18494	chmod u+x Compile.sh
18495	./Compile.sh --build=$build_alias
18496	cd $Home
18497	if test -e ../../../../Shared/Source/curl/lib/libcurl.a || test -e ../../../../Shared/Source/curl/lib/libcurl.la; then
18498		CXXFLAGS="$CXXFLAGS -I../../../../Shared/Source/curl/include"
18499		if test "$enable_staticlibs" = "yes"; then
18500			using_libcurl="builtin (static)"
18501			LIBS="$LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18502			MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18503			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/curl/lib $(pkg-config --libs --static ../../../../Shared/Source/curl/libcurl.pc)"
18504		else
18505			using_libcurl="builtin"
18506			LIBS="$LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18507			MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18508			MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L../../../../Shared/Source/curl/lib $(pkg-config --libs ../../../../Shared/Source/curl/libcurl.pc)"
18509		fi
18510	else
18511		as_fn_error $? "Problem while compiling builtin curl" "$LINENO" 5
18512	fi
18513else
18514	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
18515fi
18516
18517if test -d $with_libmms; then
18518	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBMMS_FROMSOURCE -I$with_libmms/src $(pkg-config --cflags $with_libmms/pkgconfig/libmms.pc)"
18519	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS -I$with_libmms $(pkg-config --cflags $with_libmms/pkgconfig/libmms.pc)"
18520	if test "$enable_staticlibs" = "yes"; then
18521		using_libmms="custom (static)"
18522		LIBS="$LIBS -L$with_libmms/src/.libs $(pkg-config --libs --static $with_libmms/pkgconfig/libmms.pc)"
18523		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static -L$with_libmms/src/.libs $(pkg-config --libs --static $with_libmms/pkgconfig/libmms.pc)"
18524	else
18525		using_libmms="custom"
18526		LIBS="$LIBS -L$with_libmms/src/.libs $(pkg-config --libs $with_libmms/pkgconfig/libmms.pc)"
18527		MediaInfoLib_LIBS="$MediaInfoLib_LIBS -L$with_libmms/src/.libs $(pkg-config --libs $with_libmms/pkgconfig/libmms.pc)"
18528	fi
18529elif test "$with_libmms" = "no"; then
18530	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBMMS_NO"
18531	using_libmms="no"
18532elif test -e ../../../../libmms/libmms.pc; then
18533	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags ../../../../libmms/libmms.pc)"
18534	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags ../../../../libmms/libmms.pc)"
18535	if test "$enable_staticlibs" = "yes"; then
18536		using_libmms="builtin (static)"
18537		LIBS="$LIBS $(pkg-config --libs --static ../../../../libmms/libmms.pc)"
18538	else
18539		using_libmms="builtin"
18540		LIBS="$LIBS $(pkg-config --libs ../../../../libmms/libmms.pc)"
18541		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs ../../../../libmms/libmms.pc)"
18542		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs ../../../../libmms/libmms.pc)"
18543	fi
18544elif pkg-config --exists libmms; then
18545	CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libmms)"
18546	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(pkg-config --cflags libmms)"
18547	if test "$enable_staticlibs" = "yes"; then
18548		using_libmms="system (static)"
18549		LIBS="$LIBS $(pkg-config --libs --static libmms)"
18550	else
18551		using_libmms="system"
18552		LIBS="$LIBS $(pkg-config --libs libmms)"
18553		MediaInfoLib_LIBS="$MediaInfoLib_LIBS $(pkg-config --libs libmms)"
18554		MediaInfoLib_LIBS_Static="$MediaInfoLib_LIBS_Static $(pkg-config --libs libmms)"
18555	fi
18556else
18557	CXXFLAGS="$CXXFLAGS -DMEDIAINFO_LIBMMS_NO"
18558	using_libmms="not found"
18559fi
18560
18561if test "$with_libaes" = "yes"; then
18562
18563
18564
18565
18566
18567
18568
18569if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18570	if test -n "$ac_tool_prefix"; then
18571  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18572set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18574$as_echo_n "checking for $ac_word... " >&6; }
18575if ${ac_cv_path_PKG_CONFIG+:} false; then :
18576  $as_echo_n "(cached) " >&6
18577else
18578  case $PKG_CONFIG in
18579  [\\/]* | ?:[\\/]*)
18580  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18581  ;;
18582  *)
18583  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18584for as_dir in $PATH
18585do
18586  IFS=$as_save_IFS
18587  test -z "$as_dir" && as_dir=.
18588    for ac_exec_ext in '' $ac_executable_extensions; do
18589  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18590    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18592    break 2
18593  fi
18594done
18595  done
18596IFS=$as_save_IFS
18597
18598  ;;
18599esac
18600fi
18601PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18602if test -n "$PKG_CONFIG"; then
18603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18604$as_echo "$PKG_CONFIG" >&6; }
18605else
18606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18607$as_echo "no" >&6; }
18608fi
18609
18610
18611fi
18612if test -z "$ac_cv_path_PKG_CONFIG"; then
18613  ac_pt_PKG_CONFIG=$PKG_CONFIG
18614  # Extract the first word of "pkg-config", so it can be a program name with args.
18615set dummy pkg-config; ac_word=$2
18616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18617$as_echo_n "checking for $ac_word... " >&6; }
18618if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18619  $as_echo_n "(cached) " >&6
18620else
18621  case $ac_pt_PKG_CONFIG in
18622  [\\/]* | ?:[\\/]*)
18623  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18624  ;;
18625  *)
18626  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18627for as_dir in $PATH
18628do
18629  IFS=$as_save_IFS
18630  test -z "$as_dir" && as_dir=.
18631    for ac_exec_ext in '' $ac_executable_extensions; do
18632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18633    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18635    break 2
18636  fi
18637done
18638  done
18639IFS=$as_save_IFS
18640
18641  ;;
18642esac
18643fi
18644ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18645if test -n "$ac_pt_PKG_CONFIG"; then
18646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18647$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18648else
18649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18650$as_echo "no" >&6; }
18651fi
18652
18653  if test "x$ac_pt_PKG_CONFIG" = x; then
18654    PKG_CONFIG=""
18655  else
18656    case $cross_compiling:$ac_tool_warned in
18657yes:)
18658{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18659$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18660ac_tool_warned=yes ;;
18661esac
18662    PKG_CONFIG=$ac_pt_PKG_CONFIG
18663  fi
18664else
18665  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18666fi
18667
18668fi
18669if test -n "$PKG_CONFIG"; then
18670	_pkg_min_version=0.9.0
18671	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18672$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18673	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18674		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18675$as_echo "yes" >&6; }
18676	else
18677		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18678$as_echo "no" >&6; }
18679		PKG_CONFIG=""
18680	fi
18681fi
18682
18683pkg_failed=no
18684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_GLADMAN" >&5
18685$as_echo_n "checking for AES_GLADMAN... " >&6; }
18686
18687if test -n "$AES_GLADMAN_CFLAGS"; then
18688    pkg_cv_AES_GLADMAN_CFLAGS="$AES_GLADMAN_CFLAGS"
18689 elif test -n "$PKG_CONFIG"; then
18690    if test -n "$PKG_CONFIG" && \
18691    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aes_gladman\""; } >&5
18692  ($PKG_CONFIG --exists --print-errors "aes_gladman") 2>&5
18693  ac_status=$?
18694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18695  test $ac_status = 0; }; then
18696  pkg_cv_AES_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "aes_gladman" 2>/dev/null`
18697		      test "x$?" != "x0" && pkg_failed=yes
18698else
18699  pkg_failed=yes
18700fi
18701 else
18702    pkg_failed=untried
18703fi
18704if test -n "$AES_GLADMAN_LIBS"; then
18705    pkg_cv_AES_GLADMAN_LIBS="$AES_GLADMAN_LIBS"
18706 elif test -n "$PKG_CONFIG"; then
18707    if test -n "$PKG_CONFIG" && \
18708    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"aes_gladman\""; } >&5
18709  ($PKG_CONFIG --exists --print-errors "aes_gladman") 2>&5
18710  ac_status=$?
18711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18712  test $ac_status = 0; }; then
18713  pkg_cv_AES_GLADMAN_LIBS=`$PKG_CONFIG --libs "aes_gladman" 2>/dev/null`
18714		      test "x$?" != "x0" && pkg_failed=yes
18715else
18716  pkg_failed=yes
18717fi
18718 else
18719    pkg_failed=untried
18720fi
18721
18722
18723
18724if test $pkg_failed = yes; then
18725   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18726$as_echo "no" >&6; }
18727
18728if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18729        _pkg_short_errors_supported=yes
18730else
18731        _pkg_short_errors_supported=no
18732fi
18733        if test $_pkg_short_errors_supported = yes; then
18734	        AES_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "aes_gladman" 2>&1`
18735        else
18736	        AES_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "aes_gladman" 2>&1`
18737        fi
18738	# Put the nasty error message in config.log where it belongs
18739	echo "$AES_GLADMAN_PKG_ERRORS" >&5
18740
18741	as_fn_error $? "Package requirements (aes_gladman) were not met:
18742
18743$AES_GLADMAN_PKG_ERRORS
18744
18745Consider adjusting the PKG_CONFIG_PATH environment variable if you
18746installed software in a non-standard prefix.
18747
18748Alternatively, you may set the environment variables AES_GLADMAN_CFLAGS
18749and AES_GLADMAN_LIBS to avoid the need to call pkg-config.
18750See the pkg-config man page for more details." "$LINENO" 5
18751elif test $pkg_failed = untried; then
18752     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18753$as_echo "no" >&6; }
18754	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18756as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18757is in your PATH or set the PKG_CONFIG environment variable to the full
18758path to pkg-config.
18759
18760Alternatively, you may set the environment variables AES_GLADMAN_CFLAGS
18761and AES_GLADMAN_LIBS to avoid the need to call pkg-config.
18762See the pkg-config man page for more details.
18763
18764To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18765See \`config.log' for more details" "$LINENO" 5; }
18766else
18767	AES_GLADMAN_CFLAGS=$pkg_cv_AES_GLADMAN_CFLAGS
18768	AES_GLADMAN_LIBS=$pkg_cv_AES_GLADMAN_LIBS
18769        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18770$as_echo "yes" >&6; }
18771
18772fi
18773	CXXFLAGS="$CXXFLAGS $AES_CXXFLAGS"
18774	CFLAGS="$CFLAGS $AES_CFLAGS"
18775	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $AES_CFLAGS"
18776	LIBS="$LIBS $AES_LIBS"
18777	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $AES_LIBS"
18778	 if false; then
18779  COMPILE_AES_TRUE=
18780  COMPILE_AES_FALSE='#'
18781else
18782  COMPILE_AES_TRUE='#'
18783  COMPILE_AES_FALSE=
18784fi
18785
18786	using_libaes="system"
18787else
18788	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/aes-gladman"
18789	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/aes-gladman"
18790	using_libaes="internal"
18791	 if true; then
18792  COMPILE_AES_TRUE=
18793  COMPILE_AES_FALSE='#'
18794else
18795  COMPILE_AES_TRUE='#'
18796  COMPILE_AES_FALSE=
18797fi
18798
18799fi
18800
18801
18802
18803
18804
18805
18806
18807
18808if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18809	if test -n "$ac_tool_prefix"; then
18810  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18811set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18813$as_echo_n "checking for $ac_word... " >&6; }
18814if ${ac_cv_path_PKG_CONFIG+:} false; then :
18815  $as_echo_n "(cached) " >&6
18816else
18817  case $PKG_CONFIG in
18818  [\\/]* | ?:[\\/]*)
18819  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18820  ;;
18821  *)
18822  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18823for as_dir in $PATH
18824do
18825  IFS=$as_save_IFS
18826  test -z "$as_dir" && as_dir=.
18827    for ac_exec_ext in '' $ac_executable_extensions; do
18828  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18829    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18830    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18831    break 2
18832  fi
18833done
18834  done
18835IFS=$as_save_IFS
18836
18837  ;;
18838esac
18839fi
18840PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18841if test -n "$PKG_CONFIG"; then
18842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18843$as_echo "$PKG_CONFIG" >&6; }
18844else
18845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18846$as_echo "no" >&6; }
18847fi
18848
18849
18850fi
18851if test -z "$ac_cv_path_PKG_CONFIG"; then
18852  ac_pt_PKG_CONFIG=$PKG_CONFIG
18853  # Extract the first word of "pkg-config", so it can be a program name with args.
18854set dummy pkg-config; ac_word=$2
18855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18856$as_echo_n "checking for $ac_word... " >&6; }
18857if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18858  $as_echo_n "(cached) " >&6
18859else
18860  case $ac_pt_PKG_CONFIG in
18861  [\\/]* | ?:[\\/]*)
18862  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18863  ;;
18864  *)
18865  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18866for as_dir in $PATH
18867do
18868  IFS=$as_save_IFS
18869  test -z "$as_dir" && as_dir=.
18870    for ac_exec_ext in '' $ac_executable_extensions; do
18871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18872    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18874    break 2
18875  fi
18876done
18877  done
18878IFS=$as_save_IFS
18879
18880  ;;
18881esac
18882fi
18883ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18884if test -n "$ac_pt_PKG_CONFIG"; then
18885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18886$as_echo "$ac_pt_PKG_CONFIG" >&6; }
18887else
18888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18889$as_echo "no" >&6; }
18890fi
18891
18892  if test "x$ac_pt_PKG_CONFIG" = x; then
18893    PKG_CONFIG=""
18894  else
18895    case $cross_compiling:$ac_tool_warned in
18896yes:)
18897{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18898$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18899ac_tool_warned=yes ;;
18900esac
18901    PKG_CONFIG=$ac_pt_PKG_CONFIG
18902  fi
18903else
18904  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18905fi
18906
18907fi
18908if test -n "$PKG_CONFIG"; then
18909	_pkg_min_version=0.9.0
18910	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18911$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18912	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18913		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18914$as_echo "yes" >&6; }
18915	else
18916		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18917$as_echo "no" >&6; }
18918		PKG_CONFIG=""
18919	fi
18920fi
18921
18922if test "$with_libmd5" = "yes"; then
18923
18924pkg_failed=no
18925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5" >&5
18926$as_echo_n "checking for MD5... " >&6; }
18927
18928if test -n "$MD5_CFLAGS"; then
18929    pkg_cv_MD5_CFLAGS="$MD5_CFLAGS"
18930 elif test -n "$PKG_CONFIG"; then
18931    if test -n "$PKG_CONFIG" && \
18932    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"md5\""; } >&5
18933  ($PKG_CONFIG --exists --print-errors "md5") 2>&5
18934  ac_status=$?
18935  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18936  test $ac_status = 0; }; then
18937  pkg_cv_MD5_CFLAGS=`$PKG_CONFIG --cflags "md5" 2>/dev/null`
18938		      test "x$?" != "x0" && pkg_failed=yes
18939else
18940  pkg_failed=yes
18941fi
18942 else
18943    pkg_failed=untried
18944fi
18945if test -n "$MD5_LIBS"; then
18946    pkg_cv_MD5_LIBS="$MD5_LIBS"
18947 elif test -n "$PKG_CONFIG"; then
18948    if test -n "$PKG_CONFIG" && \
18949    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"md5\""; } >&5
18950  ($PKG_CONFIG --exists --print-errors "md5") 2>&5
18951  ac_status=$?
18952  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18953  test $ac_status = 0; }; then
18954  pkg_cv_MD5_LIBS=`$PKG_CONFIG --libs "md5" 2>/dev/null`
18955		      test "x$?" != "x0" && pkg_failed=yes
18956else
18957  pkg_failed=yes
18958fi
18959 else
18960    pkg_failed=untried
18961fi
18962
18963
18964
18965if test $pkg_failed = yes; then
18966   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18967$as_echo "no" >&6; }
18968
18969if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18970        _pkg_short_errors_supported=yes
18971else
18972        _pkg_short_errors_supported=no
18973fi
18974        if test $_pkg_short_errors_supported = yes; then
18975	        MD5_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "md5" 2>&1`
18976        else
18977	        MD5_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "md5" 2>&1`
18978        fi
18979	# Put the nasty error message in config.log where it belongs
18980	echo "$MD5_PKG_ERRORS" >&5
18981
18982	as_fn_error $? "Package requirements (md5) were not met:
18983
18984$MD5_PKG_ERRORS
18985
18986Consider adjusting the PKG_CONFIG_PATH environment variable if you
18987installed software in a non-standard prefix.
18988
18989Alternatively, you may set the environment variables MD5_CFLAGS
18990and MD5_LIBS to avoid the need to call pkg-config.
18991See the pkg-config man page for more details." "$LINENO" 5
18992elif test $pkg_failed = untried; then
18993     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18994$as_echo "no" >&6; }
18995	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18996$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18997as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18998is in your PATH or set the PKG_CONFIG environment variable to the full
18999path to pkg-config.
19000
19001Alternatively, you may set the environment variables MD5_CFLAGS
19002and MD5_LIBS to avoid the need to call pkg-config.
19003See the pkg-config man page for more details.
19004
19005To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19006See \`config.log' for more details" "$LINENO" 5; }
19007else
19008	MD5_CFLAGS=$pkg_cv_MD5_CFLAGS
19009	MD5_LIBS=$pkg_cv_MD5_LIBS
19010        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19011$as_echo "yes" >&6; }
19012
19013fi
19014	CXXFLAGS="$CXXFLAGS $MD5_CXXFLAGS"
19015	CFLAGS="$CFLAGS $MD5_CFLAGS"
19016	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $MD5_CFLAGS"
19017	LIBS="$LIBS $MD5_LIBS"
19018	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $MD5_LIBS"
19019	 if false; then
19020  COMPILE_MD5_TRUE=
19021  COMPILE_MD5_FALSE='#'
19022else
19023  COMPILE_MD5_TRUE='#'
19024  COMPILE_MD5_FALSE=
19025fi
19026
19027	using_libmd5="system"
19028else
19029	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/md5"
19030	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/md5"
19031	using_libmd5="internal"
19032	 if true; then
19033  COMPILE_MD5_TRUE=
19034  COMPILE_MD5_FALSE='#'
19035else
19036  COMPILE_MD5_TRUE='#'
19037  COMPILE_MD5_FALSE=
19038fi
19039
19040fi
19041
19042if test "$with_libsha1" = "yes"; then
19043
19044pkg_failed=no
19045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_GLADMAN" >&5
19046$as_echo_n "checking for SHA1_GLADMAN... " >&6; }
19047
19048if test -n "$SHA1_GLADMAN_CFLAGS"; then
19049    pkg_cv_SHA1_GLADMAN_CFLAGS="$SHA1_GLADMAN_CFLAGS"
19050 elif test -n "$PKG_CONFIG"; then
19051    if test -n "$PKG_CONFIG" && \
19052    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha1_gladman\""; } >&5
19053  ($PKG_CONFIG --exists --print-errors "sha1_gladman") 2>&5
19054  ac_status=$?
19055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19056  test $ac_status = 0; }; then
19057  pkg_cv_SHA1_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "sha1_gladman" 2>/dev/null`
19058		      test "x$?" != "x0" && pkg_failed=yes
19059else
19060  pkg_failed=yes
19061fi
19062 else
19063    pkg_failed=untried
19064fi
19065if test -n "$SHA1_GLADMAN_LIBS"; then
19066    pkg_cv_SHA1_GLADMAN_LIBS="$SHA1_GLADMAN_LIBS"
19067 elif test -n "$PKG_CONFIG"; then
19068    if test -n "$PKG_CONFIG" && \
19069    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha1_gladman\""; } >&5
19070  ($PKG_CONFIG --exists --print-errors "sha1_gladman") 2>&5
19071  ac_status=$?
19072  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19073  test $ac_status = 0; }; then
19074  pkg_cv_SHA1_GLADMAN_LIBS=`$PKG_CONFIG --libs "sha1_gladman" 2>/dev/null`
19075		      test "x$?" != "x0" && pkg_failed=yes
19076else
19077  pkg_failed=yes
19078fi
19079 else
19080    pkg_failed=untried
19081fi
19082
19083
19084
19085if test $pkg_failed = yes; then
19086   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19087$as_echo "no" >&6; }
19088
19089if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19090        _pkg_short_errors_supported=yes
19091else
19092        _pkg_short_errors_supported=no
19093fi
19094        if test $_pkg_short_errors_supported = yes; then
19095	        SHA1_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sha1_gladman" 2>&1`
19096        else
19097	        SHA1_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sha1_gladman" 2>&1`
19098        fi
19099	# Put the nasty error message in config.log where it belongs
19100	echo "$SHA1_GLADMAN_PKG_ERRORS" >&5
19101
19102	as_fn_error $? "Package requirements (sha1_gladman) were not met:
19103
19104$SHA1_GLADMAN_PKG_ERRORS
19105
19106Consider adjusting the PKG_CONFIG_PATH environment variable if you
19107installed software in a non-standard prefix.
19108
19109Alternatively, you may set the environment variables SHA1_GLADMAN_CFLAGS
19110and SHA1_GLADMAN_LIBS to avoid the need to call pkg-config.
19111See the pkg-config man page for more details." "$LINENO" 5
19112elif test $pkg_failed = untried; then
19113     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19114$as_echo "no" >&6; }
19115	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19117as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19118is in your PATH or set the PKG_CONFIG environment variable to the full
19119path to pkg-config.
19120
19121Alternatively, you may set the environment variables SHA1_GLADMAN_CFLAGS
19122and SHA1_GLADMAN_LIBS to avoid the need to call pkg-config.
19123See the pkg-config man page for more details.
19124
19125To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19126See \`config.log' for more details" "$LINENO" 5; }
19127else
19128	SHA1_GLADMAN_CFLAGS=$pkg_cv_SHA1_GLADMAN_CFLAGS
19129	SHA1_GLADMAN_LIBS=$pkg_cv_SHA1_GLADMAN_LIBS
19130        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19131$as_echo "yes" >&6; }
19132
19133fi
19134	CXXFLAGS="$CXXFLAGS $SHA1_CXXFLAGS"
19135	CFLAGS="$CFLAGS $SHA1_CFLAGS"
19136	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $SHA1_CFLAGS"
19137	LIBS="$LIBS $SHA1_LIBS"
19138	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $SHA1_LIBS"
19139	 if false; then
19140  COMPILE_SHA1_TRUE=
19141  COMPILE_SHA1_FALSE='#'
19142else
19143  COMPILE_SHA1_TRUE='#'
19144  COMPILE_SHA1_FALSE=
19145fi
19146
19147	using_libsha1="system"
19148else
19149	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/sha1-gladman"
19150	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/sha1-gladman"
19151	using_libsha1="internal"
19152	 if true; then
19153  COMPILE_SHA1_TRUE=
19154  COMPILE_SHA1_FALSE='#'
19155else
19156  COMPILE_SHA1_TRUE='#'
19157  COMPILE_SHA1_FALSE=
19158fi
19159
19160fi
19161
19162if test "$with_libsha2" = "yes"; then
19163
19164pkg_failed=no
19165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA2_GLADMAN" >&5
19166$as_echo_n "checking for SHA2_GLADMAN... " >&6; }
19167
19168if test -n "$SHA2_GLADMAN_CFLAGS"; then
19169    pkg_cv_SHA2_GLADMAN_CFLAGS="$SHA2_GLADMAN_CFLAGS"
19170 elif test -n "$PKG_CONFIG"; then
19171    if test -n "$PKG_CONFIG" && \
19172    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha2_gladman\""; } >&5
19173  ($PKG_CONFIG --exists --print-errors "sha2_gladman") 2>&5
19174  ac_status=$?
19175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19176  test $ac_status = 0; }; then
19177  pkg_cv_SHA2_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "sha2_gladman" 2>/dev/null`
19178		      test "x$?" != "x0" && pkg_failed=yes
19179else
19180  pkg_failed=yes
19181fi
19182 else
19183    pkg_failed=untried
19184fi
19185if test -n "$SHA2_GLADMAN_LIBS"; then
19186    pkg_cv_SHA2_GLADMAN_LIBS="$SHA2_GLADMAN_LIBS"
19187 elif test -n "$PKG_CONFIG"; then
19188    if test -n "$PKG_CONFIG" && \
19189    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sha2_gladman\""; } >&5
19190  ($PKG_CONFIG --exists --print-errors "sha2_gladman") 2>&5
19191  ac_status=$?
19192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19193  test $ac_status = 0; }; then
19194  pkg_cv_SHA2_GLADMAN_LIBS=`$PKG_CONFIG --libs "sha2_gladman" 2>/dev/null`
19195		      test "x$?" != "x0" && pkg_failed=yes
19196else
19197  pkg_failed=yes
19198fi
19199 else
19200    pkg_failed=untried
19201fi
19202
19203
19204
19205if test $pkg_failed = yes; then
19206   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19207$as_echo "no" >&6; }
19208
19209if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19210        _pkg_short_errors_supported=yes
19211else
19212        _pkg_short_errors_supported=no
19213fi
19214        if test $_pkg_short_errors_supported = yes; then
19215	        SHA2_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sha2_gladman" 2>&1`
19216        else
19217	        SHA2_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sha2_gladman" 2>&1`
19218        fi
19219	# Put the nasty error message in config.log where it belongs
19220	echo "$SHA2_GLADMAN_PKG_ERRORS" >&5
19221
19222	as_fn_error $? "Package requirements (sha2_gladman) were not met:
19223
19224$SHA2_GLADMAN_PKG_ERRORS
19225
19226Consider adjusting the PKG_CONFIG_PATH environment variable if you
19227installed software in a non-standard prefix.
19228
19229Alternatively, you may set the environment variables SHA2_GLADMAN_CFLAGS
19230and SHA2_GLADMAN_LIBS to avoid the need to call pkg-config.
19231See the pkg-config man page for more details." "$LINENO" 5
19232elif test $pkg_failed = untried; then
19233     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19234$as_echo "no" >&6; }
19235	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19237as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19238is in your PATH or set the PKG_CONFIG environment variable to the full
19239path to pkg-config.
19240
19241Alternatively, you may set the environment variables SHA2_GLADMAN_CFLAGS
19242and SHA2_GLADMAN_LIBS to avoid the need to call pkg-config.
19243See the pkg-config man page for more details.
19244
19245To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19246See \`config.log' for more details" "$LINENO" 5; }
19247else
19248	SHA2_GLADMAN_CFLAGS=$pkg_cv_SHA2_GLADMAN_CFLAGS
19249	SHA2_GLADMAN_LIBS=$pkg_cv_SHA2_GLADMAN_LIBS
19250        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19251$as_echo "yes" >&6; }
19252
19253fi
19254	CXXFLAGS="$CXXFLAGS $SHA2_CXXFLAGS"
19255	CFLAGS="$CFLAGS $SHA2_CFLAGS"
19256	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $SHA2_CFLAGS"
19257	LIBS="$LIBS $SHA2_LIBS"
19258	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $SHA2_LIBS"
19259	 if false; then
19260  COMPILE_SHA2_TRUE=
19261  COMPILE_SHA2_FALSE='#'
19262else
19263  COMPILE_SHA2_TRUE='#'
19264  COMPILE_SHA2_FALSE=
19265fi
19266
19267	using_libsha2="system"
19268else
19269	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/sha2-gladman"
19270	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/sha2-gladman"
19271	using_libsha2="internal"
19272	 if true; then
19273  COMPILE_SHA2_TRUE=
19274  COMPILE_SHA2_FALSE='#'
19275else
19276  COMPILE_SHA2_TRUE='#'
19277  COMPILE_SHA2_FALSE=
19278fi
19279
19280fi
19281
19282if test "$with_libhmac" = "yes"; then
19283
19284pkg_failed=no
19285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_GLADMAN" >&5
19286$as_echo_n "checking for HMAC_GLADMAN... " >&6; }
19287
19288if test -n "$HMAC_GLADMAN_CFLAGS"; then
19289    pkg_cv_HMAC_GLADMAN_CFLAGS="$HMAC_GLADMAN_CFLAGS"
19290 elif test -n "$PKG_CONFIG"; then
19291    if test -n "$PKG_CONFIG" && \
19292    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hmac_gladman\""; } >&5
19293  ($PKG_CONFIG --exists --print-errors "hmac_gladman") 2>&5
19294  ac_status=$?
19295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19296  test $ac_status = 0; }; then
19297  pkg_cv_HMAC_GLADMAN_CFLAGS=`$PKG_CONFIG --cflags "hmac_gladman" 2>/dev/null`
19298		      test "x$?" != "x0" && pkg_failed=yes
19299else
19300  pkg_failed=yes
19301fi
19302 else
19303    pkg_failed=untried
19304fi
19305if test -n "$HMAC_GLADMAN_LIBS"; then
19306    pkg_cv_HMAC_GLADMAN_LIBS="$HMAC_GLADMAN_LIBS"
19307 elif test -n "$PKG_CONFIG"; then
19308    if test -n "$PKG_CONFIG" && \
19309    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hmac_gladman\""; } >&5
19310  ($PKG_CONFIG --exists --print-errors "hmac_gladman") 2>&5
19311  ac_status=$?
19312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19313  test $ac_status = 0; }; then
19314  pkg_cv_HMAC_GLADMAN_LIBS=`$PKG_CONFIG --libs "hmac_gladman" 2>/dev/null`
19315		      test "x$?" != "x0" && pkg_failed=yes
19316else
19317  pkg_failed=yes
19318fi
19319 else
19320    pkg_failed=untried
19321fi
19322
19323
19324
19325if test $pkg_failed = yes; then
19326   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19327$as_echo "no" >&6; }
19328
19329if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19330        _pkg_short_errors_supported=yes
19331else
19332        _pkg_short_errors_supported=no
19333fi
19334        if test $_pkg_short_errors_supported = yes; then
19335	        HMAC_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hmac_gladman" 2>&1`
19336        else
19337	        HMAC_GLADMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hmac_gladman" 2>&1`
19338        fi
19339	# Put the nasty error message in config.log where it belongs
19340	echo "$HMAC_GLADMAN_PKG_ERRORS" >&5
19341
19342	as_fn_error $? "Package requirements (hmac_gladman) were not met:
19343
19344$HMAC_GLADMAN_PKG_ERRORS
19345
19346Consider adjusting the PKG_CONFIG_PATH environment variable if you
19347installed software in a non-standard prefix.
19348
19349Alternatively, you may set the environment variables HMAC_GLADMAN_CFLAGS
19350and HMAC_GLADMAN_LIBS to avoid the need to call pkg-config.
19351See the pkg-config man page for more details." "$LINENO" 5
19352elif test $pkg_failed = untried; then
19353     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19354$as_echo "no" >&6; }
19355	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19357as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19358is in your PATH or set the PKG_CONFIG environment variable to the full
19359path to pkg-config.
19360
19361Alternatively, you may set the environment variables HMAC_GLADMAN_CFLAGS
19362and HMAC_GLADMAN_LIBS to avoid the need to call pkg-config.
19363See the pkg-config man page for more details.
19364
19365To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19366See \`config.log' for more details" "$LINENO" 5; }
19367else
19368	HMAC_GLADMAN_CFLAGS=$pkg_cv_HMAC_GLADMAN_CFLAGS
19369	HMAC_GLADMAN_LIBS=$pkg_cv_HMAC_GLADMAN_LIBS
19370        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371$as_echo "yes" >&6; }
19372
19373fi
19374	CXXFLAGS="$CXXFLAGS $HMAC_CXXFLAGS"
19375	CFLAGS="$CFLAGS $HMAC_CFLAGS"
19376	MediaInfoLib_CFLAGS="$MediaInfoLib_CFLAGS $HMAC_CFLAGS"
19377	LIBS="$LIBS $HMAC_LIBS"
19378	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $HMAC_LIBS"
19379	 if false; then
19380  COMPILE_HMAC_TRUE=
19381  COMPILE_HMAC_FALSE='#'
19382else
19383  COMPILE_HMAC_TRUE='#'
19384  COMPILE_HMAC_FALSE=
19385fi
19386
19387	using_libhmac="system"
19388else
19389	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/hmac-gladman"
19390	CFLAGS="$CFLAGS -I../../../Source/ThirdParty/hmac-gladman"
19391	using_libhmac="internal"
19392	 if true; then
19393  COMPILE_HMAC_TRUE=
19394  COMPILE_HMAC_FALSE='#'
19395else
19396  COMPILE_HMAC_TRUE='#'
19397  COMPILE_HMAC_FALSE=
19398fi
19399
19400fi
19401
19402if test "$with_libtinyxml2" = "yes"; then
19403
19404pkg_failed=no
19405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINYXML2" >&5
19406$as_echo_n "checking for TINYXML2... " >&6; }
19407
19408if test -n "$TINYXML2_CFLAGS"; then
19409    pkg_cv_TINYXML2_CFLAGS="$TINYXML2_CFLAGS"
19410 elif test -n "$PKG_CONFIG"; then
19411    if test -n "$PKG_CONFIG" && \
19412    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml2\""; } >&5
19413  ($PKG_CONFIG --exists --print-errors "tinyxml2") 2>&5
19414  ac_status=$?
19415  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19416  test $ac_status = 0; }; then
19417  pkg_cv_TINYXML2_CFLAGS=`$PKG_CONFIG --cflags "tinyxml2" 2>/dev/null`
19418		      test "x$?" != "x0" && pkg_failed=yes
19419else
19420  pkg_failed=yes
19421fi
19422 else
19423    pkg_failed=untried
19424fi
19425if test -n "$TINYXML2_LIBS"; then
19426    pkg_cv_TINYXML2_LIBS="$TINYXML2_LIBS"
19427 elif test -n "$PKG_CONFIG"; then
19428    if test -n "$PKG_CONFIG" && \
19429    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinyxml2\""; } >&5
19430  ($PKG_CONFIG --exists --print-errors "tinyxml2") 2>&5
19431  ac_status=$?
19432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19433  test $ac_status = 0; }; then
19434  pkg_cv_TINYXML2_LIBS=`$PKG_CONFIG --libs "tinyxml2" 2>/dev/null`
19435		      test "x$?" != "x0" && pkg_failed=yes
19436else
19437  pkg_failed=yes
19438fi
19439 else
19440    pkg_failed=untried
19441fi
19442
19443
19444
19445if test $pkg_failed = yes; then
19446   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19447$as_echo "no" >&6; }
19448
19449if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19450        _pkg_short_errors_supported=yes
19451else
19452        _pkg_short_errors_supported=no
19453fi
19454        if test $_pkg_short_errors_supported = yes; then
19455	        TINYXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinyxml2" 2>&1`
19456        else
19457	        TINYXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinyxml2" 2>&1`
19458        fi
19459	# Put the nasty error message in config.log where it belongs
19460	echo "$TINYXML2_PKG_ERRORS" >&5
19461
19462	as_fn_error $? "Package requirements (tinyxml2) were not met:
19463
19464$TINYXML2_PKG_ERRORS
19465
19466Consider adjusting the PKG_CONFIG_PATH environment variable if you
19467installed software in a non-standard prefix.
19468
19469Alternatively, you may set the environment variables TINYXML2_CFLAGS
19470and TINYXML2_LIBS to avoid the need to call pkg-config.
19471See the pkg-config man page for more details." "$LINENO" 5
19472elif test $pkg_failed = untried; then
19473     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19474$as_echo "no" >&6; }
19475	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19476$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19477as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
19478is in your PATH or set the PKG_CONFIG environment variable to the full
19479path to pkg-config.
19480
19481Alternatively, you may set the environment variables TINYXML2_CFLAGS
19482and TINYXML2_LIBS to avoid the need to call pkg-config.
19483See the pkg-config man page for more details.
19484
19485To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19486See \`config.log' for more details" "$LINENO" 5; }
19487else
19488	TINYXML2_CFLAGS=$pkg_cv_TINYXML2_CFLAGS
19489	TINYXML2_LIBS=$pkg_cv_TINYXML2_LIBS
19490        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19491$as_echo "yes" >&6; }
19492
19493fi
19494	CXXFLAGS="$CXXFLAGS $TINYXML2_CXXFLAGS"
19495	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $TINYXML2_CXXFLAGS"
19496	LIBS="$LIBS $TINYXML2_LIBS"
19497	MediaInfoLib_LIBS="$MediaInfoLib_LIBS $TINYXML2_LIBS"
19498	 if false; then
19499  COMPILE_TINYXML2_TRUE=
19500  COMPILE_TINYXML2_FALSE='#'
19501else
19502  COMPILE_TINYXML2_TRUE='#'
19503  COMPILE_TINYXML2_FALSE=
19504fi
19505
19506	using_libtinyxml2="system"
19507else
19508	CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/tinyxml2"
19509	using_libtinyxml2="internal"
19510	 if true; then
19511  COMPILE_TINYXML2_TRUE=
19512  COMPILE_TINYXML2_FALSE='#'
19513else
19514  COMPILE_TINYXML2_TRUE='#'
19515  COMPILE_TINYXML2_FALSE=
19516fi
19517
19518fi
19519
19520MediaInfoLib_LibName="$with_libmediainfo_name"
19521
19522CXXFLAGS="$CXXFLAGS -I../../../Source/ThirdParty/base64"
19523
19524
19525case "${build}" in
19526  powerpc-montavista* )
19527    CFLAGS="$CFLAGS -D__MONTAVISTA__"
19528    CXXFLAGS="$CXXFLAGS -D__MONTAVISTA__"
19529  ;;
19530  powerpc64-* )
19531    enable_visibility="no"
19532  ;;
19533esac
19534
19535if test "$enable_universal_binary" = "yes"; then
19536	enable_arch_ppc=yes
19537	enable_arch_i386=yes
19538fi
19539if test "$enable_arch_ppc" = "yes"; then
19540	CXXFLAGS="$CXXFLAGS -arch ppc"
19541	CFLAGS="$CFLAGS -arch ppc"
19542	LDFLAGS="$LDFLAGS -arch ppc"
19543fi
19544if test "$enable_arch_ppc64" = "yes"; then
19545	CXXFLAGS="$CXXFLAGS -arch ppc64"
19546	CFLAGS="$CFLAGS -arch ppc64"
19547	LDFLAGS="$LDFLAGS -arch ppc64"
19548fi
19549if test "$enable_arch_i386" = "yes"; then
19550	CXXFLAGS="$CXXFLAGS -arch i386"
19551	CFLAGS="$CFLAGS -arch i386"
19552	LDFLAGS="$LDFLAGS -arch i386"
19553fi
19554if test "$enable_arch_x86_64" = "yes"; then
19555	CXXFLAGS="$CXXFLAGS -arch x86_64"
19556	CFLAGS="$CFLAGS -arch x86_64"
19557	LDFLAGS="$LDFLAGS -arch x86_64"
19558fi
19559if test "$enable_arch_armv7" = "yes"; then
19560	CXXFLAGS="$CXXFLAGS -arch armv7"
19561	CFLAGS="$CFLAGS -arch armv7"
19562	LDFLAGS="$LDFLAGS -arch armv7"
19563fi
19564if test "$enable_arch_armv7s" = "yes"; then
19565	CXXFLAGS="$CXXFLAGS -arch armv7s"
19566	CFLAGS="$CFLAGS -arch armv7s"
19567	LDFLAGS="$LDFLAGS -arch armv7s"
19568fi
19569if test "$enable_arch_arm64" = "yes"; then
19570	CXXFLAGS="$CXXFLAGS -arch arm64"
19571	CFLAGS="$CFLAGS -arch arm64"
19572	LDFLAGS="$LDFLAGS -arch arm64"
19573fi
19574if test "x$with_macosx_sdk" != xno ; then
19575	CXXFLAGS="-isysroot $with_macosx_sdk $CXXFLAGS"
19576	CFLAGS="-isysroot $with_macosx_sdk $CFLAGS"
19577	LDFLAGS="-isysroot $with_macosx_sdk $LDFLAGS"
19578fi
19579if test "x$with_macosx_version_min" != xno ; then
19580	CXXFLAGS="-mmacosx-version-min=$with_macosx_version_min $CXXFLAGS"
19581	CFLAGS="-mmacosx-version-min=$with_macosx_version_min $CFLAGS"
19582	LDFLAGS="-mmacosx-version-min=$with_macosx_version_min $LDFLAGS"
19583fi
19584if test "x$with_iphoneos_sdk" != xno ; then
19585	CXXFLAGS="-isysroot $with_iphoneos_sdk $CXXFLAGS"
19586	CFLAGS="-isysroot $with_iphoneos_sdk $CFLAGS"
19587	LDFLAGS="-isysroot $with_iphoneos_sdk $LDFLAGS"
19588fi
19589if test "x$with_iphoneos_version_min" != xno ; then
19590	CXXFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CXXFLAGS"
19591	CFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CFLAGS"
19592	LDFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $LDFLAGS"
19593fi
19594
19595
19596if test "$enable_unicode" = "yes"; then
19597	CXXFLAGS="$CXXFLAGS -DUNICODE"
19598	MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS -DUNICODE"
19599	MediaInfoLib_Unicode="yes"
19600else
19601	MediaInfoLib_Unicode="no"
19602fi
19603
19604if test "$GXX" = yes ; then
19605    case "${build}" in
19606      *mingw* | *cygwin* ) ;;
19607      *)
19608        CFLAGS="$CFLAGS -fPIC"
19609        CXXFLAGS="$CXXFLAGS -fPIC"
19610        LDFLAGS="$LDFLAGS -fPIC"
19611      ;;
19612    esac
19613	if test "$enable_debug" = "yes"; then
19614		CFLAGS="$CFLAGS -O0 -g -Wall -Wundef"
19615		CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy"
19616	else
19617		CFLAGS="$CFLAGS -O2"
19618		CXXFLAGS="$CXXFLAGS -O2"
19619	fi
19620	if test "$enable_gprof" = "yes"; then
19621		CFLAGS="$CFLAGS -pg -g"
19622		CXXFLAGS="$CXXFLAGS -pg -g"
19623	fi
19624fi
19625
19626if test "$enable_visibility" = yes ; then
19627	if test -e "/etc/debian_version" ; then
19628		Debian_Version="$(more /etc/debian_version)"
19629		case $Debian_Version in
19630		*4.*)
19631			enable_visibility="no" ;;
19632		esac
19633	fi
19634fi
19635if test "$enable_visibility" = yes ; then
19636	CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19637	CXXFLAGS="$CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19638	LDFLAGS="$LDFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
19639fi
19640
19641
19642if test "$enable_shared" = yes ; then
19643    MediaInfoLib_LIBS=" -L$(pwd)/.libs -l$with_libmediainfo_name $MediaInfoLib_LIBS"
19644else
19645    MediaInfoLib_LIBS=""
19646fi
19647if test "$enable_static" = yes ; then
19648    MediaInfoLib_LIBS_Static=" $(pwd)/.libs/lib$with_libmediainfo_name.a $MediaInfoLib_LIBS_Static"
19649else
19650    MediaInfoLib_LIBS_Static=""
19651fi
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663ac_config_files="$ac_config_files libmediainfo-config"
19664
19665ac_config_files="$ac_config_files libmediainfo.pc"
19666
19667
19668ac_config_files="$ac_config_files Makefile test/Makefile"
19669
19670cat >confcache <<\_ACEOF
19671# This file is a shell script that caches the results of configure
19672# tests run on this system so they can be shared between configure
19673# scripts and configure runs, see configure's option --config-cache.
19674# It is not useful on other systems.  If it contains results you don't
19675# want to keep, you may remove or edit it.
19676#
19677# config.status only pays attention to the cache file if you give it
19678# the --recheck option to rerun configure.
19679#
19680# `ac_cv_env_foo' variables (set or unset) will be overridden when
19681# loading this file, other *unset* `ac_cv_foo' will be assigned the
19682# following values.
19683
19684_ACEOF
19685
19686# The following way of writing the cache mishandles newlines in values,
19687# but we know of no workaround that is simple, portable, and efficient.
19688# So, we kill variables containing newlines.
19689# Ultrix sh set writes to stderr and can't be redirected directly,
19690# and sets the high bit in the cache file unless we assign to the vars.
19691(
19692  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19693    eval ac_val=\$$ac_var
19694    case $ac_val in #(
19695    *${as_nl}*)
19696      case $ac_var in #(
19697      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19698$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19699      esac
19700      case $ac_var in #(
19701      _ | IFS | as_nl) ;; #(
19702      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19703      *) { eval $ac_var=; unset $ac_var;} ;;
19704      esac ;;
19705    esac
19706  done
19707
19708  (set) 2>&1 |
19709    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19710    *${as_nl}ac_space=\ *)
19711      # `set' does not quote correctly, so add quotes: double-quote
19712      # substitution turns \\\\ into \\, and sed turns \\ into \.
19713      sed -n \
19714	"s/'/'\\\\''/g;
19715	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19716      ;; #(
19717    *)
19718      # `set' quotes correctly as required by POSIX, so do not add quotes.
19719      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19720      ;;
19721    esac |
19722    sort
19723) |
19724  sed '
19725     /^ac_cv_env_/b end
19726     t clear
19727     :clear
19728     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19729     t end
19730     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19731     :end' >>confcache
19732if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19733  if test -w "$cache_file"; then
19734    if test "x$cache_file" != "x/dev/null"; then
19735      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19736$as_echo "$as_me: updating cache $cache_file" >&6;}
19737      if test ! -f "$cache_file" || test -h "$cache_file"; then
19738	cat confcache >"$cache_file"
19739      else
19740        case $cache_file in #(
19741        */* | ?:*)
19742	  mv -f confcache "$cache_file"$$ &&
19743	  mv -f "$cache_file"$$ "$cache_file" ;; #(
19744        *)
19745	  mv -f confcache "$cache_file" ;;
19746	esac
19747      fi
19748    fi
19749  else
19750    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19751$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19752  fi
19753fi
19754rm -f confcache
19755
19756test "x$prefix" = xNONE && prefix=$ac_default_prefix
19757# Let make expand exec_prefix.
19758test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19759
19760# Transform confdefs.h into DEFS.
19761# Protect against shell expansion while executing Makefile rules.
19762# Protect against Makefile macro expansion.
19763#
19764# If the first sed substitution is executed (which looks for macros that
19765# take arguments), then branch to the quote section.  Otherwise,
19766# look for a macro that doesn't take arguments.
19767ac_script='
19768:mline
19769/\\$/{
19770 N
19771 s,\\\n,,
19772 b mline
19773}
19774t clear
19775:clear
19776s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
19777t quote
19778s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
19779t quote
19780b any
19781:quote
19782s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19783s/\[/\\&/g
19784s/\]/\\&/g
19785s/\$/$$/g
19786H
19787:any
19788${
19789	g
19790	s/^\n//
19791	s/\n/ /g
19792	p
19793}
19794'
19795DEFS=`sed -n "$ac_script" confdefs.h`
19796
19797
19798ac_libobjs=
19799ac_ltlibobjs=
19800U=
19801for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
19802  # 1. Remove the extension, and $U if already installed.
19803  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19804  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19805  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19806  #    will be set to the directory where LIBOBJS objects are built.
19807  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19808  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19809done
19810LIB@&t@OBJS=$ac_libobjs
19811
19812LTLIBOBJS=$ac_ltlibobjs
19813
19814
19815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19816$as_echo_n "checking that generated files are newer than configure... " >&6; }
19817   if test -n "$am_sleep_pid"; then
19818     # Hide warnings about reused PIDs.
19819     wait $am_sleep_pid 2>/dev/null
19820   fi
19821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19822$as_echo "done" >&6; }
19823 if test -n "$EXEEXT"; then
19824  am__EXEEXT_TRUE=
19825  am__EXEEXT_FALSE='#'
19826else
19827  am__EXEEXT_TRUE='#'
19828  am__EXEEXT_FALSE=
19829fi
19830
19831if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19832  as_fn_error $? "conditional \"AMDEP\" was never defined.
19833Usually this means the macro was only invoked conditionally." "$LINENO" 5
19834fi
19835if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19836  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19837Usually this means the macro was only invoked conditionally." "$LINENO" 5
19838fi
19839if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19840  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19841Usually this means the macro was only invoked conditionally." "$LINENO" 5
19842fi
19843if test -z "${COMPILE_DLL_TRUE}" && test -z "${COMPILE_DLL_FALSE}"; then
19844  as_fn_error $? "conditional \"COMPILE_DLL\" 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_AES_TRUE}" && test -z "${COMPILE_AES_FALSE}"; then
19852  as_fn_error $? "conditional \"COMPILE_AES\" 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_MD5_TRUE}" && test -z "${COMPILE_MD5_FALSE}"; then
19860  as_fn_error $? "conditional \"COMPILE_MD5\" 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_SHA1_TRUE}" && test -z "${COMPILE_SHA1_FALSE}"; then
19868  as_fn_error $? "conditional \"COMPILE_SHA1\" 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_SHA2_TRUE}" && test -z "${COMPILE_SHA2_FALSE}"; then
19876  as_fn_error $? "conditional \"COMPILE_SHA2\" 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_HMAC_TRUE}" && test -z "${COMPILE_HMAC_FALSE}"; then
19884  as_fn_error $? "conditional \"COMPILE_HMAC\" 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
19891if test -z "${COMPILE_TINYXML2_TRUE}" && test -z "${COMPILE_TINYXML2_FALSE}"; then
19892  as_fn_error $? "conditional \"COMPILE_TINYXML2\" was never defined.
19893Usually this means the macro was only invoked conditionally." "$LINENO" 5
19894fi
19895
19896: "${CONFIG_STATUS=./config.status}"
19897ac_write_fail=0
19898ac_clean_files_save=$ac_clean_files
19899ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19900{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19901$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19902as_write_fail=0
19903cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19904#! $SHELL
19905# Generated by $as_me.
19906# Run this file to recreate the current configuration.
19907# Compiler output produced by configure, useful for debugging
19908# configure, is in config.log if it exists.
19909
19910debug=false
19911ac_cs_recheck=false
19912ac_cs_silent=false
19913
19914SHELL=\${CONFIG_SHELL-$SHELL}
19915export SHELL
19916_ASEOF
19917cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19918## -------------------- ##
19919## M4sh Initialization. ##
19920## -------------------- ##
19921
19922# Be more Bourne compatible
19923DUALCASE=1; export DUALCASE # for MKS sh
19924if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19925  emulate sh
19926  NULLCMD=:
19927  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19928  # is contrary to our usage.  Disable this feature.
19929  alias -g '${1+"$@"}'='"$@"'
19930  setopt NO_GLOB_SUBST
19931else
19932  case `(set -o) 2>/dev/null` in @%:@(
19933  *posix*) :
19934    set -o posix ;; @%:@(
19935  *) :
19936     ;;
19937esac
19938fi
19939
19940
19941as_nl='
19942'
19943export as_nl
19944# Printing a long string crashes Solaris 7 /usr/bin/printf.
19945as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19946as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19947as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19948# Prefer a ksh shell builtin over an external printf program on Solaris,
19949# but without wasting forks for bash or zsh.
19950if test -z "$BASH_VERSION$ZSH_VERSION" \
19951    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19952  as_echo='print -r --'
19953  as_echo_n='print -rn --'
19954elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19955  as_echo='printf %s\n'
19956  as_echo_n='printf %s'
19957else
19958  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19959    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19960    as_echo_n='/usr/ucb/echo -n'
19961  else
19962    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19963    as_echo_n_body='eval
19964      arg=$1;
19965      case $arg in @%:@(
19966      *"$as_nl"*)
19967	expr "X$arg" : "X\\(.*\\)$as_nl";
19968	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19969      esac;
19970      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19971    '
19972    export as_echo_n_body
19973    as_echo_n='sh -c $as_echo_n_body as_echo'
19974  fi
19975  export as_echo_body
19976  as_echo='sh -c $as_echo_body as_echo'
19977fi
19978
19979# The user is always right.
19980if test "${PATH_SEPARATOR+set}" != set; then
19981  PATH_SEPARATOR=:
19982  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19983    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19984      PATH_SEPARATOR=';'
19985  }
19986fi
19987
19988
19989# IFS
19990# We need space, tab and new line, in precisely that order.  Quoting is
19991# there to prevent editors from complaining about space-tab.
19992# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19993# splitting by setting IFS to empty value.)
19994IFS=" ""	$as_nl"
19995
19996# Find who we are.  Look in the path if we contain no directory separator.
19997as_myself=
19998case $0 in @%:@((
19999  *[\\/]* ) as_myself=$0 ;;
20000  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20001for as_dir in $PATH
20002do
20003  IFS=$as_save_IFS
20004  test -z "$as_dir" && as_dir=.
20005    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20006  done
20007IFS=$as_save_IFS
20008
20009     ;;
20010esac
20011# We did not find ourselves, most probably we were run as `sh COMMAND'
20012# in which case we are not to be found in the path.
20013if test "x$as_myself" = x; then
20014  as_myself=$0
20015fi
20016if test ! -f "$as_myself"; then
20017  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20018  exit 1
20019fi
20020
20021# Unset variables that we do not need and which cause bugs (e.g. in
20022# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20023# suppresses any "Segmentation fault" message there.  '((' could
20024# trigger a bug in pdksh 5.2.14.
20025for as_var in BASH_ENV ENV MAIL MAILPATH
20026do eval test x\${$as_var+set} = xset \
20027  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20028done
20029PS1='$ '
20030PS2='> '
20031PS4='+ '
20032
20033# NLS nuisances.
20034LC_ALL=C
20035export LC_ALL
20036LANGUAGE=C
20037export LANGUAGE
20038
20039# CDPATH.
20040(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20041
20042
20043@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
20044@%:@ ----------------------------------------
20045@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20046@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20047@%:@ script with STATUS, using 1 if that was 0.
20048as_fn_error ()
20049{
20050  as_status=$1; test $as_status -eq 0 && as_status=1
20051  if test "$4"; then
20052    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20053    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20054  fi
20055  $as_echo "$as_me: error: $2" >&2
20056  as_fn_exit $as_status
20057} @%:@ as_fn_error
20058
20059
20060@%:@ as_fn_set_status STATUS
20061@%:@ -----------------------
20062@%:@ Set @S|@? to STATUS, without forking.
20063as_fn_set_status ()
20064{
20065  return $1
20066} @%:@ as_fn_set_status
20067
20068@%:@ as_fn_exit STATUS
20069@%:@ -----------------
20070@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20071as_fn_exit ()
20072{
20073  set +e
20074  as_fn_set_status $1
20075  exit $1
20076} @%:@ as_fn_exit
20077
20078@%:@ as_fn_unset VAR
20079@%:@ ---------------
20080@%:@ Portably unset VAR.
20081as_fn_unset ()
20082{
20083  { eval $1=; unset $1;}
20084}
20085as_unset=as_fn_unset
20086@%:@ as_fn_append VAR VALUE
20087@%:@ ----------------------
20088@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
20089@%:@ advantage of any shell optimizations that allow amortized linear growth over
20090@%:@ repeated appends, instead of the typical quadratic growth present in naive
20091@%:@ implementations.
20092if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20093  eval 'as_fn_append ()
20094  {
20095    eval $1+=\$2
20096  }'
20097else
20098  as_fn_append ()
20099  {
20100    eval $1=\$$1\$2
20101  }
20102fi # as_fn_append
20103
20104@%:@ as_fn_arith ARG...
20105@%:@ ------------------
20106@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
20107@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
20108@%:@ must be portable across @S|@(()) and expr.
20109if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20110  eval 'as_fn_arith ()
20111  {
20112    as_val=$(( $* ))
20113  }'
20114else
20115  as_fn_arith ()
20116  {
20117    as_val=`expr "$@" || test $? -eq 1`
20118  }
20119fi # as_fn_arith
20120
20121
20122if expr a : '\(a\)' >/dev/null 2>&1 &&
20123   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20124  as_expr=expr
20125else
20126  as_expr=false
20127fi
20128
20129if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20130  as_basename=basename
20131else
20132  as_basename=false
20133fi
20134
20135if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20136  as_dirname=dirname
20137else
20138  as_dirname=false
20139fi
20140
20141as_me=`$as_basename -- "$0" ||
20142$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20143	 X"$0" : 'X\(//\)$' \| \
20144	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20145$as_echo X/"$0" |
20146    sed '/^.*\/\([^/][^/]*\)\/*$/{
20147	    s//\1/
20148	    q
20149	  }
20150	  /^X\/\(\/\/\)$/{
20151	    s//\1/
20152	    q
20153	  }
20154	  /^X\/\(\/\).*/{
20155	    s//\1/
20156	    q
20157	  }
20158	  s/.*/./; q'`
20159
20160# Avoid depending upon Character Ranges.
20161as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20162as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20163as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20164as_cr_digits='0123456789'
20165as_cr_alnum=$as_cr_Letters$as_cr_digits
20166
20167ECHO_C= ECHO_N= ECHO_T=
20168case `echo -n x` in @%:@(((((
20169-n*)
20170  case `echo 'xy\c'` in
20171  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
20172  xy)  ECHO_C='\c';;
20173  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20174       ECHO_T='	';;
20175  esac;;
20176*)
20177  ECHO_N='-n';;
20178esac
20179
20180rm -f conf$$ conf$$.exe conf$$.file
20181if test -d conf$$.dir; then
20182  rm -f conf$$.dir/conf$$.file
20183else
20184  rm -f conf$$.dir
20185  mkdir conf$$.dir 2>/dev/null
20186fi
20187if (echo >conf$$.file) 2>/dev/null; then
20188  if ln -s conf$$.file conf$$ 2>/dev/null; then
20189    as_ln_s='ln -s'
20190    # ... but there are two gotchas:
20191    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20192    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20193    # In both cases, we have to default to `cp -pR'.
20194    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20195      as_ln_s='cp -pR'
20196  elif ln conf$$.file conf$$ 2>/dev/null; then
20197    as_ln_s=ln
20198  else
20199    as_ln_s='cp -pR'
20200  fi
20201else
20202  as_ln_s='cp -pR'
20203fi
20204rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20205rmdir conf$$.dir 2>/dev/null
20206
20207
20208@%:@ as_fn_mkdir_p
20209@%:@ -------------
20210@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
20211as_fn_mkdir_p ()
20212{
20213
20214  case $as_dir in #(
20215  -*) as_dir=./$as_dir;;
20216  esac
20217  test -d "$as_dir" || eval $as_mkdir_p || {
20218    as_dirs=
20219    while :; do
20220      case $as_dir in #(
20221      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20222      *) as_qdir=$as_dir;;
20223      esac
20224      as_dirs="'$as_qdir' $as_dirs"
20225      as_dir=`$as_dirname -- "$as_dir" ||
20226$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20227	 X"$as_dir" : 'X\(//\)[^/]' \| \
20228	 X"$as_dir" : 'X\(//\)$' \| \
20229	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20230$as_echo X"$as_dir" |
20231    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20232	    s//\1/
20233	    q
20234	  }
20235	  /^X\(\/\/\)[^/].*/{
20236	    s//\1/
20237	    q
20238	  }
20239	  /^X\(\/\/\)$/{
20240	    s//\1/
20241	    q
20242	  }
20243	  /^X\(\/\).*/{
20244	    s//\1/
20245	    q
20246	  }
20247	  s/.*/./; q'`
20248      test -d "$as_dir" && break
20249    done
20250    test -z "$as_dirs" || eval "mkdir $as_dirs"
20251  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20252
20253
20254} @%:@ as_fn_mkdir_p
20255if mkdir -p . 2>/dev/null; then
20256  as_mkdir_p='mkdir -p "$as_dir"'
20257else
20258  test -d ./-p && rmdir ./-p
20259  as_mkdir_p=false
20260fi
20261
20262
20263@%:@ as_fn_executable_p FILE
20264@%:@ -----------------------
20265@%:@ Test if FILE is an executable regular file.
20266as_fn_executable_p ()
20267{
20268  test -f "$1" && test -x "$1"
20269} @%:@ as_fn_executable_p
20270as_test_x='test -x'
20271as_executable_p=as_fn_executable_p
20272
20273# Sed expression to map a string onto a valid CPP name.
20274as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20275
20276# Sed expression to map a string onto a valid variable name.
20277as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20278
20279
20280exec 6>&1
20281## ----------------------------------- ##
20282## Main body of $CONFIG_STATUS script. ##
20283## ----------------------------------- ##
20284_ASEOF
20285test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20286
20287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20288# Save the log message, to keep $0 and so on meaningful, and to
20289# report actual input values of CONFIG_FILES etc. instead of their
20290# values after options handling.
20291ac_log="
20292This file was extended by libmediainfo $as_me 21.09, which was
20293generated by GNU Autoconf 2.69.  Invocation command line was
20294
20295  CONFIG_FILES    = $CONFIG_FILES
20296  CONFIG_HEADERS  = $CONFIG_HEADERS
20297  CONFIG_LINKS    = $CONFIG_LINKS
20298  CONFIG_COMMANDS = $CONFIG_COMMANDS
20299  $ $0 $@
20300
20301on `(hostname || uname -n) 2>/dev/null | sed 1q`
20302"
20303
20304_ACEOF
20305
20306case $ac_config_files in *"
20307"*) set x $ac_config_files; shift; ac_config_files=$*;;
20308esac
20309
20310
20311
20312cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20313# Files that config.status was made for.
20314config_files="$ac_config_files"
20315config_commands="$ac_config_commands"
20316
20317_ACEOF
20318
20319cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20320ac_cs_usage="\
20321\`$as_me' instantiates files and other configuration actions
20322from templates according to the current configuration.  Unless the files
20323and actions are specified as TAGs, all are instantiated by default.
20324
20325Usage: $0 [OPTION]... [TAG]...
20326
20327  -h, --help       print this help, then exit
20328  -V, --version    print version number and configuration settings, then exit
20329      --config     print configuration, then exit
20330  -q, --quiet, --silent
20331                   do not print progress messages
20332  -d, --debug      don't remove temporary files
20333      --recheck    update $as_me by reconfiguring in the same conditions
20334      --file=FILE[:TEMPLATE]
20335                   instantiate the configuration file FILE
20336
20337Configuration files:
20338$config_files
20339
20340Configuration commands:
20341$config_commands
20342
20343Report bugs to the package provider."
20344
20345_ACEOF
20346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20347ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20348ac_cs_version="\\
20349libmediainfo config.status 21.09
20350configured by $0, generated by GNU Autoconf 2.69,
20351  with options \\"\$ac_cs_config\\"
20352
20353Copyright (C) 2012 Free Software Foundation, Inc.
20354This config.status script is free software; the Free Software Foundation
20355gives unlimited permission to copy, distribute and modify it."
20356
20357ac_pwd='$ac_pwd'
20358srcdir='$srcdir'
20359INSTALL='$INSTALL'
20360MKDIR_P='$MKDIR_P'
20361AWK='$AWK'
20362test -n "\$AWK" || AWK=awk
20363_ACEOF
20364
20365cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20366# The default lists apply if the user does not specify any file.
20367ac_need_defaults=:
20368while test $# != 0
20369do
20370  case $1 in
20371  --*=?*)
20372    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20373    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20374    ac_shift=:
20375    ;;
20376  --*=)
20377    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20378    ac_optarg=
20379    ac_shift=:
20380    ;;
20381  *)
20382    ac_option=$1
20383    ac_optarg=$2
20384    ac_shift=shift
20385    ;;
20386  esac
20387
20388  case $ac_option in
20389  # Handling of the options.
20390  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20391    ac_cs_recheck=: ;;
20392  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20393    $as_echo "$ac_cs_version"; exit ;;
20394  --config | --confi | --conf | --con | --co | --c )
20395    $as_echo "$ac_cs_config"; exit ;;
20396  --debug | --debu | --deb | --de | --d | -d )
20397    debug=: ;;
20398  --file | --fil | --fi | --f )
20399    $ac_shift
20400    case $ac_optarg in
20401    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20402    '') as_fn_error $? "missing file argument" ;;
20403    esac
20404    as_fn_append CONFIG_FILES " '$ac_optarg'"
20405    ac_need_defaults=false;;
20406  --he | --h |  --help | --hel | -h )
20407    $as_echo "$ac_cs_usage"; exit ;;
20408  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20409  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20410    ac_cs_silent=: ;;
20411
20412  # This is an error.
20413  -*) as_fn_error $? "unrecognized option: \`$1'
20414Try \`$0 --help' for more information." ;;
20415
20416  *) as_fn_append ac_config_targets " $1"
20417     ac_need_defaults=false ;;
20418
20419  esac
20420  shift
20421done
20422
20423ac_configure_extra_args=
20424
20425if $ac_cs_silent; then
20426  exec 6>/dev/null
20427  ac_configure_extra_args="$ac_configure_extra_args --silent"
20428fi
20429
20430_ACEOF
20431cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20432if \$ac_cs_recheck; then
20433  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20434  shift
20435  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20436  CONFIG_SHELL='$SHELL'
20437  export CONFIG_SHELL
20438  exec "\$@"
20439fi
20440
20441_ACEOF
20442cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20443exec 5>>config.log
20444{
20445  echo
20446  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
20447@%:@@%:@ Running $as_me. @%:@@%:@
20448_ASBOX
20449  $as_echo "$ac_log"
20450} >&5
20451
20452_ACEOF
20453cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20454#
20455# INIT-COMMANDS
20456#
20457AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
20458
20459
20460# The HP-UX ksh and POSIX shell print the target directory to stdout
20461# if CDPATH is set.
20462(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20463
20464sed_quote_subst='$sed_quote_subst'
20465double_quote_subst='$double_quote_subst'
20466delay_variable_subst='$delay_variable_subst'
20467enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20468AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20469DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20470OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20471macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20472macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20473enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20474pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20475enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20476shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20477SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20478ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20479PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20480host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20481host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20482host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20483build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20484build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20485build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20486SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20487Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20488GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20489EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20490FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20491LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20492NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20493LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20494max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20495ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20496exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20497lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20498lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20499lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20500lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20501lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20502reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20503reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20504deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20505file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20506file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20507want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20508sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20509AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20510AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20511archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20512STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20513RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20514old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20515old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20516old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20517lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20518CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20519CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20520compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20521GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20522lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20523lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20524lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20525lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20526lt_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"`'
20527lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20528nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20529lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20530lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20531objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20532MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20533lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20534lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20535lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20536lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20537lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20538need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20539MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20540DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20541NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20542LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20543OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20544OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20545libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20546shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20547extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20548archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20549enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20550export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20551whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20552compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20553old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20554old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20555archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20556archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20557module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20558module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20559with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20560allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20561no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20562hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20563hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20564hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20565hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20566hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20567hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20568hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20569inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20570link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20571always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20572export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20573exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20574include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20575prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20576postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20577file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20578variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20579need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20580need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20581version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20582runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20583shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20584shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20585libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20586library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20587soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20588install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20589postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20590postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20591finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20592finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20593hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20594sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20595configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20596configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20597hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20598enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20599enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20600enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20601old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20602striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20603compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20604predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20605postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20606predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20607postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20608compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20609LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20610reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20611reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20612old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20613compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20614GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20615lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20616lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20617lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20618lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20619lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20620archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20621enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20622export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20623whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20624compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20625old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20626old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20627archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20628archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20629module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20630module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20631with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20632allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20633no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20634hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20635hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20636hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20637hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20638hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20639hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20640hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20641inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20642link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20643always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20644export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20645exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20646include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20647prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20648postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20649file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20650hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20651compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20652predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20653postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20654predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20655postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20656compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20657
20658LTCC='$LTCC'
20659LTCFLAGS='$LTCFLAGS'
20660compiler='$compiler_DEFAULT'
20661
20662# A function that is used when there is no print builtin or printf.
20663func_fallback_echo ()
20664{
20665  eval 'cat <<_LTECHO_EOF
20666\$1
20667_LTECHO_EOF'
20668}
20669
20670# Quote evaled strings.
20671for var in AS \
20672DLLTOOL \
20673OBJDUMP \
20674SHELL \
20675ECHO \
20676PATH_SEPARATOR \
20677SED \
20678GREP \
20679EGREP \
20680FGREP \
20681LD \
20682NM \
20683LN_S \
20684lt_SP2NL \
20685lt_NL2SP \
20686reload_flag \
20687deplibs_check_method \
20688file_magic_cmd \
20689file_magic_glob \
20690want_nocaseglob \
20691sharedlib_from_linklib_cmd \
20692AR \
20693AR_FLAGS \
20694archiver_list_spec \
20695STRIP \
20696RANLIB \
20697CC \
20698CFLAGS \
20699compiler \
20700lt_cv_sys_global_symbol_pipe \
20701lt_cv_sys_global_symbol_to_cdecl \
20702lt_cv_sys_global_symbol_to_import \
20703lt_cv_sys_global_symbol_to_c_name_address \
20704lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20705lt_cv_nm_interface \
20706nm_file_list_spec \
20707lt_cv_truncate_bin \
20708lt_prog_compiler_no_builtin_flag \
20709lt_prog_compiler_pic \
20710lt_prog_compiler_wl \
20711lt_prog_compiler_static \
20712lt_cv_prog_compiler_c_o \
20713need_locks \
20714MANIFEST_TOOL \
20715DSYMUTIL \
20716NMEDIT \
20717LIPO \
20718OTOOL \
20719OTOOL64 \
20720shrext_cmds \
20721export_dynamic_flag_spec \
20722whole_archive_flag_spec \
20723compiler_needs_object \
20724with_gnu_ld \
20725allow_undefined_flag \
20726no_undefined_flag \
20727hardcode_libdir_flag_spec \
20728hardcode_libdir_separator \
20729exclude_expsyms \
20730include_expsyms \
20731file_list_spec \
20732variables_saved_for_relink \
20733libname_spec \
20734library_names_spec \
20735soname_spec \
20736install_override_mode \
20737finish_eval \
20738old_striplib \
20739striplib \
20740compiler_lib_search_dirs \
20741predep_objects \
20742postdep_objects \
20743predeps \
20744postdeps \
20745compiler_lib_search_path \
20746LD_CXX \
20747reload_flag_CXX \
20748compiler_CXX \
20749lt_prog_compiler_no_builtin_flag_CXX \
20750lt_prog_compiler_pic_CXX \
20751lt_prog_compiler_wl_CXX \
20752lt_prog_compiler_static_CXX \
20753lt_cv_prog_compiler_c_o_CXX \
20754export_dynamic_flag_spec_CXX \
20755whole_archive_flag_spec_CXX \
20756compiler_needs_object_CXX \
20757with_gnu_ld_CXX \
20758allow_undefined_flag_CXX \
20759no_undefined_flag_CXX \
20760hardcode_libdir_flag_spec_CXX \
20761hardcode_libdir_separator_CXX \
20762exclude_expsyms_CXX \
20763include_expsyms_CXX \
20764file_list_spec_CXX \
20765compiler_lib_search_dirs_CXX \
20766predep_objects_CXX \
20767postdep_objects_CXX \
20768predeps_CXX \
20769postdeps_CXX \
20770compiler_lib_search_path_CXX; do
20771    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20772    *[\\\\\\\`\\"\\\$]*)
20773      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20774      ;;
20775    *)
20776      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20777      ;;
20778    esac
20779done
20780
20781# Double-quote double-evaled strings.
20782for var in reload_cmds \
20783old_postinstall_cmds \
20784old_postuninstall_cmds \
20785old_archive_cmds \
20786extract_expsyms_cmds \
20787old_archive_from_new_cmds \
20788old_archive_from_expsyms_cmds \
20789archive_cmds \
20790archive_expsym_cmds \
20791module_cmds \
20792module_expsym_cmds \
20793export_symbols_cmds \
20794prelink_cmds \
20795postlink_cmds \
20796postinstall_cmds \
20797postuninstall_cmds \
20798finish_cmds \
20799sys_lib_search_path_spec \
20800configure_time_dlsearch_path \
20801configure_time_lt_sys_library_path \
20802reload_cmds_CXX \
20803old_archive_cmds_CXX \
20804old_archive_from_new_cmds_CXX \
20805old_archive_from_expsyms_cmds_CXX \
20806archive_cmds_CXX \
20807archive_expsym_cmds_CXX \
20808module_cmds_CXX \
20809module_expsym_cmds_CXX \
20810export_symbols_cmds_CXX \
20811prelink_cmds_CXX \
20812postlink_cmds_CXX; do
20813    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20814    *[\\\\\\\`\\"\\\$]*)
20815      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20816      ;;
20817    *)
20818      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20819      ;;
20820    esac
20821done
20822
20823ac_aux_dir='$ac_aux_dir'
20824
20825# See if we are running on zsh, and set the options that allow our
20826# commands through without removal of \ escapes INIT.
20827if test -n "\${ZSH_VERSION+set}"; then
20828   setopt NO_GLOB_SUBST
20829fi
20830
20831
20832    PACKAGE='$PACKAGE'
20833    VERSION='$VERSION'
20834    RM='$RM'
20835    ofile='$ofile'
20836
20837
20838
20839
20840
20841
20842_ACEOF
20843
20844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20845
20846# Handling of arguments.
20847for ac_config_target in $ac_config_targets
20848do
20849  case $ac_config_target in
20850    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20851    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20852    "libmediainfo-config") CONFIG_FILES="$CONFIG_FILES libmediainfo-config" ;;
20853    "libmediainfo.pc") CONFIG_FILES="$CONFIG_FILES libmediainfo.pc" ;;
20854    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20855    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20856
20857  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20858  esac
20859done
20860
20861
20862# If the user did not use the arguments to specify the items to instantiate,
20863# then the envvar interface is used.  Set only those that are not.
20864# We use the long form for the default assignment because of an extremely
20865# bizarre bug on SunOS 4.1.3.
20866if $ac_need_defaults; then
20867  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20868  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20869fi
20870
20871# Have a temporary directory for convenience.  Make it in the build tree
20872# simply because there is no reason against having it here, and in addition,
20873# creating and moving files from /tmp can sometimes cause problems.
20874# Hook for its removal unless debugging.
20875# Note that there is a small window in which the directory will not be cleaned:
20876# after its creation but before its name has been assigned to `$tmp'.
20877$debug ||
20878{
20879  tmp= ac_tmp=
20880  trap 'exit_status=$?
20881  : "${ac_tmp:=$tmp}"
20882  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20883' 0
20884  trap 'as_fn_exit 1' 1 2 13 15
20885}
20886# Create a (secure) tmp directory for tmp files.
20887
20888{
20889  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20890  test -d "$tmp"
20891}  ||
20892{
20893  tmp=./conf$$-$RANDOM
20894  (umask 077 && mkdir "$tmp")
20895} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20896ac_tmp=$tmp
20897
20898# Set up the scripts for CONFIG_FILES section.
20899# No need to generate them if there are no CONFIG_FILES.
20900# This happens for instance with `./config.status config.h'.
20901if test -n "$CONFIG_FILES"; then
20902
20903
20904ac_cr=`echo X | tr X '\015'`
20905# On cygwin, bash can eat \r inside `` if the user requested igncr.
20906# But we know of no other shell where ac_cr would be empty at this
20907# point, so we can use a bashism as a fallback.
20908if test "x$ac_cr" = x; then
20909  eval ac_cr=\$\'\\r\'
20910fi
20911ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20912if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20913  ac_cs_awk_cr='\\r'
20914else
20915  ac_cs_awk_cr=$ac_cr
20916fi
20917
20918echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20919_ACEOF
20920
20921
20922{
20923  echo "cat >conf$$subs.awk <<_ACEOF" &&
20924  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20925  echo "_ACEOF"
20926} >conf$$subs.sh ||
20927  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20928ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20929ac_delim='%!_!# '
20930for ac_last_try in false false false false false :; do
20931  . ./conf$$subs.sh ||
20932    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20933
20934  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20935  if test $ac_delim_n = $ac_delim_num; then
20936    break
20937  elif $ac_last_try; then
20938    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20939  else
20940    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20941  fi
20942done
20943rm -f conf$$subs.sh
20944
20945cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20946cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20947_ACEOF
20948sed -n '
20949h
20950s/^/S["/; s/!.*/"]=/
20951p
20952g
20953s/^[^!]*!//
20954:repl
20955t repl
20956s/'"$ac_delim"'$//
20957t delim
20958:nl
20959h
20960s/\(.\{148\}\)..*/\1/
20961t more1
20962s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20963p
20964n
20965b repl
20966:more1
20967s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20968p
20969g
20970s/.\{148\}//
20971t nl
20972:delim
20973h
20974s/\(.\{148\}\)..*/\1/
20975t more2
20976s/["\\]/\\&/g; s/^/"/; s/$/"/
20977p
20978b
20979:more2
20980s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20981p
20982g
20983s/.\{148\}//
20984t delim
20985' <conf$$subs.awk | sed '
20986/^[^""]/{
20987  N
20988  s/\n//
20989}
20990' >>$CONFIG_STATUS || ac_write_fail=1
20991rm -f conf$$subs.awk
20992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20993_ACAWK
20994cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20995  for (key in S) S_is_set[key] = 1
20996  FS = ""
20997
20998}
20999{
21000  line = $ 0
21001  nfields = split(line, field, "@")
21002  substed = 0
21003  len = length(field[1])
21004  for (i = 2; i < nfields; i++) {
21005    key = field[i]
21006    keylen = length(key)
21007    if (S_is_set[key]) {
21008      value = S[key]
21009      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21010      len += length(value) + length(field[++i])
21011      substed = 1
21012    } else
21013      len += 1 + keylen
21014  }
21015
21016  print line
21017}
21018
21019_ACAWK
21020_ACEOF
21021cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21022if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21023  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21024else
21025  cat
21026fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21027  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21028_ACEOF
21029
21030# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21031# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21032# trailing colons and then remove the whole line if VPATH becomes empty
21033# (actually we leave an empty line to preserve line numbers).
21034if test "x$srcdir" = x.; then
21035  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
21036h
21037s///
21038s/^/:/
21039s/[	 ]*$/:/
21040s/:\$(srcdir):/:/g
21041s/:\${srcdir}:/:/g
21042s/:@srcdir@:/:/g
21043s/^:*//
21044s/:*$//
21045x
21046s/\(=[	 ]*\).*/\1/
21047G
21048s/\n//
21049s/^[^=]*=[	 ]*$//
21050}'
21051fi
21052
21053cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21054fi # test -n "$CONFIG_FILES"
21055
21056
21057eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
21058shift
21059for ac_tag
21060do
21061  case $ac_tag in
21062  :[FHLC]) ac_mode=$ac_tag; continue;;
21063  esac
21064  case $ac_mode$ac_tag in
21065  :[FHL]*:*);;
21066  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21067  :[FH]-) ac_tag=-:-;;
21068  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21069  esac
21070  ac_save_IFS=$IFS
21071  IFS=:
21072  set x $ac_tag
21073  IFS=$ac_save_IFS
21074  shift
21075  ac_file=$1
21076  shift
21077
21078  case $ac_mode in
21079  :L) ac_source=$1;;
21080  :[FH])
21081    ac_file_inputs=
21082    for ac_f
21083    do
21084      case $ac_f in
21085      -) ac_f="$ac_tmp/stdin";;
21086      *) # Look for the file first in the build tree, then in the source tree
21087	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
21088	 # because $ac_f cannot contain `:'.
21089	 test -f "$ac_f" ||
21090	   case $ac_f in
21091	   [\\/$]*) false;;
21092	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21093	   esac ||
21094	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21095      esac
21096      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21097      as_fn_append ac_file_inputs " '$ac_f'"
21098    done
21099
21100    # Let's still pretend it is `configure' which instantiates (i.e., don't
21101    # use $as_me), people would be surprised to read:
21102    #    /* config.h.  Generated by config.status.  */
21103    configure_input='Generated from '`
21104	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21105	`' by configure.'
21106    if test x"$ac_file" != x-; then
21107      configure_input="$ac_file.  $configure_input"
21108      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21109$as_echo "$as_me: creating $ac_file" >&6;}
21110    fi
21111    # Neutralize special characters interpreted by sed in replacement strings.
21112    case $configure_input in #(
21113    *\&* | *\|* | *\\* )
21114       ac_sed_conf_input=`$as_echo "$configure_input" |
21115       sed 's/[\\\\&|]/\\\\&/g'`;; #(
21116    *) ac_sed_conf_input=$configure_input;;
21117    esac
21118
21119    case $ac_tag in
21120    *:-:* | *:-) cat >"$ac_tmp/stdin" \
21121      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21122    esac
21123    ;;
21124  esac
21125
21126  ac_dir=`$as_dirname -- "$ac_file" ||
21127$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21128	 X"$ac_file" : 'X\(//\)[^/]' \| \
21129	 X"$ac_file" : 'X\(//\)$' \| \
21130	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21131$as_echo X"$ac_file" |
21132    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21133	    s//\1/
21134	    q
21135	  }
21136	  /^X\(\/\/\)[^/].*/{
21137	    s//\1/
21138	    q
21139	  }
21140	  /^X\(\/\/\)$/{
21141	    s//\1/
21142	    q
21143	  }
21144	  /^X\(\/\).*/{
21145	    s//\1/
21146	    q
21147	  }
21148	  s/.*/./; q'`
21149  as_dir="$ac_dir"; as_fn_mkdir_p
21150  ac_builddir=.
21151
21152case "$ac_dir" in
21153.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21154*)
21155  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21156  # A ".." for each directory in $ac_dir_suffix.
21157  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21158  case $ac_top_builddir_sub in
21159  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21160  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21161  esac ;;
21162esac
21163ac_abs_top_builddir=$ac_pwd
21164ac_abs_builddir=$ac_pwd$ac_dir_suffix
21165# for backward compatibility:
21166ac_top_builddir=$ac_top_build_prefix
21167
21168case $srcdir in
21169  .)  # We are building in place.
21170    ac_srcdir=.
21171    ac_top_srcdir=$ac_top_builddir_sub
21172    ac_abs_top_srcdir=$ac_pwd ;;
21173  [\\/]* | ?:[\\/]* )  # Absolute name.
21174    ac_srcdir=$srcdir$ac_dir_suffix;
21175    ac_top_srcdir=$srcdir
21176    ac_abs_top_srcdir=$srcdir ;;
21177  *) # Relative name.
21178    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21179    ac_top_srcdir=$ac_top_build_prefix$srcdir
21180    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21181esac
21182ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21183
21184
21185  case $ac_mode in
21186  :F)
21187  #
21188  # CONFIG_FILE
21189  #
21190
21191  case $INSTALL in
21192  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21193  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21194  esac
21195  ac_MKDIR_P=$MKDIR_P
21196  case $MKDIR_P in
21197  [\\/$]* | ?:[\\/]* ) ;;
21198  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21199  esac
21200_ACEOF
21201
21202cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21203# If the template does not know about datarootdir, expand it.
21204# FIXME: This hack should be removed a few years after 2.60.
21205ac_datarootdir_hack=; ac_datarootdir_seen=
21206ac_sed_dataroot='
21207/datarootdir/ {
21208  p
21209  q
21210}
21211/@datadir@/p
21212/@docdir@/p
21213/@infodir@/p
21214/@localedir@/p
21215/@mandir@/p'
21216case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21217*datarootdir*) ac_datarootdir_seen=yes;;
21218*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21219  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21220$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21221_ACEOF
21222cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21223  ac_datarootdir_hack='
21224  s&@datadir@&$datadir&g
21225  s&@docdir@&$docdir&g
21226  s&@infodir@&$infodir&g
21227  s&@localedir@&$localedir&g
21228  s&@mandir@&$mandir&g
21229  s&\\\${datarootdir}&$datarootdir&g' ;;
21230esac
21231_ACEOF
21232
21233# Neutralize VPATH when `$srcdir' = `.'.
21234# Shell code in configure.ac might set extrasub.
21235# FIXME: do we really want to maintain this feature?
21236cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21237ac_sed_extra="$ac_vpsub
21238$extrasub
21239_ACEOF
21240cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21241:t
21242/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21243s|@configure_input@|$ac_sed_conf_input|;t t
21244s&@top_builddir@&$ac_top_builddir_sub&;t t
21245s&@top_build_prefix@&$ac_top_build_prefix&;t t
21246s&@srcdir@&$ac_srcdir&;t t
21247s&@abs_srcdir@&$ac_abs_srcdir&;t t
21248s&@top_srcdir@&$ac_top_srcdir&;t t
21249s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21250s&@builddir@&$ac_builddir&;t t
21251s&@abs_builddir@&$ac_abs_builddir&;t t
21252s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21253s&@INSTALL@&$ac_INSTALL&;t t
21254s&@MKDIR_P@&$ac_MKDIR_P&;t t
21255$ac_datarootdir_hack
21256"
21257eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21258  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21259
21260test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21261  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21262  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
21263      "$ac_tmp/out"`; test -z "$ac_out"; } &&
21264  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21265which seems to be undefined.  Please make sure it is defined" >&5
21266$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21267which seems to be undefined.  Please make sure it is defined" >&2;}
21268
21269  rm -f "$ac_tmp/stdin"
21270  case $ac_file in
21271  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21272  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21273  esac \
21274  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21275 ;;
21276
21277
21278  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21279$as_echo "$as_me: executing $ac_file commands" >&6;}
21280 ;;
21281  esac
21282
21283
21284  case $ac_file$ac_mode in
21285    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21286  # Older Autoconf quotes --file arguments for eval, but not when files
21287  # are listed without --file.  Let's play safe and only enable the eval
21288  # if we detect the quoting.
21289  # TODO: see whether this extra hack can be removed once we start
21290  # requiring Autoconf 2.70 or later.
21291  case $CONFIG_FILES in @%:@(
21292  *\'*) :
21293    eval set x "$CONFIG_FILES" ;; @%:@(
21294  *) :
21295    set x $CONFIG_FILES ;; @%:@(
21296  *) :
21297     ;;
21298esac
21299  shift
21300  # Used to flag and report bootstrapping failures.
21301  am_rc=0
21302  for am_mf
21303  do
21304    # Strip MF so we end up with the name of the file.
21305    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
21306    # Check whether this is an Automake generated Makefile which includes
21307    # dependency-tracking related rules and includes.
21308    # Grep'ing the whole file directly is not great: AIX grep has a line
21309    # limit of 2048, but all sed's we know have understand at least 4000.
21310    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
21311      || continue
21312    am_dirpart=`$as_dirname -- "$am_mf" ||
21313$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21314	 X"$am_mf" : 'X\(//\)[^/]' \| \
21315	 X"$am_mf" : 'X\(//\)$' \| \
21316	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21317$as_echo X"$am_mf" |
21318    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21319	    s//\1/
21320	    q
21321	  }
21322	  /^X\(\/\/\)[^/].*/{
21323	    s//\1/
21324	    q
21325	  }
21326	  /^X\(\/\/\)$/{
21327	    s//\1/
21328	    q
21329	  }
21330	  /^X\(\/\).*/{
21331	    s//\1/
21332	    q
21333	  }
21334	  s/.*/./; q'`
21335    am_filepart=`$as_basename -- "$am_mf" ||
21336$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
21337	 X"$am_mf" : 'X\(//\)$' \| \
21338	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
21339$as_echo X/"$am_mf" |
21340    sed '/^.*\/\([^/][^/]*\)\/*$/{
21341	    s//\1/
21342	    q
21343	  }
21344	  /^X\/\(\/\/\)$/{
21345	    s//\1/
21346	    q
21347	  }
21348	  /^X\/\(\/\).*/{
21349	    s//\1/
21350	    q
21351	  }
21352	  s/.*/./; q'`
21353    { echo "$as_me:$LINENO: cd "$am_dirpart" \
21354      && sed -e '/# am--include-marker/d' "$am_filepart" \
21355        | $MAKE -f - am--depfiles" >&5
21356   (cd "$am_dirpart" \
21357      && sed -e '/# am--include-marker/d' "$am_filepart" \
21358        | $MAKE -f - am--depfiles) >&5 2>&5
21359   ac_status=$?
21360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361   (exit $ac_status); } || am_rc=$?
21362  done
21363  if test $am_rc -ne 0; then
21364    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21365$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21366as_fn_error $? "Something went wrong bootstrapping makefile fragments
21367    for automatic dependency tracking.  Try re-running configure with the
21368    '--disable-dependency-tracking' option to at least be able to build
21369    the package (albeit without support for automatic dependency tracking).
21370See \`config.log' for more details" "$LINENO" 5; }
21371  fi
21372  { am_dirpart=; unset am_dirpart;}
21373  { am_filepart=; unset am_filepart;}
21374  { am_mf=; unset am_mf;}
21375  { am_rc=; unset am_rc;}
21376  rm -f conftest-deps.mk
21377}
21378 ;;
21379    "libtool":C)
21380
21381    # See if we are running on zsh, and set the options that allow our
21382    # commands through without removal of \ escapes.
21383    if test -n "${ZSH_VERSION+set}"; then
21384      setopt NO_GLOB_SUBST
21385    fi
21386
21387    cfgfile=${ofile}T
21388    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21389    $RM "$cfgfile"
21390
21391    cat <<_LT_EOF >> "$cfgfile"
21392#! $SHELL
21393# Generated automatically by $as_me ($PACKAGE) $VERSION
21394# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21395
21396# Provide generalized library-building support services.
21397# Written by Gordon Matzigkeit, 1996
21398
21399# Copyright (C) 2014 Free Software Foundation, Inc.
21400# This is free software; see the source for copying conditions.  There is NO
21401# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21402
21403# GNU Libtool is free software; you can redistribute it and/or modify
21404# it under the terms of the GNU General Public License as published by
21405# the Free Software Foundation; either version 2 of of the License, or
21406# (at your option) any later version.
21407#
21408# As a special exception to the GNU General Public License, if you
21409# distribute this file as part of a program or library that is built
21410# using GNU Libtool, you may include this file under the  same
21411# distribution terms that you use for the rest of that program.
21412#
21413# GNU Libtool is distributed in the hope that it will be useful, but
21414# WITHOUT ANY WARRANTY; without even the implied warranty of
21415# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21416# GNU General Public License for more details.
21417#
21418# You should have received a copy of the GNU General Public License
21419# along with this program.  If not, see <http://www.gnu.org/licenses/>.
21420
21421
21422# The names of the tagged configurations supported by this script.
21423available_tags='CXX '
21424
21425# Configured defaults for sys_lib_dlsearch_path munging.
21426: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21427
21428# ### BEGIN LIBTOOL CONFIG
21429
21430# Whether or not to build static libraries.
21431build_old_libs=$enable_static
21432
21433# Assembler program.
21434AS=$lt_AS
21435
21436# DLL creation program.
21437DLLTOOL=$lt_DLLTOOL
21438
21439# Object dumper program.
21440OBJDUMP=$lt_OBJDUMP
21441
21442# Which release of libtool.m4 was used?
21443macro_version=$macro_version
21444macro_revision=$macro_revision
21445
21446# Whether or not to build shared libraries.
21447build_libtool_libs=$enable_shared
21448
21449# What type of objects to build.
21450pic_mode=$pic_mode
21451
21452# Whether or not to optimize for fast installation.
21453fast_install=$enable_fast_install
21454
21455# Shared archive member basename,for filename based shared library versioning on AIX.
21456shared_archive_member_spec=$shared_archive_member_spec
21457
21458# Shell to use when invoking shell scripts.
21459SHELL=$lt_SHELL
21460
21461# An echo program that protects backslashes.
21462ECHO=$lt_ECHO
21463
21464# The PATH separator for the build system.
21465PATH_SEPARATOR=$lt_PATH_SEPARATOR
21466
21467# The host system.
21468host_alias=$host_alias
21469host=$host
21470host_os=$host_os
21471
21472# The build system.
21473build_alias=$build_alias
21474build=$build
21475build_os=$build_os
21476
21477# A sed program that does not truncate output.
21478SED=$lt_SED
21479
21480# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21481Xsed="\$SED -e 1s/^X//"
21482
21483# A grep program that handles long lines.
21484GREP=$lt_GREP
21485
21486# An ERE matcher.
21487EGREP=$lt_EGREP
21488
21489# A literal string matcher.
21490FGREP=$lt_FGREP
21491
21492# A BSD- or MS-compatible name lister.
21493NM=$lt_NM
21494
21495# Whether we need soft or hard links.
21496LN_S=$lt_LN_S
21497
21498# What is the maximum length of a command?
21499max_cmd_len=$max_cmd_len
21500
21501# Object file suffix (normally "o").
21502objext=$ac_objext
21503
21504# Executable file suffix (normally "").
21505exeext=$exeext
21506
21507# whether the shell understands "unset".
21508lt_unset=$lt_unset
21509
21510# turn spaces into newlines.
21511SP2NL=$lt_lt_SP2NL
21512
21513# turn newlines into spaces.
21514NL2SP=$lt_lt_NL2SP
21515
21516# convert \$build file names to \$host format.
21517to_host_file_cmd=$lt_cv_to_host_file_cmd
21518
21519# convert \$build files to toolchain format.
21520to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21521
21522# Method to check whether dependent libraries are shared objects.
21523deplibs_check_method=$lt_deplibs_check_method
21524
21525# Command to use when deplibs_check_method = "file_magic".
21526file_magic_cmd=$lt_file_magic_cmd
21527
21528# How to find potential files when deplibs_check_method = "file_magic".
21529file_magic_glob=$lt_file_magic_glob
21530
21531# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21532want_nocaseglob=$lt_want_nocaseglob
21533
21534# Command to associate shared and link libraries.
21535sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21536
21537# The archiver.
21538AR=$lt_AR
21539
21540# Flags to create an archive.
21541AR_FLAGS=$lt_AR_FLAGS
21542
21543# How to feed a file listing to the archiver.
21544archiver_list_spec=$lt_archiver_list_spec
21545
21546# A symbol stripping program.
21547STRIP=$lt_STRIP
21548
21549# Commands used to install an old-style archive.
21550RANLIB=$lt_RANLIB
21551old_postinstall_cmds=$lt_old_postinstall_cmds
21552old_postuninstall_cmds=$lt_old_postuninstall_cmds
21553
21554# Whether to use a lock for old archive extraction.
21555lock_old_archive_extraction=$lock_old_archive_extraction
21556
21557# A C compiler.
21558LTCC=$lt_CC
21559
21560# LTCC compiler flags.
21561LTCFLAGS=$lt_CFLAGS
21562
21563# Take the output of nm and produce a listing of raw symbols and C names.
21564global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21565
21566# Transform the output of nm in a proper C declaration.
21567global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21568
21569# Transform the output of nm into a list of symbols to manually relocate.
21570global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21571
21572# Transform the output of nm in a C name address pair.
21573global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21574
21575# Transform the output of nm in a C name address pair when lib prefix is needed.
21576global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21577
21578# The name lister interface.
21579nm_interface=$lt_lt_cv_nm_interface
21580
21581# Specify filename containing input files for \$NM.
21582nm_file_list_spec=$lt_nm_file_list_spec
21583
21584# The root where to search for dependent libraries,and where our libraries should be installed.
21585lt_sysroot=$lt_sysroot
21586
21587# Command to truncate a binary pipe.
21588lt_truncate_bin=$lt_lt_cv_truncate_bin
21589
21590# The name of the directory that contains temporary libtool files.
21591objdir=$objdir
21592
21593# Used to examine libraries when file_magic_cmd begins with "file".
21594MAGIC_CMD=$MAGIC_CMD
21595
21596# Must we lock files when doing compilation?
21597need_locks=$lt_need_locks
21598
21599# Manifest tool.
21600MANIFEST_TOOL=$lt_MANIFEST_TOOL
21601
21602# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21603DSYMUTIL=$lt_DSYMUTIL
21604
21605# Tool to change global to local symbols on Mac OS X.
21606NMEDIT=$lt_NMEDIT
21607
21608# Tool to manipulate fat objects and archives on Mac OS X.
21609LIPO=$lt_LIPO
21610
21611# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21612OTOOL=$lt_OTOOL
21613
21614# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21615OTOOL64=$lt_OTOOL64
21616
21617# Old archive suffix (normally "a").
21618libext=$libext
21619
21620# Shared library suffix (normally ".so").
21621shrext_cmds=$lt_shrext_cmds
21622
21623# The commands to extract the exported symbol list from a shared archive.
21624extract_expsyms_cmds=$lt_extract_expsyms_cmds
21625
21626# Variables whose values should be saved in libtool wrapper scripts and
21627# restored at link time.
21628variables_saved_for_relink=$lt_variables_saved_for_relink
21629
21630# Do we need the "lib" prefix for modules?
21631need_lib_prefix=$need_lib_prefix
21632
21633# Do we need a version for libraries?
21634need_version=$need_version
21635
21636# Library versioning type.
21637version_type=$version_type
21638
21639# Shared library runtime path variable.
21640runpath_var=$runpath_var
21641
21642# Shared library path variable.
21643shlibpath_var=$shlibpath_var
21644
21645# Is shlibpath searched before the hard-coded library search path?
21646shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21647
21648# Format of library name prefix.
21649libname_spec=$lt_libname_spec
21650
21651# List of archive names.  First name is the real one, the rest are links.
21652# The last name is the one that the linker finds with -lNAME
21653library_names_spec=$lt_library_names_spec
21654
21655# The coded name of the library, if different from the real name.
21656soname_spec=$lt_soname_spec
21657
21658# Permission mode override for installation of shared libraries.
21659install_override_mode=$lt_install_override_mode
21660
21661# Command to use after installation of a shared archive.
21662postinstall_cmds=$lt_postinstall_cmds
21663
21664# Command to use after uninstallation of a shared archive.
21665postuninstall_cmds=$lt_postuninstall_cmds
21666
21667# Commands used to finish a libtool library installation in a directory.
21668finish_cmds=$lt_finish_cmds
21669
21670# As "finish_cmds", except a single script fragment to be evaled but
21671# not shown.
21672finish_eval=$lt_finish_eval
21673
21674# Whether we should hardcode library paths into libraries.
21675hardcode_into_libs=$hardcode_into_libs
21676
21677# Compile-time system search path for libraries.
21678sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21679
21680# Detected run-time system search path for libraries.
21681sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21682
21683# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21684configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21685
21686# Whether dlopen is supported.
21687dlopen_support=$enable_dlopen
21688
21689# Whether dlopen of programs is supported.
21690dlopen_self=$enable_dlopen_self
21691
21692# Whether dlopen of statically linked programs is supported.
21693dlopen_self_static=$enable_dlopen_self_static
21694
21695# Commands to strip libraries.
21696old_striplib=$lt_old_striplib
21697striplib=$lt_striplib
21698
21699
21700# The linker used to build libraries.
21701LD=$lt_LD
21702
21703# How to create reloadable object files.
21704reload_flag=$lt_reload_flag
21705reload_cmds=$lt_reload_cmds
21706
21707# Commands used to build an old-style archive.
21708old_archive_cmds=$lt_old_archive_cmds
21709
21710# A language specific compiler.
21711CC=$lt_compiler
21712
21713# Is the compiler the GNU compiler?
21714with_gcc=$GCC
21715
21716# Compiler flag to turn off builtin functions.
21717no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21718
21719# Additional compiler flags for building library objects.
21720pic_flag=$lt_lt_prog_compiler_pic
21721
21722# How to pass a linker flag through the compiler.
21723wl=$lt_lt_prog_compiler_wl
21724
21725# Compiler flag to prevent dynamic linking.
21726link_static_flag=$lt_lt_prog_compiler_static
21727
21728# Does compiler simultaneously support -c and -o options?
21729compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21730
21731# Whether or not to add -lc for building shared libraries.
21732build_libtool_need_lc=$archive_cmds_need_lc
21733
21734# Whether or not to disallow shared libs when runtime libs are static.
21735allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21736
21737# Compiler flag to allow reflexive dlopens.
21738export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21739
21740# Compiler flag to generate shared objects directly from archives.
21741whole_archive_flag_spec=$lt_whole_archive_flag_spec
21742
21743# Whether the compiler copes with passing no objects directly.
21744compiler_needs_object=$lt_compiler_needs_object
21745
21746# Create an old-style archive from a shared archive.
21747old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21748
21749# Create a temporary old-style archive to link instead of a shared archive.
21750old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21751
21752# Commands used to build a shared archive.
21753archive_cmds=$lt_archive_cmds
21754archive_expsym_cmds=$lt_archive_expsym_cmds
21755
21756# Commands used to build a loadable module if different from building
21757# a shared archive.
21758module_cmds=$lt_module_cmds
21759module_expsym_cmds=$lt_module_expsym_cmds
21760
21761# Whether we are building with GNU ld or not.
21762with_gnu_ld=$lt_with_gnu_ld
21763
21764# Flag that allows shared libraries with undefined symbols to be built.
21765allow_undefined_flag=$lt_allow_undefined_flag
21766
21767# Flag that enforces no undefined symbols.
21768no_undefined_flag=$lt_no_undefined_flag
21769
21770# Flag to hardcode \$libdir into a binary during linking.
21771# This must work even if \$libdir does not exist
21772hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21773
21774# Whether we need a single "-rpath" flag with a separated argument.
21775hardcode_libdir_separator=$lt_hardcode_libdir_separator
21776
21777# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21778# DIR into the resulting binary.
21779hardcode_direct=$hardcode_direct
21780
21781# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21782# DIR into the resulting binary and the resulting library dependency is
21783# "absolute",i.e impossible to change by setting \$shlibpath_var if the
21784# library is relocated.
21785hardcode_direct_absolute=$hardcode_direct_absolute
21786
21787# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21788# into the resulting binary.
21789hardcode_minus_L=$hardcode_minus_L
21790
21791# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21792# into the resulting binary.
21793hardcode_shlibpath_var=$hardcode_shlibpath_var
21794
21795# Set to "yes" if building a shared library automatically hardcodes DIR
21796# into the library and all subsequent libraries and executables linked
21797# against it.
21798hardcode_automatic=$hardcode_automatic
21799
21800# Set to yes if linker adds runtime paths of dependent libraries
21801# to runtime path list.
21802inherit_rpath=$inherit_rpath
21803
21804# Whether libtool must link a program against all its dependency libraries.
21805link_all_deplibs=$link_all_deplibs
21806
21807# Set to "yes" if exported symbols are required.
21808always_export_symbols=$always_export_symbols
21809
21810# The commands to list exported symbols.
21811export_symbols_cmds=$lt_export_symbols_cmds
21812
21813# Symbols that should not be listed in the preloaded symbols.
21814exclude_expsyms=$lt_exclude_expsyms
21815
21816# Symbols that must always be exported.
21817include_expsyms=$lt_include_expsyms
21818
21819# Commands necessary for linking programs (against libraries) with templates.
21820prelink_cmds=$lt_prelink_cmds
21821
21822# Commands necessary for finishing linking programs.
21823postlink_cmds=$lt_postlink_cmds
21824
21825# Specify filename containing input files.
21826file_list_spec=$lt_file_list_spec
21827
21828# How to hardcode a shared library path into an executable.
21829hardcode_action=$hardcode_action
21830
21831# The directories searched by this compiler when creating a shared library.
21832compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21833
21834# Dependencies to place before and after the objects being linked to
21835# create a shared library.
21836predep_objects=$lt_predep_objects
21837postdep_objects=$lt_postdep_objects
21838predeps=$lt_predeps
21839postdeps=$lt_postdeps
21840
21841# The library search path used internally by the compiler when linking
21842# a shared library.
21843compiler_lib_search_path=$lt_compiler_lib_search_path
21844
21845# ### END LIBTOOL CONFIG
21846
21847_LT_EOF
21848
21849    cat <<'_LT_EOF' >> "$cfgfile"
21850
21851# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
21852
21853# func_munge_path_list VARIABLE PATH
21854# -----------------------------------
21855# VARIABLE is name of variable containing _space_ separated list of
21856# directories to be munged by the contents of PATH, which is string
21857# having a format:
21858# "DIR[:DIR]:"
21859#       string "DIR[ DIR]" will be prepended to VARIABLE
21860# ":DIR[:DIR]"
21861#       string "DIR[ DIR]" will be appended to VARIABLE
21862# "DIRP[:DIRP]::[DIRA:]DIRA"
21863#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
21864#       "DIRA[ DIRA]" will be appended to VARIABLE
21865# "DIR[:DIR]"
21866#       VARIABLE will be replaced by "DIR[ DIR]"
21867func_munge_path_list ()
21868{
21869    case x@S|@2 in
21870    x)
21871        ;;
21872    *:)
21873        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
21874        ;;
21875    x:*)
21876        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
21877        ;;
21878    *::*)
21879        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21880        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
21881        ;;
21882    *)
21883        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
21884        ;;
21885    esac
21886}
21887
21888
21889# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
21890func_cc_basename ()
21891{
21892    for cc_temp in @S|@*""; do
21893      case $cc_temp in
21894        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21895        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21896        \-*) ;;
21897        *) break;;
21898      esac
21899    done
21900    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21901}
21902
21903
21904# ### END FUNCTIONS SHARED WITH CONFIGURE
21905
21906_LT_EOF
21907
21908  case $host_os in
21909  aix3*)
21910    cat <<\_LT_EOF >> "$cfgfile"
21911# AIX sometimes has problems with the GCC collect2 program.  For some
21912# reason, if we set the COLLECT_NAMES environment variable, the problems
21913# vanish in a puff of smoke.
21914if test set != "${COLLECT_NAMES+set}"; then
21915  COLLECT_NAMES=
21916  export COLLECT_NAMES
21917fi
21918_LT_EOF
21919    ;;
21920  esac
21921
21922
21923ltmain=$ac_aux_dir/ltmain.sh
21924
21925
21926  # We use sed instead of cat because bash on DJGPP gets confused if
21927  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21928  # text mode, it properly converts lines to CR/LF.  This bash problem
21929  # is reportedly fixed, but why not run on old versions too?
21930  sed '$q' "$ltmain" >> "$cfgfile" \
21931     || (rm -f "$cfgfile"; exit 1)
21932
21933   mv -f "$cfgfile" "$ofile" ||
21934    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21935  chmod +x "$ofile"
21936
21937
21938    cat <<_LT_EOF >> "$ofile"
21939
21940# ### BEGIN LIBTOOL TAG CONFIG: CXX
21941
21942# The linker used to build libraries.
21943LD=$lt_LD_CXX
21944
21945# How to create reloadable object files.
21946reload_flag=$lt_reload_flag_CXX
21947reload_cmds=$lt_reload_cmds_CXX
21948
21949# Commands used to build an old-style archive.
21950old_archive_cmds=$lt_old_archive_cmds_CXX
21951
21952# A language specific compiler.
21953CC=$lt_compiler_CXX
21954
21955# Is the compiler the GNU compiler?
21956with_gcc=$GCC_CXX
21957
21958# Compiler flag to turn off builtin functions.
21959no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21960
21961# Additional compiler flags for building library objects.
21962pic_flag=$lt_lt_prog_compiler_pic_CXX
21963
21964# How to pass a linker flag through the compiler.
21965wl=$lt_lt_prog_compiler_wl_CXX
21966
21967# Compiler flag to prevent dynamic linking.
21968link_static_flag=$lt_lt_prog_compiler_static_CXX
21969
21970# Does compiler simultaneously support -c and -o options?
21971compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21972
21973# Whether or not to add -lc for building shared libraries.
21974build_libtool_need_lc=$archive_cmds_need_lc_CXX
21975
21976# Whether or not to disallow shared libs when runtime libs are static.
21977allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21978
21979# Compiler flag to allow reflexive dlopens.
21980export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21981
21982# Compiler flag to generate shared objects directly from archives.
21983whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21984
21985# Whether the compiler copes with passing no objects directly.
21986compiler_needs_object=$lt_compiler_needs_object_CXX
21987
21988# Create an old-style archive from a shared archive.
21989old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21990
21991# Create a temporary old-style archive to link instead of a shared archive.
21992old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21993
21994# Commands used to build a shared archive.
21995archive_cmds=$lt_archive_cmds_CXX
21996archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21997
21998# Commands used to build a loadable module if different from building
21999# a shared archive.
22000module_cmds=$lt_module_cmds_CXX
22001module_expsym_cmds=$lt_module_expsym_cmds_CXX
22002
22003# Whether we are building with GNU ld or not.
22004with_gnu_ld=$lt_with_gnu_ld_CXX
22005
22006# Flag that allows shared libraries with undefined symbols to be built.
22007allow_undefined_flag=$lt_allow_undefined_flag_CXX
22008
22009# Flag that enforces no undefined symbols.
22010no_undefined_flag=$lt_no_undefined_flag_CXX
22011
22012# Flag to hardcode \$libdir into a binary during linking.
22013# This must work even if \$libdir does not exist
22014hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22015
22016# Whether we need a single "-rpath" flag with a separated argument.
22017hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22018
22019# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22020# DIR into the resulting binary.
22021hardcode_direct=$hardcode_direct_CXX
22022
22023# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22024# DIR into the resulting binary and the resulting library dependency is
22025# "absolute",i.e impossible to change by setting \$shlibpath_var if the
22026# library is relocated.
22027hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22028
22029# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22030# into the resulting binary.
22031hardcode_minus_L=$hardcode_minus_L_CXX
22032
22033# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22034# into the resulting binary.
22035hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22036
22037# Set to "yes" if building a shared library automatically hardcodes DIR
22038# into the library and all subsequent libraries and executables linked
22039# against it.
22040hardcode_automatic=$hardcode_automatic_CXX
22041
22042# Set to yes if linker adds runtime paths of dependent libraries
22043# to runtime path list.
22044inherit_rpath=$inherit_rpath_CXX
22045
22046# Whether libtool must link a program against all its dependency libraries.
22047link_all_deplibs=$link_all_deplibs_CXX
22048
22049# Set to "yes" if exported symbols are required.
22050always_export_symbols=$always_export_symbols_CXX
22051
22052# The commands to list exported symbols.
22053export_symbols_cmds=$lt_export_symbols_cmds_CXX
22054
22055# Symbols that should not be listed in the preloaded symbols.
22056exclude_expsyms=$lt_exclude_expsyms_CXX
22057
22058# Symbols that must always be exported.
22059include_expsyms=$lt_include_expsyms_CXX
22060
22061# Commands necessary for linking programs (against libraries) with templates.
22062prelink_cmds=$lt_prelink_cmds_CXX
22063
22064# Commands necessary for finishing linking programs.
22065postlink_cmds=$lt_postlink_cmds_CXX
22066
22067# Specify filename containing input files.
22068file_list_spec=$lt_file_list_spec_CXX
22069
22070# How to hardcode a shared library path into an executable.
22071hardcode_action=$hardcode_action_CXX
22072
22073# The directories searched by this compiler when creating a shared library.
22074compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22075
22076# Dependencies to place before and after the objects being linked to
22077# create a shared library.
22078predep_objects=$lt_predep_objects_CXX
22079postdep_objects=$lt_postdep_objects_CXX
22080predeps=$lt_predeps_CXX
22081postdeps=$lt_postdeps_CXX
22082
22083# The library search path used internally by the compiler when linking
22084# a shared library.
22085compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22086
22087# ### END LIBTOOL TAG CONFIG: CXX
22088_LT_EOF
22089
22090 ;;
22091    "libmediainfo-config":F) chmod u+x libmediainfo-config ;;
22092
22093  esac
22094done # for ac_tag
22095
22096
22097as_fn_exit 0
22098_ACEOF
22099ac_clean_files=$ac_clean_files_save
22100
22101test $ac_write_fail = 0 ||
22102  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22103
22104
22105# configure is writing to config.log, and then calls config.status.
22106# config.status does its own redirection, appending to config.log.
22107# Unfortunately, on DOS this fails, as config.log is still kept open
22108# by configure, so config.status won't be able to write to it; its
22109# output is simply discarded.  So we exec the FD to /dev/null,
22110# effectively closing config.log, so it can be properly (re)opened and
22111# appended to by config.status.  When coming back to configure, we
22112# need to make the FD available again.
22113if test "$no_create" != yes; then
22114  ac_cs_success=:
22115  ac_config_status_args=
22116  test "$silent" = yes &&
22117    ac_config_status_args="$ac_config_status_args --quiet"
22118  exec 5>/dev/null
22119  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22120  exec 5>>config.log
22121  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22122  # would make configure fail if this is the last instruction.
22123  $ac_cs_success || as_fn_exit 1
22124fi
22125if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22126  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22127$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22128fi
22129
22130
22131
22132Mcho ()
22133{
22134if test "$2" = "no" || test "$2" = "yes"; then
22135echo "  $1 forced to                                        $2"
22136fi
22137}
22138
22139echo ""
22140echo "Configured MediaInfoLib for '$build'"
22141echo ""
22142echo "  Unicode?                                                $enable_unicode"
22143echo "  Using ZenLib?                                           $with_zenlib"
22144echo "  Using graphviz?                                         $using_graphviz"
22145echo "  Using libcurl?                                          $using_libcurl"
22146echo "  Using libmms?                                           $using_libmms"
22147echo "  Using zlib?                                             $with_zlib"
22148echo "  Using aes?                                              $using_libaes"
22149echo "  Using md5?                                              $using_libmd5"
22150echo "  Using sha1?                                             $using_libsha1"
22151echo "  Using sha2?                                             $using_libsha2"
22152echo "  Using hmac?                                             $using_libhmac"
22153echo "  Using tinyxml2?                                         $using_libtinyxml2"
22154echo ""
22155echo "  Create static lib?                                      $enable_static"
22156echo "  Create shared lib?                                      $enable_shared"
22157echo ""
22158Mcho "Minimize size" "$MediaInfoMinimizeSize"
22159Mcho "libmms describe support" "$MediaInfoLibmmsDescribeSupport"
22160Mcho "All    " "$MediaInfoAll"
22161Mcho "Archive" "$MediaInfoArchive"
22162Mcho "Audio  " "$MediaInfoAudio"
22163Mcho "Image  " "$MediaInfoImage"
22164Mcho "Multi  " "$MediaInfoMulti"
22165Mcho "Multi  " "$MediaInfoTag"
22166Mcho "Text   " "$MediaInfoText"
22167Mcho "Video  " "$MediaInfoVideo"
22168Mcho "7z     " "$MediaInfo7z"
22169Mcho "Ace    " "$MediaInfoAce"
22170Mcho "Bzip2  " "$MediaInfoBzip2"
22171Mcho "Elf    " "$MediaInfoElf"
22172Mcho "Gzip   " "$MediaInfoGzip"
22173Mcho "ISO9660" "$MediaInfoIso9660"
22174Mcho "Mz     " "$MediaInfoMz"
22175Mcho "Rar    " "$MediaInfoRar"
22176Mcho "Tar    " "$MediaInfoTar"
22177Mcho "Zip    " "$MediaInfoZip"
22178Mcho "Aac    " "$MediaInfoAac"
22179Mcho "Ac3    " "$MediaInfoAc3"
22180Mcho "Adif   " "$MediaInfoAdif"
22181Mcho "Adpcm  " "$MediaInfoAdpcm"
22182Mcho "Adts   " "$MediaInfoAdts"
22183Mcho "Aes3   " "$MediaInfoAes3"
22184Mcho "Als    " "$MediaInfoAls"
22185Mcho "Amr    " "$MediaInfoAmr"
22186Mcho "Amv    " "$MediaInfoAmv"
22187Mcho "Ape    " "$MediaInfoApe"
22188Mcho "Au     " "$MediaInfoAu"
22189Mcho "Caf    " "$MediaInfoCaf"
22190Mcho "Celt   " "$MediaInfoCelt"
22191Mcho "Dts    " "$MediaInfoDts"
22192Mcho "Flac   " "$MediaInfoFlac"
22193Mcho "La     " "$MediaInfoLa"
22194Mcho "Latm   " "$MediaInfoLatm"
22195Mcho "Midi   " "$MediaInfoMidi"
22196Mcho "Mpc    " "$MediaInfoMpc"
22197Mcho "MpcSv8 " "$MediaInfoMpcSv8"
22198Mcho "Mpega  " "$MediaInfoMpega"
22199Mcho "OpenMG " "$MediaInfoOpenMG"
22200Mcho "Pcm    " "$MediaInfoPcm"
22201Mcho "Ps2a   " "$MediaInfoPs2a"
22202Mcho "Rkau   " "$MediaInfoRkau"
22203Mcho "Speex  " "$MediaInfoSpeex"
22204Mcho "Tak    " "$MediaInfoTak"
22205Mcho "Tta    " "$MediaInfoTta"
22206Mcho "TwinVQ " "$MediaInfoTwinVQ"
22207Mcho "Vorbis " "$MediaInfoVorbis"
22208Mcho "Wvpk   " "$MediaInfoWvpk"
22209Mcho "ArriRaw" "$MediaInfoArriRaw"
22210Mcho "Bmp    " "$MediaInfoBmp"
22211Mcho "Bpg    " "$MediaInfoBpg"
22212Mcho "Dds    " "$MediaInfoDds"
22213Mcho "Dpx    " "$MediaInfoDpx"
22214Mcho "Exr    " "$MediaInfoDpx"
22215Mcho "Gif    " "$MediaInfoGif"
22216Mcho "Ico    " "$MediaInfoIco"
22217Mcho "Jpeg   " "$MediaInfoJpeg"
22218Mcho "Pcx    " "$MediaInfoPcx"
22219Mcho "Png    " "$MediaInfoPng"
22220Mcho "Psd    " "$MediaInfoPsd"
22221Mcho "Tiff   " "$MediaInfoTiff"
22222Mcho "Aaf    " "$MediaInfoAaf"
22223Mcho "Bdav   " "$MediaInfoBdav"
22224Mcho "Bdmv   " "$MediaInfoBdmv"
22225Mcho "Cdxa   " "$MediaInfoCdxa"
22226Mcho "DASH   " "$MediaInfoDashMpd"
22227Mcho "Dcp    " "$MediaInfoDcp"
22228Mcho "Dpg    " "$MediaInfoDpg"
22229Mcho "References" "$References"
22230Mcho "DvDif  " "$MediaInfoDvDif"
22231Mcho "DvDifAnalyze" "$MediaInfoDvDifAnalyze"
22232Mcho "Dvdv   " "$MediaInfoDvdv"
22233Mcho "Dxw    " "$MediaInfoFlv"
22234Mcho "Gxf "  "$MediaInfoHdsGxf"
22235Mcho "HdsF4m " "$MediaInfoHdsF4m"
22236Mcho "Hls    " "$MediaInfoHls"
22237Mcho "Flv    " "$MediaInfoFlv"
22238Mcho "Mk     " "$MediaInfoMk"
22239Mcho "MiXml  " "$MediaInfoMiXml"
22240Mcho "Mpeg4  " "$MediaInfoMpeg4"
22241Mcho "MpegPs " "$MediaInfoMpegPs"
22242Mcho "MpegTs " "$MediaInfoMpegTs"
22243Mcho "MpegTs (PCR)" "$MediaInfoMpegTsPcr"
22244Mcho "MpegTs (Parser time stamp)" "$MediaInfoMpegTsPesTimeStamp"
22245Mcho "Mxf    " "$MediaInfoMxf"
22246Mcho "Nut    " "$MediaInfoNut"
22247Mcho "Ogg    " "$MediaInfoOgg"
22248Mcho "Pmp    " "$MediaInfoPmp"
22249Mcho "Riff   " "$MediaInfoRiff"
22250Mcho "Rm     " "$MediaInfoRm"
22251Mcho "Skm    " "$MediaInfoSkm"
22252Mcho "Swf    " "$MediaInfoSwf"
22253Mcho "Tsp    " "$MediaInfoTsp"
22254Mcho "Wm     " "$MediaInfoWm"
22255Mcho "ApeTag " "$MediaInfoApeTag"
22256Mcho "Id3    " "$MediaInfoId3"
22257Mcho "Id3v2  " "$MediaInfoId3v2"
22258Mcho "Lyrics3" "$MediaInfoLyrics3"
22259Mcho "Lyrics3v2" "$MediaInfoLyrics3v2"
22260Mcho "VorbisCom" "$MediaInfoVorbisCom"
22261Mcho "Cmml   " "$MediaInfoCmml"
22262Mcho "DvbSubtitle " "$MediaInfoDvbSubtitle"
22263Mcho "Eia608 " "$MediaInfoEia608"
22264Mcho "Eia708 " "$MediaInfoEia708"
22265Mcho "SubRip " "$MediaInfoSubRip"
22266Mcho "Teletext " "$MediaInfoTeletext"
22267Mcho "TimedText " "$MediaInfoTimedText"
22268Mcho "Ttml   " "$MediaInfoTtml"
22269Mcho "Kate   " "$MediaInfoKate"
22270Mcho "Pdf    " "$MediaInfoPdf"
22271Mcho "Pgs    " "$MediaInfoPgs"
22272Mcho "Scc    " "$MediaInfoScc"
22273Mcho "Aic    " "$MediaInfoAic"
22274Mcho "Av1    " "$MediaInfoAv1"
22275Mcho "Avc    " "$MediaInfoAvc"
22276Mcho "AvsV   " "$MediaInfoAvsV"
22277Mcho "Canopus" "$MediaInfoCanopus"
22278Mcho "Ffv1   " "$MediaInfoFfv1"
22279Mcho "Flic   " "$MediaInfoFlic"
22280Mcho "H263   " "$MediaInfoH263"
22281Mcho "Hevc   " "$MediaInfoHevc"
22282Mcho "HuffYUV" "$MediaInfoHuffYUV"
22283Mcho "Mpeg4v " "$MediaInfoMpeg4v"
22284Mcho "Mpegv  " "$MediaInfoMpegv"
22285Mcho "ProRes " "$MediaInfoProRes"
22286Mcho "Theora " "$MediaInfoTheora"
22287Mcho "Vc1    " "$MediaInfoVc1"
22288Mcho "Vc3    " "$MediaInfoVc3"
22289Mcho "VP8    " "$MediaInfoVp8"
22290Mcho "Y4m    " "$MediaInfoY4m"
22291echo ""
22292echo "  CXXFLAGS: $CXXFLAGS"
22293echo "  LDFLAGS: $LDFLAGS"
22294echo "  LIBS: $LIBS"
22295