1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for flac 1.3.4.
4#
5# Report bugs to <flac-dev@xiph.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and flac-dev@xiph.org
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='flac'
592PACKAGE_TARNAME='flac'
593PACKAGE_VERSION='1.3.4'
594PACKAGE_STRING='flac 1.3.4'
595PACKAGE_BUGREPORT='flac-dev@xiph.org'
596PACKAGE_URL='https://www.xiph.org/flac/'
597
598ac_unique_file="src/flac/main.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639GCC_MINOR_VERSION
640GCC_MAJOR_VERSION
641GCC_VERSION
642FLaC__HAS_NASM_FALSE
643FLaC__HAS_NASM_TRUE
644NASM
645LIB_CLOCK_GETTIME
646FLaC__HAS_DOCBOOK_TO_MAN_FALSE
647FLaC__HAS_DOCBOOK_TO_MAN_TRUE
648DOCBOOK_TO_MAN
649LTLIBICONV
650LIBICONV
651EXAMPLES_FALSE
652EXAMPLES_TRUE
653OGG_PACKAGE
654FLAC__HAS_OGG
655FLaC__HAS_OGG_FALSE
656FLaC__HAS_OGG_TRUE
657OGG_LIBS
658OGG_CFLAGS
659LIB_FUZZING_ENGINE
660USE_OSSFUZZ_STATIC_FALSE
661USE_OSSFUZZ_STATIC_TRUE
662USE_OSSFUZZ_FLAG_FALSE
663USE_OSSFUZZ_FLAG_TRUE
664USE_OSSFUZZERS_FALSE
665USE_OSSFUZZERS_TRUE
666FLaC__WITH_CPPLIBS_FALSE
667FLaC__WITH_CPPLIBS_TRUE
668FLaC__HAS_XMMS_FALSE
669FLaC__HAS_XMMS_TRUE
670XMMS_EFFECT_PLUGIN_DIR
671XMMS_GENERAL_PLUGIN_DIR
672XMMS_OUTPUT_PLUGIN_DIR
673XMMS_INPUT_PLUGIN_DIR
674XMMS_VISUALIZATION_PLUGIN_DIR
675XMMS_PLUGIN_DIR
676XMMS_DATA_DIR
677XMMS_VERSION
678XMMS_LIBS
679XMMS_CFLAGS
680XMMS_CONFIG
681FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE
682FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE
683FLaC__HAS_DOXYGEN_FALSE
684FLaC__HAS_DOXYGEN_TRUE
685DOXYGEN
686FLAC__TEST_WITH_VALGRIND
687ENABLE_64_BIT_WORDS
688FLAC__TEST_LEVEL
689FLaC__USE_AVX_FALSE
690FLaC__USE_AVX_TRUE
691FLaC__USE_VSX_FALSE
692FLaC__USE_VSX_TRUE
693FLaC__USE_ALTIVEC_FALSE
694FLaC__USE_ALTIVEC_TRUE
695DEBUG_FALSE
696DEBUG_TRUE
697FLaC__SYS_LINUX_FALSE
698FLaC__SYS_LINUX_TRUE
699FLaC__SYS_DARWIN_FALSE
700FLaC__SYS_DARWIN_TRUE
701OS_IS_WINDOWS_FALSE
702OS_IS_WINDOWS_TRUE
703OBJ_FORMAT
704FLaC__CPU_SPARC_FALSE
705FLaC__CPU_SPARC_TRUE
706FLaC__CPU_PPC64_FALSE
707FLaC__CPU_PPC64_TRUE
708FLaC__CPU_PPC_FALSE
709FLaC__CPU_PPC_TRUE
710FLaC__CPU_IA32_FALSE
711FLaC__CPU_IA32_TRUE
712FLAC__CPU_X86_64_FALSE
713FLAC__CPU_X86_64_TRUE
714FLaC__NO_ASM_FALSE
715FLaC__NO_ASM_TRUE
716CXXCPP
717am__fastdepCXX_FALSE
718am__fastdepCXX_TRUE
719CXXDEPMODE
720ac_ct_CXX
721CXXFLAGS
722CXX
723am__fastdepCCAS_FALSE
724am__fastdepCCAS_TRUE
725CCASDEPMODE
726CCASFLAGS
727CCAS
728LT_SYS_LIBRARY_PATH
729OTOOL64
730OTOOL
731LIPO
732NMEDIT
733DSYMUTIL
734MANIFEST_TOOL
735RANLIB
736LN_S
737NM
738ac_ct_DUMPBIN
739DUMPBIN
740LD
741FGREP
742SED
743host_os
744host_vendor
745host_cpu
746host
747build_os
748build_vendor
749build_cpu
750build
751LIBTOOL
752OBJDUMP
753DLLTOOL
754AS
755ac_ct_AR
756AR
757EGREP
758GREP
759CPP
760am__fastdepCC_FALSE
761am__fastdepCC_TRUE
762CCDEPMODE
763am__nodep
764AMDEPBACKSLASH
765AMDEP_FALSE
766AMDEP_TRUE
767am__include
768DEPDIR
769OBJEXT
770EXEEXT
771ac_ct_CC
772CPPFLAGS
773LDFLAGS
774CFLAGS
775CC
776AM_BACKSLASH
777AM_DEFAULT_VERBOSITY
778AM_DEFAULT_V
779AM_V
780am__untar
781am__tar
782AMTAR
783am__leading_dot
784SET_MAKE
785AWK
786mkdir_p
787MKDIR_P
788INSTALL_STRIP_PROGRAM
789STRIP
790install_sh
791MAKEINFO
792AUTOHEADER
793AUTOMAKE
794AUTOCONF
795ACLOCAL
796VERSION
797PACKAGE
798CYGPATH_W
799am__isrc
800INSTALL_DATA
801INSTALL_SCRIPT
802INSTALL_PROGRAM
803target_alias
804host_alias
805build_alias
806LIBS
807ECHO_T
808ECHO_N
809ECHO_C
810DEFS
811mandir
812localedir
813libdir
814psdir
815pdfdir
816dvidir
817htmldir
818infodir
819docdir
820oldincludedir
821includedir
822runstatedir
823localstatedir
824sharedstatedir
825sysconfdir
826datadir
827datarootdir
828libexecdir
829sbindir
830bindir
831program_transform_name
832prefix
833exec_prefix
834PACKAGE_URL
835PACKAGE_BUGREPORT
836PACKAGE_STRING
837PACKAGE_VERSION
838PACKAGE_TARNAME
839PACKAGE_NAME
840PATH_SEPARATOR
841SHELL
842am__quote'
843ac_subst_files=''
844ac_user_opts='
845enable_option_checking
846enable_silent_rules
847enable_debug
848enable_dependency_tracking
849enable_static
850with_pic
851enable_shared
852enable_fast_install
853with_aix_soname
854with_gnu_ld
855with_sysroot
856enable_libtool_lock
857enable_largefile
858enable_asm_optimizations
859enable_sse
860enable_altivec
861enable_vsx
862enable_avx
863enable_thorough_tests
864enable_exhaustive_tests
865enable_werror
866enable_stack_smash_protection
867enable_64_bit_words
868enable_valgrind_testing
869enable_doxygen_docs
870enable_local_xmms_plugin
871enable_xmms_plugin
872with_xmms_prefix
873with_xmms_exec_prefix
874enable_cpplibs
875enable_oss_fuzzers
876enable_ogg
877with_ogg
878with_ogg_libraries
879with_ogg_includes
880enable_oggtest
881enable_examples
882enable_rpath
883with_libiconv_prefix
884'
885      ac_precious_vars='build_alias
886host_alias
887target_alias
888CC
889CFLAGS
890LDFLAGS
891LIBS
892CPPFLAGS
893CPP
894LT_SYS_LIBRARY_PATH
895CCAS
896CCASFLAGS
897CXX
898CXXFLAGS
899CCC
900CXXCPP'
901
902
903# Initialize some variables set by options.
904ac_init_help=
905ac_init_version=false
906ac_unrecognized_opts=
907ac_unrecognized_sep=
908# The variables have the same names as the options, with
909# dashes changed to underlines.
910cache_file=/dev/null
911exec_prefix=NONE
912no_create=
913no_recursion=
914prefix=NONE
915program_prefix=NONE
916program_suffix=NONE
917program_transform_name=s,x,x,
918silent=
919site=
920srcdir=
921verbose=
922x_includes=NONE
923x_libraries=NONE
924
925# Installation directory options.
926# These are left unexpanded so users can "make install exec_prefix=/foo"
927# and all the variables that are supposed to be based on exec_prefix
928# by default will actually change.
929# Use braces instead of parens because sh, perl, etc. also accept them.
930# (The list follows the same order as the GNU Coding Standards.)
931bindir='${exec_prefix}/bin'
932sbindir='${exec_prefix}/sbin'
933libexecdir='${exec_prefix}/libexec'
934datarootdir='${prefix}/share'
935datadir='${datarootdir}'
936sysconfdir='${prefix}/etc'
937sharedstatedir='${prefix}/com'
938localstatedir='${prefix}/var'
939runstatedir='${localstatedir}/run'
940includedir='${prefix}/include'
941oldincludedir='/usr/include'
942docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
943infodir='${datarootdir}/info'
944htmldir='${docdir}'
945dvidir='${docdir}'
946pdfdir='${docdir}'
947psdir='${docdir}'
948libdir='${exec_prefix}/lib'
949localedir='${datarootdir}/locale'
950mandir='${datarootdir}/man'
951
952ac_prev=
953ac_dashdash=
954for ac_option
955do
956  # If the previous option needs an argument, assign it.
957  if test -n "$ac_prev"; then
958    eval $ac_prev=\$ac_option
959    ac_prev=
960    continue
961  fi
962
963  case $ac_option in
964  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965  *=)   ac_optarg= ;;
966  *)    ac_optarg=yes ;;
967  esac
968
969  # Accept the important Cygnus configure options, so we can diagnose typos.
970
971  case $ac_dashdash$ac_option in
972  --)
973    ac_dashdash=yes ;;
974
975  -bindir | --bindir | --bindi | --bind | --bin | --bi)
976    ac_prev=bindir ;;
977  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
978    bindir=$ac_optarg ;;
979
980  -build | --build | --buil | --bui | --bu)
981    ac_prev=build_alias ;;
982  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
983    build_alias=$ac_optarg ;;
984
985  -cache-file | --cache-file | --cache-fil | --cache-fi \
986  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
987    ac_prev=cache_file ;;
988  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
989  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
990    cache_file=$ac_optarg ;;
991
992  --config-cache | -C)
993    cache_file=config.cache ;;
994
995  -datadir | --datadir | --datadi | --datad)
996    ac_prev=datadir ;;
997  -datadir=* | --datadir=* | --datadi=* | --datad=*)
998    datadir=$ac_optarg ;;
999
1000  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1001  | --dataroo | --dataro | --datar)
1002    ac_prev=datarootdir ;;
1003  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1004  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1005    datarootdir=$ac_optarg ;;
1006
1007  -disable-* | --disable-*)
1008    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1009    # Reject names that are not valid shell variable names.
1010    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011      as_fn_error $? "invalid feature name: $ac_useropt"
1012    ac_useropt_orig=$ac_useropt
1013    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014    case $ac_user_opts in
1015      *"
1016"enable_$ac_useropt"
1017"*) ;;
1018      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1019	 ac_unrecognized_sep=', ';;
1020    esac
1021    eval enable_$ac_useropt=no ;;
1022
1023  -docdir | --docdir | --docdi | --doc | --do)
1024    ac_prev=docdir ;;
1025  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1026    docdir=$ac_optarg ;;
1027
1028  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029    ac_prev=dvidir ;;
1030  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1031    dvidir=$ac_optarg ;;
1032
1033  -enable-* | --enable-*)
1034    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035    # Reject names that are not valid shell variable names.
1036    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037      as_fn_error $? "invalid feature name: $ac_useropt"
1038    ac_useropt_orig=$ac_useropt
1039    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040    case $ac_user_opts in
1041      *"
1042"enable_$ac_useropt"
1043"*) ;;
1044      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1045	 ac_unrecognized_sep=', ';;
1046    esac
1047    eval enable_$ac_useropt=\$ac_optarg ;;
1048
1049  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051  | --exec | --exe | --ex)
1052    ac_prev=exec_prefix ;;
1053  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055  | --exec=* | --exe=* | --ex=*)
1056    exec_prefix=$ac_optarg ;;
1057
1058  -gas | --gas | --ga | --g)
1059    # Obsolete; use --with-gas.
1060    with_gas=yes ;;
1061
1062  -help | --help | --hel | --he | -h)
1063    ac_init_help=long ;;
1064  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1065    ac_init_help=recursive ;;
1066  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1067    ac_init_help=short ;;
1068
1069  -host | --host | --hos | --ho)
1070    ac_prev=host_alias ;;
1071  -host=* | --host=* | --hos=* | --ho=*)
1072    host_alias=$ac_optarg ;;
1073
1074  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075    ac_prev=htmldir ;;
1076  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077  | --ht=*)
1078    htmldir=$ac_optarg ;;
1079
1080  -includedir | --includedir | --includedi | --included | --include \
1081  | --includ | --inclu | --incl | --inc)
1082    ac_prev=includedir ;;
1083  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084  | --includ=* | --inclu=* | --incl=* | --inc=*)
1085    includedir=$ac_optarg ;;
1086
1087  -infodir | --infodir | --infodi | --infod | --info | --inf)
1088    ac_prev=infodir ;;
1089  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090    infodir=$ac_optarg ;;
1091
1092  -libdir | --libdir | --libdi | --libd)
1093    ac_prev=libdir ;;
1094  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095    libdir=$ac_optarg ;;
1096
1097  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098  | --libexe | --libex | --libe)
1099    ac_prev=libexecdir ;;
1100  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101  | --libexe=* | --libex=* | --libe=*)
1102    libexecdir=$ac_optarg ;;
1103
1104  -localedir | --localedir | --localedi | --localed | --locale)
1105    ac_prev=localedir ;;
1106  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107    localedir=$ac_optarg ;;
1108
1109  -localstatedir | --localstatedir | --localstatedi | --localstated \
1110  | --localstate | --localstat | --localsta | --localst | --locals)
1111    ac_prev=localstatedir ;;
1112  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114    localstatedir=$ac_optarg ;;
1115
1116  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117    ac_prev=mandir ;;
1118  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119    mandir=$ac_optarg ;;
1120
1121  -nfp | --nfp | --nf)
1122    # Obsolete; use --without-fp.
1123    with_fp=no ;;
1124
1125  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126  | --no-cr | --no-c | -n)
1127    no_create=yes ;;
1128
1129  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131    no_recursion=yes ;;
1132
1133  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135  | --oldin | --oldi | --old | --ol | --o)
1136    ac_prev=oldincludedir ;;
1137  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140    oldincludedir=$ac_optarg ;;
1141
1142  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143    ac_prev=prefix ;;
1144  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145    prefix=$ac_optarg ;;
1146
1147  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148  | --program-pre | --program-pr | --program-p)
1149    ac_prev=program_prefix ;;
1150  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152    program_prefix=$ac_optarg ;;
1153
1154  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155  | --program-suf | --program-su | --program-s)
1156    ac_prev=program_suffix ;;
1157  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159    program_suffix=$ac_optarg ;;
1160
1161  -program-transform-name | --program-transform-name \
1162  | --program-transform-nam | --program-transform-na \
1163  | --program-transform-n | --program-transform- \
1164  | --program-transform | --program-transfor \
1165  | --program-transfo | --program-transf \
1166  | --program-trans | --program-tran \
1167  | --progr-tra | --program-tr | --program-t)
1168    ac_prev=program_transform_name ;;
1169  -program-transform-name=* | --program-transform-name=* \
1170  | --program-transform-nam=* | --program-transform-na=* \
1171  | --program-transform-n=* | --program-transform-=* \
1172  | --program-transform=* | --program-transfor=* \
1173  | --program-transfo=* | --program-transf=* \
1174  | --program-trans=* | --program-tran=* \
1175  | --progr-tra=* | --program-tr=* | --program-t=*)
1176    program_transform_name=$ac_optarg ;;
1177
1178  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179    ac_prev=pdfdir ;;
1180  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181    pdfdir=$ac_optarg ;;
1182
1183  -psdir | --psdir | --psdi | --psd | --ps)
1184    ac_prev=psdir ;;
1185  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186    psdir=$ac_optarg ;;
1187
1188  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189  | -silent | --silent | --silen | --sile | --sil)
1190    silent=yes ;;
1191
1192  -runstatedir | --runstatedir | --runstatedi | --runstated \
1193  | --runstate | --runstat | --runsta | --runst | --runs \
1194  | --run | --ru | --r)
1195    ac_prev=runstatedir ;;
1196  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1197  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1198  | --run=* | --ru=* | --r=*)
1199    runstatedir=$ac_optarg ;;
1200
1201  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202    ac_prev=sbindir ;;
1203  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204  | --sbi=* | --sb=*)
1205    sbindir=$ac_optarg ;;
1206
1207  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209  | --sharedst | --shareds | --shared | --share | --shar \
1210  | --sha | --sh)
1211    ac_prev=sharedstatedir ;;
1212  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215  | --sha=* | --sh=*)
1216    sharedstatedir=$ac_optarg ;;
1217
1218  -site | --site | --sit)
1219    ac_prev=site ;;
1220  -site=* | --site=* | --sit=*)
1221    site=$ac_optarg ;;
1222
1223  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224    ac_prev=srcdir ;;
1225  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226    srcdir=$ac_optarg ;;
1227
1228  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229  | --syscon | --sysco | --sysc | --sys | --sy)
1230    ac_prev=sysconfdir ;;
1231  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233    sysconfdir=$ac_optarg ;;
1234
1235  -target | --target | --targe | --targ | --tar | --ta | --t)
1236    ac_prev=target_alias ;;
1237  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238    target_alias=$ac_optarg ;;
1239
1240  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241    verbose=yes ;;
1242
1243  -version | --version | --versio | --versi | --vers | -V)
1244    ac_init_version=: ;;
1245
1246  -with-* | --with-*)
1247    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248    # Reject names that are not valid shell variable names.
1249    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250      as_fn_error $? "invalid package name: $ac_useropt"
1251    ac_useropt_orig=$ac_useropt
1252    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253    case $ac_user_opts in
1254      *"
1255"with_$ac_useropt"
1256"*) ;;
1257      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258	 ac_unrecognized_sep=', ';;
1259    esac
1260    eval with_$ac_useropt=\$ac_optarg ;;
1261
1262  -without-* | --without-*)
1263    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264    # Reject names that are not valid shell variable names.
1265    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266      as_fn_error $? "invalid package name: $ac_useropt"
1267    ac_useropt_orig=$ac_useropt
1268    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269    case $ac_user_opts in
1270      *"
1271"with_$ac_useropt"
1272"*) ;;
1273      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274	 ac_unrecognized_sep=', ';;
1275    esac
1276    eval with_$ac_useropt=no ;;
1277
1278  --x)
1279    # Obsolete; use --with-x.
1280    with_x=yes ;;
1281
1282  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283  | --x-incl | --x-inc | --x-in | --x-i)
1284    ac_prev=x_includes ;;
1285  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287    x_includes=$ac_optarg ;;
1288
1289  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291    ac_prev=x_libraries ;;
1292  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294    x_libraries=$ac_optarg ;;
1295
1296  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1297Try \`$0 --help' for more information"
1298    ;;
1299
1300  *=*)
1301    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302    # Reject names that are not valid shell variable names.
1303    case $ac_envvar in #(
1304      '' | [0-9]* | *[!_$as_cr_alnum]* )
1305      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1306    esac
1307    eval $ac_envvar=\$ac_optarg
1308    export $ac_envvar ;;
1309
1310  *)
1311    # FIXME: should be removed in autoconf 3.0.
1312    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1316    ;;
1317
1318  esac
1319done
1320
1321if test -n "$ac_prev"; then
1322  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323  as_fn_error $? "missing argument to $ac_option"
1324fi
1325
1326if test -n "$ac_unrecognized_opts"; then
1327  case $enable_option_checking in
1328    no) ;;
1329    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1330    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331  esac
1332fi
1333
1334# Check all directory arguments for consistency.
1335for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336		datadir sysconfdir sharedstatedir localstatedir includedir \
1337		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338		libdir localedir mandir runstatedir
1339do
1340  eval ac_val=\$$ac_var
1341  # Remove trailing slashes.
1342  case $ac_val in
1343    */ )
1344      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345      eval $ac_var=\$ac_val;;
1346  esac
1347  # Be sure to have absolute directory names.
1348  case $ac_val in
1349    [\\/$]* | ?:[\\/]* )  continue;;
1350    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351  esac
1352  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1353done
1354
1355# There might be people who depend on the old broken behavior: `$host'
1356# used to hold the argument of --host etc.
1357# FIXME: To remove some day.
1358build=$build_alias
1359host=$host_alias
1360target=$target_alias
1361
1362# FIXME: To remove some day.
1363if test "x$host_alias" != x; then
1364  if test "x$build_alias" = x; then
1365    cross_compiling=maybe
1366  elif test "x$build_alias" != "x$host_alias"; then
1367    cross_compiling=yes
1368  fi
1369fi
1370
1371ac_tool_prefix=
1372test -n "$host_alias" && ac_tool_prefix=$host_alias-
1373
1374test "$silent" = yes && exec 6>/dev/null
1375
1376
1377ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378ac_ls_di=`ls -di .` &&
1379ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380  as_fn_error $? "working directory cannot be determined"
1381test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382  as_fn_error $? "pwd does not report name of working directory"
1383
1384
1385# Find the source files, if location was not specified.
1386if test -z "$srcdir"; then
1387  ac_srcdir_defaulted=yes
1388  # Try the directory containing this script, then the parent directory.
1389  ac_confdir=`$as_dirname -- "$as_myself" ||
1390$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391	 X"$as_myself" : 'X\(//\)[^/]' \| \
1392	 X"$as_myself" : 'X\(//\)$' \| \
1393	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394$as_echo X"$as_myself" |
1395    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396	    s//\1/
1397	    q
1398	  }
1399	  /^X\(\/\/\)[^/].*/{
1400	    s//\1/
1401	    q
1402	  }
1403	  /^X\(\/\/\)$/{
1404	    s//\1/
1405	    q
1406	  }
1407	  /^X\(\/\).*/{
1408	    s//\1/
1409	    q
1410	  }
1411	  s/.*/./; q'`
1412  srcdir=$ac_confdir
1413  if test ! -r "$srcdir/$ac_unique_file"; then
1414    srcdir=..
1415  fi
1416else
1417  ac_srcdir_defaulted=no
1418fi
1419if test ! -r "$srcdir/$ac_unique_file"; then
1420  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1422fi
1423ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424ac_abs_confdir=`(
1425	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1426	pwd)`
1427# When building in place, set srcdir=.
1428if test "$ac_abs_confdir" = "$ac_pwd"; then
1429  srcdir=.
1430fi
1431# Remove unnecessary trailing slashes from srcdir.
1432# Double slashes in file names in object file debugging info
1433# mess up M-x gdb in Emacs.
1434case $srcdir in
1435*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436esac
1437for ac_var in $ac_precious_vars; do
1438  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439  eval ac_env_${ac_var}_value=\$${ac_var}
1440  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442done
1443
1444#
1445# Report the --help message.
1446#
1447if test "$ac_init_help" = "long"; then
1448  # Omit some internal or obsolete options to make the list less imposing.
1449  # This message is too long to be a string in the A/UX 3.1 sh.
1450  cat <<_ACEOF
1451\`configure' configures flac 1.3.4 to adapt to many kinds of systems.
1452
1453Usage: $0 [OPTION]... [VAR=VALUE]...
1454
1455To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456VAR=VALUE.  See below for descriptions of some of the useful variables.
1457
1458Defaults for the options are specified in brackets.
1459
1460Configuration:
1461  -h, --help              display this help and exit
1462      --help=short        display options specific to this package
1463      --help=recursive    display the short help of all the included packages
1464  -V, --version           display version information and exit
1465  -q, --quiet, --silent   do not print \`checking ...' messages
1466      --cache-file=FILE   cache test results in FILE [disabled]
1467  -C, --config-cache      alias for \`--cache-file=config.cache'
1468  -n, --no-create         do not create output files
1469      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1470
1471Installation directories:
1472  --prefix=PREFIX         install architecture-independent files in PREFIX
1473                          [$ac_default_prefix]
1474  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1475                          [PREFIX]
1476
1477By default, \`make install' will install all the files in
1478\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1479an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480for instance \`--prefix=\$HOME'.
1481
1482For better control, use the options below.
1483
1484Fine tuning of the installation directories:
1485  --bindir=DIR            user executables [EPREFIX/bin]
1486  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1487  --libexecdir=DIR        program executables [EPREFIX/libexec]
1488  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1489  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1490  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1491  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1492  --libdir=DIR            object code libraries [EPREFIX/lib]
1493  --includedir=DIR        C header files [PREFIX/include]
1494  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1495  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1496  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1497  --infodir=DIR           info documentation [DATAROOTDIR/info]
1498  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1499  --mandir=DIR            man documentation [DATAROOTDIR/man]
1500  --docdir=DIR            documentation root [DATAROOTDIR/doc/flac]
1501  --htmldir=DIR           html documentation [DOCDIR]
1502  --dvidir=DIR            dvi documentation [DOCDIR]
1503  --pdfdir=DIR            pdf documentation [DOCDIR]
1504  --psdir=DIR             ps documentation [DOCDIR]
1505_ACEOF
1506
1507  cat <<\_ACEOF
1508
1509Program names:
1510  --program-prefix=PREFIX            prepend PREFIX to installed program names
1511  --program-suffix=SUFFIX            append SUFFIX to installed program names
1512  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1513
1514System types:
1515  --build=BUILD     configure for building on BUILD [guessed]
1516  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1517_ACEOF
1518fi
1519
1520if test -n "$ac_init_help"; then
1521  case $ac_init_help in
1522     short | recursive ) echo "Configuration of flac 1.3.4:";;
1523   esac
1524  cat <<\_ACEOF
1525
1526Optional Features:
1527  --disable-option-checking  ignore unrecognized --enable/--with options
1528  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1529  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1530  --enable-silent-rules   less verbose build output (undo: "make V=1")
1531  --disable-silent-rules  verbose build output (undo: "make V=0")
1532  --enable-debug=[yes/info/profile/no]
1533                          compile with debugging
1534  --enable-dependency-tracking
1535                          do not reject slow dependency extractors
1536  --disable-dependency-tracking
1537                          speeds up one-time build
1538  --enable-static[=PKGS]  build static libraries [default=no]
1539  --enable-shared[=PKGS]  build shared libraries [default=yes]
1540  --enable-fast-install[=PKGS]
1541                          optimize for fast installation [default=yes]
1542  --disable-libtool-lock  avoid locking (might break parallel builds)
1543  --disable-largefile     omit support for large files
1544  --disable-asm-optimizations
1545                          Don't use any assembly optimization routines
1546  --disable-sse           Disable passing of -msse2 to the compiler
1547  --disable-altivec       Disable Altivec optimizations
1548  --disable-vsx           Disable VSX optimizations
1549  --disable-avx           Disable AVX, AVX2 optimizations
1550  --disable-thorough-tests
1551                          Disable thorough (long) testing, do only basic tests
1552  --enable-exhaustive-tests
1553                          Enable exhaustive testing (VERY long)
1554  --enable-werror         Enable -Werror in all Makefiles
1555  --disable-stack-smash-protection
1556                          Disable GNU GCC stack smash protection
1557  --enable-64-bit-words   Set FLAC__BYTES_PER_WORD to 8 (4 is the default)
1558  --enable-valgrind-testing
1559                          Run all tests inside Valgrind
1560  --disable-doxygen-docs  Disable API documentation building via Doxygen
1561  --enable-local-xmms-plugin
1562                          Install XMMS plugin to ~/.xmms/Plugins instead of
1563                          system location
1564  --disable-xmms-plugin   Do not build XMMS plugin
1565  --disable-cpplibs       Do not build libFLAC++
1566  --enable-oss-fuzzers    Whether to generate the fuzzers for OSS-Fuzz (Clang
1567                          only)
1568  --disable-ogg           Disable ogg support (default: test for libogg)
1569  --disable-oggtest       Do not try to compile and run a test Ogg program
1570  --disable-examples      Don't build and install examples
1571  --disable-rpath         do not hardcode runtime library paths
1572
1573Optional Packages:
1574  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1575  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1576  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1577                          both]
1578  --with-aix-soname=aix|svr4|both
1579                          shared library versioning (aka "SONAME") variant to
1580                          provide on AIX, [default=aix].
1581  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1582  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1583                          compiler's sysroot if not specified).
1584  --with-xmms-prefix=PFX  Prefix where XMMS is installed (optional)
1585  --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)
1586  --with-ogg=PFX          Prefix where libogg is installed (optional)
1587  --with-ogg-libraries=DIR
1588                          Directory where libogg library is installed
1589                          (optional)
1590  --with-ogg-includes=DIR Directory where libogg header files are installed
1591                          (optional)
1592  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1593  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1594  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1595
1596Some influential environment variables:
1597  CC          C compiler command
1598  CFLAGS      C compiler flags
1599  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1600              nonstandard directory <lib dir>
1601  LIBS        libraries to pass to the linker, e.g. -l<library>
1602  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603              you have headers in a nonstandard directory <include dir>
1604  CPP         C preprocessor
1605  LT_SYS_LIBRARY_PATH
1606              User-defined run-time library search path.
1607  CCAS        assembler compiler command (defaults to CC)
1608  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1609  CXX         C++ compiler command
1610  CXXFLAGS    C++ compiler flags
1611  CXXCPP      C++ preprocessor
1612
1613Use these variables to override the choices made by `configure' or to help
1614it to find libraries and programs with nonstandard names/locations.
1615
1616Report bugs to <flac-dev@xiph.org>.
1617flac home page: <https://www.xiph.org/flac/>.
1618_ACEOF
1619ac_status=$?
1620fi
1621
1622if test "$ac_init_help" = "recursive"; then
1623  # If there are subdirs, report their specific --help.
1624  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1625    test -d "$ac_dir" ||
1626      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1627      continue
1628    ac_builddir=.
1629
1630case "$ac_dir" in
1631.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632*)
1633  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1634  # A ".." for each directory in $ac_dir_suffix.
1635  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1636  case $ac_top_builddir_sub in
1637  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1639  esac ;;
1640esac
1641ac_abs_top_builddir=$ac_pwd
1642ac_abs_builddir=$ac_pwd$ac_dir_suffix
1643# for backward compatibility:
1644ac_top_builddir=$ac_top_build_prefix
1645
1646case $srcdir in
1647  .)  # We are building in place.
1648    ac_srcdir=.
1649    ac_top_srcdir=$ac_top_builddir_sub
1650    ac_abs_top_srcdir=$ac_pwd ;;
1651  [\\/]* | ?:[\\/]* )  # Absolute name.
1652    ac_srcdir=$srcdir$ac_dir_suffix;
1653    ac_top_srcdir=$srcdir
1654    ac_abs_top_srcdir=$srcdir ;;
1655  *) # Relative name.
1656    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657    ac_top_srcdir=$ac_top_build_prefix$srcdir
1658    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1659esac
1660ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1661
1662    cd "$ac_dir" || { ac_status=$?; continue; }
1663    # Check for guested configure.
1664    if test -f "$ac_srcdir/configure.gnu"; then
1665      echo &&
1666      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667    elif test -f "$ac_srcdir/configure"; then
1668      echo &&
1669      $SHELL "$ac_srcdir/configure" --help=recursive
1670    else
1671      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672    fi || ac_status=$?
1673    cd "$ac_pwd" || { ac_status=$?; break; }
1674  done
1675fi
1676
1677test -n "$ac_init_help" && exit $ac_status
1678if $ac_init_version; then
1679  cat <<\_ACEOF
1680flac configure 1.3.4
1681generated by GNU Autoconf 2.69
1682
1683Copyright (C) 2012 Free Software Foundation, Inc.
1684This configure script is free software; the Free Software Foundation
1685gives unlimited permission to copy, distribute and modify it.
1686_ACEOF
1687  exit
1688fi
1689
1690## ------------------------ ##
1691## Autoconf initialization. ##
1692## ------------------------ ##
1693
1694# ac_fn_c_try_compile LINENO
1695# --------------------------
1696# Try to compile conftest.$ac_ext, and return whether this succeeded.
1697ac_fn_c_try_compile ()
1698{
1699  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700  rm -f conftest.$ac_objext
1701  if { { ac_try="$ac_compile"
1702case "(($ac_try" in
1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704  *) ac_try_echo=$ac_try;;
1705esac
1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707$as_echo "$ac_try_echo"; } >&5
1708  (eval "$ac_compile") 2>conftest.err
1709  ac_status=$?
1710  if test -s conftest.err; then
1711    grep -v '^ *+' conftest.err >conftest.er1
1712    cat conftest.er1 >&5
1713    mv -f conftest.er1 conftest.err
1714  fi
1715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716  test $ac_status = 0; } && {
1717	 test -z "$ac_c_werror_flag" ||
1718	 test ! -s conftest.err
1719       } && test -s conftest.$ac_objext; then :
1720  ac_retval=0
1721else
1722  $as_echo "$as_me: failed program was:" >&5
1723sed 's/^/| /' conftest.$ac_ext >&5
1724
1725	ac_retval=1
1726fi
1727  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728  as_fn_set_status $ac_retval
1729
1730} # ac_fn_c_try_compile
1731
1732# ac_fn_c_try_cpp LINENO
1733# ----------------------
1734# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1735ac_fn_c_try_cpp ()
1736{
1737  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738  if { { ac_try="$ac_cpp conftest.$ac_ext"
1739case "(($ac_try" in
1740  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741  *) ac_try_echo=$ac_try;;
1742esac
1743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744$as_echo "$ac_try_echo"; } >&5
1745  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746  ac_status=$?
1747  if test -s conftest.err; then
1748    grep -v '^ *+' conftest.err >conftest.er1
1749    cat conftest.er1 >&5
1750    mv -f conftest.er1 conftest.err
1751  fi
1752  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753  test $ac_status = 0; } > conftest.i && {
1754	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1755	 test ! -s conftest.err
1756       }; then :
1757  ac_retval=0
1758else
1759  $as_echo "$as_me: failed program was:" >&5
1760sed 's/^/| /' conftest.$ac_ext >&5
1761
1762    ac_retval=1
1763fi
1764  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765  as_fn_set_status $ac_retval
1766
1767} # ac_fn_c_try_cpp
1768
1769# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1770# -------------------------------------------------------
1771# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1772# the include files in INCLUDES and setting the cache variable VAR
1773# accordingly.
1774ac_fn_c_check_header_mongrel ()
1775{
1776  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777  if eval \${$3+:} false; then :
1778  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779$as_echo_n "checking for $2... " >&6; }
1780if eval \${$3+:} false; then :
1781  $as_echo_n "(cached) " >&6
1782fi
1783eval ac_res=\$$3
1784	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785$as_echo "$ac_res" >&6; }
1786else
1787  # Is the header compilable?
1788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1789$as_echo_n "checking $2 usability... " >&6; }
1790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791/* end confdefs.h.  */
1792$4
1793#include <$2>
1794_ACEOF
1795if ac_fn_c_try_compile "$LINENO"; then :
1796  ac_header_compiler=yes
1797else
1798  ac_header_compiler=no
1799fi
1800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1802$as_echo "$ac_header_compiler" >&6; }
1803
1804# Is the header present?
1805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1806$as_echo_n "checking $2 presence... " >&6; }
1807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808/* end confdefs.h.  */
1809#include <$2>
1810_ACEOF
1811if ac_fn_c_try_cpp "$LINENO"; then :
1812  ac_header_preproc=yes
1813else
1814  ac_header_preproc=no
1815fi
1816rm -f conftest.err conftest.i conftest.$ac_ext
1817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1818$as_echo "$ac_header_preproc" >&6; }
1819
1820# So?  What about this header?
1821case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1822  yes:no: )
1823    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1824$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1825    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827    ;;
1828  no:yes:* )
1829    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1830$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1831    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1832$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1833    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1834$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1835    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1836$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1837    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839( $as_echo "## -------------------------------- ##
1840## Report this to flac-dev@xiph.org ##
1841## -------------------------------- ##"
1842     ) | sed "s/^/$as_me: WARNING:     /" >&2
1843    ;;
1844esac
1845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846$as_echo_n "checking for $2... " >&6; }
1847if eval \${$3+:} false; then :
1848  $as_echo_n "(cached) " >&6
1849else
1850  eval "$3=\$ac_header_compiler"
1851fi
1852eval ac_res=\$$3
1853	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854$as_echo "$ac_res" >&6; }
1855fi
1856  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857
1858} # ac_fn_c_check_header_mongrel
1859
1860# ac_fn_c_try_run LINENO
1861# ----------------------
1862# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1863# that executables *can* be run.
1864ac_fn_c_try_run ()
1865{
1866  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867  if { { ac_try="$ac_link"
1868case "(($ac_try" in
1869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870  *) ac_try_echo=$ac_try;;
1871esac
1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873$as_echo "$ac_try_echo"; } >&5
1874  (eval "$ac_link") 2>&5
1875  ac_status=$?
1876  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1878  { { case "(($ac_try" in
1879  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880  *) ac_try_echo=$ac_try;;
1881esac
1882eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883$as_echo "$ac_try_echo"; } >&5
1884  (eval "$ac_try") 2>&5
1885  ac_status=$?
1886  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887  test $ac_status = 0; }; }; then :
1888  ac_retval=0
1889else
1890  $as_echo "$as_me: program exited with status $ac_status" >&5
1891       $as_echo "$as_me: failed program was:" >&5
1892sed 's/^/| /' conftest.$ac_ext >&5
1893
1894       ac_retval=$ac_status
1895fi
1896  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898  as_fn_set_status $ac_retval
1899
1900} # ac_fn_c_try_run
1901
1902# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1903# -------------------------------------------------------
1904# Tests whether HEADER exists and can be compiled using the include files in
1905# INCLUDES, setting the cache variable VAR accordingly.
1906ac_fn_c_check_header_compile ()
1907{
1908  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910$as_echo_n "checking for $2... " >&6; }
1911if eval \${$3+:} false; then :
1912  $as_echo_n "(cached) " >&6
1913else
1914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915/* end confdefs.h.  */
1916$4
1917#include <$2>
1918_ACEOF
1919if ac_fn_c_try_compile "$LINENO"; then :
1920  eval "$3=yes"
1921else
1922  eval "$3=no"
1923fi
1924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925fi
1926eval ac_res=\$$3
1927	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928$as_echo "$ac_res" >&6; }
1929  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930
1931} # ac_fn_c_check_header_compile
1932
1933# ac_fn_c_try_link LINENO
1934# -----------------------
1935# Try to link conftest.$ac_ext, and return whether this succeeded.
1936ac_fn_c_try_link ()
1937{
1938  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939  rm -f conftest.$ac_objext conftest$ac_exeext
1940  if { { ac_try="$ac_link"
1941case "(($ac_try" in
1942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943  *) ac_try_echo=$ac_try;;
1944esac
1945eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946$as_echo "$ac_try_echo"; } >&5
1947  (eval "$ac_link") 2>conftest.err
1948  ac_status=$?
1949  if test -s conftest.err; then
1950    grep -v '^ *+' conftest.err >conftest.er1
1951    cat conftest.er1 >&5
1952    mv -f conftest.er1 conftest.err
1953  fi
1954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955  test $ac_status = 0; } && {
1956	 test -z "$ac_c_werror_flag" ||
1957	 test ! -s conftest.err
1958       } && test -s conftest$ac_exeext && {
1959	 test "$cross_compiling" = yes ||
1960	 test -x conftest$ac_exeext
1961       }; then :
1962  ac_retval=0
1963else
1964  $as_echo "$as_me: failed program was:" >&5
1965sed 's/^/| /' conftest.$ac_ext >&5
1966
1967	ac_retval=1
1968fi
1969  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971  # interfere with the next link command; also delete a directory that is
1972  # left behind by Apple's compiler.  We do this before executing the actions.
1973  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975  as_fn_set_status $ac_retval
1976
1977} # ac_fn_c_try_link
1978
1979# ac_fn_c_check_func LINENO FUNC VAR
1980# ----------------------------------
1981# Tests whether FUNC exists, setting the cache variable VAR accordingly
1982ac_fn_c_check_func ()
1983{
1984  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986$as_echo_n "checking for $2... " >&6; }
1987if eval \${$3+:} false; then :
1988  $as_echo_n "(cached) " >&6
1989else
1990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991/* end confdefs.h.  */
1992/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1993   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1994#define $2 innocuous_$2
1995
1996/* System header to define __stub macros and hopefully few prototypes,
1997    which can conflict with char $2 (); below.
1998    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1999    <limits.h> exists even on freestanding compilers.  */
2000
2001#ifdef __STDC__
2002# include <limits.h>
2003#else
2004# include <assert.h>
2005#endif
2006
2007#undef $2
2008
2009/* Override any GCC internal prototype to avoid an error.
2010   Use char because int might match the return type of a GCC
2011   builtin and then its argument prototype would still apply.  */
2012#ifdef __cplusplus
2013extern "C"
2014#endif
2015char $2 ();
2016/* The GNU C library defines this for functions which it implements
2017    to always fail with ENOSYS.  Some functions are actually named
2018    something starting with __ and the normal name is an alias.  */
2019#if defined __stub_$2 || defined __stub___$2
2020choke me
2021#endif
2022
2023int
2024main ()
2025{
2026return $2 ();
2027  ;
2028  return 0;
2029}
2030_ACEOF
2031if ac_fn_c_try_link "$LINENO"; then :
2032  eval "$3=yes"
2033else
2034  eval "$3=no"
2035fi
2036rm -f core conftest.err conftest.$ac_objext \
2037    conftest$ac_exeext conftest.$ac_ext
2038fi
2039eval ac_res=\$$3
2040	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041$as_echo "$ac_res" >&6; }
2042  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043
2044} # ac_fn_c_check_func
2045
2046# ac_fn_cxx_try_compile LINENO
2047# ----------------------------
2048# Try to compile conftest.$ac_ext, and return whether this succeeded.
2049ac_fn_cxx_try_compile ()
2050{
2051  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052  rm -f conftest.$ac_objext
2053  if { { ac_try="$ac_compile"
2054case "(($ac_try" in
2055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2056  *) ac_try_echo=$ac_try;;
2057esac
2058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2059$as_echo "$ac_try_echo"; } >&5
2060  (eval "$ac_compile") 2>conftest.err
2061  ac_status=$?
2062  if test -s conftest.err; then
2063    grep -v '^ *+' conftest.err >conftest.er1
2064    cat conftest.er1 >&5
2065    mv -f conftest.er1 conftest.err
2066  fi
2067  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2068  test $ac_status = 0; } && {
2069	 test -z "$ac_cxx_werror_flag" ||
2070	 test ! -s conftest.err
2071       } && test -s conftest.$ac_objext; then :
2072  ac_retval=0
2073else
2074  $as_echo "$as_me: failed program was:" >&5
2075sed 's/^/| /' conftest.$ac_ext >&5
2076
2077	ac_retval=1
2078fi
2079  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080  as_fn_set_status $ac_retval
2081
2082} # ac_fn_cxx_try_compile
2083
2084# ac_fn_cxx_try_cpp LINENO
2085# ------------------------
2086# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2087ac_fn_cxx_try_cpp ()
2088{
2089  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090  if { { ac_try="$ac_cpp conftest.$ac_ext"
2091case "(($ac_try" in
2092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093  *) ac_try_echo=$ac_try;;
2094esac
2095eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2096$as_echo "$ac_try_echo"; } >&5
2097  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2098  ac_status=$?
2099  if test -s conftest.err; then
2100    grep -v '^ *+' conftest.err >conftest.er1
2101    cat conftest.er1 >&5
2102    mv -f conftest.er1 conftest.err
2103  fi
2104  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105  test $ac_status = 0; } > conftest.i && {
2106	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2107	 test ! -s conftest.err
2108       }; then :
2109  ac_retval=0
2110else
2111  $as_echo "$as_me: failed program was:" >&5
2112sed 's/^/| /' conftest.$ac_ext >&5
2113
2114    ac_retval=1
2115fi
2116  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2117  as_fn_set_status $ac_retval
2118
2119} # ac_fn_cxx_try_cpp
2120
2121# ac_fn_cxx_try_link LINENO
2122# -------------------------
2123# Try to link conftest.$ac_ext, and return whether this succeeded.
2124ac_fn_cxx_try_link ()
2125{
2126  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127  rm -f conftest.$ac_objext conftest$ac_exeext
2128  if { { ac_try="$ac_link"
2129case "(($ac_try" in
2130  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131  *) ac_try_echo=$ac_try;;
2132esac
2133eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134$as_echo "$ac_try_echo"; } >&5
2135  (eval "$ac_link") 2>conftest.err
2136  ac_status=$?
2137  if test -s conftest.err; then
2138    grep -v '^ *+' conftest.err >conftest.er1
2139    cat conftest.er1 >&5
2140    mv -f conftest.er1 conftest.err
2141  fi
2142  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2143  test $ac_status = 0; } && {
2144	 test -z "$ac_cxx_werror_flag" ||
2145	 test ! -s conftest.err
2146       } && test -s conftest$ac_exeext && {
2147	 test "$cross_compiling" = yes ||
2148	 test -x conftest$ac_exeext
2149       }; then :
2150  ac_retval=0
2151else
2152  $as_echo "$as_me: failed program was:" >&5
2153sed 's/^/| /' conftest.$ac_ext >&5
2154
2155	ac_retval=1
2156fi
2157  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2158  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2159  # interfere with the next link command; also delete a directory that is
2160  # left behind by Apple's compiler.  We do this before executing the actions.
2161  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2162  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2163  as_fn_set_status $ac_retval
2164
2165} # ac_fn_cxx_try_link
2166
2167# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2168# --------------------------------------------
2169# Tries to find the compile-time value of EXPR in a program that includes
2170# INCLUDES, setting VAR accordingly. Returns whether the value could be
2171# computed
2172ac_fn_c_compute_int ()
2173{
2174  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175  if test "$cross_compiling" = yes; then
2176    # Depending upon the size, compute the lo and hi bounds.
2177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178/* end confdefs.h.  */
2179$4
2180int
2181main ()
2182{
2183static int test_array [1 - 2 * !(($2) >= 0)];
2184test_array [0] = 0;
2185return test_array [0];
2186
2187  ;
2188  return 0;
2189}
2190_ACEOF
2191if ac_fn_c_try_compile "$LINENO"; then :
2192  ac_lo=0 ac_mid=0
2193  while :; do
2194    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195/* end confdefs.h.  */
2196$4
2197int
2198main ()
2199{
2200static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2201test_array [0] = 0;
2202return test_array [0];
2203
2204  ;
2205  return 0;
2206}
2207_ACEOF
2208if ac_fn_c_try_compile "$LINENO"; then :
2209  ac_hi=$ac_mid; break
2210else
2211  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2212			if test $ac_lo -le $ac_mid; then
2213			  ac_lo= ac_hi=
2214			  break
2215			fi
2216			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2217fi
2218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219  done
2220else
2221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222/* end confdefs.h.  */
2223$4
2224int
2225main ()
2226{
2227static int test_array [1 - 2 * !(($2) < 0)];
2228test_array [0] = 0;
2229return test_array [0];
2230
2231  ;
2232  return 0;
2233}
2234_ACEOF
2235if ac_fn_c_try_compile "$LINENO"; then :
2236  ac_hi=-1 ac_mid=-1
2237  while :; do
2238    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239/* end confdefs.h.  */
2240$4
2241int
2242main ()
2243{
2244static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2245test_array [0] = 0;
2246return test_array [0];
2247
2248  ;
2249  return 0;
2250}
2251_ACEOF
2252if ac_fn_c_try_compile "$LINENO"; then :
2253  ac_lo=$ac_mid; break
2254else
2255  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2256			if test $ac_mid -le $ac_hi; then
2257			  ac_lo= ac_hi=
2258			  break
2259			fi
2260			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2261fi
2262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2263  done
2264else
2265  ac_lo= ac_hi=
2266fi
2267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2268fi
2269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2270# Binary search between lo and hi bounds.
2271while test "x$ac_lo" != "x$ac_hi"; do
2272  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2273  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274/* end confdefs.h.  */
2275$4
2276int
2277main ()
2278{
2279static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2280test_array [0] = 0;
2281return test_array [0];
2282
2283  ;
2284  return 0;
2285}
2286_ACEOF
2287if ac_fn_c_try_compile "$LINENO"; then :
2288  ac_hi=$ac_mid
2289else
2290  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2291fi
2292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293done
2294case $ac_lo in #((
2295?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2296'') ac_retval=1 ;;
2297esac
2298  else
2299    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300/* end confdefs.h.  */
2301$4
2302static long int longval () { return $2; }
2303static unsigned long int ulongval () { return $2; }
2304#include <stdio.h>
2305#include <stdlib.h>
2306int
2307main ()
2308{
2309
2310  FILE *f = fopen ("conftest.val", "w");
2311  if (! f)
2312    return 1;
2313  if (($2) < 0)
2314    {
2315      long int i = longval ();
2316      if (i != ($2))
2317	return 1;
2318      fprintf (f, "%ld", i);
2319    }
2320  else
2321    {
2322      unsigned long int i = ulongval ();
2323      if (i != ($2))
2324	return 1;
2325      fprintf (f, "%lu", i);
2326    }
2327  /* Do not output a trailing newline, as this causes \r\n confusion
2328     on some platforms.  */
2329  return ferror (f) || fclose (f) != 0;
2330
2331  ;
2332  return 0;
2333}
2334_ACEOF
2335if ac_fn_c_try_run "$LINENO"; then :
2336  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2337else
2338  ac_retval=1
2339fi
2340rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2341  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342rm -f conftest.val
2343
2344  fi
2345  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346  as_fn_set_status $ac_retval
2347
2348} # ac_fn_c_compute_int
2349
2350# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2351# -------------------------------------------
2352# Tests whether TYPE exists after having included INCLUDES, setting cache
2353# variable VAR accordingly.
2354ac_fn_c_check_type ()
2355{
2356  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2358$as_echo_n "checking for $2... " >&6; }
2359if eval \${$3+:} false; then :
2360  $as_echo_n "(cached) " >&6
2361else
2362  eval "$3=no"
2363  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364/* end confdefs.h.  */
2365$4
2366int
2367main ()
2368{
2369if (sizeof ($2))
2370	 return 0;
2371  ;
2372  return 0;
2373}
2374_ACEOF
2375if ac_fn_c_try_compile "$LINENO"; then :
2376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377/* end confdefs.h.  */
2378$4
2379int
2380main ()
2381{
2382if (sizeof (($2)))
2383	    return 0;
2384  ;
2385  return 0;
2386}
2387_ACEOF
2388if ac_fn_c_try_compile "$LINENO"; then :
2389
2390else
2391  eval "$3=yes"
2392fi
2393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394fi
2395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396fi
2397eval ac_res=\$$3
2398	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2399$as_echo "$ac_res" >&6; }
2400  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2401
2402} # ac_fn_c_check_type
2403cat >config.log <<_ACEOF
2404This file contains any messages produced by compilers while
2405running configure, to aid debugging if configure makes a mistake.
2406
2407It was created by flac $as_me 1.3.4, which was
2408generated by GNU Autoconf 2.69.  Invocation command line was
2409
2410  $ $0 $@
2411
2412_ACEOF
2413exec 5>>config.log
2414{
2415cat <<_ASUNAME
2416## --------- ##
2417## Platform. ##
2418## --------- ##
2419
2420hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2421uname -m = `(uname -m) 2>/dev/null || echo unknown`
2422uname -r = `(uname -r) 2>/dev/null || echo unknown`
2423uname -s = `(uname -s) 2>/dev/null || echo unknown`
2424uname -v = `(uname -v) 2>/dev/null || echo unknown`
2425
2426/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2427/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2428
2429/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2430/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2431/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2432/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2433/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2434/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2435/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2436
2437_ASUNAME
2438
2439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440for as_dir in $PATH
2441do
2442  IFS=$as_save_IFS
2443  test -z "$as_dir" && as_dir=.
2444    $as_echo "PATH: $as_dir"
2445  done
2446IFS=$as_save_IFS
2447
2448} >&5
2449
2450cat >&5 <<_ACEOF
2451
2452
2453## ----------- ##
2454## Core tests. ##
2455## ----------- ##
2456
2457_ACEOF
2458
2459
2460# Keep a trace of the command line.
2461# Strip out --no-create and --no-recursion so they do not pile up.
2462# Strip out --silent because we don't want to record it for future runs.
2463# Also quote any args containing shell meta-characters.
2464# Make two passes to allow for proper duplicate-argument suppression.
2465ac_configure_args=
2466ac_configure_args0=
2467ac_configure_args1=
2468ac_must_keep_next=false
2469for ac_pass in 1 2
2470do
2471  for ac_arg
2472  do
2473    case $ac_arg in
2474    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2475    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2476    | -silent | --silent | --silen | --sile | --sil)
2477      continue ;;
2478    *\'*)
2479      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2480    esac
2481    case $ac_pass in
2482    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2483    2)
2484      as_fn_append ac_configure_args1 " '$ac_arg'"
2485      if test $ac_must_keep_next = true; then
2486	ac_must_keep_next=false # Got value, back to normal.
2487      else
2488	case $ac_arg in
2489	  *=* | --config-cache | -C | -disable-* | --disable-* \
2490	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2491	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2492	  | -with-* | --with-* | -without-* | --without-* | --x)
2493	    case "$ac_configure_args0 " in
2494	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2495	    esac
2496	    ;;
2497	  -* ) ac_must_keep_next=true ;;
2498	esac
2499      fi
2500      as_fn_append ac_configure_args " '$ac_arg'"
2501      ;;
2502    esac
2503  done
2504done
2505{ ac_configure_args0=; unset ac_configure_args0;}
2506{ ac_configure_args1=; unset ac_configure_args1;}
2507
2508# When interrupted or exit'd, cleanup temporary files, and complete
2509# config.log.  We remove comments because anyway the quotes in there
2510# would cause problems or look ugly.
2511# WARNING: Use '\'' to represent an apostrophe within the trap.
2512# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2513trap 'exit_status=$?
2514  # Save into config.log some information that might help in debugging.
2515  {
2516    echo
2517
2518    $as_echo "## ---------------- ##
2519## Cache variables. ##
2520## ---------------- ##"
2521    echo
2522    # The following way of writing the cache mishandles newlines in values,
2523(
2524  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2525    eval ac_val=\$$ac_var
2526    case $ac_val in #(
2527    *${as_nl}*)
2528      case $ac_var in #(
2529      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2530$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2531      esac
2532      case $ac_var in #(
2533      _ | IFS | as_nl) ;; #(
2534      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2535      *) { eval $ac_var=; unset $ac_var;} ;;
2536      esac ;;
2537    esac
2538  done
2539  (set) 2>&1 |
2540    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2541    *${as_nl}ac_space=\ *)
2542      sed -n \
2543	"s/'\''/'\''\\\\'\'''\''/g;
2544	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2545      ;; #(
2546    *)
2547      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2548      ;;
2549    esac |
2550    sort
2551)
2552    echo
2553
2554    $as_echo "## ----------------- ##
2555## Output variables. ##
2556## ----------------- ##"
2557    echo
2558    for ac_var in $ac_subst_vars
2559    do
2560      eval ac_val=\$$ac_var
2561      case $ac_val in
2562      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2563      esac
2564      $as_echo "$ac_var='\''$ac_val'\''"
2565    done | sort
2566    echo
2567
2568    if test -n "$ac_subst_files"; then
2569      $as_echo "## ------------------- ##
2570## File substitutions. ##
2571## ------------------- ##"
2572      echo
2573      for ac_var in $ac_subst_files
2574      do
2575	eval ac_val=\$$ac_var
2576	case $ac_val in
2577	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2578	esac
2579	$as_echo "$ac_var='\''$ac_val'\''"
2580      done | sort
2581      echo
2582    fi
2583
2584    if test -s confdefs.h; then
2585      $as_echo "## ----------- ##
2586## confdefs.h. ##
2587## ----------- ##"
2588      echo
2589      cat confdefs.h
2590      echo
2591    fi
2592    test "$ac_signal" != 0 &&
2593      $as_echo "$as_me: caught signal $ac_signal"
2594    $as_echo "$as_me: exit $exit_status"
2595  } >&5
2596  rm -f core *.core core.conftest.* &&
2597    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2598    exit $exit_status
2599' 0
2600for ac_signal in 1 2 13 15; do
2601  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2602done
2603ac_signal=0
2604
2605# confdefs.h avoids OS command line length limits that DEFS can exceed.
2606rm -f -r conftest* confdefs.h
2607
2608$as_echo "/* confdefs.h */" > confdefs.h
2609
2610# Predefined preprocessor variables.
2611
2612cat >>confdefs.h <<_ACEOF
2613#define PACKAGE_NAME "$PACKAGE_NAME"
2614_ACEOF
2615
2616cat >>confdefs.h <<_ACEOF
2617#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2618_ACEOF
2619
2620cat >>confdefs.h <<_ACEOF
2621#define PACKAGE_VERSION "$PACKAGE_VERSION"
2622_ACEOF
2623
2624cat >>confdefs.h <<_ACEOF
2625#define PACKAGE_STRING "$PACKAGE_STRING"
2626_ACEOF
2627
2628cat >>confdefs.h <<_ACEOF
2629#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2630_ACEOF
2631
2632cat >>confdefs.h <<_ACEOF
2633#define PACKAGE_URL "$PACKAGE_URL"
2634_ACEOF
2635
2636
2637# Let the site file select an alternate cache file if it wants to.
2638# Prefer an explicitly selected file to automatically selected ones.
2639ac_site_file1=NONE
2640ac_site_file2=NONE
2641if test -n "$CONFIG_SITE"; then
2642  # We do not want a PATH search for config.site.
2643  case $CONFIG_SITE in #((
2644    -*)  ac_site_file1=./$CONFIG_SITE;;
2645    */*) ac_site_file1=$CONFIG_SITE;;
2646    *)   ac_site_file1=./$CONFIG_SITE;;
2647  esac
2648elif test "x$prefix" != xNONE; then
2649  ac_site_file1=$prefix/share/config.site
2650  ac_site_file2=$prefix/etc/config.site
2651else
2652  ac_site_file1=$ac_default_prefix/share/config.site
2653  ac_site_file2=$ac_default_prefix/etc/config.site
2654fi
2655for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2656do
2657  test "x$ac_site_file" = xNONE && continue
2658  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2659    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2660$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2661    sed 's/^/| /' "$ac_site_file" >&5
2662    . "$ac_site_file" \
2663      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665as_fn_error $? "failed to load site script $ac_site_file
2666See \`config.log' for more details" "$LINENO" 5; }
2667  fi
2668done
2669
2670if test -r "$cache_file"; then
2671  # Some versions of bash will fail to source /dev/null (special files
2672  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2673  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2674    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2675$as_echo "$as_me: loading cache $cache_file" >&6;}
2676    case $cache_file in
2677      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2678      *)                      . "./$cache_file";;
2679    esac
2680  fi
2681else
2682  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2683$as_echo "$as_me: creating cache $cache_file" >&6;}
2684  >$cache_file
2685fi
2686
2687# Check that the precious variables saved in the cache have kept the same
2688# value.
2689ac_cache_corrupted=false
2690for ac_var in $ac_precious_vars; do
2691  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2692  eval ac_new_set=\$ac_env_${ac_var}_set
2693  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2694  eval ac_new_val=\$ac_env_${ac_var}_value
2695  case $ac_old_set,$ac_new_set in
2696    set,)
2697      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2698$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2699      ac_cache_corrupted=: ;;
2700    ,set)
2701      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2702$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2703      ac_cache_corrupted=: ;;
2704    ,);;
2705    *)
2706      if test "x$ac_old_val" != "x$ac_new_val"; then
2707	# differences in whitespace do not lead to failure.
2708	ac_old_val_w=`echo x $ac_old_val`
2709	ac_new_val_w=`echo x $ac_new_val`
2710	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2711	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2712$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2713	  ac_cache_corrupted=:
2714	else
2715	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2716$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2717	  eval $ac_var=\$ac_old_val
2718	fi
2719	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2720$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2721	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2722$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2723      fi;;
2724  esac
2725  # Pass precious variables to config.status.
2726  if test "$ac_new_set" = set; then
2727    case $ac_new_val in
2728    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2729    *) ac_arg=$ac_var=$ac_new_val ;;
2730    esac
2731    case " $ac_configure_args " in
2732      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2733      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2734    esac
2735  fi
2736done
2737if $ac_cache_corrupted; then
2738  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2741$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2742  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2743fi
2744## -------------------- ##
2745## Main body of script. ##
2746## -------------------- ##
2747
2748ac_ext=c
2749ac_cpp='$CPP $CPPFLAGS'
2750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2752ac_compiler_gnu=$ac_cv_c_compiler_gnu
2753
2754
2755ac_config_headers="$ac_config_headers config.h"
2756
2757
2758
2759am__api_version='1.16'
2760
2761ac_aux_dir=
2762for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2763  if test -f "$ac_dir/install-sh"; then
2764    ac_aux_dir=$ac_dir
2765    ac_install_sh="$ac_aux_dir/install-sh -c"
2766    break
2767  elif test -f "$ac_dir/install.sh"; then
2768    ac_aux_dir=$ac_dir
2769    ac_install_sh="$ac_aux_dir/install.sh -c"
2770    break
2771  elif test -f "$ac_dir/shtool"; then
2772    ac_aux_dir=$ac_dir
2773    ac_install_sh="$ac_aux_dir/shtool install -c"
2774    break
2775  fi
2776done
2777if test -z "$ac_aux_dir"; then
2778  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2779fi
2780
2781# These three variables are undocumented and unsupported,
2782# and are intended to be withdrawn in a future Autoconf release.
2783# They can cause serious problems if a builder's source tree is in a directory
2784# whose full name contains unusual characters.
2785ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2786ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2787ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2788
2789
2790# Find a good install program.  We prefer a C program (faster),
2791# so one script is as good as another.  But avoid the broken or
2792# incompatible versions:
2793# SysV /etc/install, /usr/sbin/install
2794# SunOS /usr/etc/install
2795# IRIX /sbin/install
2796# AIX /bin/install
2797# AmigaOS /C/install, which installs bootblocks on floppy discs
2798# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2799# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2800# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2801# OS/2's system install, which has a completely different semantic
2802# ./install, which can be erroneously created by make from ./install.sh.
2803# Reject install programs that cannot install multiple files.
2804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2805$as_echo_n "checking for a BSD-compatible install... " >&6; }
2806if test -z "$INSTALL"; then
2807if ${ac_cv_path_install+:} false; then :
2808  $as_echo_n "(cached) " >&6
2809else
2810  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811for as_dir in $PATH
2812do
2813  IFS=$as_save_IFS
2814  test -z "$as_dir" && as_dir=.
2815    # Account for people who put trailing slashes in PATH elements.
2816case $as_dir/ in #((
2817  ./ | .// | /[cC]/* | \
2818  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2819  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2820  /usr/ucb/* ) ;;
2821  *)
2822    # OSF1 and SCO ODT 3.0 have their own names for install.
2823    # Don't use installbsd from OSF since it installs stuff as root
2824    # by default.
2825    for ac_prog in ginstall scoinst install; do
2826      for ac_exec_ext in '' $ac_executable_extensions; do
2827	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2828	  if test $ac_prog = install &&
2829	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2830	    # AIX install.  It has an incompatible calling convention.
2831	    :
2832	  elif test $ac_prog = install &&
2833	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2834	    # program-specific install script used by HP pwplus--don't use.
2835	    :
2836	  else
2837	    rm -rf conftest.one conftest.two conftest.dir
2838	    echo one > conftest.one
2839	    echo two > conftest.two
2840	    mkdir conftest.dir
2841	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2842	      test -s conftest.one && test -s conftest.two &&
2843	      test -s conftest.dir/conftest.one &&
2844	      test -s conftest.dir/conftest.two
2845	    then
2846	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2847	      break 3
2848	    fi
2849	  fi
2850	fi
2851      done
2852    done
2853    ;;
2854esac
2855
2856  done
2857IFS=$as_save_IFS
2858
2859rm -rf conftest.one conftest.two conftest.dir
2860
2861fi
2862  if test "${ac_cv_path_install+set}" = set; then
2863    INSTALL=$ac_cv_path_install
2864  else
2865    # As a last resort, use the slow shell script.  Don't cache a
2866    # value for INSTALL within a source directory, because that will
2867    # break other packages using the cache if that directory is
2868    # removed, or if the value is a relative name.
2869    INSTALL=$ac_install_sh
2870  fi
2871fi
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2873$as_echo "$INSTALL" >&6; }
2874
2875# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2876# It thinks the first close brace ends the variable substitution.
2877test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2878
2879test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2880
2881test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2882
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2884$as_echo_n "checking whether build environment is sane... " >&6; }
2885# Reject unsafe characters in $srcdir or the absolute working directory
2886# name.  Accept space and tab only in the latter.
2887am_lf='
2888'
2889case `pwd` in
2890  *[\\\"\#\$\&\'\`$am_lf]*)
2891    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2892esac
2893case $srcdir in
2894  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2895    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2896esac
2897
2898# Do 'set' in a subshell so we don't clobber the current shell's
2899# arguments.  Must try -L first in case configure is actually a
2900# symlink; some systems play weird games with the mod time of symlinks
2901# (eg FreeBSD returns the mod time of the symlink's containing
2902# directory).
2903if (
2904   am_has_slept=no
2905   for am_try in 1 2; do
2906     echo "timestamp, slept: $am_has_slept" > conftest.file
2907     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2908     if test "$*" = "X"; then
2909	# -L didn't work.
2910	set X `ls -t "$srcdir/configure" conftest.file`
2911     fi
2912     if test "$*" != "X $srcdir/configure conftest.file" \
2913	&& test "$*" != "X conftest.file $srcdir/configure"; then
2914
2915	# If neither matched, then we have a broken ls.  This can happen
2916	# if, for instance, CONFIG_SHELL is bash and it inherits a
2917	# broken ls alias from the environment.  This has actually
2918	# happened.  Such a system could not be considered "sane".
2919	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2920  alias in your environment" "$LINENO" 5
2921     fi
2922     if test "$2" = conftest.file || test $am_try -eq 2; then
2923       break
2924     fi
2925     # Just in case.
2926     sleep 1
2927     am_has_slept=yes
2928   done
2929   test "$2" = conftest.file
2930   )
2931then
2932   # Ok.
2933   :
2934else
2935   as_fn_error $? "newly created file is older than distributed files!
2936Check your system clock" "$LINENO" 5
2937fi
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2939$as_echo "yes" >&6; }
2940# If we didn't sleep, we still need to ensure time stamps of config.status and
2941# generated files are strictly newer.
2942am_sleep_pid=
2943if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2944  ( sleep 1 ) &
2945  am_sleep_pid=$!
2946fi
2947
2948rm -f conftest.file
2949
2950test "$program_prefix" != NONE &&
2951  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2952# Use a double $ so make ignores it.
2953test "$program_suffix" != NONE &&
2954  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2955# Double any \ or $.
2956# By default was `s,x,x', remove it if useless.
2957ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2958program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2959
2960# Expand $ac_aux_dir to an absolute path.
2961am_aux_dir=`cd "$ac_aux_dir" && pwd`
2962
2963if test x"${MISSING+set}" != xset; then
2964  case $am_aux_dir in
2965  *\ * | *\	*)
2966    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2967  *)
2968    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2969  esac
2970fi
2971# Use eval to expand $SHELL
2972if eval "$MISSING --is-lightweight"; then
2973  am_missing_run="$MISSING "
2974else
2975  am_missing_run=
2976  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2977$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2978fi
2979
2980if test x"${install_sh+set}" != xset; then
2981  case $am_aux_dir in
2982  *\ * | *\	*)
2983    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2984  *)
2985    install_sh="\${SHELL} $am_aux_dir/install-sh"
2986  esac
2987fi
2988
2989# Installed binaries are usually stripped using 'strip' when the user
2990# run "make install-strip".  However 'strip' might not be the right
2991# tool to use in cross-compilation environments, therefore Automake
2992# will honor the 'STRIP' environment variable to overrule this program.
2993if test "$cross_compiling" != no; then
2994  if test -n "$ac_tool_prefix"; then
2995  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2996set dummy ${ac_tool_prefix}strip; ac_word=$2
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998$as_echo_n "checking for $ac_word... " >&6; }
2999if ${ac_cv_prog_STRIP+:} false; then :
3000  $as_echo_n "(cached) " >&6
3001else
3002  if test -n "$STRIP"; then
3003  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3004else
3005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006for as_dir in $PATH
3007do
3008  IFS=$as_save_IFS
3009  test -z "$as_dir" && as_dir=.
3010    for ac_exec_ext in '' $ac_executable_extensions; do
3011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014    break 2
3015  fi
3016done
3017  done
3018IFS=$as_save_IFS
3019
3020fi
3021fi
3022STRIP=$ac_cv_prog_STRIP
3023if test -n "$STRIP"; then
3024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3025$as_echo "$STRIP" >&6; }
3026else
3027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028$as_echo "no" >&6; }
3029fi
3030
3031
3032fi
3033if test -z "$ac_cv_prog_STRIP"; then
3034  ac_ct_STRIP=$STRIP
3035  # Extract the first word of "strip", so it can be a program name with args.
3036set dummy strip; ac_word=$2
3037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038$as_echo_n "checking for $ac_word... " >&6; }
3039if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3040  $as_echo_n "(cached) " >&6
3041else
3042  if test -n "$ac_ct_STRIP"; then
3043  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3044else
3045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046for as_dir in $PATH
3047do
3048  IFS=$as_save_IFS
3049  test -z "$as_dir" && as_dir=.
3050    for ac_exec_ext in '' $ac_executable_extensions; do
3051  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3052    ac_cv_prog_ac_ct_STRIP="strip"
3053    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054    break 2
3055  fi
3056done
3057  done
3058IFS=$as_save_IFS
3059
3060fi
3061fi
3062ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3063if test -n "$ac_ct_STRIP"; then
3064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3065$as_echo "$ac_ct_STRIP" >&6; }
3066else
3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068$as_echo "no" >&6; }
3069fi
3070
3071  if test "x$ac_ct_STRIP" = x; then
3072    STRIP=":"
3073  else
3074    case $cross_compiling:$ac_tool_warned in
3075yes:)
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078ac_tool_warned=yes ;;
3079esac
3080    STRIP=$ac_ct_STRIP
3081  fi
3082else
3083  STRIP="$ac_cv_prog_STRIP"
3084fi
3085
3086fi
3087INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3088
3089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3090$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3091if test -z "$MKDIR_P"; then
3092  if ${ac_cv_path_mkdir+:} false; then :
3093  $as_echo_n "(cached) " >&6
3094else
3095  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3097do
3098  IFS=$as_save_IFS
3099  test -z "$as_dir" && as_dir=.
3100    for ac_prog in mkdir gmkdir; do
3101	 for ac_exec_ext in '' $ac_executable_extensions; do
3102	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3103	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3104	     'mkdir (GNU coreutils) '* | \
3105	     'mkdir (coreutils) '* | \
3106	     'mkdir (fileutils) '4.1*)
3107	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3108	       break 3;;
3109	   esac
3110	 done
3111       done
3112  done
3113IFS=$as_save_IFS
3114
3115fi
3116
3117  test -d ./--version && rmdir ./--version
3118  if test "${ac_cv_path_mkdir+set}" = set; then
3119    MKDIR_P="$ac_cv_path_mkdir -p"
3120  else
3121    # As a last resort, use the slow shell script.  Don't cache a
3122    # value for MKDIR_P within a source directory, because that will
3123    # break other packages using the cache if that directory is
3124    # removed, or if the value is a relative name.
3125    MKDIR_P="$ac_install_sh -d"
3126  fi
3127fi
3128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3129$as_echo "$MKDIR_P" >&6; }
3130
3131for ac_prog in gawk mawk nawk awk
3132do
3133  # Extract the first word of "$ac_prog", so it can be a program name with args.
3134set dummy $ac_prog; ac_word=$2
3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136$as_echo_n "checking for $ac_word... " >&6; }
3137if ${ac_cv_prog_AWK+:} false; then :
3138  $as_echo_n "(cached) " >&6
3139else
3140  if test -n "$AWK"; then
3141  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3142else
3143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144for as_dir in $PATH
3145do
3146  IFS=$as_save_IFS
3147  test -z "$as_dir" && as_dir=.
3148    for ac_exec_ext in '' $ac_executable_extensions; do
3149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150    ac_cv_prog_AWK="$ac_prog"
3151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152    break 2
3153  fi
3154done
3155  done
3156IFS=$as_save_IFS
3157
3158fi
3159fi
3160AWK=$ac_cv_prog_AWK
3161if test -n "$AWK"; then
3162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3163$as_echo "$AWK" >&6; }
3164else
3165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166$as_echo "no" >&6; }
3167fi
3168
3169
3170  test -n "$AWK" && break
3171done
3172
3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3174$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3175set x ${MAKE-make}
3176ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3177if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3178  $as_echo_n "(cached) " >&6
3179else
3180  cat >conftest.make <<\_ACEOF
3181SHELL = /bin/sh
3182all:
3183	@echo '@@@%%%=$(MAKE)=@@@%%%'
3184_ACEOF
3185# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3186case `${MAKE-make} -f conftest.make 2>/dev/null` in
3187  *@@@%%%=?*=@@@%%%*)
3188    eval ac_cv_prog_make_${ac_make}_set=yes;;
3189  *)
3190    eval ac_cv_prog_make_${ac_make}_set=no;;
3191esac
3192rm -f conftest.make
3193fi
3194if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196$as_echo "yes" >&6; }
3197  SET_MAKE=
3198else
3199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200$as_echo "no" >&6; }
3201  SET_MAKE="MAKE=${MAKE-make}"
3202fi
3203
3204rm -rf .tst 2>/dev/null
3205mkdir .tst 2>/dev/null
3206if test -d .tst; then
3207  am__leading_dot=.
3208else
3209  am__leading_dot=_
3210fi
3211rmdir .tst 2>/dev/null
3212
3213# Check whether --enable-silent-rules was given.
3214if test "${enable_silent_rules+set}" = set; then :
3215  enableval=$enable_silent_rules;
3216fi
3217
3218case $enable_silent_rules in # (((
3219  yes) AM_DEFAULT_VERBOSITY=0;;
3220   no) AM_DEFAULT_VERBOSITY=1;;
3221    *) AM_DEFAULT_VERBOSITY=1;;
3222esac
3223am_make=${MAKE-make}
3224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3225$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3226if ${am_cv_make_support_nested_variables+:} false; then :
3227  $as_echo_n "(cached) " >&6
3228else
3229  if $as_echo 'TRUE=$(BAR$(V))
3230BAR0=false
3231BAR1=true
3232V=1
3233am__doit:
3234	@$(TRUE)
3235.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3236  am_cv_make_support_nested_variables=yes
3237else
3238  am_cv_make_support_nested_variables=no
3239fi
3240fi
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3242$as_echo "$am_cv_make_support_nested_variables" >&6; }
3243if test $am_cv_make_support_nested_variables = yes; then
3244    AM_V='$(V)'
3245  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3246else
3247  AM_V=$AM_DEFAULT_VERBOSITY
3248  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3249fi
3250AM_BACKSLASH='\'
3251
3252if test "`cd $srcdir && pwd`" != "`pwd`"; then
3253  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3254  # is not polluted with repeated "-I."
3255  am__isrc=' -I$(srcdir)'
3256  # test to see if srcdir already configured
3257  if test -f $srcdir/config.status; then
3258    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3259  fi
3260fi
3261
3262# test whether we have cygpath
3263if test -z "$CYGPATH_W"; then
3264  if (cygpath --version) >/dev/null 2>/dev/null; then
3265    CYGPATH_W='cygpath -w'
3266  else
3267    CYGPATH_W=echo
3268  fi
3269fi
3270
3271
3272# Define the identity of the package.
3273 PACKAGE='flac'
3274 VERSION='1.3.4'
3275
3276
3277cat >>confdefs.h <<_ACEOF
3278#define PACKAGE "$PACKAGE"
3279_ACEOF
3280
3281
3282cat >>confdefs.h <<_ACEOF
3283#define VERSION "$VERSION"
3284_ACEOF
3285
3286# Some tools Automake needs.
3287
3288ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3289
3290
3291AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3292
3293
3294AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3295
3296
3297AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3298
3299
3300MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3301
3302# For better backward compatibility.  To be removed once Automake 1.9.x
3303# dies out for good.  For more background, see:
3304# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3305# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3306mkdir_p='$(MKDIR_P)'
3307
3308# We need awk for the "check" target (and possibly the TAP driver).  The
3309# system "awk" is bad on some platforms.
3310# Always define AMTAR for backward compatibility.  Yes, it's still used
3311# in the wild :-(  We should find a proper way to deprecate it ...
3312AMTAR='$${TAR-tar}'
3313
3314
3315# We'll loop over all known methods to create a tar archive until one works.
3316_am_tools='gnutar  pax cpio none'
3317
3318
3319
3320  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3321$as_echo_n "checking how to create a pax tar archive... " >&6; }
3322
3323  # Go ahead even if we have the value already cached.  We do so because we
3324  # need to set the values for the 'am__tar' and 'am__untar' variables.
3325  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3326
3327  for _am_tool in $_am_tools; do
3328    case $_am_tool in
3329    gnutar)
3330      for _am_tar in tar gnutar gtar; do
3331        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3332   ($_am_tar --version) >&5 2>&5
3333   ac_status=$?
3334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335   (exit $ac_status); } && break
3336      done
3337      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3338      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3339      am__untar="$_am_tar -xf -"
3340      ;;
3341    plaintar)
3342      # Must skip GNU tar: if it does not support --format= it doesn't create
3343      # ustar tarball either.
3344      (tar --version) >/dev/null 2>&1 && continue
3345      am__tar='tar chf - "$$tardir"'
3346      am__tar_='tar chf - "$tardir"'
3347      am__untar='tar xf -'
3348      ;;
3349    pax)
3350      am__tar='pax -L -x pax -w "$$tardir"'
3351      am__tar_='pax -L -x pax -w "$tardir"'
3352      am__untar='pax -r'
3353      ;;
3354    cpio)
3355      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3356      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3357      am__untar='cpio -i -H pax -d'
3358      ;;
3359    none)
3360      am__tar=false
3361      am__tar_=false
3362      am__untar=false
3363      ;;
3364    esac
3365
3366    # If the value was cached, stop now.  We just wanted to have am__tar
3367    # and am__untar set.
3368    test -n "${am_cv_prog_tar_pax}" && break
3369
3370    # tar/untar a dummy directory, and stop if the command works.
3371    rm -rf conftest.dir
3372    mkdir conftest.dir
3373    echo GrepMe > conftest.dir/file
3374    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3375   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3376   ac_status=$?
3377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378   (exit $ac_status); }
3379    rm -rf conftest.dir
3380    if test -s conftest.tar; then
3381      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3382   ($am__untar <conftest.tar) >&5 2>&5
3383   ac_status=$?
3384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385   (exit $ac_status); }
3386      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3387   (cat conftest.dir/file) >&5 2>&5
3388   ac_status=$?
3389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390   (exit $ac_status); }
3391      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3392    fi
3393  done
3394  rm -rf conftest.dir
3395
3396  if ${am_cv_prog_tar_pax+:} false; then :
3397  $as_echo_n "(cached) " >&6
3398else
3399  am_cv_prog_tar_pax=$_am_tool
3400fi
3401
3402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3403$as_echo "$am_cv_prog_tar_pax" >&6; }
3404
3405
3406
3407
3408
3409
3410# POSIX will say in a future version that running "rm -f" with no argument
3411# is OK; and we want to be able to make that assumption in our Makefile
3412# recipes.  So use an aggressive probe to check that the usage we want is
3413# actually supported "in the wild" to an acceptable degree.
3414# See automake bug#10828.
3415# To make any issue more visible, cause the running configure to be aborted
3416# by default if the 'rm' program in use doesn't match our expectations; the
3417# user can still override this though.
3418if rm -f && rm -fr && rm -rf; then : OK; else
3419  cat >&2 <<'END'
3420Oops!
3421
3422Your 'rm' program seems unable to run without file operands specified
3423on the command line, even when the '-f' option is present.  This is contrary
3424to the behaviour of most rm programs out there, and not conforming with
3425the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3426
3427Please tell bug-automake@gnu.org about your system, including the value
3428of your $PATH and any error possibly output before this message.  This
3429can help us improve future automake versions.
3430
3431END
3432  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3433    echo 'Configuration will proceed anyway, since you have set the' >&2
3434    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3435    echo >&2
3436  else
3437    cat >&2 <<'END'
3438Aborting the configuration process, to ensure you take notice of the issue.
3439
3440You can download and install GNU coreutils to get an 'rm' implementation
3441that behaves properly: <https://www.gnu.org/software/coreutils/>.
3442
3443If you want to complete the configuration process using your problematic
3444'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3445to "yes", and re-run configure.
3446
3447END
3448    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3449  fi
3450fi
3451
3452# Check whether --enable-silent-rules was given.
3453if test "${enable_silent_rules+set}" = set; then :
3454  enableval=$enable_silent_rules;
3455fi
3456
3457case $enable_silent_rules in # (((
3458  yes) AM_DEFAULT_VERBOSITY=0;;
3459   no) AM_DEFAULT_VERBOSITY=1;;
3460    *) AM_DEFAULT_VERBOSITY=0;;
3461esac
3462am_make=${MAKE-make}
3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3464$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3465if ${am_cv_make_support_nested_variables+:} false; then :
3466  $as_echo_n "(cached) " >&6
3467else
3468  if $as_echo 'TRUE=$(BAR$(V))
3469BAR0=false
3470BAR1=true
3471V=1
3472am__doit:
3473	@$(TRUE)
3474.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3475  am_cv_make_support_nested_variables=yes
3476else
3477  am_cv_make_support_nested_variables=no
3478fi
3479fi
3480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3481$as_echo "$am_cv_make_support_nested_variables" >&6; }
3482if test $am_cv_make_support_nested_variables = yes; then
3483    AM_V='$(V)'
3484  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3485else
3486  AM_V=$AM_DEFAULT_VERBOSITY
3487  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3488fi
3489AM_BACKSLASH='\'
3490
3491
3492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS" >&5
3493$as_echo_n "checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS... " >&6; }
3494if test "x${CFLAGS+set}" = "xset" || test "x${CXXFLAGS+set}" = "xset" || test "x${CPPFLAGS+set}" = "xset" || test "x${LDFLAGS+set}" = "xset"; then :
3495  enable_flags_setting=no
3496else
3497  enable_flags_setting=yes
3498
3499fi
3500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_flags_setting}" >&5
3501$as_echo "${enable_flags_setting}" >&6; }
3502
3503
3504    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
3505$as_echo_n "checking whether to enable debugging... " >&6; }
3506
3507    ax_enable_debug_default=no
3508    ax_enable_debug_is_release=$ax_is_release
3509
3510    # If this is a release, override the default.
3511    if test "$ax_enable_debug_is_release" = "yes"; then :
3512  ax_enable_debug_default="no"
3513fi
3514
3515
3516
3517
3518    # Check whether --enable-debug was given.
3519if test "${enable_debug+set}" = set; then :
3520  enableval=$enable_debug;
3521else
3522  enable_debug=$ax_enable_debug_default
3523fi
3524
3525
3526    # empty mean debug yes
3527    if test "x$enable_debug" = "x"; then :
3528  enable_debug="yes"
3529fi
3530
3531    # case of debug
3532    case $enable_debug in #(
3533  yes) :
3534
3535	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536$as_echo "yes" >&6; }
3537	CFLAGS="${CFLAGS} -g -O0"
3538	CXXFLAGS="${CXXFLAGS} -g -O0"
3539	FFLAGS="${FFLAGS} -g -O0"
3540	FCFLAGS="${FCFLAGS} -g -O0"
3541	OBJCFLAGS="${OBJCFLAGS} -g -O0"
3542       ;; #(
3543  info) :
3544
3545	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: info" >&5
3546$as_echo "info" >&6; }
3547	CFLAGS="${CFLAGS} -g"
3548	CXXFLAGS="${CXXFLAGS} -g"
3549	FFLAGS="${FFLAGS} -g"
3550	FCFLAGS="${FCFLAGS} -g"
3551	OBJCFLAGS="${OBJCFLAGS} -g"
3552       ;; #(
3553  profile) :
3554
3555	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: profile" >&5
3556$as_echo "profile" >&6; }
3557	CFLAGS="${CFLAGS} -g -pg"
3558	CXXFLAGS="${CXXFLAGS} -g -pg"
3559	FFLAGS="${FFLAGS} -g -pg"
3560	FCFLAGS="${FCFLAGS} -g -pg"
3561	OBJCFLAGS="${OBJCFLAGS} -g -pg"
3562	LDFLAGS="${LDFLAGS} -pg"
3563       ;; #(
3564  *) :
3565
3566	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567$as_echo "no" >&6; }
3568			if test "x${CFLAGS+set}" != "xset"; then :
3569  CFLAGS=""
3570fi
3571	if test "x${CXXFLAGS+set}" != "xset"; then :
3572  CXXFLAGS=""
3573fi
3574	if test "x${FFLAGS+set}" != "xset"; then :
3575  FFLAGS=""
3576fi
3577	if test "x${FCFLAGS+set}" != "xset"; then :
3578  FCFLAGS=""
3579fi
3580	if test "x${OBJCFLAGS+set}" != "xset"; then :
3581  OBJCFLAGS=""
3582fi
3583       ;;
3584esac
3585
3586            if test "x$enable_debug" = "xyes"; then :
3587
3588else
3589
3590$as_echo "#define NDEBUG /**/" >>confdefs.h
3591
3592fi
3593    ax_enable_debug=$enable_debug
3594
3595user_cflags=$CFLAGS
3596
3597#Prefer whatever the current ISO standard is.
3598DEPDIR="${am__leading_dot}deps"
3599
3600ac_config_commands="$ac_config_commands depfiles"
3601
3602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3603$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3604cat > confinc.mk << 'END'
3605am__doit:
3606	@echo this is the am__doit target >confinc.out
3607.PHONY: am__doit
3608END
3609am__include="#"
3610am__quote=
3611# BSD make does it like this.
3612echo '.include "confinc.mk" # ignored' > confmf.BSD
3613# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3614echo 'include confinc.mk # ignored' > confmf.GNU
3615_am_result=no
3616for s in GNU BSD; do
3617  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3618   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3619   ac_status=$?
3620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621   (exit $ac_status); }
3622  case $?:`cat confinc.out 2>/dev/null` in #(
3623  '0:this is the am__doit target') :
3624    case $s in #(
3625  BSD) :
3626    am__include='.include' am__quote='"' ;; #(
3627  *) :
3628    am__include='include' am__quote='' ;;
3629esac ;; #(
3630  *) :
3631     ;;
3632esac
3633  if test "$am__include" != "#"; then
3634    _am_result="yes ($s style)"
3635    break
3636  fi
3637done
3638rm -f confinc.* confmf.*
3639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3640$as_echo "${_am_result}" >&6; }
3641
3642# Check whether --enable-dependency-tracking was given.
3643if test "${enable_dependency_tracking+set}" = set; then :
3644  enableval=$enable_dependency_tracking;
3645fi
3646
3647if test "x$enable_dependency_tracking" != xno; then
3648  am_depcomp="$ac_aux_dir/depcomp"
3649  AMDEPBACKSLASH='\'
3650  am__nodep='_no'
3651fi
3652 if test "x$enable_dependency_tracking" != xno; then
3653  AMDEP_TRUE=
3654  AMDEP_FALSE='#'
3655else
3656  AMDEP_TRUE='#'
3657  AMDEP_FALSE=
3658fi
3659
3660
3661ac_ext=c
3662ac_cpp='$CPP $CPPFLAGS'
3663ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666if test -n "$ac_tool_prefix"; then
3667  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3668set dummy ${ac_tool_prefix}gcc; ac_word=$2
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670$as_echo_n "checking for $ac_word... " >&6; }
3671if ${ac_cv_prog_CC+:} false; then :
3672  $as_echo_n "(cached) " >&6
3673else
3674  if test -n "$CC"; then
3675  ac_cv_prog_CC="$CC" # Let the user override the test.
3676else
3677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678for as_dir in $PATH
3679do
3680  IFS=$as_save_IFS
3681  test -z "$as_dir" && as_dir=.
3682    for ac_exec_ext in '' $ac_executable_extensions; do
3683  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3684    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3685    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686    break 2
3687  fi
3688done
3689  done
3690IFS=$as_save_IFS
3691
3692fi
3693fi
3694CC=$ac_cv_prog_CC
3695if test -n "$CC"; then
3696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697$as_echo "$CC" >&6; }
3698else
3699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700$as_echo "no" >&6; }
3701fi
3702
3703
3704fi
3705if test -z "$ac_cv_prog_CC"; then
3706  ac_ct_CC=$CC
3707  # Extract the first word of "gcc", so it can be a program name with args.
3708set dummy gcc; ac_word=$2
3709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710$as_echo_n "checking for $ac_word... " >&6; }
3711if ${ac_cv_prog_ac_ct_CC+:} false; then :
3712  $as_echo_n "(cached) " >&6
3713else
3714  if test -n "$ac_ct_CC"; then
3715  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3716else
3717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718for as_dir in $PATH
3719do
3720  IFS=$as_save_IFS
3721  test -z "$as_dir" && as_dir=.
3722    for ac_exec_ext in '' $ac_executable_extensions; do
3723  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724    ac_cv_prog_ac_ct_CC="gcc"
3725    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726    break 2
3727  fi
3728done
3729  done
3730IFS=$as_save_IFS
3731
3732fi
3733fi
3734ac_ct_CC=$ac_cv_prog_ac_ct_CC
3735if test -n "$ac_ct_CC"; then
3736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3737$as_echo "$ac_ct_CC" >&6; }
3738else
3739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740$as_echo "no" >&6; }
3741fi
3742
3743  if test "x$ac_ct_CC" = x; then
3744    CC=""
3745  else
3746    case $cross_compiling:$ac_tool_warned in
3747yes:)
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3749$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3750ac_tool_warned=yes ;;
3751esac
3752    CC=$ac_ct_CC
3753  fi
3754else
3755  CC="$ac_cv_prog_CC"
3756fi
3757
3758if test -z "$CC"; then
3759          if test -n "$ac_tool_prefix"; then
3760    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3761set dummy ${ac_tool_prefix}cc; ac_word=$2
3762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763$as_echo_n "checking for $ac_word... " >&6; }
3764if ${ac_cv_prog_CC+:} false; then :
3765  $as_echo_n "(cached) " >&6
3766else
3767  if test -n "$CC"; then
3768  ac_cv_prog_CC="$CC" # Let the user override the test.
3769else
3770as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771for as_dir in $PATH
3772do
3773  IFS=$as_save_IFS
3774  test -z "$as_dir" && as_dir=.
3775    for ac_exec_ext in '' $ac_executable_extensions; do
3776  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777    ac_cv_prog_CC="${ac_tool_prefix}cc"
3778    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779    break 2
3780  fi
3781done
3782  done
3783IFS=$as_save_IFS
3784
3785fi
3786fi
3787CC=$ac_cv_prog_CC
3788if test -n "$CC"; then
3789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3790$as_echo "$CC" >&6; }
3791else
3792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793$as_echo "no" >&6; }
3794fi
3795
3796
3797  fi
3798fi
3799if test -z "$CC"; then
3800  # Extract the first word of "cc", so it can be a program name with args.
3801set dummy cc; ac_word=$2
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803$as_echo_n "checking for $ac_word... " >&6; }
3804if ${ac_cv_prog_CC+:} false; then :
3805  $as_echo_n "(cached) " >&6
3806else
3807  if test -n "$CC"; then
3808  ac_cv_prog_CC="$CC" # Let the user override the test.
3809else
3810  ac_prog_rejected=no
3811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812for as_dir in $PATH
3813do
3814  IFS=$as_save_IFS
3815  test -z "$as_dir" && as_dir=.
3816    for ac_exec_ext in '' $ac_executable_extensions; do
3817  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3819       ac_prog_rejected=yes
3820       continue
3821     fi
3822    ac_cv_prog_CC="cc"
3823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824    break 2
3825  fi
3826done
3827  done
3828IFS=$as_save_IFS
3829
3830if test $ac_prog_rejected = yes; then
3831  # We found a bogon in the path, so make sure we never use it.
3832  set dummy $ac_cv_prog_CC
3833  shift
3834  if test $# != 0; then
3835    # We chose a different compiler from the bogus one.
3836    # However, it has the same basename, so the bogon will be chosen
3837    # first if we set CC to just the basename; use the full file name.
3838    shift
3839    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3840  fi
3841fi
3842fi
3843fi
3844CC=$ac_cv_prog_CC
3845if test -n "$CC"; then
3846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847$as_echo "$CC" >&6; }
3848else
3849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850$as_echo "no" >&6; }
3851fi
3852
3853
3854fi
3855if test -z "$CC"; then
3856  if test -n "$ac_tool_prefix"; then
3857  for ac_prog in cl.exe
3858  do
3859    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3860set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862$as_echo_n "checking for $ac_word... " >&6; }
3863if ${ac_cv_prog_CC+:} false; then :
3864  $as_echo_n "(cached) " >&6
3865else
3866  if test -n "$CC"; then
3867  ac_cv_prog_CC="$CC" # Let the user override the test.
3868else
3869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870for as_dir in $PATH
3871do
3872  IFS=$as_save_IFS
3873  test -z "$as_dir" && as_dir=.
3874    for ac_exec_ext in '' $ac_executable_extensions; do
3875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878    break 2
3879  fi
3880done
3881  done
3882IFS=$as_save_IFS
3883
3884fi
3885fi
3886CC=$ac_cv_prog_CC
3887if test -n "$CC"; then
3888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3889$as_echo "$CC" >&6; }
3890else
3891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892$as_echo "no" >&6; }
3893fi
3894
3895
3896    test -n "$CC" && break
3897  done
3898fi
3899if test -z "$CC"; then
3900  ac_ct_CC=$CC
3901  for ac_prog in cl.exe
3902do
3903  # Extract the first word of "$ac_prog", so it can be a program name with args.
3904set dummy $ac_prog; ac_word=$2
3905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906$as_echo_n "checking for $ac_word... " >&6; }
3907if ${ac_cv_prog_ac_ct_CC+:} false; then :
3908  $as_echo_n "(cached) " >&6
3909else
3910  if test -n "$ac_ct_CC"; then
3911  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3912else
3913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914for as_dir in $PATH
3915do
3916  IFS=$as_save_IFS
3917  test -z "$as_dir" && as_dir=.
3918    for ac_exec_ext in '' $ac_executable_extensions; do
3919  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920    ac_cv_prog_ac_ct_CC="$ac_prog"
3921    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922    break 2
3923  fi
3924done
3925  done
3926IFS=$as_save_IFS
3927
3928fi
3929fi
3930ac_ct_CC=$ac_cv_prog_ac_ct_CC
3931if test -n "$ac_ct_CC"; then
3932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3933$as_echo "$ac_ct_CC" >&6; }
3934else
3935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936$as_echo "no" >&6; }
3937fi
3938
3939
3940  test -n "$ac_ct_CC" && break
3941done
3942
3943  if test "x$ac_ct_CC" = x; then
3944    CC=""
3945  else
3946    case $cross_compiling:$ac_tool_warned in
3947yes:)
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3949$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3950ac_tool_warned=yes ;;
3951esac
3952    CC=$ac_ct_CC
3953  fi
3954fi
3955
3956fi
3957
3958
3959test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3960$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3961as_fn_error $? "no acceptable C compiler found in \$PATH
3962See \`config.log' for more details" "$LINENO" 5; }
3963
3964# Provide some information about the compiler.
3965$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3966set X $ac_compile
3967ac_compiler=$2
3968for ac_option in --version -v -V -qversion; do
3969  { { ac_try="$ac_compiler $ac_option >&5"
3970case "(($ac_try" in
3971  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972  *) ac_try_echo=$ac_try;;
3973esac
3974eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3975$as_echo "$ac_try_echo"; } >&5
3976  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3977  ac_status=$?
3978  if test -s conftest.err; then
3979    sed '10a\
3980... rest of stderr output deleted ...
3981         10q' conftest.err >conftest.er1
3982    cat conftest.er1 >&5
3983  fi
3984  rm -f conftest.er1 conftest.err
3985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986  test $ac_status = 0; }
3987done
3988
3989cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990/* end confdefs.h.  */
3991
3992int
3993main ()
3994{
3995
3996  ;
3997  return 0;
3998}
3999_ACEOF
4000ac_clean_files_save=$ac_clean_files
4001ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4002# Try to create an executable without -o first, disregard a.out.
4003# It will help us diagnose broken compilers, and finding out an intuition
4004# of exeext.
4005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4006$as_echo_n "checking whether the C compiler works... " >&6; }
4007ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4008
4009# The possible output files:
4010ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4011
4012ac_rmfiles=
4013for ac_file in $ac_files
4014do
4015  case $ac_file in
4016    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4017    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4018  esac
4019done
4020rm -f $ac_rmfiles
4021
4022if { { ac_try="$ac_link_default"
4023case "(($ac_try" in
4024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025  *) ac_try_echo=$ac_try;;
4026esac
4027eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028$as_echo "$ac_try_echo"; } >&5
4029  (eval "$ac_link_default") 2>&5
4030  ac_status=$?
4031  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032  test $ac_status = 0; }; then :
4033  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4034# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4035# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4036# so that the user can short-circuit this test for compilers unknown to
4037# Autoconf.
4038for ac_file in $ac_files ''
4039do
4040  test -f "$ac_file" || continue
4041  case $ac_file in
4042    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4043	;;
4044    [ab].out )
4045	# We found the default executable, but exeext='' is most
4046	# certainly right.
4047	break;;
4048    *.* )
4049	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4050	then :; else
4051	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052	fi
4053	# We set ac_cv_exeext here because the later test for it is not
4054	# safe: cross compilers may not add the suffix if given an `-o'
4055	# argument, so we may need to know it at that point already.
4056	# Even if this section looks crufty: it has the advantage of
4057	# actually working.
4058	break;;
4059    * )
4060	break;;
4061  esac
4062done
4063test "$ac_cv_exeext" = no && ac_cv_exeext=
4064
4065else
4066  ac_file=''
4067fi
4068if test -z "$ac_file"; then :
4069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070$as_echo "no" >&6; }
4071$as_echo "$as_me: failed program was:" >&5
4072sed 's/^/| /' conftest.$ac_ext >&5
4073
4074{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076as_fn_error 77 "C compiler cannot create executables
4077See \`config.log' for more details" "$LINENO" 5; }
4078else
4079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080$as_echo "yes" >&6; }
4081fi
4082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4083$as_echo_n "checking for C compiler default output file name... " >&6; }
4084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4085$as_echo "$ac_file" >&6; }
4086ac_exeext=$ac_cv_exeext
4087
4088rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4089ac_clean_files=$ac_clean_files_save
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4091$as_echo_n "checking for suffix of executables... " >&6; }
4092if { { ac_try="$ac_link"
4093case "(($ac_try" in
4094  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095  *) ac_try_echo=$ac_try;;
4096esac
4097eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098$as_echo "$ac_try_echo"; } >&5
4099  (eval "$ac_link") 2>&5
4100  ac_status=$?
4101  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102  test $ac_status = 0; }; then :
4103  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4104# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4105# work properly (i.e., refer to `conftest.exe'), while it won't with
4106# `rm'.
4107for ac_file in conftest.exe conftest conftest.*; do
4108  test -f "$ac_file" || continue
4109  case $ac_file in
4110    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4111    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112	  break;;
4113    * ) break;;
4114  esac
4115done
4116else
4117  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4120See \`config.log' for more details" "$LINENO" 5; }
4121fi
4122rm -f conftest conftest$ac_cv_exeext
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4124$as_echo "$ac_cv_exeext" >&6; }
4125
4126rm -f conftest.$ac_ext
4127EXEEXT=$ac_cv_exeext
4128ac_exeext=$EXEEXT
4129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130/* end confdefs.h.  */
4131#include <stdio.h>
4132int
4133main ()
4134{
4135FILE *f = fopen ("conftest.out", "w");
4136 return ferror (f) || fclose (f) != 0;
4137
4138  ;
4139  return 0;
4140}
4141_ACEOF
4142ac_clean_files="$ac_clean_files conftest.out"
4143# Check that the compiler produces executables we can run.  If not, either
4144# the compiler is broken, or we cross compile.
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4146$as_echo_n "checking whether we are cross compiling... " >&6; }
4147if test "$cross_compiling" != yes; then
4148  { { ac_try="$ac_link"
4149case "(($ac_try" in
4150  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151  *) ac_try_echo=$ac_try;;
4152esac
4153eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4154$as_echo "$ac_try_echo"; } >&5
4155  (eval "$ac_link") 2>&5
4156  ac_status=$?
4157  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4158  test $ac_status = 0; }
4159  if { ac_try='./conftest$ac_cv_exeext'
4160  { { case "(($ac_try" in
4161  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162  *) ac_try_echo=$ac_try;;
4163esac
4164eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165$as_echo "$ac_try_echo"; } >&5
4166  (eval "$ac_try") 2>&5
4167  ac_status=$?
4168  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169  test $ac_status = 0; }; }; then
4170    cross_compiling=no
4171  else
4172    if test "$cross_compiling" = maybe; then
4173	cross_compiling=yes
4174    else
4175	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177as_fn_error $? "cannot run C compiled programs.
4178If you meant to cross compile, use \`--host'.
4179See \`config.log' for more details" "$LINENO" 5; }
4180    fi
4181  fi
4182fi
4183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4184$as_echo "$cross_compiling" >&6; }
4185
4186rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4187ac_clean_files=$ac_clean_files_save
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4189$as_echo_n "checking for suffix of object files... " >&6; }
4190if ${ac_cv_objext+:} false; then :
4191  $as_echo_n "(cached) " >&6
4192else
4193  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194/* end confdefs.h.  */
4195
4196int
4197main ()
4198{
4199
4200  ;
4201  return 0;
4202}
4203_ACEOF
4204rm -f conftest.o conftest.obj
4205if { { ac_try="$ac_compile"
4206case "(($ac_try" in
4207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208  *) ac_try_echo=$ac_try;;
4209esac
4210eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4211$as_echo "$ac_try_echo"; } >&5
4212  (eval "$ac_compile") 2>&5
4213  ac_status=$?
4214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215  test $ac_status = 0; }; then :
4216  for ac_file in conftest.o conftest.obj conftest.*; do
4217  test -f "$ac_file" || continue;
4218  case $ac_file in
4219    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4220    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4221       break;;
4222  esac
4223done
4224else
4225  $as_echo "$as_me: failed program was:" >&5
4226sed 's/^/| /' conftest.$ac_ext >&5
4227
4228{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230as_fn_error $? "cannot compute suffix of object files: cannot compile
4231See \`config.log' for more details" "$LINENO" 5; }
4232fi
4233rm -f conftest.$ac_cv_objext conftest.$ac_ext
4234fi
4235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4236$as_echo "$ac_cv_objext" >&6; }
4237OBJEXT=$ac_cv_objext
4238ac_objext=$OBJEXT
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241if ${ac_cv_c_compiler_gnu+:} false; then :
4242  $as_echo_n "(cached) " >&6
4243else
4244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245/* end confdefs.h.  */
4246
4247int
4248main ()
4249{
4250#ifndef __GNUC__
4251       choke me
4252#endif
4253
4254  ;
4255  return 0;
4256}
4257_ACEOF
4258if ac_fn_c_try_compile "$LINENO"; then :
4259  ac_compiler_gnu=yes
4260else
4261  ac_compiler_gnu=no
4262fi
4263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264ac_cv_c_compiler_gnu=$ac_compiler_gnu
4265
4266fi
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4268$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4269if test $ac_compiler_gnu = yes; then
4270  GCC=yes
4271else
4272  GCC=
4273fi
4274ac_test_CFLAGS=${CFLAGS+set}
4275ac_save_CFLAGS=$CFLAGS
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277$as_echo_n "checking whether $CC accepts -g... " >&6; }
4278if ${ac_cv_prog_cc_g+:} false; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  ac_save_c_werror_flag=$ac_c_werror_flag
4282   ac_c_werror_flag=yes
4283   ac_cv_prog_cc_g=no
4284   CFLAGS="-g"
4285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286/* end confdefs.h.  */
4287
4288int
4289main ()
4290{
4291
4292  ;
4293  return 0;
4294}
4295_ACEOF
4296if ac_fn_c_try_compile "$LINENO"; then :
4297  ac_cv_prog_cc_g=yes
4298else
4299  CFLAGS=""
4300      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301/* end confdefs.h.  */
4302
4303int
4304main ()
4305{
4306
4307  ;
4308  return 0;
4309}
4310_ACEOF
4311if ac_fn_c_try_compile "$LINENO"; then :
4312
4313else
4314  ac_c_werror_flag=$ac_save_c_werror_flag
4315	 CFLAGS="-g"
4316	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317/* end confdefs.h.  */
4318
4319int
4320main ()
4321{
4322
4323  ;
4324  return 0;
4325}
4326_ACEOF
4327if ac_fn_c_try_compile "$LINENO"; then :
4328  ac_cv_prog_cc_g=yes
4329fi
4330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331fi
4332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333fi
4334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335   ac_c_werror_flag=$ac_save_c_werror_flag
4336fi
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4338$as_echo "$ac_cv_prog_cc_g" >&6; }
4339if test "$ac_test_CFLAGS" = set; then
4340  CFLAGS=$ac_save_CFLAGS
4341elif test $ac_cv_prog_cc_g = yes; then
4342  if test "$GCC" = yes; then
4343    CFLAGS="-g -O2"
4344  else
4345    CFLAGS="-g"
4346  fi
4347else
4348  if test "$GCC" = yes; then
4349    CFLAGS="-O2"
4350  else
4351    CFLAGS=
4352  fi
4353fi
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356if ${ac_cv_prog_cc_c89+:} false; then :
4357  $as_echo_n "(cached) " >&6
4358else
4359  ac_cv_prog_cc_c89=no
4360ac_save_CC=$CC
4361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362/* end confdefs.h.  */
4363#include <stdarg.h>
4364#include <stdio.h>
4365struct stat;
4366/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4367struct buf { int x; };
4368FILE * (*rcsopen) (struct buf *, struct stat *, int);
4369static char *e (p, i)
4370     char **p;
4371     int i;
4372{
4373  return p[i];
4374}
4375static char *f (char * (*g) (char **, int), char **p, ...)
4376{
4377  char *s;
4378  va_list v;
4379  va_start (v,p);
4380  s = g (p, va_arg (v,int));
4381  va_end (v);
4382  return s;
4383}
4384
4385/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4386   function prototypes and stuff, but not '\xHH' hex character constants.
4387   These don't provoke an error unfortunately, instead are silently treated
4388   as 'x'.  The following induces an error, until -std is added to get
4389   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4390   array size at least.  It's necessary to write '\x00'==0 to get something
4391   that's true only with -std.  */
4392int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4393
4394/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4395   inside strings and character constants.  */
4396#define FOO(x) 'x'
4397int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4398
4399int test (int i, double x);
4400struct s1 {int (*f) (int a);};
4401struct s2 {int (*f) (double a);};
4402int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4403int argc;
4404char **argv;
4405int
4406main ()
4407{
4408return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4409  ;
4410  return 0;
4411}
4412_ACEOF
4413for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4414	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4415do
4416  CC="$ac_save_CC $ac_arg"
4417  if ac_fn_c_try_compile "$LINENO"; then :
4418  ac_cv_prog_cc_c89=$ac_arg
4419fi
4420rm -f core conftest.err conftest.$ac_objext
4421  test "x$ac_cv_prog_cc_c89" != "xno" && break
4422done
4423rm -f conftest.$ac_ext
4424CC=$ac_save_CC
4425
4426fi
4427# AC_CACHE_VAL
4428case "x$ac_cv_prog_cc_c89" in
4429  x)
4430    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4431$as_echo "none needed" >&6; } ;;
4432  xno)
4433    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4434$as_echo "unsupported" >&6; } ;;
4435  *)
4436    CC="$CC $ac_cv_prog_cc_c89"
4437    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4438$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4439esac
4440if test "x$ac_cv_prog_cc_c89" != xno; then :
4441
4442fi
4443
4444ac_ext=c
4445ac_cpp='$CPP $CPPFLAGS'
4446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448ac_compiler_gnu=$ac_cv_c_compiler_gnu
4449
4450ac_ext=c
4451ac_cpp='$CPP $CPPFLAGS'
4452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454ac_compiler_gnu=$ac_cv_c_compiler_gnu
4455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4456$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4457if ${am_cv_prog_cc_c_o+:} false; then :
4458  $as_echo_n "(cached) " >&6
4459else
4460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461/* end confdefs.h.  */
4462
4463int
4464main ()
4465{
4466
4467  ;
4468  return 0;
4469}
4470_ACEOF
4471  # Make sure it works both with $CC and with simple cc.
4472  # Following AC_PROG_CC_C_O, we do the test twice because some
4473  # compilers refuse to overwrite an existing .o file with -o,
4474  # though they will create one.
4475  am_cv_prog_cc_c_o=yes
4476  for am_i in 1 2; do
4477    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4478   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4479   ac_status=$?
4480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481   (exit $ac_status); } \
4482         && test -f conftest2.$ac_objext; then
4483      : OK
4484    else
4485      am_cv_prog_cc_c_o=no
4486      break
4487    fi
4488  done
4489  rm -f core conftest*
4490  unset am_i
4491fi
4492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4493$as_echo "$am_cv_prog_cc_c_o" >&6; }
4494if test "$am_cv_prog_cc_c_o" != yes; then
4495   # Losing compiler, so override with the script.
4496   # FIXME: It is wrong to rewrite CC.
4497   # But if we don't then we get into trouble of one sort or another.
4498   # A longer-term fix would be to have automake use am__CC in this case,
4499   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4500   CC="$am_aux_dir/compile $CC"
4501fi
4502ac_ext=c
4503ac_cpp='$CPP $CPPFLAGS'
4504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506ac_compiler_gnu=$ac_cv_c_compiler_gnu
4507
4508
4509depcc="$CC"   am_compiler_list=
4510
4511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4512$as_echo_n "checking dependency style of $depcc... " >&6; }
4513if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4514  $as_echo_n "(cached) " >&6
4515else
4516  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4517  # We make a subdir and do the tests there.  Otherwise we can end up
4518  # making bogus files that we don't know about and never remove.  For
4519  # instance it was reported that on HP-UX the gcc test will end up
4520  # making a dummy file named 'D' -- because '-MD' means "put the output
4521  # in D".
4522  rm -rf conftest.dir
4523  mkdir conftest.dir
4524  # Copy depcomp to subdir because otherwise we won't find it if we're
4525  # using a relative directory.
4526  cp "$am_depcomp" conftest.dir
4527  cd conftest.dir
4528  # We will build objects and dependencies in a subdirectory because
4529  # it helps to detect inapplicable dependency modes.  For instance
4530  # both Tru64's cc and ICC support -MD to output dependencies as a
4531  # side effect of compilation, but ICC will put the dependencies in
4532  # the current directory while Tru64 will put them in the object
4533  # directory.
4534  mkdir sub
4535
4536  am_cv_CC_dependencies_compiler_type=none
4537  if test "$am_compiler_list" = ""; then
4538     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4539  fi
4540  am__universal=false
4541  case " $depcc " in #(
4542     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4543     esac
4544
4545  for depmode in $am_compiler_list; do
4546    # Setup a source with many dependencies, because some compilers
4547    # like to wrap large dependency lists on column 80 (with \), and
4548    # we should not choose a depcomp mode which is confused by this.
4549    #
4550    # We need to recreate these files for each test, as the compiler may
4551    # overwrite some of them when testing with obscure command lines.
4552    # This happens at least with the AIX C compiler.
4553    : > sub/conftest.c
4554    for i in 1 2 3 4 5 6; do
4555      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4556      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4557      # Solaris 10 /bin/sh.
4558      echo '/* dummy */' > sub/conftst$i.h
4559    done
4560    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4561
4562    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4563    # mode.  It turns out that the SunPro C++ compiler does not properly
4564    # handle '-M -o', and we need to detect this.  Also, some Intel
4565    # versions had trouble with output in subdirs.
4566    am__obj=sub/conftest.${OBJEXT-o}
4567    am__minus_obj="-o $am__obj"
4568    case $depmode in
4569    gcc)
4570      # This depmode causes a compiler race in universal mode.
4571      test "$am__universal" = false || continue
4572      ;;
4573    nosideeffect)
4574      # After this tag, mechanisms are not by side-effect, so they'll
4575      # only be used when explicitly requested.
4576      if test "x$enable_dependency_tracking" = xyes; then
4577	continue
4578      else
4579	break
4580      fi
4581      ;;
4582    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4583      # This compiler won't grok '-c -o', but also, the minuso test has
4584      # not run yet.  These depmodes are late enough in the game, and
4585      # so weak that their functioning should not be impacted.
4586      am__obj=conftest.${OBJEXT-o}
4587      am__minus_obj=
4588      ;;
4589    none) break ;;
4590    esac
4591    if depmode=$depmode \
4592       source=sub/conftest.c object=$am__obj \
4593       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4594       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4595         >/dev/null 2>conftest.err &&
4596       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4597       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4598       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4599       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4600      # icc doesn't choke on unknown options, it will just issue warnings
4601      # or remarks (even with -Werror).  So we grep stderr for any message
4602      # that says an option was ignored or not supported.
4603      # When given -MP, icc 7.0 and 7.1 complain thusly:
4604      #   icc: Command line warning: ignoring option '-M'; no argument required
4605      # The diagnosis changed in icc 8.0:
4606      #   icc: Command line remark: option '-MP' not supported
4607      if (grep 'ignoring option' conftest.err ||
4608          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4609        am_cv_CC_dependencies_compiler_type=$depmode
4610        break
4611      fi
4612    fi
4613  done
4614
4615  cd ..
4616  rm -rf conftest.dir
4617else
4618  am_cv_CC_dependencies_compiler_type=none
4619fi
4620
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4623$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4624CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4625
4626 if
4627  test "x$enable_dependency_tracking" != xno \
4628  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4629  am__fastdepCC_TRUE=
4630  am__fastdepCC_FALSE='#'
4631else
4632  am__fastdepCC_TRUE='#'
4633  am__fastdepCC_FALSE=
4634fi
4635
4636
4637   case $ac_cv_prog_cc_stdc in #(
4638  no) :
4639    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4640  *) :
4641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4642$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4643if ${ac_cv_prog_cc_c99+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  ac_cv_prog_cc_c99=no
4647ac_save_CC=$CC
4648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649/* end confdefs.h.  */
4650#include <stdarg.h>
4651#include <stdbool.h>
4652#include <stdlib.h>
4653#include <wchar.h>
4654#include <stdio.h>
4655
4656// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4657#define debug(...) fprintf (stderr, __VA_ARGS__)
4658#define showlist(...) puts (#__VA_ARGS__)
4659#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4660static void
4661test_varargs_macros (void)
4662{
4663  int x = 1234;
4664  int y = 5678;
4665  debug ("Flag");
4666  debug ("X = %d\n", x);
4667  showlist (The first, second, and third items.);
4668  report (x>y, "x is %d but y is %d", x, y);
4669}
4670
4671// Check long long types.
4672#define BIG64 18446744073709551615ull
4673#define BIG32 4294967295ul
4674#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4675#if !BIG_OK
4676  your preprocessor is broken;
4677#endif
4678#if BIG_OK
4679#else
4680  your preprocessor is broken;
4681#endif
4682static long long int bignum = -9223372036854775807LL;
4683static unsigned long long int ubignum = BIG64;
4684
4685struct incomplete_array
4686{
4687  int datasize;
4688  double data[];
4689};
4690
4691struct named_init {
4692  int number;
4693  const wchar_t *name;
4694  double average;
4695};
4696
4697typedef const char *ccp;
4698
4699static inline int
4700test_restrict (ccp restrict text)
4701{
4702  // See if C++-style comments work.
4703  // Iterate through items via the restricted pointer.
4704  // Also check for declarations in for loops.
4705  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4706    continue;
4707  return 0;
4708}
4709
4710// Check varargs and va_copy.
4711static void
4712test_varargs (const char *format, ...)
4713{
4714  va_list args;
4715  va_start (args, format);
4716  va_list args_copy;
4717  va_copy (args_copy, args);
4718
4719  const char *str;
4720  int number;
4721  float fnumber;
4722
4723  while (*format)
4724    {
4725      switch (*format++)
4726	{
4727	case 's': // string
4728	  str = va_arg (args_copy, const char *);
4729	  break;
4730	case 'd': // int
4731	  number = va_arg (args_copy, int);
4732	  break;
4733	case 'f': // float
4734	  fnumber = va_arg (args_copy, double);
4735	  break;
4736	default:
4737	  break;
4738	}
4739    }
4740  va_end (args_copy);
4741  va_end (args);
4742}
4743
4744int
4745main ()
4746{
4747
4748  // Check bool.
4749  _Bool success = false;
4750
4751  // Check restrict.
4752  if (test_restrict ("String literal") == 0)
4753    success = true;
4754  char *restrict newvar = "Another string";
4755
4756  // Check varargs.
4757  test_varargs ("s, d' f .", "string", 65, 34.234);
4758  test_varargs_macros ();
4759
4760  // Check flexible array members.
4761  struct incomplete_array *ia =
4762    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4763  ia->datasize = 10;
4764  for (int i = 0; i < ia->datasize; ++i)
4765    ia->data[i] = i * 1.234;
4766
4767  // Check named initializers.
4768  struct named_init ni = {
4769    .number = 34,
4770    .name = L"Test wide string",
4771    .average = 543.34343,
4772  };
4773
4774  ni.number = 58;
4775
4776  int dynamic_array[ni.number];
4777  dynamic_array[ni.number - 1] = 543;
4778
4779  // work around unused variable warnings
4780  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4781	  || dynamic_array[ni.number - 1] != 543);
4782
4783  ;
4784  return 0;
4785}
4786_ACEOF
4787for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4788do
4789  CC="$ac_save_CC $ac_arg"
4790  if ac_fn_c_try_compile "$LINENO"; then :
4791  ac_cv_prog_cc_c99=$ac_arg
4792fi
4793rm -f core conftest.err conftest.$ac_objext
4794  test "x$ac_cv_prog_cc_c99" != "xno" && break
4795done
4796rm -f conftest.$ac_ext
4797CC=$ac_save_CC
4798
4799fi
4800# AC_CACHE_VAL
4801case "x$ac_cv_prog_cc_c99" in
4802  x)
4803    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4804$as_echo "none needed" >&6; } ;;
4805  xno)
4806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4807$as_echo "unsupported" >&6; } ;;
4808  *)
4809    CC="$CC $ac_cv_prog_cc_c99"
4810    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4811$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4812esac
4813if test "x$ac_cv_prog_cc_c99" != xno; then :
4814  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4815else
4816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4817$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4818if ${ac_cv_prog_cc_c89+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  ac_cv_prog_cc_c89=no
4822ac_save_CC=$CC
4823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824/* end confdefs.h.  */
4825#include <stdarg.h>
4826#include <stdio.h>
4827struct stat;
4828/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4829struct buf { int x; };
4830FILE * (*rcsopen) (struct buf *, struct stat *, int);
4831static char *e (p, i)
4832     char **p;
4833     int i;
4834{
4835  return p[i];
4836}
4837static char *f (char * (*g) (char **, int), char **p, ...)
4838{
4839  char *s;
4840  va_list v;
4841  va_start (v,p);
4842  s = g (p, va_arg (v,int));
4843  va_end (v);
4844  return s;
4845}
4846
4847/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4848   function prototypes and stuff, but not '\xHH' hex character constants.
4849   These don't provoke an error unfortunately, instead are silently treated
4850   as 'x'.  The following induces an error, until -std is added to get
4851   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4852   array size at least.  It's necessary to write '\x00'==0 to get something
4853   that's true only with -std.  */
4854int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4855
4856/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4857   inside strings and character constants.  */
4858#define FOO(x) 'x'
4859int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4860
4861int test (int i, double x);
4862struct s1 {int (*f) (int a);};
4863struct s2 {int (*f) (double a);};
4864int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4865int argc;
4866char **argv;
4867int
4868main ()
4869{
4870return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4871  ;
4872  return 0;
4873}
4874_ACEOF
4875for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4876	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4877do
4878  CC="$ac_save_CC $ac_arg"
4879  if ac_fn_c_try_compile "$LINENO"; then :
4880  ac_cv_prog_cc_c89=$ac_arg
4881fi
4882rm -f core conftest.err conftest.$ac_objext
4883  test "x$ac_cv_prog_cc_c89" != "xno" && break
4884done
4885rm -f conftest.$ac_ext
4886CC=$ac_save_CC
4887
4888fi
4889# AC_CACHE_VAL
4890case "x$ac_cv_prog_cc_c89" in
4891  x)
4892    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4893$as_echo "none needed" >&6; } ;;
4894  xno)
4895    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4896$as_echo "unsupported" >&6; } ;;
4897  *)
4898    CC="$CC $ac_cv_prog_cc_c89"
4899    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4900$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4901esac
4902if test "x$ac_cv_prog_cc_c89" != xno; then :
4903  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4904else
4905  ac_cv_prog_cc_stdc=no
4906fi
4907
4908fi
4909 ;;
4910esac
4911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4912$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4913  if ${ac_cv_prog_cc_stdc+:} false; then :
4914  $as_echo_n "(cached) " >&6
4915fi
4916
4917  case $ac_cv_prog_cc_stdc in #(
4918  no) :
4919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4920$as_echo "unsupported" >&6; } ;; #(
4921  '') :
4922    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4923$as_echo "none needed" >&6; } ;; #(
4924  *) :
4925    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4926$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4927esac
4928
4929
4930ac_ext=c
4931ac_cpp='$CPP $CPPFLAGS'
4932ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4933ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4934ac_compiler_gnu=$ac_cv_c_compiler_gnu
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4936$as_echo_n "checking how to run the C preprocessor... " >&6; }
4937# On Suns, sometimes $CPP names a directory.
4938if test -n "$CPP" && test -d "$CPP"; then
4939  CPP=
4940fi
4941if test -z "$CPP"; then
4942  if ${ac_cv_prog_CPP+:} false; then :
4943  $as_echo_n "(cached) " >&6
4944else
4945      # Double quotes because CPP needs to be expanded
4946    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4947    do
4948      ac_preproc_ok=false
4949for ac_c_preproc_warn_flag in '' yes
4950do
4951  # Use a header file that comes with gcc, so configuring glibc
4952  # with a fresh cross-compiler works.
4953  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4954  # <limits.h> exists even on freestanding compilers.
4955  # On the NeXT, cc -E runs the code through the compiler's parser,
4956  # not just through cpp. "Syntax error" is here to catch this case.
4957  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958/* end confdefs.h.  */
4959#ifdef __STDC__
4960# include <limits.h>
4961#else
4962# include <assert.h>
4963#endif
4964		     Syntax error
4965_ACEOF
4966if ac_fn_c_try_cpp "$LINENO"; then :
4967
4968else
4969  # Broken: fails on valid input.
4970continue
4971fi
4972rm -f conftest.err conftest.i conftest.$ac_ext
4973
4974  # OK, works on sane cases.  Now check whether nonexistent headers
4975  # can be detected and how.
4976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977/* end confdefs.h.  */
4978#include <ac_nonexistent.h>
4979_ACEOF
4980if ac_fn_c_try_cpp "$LINENO"; then :
4981  # Broken: success on invalid input.
4982continue
4983else
4984  # Passes both tests.
4985ac_preproc_ok=:
4986break
4987fi
4988rm -f conftest.err conftest.i conftest.$ac_ext
4989
4990done
4991# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4992rm -f conftest.i conftest.err conftest.$ac_ext
4993if $ac_preproc_ok; then :
4994  break
4995fi
4996
4997    done
4998    ac_cv_prog_CPP=$CPP
4999
5000fi
5001  CPP=$ac_cv_prog_CPP
5002else
5003  ac_cv_prog_CPP=$CPP
5004fi
5005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5006$as_echo "$CPP" >&6; }
5007ac_preproc_ok=false
5008for ac_c_preproc_warn_flag in '' yes
5009do
5010  # Use a header file that comes with gcc, so configuring glibc
5011  # with a fresh cross-compiler works.
5012  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5013  # <limits.h> exists even on freestanding compilers.
5014  # On the NeXT, cc -E runs the code through the compiler's parser,
5015  # not just through cpp. "Syntax error" is here to catch this case.
5016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017/* end confdefs.h.  */
5018#ifdef __STDC__
5019# include <limits.h>
5020#else
5021# include <assert.h>
5022#endif
5023		     Syntax error
5024_ACEOF
5025if ac_fn_c_try_cpp "$LINENO"; then :
5026
5027else
5028  # Broken: fails on valid input.
5029continue
5030fi
5031rm -f conftest.err conftest.i conftest.$ac_ext
5032
5033  # OK, works on sane cases.  Now check whether nonexistent headers
5034  # can be detected and how.
5035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5036/* end confdefs.h.  */
5037#include <ac_nonexistent.h>
5038_ACEOF
5039if ac_fn_c_try_cpp "$LINENO"; then :
5040  # Broken: success on invalid input.
5041continue
5042else
5043  # Passes both tests.
5044ac_preproc_ok=:
5045break
5046fi
5047rm -f conftest.err conftest.i conftest.$ac_ext
5048
5049done
5050# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5051rm -f conftest.i conftest.err conftest.$ac_ext
5052if $ac_preproc_ok; then :
5053
5054else
5055  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5057as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5058See \`config.log' for more details" "$LINENO" 5; }
5059fi
5060
5061ac_ext=c
5062ac_cpp='$CPP $CPPFLAGS'
5063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066
5067
5068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5069$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5070if ${ac_cv_path_GREP+:} false; then :
5071  $as_echo_n "(cached) " >&6
5072else
5073  if test -z "$GREP"; then
5074  ac_path_GREP_found=false
5075  # Loop through the user's path and test for each of PROGNAME-LIST
5076  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5078do
5079  IFS=$as_save_IFS
5080  test -z "$as_dir" && as_dir=.
5081    for ac_prog in grep ggrep; do
5082    for ac_exec_ext in '' $ac_executable_extensions; do
5083      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5084      as_fn_executable_p "$ac_path_GREP" || continue
5085# Check for GNU ac_path_GREP and select it if it is found.
5086  # Check for GNU $ac_path_GREP
5087case `"$ac_path_GREP" --version 2>&1` in
5088*GNU*)
5089  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5090*)
5091  ac_count=0
5092  $as_echo_n 0123456789 >"conftest.in"
5093  while :
5094  do
5095    cat "conftest.in" "conftest.in" >"conftest.tmp"
5096    mv "conftest.tmp" "conftest.in"
5097    cp "conftest.in" "conftest.nl"
5098    $as_echo 'GREP' >> "conftest.nl"
5099    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5100    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5101    as_fn_arith $ac_count + 1 && ac_count=$as_val
5102    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5103      # Best one so far, save it but keep looking for a better one
5104      ac_cv_path_GREP="$ac_path_GREP"
5105      ac_path_GREP_max=$ac_count
5106    fi
5107    # 10*(2^10) chars as input seems more than enough
5108    test $ac_count -gt 10 && break
5109  done
5110  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5111esac
5112
5113      $ac_path_GREP_found && break 3
5114    done
5115  done
5116  done
5117IFS=$as_save_IFS
5118  if test -z "$ac_cv_path_GREP"; then
5119    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5120  fi
5121else
5122  ac_cv_path_GREP=$GREP
5123fi
5124
5125fi
5126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5127$as_echo "$ac_cv_path_GREP" >&6; }
5128 GREP="$ac_cv_path_GREP"
5129
5130
5131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5132$as_echo_n "checking for egrep... " >&6; }
5133if ${ac_cv_path_EGREP+:} false; then :
5134  $as_echo_n "(cached) " >&6
5135else
5136  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5137   then ac_cv_path_EGREP="$GREP -E"
5138   else
5139     if test -z "$EGREP"; then
5140  ac_path_EGREP_found=false
5141  # Loop through the user's path and test for each of PROGNAME-LIST
5142  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5144do
5145  IFS=$as_save_IFS
5146  test -z "$as_dir" && as_dir=.
5147    for ac_prog in egrep; do
5148    for ac_exec_ext in '' $ac_executable_extensions; do
5149      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5150      as_fn_executable_p "$ac_path_EGREP" || continue
5151# Check for GNU ac_path_EGREP and select it if it is found.
5152  # Check for GNU $ac_path_EGREP
5153case `"$ac_path_EGREP" --version 2>&1` in
5154*GNU*)
5155  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5156*)
5157  ac_count=0
5158  $as_echo_n 0123456789 >"conftest.in"
5159  while :
5160  do
5161    cat "conftest.in" "conftest.in" >"conftest.tmp"
5162    mv "conftest.tmp" "conftest.in"
5163    cp "conftest.in" "conftest.nl"
5164    $as_echo 'EGREP' >> "conftest.nl"
5165    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5166    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5167    as_fn_arith $ac_count + 1 && ac_count=$as_val
5168    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5169      # Best one so far, save it but keep looking for a better one
5170      ac_cv_path_EGREP="$ac_path_EGREP"
5171      ac_path_EGREP_max=$ac_count
5172    fi
5173    # 10*(2^10) chars as input seems more than enough
5174    test $ac_count -gt 10 && break
5175  done
5176  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5177esac
5178
5179      $ac_path_EGREP_found && break 3
5180    done
5181  done
5182  done
5183IFS=$as_save_IFS
5184  if test -z "$ac_cv_path_EGREP"; then
5185    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5186  fi
5187else
5188  ac_cv_path_EGREP=$EGREP
5189fi
5190
5191   fi
5192fi
5193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5194$as_echo "$ac_cv_path_EGREP" >&6; }
5195 EGREP="$ac_cv_path_EGREP"
5196
5197
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5199$as_echo_n "checking for ANSI C header files... " >&6; }
5200if ${ac_cv_header_stdc+:} false; then :
5201  $as_echo_n "(cached) " >&6
5202else
5203  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204/* end confdefs.h.  */
5205#include <stdlib.h>
5206#include <stdarg.h>
5207#include <string.h>
5208#include <float.h>
5209
5210int
5211main ()
5212{
5213
5214  ;
5215  return 0;
5216}
5217_ACEOF
5218if ac_fn_c_try_compile "$LINENO"; then :
5219  ac_cv_header_stdc=yes
5220else
5221  ac_cv_header_stdc=no
5222fi
5223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5224
5225if test $ac_cv_header_stdc = yes; then
5226  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228/* end confdefs.h.  */
5229#include <string.h>
5230
5231_ACEOF
5232if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5233  $EGREP "memchr" >/dev/null 2>&1; then :
5234
5235else
5236  ac_cv_header_stdc=no
5237fi
5238rm -f conftest*
5239
5240fi
5241
5242if test $ac_cv_header_stdc = yes; then
5243  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245/* end confdefs.h.  */
5246#include <stdlib.h>
5247
5248_ACEOF
5249if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5250  $EGREP "free" >/dev/null 2>&1; then :
5251
5252else
5253  ac_cv_header_stdc=no
5254fi
5255rm -f conftest*
5256
5257fi
5258
5259if test $ac_cv_header_stdc = yes; then
5260  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5261  if test "$cross_compiling" = yes; then :
5262  :
5263else
5264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265/* end confdefs.h.  */
5266#include <ctype.h>
5267#include <stdlib.h>
5268#if ((' ' & 0x0FF) == 0x020)
5269# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5270# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5271#else
5272# define ISLOWER(c) \
5273		   (('a' <= (c) && (c) <= 'i') \
5274		     || ('j' <= (c) && (c) <= 'r') \
5275		     || ('s' <= (c) && (c) <= 'z'))
5276# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5277#endif
5278
5279#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5280int
5281main ()
5282{
5283  int i;
5284  for (i = 0; i < 256; i++)
5285    if (XOR (islower (i), ISLOWER (i))
5286	|| toupper (i) != TOUPPER (i))
5287      return 2;
5288  return 0;
5289}
5290_ACEOF
5291if ac_fn_c_try_run "$LINENO"; then :
5292
5293else
5294  ac_cv_header_stdc=no
5295fi
5296rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5297  conftest.$ac_objext conftest.beam conftest.$ac_ext
5298fi
5299
5300fi
5301fi
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5303$as_echo "$ac_cv_header_stdc" >&6; }
5304if test $ac_cv_header_stdc = yes; then
5305
5306$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5307
5308fi
5309
5310# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5311for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5312		  inttypes.h stdint.h unistd.h
5313do :
5314  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5315ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5316"
5317if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5318  cat >>confdefs.h <<_ACEOF
5319#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5320_ACEOF
5321
5322fi
5323
5324done
5325
5326
5327
5328  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5329if test "x$ac_cv_header_minix_config_h" = xyes; then :
5330  MINIX=yes
5331else
5332  MINIX=
5333fi
5334
5335
5336  if test "$MINIX" = yes; then
5337
5338$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5339
5340
5341$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5342
5343
5344$as_echo "#define _MINIX 1" >>confdefs.h
5345
5346  fi
5347
5348
5349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5350$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5351if ${ac_cv_safe_to_define___extensions__+:} false; then :
5352  $as_echo_n "(cached) " >&6
5353else
5354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355/* end confdefs.h.  */
5356
5357#         define __EXTENSIONS__ 1
5358          $ac_includes_default
5359int
5360main ()
5361{
5362
5363  ;
5364  return 0;
5365}
5366_ACEOF
5367if ac_fn_c_try_compile "$LINENO"; then :
5368  ac_cv_safe_to_define___extensions__=yes
5369else
5370  ac_cv_safe_to_define___extensions__=no
5371fi
5372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5373fi
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5375$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5376  test $ac_cv_safe_to_define___extensions__ = yes &&
5377    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5378
5379  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5380
5381  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5382
5383  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5384
5385  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5386
5387
5388if test -n "$ac_tool_prefix"; then
5389  for ac_prog in ar lib "link -lib"
5390  do
5391    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5392set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394$as_echo_n "checking for $ac_word... " >&6; }
5395if ${ac_cv_prog_AR+:} false; then :
5396  $as_echo_n "(cached) " >&6
5397else
5398  if test -n "$AR"; then
5399  ac_cv_prog_AR="$AR" # Let the user override the test.
5400else
5401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402for as_dir in $PATH
5403do
5404  IFS=$as_save_IFS
5405  test -z "$as_dir" && as_dir=.
5406    for ac_exec_ext in '' $ac_executable_extensions; do
5407  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5409    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410    break 2
5411  fi
5412done
5413  done
5414IFS=$as_save_IFS
5415
5416fi
5417fi
5418AR=$ac_cv_prog_AR
5419if test -n "$AR"; then
5420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5421$as_echo "$AR" >&6; }
5422else
5423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424$as_echo "no" >&6; }
5425fi
5426
5427
5428    test -n "$AR" && break
5429  done
5430fi
5431if test -z "$AR"; then
5432  ac_ct_AR=$AR
5433  for ac_prog in ar lib "link -lib"
5434do
5435  # Extract the first word of "$ac_prog", so it can be a program name with args.
5436set dummy $ac_prog; ac_word=$2
5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438$as_echo_n "checking for $ac_word... " >&6; }
5439if ${ac_cv_prog_ac_ct_AR+:} false; then :
5440  $as_echo_n "(cached) " >&6
5441else
5442  if test -n "$ac_ct_AR"; then
5443  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5444else
5445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446for as_dir in $PATH
5447do
5448  IFS=$as_save_IFS
5449  test -z "$as_dir" && as_dir=.
5450    for ac_exec_ext in '' $ac_executable_extensions; do
5451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452    ac_cv_prog_ac_ct_AR="$ac_prog"
5453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454    break 2
5455  fi
5456done
5457  done
5458IFS=$as_save_IFS
5459
5460fi
5461fi
5462ac_ct_AR=$ac_cv_prog_ac_ct_AR
5463if test -n "$ac_ct_AR"; then
5464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5465$as_echo "$ac_ct_AR" >&6; }
5466else
5467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468$as_echo "no" >&6; }
5469fi
5470
5471
5472  test -n "$ac_ct_AR" && break
5473done
5474
5475  if test "x$ac_ct_AR" = x; then
5476    AR="false"
5477  else
5478    case $cross_compiling:$ac_tool_warned in
5479yes:)
5480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482ac_tool_warned=yes ;;
5483esac
5484    AR=$ac_ct_AR
5485  fi
5486fi
5487
5488: ${AR=ar}
5489
5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5491$as_echo_n "checking the archiver ($AR) interface... " >&6; }
5492if ${am_cv_ar_interface+:} false; then :
5493  $as_echo_n "(cached) " >&6
5494else
5495  ac_ext=c
5496ac_cpp='$CPP $CPPFLAGS'
5497ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5498ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5499ac_compiler_gnu=$ac_cv_c_compiler_gnu
5500
5501   am_cv_ar_interface=ar
5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503/* end confdefs.h.  */
5504int some_variable = 0;
5505_ACEOF
5506if ac_fn_c_try_compile "$LINENO"; then :
5507  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5508      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5509  (eval $am_ar_try) 2>&5
5510  ac_status=$?
5511  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5512  test $ac_status = 0; }
5513      if test "$ac_status" -eq 0; then
5514        am_cv_ar_interface=ar
5515      else
5516        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5517        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5518  (eval $am_ar_try) 2>&5
5519  ac_status=$?
5520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5521  test $ac_status = 0; }
5522        if test "$ac_status" -eq 0; then
5523          am_cv_ar_interface=lib
5524        else
5525          am_cv_ar_interface=unknown
5526        fi
5527      fi
5528      rm -f conftest.lib libconftest.a
5529
5530fi
5531rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5532   ac_ext=c
5533ac_cpp='$CPP $CPPFLAGS'
5534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537
5538fi
5539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5540$as_echo "$am_cv_ar_interface" >&6; }
5541
5542case $am_cv_ar_interface in
5543ar)
5544  ;;
5545lib)
5546  # Microsoft lib, so override with the ar-lib wrapper script.
5547  # FIXME: It is wrong to rewrite AR.
5548  # But if we don't then we get into trouble of one sort or another.
5549  # A longer-term fix would be to have automake use am__AR in this case,
5550  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5551  # similar.
5552  AR="$am_aux_dir/ar-lib $AR"
5553  ;;
5554unknown)
5555  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5556  ;;
5557esac
5558
5559case `pwd` in
5560  *\ * | *\	*)
5561    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5562$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5563esac
5564
5565
5566
5567macro_version='2.4.6'
5568macro_revision='2.4.6'
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582ltmain=$ac_aux_dir/ltmain.sh
5583
5584# Make sure we can run config.sub.
5585$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5586  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5587
5588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5589$as_echo_n "checking build system type... " >&6; }
5590if ${ac_cv_build+:} false; then :
5591  $as_echo_n "(cached) " >&6
5592else
5593  ac_build_alias=$build_alias
5594test "x$ac_build_alias" = x &&
5595  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5596test "x$ac_build_alias" = x &&
5597  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5598ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5599  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5600
5601fi
5602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5603$as_echo "$ac_cv_build" >&6; }
5604case $ac_cv_build in
5605*-*-*) ;;
5606*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5607esac
5608build=$ac_cv_build
5609ac_save_IFS=$IFS; IFS='-'
5610set x $ac_cv_build
5611shift
5612build_cpu=$1
5613build_vendor=$2
5614shift; shift
5615# Remember, the first character of IFS is used to create $*,
5616# except with old shells:
5617build_os=$*
5618IFS=$ac_save_IFS
5619case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5620
5621
5622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5623$as_echo_n "checking host system type... " >&6; }
5624if ${ac_cv_host+:} false; then :
5625  $as_echo_n "(cached) " >&6
5626else
5627  if test "x$host_alias" = x; then
5628  ac_cv_host=$ac_cv_build
5629else
5630  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5631    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5632fi
5633
5634fi
5635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5636$as_echo "$ac_cv_host" >&6; }
5637case $ac_cv_host in
5638*-*-*) ;;
5639*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5640esac
5641host=$ac_cv_host
5642ac_save_IFS=$IFS; IFS='-'
5643set x $ac_cv_host
5644shift
5645host_cpu=$1
5646host_vendor=$2
5647shift; shift
5648# Remember, the first character of IFS is used to create $*,
5649# except with old shells:
5650host_os=$*
5651IFS=$ac_save_IFS
5652case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5653
5654
5655# Backslashify metacharacters that are still active within
5656# double-quoted strings.
5657sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5658
5659# Same as above, but do not quote variable references.
5660double_quote_subst='s/\(["`\\]\)/\\\1/g'
5661
5662# Sed substitution to delay expansion of an escaped shell variable in a
5663# double_quote_subst'ed string.
5664delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5665
5666# Sed substitution to delay expansion of an escaped single quote.
5667delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5668
5669# Sed substitution to avoid accidental globbing in evaled expressions
5670no_glob_subst='s/\*/\\\*/g'
5671
5672ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5673ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5674ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5675
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5677$as_echo_n "checking how to print strings... " >&6; }
5678# Test print first, because it will be a builtin if present.
5679if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5680   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5681  ECHO='print -r --'
5682elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5683  ECHO='printf %s\n'
5684else
5685  # Use this function as a fallback that always works.
5686  func_fallback_echo ()
5687  {
5688    eval 'cat <<_LTECHO_EOF
5689$1
5690_LTECHO_EOF'
5691  }
5692  ECHO='func_fallback_echo'
5693fi
5694
5695# func_echo_all arg...
5696# Invoke $ECHO with all args, space-separated.
5697func_echo_all ()
5698{
5699    $ECHO ""
5700}
5701
5702case $ECHO in
5703  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5704$as_echo "printf" >&6; } ;;
5705  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5706$as_echo "print -r" >&6; } ;;
5707  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5708$as_echo "cat" >&6; } ;;
5709esac
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5725$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5726if ${ac_cv_path_SED+:} false; then :
5727  $as_echo_n "(cached) " >&6
5728else
5729            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5730     for ac_i in 1 2 3 4 5 6 7; do
5731       ac_script="$ac_script$as_nl$ac_script"
5732     done
5733     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5734     { ac_script=; unset ac_script;}
5735     if test -z "$SED"; then
5736  ac_path_SED_found=false
5737  # Loop through the user's path and test for each of PROGNAME-LIST
5738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739for as_dir in $PATH
5740do
5741  IFS=$as_save_IFS
5742  test -z "$as_dir" && as_dir=.
5743    for ac_prog in sed gsed; do
5744    for ac_exec_ext in '' $ac_executable_extensions; do
5745      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5746      as_fn_executable_p "$ac_path_SED" || continue
5747# Check for GNU ac_path_SED and select it if it is found.
5748  # Check for GNU $ac_path_SED
5749case `"$ac_path_SED" --version 2>&1` in
5750*GNU*)
5751  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5752*)
5753  ac_count=0
5754  $as_echo_n 0123456789 >"conftest.in"
5755  while :
5756  do
5757    cat "conftest.in" "conftest.in" >"conftest.tmp"
5758    mv "conftest.tmp" "conftest.in"
5759    cp "conftest.in" "conftest.nl"
5760    $as_echo '' >> "conftest.nl"
5761    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5762    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5763    as_fn_arith $ac_count + 1 && ac_count=$as_val
5764    if test $ac_count -gt ${ac_path_SED_max-0}; then
5765      # Best one so far, save it but keep looking for a better one
5766      ac_cv_path_SED="$ac_path_SED"
5767      ac_path_SED_max=$ac_count
5768    fi
5769    # 10*(2^10) chars as input seems more than enough
5770    test $ac_count -gt 10 && break
5771  done
5772  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5773esac
5774
5775      $ac_path_SED_found && break 3
5776    done
5777  done
5778  done
5779IFS=$as_save_IFS
5780  if test -z "$ac_cv_path_SED"; then
5781    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5782  fi
5783else
5784  ac_cv_path_SED=$SED
5785fi
5786
5787fi
5788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5789$as_echo "$ac_cv_path_SED" >&6; }
5790 SED="$ac_cv_path_SED"
5791  rm -f conftest.sed
5792
5793test -z "$SED" && SED=sed
5794Xsed="$SED -e 1s/^X//"
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5807$as_echo_n "checking for fgrep... " >&6; }
5808if ${ac_cv_path_FGREP+:} false; then :
5809  $as_echo_n "(cached) " >&6
5810else
5811  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5812   then ac_cv_path_FGREP="$GREP -F"
5813   else
5814     if test -z "$FGREP"; then
5815  ac_path_FGREP_found=false
5816  # Loop through the user's path and test for each of PROGNAME-LIST
5817  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5819do
5820  IFS=$as_save_IFS
5821  test -z "$as_dir" && as_dir=.
5822    for ac_prog in fgrep; do
5823    for ac_exec_ext in '' $ac_executable_extensions; do
5824      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5825      as_fn_executable_p "$ac_path_FGREP" || continue
5826# Check for GNU ac_path_FGREP and select it if it is found.
5827  # Check for GNU $ac_path_FGREP
5828case `"$ac_path_FGREP" --version 2>&1` in
5829*GNU*)
5830  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5831*)
5832  ac_count=0
5833  $as_echo_n 0123456789 >"conftest.in"
5834  while :
5835  do
5836    cat "conftest.in" "conftest.in" >"conftest.tmp"
5837    mv "conftest.tmp" "conftest.in"
5838    cp "conftest.in" "conftest.nl"
5839    $as_echo 'FGREP' >> "conftest.nl"
5840    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5841    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5842    as_fn_arith $ac_count + 1 && ac_count=$as_val
5843    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5844      # Best one so far, save it but keep looking for a better one
5845      ac_cv_path_FGREP="$ac_path_FGREP"
5846      ac_path_FGREP_max=$ac_count
5847    fi
5848    # 10*(2^10) chars as input seems more than enough
5849    test $ac_count -gt 10 && break
5850  done
5851  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5852esac
5853
5854      $ac_path_FGREP_found && break 3
5855    done
5856  done
5857  done
5858IFS=$as_save_IFS
5859  if test -z "$ac_cv_path_FGREP"; then
5860    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5861  fi
5862else
5863  ac_cv_path_FGREP=$FGREP
5864fi
5865
5866   fi
5867fi
5868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5869$as_echo "$ac_cv_path_FGREP" >&6; }
5870 FGREP="$ac_cv_path_FGREP"
5871
5872
5873test -z "$GREP" && GREP=grep
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893# Check whether --with-gnu-ld was given.
5894if test "${with_gnu_ld+set}" = set; then :
5895  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5896else
5897  with_gnu_ld=no
5898fi
5899
5900ac_prog=ld
5901if test yes = "$GCC"; then
5902  # Check if gcc -print-prog-name=ld gives a path.
5903  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5904$as_echo_n "checking for ld used by $CC... " >&6; }
5905  case $host in
5906  *-*-mingw*)
5907    # gcc leaves a trailing carriage return, which upsets mingw
5908    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5909  *)
5910    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5911  esac
5912  case $ac_prog in
5913    # Accept absolute paths.
5914    [\\/]* | ?:[\\/]*)
5915      re_direlt='/[^/][^/]*/\.\./'
5916      # Canonicalize the pathname of ld
5917      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5918      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5919	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5920      done
5921      test -z "$LD" && LD=$ac_prog
5922      ;;
5923  "")
5924    # If it fails, then pretend we aren't using GCC.
5925    ac_prog=ld
5926    ;;
5927  *)
5928    # If it is relative, then search for the first ld in PATH.
5929    with_gnu_ld=unknown
5930    ;;
5931  esac
5932elif test yes = "$with_gnu_ld"; then
5933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5934$as_echo_n "checking for GNU ld... " >&6; }
5935else
5936  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5937$as_echo_n "checking for non-GNU ld... " >&6; }
5938fi
5939if ${lt_cv_path_LD+:} false; then :
5940  $as_echo_n "(cached) " >&6
5941else
5942  if test -z "$LD"; then
5943  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5944  for ac_dir in $PATH; do
5945    IFS=$lt_save_ifs
5946    test -z "$ac_dir" && ac_dir=.
5947    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5948      lt_cv_path_LD=$ac_dir/$ac_prog
5949      # Check to see if the program is GNU ld.  I'd rather use --version,
5950      # but apparently some variants of GNU ld only accept -v.
5951      # Break only if it was the GNU/non-GNU ld that we prefer.
5952      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5953      *GNU* | *'with BFD'*)
5954	test no != "$with_gnu_ld" && break
5955	;;
5956      *)
5957	test yes != "$with_gnu_ld" && break
5958	;;
5959      esac
5960    fi
5961  done
5962  IFS=$lt_save_ifs
5963else
5964  lt_cv_path_LD=$LD # Let the user override the test with a path.
5965fi
5966fi
5967
5968LD=$lt_cv_path_LD
5969if test -n "$LD"; then
5970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5971$as_echo "$LD" >&6; }
5972else
5973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974$as_echo "no" >&6; }
5975fi
5976test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5978$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5979if ${lt_cv_prog_gnu_ld+:} false; then :
5980  $as_echo_n "(cached) " >&6
5981else
5982  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5983case `$LD -v 2>&1 </dev/null` in
5984*GNU* | *'with BFD'*)
5985  lt_cv_prog_gnu_ld=yes
5986  ;;
5987*)
5988  lt_cv_prog_gnu_ld=no
5989  ;;
5990esac
5991fi
5992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5993$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5994with_gnu_ld=$lt_cv_prog_gnu_ld
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6005$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6006if ${lt_cv_path_NM+:} false; then :
6007  $as_echo_n "(cached) " >&6
6008else
6009  if test -n "$NM"; then
6010  # Let the user override the test.
6011  lt_cv_path_NM=$NM
6012else
6013  lt_nm_to_check=${ac_tool_prefix}nm
6014  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6015    lt_nm_to_check="$lt_nm_to_check nm"
6016  fi
6017  for lt_tmp_nm in $lt_nm_to_check; do
6018    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6019    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6020      IFS=$lt_save_ifs
6021      test -z "$ac_dir" && ac_dir=.
6022      tmp_nm=$ac_dir/$lt_tmp_nm
6023      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6024	# Check to see if the nm accepts a BSD-compat flag.
6025	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6026	#   nm: unknown option "B" ignored
6027	# Tru64's nm complains that /dev/null is an invalid object file
6028	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6029	case $build_os in
6030	mingw*) lt_bad_file=conftest.nm/nofile ;;
6031	*) lt_bad_file=/dev/null ;;
6032	esac
6033	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6034	*$lt_bad_file* | *'Invalid file or object type'*)
6035	  lt_cv_path_NM="$tmp_nm -B"
6036	  break 2
6037	  ;;
6038	*)
6039	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6040	  */dev/null*)
6041	    lt_cv_path_NM="$tmp_nm -p"
6042	    break 2
6043	    ;;
6044	  *)
6045	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6046	    continue # so that we can try to find one that supports BSD flags
6047	    ;;
6048	  esac
6049	  ;;
6050	esac
6051      fi
6052    done
6053    IFS=$lt_save_ifs
6054  done
6055  : ${lt_cv_path_NM=no}
6056fi
6057fi
6058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6059$as_echo "$lt_cv_path_NM" >&6; }
6060if test no != "$lt_cv_path_NM"; then
6061  NM=$lt_cv_path_NM
6062else
6063  # Didn't find any BSD compatible name lister, look for dumpbin.
6064  if test -n "$DUMPBIN"; then :
6065    # Let the user override the test.
6066  else
6067    if test -n "$ac_tool_prefix"; then
6068  for ac_prog in dumpbin "link -dump"
6069  do
6070    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6071set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073$as_echo_n "checking for $ac_word... " >&6; }
6074if ${ac_cv_prog_DUMPBIN+:} false; then :
6075  $as_echo_n "(cached) " >&6
6076else
6077  if test -n "$DUMPBIN"; then
6078  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6079else
6080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081for as_dir in $PATH
6082do
6083  IFS=$as_save_IFS
6084  test -z "$as_dir" && as_dir=.
6085    for ac_exec_ext in '' $ac_executable_extensions; do
6086  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089    break 2
6090  fi
6091done
6092  done
6093IFS=$as_save_IFS
6094
6095fi
6096fi
6097DUMPBIN=$ac_cv_prog_DUMPBIN
6098if test -n "$DUMPBIN"; then
6099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6100$as_echo "$DUMPBIN" >&6; }
6101else
6102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103$as_echo "no" >&6; }
6104fi
6105
6106
6107    test -n "$DUMPBIN" && break
6108  done
6109fi
6110if test -z "$DUMPBIN"; then
6111  ac_ct_DUMPBIN=$DUMPBIN
6112  for ac_prog in dumpbin "link -dump"
6113do
6114  # Extract the first word of "$ac_prog", so it can be a program name with args.
6115set dummy $ac_prog; ac_word=$2
6116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117$as_echo_n "checking for $ac_word... " >&6; }
6118if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6119  $as_echo_n "(cached) " >&6
6120else
6121  if test -n "$ac_ct_DUMPBIN"; then
6122  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6123else
6124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125for as_dir in $PATH
6126do
6127  IFS=$as_save_IFS
6128  test -z "$as_dir" && as_dir=.
6129    for ac_exec_ext in '' $ac_executable_extensions; do
6130  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133    break 2
6134  fi
6135done
6136  done
6137IFS=$as_save_IFS
6138
6139fi
6140fi
6141ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6142if test -n "$ac_ct_DUMPBIN"; then
6143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6144$as_echo "$ac_ct_DUMPBIN" >&6; }
6145else
6146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147$as_echo "no" >&6; }
6148fi
6149
6150
6151  test -n "$ac_ct_DUMPBIN" && break
6152done
6153
6154  if test "x$ac_ct_DUMPBIN" = x; then
6155    DUMPBIN=":"
6156  else
6157    case $cross_compiling:$ac_tool_warned in
6158yes:)
6159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6161ac_tool_warned=yes ;;
6162esac
6163    DUMPBIN=$ac_ct_DUMPBIN
6164  fi
6165fi
6166
6167    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6168    *COFF*)
6169      DUMPBIN="$DUMPBIN -symbols -headers"
6170      ;;
6171    *)
6172      DUMPBIN=:
6173      ;;
6174    esac
6175  fi
6176
6177  if test : != "$DUMPBIN"; then
6178    NM=$DUMPBIN
6179  fi
6180fi
6181test -z "$NM" && NM=nm
6182
6183
6184
6185
6186
6187
6188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6189$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6190if ${lt_cv_nm_interface+:} false; then :
6191  $as_echo_n "(cached) " >&6
6192else
6193  lt_cv_nm_interface="BSD nm"
6194  echo "int some_variable = 0;" > conftest.$ac_ext
6195  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6196  (eval "$ac_compile" 2>conftest.err)
6197  cat conftest.err >&5
6198  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6199  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6200  cat conftest.err >&5
6201  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6202  cat conftest.out >&5
6203  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6204    lt_cv_nm_interface="MS dumpbin"
6205  fi
6206  rm -f conftest*
6207fi
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6209$as_echo "$lt_cv_nm_interface" >&6; }
6210
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6212$as_echo_n "checking whether ln -s works... " >&6; }
6213LN_S=$as_ln_s
6214if test "$LN_S" = "ln -s"; then
6215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216$as_echo "yes" >&6; }
6217else
6218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6219$as_echo "no, using $LN_S" >&6; }
6220fi
6221
6222# find the maximum length of command line arguments
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6224$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6225if ${lt_cv_sys_max_cmd_len+:} false; then :
6226  $as_echo_n "(cached) " >&6
6227else
6228    i=0
6229  teststring=ABCD
6230
6231  case $build_os in
6232  msdosdjgpp*)
6233    # On DJGPP, this test can blow up pretty badly due to problems in libc
6234    # (any single argument exceeding 2000 bytes causes a buffer overrun
6235    # during glob expansion).  Even if it were fixed, the result of this
6236    # check would be larger than it should be.
6237    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6238    ;;
6239
6240  gnu*)
6241    # Under GNU Hurd, this test is not required because there is
6242    # no limit to the length of command line arguments.
6243    # Libtool will interpret -1 as no limit whatsoever
6244    lt_cv_sys_max_cmd_len=-1;
6245    ;;
6246
6247  cygwin* | mingw* | cegcc*)
6248    # On Win9x/ME, this test blows up -- it succeeds, but takes
6249    # about 5 minutes as the teststring grows exponentially.
6250    # Worse, since 9x/ME are not pre-emptively multitasking,
6251    # you end up with a "frozen" computer, even though with patience
6252    # the test eventually succeeds (with a max line length of 256k).
6253    # Instead, let's just punt: use the minimum linelength reported by
6254    # all of the supported platforms: 8192 (on NT/2K/XP).
6255    lt_cv_sys_max_cmd_len=8192;
6256    ;;
6257
6258  mint*)
6259    # On MiNT this can take a long time and run out of memory.
6260    lt_cv_sys_max_cmd_len=8192;
6261    ;;
6262
6263  amigaos*)
6264    # On AmigaOS with pdksh, this test takes hours, literally.
6265    # So we just punt and use a minimum line length of 8192.
6266    lt_cv_sys_max_cmd_len=8192;
6267    ;;
6268
6269  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6270    # This has been around since 386BSD, at least.  Likely further.
6271    if test -x /sbin/sysctl; then
6272      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6273    elif test -x /usr/sbin/sysctl; then
6274      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6275    else
6276      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6277    fi
6278    # And add a safety zone
6279    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6280    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6281    ;;
6282
6283  interix*)
6284    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6285    lt_cv_sys_max_cmd_len=196608
6286    ;;
6287
6288  os2*)
6289    # The test takes a long time on OS/2.
6290    lt_cv_sys_max_cmd_len=8192
6291    ;;
6292
6293  osf*)
6294    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6295    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6296    # nice to cause kernel panics so lets avoid the loop below.
6297    # First set a reasonable default.
6298    lt_cv_sys_max_cmd_len=16384
6299    #
6300    if test -x /sbin/sysconfig; then
6301      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6302        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6303      esac
6304    fi
6305    ;;
6306  sco3.2v5*)
6307    lt_cv_sys_max_cmd_len=102400
6308    ;;
6309  sysv5* | sco5v6* | sysv4.2uw2*)
6310    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6311    if test -n "$kargmax"; then
6312      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6313    else
6314      lt_cv_sys_max_cmd_len=32768
6315    fi
6316    ;;
6317  *)
6318    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6319    if test -n "$lt_cv_sys_max_cmd_len" && \
6320       test undefined != "$lt_cv_sys_max_cmd_len"; then
6321      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6322      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6323    else
6324      # Make teststring a little bigger before we do anything with it.
6325      # a 1K string should be a reasonable start.
6326      for i in 1 2 3 4 5 6 7 8; do
6327        teststring=$teststring$teststring
6328      done
6329      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6330      # If test is not a shell built-in, we'll probably end up computing a
6331      # maximum length that is only half of the actual maximum length, but
6332      # we can't tell.
6333      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6334	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6335	      test 17 != "$i" # 1/2 MB should be enough
6336      do
6337        i=`expr $i + 1`
6338        teststring=$teststring$teststring
6339      done
6340      # Only check the string length outside the loop.
6341      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6342      teststring=
6343      # Add a significant safety factor because C++ compilers can tack on
6344      # massive amounts of additional arguments before passing them to the
6345      # linker.  It appears as though 1/2 is a usable value.
6346      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6347    fi
6348    ;;
6349  esac
6350
6351fi
6352
6353if test -n "$lt_cv_sys_max_cmd_len"; then
6354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6355$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6356else
6357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6358$as_echo "none" >&6; }
6359fi
6360max_cmd_len=$lt_cv_sys_max_cmd_len
6361
6362
6363
6364
6365
6366
6367: ${CP="cp -f"}
6368: ${MV="mv -f"}
6369: ${RM="rm -f"}
6370
6371if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6372  lt_unset=unset
6373else
6374  lt_unset=false
6375fi
6376
6377
6378
6379
6380
6381# test EBCDIC or ASCII
6382case `echo X|tr X '\101'` in
6383 A) # ASCII based system
6384    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6385  lt_SP2NL='tr \040 \012'
6386  lt_NL2SP='tr \015\012 \040\040'
6387  ;;
6388 *) # EBCDIC based system
6389  lt_SP2NL='tr \100 \n'
6390  lt_NL2SP='tr \r\n \100\100'
6391  ;;
6392esac
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6403$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6404if ${lt_cv_to_host_file_cmd+:} false; then :
6405  $as_echo_n "(cached) " >&6
6406else
6407  case $host in
6408  *-*-mingw* )
6409    case $build in
6410      *-*-mingw* ) # actually msys
6411        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6412        ;;
6413      *-*-cygwin* )
6414        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6415        ;;
6416      * ) # otherwise, assume *nix
6417        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6418        ;;
6419    esac
6420    ;;
6421  *-*-cygwin* )
6422    case $build in
6423      *-*-mingw* ) # actually msys
6424        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6425        ;;
6426      *-*-cygwin* )
6427        lt_cv_to_host_file_cmd=func_convert_file_noop
6428        ;;
6429      * ) # otherwise, assume *nix
6430        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6431        ;;
6432    esac
6433    ;;
6434  * ) # unhandled hosts (and "normal" native builds)
6435    lt_cv_to_host_file_cmd=func_convert_file_noop
6436    ;;
6437esac
6438
6439fi
6440
6441to_host_file_cmd=$lt_cv_to_host_file_cmd
6442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6443$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6444
6445
6446
6447
6448
6449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6450$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6451if ${lt_cv_to_tool_file_cmd+:} false; then :
6452  $as_echo_n "(cached) " >&6
6453else
6454  #assume ordinary cross tools, or native build.
6455lt_cv_to_tool_file_cmd=func_convert_file_noop
6456case $host in
6457  *-*-mingw* )
6458    case $build in
6459      *-*-mingw* ) # actually msys
6460        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6461        ;;
6462    esac
6463    ;;
6464esac
6465
6466fi
6467
6468to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6470$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6471
6472
6473
6474
6475
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6477$as_echo_n "checking for $LD option to reload object files... " >&6; }
6478if ${lt_cv_ld_reload_flag+:} false; then :
6479  $as_echo_n "(cached) " >&6
6480else
6481  lt_cv_ld_reload_flag='-r'
6482fi
6483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6484$as_echo "$lt_cv_ld_reload_flag" >&6; }
6485reload_flag=$lt_cv_ld_reload_flag
6486case $reload_flag in
6487"" | " "*) ;;
6488*) reload_flag=" $reload_flag" ;;
6489esac
6490reload_cmds='$LD$reload_flag -o $output$reload_objs'
6491case $host_os in
6492  cygwin* | mingw* | pw32* | cegcc*)
6493    if test yes != "$GCC"; then
6494      reload_cmds=false
6495    fi
6496    ;;
6497  darwin*)
6498    if test yes = "$GCC"; then
6499      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6500    else
6501      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6502    fi
6503    ;;
6504esac
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514if test -n "$ac_tool_prefix"; then
6515  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6516set dummy ${ac_tool_prefix}objdump; ac_word=$2
6517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518$as_echo_n "checking for $ac_word... " >&6; }
6519if ${ac_cv_prog_OBJDUMP+:} false; then :
6520  $as_echo_n "(cached) " >&6
6521else
6522  if test -n "$OBJDUMP"; then
6523  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6524else
6525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526for as_dir in $PATH
6527do
6528  IFS=$as_save_IFS
6529  test -z "$as_dir" && as_dir=.
6530    for ac_exec_ext in '' $ac_executable_extensions; do
6531  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534    break 2
6535  fi
6536done
6537  done
6538IFS=$as_save_IFS
6539
6540fi
6541fi
6542OBJDUMP=$ac_cv_prog_OBJDUMP
6543if test -n "$OBJDUMP"; then
6544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6545$as_echo "$OBJDUMP" >&6; }
6546else
6547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548$as_echo "no" >&6; }
6549fi
6550
6551
6552fi
6553if test -z "$ac_cv_prog_OBJDUMP"; then
6554  ac_ct_OBJDUMP=$OBJDUMP
6555  # Extract the first word of "objdump", so it can be a program name with args.
6556set dummy objdump; ac_word=$2
6557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558$as_echo_n "checking for $ac_word... " >&6; }
6559if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6560  $as_echo_n "(cached) " >&6
6561else
6562  if test -n "$ac_ct_OBJDUMP"; then
6563  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6564else
6565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566for as_dir in $PATH
6567do
6568  IFS=$as_save_IFS
6569  test -z "$as_dir" && as_dir=.
6570    for ac_exec_ext in '' $ac_executable_extensions; do
6571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574    break 2
6575  fi
6576done
6577  done
6578IFS=$as_save_IFS
6579
6580fi
6581fi
6582ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6583if test -n "$ac_ct_OBJDUMP"; then
6584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6585$as_echo "$ac_ct_OBJDUMP" >&6; }
6586else
6587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588$as_echo "no" >&6; }
6589fi
6590
6591  if test "x$ac_ct_OBJDUMP" = x; then
6592    OBJDUMP="false"
6593  else
6594    case $cross_compiling:$ac_tool_warned in
6595yes:)
6596{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6597$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6598ac_tool_warned=yes ;;
6599esac
6600    OBJDUMP=$ac_ct_OBJDUMP
6601  fi
6602else
6603  OBJDUMP="$ac_cv_prog_OBJDUMP"
6604fi
6605
6606test -z "$OBJDUMP" && OBJDUMP=objdump
6607
6608
6609
6610
6611
6612
6613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6614$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6615if ${lt_cv_deplibs_check_method+:} false; then :
6616  $as_echo_n "(cached) " >&6
6617else
6618  lt_cv_file_magic_cmd='$MAGIC_CMD'
6619lt_cv_file_magic_test_file=
6620lt_cv_deplibs_check_method='unknown'
6621# Need to set the preceding variable on all platforms that support
6622# interlibrary dependencies.
6623# 'none' -- dependencies not supported.
6624# 'unknown' -- same as none, but documents that we really don't know.
6625# 'pass_all' -- all dependencies passed with no checks.
6626# 'test_compile' -- check by making test program.
6627# 'file_magic [[regex]]' -- check by looking for files in library path
6628# that responds to the $file_magic_cmd with a given extended regex.
6629# If you have 'file' or equivalent on your system and you're not sure
6630# whether 'pass_all' will *always* work, you probably want this one.
6631
6632case $host_os in
6633aix[4-9]*)
6634  lt_cv_deplibs_check_method=pass_all
6635  ;;
6636
6637beos*)
6638  lt_cv_deplibs_check_method=pass_all
6639  ;;
6640
6641bsdi[45]*)
6642  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6643  lt_cv_file_magic_cmd='/usr/bin/file -L'
6644  lt_cv_file_magic_test_file=/shlib/libc.so
6645  ;;
6646
6647cygwin*)
6648  # func_win32_libid is a shell function defined in ltmain.sh
6649  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6650  lt_cv_file_magic_cmd='func_win32_libid'
6651  ;;
6652
6653mingw* | pw32*)
6654  # Base MSYS/MinGW do not provide the 'file' command needed by
6655  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6656  # unless we find 'file', for example because we are cross-compiling.
6657  if ( file / ) >/dev/null 2>&1; then
6658    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6659    lt_cv_file_magic_cmd='func_win32_libid'
6660  else
6661    # Keep this pattern in sync with the one in func_win32_libid.
6662    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6663    lt_cv_file_magic_cmd='$OBJDUMP -f'
6664  fi
6665  ;;
6666
6667cegcc*)
6668  # use the weaker test based on 'objdump'. See mingw*.
6669  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6670  lt_cv_file_magic_cmd='$OBJDUMP -f'
6671  ;;
6672
6673darwin* | rhapsody*)
6674  lt_cv_deplibs_check_method=pass_all
6675  ;;
6676
6677freebsd* | dragonfly*)
6678  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6679    case $host_cpu in
6680    i*86 )
6681      # Not sure whether the presence of OpenBSD here was a mistake.
6682      # Let's accept both of them until this is cleared up.
6683      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6684      lt_cv_file_magic_cmd=/usr/bin/file
6685      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6686      ;;
6687    esac
6688  else
6689    lt_cv_deplibs_check_method=pass_all
6690  fi
6691  ;;
6692
6693haiku*)
6694  lt_cv_deplibs_check_method=pass_all
6695  ;;
6696
6697hpux10.20* | hpux11*)
6698  lt_cv_file_magic_cmd=/usr/bin/file
6699  case $host_cpu in
6700  ia64*)
6701    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6702    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6703    ;;
6704  hppa*64*)
6705    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]'
6706    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6707    ;;
6708  *)
6709    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6710    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6711    ;;
6712  esac
6713  ;;
6714
6715interix[3-9]*)
6716  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6717  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6718  ;;
6719
6720irix5* | irix6* | nonstopux*)
6721  case $LD in
6722  *-32|*"-32 ") libmagic=32-bit;;
6723  *-n32|*"-n32 ") libmagic=N32;;
6724  *-64|*"-64 ") libmagic=64-bit;;
6725  *) libmagic=never-match;;
6726  esac
6727  lt_cv_deplibs_check_method=pass_all
6728  ;;
6729
6730# This must be glibc/ELF.
6731linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6732  lt_cv_deplibs_check_method=pass_all
6733  ;;
6734
6735netbsd*)
6736  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6737    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6738  else
6739    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6740  fi
6741  ;;
6742
6743newos6*)
6744  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6745  lt_cv_file_magic_cmd=/usr/bin/file
6746  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6747  ;;
6748
6749*nto* | *qnx*)
6750  lt_cv_deplibs_check_method=pass_all
6751  ;;
6752
6753openbsd* | bitrig*)
6754  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6755    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6756  else
6757    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6758  fi
6759  ;;
6760
6761osf3* | osf4* | osf5*)
6762  lt_cv_deplibs_check_method=pass_all
6763  ;;
6764
6765rdos*)
6766  lt_cv_deplibs_check_method=pass_all
6767  ;;
6768
6769solaris*)
6770  lt_cv_deplibs_check_method=pass_all
6771  ;;
6772
6773sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6774  lt_cv_deplibs_check_method=pass_all
6775  ;;
6776
6777sysv4 | sysv4.3*)
6778  case $host_vendor in
6779  motorola)
6780    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]'
6781    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6782    ;;
6783  ncr)
6784    lt_cv_deplibs_check_method=pass_all
6785    ;;
6786  sequent)
6787    lt_cv_file_magic_cmd='/bin/file'
6788    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6789    ;;
6790  sni)
6791    lt_cv_file_magic_cmd='/bin/file'
6792    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6793    lt_cv_file_magic_test_file=/lib/libc.so
6794    ;;
6795  siemens)
6796    lt_cv_deplibs_check_method=pass_all
6797    ;;
6798  pc)
6799    lt_cv_deplibs_check_method=pass_all
6800    ;;
6801  esac
6802  ;;
6803
6804tpf*)
6805  lt_cv_deplibs_check_method=pass_all
6806  ;;
6807os2*)
6808  lt_cv_deplibs_check_method=pass_all
6809  ;;
6810esac
6811
6812fi
6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6814$as_echo "$lt_cv_deplibs_check_method" >&6; }
6815
6816file_magic_glob=
6817want_nocaseglob=no
6818if test "$build" = "$host"; then
6819  case $host_os in
6820  mingw* | pw32*)
6821    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6822      want_nocaseglob=yes
6823    else
6824      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6825    fi
6826    ;;
6827  esac
6828fi
6829
6830file_magic_cmd=$lt_cv_file_magic_cmd
6831deplibs_check_method=$lt_cv_deplibs_check_method
6832test -z "$deplibs_check_method" && deplibs_check_method=unknown
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855if test -n "$ac_tool_prefix"; then
6856  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6857set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859$as_echo_n "checking for $ac_word... " >&6; }
6860if ${ac_cv_prog_DLLTOOL+:} false; then :
6861  $as_echo_n "(cached) " >&6
6862else
6863  if test -n "$DLLTOOL"; then
6864  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6865else
6866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867for as_dir in $PATH
6868do
6869  IFS=$as_save_IFS
6870  test -z "$as_dir" && as_dir=.
6871    for ac_exec_ext in '' $ac_executable_extensions; do
6872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875    break 2
6876  fi
6877done
6878  done
6879IFS=$as_save_IFS
6880
6881fi
6882fi
6883DLLTOOL=$ac_cv_prog_DLLTOOL
6884if test -n "$DLLTOOL"; then
6885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6886$as_echo "$DLLTOOL" >&6; }
6887else
6888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889$as_echo "no" >&6; }
6890fi
6891
6892
6893fi
6894if test -z "$ac_cv_prog_DLLTOOL"; then
6895  ac_ct_DLLTOOL=$DLLTOOL
6896  # Extract the first word of "dlltool", so it can be a program name with args.
6897set dummy dlltool; ac_word=$2
6898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899$as_echo_n "checking for $ac_word... " >&6; }
6900if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6901  $as_echo_n "(cached) " >&6
6902else
6903  if test -n "$ac_ct_DLLTOOL"; then
6904  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6905else
6906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907for as_dir in $PATH
6908do
6909  IFS=$as_save_IFS
6910  test -z "$as_dir" && as_dir=.
6911    for ac_exec_ext in '' $ac_executable_extensions; do
6912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915    break 2
6916  fi
6917done
6918  done
6919IFS=$as_save_IFS
6920
6921fi
6922fi
6923ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6924if test -n "$ac_ct_DLLTOOL"; then
6925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6926$as_echo "$ac_ct_DLLTOOL" >&6; }
6927else
6928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929$as_echo "no" >&6; }
6930fi
6931
6932  if test "x$ac_ct_DLLTOOL" = x; then
6933    DLLTOOL="false"
6934  else
6935    case $cross_compiling:$ac_tool_warned in
6936yes:)
6937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6939ac_tool_warned=yes ;;
6940esac
6941    DLLTOOL=$ac_ct_DLLTOOL
6942  fi
6943else
6944  DLLTOOL="$ac_cv_prog_DLLTOOL"
6945fi
6946
6947test -z "$DLLTOOL" && DLLTOOL=dlltool
6948
6949
6950
6951
6952
6953
6954
6955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6956$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6957if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6958  $as_echo_n "(cached) " >&6
6959else
6960  lt_cv_sharedlib_from_linklib_cmd='unknown'
6961
6962case $host_os in
6963cygwin* | mingw* | pw32* | cegcc*)
6964  # two different shell functions defined in ltmain.sh;
6965  # decide which one to use based on capabilities of $DLLTOOL
6966  case `$DLLTOOL --help 2>&1` in
6967  *--identify-strict*)
6968    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6969    ;;
6970  *)
6971    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6972    ;;
6973  esac
6974  ;;
6975*)
6976  # fallback: assume linklib IS sharedlib
6977  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6978  ;;
6979esac
6980
6981fi
6982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6983$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6984sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6985test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6986
6987
6988
6989
6990
6991
6992
6993if test -n "$ac_tool_prefix"; then
6994  for ac_prog in ar
6995  do
6996    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6997set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999$as_echo_n "checking for $ac_word... " >&6; }
7000if ${ac_cv_prog_AR+:} false; then :
7001  $as_echo_n "(cached) " >&6
7002else
7003  if test -n "$AR"; then
7004  ac_cv_prog_AR="$AR" # Let the user override the test.
7005else
7006as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007for as_dir in $PATH
7008do
7009  IFS=$as_save_IFS
7010  test -z "$as_dir" && as_dir=.
7011    for ac_exec_ext in '' $ac_executable_extensions; do
7012  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7014    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015    break 2
7016  fi
7017done
7018  done
7019IFS=$as_save_IFS
7020
7021fi
7022fi
7023AR=$ac_cv_prog_AR
7024if test -n "$AR"; then
7025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7026$as_echo "$AR" >&6; }
7027else
7028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029$as_echo "no" >&6; }
7030fi
7031
7032
7033    test -n "$AR" && break
7034  done
7035fi
7036if test -z "$AR"; then
7037  ac_ct_AR=$AR
7038  for ac_prog in ar
7039do
7040  # Extract the first word of "$ac_prog", so it can be a program name with args.
7041set dummy $ac_prog; ac_word=$2
7042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043$as_echo_n "checking for $ac_word... " >&6; }
7044if ${ac_cv_prog_ac_ct_AR+:} false; then :
7045  $as_echo_n "(cached) " >&6
7046else
7047  if test -n "$ac_ct_AR"; then
7048  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7049else
7050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051for as_dir in $PATH
7052do
7053  IFS=$as_save_IFS
7054  test -z "$as_dir" && as_dir=.
7055    for ac_exec_ext in '' $ac_executable_extensions; do
7056  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057    ac_cv_prog_ac_ct_AR="$ac_prog"
7058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059    break 2
7060  fi
7061done
7062  done
7063IFS=$as_save_IFS
7064
7065fi
7066fi
7067ac_ct_AR=$ac_cv_prog_ac_ct_AR
7068if test -n "$ac_ct_AR"; then
7069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7070$as_echo "$ac_ct_AR" >&6; }
7071else
7072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073$as_echo "no" >&6; }
7074fi
7075
7076
7077  test -n "$ac_ct_AR" && break
7078done
7079
7080  if test "x$ac_ct_AR" = x; then
7081    AR="false"
7082  else
7083    case $cross_compiling:$ac_tool_warned in
7084yes:)
7085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087ac_tool_warned=yes ;;
7088esac
7089    AR=$ac_ct_AR
7090  fi
7091fi
7092
7093: ${AR=ar}
7094: ${AR_FLAGS=cru}
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7107$as_echo_n "checking for archiver @FILE support... " >&6; }
7108if ${lt_cv_ar_at_file+:} false; then :
7109  $as_echo_n "(cached) " >&6
7110else
7111  lt_cv_ar_at_file=no
7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113/* end confdefs.h.  */
7114
7115int
7116main ()
7117{
7118
7119  ;
7120  return 0;
7121}
7122_ACEOF
7123if ac_fn_c_try_compile "$LINENO"; then :
7124  echo conftest.$ac_objext > conftest.lst
7125      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7126      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7127  (eval $lt_ar_try) 2>&5
7128  ac_status=$?
7129  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7130  test $ac_status = 0; }
7131      if test 0 -eq "$ac_status"; then
7132	# Ensure the archiver fails upon bogus file names.
7133	rm -f conftest.$ac_objext libconftest.a
7134	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7135  (eval $lt_ar_try) 2>&5
7136  ac_status=$?
7137  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7138  test $ac_status = 0; }
7139	if test 0 -ne "$ac_status"; then
7140          lt_cv_ar_at_file=@
7141        fi
7142      fi
7143      rm -f conftest.* libconftest.a
7144
7145fi
7146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7147
7148fi
7149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7150$as_echo "$lt_cv_ar_at_file" >&6; }
7151
7152if test no = "$lt_cv_ar_at_file"; then
7153  archiver_list_spec=
7154else
7155  archiver_list_spec=$lt_cv_ar_at_file
7156fi
7157
7158
7159
7160
7161
7162
7163
7164if test -n "$ac_tool_prefix"; then
7165  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7166set dummy ${ac_tool_prefix}strip; ac_word=$2
7167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168$as_echo_n "checking for $ac_word... " >&6; }
7169if ${ac_cv_prog_STRIP+:} false; then :
7170  $as_echo_n "(cached) " >&6
7171else
7172  if test -n "$STRIP"; then
7173  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7174else
7175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176for as_dir in $PATH
7177do
7178  IFS=$as_save_IFS
7179  test -z "$as_dir" && as_dir=.
7180    for ac_exec_ext in '' $ac_executable_extensions; do
7181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184    break 2
7185  fi
7186done
7187  done
7188IFS=$as_save_IFS
7189
7190fi
7191fi
7192STRIP=$ac_cv_prog_STRIP
7193if test -n "$STRIP"; then
7194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7195$as_echo "$STRIP" >&6; }
7196else
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198$as_echo "no" >&6; }
7199fi
7200
7201
7202fi
7203if test -z "$ac_cv_prog_STRIP"; then
7204  ac_ct_STRIP=$STRIP
7205  # Extract the first word of "strip", so it can be a program name with args.
7206set dummy strip; ac_word=$2
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208$as_echo_n "checking for $ac_word... " >&6; }
7209if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7210  $as_echo_n "(cached) " >&6
7211else
7212  if test -n "$ac_ct_STRIP"; then
7213  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7214else
7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216for as_dir in $PATH
7217do
7218  IFS=$as_save_IFS
7219  test -z "$as_dir" && as_dir=.
7220    for ac_exec_ext in '' $ac_executable_extensions; do
7221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222    ac_cv_prog_ac_ct_STRIP="strip"
7223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224    break 2
7225  fi
7226done
7227  done
7228IFS=$as_save_IFS
7229
7230fi
7231fi
7232ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7233if test -n "$ac_ct_STRIP"; then
7234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7235$as_echo "$ac_ct_STRIP" >&6; }
7236else
7237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238$as_echo "no" >&6; }
7239fi
7240
7241  if test "x$ac_ct_STRIP" = x; then
7242    STRIP=":"
7243  else
7244    case $cross_compiling:$ac_tool_warned in
7245yes:)
7246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7248ac_tool_warned=yes ;;
7249esac
7250    STRIP=$ac_ct_STRIP
7251  fi
7252else
7253  STRIP="$ac_cv_prog_STRIP"
7254fi
7255
7256test -z "$STRIP" && STRIP=:
7257
7258
7259
7260
7261
7262
7263if test -n "$ac_tool_prefix"; then
7264  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7265set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267$as_echo_n "checking for $ac_word... " >&6; }
7268if ${ac_cv_prog_RANLIB+:} false; then :
7269  $as_echo_n "(cached) " >&6
7270else
7271  if test -n "$RANLIB"; then
7272  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7273else
7274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275for as_dir in $PATH
7276do
7277  IFS=$as_save_IFS
7278  test -z "$as_dir" && as_dir=.
7279    for ac_exec_ext in '' $ac_executable_extensions; do
7280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283    break 2
7284  fi
7285done
7286  done
7287IFS=$as_save_IFS
7288
7289fi
7290fi
7291RANLIB=$ac_cv_prog_RANLIB
7292if test -n "$RANLIB"; then
7293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7294$as_echo "$RANLIB" >&6; }
7295else
7296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297$as_echo "no" >&6; }
7298fi
7299
7300
7301fi
7302if test -z "$ac_cv_prog_RANLIB"; then
7303  ac_ct_RANLIB=$RANLIB
7304  # Extract the first word of "ranlib", so it can be a program name with args.
7305set dummy ranlib; ac_word=$2
7306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7307$as_echo_n "checking for $ac_word... " >&6; }
7308if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7309  $as_echo_n "(cached) " >&6
7310else
7311  if test -n "$ac_ct_RANLIB"; then
7312  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7313else
7314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315for as_dir in $PATH
7316do
7317  IFS=$as_save_IFS
7318  test -z "$as_dir" && as_dir=.
7319    for ac_exec_ext in '' $ac_executable_extensions; do
7320  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321    ac_cv_prog_ac_ct_RANLIB="ranlib"
7322    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323    break 2
7324  fi
7325done
7326  done
7327IFS=$as_save_IFS
7328
7329fi
7330fi
7331ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7332if test -n "$ac_ct_RANLIB"; then
7333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7334$as_echo "$ac_ct_RANLIB" >&6; }
7335else
7336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7337$as_echo "no" >&6; }
7338fi
7339
7340  if test "x$ac_ct_RANLIB" = x; then
7341    RANLIB=":"
7342  else
7343    case $cross_compiling:$ac_tool_warned in
7344yes:)
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7346$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7347ac_tool_warned=yes ;;
7348esac
7349    RANLIB=$ac_ct_RANLIB
7350  fi
7351else
7352  RANLIB="$ac_cv_prog_RANLIB"
7353fi
7354
7355test -z "$RANLIB" && RANLIB=:
7356
7357
7358
7359
7360
7361
7362# Determine commands to create old-style static archives.
7363old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7364old_postinstall_cmds='chmod 644 $oldlib'
7365old_postuninstall_cmds=
7366
7367if test -n "$RANLIB"; then
7368  case $host_os in
7369  bitrig* | openbsd*)
7370    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7371    ;;
7372  *)
7373    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7374    ;;
7375  esac
7376  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7377fi
7378
7379case $host_os in
7380  darwin*)
7381    lock_old_archive_extraction=yes ;;
7382  *)
7383    lock_old_archive_extraction=no ;;
7384esac
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424# If no C compiler was specified, use CC.
7425LTCC=${LTCC-"$CC"}
7426
7427# If no C compiler flags were specified, use CFLAGS.
7428LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7429
7430# Allow CC to be a program name with arguments.
7431compiler=$CC
7432
7433
7434# Check for command to grab the raw symbol name followed by C symbol from nm.
7435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7436$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7437if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7438  $as_echo_n "(cached) " >&6
7439else
7440
7441# These are sane defaults that work on at least a few old systems.
7442# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7443
7444# Character class describing NM global symbol codes.
7445symcode='[BCDEGRST]'
7446
7447# Regexp to match symbols that can be accessed directly from C.
7448sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7449
7450# Define system-specific variables.
7451case $host_os in
7452aix*)
7453  symcode='[BCDT]'
7454  ;;
7455cygwin* | mingw* | pw32* | cegcc*)
7456  symcode='[ABCDGISTW]'
7457  ;;
7458hpux*)
7459  if test ia64 = "$host_cpu"; then
7460    symcode='[ABCDEGRST]'
7461  fi
7462  ;;
7463irix* | nonstopux*)
7464  symcode='[BCDEGRST]'
7465  ;;
7466osf*)
7467  symcode='[BCDEGQRST]'
7468  ;;
7469solaris*)
7470  symcode='[BDRT]'
7471  ;;
7472sco3.2v5*)
7473  symcode='[DT]'
7474  ;;
7475sysv4.2uw2*)
7476  symcode='[DT]'
7477  ;;
7478sysv5* | sco5v6* | unixware* | OpenUNIX*)
7479  symcode='[ABDT]'
7480  ;;
7481sysv4)
7482  symcode='[DFNSTU]'
7483  ;;
7484esac
7485
7486# If we're using GNU nm, then use its standard symbol codes.
7487case `$NM -V 2>&1` in
7488*GNU* | *'with BFD'*)
7489  symcode='[ABCDGIRSTW]' ;;
7490esac
7491
7492if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7493  # Gets list of data symbols to import.
7494  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7495  # Adjust the below global symbol transforms to fixup imported variables.
7496  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7497  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7498  lt_c_name_lib_hook="\
7499  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7500  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7501else
7502  # Disable hooks by default.
7503  lt_cv_sys_global_symbol_to_import=
7504  lt_cdecl_hook=
7505  lt_c_name_hook=
7506  lt_c_name_lib_hook=
7507fi
7508
7509# Transform an extracted symbol line into a proper C declaration.
7510# Some systems (esp. on ia64) link data and code symbols differently,
7511# so use this general approach.
7512lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7513$lt_cdecl_hook\
7514" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7515" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7516
7517# Transform an extracted symbol line into symbol name and symbol address
7518lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7519$lt_c_name_hook\
7520" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7521" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7522
7523# Transform an extracted symbol line into symbol name with lib prefix and
7524# symbol address.
7525lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7526$lt_c_name_lib_hook\
7527" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7528" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7529" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7530
7531# Handle CRLF in mingw tool chain
7532opt_cr=
7533case $build_os in
7534mingw*)
7535  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7536  ;;
7537esac
7538
7539# Try without a prefix underscore, then with it.
7540for ac_symprfx in "" "_"; do
7541
7542  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7543  symxfrm="\\1 $ac_symprfx\\2 \\2"
7544
7545  # Write the raw and C identifiers.
7546  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7547    # Fake it for dumpbin and say T for any non-static function,
7548    # D for any global variable and I for any imported variable.
7549    # Also find C++ and __fastcall symbols from MSVC++,
7550    # which start with @ or ?.
7551    lt_cv_sys_global_symbol_pipe="$AWK '"\
7552"     {last_section=section; section=\$ 3};"\
7553"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7554"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7555"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7556"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7557"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7558"     \$ 0!~/External *\|/{next};"\
7559"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7560"     {if(hide[section]) next};"\
7561"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7562"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7563"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7564"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7565"     ' prfx=^$ac_symprfx"
7566  else
7567    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7568  fi
7569  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7570
7571  # Check to see that the pipe works correctly.
7572  pipe_works=no
7573
7574  rm -f conftest*
7575  cat > conftest.$ac_ext <<_LT_EOF
7576#ifdef __cplusplus
7577extern "C" {
7578#endif
7579char nm_test_var;
7580void nm_test_func(void);
7581void nm_test_func(void){}
7582#ifdef __cplusplus
7583}
7584#endif
7585int main(){nm_test_var='a';nm_test_func();return(0);}
7586_LT_EOF
7587
7588  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7589  (eval $ac_compile) 2>&5
7590  ac_status=$?
7591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7592  test $ac_status = 0; }; then
7593    # Now try to grab the symbols.
7594    nlist=conftest.nm
7595    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7596  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7597  ac_status=$?
7598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7599  test $ac_status = 0; } && test -s "$nlist"; then
7600      # Try sorting and uniquifying the output.
7601      if sort "$nlist" | uniq > "$nlist"T; then
7602	mv -f "$nlist"T "$nlist"
7603      else
7604	rm -f "$nlist"T
7605      fi
7606
7607      # Make sure that we snagged all the symbols we need.
7608      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7609	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7610	  cat <<_LT_EOF > conftest.$ac_ext
7611/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7612#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7613/* DATA imports from DLLs on WIN32 can't be const, because runtime
7614   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7615# define LT_DLSYM_CONST
7616#elif defined __osf__
7617/* This system does not cope well with relocations in const data.  */
7618# define LT_DLSYM_CONST
7619#else
7620# define LT_DLSYM_CONST const
7621#endif
7622
7623#ifdef __cplusplus
7624extern "C" {
7625#endif
7626
7627_LT_EOF
7628	  # Now generate the symbol file.
7629	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7630
7631	  cat <<_LT_EOF >> conftest.$ac_ext
7632
7633/* The mapping between symbol names and symbols.  */
7634LT_DLSYM_CONST struct {
7635  const char *name;
7636  void       *address;
7637}
7638lt__PROGRAM__LTX_preloaded_symbols[] =
7639{
7640  { "@PROGRAM@", (void *) 0 },
7641_LT_EOF
7642	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7643	  cat <<\_LT_EOF >> conftest.$ac_ext
7644  {0, (void *) 0}
7645};
7646
7647/* This works around a problem in FreeBSD linker */
7648#ifdef FREEBSD_WORKAROUND
7649static const void *lt_preloaded_setup() {
7650  return lt__PROGRAM__LTX_preloaded_symbols;
7651}
7652#endif
7653
7654#ifdef __cplusplus
7655}
7656#endif
7657_LT_EOF
7658	  # Now try linking the two files.
7659	  mv conftest.$ac_objext conftstm.$ac_objext
7660	  lt_globsym_save_LIBS=$LIBS
7661	  lt_globsym_save_CFLAGS=$CFLAGS
7662	  LIBS=conftstm.$ac_objext
7663	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7664	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7665  (eval $ac_link) 2>&5
7666  ac_status=$?
7667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7668  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7669	    pipe_works=yes
7670	  fi
7671	  LIBS=$lt_globsym_save_LIBS
7672	  CFLAGS=$lt_globsym_save_CFLAGS
7673	else
7674	  echo "cannot find nm_test_func in $nlist" >&5
7675	fi
7676      else
7677	echo "cannot find nm_test_var in $nlist" >&5
7678      fi
7679    else
7680      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7681    fi
7682  else
7683    echo "$progname: failed program was:" >&5
7684    cat conftest.$ac_ext >&5
7685  fi
7686  rm -rf conftest* conftst*
7687
7688  # Do not use the global_symbol_pipe unless it works.
7689  if test yes = "$pipe_works"; then
7690    break
7691  else
7692    lt_cv_sys_global_symbol_pipe=
7693  fi
7694done
7695
7696fi
7697
7698if test -z "$lt_cv_sys_global_symbol_pipe"; then
7699  lt_cv_sys_global_symbol_to_cdecl=
7700fi
7701if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7703$as_echo "failed" >&6; }
7704else
7705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7706$as_echo "ok" >&6; }
7707fi
7708
7709# Response file support.
7710if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7711  nm_file_list_spec='@'
7712elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7713  nm_file_list_spec='@'
7714fi
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7753$as_echo_n "checking for sysroot... " >&6; }
7754
7755# Check whether --with-sysroot was given.
7756if test "${with_sysroot+set}" = set; then :
7757  withval=$with_sysroot;
7758else
7759  with_sysroot=no
7760fi
7761
7762
7763lt_sysroot=
7764case $with_sysroot in #(
7765 yes)
7766   if test yes = "$GCC"; then
7767     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7768   fi
7769   ;; #(
7770 /*)
7771   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7772   ;; #(
7773 no|'')
7774   ;; #(
7775 *)
7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7777$as_echo "$with_sysroot" >&6; }
7778   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7779   ;;
7780esac
7781
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7783$as_echo "${lt_sysroot:-no}" >&6; }
7784
7785
7786
7787
7788
7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7790$as_echo_n "checking for a working dd... " >&6; }
7791if ${ac_cv_path_lt_DD+:} false; then :
7792  $as_echo_n "(cached) " >&6
7793else
7794  printf 0123456789abcdef0123456789abcdef >conftest.i
7795cat conftest.i conftest.i >conftest2.i
7796: ${lt_DD:=$DD}
7797if test -z "$lt_DD"; then
7798  ac_path_lt_DD_found=false
7799  # Loop through the user's path and test for each of PROGNAME-LIST
7800  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801for as_dir in $PATH
7802do
7803  IFS=$as_save_IFS
7804  test -z "$as_dir" && as_dir=.
7805    for ac_prog in dd; do
7806    for ac_exec_ext in '' $ac_executable_extensions; do
7807      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7808      as_fn_executable_p "$ac_path_lt_DD" || continue
7809if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7810  cmp -s conftest.i conftest.out \
7811  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7812fi
7813      $ac_path_lt_DD_found && break 3
7814    done
7815  done
7816  done
7817IFS=$as_save_IFS
7818  if test -z "$ac_cv_path_lt_DD"; then
7819    :
7820  fi
7821else
7822  ac_cv_path_lt_DD=$lt_DD
7823fi
7824
7825rm -f conftest.i conftest2.i conftest.out
7826fi
7827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7828$as_echo "$ac_cv_path_lt_DD" >&6; }
7829
7830
7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7832$as_echo_n "checking how to truncate binary pipes... " >&6; }
7833if ${lt_cv_truncate_bin+:} false; then :
7834  $as_echo_n "(cached) " >&6
7835else
7836  printf 0123456789abcdef0123456789abcdef >conftest.i
7837cat conftest.i conftest.i >conftest2.i
7838lt_cv_truncate_bin=
7839if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7840  cmp -s conftest.i conftest.out \
7841  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7842fi
7843rm -f conftest.i conftest2.i conftest.out
7844test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7845fi
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7847$as_echo "$lt_cv_truncate_bin" >&6; }
7848
7849
7850
7851
7852
7853
7854
7855# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7856func_cc_basename ()
7857{
7858    for cc_temp in $*""; do
7859      case $cc_temp in
7860        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7861        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7862        \-*) ;;
7863        *) break;;
7864      esac
7865    done
7866    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7867}
7868
7869# Check whether --enable-libtool-lock was given.
7870if test "${enable_libtool_lock+set}" = set; then :
7871  enableval=$enable_libtool_lock;
7872fi
7873
7874test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7875
7876# Some flags need to be propagated to the compiler or linker for good
7877# libtool support.
7878case $host in
7879ia64-*-hpux*)
7880  # Find out what ABI is being produced by ac_compile, and set mode
7881  # options accordingly.
7882  echo 'int i;' > conftest.$ac_ext
7883  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7884  (eval $ac_compile) 2>&5
7885  ac_status=$?
7886  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7887  test $ac_status = 0; }; then
7888    case `/usr/bin/file conftest.$ac_objext` in
7889      *ELF-32*)
7890	HPUX_IA64_MODE=32
7891	;;
7892      *ELF-64*)
7893	HPUX_IA64_MODE=64
7894	;;
7895    esac
7896  fi
7897  rm -rf conftest*
7898  ;;
7899*-*-irix6*)
7900  # Find out what ABI is being produced by ac_compile, and set linker
7901  # options accordingly.
7902  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7903  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7904  (eval $ac_compile) 2>&5
7905  ac_status=$?
7906  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7907  test $ac_status = 0; }; then
7908    if test yes = "$lt_cv_prog_gnu_ld"; then
7909      case `/usr/bin/file conftest.$ac_objext` in
7910	*32-bit*)
7911	  LD="${LD-ld} -melf32bsmip"
7912	  ;;
7913	*N32*)
7914	  LD="${LD-ld} -melf32bmipn32"
7915	  ;;
7916	*64-bit*)
7917	  LD="${LD-ld} -melf64bmip"
7918	;;
7919      esac
7920    else
7921      case `/usr/bin/file conftest.$ac_objext` in
7922	*32-bit*)
7923	  LD="${LD-ld} -32"
7924	  ;;
7925	*N32*)
7926	  LD="${LD-ld} -n32"
7927	  ;;
7928	*64-bit*)
7929	  LD="${LD-ld} -64"
7930	  ;;
7931      esac
7932    fi
7933  fi
7934  rm -rf conftest*
7935  ;;
7936
7937mips64*-*linux*)
7938  # Find out what ABI is being produced by ac_compile, and set linker
7939  # options accordingly.
7940  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7941  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7942  (eval $ac_compile) 2>&5
7943  ac_status=$?
7944  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7945  test $ac_status = 0; }; then
7946    emul=elf
7947    case `/usr/bin/file conftest.$ac_objext` in
7948      *32-bit*)
7949	emul="${emul}32"
7950	;;
7951      *64-bit*)
7952	emul="${emul}64"
7953	;;
7954    esac
7955    case `/usr/bin/file conftest.$ac_objext` in
7956      *MSB*)
7957	emul="${emul}btsmip"
7958	;;
7959      *LSB*)
7960	emul="${emul}ltsmip"
7961	;;
7962    esac
7963    case `/usr/bin/file conftest.$ac_objext` in
7964      *N32*)
7965	emul="${emul}n32"
7966	;;
7967    esac
7968    LD="${LD-ld} -m $emul"
7969  fi
7970  rm -rf conftest*
7971  ;;
7972
7973x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7974s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7975  # Find out what ABI is being produced by ac_compile, and set linker
7976  # options accordingly.  Note that the listed cases only cover the
7977  # situations where additional linker options are needed (such as when
7978  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7979  # vice versa); the common cases where no linker options are needed do
7980  # not appear in the list.
7981  echo 'int i;' > conftest.$ac_ext
7982  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7983  (eval $ac_compile) 2>&5
7984  ac_status=$?
7985  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7986  test $ac_status = 0; }; then
7987    case `/usr/bin/file conftest.o` in
7988      *32-bit*)
7989	case $host in
7990	  x86_64-*kfreebsd*-gnu)
7991	    LD="${LD-ld} -m elf_i386_fbsd"
7992	    ;;
7993	  x86_64-*linux*)
7994	    case `/usr/bin/file conftest.o` in
7995	      *x86-64*)
7996		LD="${LD-ld} -m elf32_x86_64"
7997		;;
7998	      *)
7999		LD="${LD-ld} -m elf_i386"
8000		;;
8001	    esac
8002	    ;;
8003	  powerpc64le-*linux*)
8004	    LD="${LD-ld} -m elf32lppclinux"
8005	    ;;
8006	  powerpc64-*linux*)
8007	    LD="${LD-ld} -m elf32ppclinux"
8008	    ;;
8009	  s390x-*linux*)
8010	    LD="${LD-ld} -m elf_s390"
8011	    ;;
8012	  sparc64-*linux*)
8013	    LD="${LD-ld} -m elf32_sparc"
8014	    ;;
8015	esac
8016	;;
8017      *64-bit*)
8018	case $host in
8019	  x86_64-*kfreebsd*-gnu)
8020	    LD="${LD-ld} -m elf_x86_64_fbsd"
8021	    ;;
8022	  x86_64-*linux*)
8023	    LD="${LD-ld} -m elf_x86_64"
8024	    ;;
8025	  powerpcle-*linux*)
8026	    LD="${LD-ld} -m elf64lppc"
8027	    ;;
8028	  powerpc-*linux*)
8029	    LD="${LD-ld} -m elf64ppc"
8030	    ;;
8031	  s390*-*linux*|s390*-*tpf*)
8032	    LD="${LD-ld} -m elf64_s390"
8033	    ;;
8034	  sparc*-*linux*)
8035	    LD="${LD-ld} -m elf64_sparc"
8036	    ;;
8037	esac
8038	;;
8039    esac
8040  fi
8041  rm -rf conftest*
8042  ;;
8043
8044*-*-sco3.2v5*)
8045  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8046  SAVE_CFLAGS=$CFLAGS
8047  CFLAGS="$CFLAGS -belf"
8048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8049$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8050if ${lt_cv_cc_needs_belf+:} false; then :
8051  $as_echo_n "(cached) " >&6
8052else
8053  ac_ext=c
8054ac_cpp='$CPP $CPPFLAGS'
8055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8057ac_compiler_gnu=$ac_cv_c_compiler_gnu
8058
8059     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8060/* end confdefs.h.  */
8061
8062int
8063main ()
8064{
8065
8066  ;
8067  return 0;
8068}
8069_ACEOF
8070if ac_fn_c_try_link "$LINENO"; then :
8071  lt_cv_cc_needs_belf=yes
8072else
8073  lt_cv_cc_needs_belf=no
8074fi
8075rm -f core conftest.err conftest.$ac_objext \
8076    conftest$ac_exeext conftest.$ac_ext
8077     ac_ext=c
8078ac_cpp='$CPP $CPPFLAGS'
8079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8081ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082
8083fi
8084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8085$as_echo "$lt_cv_cc_needs_belf" >&6; }
8086  if test yes != "$lt_cv_cc_needs_belf"; then
8087    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8088    CFLAGS=$SAVE_CFLAGS
8089  fi
8090  ;;
8091*-*solaris*)
8092  # Find out what ABI is being produced by ac_compile, and set linker
8093  # options accordingly.
8094  echo 'int i;' > conftest.$ac_ext
8095  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8096  (eval $ac_compile) 2>&5
8097  ac_status=$?
8098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8099  test $ac_status = 0; }; then
8100    case `/usr/bin/file conftest.o` in
8101    *64-bit*)
8102      case $lt_cv_prog_gnu_ld in
8103      yes*)
8104        case $host in
8105        i?86-*-solaris*|x86_64-*-solaris*)
8106          LD="${LD-ld} -m elf_x86_64"
8107          ;;
8108        sparc*-*-solaris*)
8109          LD="${LD-ld} -m elf64_sparc"
8110          ;;
8111        esac
8112        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8113        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8114          LD=${LD-ld}_sol2
8115        fi
8116        ;;
8117      *)
8118	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8119	  LD="${LD-ld} -64"
8120	fi
8121	;;
8122      esac
8123      ;;
8124    esac
8125  fi
8126  rm -rf conftest*
8127  ;;
8128esac
8129
8130need_locks=$enable_libtool_lock
8131
8132if test -n "$ac_tool_prefix"; then
8133  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8134set dummy ${ac_tool_prefix}mt; ac_word=$2
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136$as_echo_n "checking for $ac_word... " >&6; }
8137if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8138  $as_echo_n "(cached) " >&6
8139else
8140  if test -n "$MANIFEST_TOOL"; then
8141  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8142else
8143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144for as_dir in $PATH
8145do
8146  IFS=$as_save_IFS
8147  test -z "$as_dir" && as_dir=.
8148    for ac_exec_ext in '' $ac_executable_extensions; do
8149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152    break 2
8153  fi
8154done
8155  done
8156IFS=$as_save_IFS
8157
8158fi
8159fi
8160MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8161if test -n "$MANIFEST_TOOL"; then
8162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8163$as_echo "$MANIFEST_TOOL" >&6; }
8164else
8165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166$as_echo "no" >&6; }
8167fi
8168
8169
8170fi
8171if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8172  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8173  # Extract the first word of "mt", so it can be a program name with args.
8174set dummy mt; ac_word=$2
8175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8176$as_echo_n "checking for $ac_word... " >&6; }
8177if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8178  $as_echo_n "(cached) " >&6
8179else
8180  if test -n "$ac_ct_MANIFEST_TOOL"; then
8181  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8182else
8183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184for as_dir in $PATH
8185do
8186  IFS=$as_save_IFS
8187  test -z "$as_dir" && as_dir=.
8188    for ac_exec_ext in '' $ac_executable_extensions; do
8189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8190    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8192    break 2
8193  fi
8194done
8195  done
8196IFS=$as_save_IFS
8197
8198fi
8199fi
8200ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8201if test -n "$ac_ct_MANIFEST_TOOL"; then
8202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8203$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8204else
8205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206$as_echo "no" >&6; }
8207fi
8208
8209  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8210    MANIFEST_TOOL=":"
8211  else
8212    case $cross_compiling:$ac_tool_warned in
8213yes:)
8214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216ac_tool_warned=yes ;;
8217esac
8218    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8219  fi
8220else
8221  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8222fi
8223
8224test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8226$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8227if ${lt_cv_path_mainfest_tool+:} false; then :
8228  $as_echo_n "(cached) " >&6
8229else
8230  lt_cv_path_mainfest_tool=no
8231  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8232  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8233  cat conftest.err >&5
8234  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8235    lt_cv_path_mainfest_tool=yes
8236  fi
8237  rm -f conftest*
8238fi
8239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8240$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8241if test yes != "$lt_cv_path_mainfest_tool"; then
8242  MANIFEST_TOOL=:
8243fi
8244
8245
8246
8247
8248
8249
8250  case $host_os in
8251    rhapsody* | darwin*)
8252    if test -n "$ac_tool_prefix"; then
8253  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8254set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256$as_echo_n "checking for $ac_word... " >&6; }
8257if ${ac_cv_prog_DSYMUTIL+:} false; then :
8258  $as_echo_n "(cached) " >&6
8259else
8260  if test -n "$DSYMUTIL"; then
8261  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8262else
8263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264for as_dir in $PATH
8265do
8266  IFS=$as_save_IFS
8267  test -z "$as_dir" && as_dir=.
8268    for ac_exec_ext in '' $ac_executable_extensions; do
8269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272    break 2
8273  fi
8274done
8275  done
8276IFS=$as_save_IFS
8277
8278fi
8279fi
8280DSYMUTIL=$ac_cv_prog_DSYMUTIL
8281if test -n "$DSYMUTIL"; then
8282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8283$as_echo "$DSYMUTIL" >&6; }
8284else
8285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286$as_echo "no" >&6; }
8287fi
8288
8289
8290fi
8291if test -z "$ac_cv_prog_DSYMUTIL"; then
8292  ac_ct_DSYMUTIL=$DSYMUTIL
8293  # Extract the first word of "dsymutil", so it can be a program name with args.
8294set dummy dsymutil; ac_word=$2
8295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296$as_echo_n "checking for $ac_word... " >&6; }
8297if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8298  $as_echo_n "(cached) " >&6
8299else
8300  if test -n "$ac_ct_DSYMUTIL"; then
8301  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8302else
8303as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304for as_dir in $PATH
8305do
8306  IFS=$as_save_IFS
8307  test -z "$as_dir" && as_dir=.
8308    for ac_exec_ext in '' $ac_executable_extensions; do
8309  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8310    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8311    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8312    break 2
8313  fi
8314done
8315  done
8316IFS=$as_save_IFS
8317
8318fi
8319fi
8320ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8321if test -n "$ac_ct_DSYMUTIL"; then
8322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8323$as_echo "$ac_ct_DSYMUTIL" >&6; }
8324else
8325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326$as_echo "no" >&6; }
8327fi
8328
8329  if test "x$ac_ct_DSYMUTIL" = x; then
8330    DSYMUTIL=":"
8331  else
8332    case $cross_compiling:$ac_tool_warned in
8333yes:)
8334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8336ac_tool_warned=yes ;;
8337esac
8338    DSYMUTIL=$ac_ct_DSYMUTIL
8339  fi
8340else
8341  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8342fi
8343
8344    if test -n "$ac_tool_prefix"; then
8345  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8346set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348$as_echo_n "checking for $ac_word... " >&6; }
8349if ${ac_cv_prog_NMEDIT+:} false; then :
8350  $as_echo_n "(cached) " >&6
8351else
8352  if test -n "$NMEDIT"; then
8353  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8354else
8355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356for as_dir in $PATH
8357do
8358  IFS=$as_save_IFS
8359  test -z "$as_dir" && as_dir=.
8360    for ac_exec_ext in '' $ac_executable_extensions; do
8361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364    break 2
8365  fi
8366done
8367  done
8368IFS=$as_save_IFS
8369
8370fi
8371fi
8372NMEDIT=$ac_cv_prog_NMEDIT
8373if test -n "$NMEDIT"; then
8374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8375$as_echo "$NMEDIT" >&6; }
8376else
8377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378$as_echo "no" >&6; }
8379fi
8380
8381
8382fi
8383if test -z "$ac_cv_prog_NMEDIT"; then
8384  ac_ct_NMEDIT=$NMEDIT
8385  # Extract the first word of "nmedit", so it can be a program name with args.
8386set dummy nmedit; ac_word=$2
8387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388$as_echo_n "checking for $ac_word... " >&6; }
8389if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8390  $as_echo_n "(cached) " >&6
8391else
8392  if test -n "$ac_ct_NMEDIT"; then
8393  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8394else
8395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396for as_dir in $PATH
8397do
8398  IFS=$as_save_IFS
8399  test -z "$as_dir" && as_dir=.
8400    for ac_exec_ext in '' $ac_executable_extensions; do
8401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404    break 2
8405  fi
8406done
8407  done
8408IFS=$as_save_IFS
8409
8410fi
8411fi
8412ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8413if test -n "$ac_ct_NMEDIT"; then
8414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8415$as_echo "$ac_ct_NMEDIT" >&6; }
8416else
8417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418$as_echo "no" >&6; }
8419fi
8420
8421  if test "x$ac_ct_NMEDIT" = x; then
8422    NMEDIT=":"
8423  else
8424    case $cross_compiling:$ac_tool_warned in
8425yes:)
8426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8428ac_tool_warned=yes ;;
8429esac
8430    NMEDIT=$ac_ct_NMEDIT
8431  fi
8432else
8433  NMEDIT="$ac_cv_prog_NMEDIT"
8434fi
8435
8436    if test -n "$ac_tool_prefix"; then
8437  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8438set dummy ${ac_tool_prefix}lipo; ac_word=$2
8439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440$as_echo_n "checking for $ac_word... " >&6; }
8441if ${ac_cv_prog_LIPO+:} false; then :
8442  $as_echo_n "(cached) " >&6
8443else
8444  if test -n "$LIPO"; then
8445  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8446else
8447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448for as_dir in $PATH
8449do
8450  IFS=$as_save_IFS
8451  test -z "$as_dir" && as_dir=.
8452    for ac_exec_ext in '' $ac_executable_extensions; do
8453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456    break 2
8457  fi
8458done
8459  done
8460IFS=$as_save_IFS
8461
8462fi
8463fi
8464LIPO=$ac_cv_prog_LIPO
8465if test -n "$LIPO"; then
8466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8467$as_echo "$LIPO" >&6; }
8468else
8469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470$as_echo "no" >&6; }
8471fi
8472
8473
8474fi
8475if test -z "$ac_cv_prog_LIPO"; then
8476  ac_ct_LIPO=$LIPO
8477  # Extract the first word of "lipo", so it can be a program name with args.
8478set dummy lipo; ac_word=$2
8479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480$as_echo_n "checking for $ac_word... " >&6; }
8481if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8482  $as_echo_n "(cached) " >&6
8483else
8484  if test -n "$ac_ct_LIPO"; then
8485  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8486else
8487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488for as_dir in $PATH
8489do
8490  IFS=$as_save_IFS
8491  test -z "$as_dir" && as_dir=.
8492    for ac_exec_ext in '' $ac_executable_extensions; do
8493  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8494    ac_cv_prog_ac_ct_LIPO="lipo"
8495    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496    break 2
8497  fi
8498done
8499  done
8500IFS=$as_save_IFS
8501
8502fi
8503fi
8504ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8505if test -n "$ac_ct_LIPO"; then
8506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8507$as_echo "$ac_ct_LIPO" >&6; }
8508else
8509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510$as_echo "no" >&6; }
8511fi
8512
8513  if test "x$ac_ct_LIPO" = x; then
8514    LIPO=":"
8515  else
8516    case $cross_compiling:$ac_tool_warned in
8517yes:)
8518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8520ac_tool_warned=yes ;;
8521esac
8522    LIPO=$ac_ct_LIPO
8523  fi
8524else
8525  LIPO="$ac_cv_prog_LIPO"
8526fi
8527
8528    if test -n "$ac_tool_prefix"; then
8529  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8530set dummy ${ac_tool_prefix}otool; ac_word=$2
8531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532$as_echo_n "checking for $ac_word... " >&6; }
8533if ${ac_cv_prog_OTOOL+:} false; then :
8534  $as_echo_n "(cached) " >&6
8535else
8536  if test -n "$OTOOL"; then
8537  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8538else
8539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540for as_dir in $PATH
8541do
8542  IFS=$as_save_IFS
8543  test -z "$as_dir" && as_dir=.
8544    for ac_exec_ext in '' $ac_executable_extensions; do
8545  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8547    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548    break 2
8549  fi
8550done
8551  done
8552IFS=$as_save_IFS
8553
8554fi
8555fi
8556OTOOL=$ac_cv_prog_OTOOL
8557if test -n "$OTOOL"; then
8558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8559$as_echo "$OTOOL" >&6; }
8560else
8561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562$as_echo "no" >&6; }
8563fi
8564
8565
8566fi
8567if test -z "$ac_cv_prog_OTOOL"; then
8568  ac_ct_OTOOL=$OTOOL
8569  # Extract the first word of "otool", so it can be a program name with args.
8570set dummy otool; ac_word=$2
8571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572$as_echo_n "checking for $ac_word... " >&6; }
8573if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8574  $as_echo_n "(cached) " >&6
8575else
8576  if test -n "$ac_ct_OTOOL"; then
8577  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8578else
8579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8580for as_dir in $PATH
8581do
8582  IFS=$as_save_IFS
8583  test -z "$as_dir" && as_dir=.
8584    for ac_exec_ext in '' $ac_executable_extensions; do
8585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8586    ac_cv_prog_ac_ct_OTOOL="otool"
8587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8588    break 2
8589  fi
8590done
8591  done
8592IFS=$as_save_IFS
8593
8594fi
8595fi
8596ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8597if test -n "$ac_ct_OTOOL"; then
8598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8599$as_echo "$ac_ct_OTOOL" >&6; }
8600else
8601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602$as_echo "no" >&6; }
8603fi
8604
8605  if test "x$ac_ct_OTOOL" = x; then
8606    OTOOL=":"
8607  else
8608    case $cross_compiling:$ac_tool_warned in
8609yes:)
8610{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8612ac_tool_warned=yes ;;
8613esac
8614    OTOOL=$ac_ct_OTOOL
8615  fi
8616else
8617  OTOOL="$ac_cv_prog_OTOOL"
8618fi
8619
8620    if test -n "$ac_tool_prefix"; then
8621  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8622set dummy ${ac_tool_prefix}otool64; ac_word=$2
8623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624$as_echo_n "checking for $ac_word... " >&6; }
8625if ${ac_cv_prog_OTOOL64+:} false; then :
8626  $as_echo_n "(cached) " >&6
8627else
8628  if test -n "$OTOOL64"; then
8629  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8630else
8631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632for as_dir in $PATH
8633do
8634  IFS=$as_save_IFS
8635  test -z "$as_dir" && as_dir=.
8636    for ac_exec_ext in '' $ac_executable_extensions; do
8637  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640    break 2
8641  fi
8642done
8643  done
8644IFS=$as_save_IFS
8645
8646fi
8647fi
8648OTOOL64=$ac_cv_prog_OTOOL64
8649if test -n "$OTOOL64"; then
8650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8651$as_echo "$OTOOL64" >&6; }
8652else
8653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654$as_echo "no" >&6; }
8655fi
8656
8657
8658fi
8659if test -z "$ac_cv_prog_OTOOL64"; then
8660  ac_ct_OTOOL64=$OTOOL64
8661  # Extract the first word of "otool64", so it can be a program name with args.
8662set dummy otool64; ac_word=$2
8663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664$as_echo_n "checking for $ac_word... " >&6; }
8665if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8666  $as_echo_n "(cached) " >&6
8667else
8668  if test -n "$ac_ct_OTOOL64"; then
8669  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8670else
8671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8672for as_dir in $PATH
8673do
8674  IFS=$as_save_IFS
8675  test -z "$as_dir" && as_dir=.
8676    for ac_exec_ext in '' $ac_executable_extensions; do
8677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8678    ac_cv_prog_ac_ct_OTOOL64="otool64"
8679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680    break 2
8681  fi
8682done
8683  done
8684IFS=$as_save_IFS
8685
8686fi
8687fi
8688ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8689if test -n "$ac_ct_OTOOL64"; then
8690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8691$as_echo "$ac_ct_OTOOL64" >&6; }
8692else
8693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694$as_echo "no" >&6; }
8695fi
8696
8697  if test "x$ac_ct_OTOOL64" = x; then
8698    OTOOL64=":"
8699  else
8700    case $cross_compiling:$ac_tool_warned in
8701yes:)
8702{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8704ac_tool_warned=yes ;;
8705esac
8706    OTOOL64=$ac_ct_OTOOL64
8707  fi
8708else
8709  OTOOL64="$ac_cv_prog_OTOOL64"
8710fi
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8739$as_echo_n "checking for -single_module linker flag... " >&6; }
8740if ${lt_cv_apple_cc_single_mod+:} false; then :
8741  $as_echo_n "(cached) " >&6
8742else
8743  lt_cv_apple_cc_single_mod=no
8744      if test -z "$LT_MULTI_MODULE"; then
8745	# By default we will add the -single_module flag. You can override
8746	# by either setting the environment variable LT_MULTI_MODULE
8747	# non-empty at configure time, or by adding -multi_module to the
8748	# link flags.
8749	rm -rf libconftest.dylib*
8750	echo "int foo(void){return 1;}" > conftest.c
8751	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8752-dynamiclib -Wl,-single_module conftest.c" >&5
8753	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8754	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8755        _lt_result=$?
8756	# If there is a non-empty error log, and "single_module"
8757	# appears in it, assume the flag caused a linker warning
8758        if test -s conftest.err && $GREP single_module conftest.err; then
8759	  cat conftest.err >&5
8760	# Otherwise, if the output was created with a 0 exit code from
8761	# the compiler, it worked.
8762	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8763	  lt_cv_apple_cc_single_mod=yes
8764	else
8765	  cat conftest.err >&5
8766	fi
8767	rm -rf libconftest.dylib*
8768	rm -f conftest.*
8769      fi
8770fi
8771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8772$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8773
8774    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8775$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8776if ${lt_cv_ld_exported_symbols_list+:} false; then :
8777  $as_echo_n "(cached) " >&6
8778else
8779  lt_cv_ld_exported_symbols_list=no
8780      save_LDFLAGS=$LDFLAGS
8781      echo "_main" > conftest.sym
8782      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784/* end confdefs.h.  */
8785
8786int
8787main ()
8788{
8789
8790  ;
8791  return 0;
8792}
8793_ACEOF
8794if ac_fn_c_try_link "$LINENO"; then :
8795  lt_cv_ld_exported_symbols_list=yes
8796else
8797  lt_cv_ld_exported_symbols_list=no
8798fi
8799rm -f core conftest.err conftest.$ac_objext \
8800    conftest$ac_exeext conftest.$ac_ext
8801	LDFLAGS=$save_LDFLAGS
8802
8803fi
8804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8805$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8806
8807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8808$as_echo_n "checking for -force_load linker flag... " >&6; }
8809if ${lt_cv_ld_force_load+:} false; then :
8810  $as_echo_n "(cached) " >&6
8811else
8812  lt_cv_ld_force_load=no
8813      cat > conftest.c << _LT_EOF
8814int forced_loaded() { return 2;}
8815_LT_EOF
8816      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8817      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8818      echo "$AR cru libconftest.a conftest.o" >&5
8819      $AR cru libconftest.a conftest.o 2>&5
8820      echo "$RANLIB libconftest.a" >&5
8821      $RANLIB libconftest.a 2>&5
8822      cat > conftest.c << _LT_EOF
8823int main() { return 0;}
8824_LT_EOF
8825      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8826      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8827      _lt_result=$?
8828      if test -s conftest.err && $GREP force_load conftest.err; then
8829	cat conftest.err >&5
8830      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8831	lt_cv_ld_force_load=yes
8832      else
8833	cat conftest.err >&5
8834      fi
8835        rm -f conftest.err libconftest.a conftest conftest.c
8836        rm -rf conftest.dSYM
8837
8838fi
8839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8840$as_echo "$lt_cv_ld_force_load" >&6; }
8841    case $host_os in
8842    rhapsody* | darwin1.[012])
8843      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8844    darwin1.*)
8845      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8846    darwin*) # darwin 5.x on
8847      # if running on 10.5 or later, the deployment target defaults
8848      # to the OS version, if on x86, and 10.4, the deployment
8849      # target defaults to 10.4. Don't you love it?
8850      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8851	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8852	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8853	10.[012][,.]*)
8854	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8855	10.*)
8856	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8857      esac
8858    ;;
8859  esac
8860    if test yes = "$lt_cv_apple_cc_single_mod"; then
8861      _lt_dar_single_mod='$single_module'
8862    fi
8863    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8864      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8865    else
8866      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8867    fi
8868    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8869      _lt_dsymutil='~$DSYMUTIL $lib || :'
8870    else
8871      _lt_dsymutil=
8872    fi
8873    ;;
8874  esac
8875
8876# func_munge_path_list VARIABLE PATH
8877# -----------------------------------
8878# VARIABLE is name of variable containing _space_ separated list of
8879# directories to be munged by the contents of PATH, which is string
8880# having a format:
8881# "DIR[:DIR]:"
8882#       string "DIR[ DIR]" will be prepended to VARIABLE
8883# ":DIR[:DIR]"
8884#       string "DIR[ DIR]" will be appended to VARIABLE
8885# "DIRP[:DIRP]::[DIRA:]DIRA"
8886#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8887#       "DIRA[ DIRA]" will be appended to VARIABLE
8888# "DIR[:DIR]"
8889#       VARIABLE will be replaced by "DIR[ DIR]"
8890func_munge_path_list ()
8891{
8892    case x$2 in
8893    x)
8894        ;;
8895    *:)
8896        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8897        ;;
8898    x:*)
8899        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8900        ;;
8901    *::*)
8902        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8903        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8904        ;;
8905    *)
8906        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8907        ;;
8908    esac
8909}
8910
8911for ac_header in dlfcn.h
8912do :
8913  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8914"
8915if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8916  cat >>confdefs.h <<_ACEOF
8917#define HAVE_DLFCN_H 1
8918_ACEOF
8919
8920fi
8921
8922done
8923
8924
8925
8926
8927
8928# Set options
8929enable_win32_dll=yes
8930
8931case $host in
8932*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8933  if test -n "$ac_tool_prefix"; then
8934  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8935set dummy ${ac_tool_prefix}as; ac_word=$2
8936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937$as_echo_n "checking for $ac_word... " >&6; }
8938if ${ac_cv_prog_AS+:} false; then :
8939  $as_echo_n "(cached) " >&6
8940else
8941  if test -n "$AS"; then
8942  ac_cv_prog_AS="$AS" # Let the user override the test.
8943else
8944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945for as_dir in $PATH
8946do
8947  IFS=$as_save_IFS
8948  test -z "$as_dir" && as_dir=.
8949    for ac_exec_ext in '' $ac_executable_extensions; do
8950  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8951    ac_cv_prog_AS="${ac_tool_prefix}as"
8952    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8953    break 2
8954  fi
8955done
8956  done
8957IFS=$as_save_IFS
8958
8959fi
8960fi
8961AS=$ac_cv_prog_AS
8962if test -n "$AS"; then
8963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8964$as_echo "$AS" >&6; }
8965else
8966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967$as_echo "no" >&6; }
8968fi
8969
8970
8971fi
8972if test -z "$ac_cv_prog_AS"; then
8973  ac_ct_AS=$AS
8974  # Extract the first word of "as", so it can be a program name with args.
8975set dummy as; ac_word=$2
8976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8977$as_echo_n "checking for $ac_word... " >&6; }
8978if ${ac_cv_prog_ac_ct_AS+:} false; then :
8979  $as_echo_n "(cached) " >&6
8980else
8981  if test -n "$ac_ct_AS"; then
8982  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8983else
8984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985for as_dir in $PATH
8986do
8987  IFS=$as_save_IFS
8988  test -z "$as_dir" && as_dir=.
8989    for ac_exec_ext in '' $ac_executable_extensions; do
8990  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8991    ac_cv_prog_ac_ct_AS="as"
8992    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8993    break 2
8994  fi
8995done
8996  done
8997IFS=$as_save_IFS
8998
8999fi
9000fi
9001ac_ct_AS=$ac_cv_prog_ac_ct_AS
9002if test -n "$ac_ct_AS"; then
9003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9004$as_echo "$ac_ct_AS" >&6; }
9005else
9006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9007$as_echo "no" >&6; }
9008fi
9009
9010  if test "x$ac_ct_AS" = x; then
9011    AS="false"
9012  else
9013    case $cross_compiling:$ac_tool_warned in
9014yes:)
9015{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9016$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9017ac_tool_warned=yes ;;
9018esac
9019    AS=$ac_ct_AS
9020  fi
9021else
9022  AS="$ac_cv_prog_AS"
9023fi
9024
9025  if test -n "$ac_tool_prefix"; then
9026  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9027set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029$as_echo_n "checking for $ac_word... " >&6; }
9030if ${ac_cv_prog_DLLTOOL+:} false; then :
9031  $as_echo_n "(cached) " >&6
9032else
9033  if test -n "$DLLTOOL"; then
9034  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9035else
9036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9037for as_dir in $PATH
9038do
9039  IFS=$as_save_IFS
9040  test -z "$as_dir" && as_dir=.
9041    for ac_exec_ext in '' $ac_executable_extensions; do
9042  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9044    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9045    break 2
9046  fi
9047done
9048  done
9049IFS=$as_save_IFS
9050
9051fi
9052fi
9053DLLTOOL=$ac_cv_prog_DLLTOOL
9054if test -n "$DLLTOOL"; then
9055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9056$as_echo "$DLLTOOL" >&6; }
9057else
9058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059$as_echo "no" >&6; }
9060fi
9061
9062
9063fi
9064if test -z "$ac_cv_prog_DLLTOOL"; then
9065  ac_ct_DLLTOOL=$DLLTOOL
9066  # Extract the first word of "dlltool", so it can be a program name with args.
9067set dummy dlltool; ac_word=$2
9068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069$as_echo_n "checking for $ac_word... " >&6; }
9070if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9071  $as_echo_n "(cached) " >&6
9072else
9073  if test -n "$ac_ct_DLLTOOL"; then
9074  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9075else
9076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077for as_dir in $PATH
9078do
9079  IFS=$as_save_IFS
9080  test -z "$as_dir" && as_dir=.
9081    for ac_exec_ext in '' $ac_executable_extensions; do
9082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9083    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9085    break 2
9086  fi
9087done
9088  done
9089IFS=$as_save_IFS
9090
9091fi
9092fi
9093ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9094if test -n "$ac_ct_DLLTOOL"; then
9095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9096$as_echo "$ac_ct_DLLTOOL" >&6; }
9097else
9098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099$as_echo "no" >&6; }
9100fi
9101
9102  if test "x$ac_ct_DLLTOOL" = x; then
9103    DLLTOOL="false"
9104  else
9105    case $cross_compiling:$ac_tool_warned in
9106yes:)
9107{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9108$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9109ac_tool_warned=yes ;;
9110esac
9111    DLLTOOL=$ac_ct_DLLTOOL
9112  fi
9113else
9114  DLLTOOL="$ac_cv_prog_DLLTOOL"
9115fi
9116
9117  if test -n "$ac_tool_prefix"; then
9118  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9119set dummy ${ac_tool_prefix}objdump; ac_word=$2
9120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9121$as_echo_n "checking for $ac_word... " >&6; }
9122if ${ac_cv_prog_OBJDUMP+:} false; then :
9123  $as_echo_n "(cached) " >&6
9124else
9125  if test -n "$OBJDUMP"; then
9126  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9127else
9128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9129for as_dir in $PATH
9130do
9131  IFS=$as_save_IFS
9132  test -z "$as_dir" && as_dir=.
9133    for ac_exec_ext in '' $ac_executable_extensions; do
9134  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9135    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9137    break 2
9138  fi
9139done
9140  done
9141IFS=$as_save_IFS
9142
9143fi
9144fi
9145OBJDUMP=$ac_cv_prog_OBJDUMP
9146if test -n "$OBJDUMP"; then
9147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9148$as_echo "$OBJDUMP" >&6; }
9149else
9150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151$as_echo "no" >&6; }
9152fi
9153
9154
9155fi
9156if test -z "$ac_cv_prog_OBJDUMP"; then
9157  ac_ct_OBJDUMP=$OBJDUMP
9158  # Extract the first word of "objdump", so it can be a program name with args.
9159set dummy objdump; ac_word=$2
9160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9161$as_echo_n "checking for $ac_word... " >&6; }
9162if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9163  $as_echo_n "(cached) " >&6
9164else
9165  if test -n "$ac_ct_OBJDUMP"; then
9166  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9167else
9168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169for as_dir in $PATH
9170do
9171  IFS=$as_save_IFS
9172  test -z "$as_dir" && as_dir=.
9173    for ac_exec_ext in '' $ac_executable_extensions; do
9174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9175    ac_cv_prog_ac_ct_OBJDUMP="objdump"
9176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9177    break 2
9178  fi
9179done
9180  done
9181IFS=$as_save_IFS
9182
9183fi
9184fi
9185ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9186if test -n "$ac_ct_OBJDUMP"; then
9187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9188$as_echo "$ac_ct_OBJDUMP" >&6; }
9189else
9190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9191$as_echo "no" >&6; }
9192fi
9193
9194  if test "x$ac_ct_OBJDUMP" = x; then
9195    OBJDUMP="false"
9196  else
9197    case $cross_compiling:$ac_tool_warned in
9198yes:)
9199{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9200$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9201ac_tool_warned=yes ;;
9202esac
9203    OBJDUMP=$ac_ct_OBJDUMP
9204  fi
9205else
9206  OBJDUMP="$ac_cv_prog_OBJDUMP"
9207fi
9208
9209  ;;
9210esac
9211
9212test -z "$AS" && AS=as
9213
9214
9215
9216
9217
9218test -z "$DLLTOOL" && DLLTOOL=dlltool
9219
9220
9221
9222
9223
9224test -z "$OBJDUMP" && OBJDUMP=objdump
9225
9226
9227
9228
9229# Check whether --enable-static was given.
9230if test "${enable_static+set}" = set; then :
9231  enableval=$enable_static; p=${PACKAGE-default}
9232    case $enableval in
9233    yes) enable_static=yes ;;
9234    no) enable_static=no ;;
9235    *)
9236     enable_static=no
9237      # Look at the argument we got.  We use all the common list separators.
9238      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9239      for pkg in $enableval; do
9240	IFS=$lt_save_ifs
9241	if test "X$pkg" = "X$p"; then
9242	  enable_static=yes
9243	fi
9244      done
9245      IFS=$lt_save_ifs
9246      ;;
9247    esac
9248else
9249  enable_static=no
9250fi
9251
9252
9253
9254
9255
9256
9257
9258
9259# Check whether --with-pic was given.
9260if test "${with_pic+set}" = set; then :
9261  withval=$with_pic; lt_p=${PACKAGE-default}
9262    case $withval in
9263    yes|no) pic_mode=$withval ;;
9264    *)
9265      pic_mode=default
9266      # Look at the argument we got.  We use all the common list separators.
9267      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9268      for lt_pkg in $withval; do
9269	IFS=$lt_save_ifs
9270	if test "X$lt_pkg" = "X$lt_p"; then
9271	  pic_mode=yes
9272	fi
9273      done
9274      IFS=$lt_save_ifs
9275      ;;
9276    esac
9277else
9278  pic_mode=yes
9279fi
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289        enable_dlopen=no
9290
9291
9292
9293            # Check whether --enable-shared was given.
9294if test "${enable_shared+set}" = set; then :
9295  enableval=$enable_shared; p=${PACKAGE-default}
9296    case $enableval in
9297    yes) enable_shared=yes ;;
9298    no) enable_shared=no ;;
9299    *)
9300      enable_shared=no
9301      # Look at the argument we got.  We use all the common list separators.
9302      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9303      for pkg in $enableval; do
9304	IFS=$lt_save_ifs
9305	if test "X$pkg" = "X$p"; then
9306	  enable_shared=yes
9307	fi
9308      done
9309      IFS=$lt_save_ifs
9310      ;;
9311    esac
9312else
9313  enable_shared=yes
9314fi
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326  # Check whether --enable-fast-install was given.
9327if test "${enable_fast_install+set}" = set; then :
9328  enableval=$enable_fast_install; p=${PACKAGE-default}
9329    case $enableval in
9330    yes) enable_fast_install=yes ;;
9331    no) enable_fast_install=no ;;
9332    *)
9333      enable_fast_install=no
9334      # Look at the argument we got.  We use all the common list separators.
9335      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9336      for pkg in $enableval; do
9337	IFS=$lt_save_ifs
9338	if test "X$pkg" = "X$p"; then
9339	  enable_fast_install=yes
9340	fi
9341      done
9342      IFS=$lt_save_ifs
9343      ;;
9344    esac
9345else
9346  enable_fast_install=yes
9347fi
9348
9349
9350
9351
9352
9353
9354
9355
9356  shared_archive_member_spec=
9357case $host,$enable_shared in
9358power*-*-aix[5-9]*,yes)
9359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9360$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9361
9362# Check whether --with-aix-soname was given.
9363if test "${with_aix_soname+set}" = set; then :
9364  withval=$with_aix_soname; case $withval in
9365    aix|svr4|both)
9366      ;;
9367    *)
9368      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9369      ;;
9370    esac
9371    lt_cv_with_aix_soname=$with_aix_soname
9372else
9373  if ${lt_cv_with_aix_soname+:} false; then :
9374  $as_echo_n "(cached) " >&6
9375else
9376  lt_cv_with_aix_soname=aix
9377fi
9378
9379    with_aix_soname=$lt_cv_with_aix_soname
9380fi
9381
9382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9383$as_echo "$with_aix_soname" >&6; }
9384  if test aix != "$with_aix_soname"; then
9385    # For the AIX way of multilib, we name the shared archive member
9386    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9387    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9388    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9389    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9390    if test 64 = "${OBJECT_MODE-32}"; then
9391      shared_archive_member_spec=shr_64
9392    else
9393      shared_archive_member_spec=shr
9394    fi
9395  fi
9396  ;;
9397*)
9398  with_aix_soname=aix
9399  ;;
9400esac
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411# This can be used to rebuild libtool when needed
9412LIBTOOL_DEPS=$ltmain
9413
9414# Always use our own libtool.
9415LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446test -z "$LN_S" && LN_S="ln -s"
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461if test -n "${ZSH_VERSION+set}"; then
9462   setopt NO_GLOB_SUBST
9463fi
9464
9465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9466$as_echo_n "checking for objdir... " >&6; }
9467if ${lt_cv_objdir+:} false; then :
9468  $as_echo_n "(cached) " >&6
9469else
9470  rm -f .libs 2>/dev/null
9471mkdir .libs 2>/dev/null
9472if test -d .libs; then
9473  lt_cv_objdir=.libs
9474else
9475  # MS-DOS does not allow filenames that begin with a dot.
9476  lt_cv_objdir=_libs
9477fi
9478rmdir .libs 2>/dev/null
9479fi
9480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9481$as_echo "$lt_cv_objdir" >&6; }
9482objdir=$lt_cv_objdir
9483
9484
9485
9486
9487
9488cat >>confdefs.h <<_ACEOF
9489#define LT_OBJDIR "$lt_cv_objdir/"
9490_ACEOF
9491
9492
9493
9494
9495case $host_os in
9496aix3*)
9497  # AIX sometimes has problems with the GCC collect2 program.  For some
9498  # reason, if we set the COLLECT_NAMES environment variable, the problems
9499  # vanish in a puff of smoke.
9500  if test set != "${COLLECT_NAMES+set}"; then
9501    COLLECT_NAMES=
9502    export COLLECT_NAMES
9503  fi
9504  ;;
9505esac
9506
9507# Global variables:
9508ofile=libtool
9509can_build_shared=yes
9510
9511# All known linkers require a '.a' archive for static linking (except MSVC,
9512# which needs '.lib').
9513libext=a
9514
9515with_gnu_ld=$lt_cv_prog_gnu_ld
9516
9517old_CC=$CC
9518old_CFLAGS=$CFLAGS
9519
9520# Set sane defaults for various variables
9521test -z "$CC" && CC=cc
9522test -z "$LTCC" && LTCC=$CC
9523test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9524test -z "$LD" && LD=ld
9525test -z "$ac_objext" && ac_objext=o
9526
9527func_cc_basename $compiler
9528cc_basename=$func_cc_basename_result
9529
9530
9531# Only perform the check for file, if the check method requires it
9532test -z "$MAGIC_CMD" && MAGIC_CMD=file
9533case $deplibs_check_method in
9534file_magic*)
9535  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9537$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9538if ${lt_cv_path_MAGIC_CMD+:} false; then :
9539  $as_echo_n "(cached) " >&6
9540else
9541  case $MAGIC_CMD in
9542[\\/*] |  ?:[\\/]*)
9543  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9544  ;;
9545*)
9546  lt_save_MAGIC_CMD=$MAGIC_CMD
9547  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9548  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9549  for ac_dir in $ac_dummy; do
9550    IFS=$lt_save_ifs
9551    test -z "$ac_dir" && ac_dir=.
9552    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9553      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9554      if test -n "$file_magic_test_file"; then
9555	case $deplibs_check_method in
9556	"file_magic "*)
9557	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9558	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9559	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9560	    $EGREP "$file_magic_regex" > /dev/null; then
9561	    :
9562	  else
9563	    cat <<_LT_EOF 1>&2
9564
9565*** Warning: the command libtool uses to detect shared libraries,
9566*** $file_magic_cmd, produces output that libtool cannot recognize.
9567*** The result is that libtool may fail to recognize shared libraries
9568*** as such.  This will affect the creation of libtool libraries that
9569*** depend on shared libraries, but programs linked with such libtool
9570*** libraries will work regardless of this problem.  Nevertheless, you
9571*** may want to report the problem to your system manager and/or to
9572*** bug-libtool@gnu.org
9573
9574_LT_EOF
9575	  fi ;;
9576	esac
9577      fi
9578      break
9579    fi
9580  done
9581  IFS=$lt_save_ifs
9582  MAGIC_CMD=$lt_save_MAGIC_CMD
9583  ;;
9584esac
9585fi
9586
9587MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9588if test -n "$MAGIC_CMD"; then
9589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9590$as_echo "$MAGIC_CMD" >&6; }
9591else
9592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9593$as_echo "no" >&6; }
9594fi
9595
9596
9597
9598
9599
9600if test -z "$lt_cv_path_MAGIC_CMD"; then
9601  if test -n "$ac_tool_prefix"; then
9602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9603$as_echo_n "checking for file... " >&6; }
9604if ${lt_cv_path_MAGIC_CMD+:} false; then :
9605  $as_echo_n "(cached) " >&6
9606else
9607  case $MAGIC_CMD in
9608[\\/*] |  ?:[\\/]*)
9609  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9610  ;;
9611*)
9612  lt_save_MAGIC_CMD=$MAGIC_CMD
9613  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9614  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9615  for ac_dir in $ac_dummy; do
9616    IFS=$lt_save_ifs
9617    test -z "$ac_dir" && ac_dir=.
9618    if test -f "$ac_dir/file"; then
9619      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9620      if test -n "$file_magic_test_file"; then
9621	case $deplibs_check_method in
9622	"file_magic "*)
9623	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9624	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9625	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9626	    $EGREP "$file_magic_regex" > /dev/null; then
9627	    :
9628	  else
9629	    cat <<_LT_EOF 1>&2
9630
9631*** Warning: the command libtool uses to detect shared libraries,
9632*** $file_magic_cmd, produces output that libtool cannot recognize.
9633*** The result is that libtool may fail to recognize shared libraries
9634*** as such.  This will affect the creation of libtool libraries that
9635*** depend on shared libraries, but programs linked with such libtool
9636*** libraries will work regardless of this problem.  Nevertheless, you
9637*** may want to report the problem to your system manager and/or to
9638*** bug-libtool@gnu.org
9639
9640_LT_EOF
9641	  fi ;;
9642	esac
9643      fi
9644      break
9645    fi
9646  done
9647  IFS=$lt_save_ifs
9648  MAGIC_CMD=$lt_save_MAGIC_CMD
9649  ;;
9650esac
9651fi
9652
9653MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9654if test -n "$MAGIC_CMD"; then
9655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9656$as_echo "$MAGIC_CMD" >&6; }
9657else
9658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659$as_echo "no" >&6; }
9660fi
9661
9662
9663  else
9664    MAGIC_CMD=:
9665  fi
9666fi
9667
9668  fi
9669  ;;
9670esac
9671
9672# Use C for the default configuration in the libtool script
9673
9674lt_save_CC=$CC
9675ac_ext=c
9676ac_cpp='$CPP $CPPFLAGS'
9677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9679ac_compiler_gnu=$ac_cv_c_compiler_gnu
9680
9681
9682# Source file extension for C test sources.
9683ac_ext=c
9684
9685# Object file extension for compiled C test sources.
9686objext=o
9687objext=$objext
9688
9689# Code to be used in simple compile tests
9690lt_simple_compile_test_code="int some_variable = 0;"
9691
9692# Code to be used in simple link tests
9693lt_simple_link_test_code='int main(){return(0);}'
9694
9695
9696
9697
9698
9699
9700
9701# If no C compiler was specified, use CC.
9702LTCC=${LTCC-"$CC"}
9703
9704# If no C compiler flags were specified, use CFLAGS.
9705LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9706
9707# Allow CC to be a program name with arguments.
9708compiler=$CC
9709
9710# Save the default compiler, since it gets overwritten when the other
9711# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9712compiler_DEFAULT=$CC
9713
9714# save warnings/boilerplate of simple test code
9715ac_outfile=conftest.$ac_objext
9716echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9717eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9718_lt_compiler_boilerplate=`cat conftest.err`
9719$RM conftest*
9720
9721ac_outfile=conftest.$ac_objext
9722echo "$lt_simple_link_test_code" >conftest.$ac_ext
9723eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9724_lt_linker_boilerplate=`cat conftest.err`
9725$RM -r conftest*
9726
9727
9728## CAVEAT EMPTOR:
9729## There is no encapsulation within the following macros, do not change
9730## the running order or otherwise move them around unless you know exactly
9731## what you are doing...
9732if test -n "$compiler"; then
9733
9734lt_prog_compiler_no_builtin_flag=
9735
9736if test yes = "$GCC"; then
9737  case $cc_basename in
9738  nvcc*)
9739    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9740  *)
9741    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9742  esac
9743
9744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9745$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9746if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9747  $as_echo_n "(cached) " >&6
9748else
9749  lt_cv_prog_compiler_rtti_exceptions=no
9750   ac_outfile=conftest.$ac_objext
9751   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9752   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9753   # Insert the option either (1) after the last *FLAGS variable, or
9754   # (2) before a word containing "conftest.", or (3) at the end.
9755   # Note that $ac_compile itself does not contain backslashes and begins
9756   # with a dollar sign (not a hyphen), so the echo should work correctly.
9757   # The option is referenced via a variable to avoid confusing sed.
9758   lt_compile=`echo "$ac_compile" | $SED \
9759   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9760   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9761   -e 's:$: $lt_compiler_flag:'`
9762   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9763   (eval "$lt_compile" 2>conftest.err)
9764   ac_status=$?
9765   cat conftest.err >&5
9766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767   if (exit $ac_status) && test -s "$ac_outfile"; then
9768     # The compiler can only warn and ignore the option if not recognized
9769     # So say no if there are warnings other than the usual output.
9770     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9771     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9773       lt_cv_prog_compiler_rtti_exceptions=yes
9774     fi
9775   fi
9776   $RM conftest*
9777
9778fi
9779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9780$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9781
9782if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9783    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9784else
9785    :
9786fi
9787
9788fi
9789
9790
9791
9792
9793
9794
9795  lt_prog_compiler_wl=
9796lt_prog_compiler_pic=
9797lt_prog_compiler_static=
9798
9799
9800  if test yes = "$GCC"; then
9801    lt_prog_compiler_wl='-Wl,'
9802    lt_prog_compiler_static='-static'
9803
9804    case $host_os in
9805      aix*)
9806      # All AIX code is PIC.
9807      if test ia64 = "$host_cpu"; then
9808	# AIX 5 now supports IA64 processor
9809	lt_prog_compiler_static='-Bstatic'
9810      fi
9811      lt_prog_compiler_pic='-fPIC'
9812      ;;
9813
9814    amigaos*)
9815      case $host_cpu in
9816      powerpc)
9817            # see comment about AmigaOS4 .so support
9818            lt_prog_compiler_pic='-fPIC'
9819        ;;
9820      m68k)
9821            # FIXME: we need at least 68020 code to build shared libraries, but
9822            # adding the '-m68020' flag to GCC prevents building anything better,
9823            # like '-m68040'.
9824            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9825        ;;
9826      esac
9827      ;;
9828
9829    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9830      # PIC is the default for these OSes.
9831      ;;
9832
9833    mingw* | cygwin* | pw32* | os2* | cegcc*)
9834      # This hack is so that the source file can tell whether it is being
9835      # built for inclusion in a dll (and should export symbols for example).
9836      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9837      # (--disable-auto-import) libraries
9838      lt_prog_compiler_pic='-DDLL_EXPORT'
9839      case $host_os in
9840      os2*)
9841	lt_prog_compiler_static='$wl-static'
9842	;;
9843      esac
9844      ;;
9845
9846    darwin* | rhapsody*)
9847      # PIC is the default on this platform
9848      # Common symbols not allowed in MH_DYLIB files
9849      lt_prog_compiler_pic='-fno-common'
9850      ;;
9851
9852    haiku*)
9853      # PIC is the default for Haiku.
9854      # The "-static" flag exists, but is broken.
9855      lt_prog_compiler_static=
9856      ;;
9857
9858    hpux*)
9859      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9860      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9861      # sets the default TLS model and affects inlining.
9862      case $host_cpu in
9863      hppa*64*)
9864	# +Z the default
9865	;;
9866      *)
9867	lt_prog_compiler_pic='-fPIC'
9868	;;
9869      esac
9870      ;;
9871
9872    interix[3-9]*)
9873      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9874      # Instead, we relocate shared libraries at runtime.
9875      ;;
9876
9877    msdosdjgpp*)
9878      # Just because we use GCC doesn't mean we suddenly get shared libraries
9879      # on systems that don't support them.
9880      lt_prog_compiler_can_build_shared=no
9881      enable_shared=no
9882      ;;
9883
9884    *nto* | *qnx*)
9885      # QNX uses GNU C++, but need to define -shared option too, otherwise
9886      # it will coredump.
9887      lt_prog_compiler_pic='-fPIC -shared'
9888      ;;
9889
9890    sysv4*MP*)
9891      if test -d /usr/nec; then
9892	lt_prog_compiler_pic=-Kconform_pic
9893      fi
9894      ;;
9895
9896    *)
9897      lt_prog_compiler_pic='-fPIC'
9898      ;;
9899    esac
9900
9901    case $cc_basename in
9902    nvcc*) # Cuda Compiler Driver 2.2
9903      lt_prog_compiler_wl='-Xlinker '
9904      if test -n "$lt_prog_compiler_pic"; then
9905        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9906      fi
9907      ;;
9908    esac
9909  else
9910    # PORTME Check for flag to pass linker flags through the system compiler.
9911    case $host_os in
9912    aix*)
9913      lt_prog_compiler_wl='-Wl,'
9914      if test ia64 = "$host_cpu"; then
9915	# AIX 5 now supports IA64 processor
9916	lt_prog_compiler_static='-Bstatic'
9917      else
9918	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9919      fi
9920      ;;
9921
9922    darwin* | rhapsody*)
9923      # PIC is the default on this platform
9924      # Common symbols not allowed in MH_DYLIB files
9925      lt_prog_compiler_pic='-fno-common'
9926      case $cc_basename in
9927      nagfor*)
9928        # NAG Fortran compiler
9929        lt_prog_compiler_wl='-Wl,-Wl,,'
9930        lt_prog_compiler_pic='-PIC'
9931        lt_prog_compiler_static='-Bstatic'
9932        ;;
9933      esac
9934      ;;
9935
9936    mingw* | cygwin* | pw32* | os2* | cegcc*)
9937      # This hack is so that the source file can tell whether it is being
9938      # built for inclusion in a dll (and should export symbols for example).
9939      lt_prog_compiler_pic='-DDLL_EXPORT'
9940      case $host_os in
9941      os2*)
9942	lt_prog_compiler_static='$wl-static'
9943	;;
9944      esac
9945      ;;
9946
9947    hpux9* | hpux10* | hpux11*)
9948      lt_prog_compiler_wl='-Wl,'
9949      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9950      # not for PA HP-UX.
9951      case $host_cpu in
9952      hppa*64*|ia64*)
9953	# +Z the default
9954	;;
9955      *)
9956	lt_prog_compiler_pic='+Z'
9957	;;
9958      esac
9959      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9960      lt_prog_compiler_static='$wl-a ${wl}archive'
9961      ;;
9962
9963    irix5* | irix6* | nonstopux*)
9964      lt_prog_compiler_wl='-Wl,'
9965      # PIC (with -KPIC) is the default.
9966      lt_prog_compiler_static='-non_shared'
9967      ;;
9968
9969    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9970      case $cc_basename in
9971      # old Intel for x86_64, which still supported -KPIC.
9972      ecc*)
9973	lt_prog_compiler_wl='-Wl,'
9974	lt_prog_compiler_pic='-KPIC'
9975	lt_prog_compiler_static='-static'
9976        ;;
9977      # icc used to be incompatible with GCC.
9978      # ICC 10 doesn't accept -KPIC any more.
9979      icc* | ifort*)
9980	lt_prog_compiler_wl='-Wl,'
9981	lt_prog_compiler_pic='-fPIC'
9982	lt_prog_compiler_static='-static'
9983        ;;
9984      # Lahey Fortran 8.1.
9985      lf95*)
9986	lt_prog_compiler_wl='-Wl,'
9987	lt_prog_compiler_pic='--shared'
9988	lt_prog_compiler_static='--static'
9989	;;
9990      nagfor*)
9991	# NAG Fortran compiler
9992	lt_prog_compiler_wl='-Wl,-Wl,,'
9993	lt_prog_compiler_pic='-PIC'
9994	lt_prog_compiler_static='-Bstatic'
9995	;;
9996      tcc*)
9997	# Fabrice Bellard et al's Tiny C Compiler
9998	lt_prog_compiler_wl='-Wl,'
9999	lt_prog_compiler_pic='-fPIC'
10000	lt_prog_compiler_static='-static'
10001	;;
10002      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10003        # Portland Group compilers (*not* the Pentium gcc compiler,
10004	# which looks to be a dead project)
10005	lt_prog_compiler_wl='-Wl,'
10006	lt_prog_compiler_pic='-fpic'
10007	lt_prog_compiler_static='-Bstatic'
10008        ;;
10009      ccc*)
10010        lt_prog_compiler_wl='-Wl,'
10011        # All Alpha code is PIC.
10012        lt_prog_compiler_static='-non_shared'
10013        ;;
10014      xl* | bgxl* | bgf* | mpixl*)
10015	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10016	lt_prog_compiler_wl='-Wl,'
10017	lt_prog_compiler_pic='-qpic'
10018	lt_prog_compiler_static='-qstaticlink'
10019	;;
10020      *)
10021	case `$CC -V 2>&1 | sed 5q` in
10022	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10023	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10024	  lt_prog_compiler_pic='-KPIC'
10025	  lt_prog_compiler_static='-Bstatic'
10026	  lt_prog_compiler_wl=''
10027	  ;;
10028	*Sun\ F* | *Sun*Fortran*)
10029	  lt_prog_compiler_pic='-KPIC'
10030	  lt_prog_compiler_static='-Bstatic'
10031	  lt_prog_compiler_wl='-Qoption ld '
10032	  ;;
10033	*Sun\ C*)
10034	  # Sun C 5.9
10035	  lt_prog_compiler_pic='-KPIC'
10036	  lt_prog_compiler_static='-Bstatic'
10037	  lt_prog_compiler_wl='-Wl,'
10038	  ;;
10039        *Intel*\ [CF]*Compiler*)
10040	  lt_prog_compiler_wl='-Wl,'
10041	  lt_prog_compiler_pic='-fPIC'
10042	  lt_prog_compiler_static='-static'
10043	  ;;
10044	*Portland\ Group*)
10045	  lt_prog_compiler_wl='-Wl,'
10046	  lt_prog_compiler_pic='-fpic'
10047	  lt_prog_compiler_static='-Bstatic'
10048	  ;;
10049	esac
10050	;;
10051      esac
10052      ;;
10053
10054    newsos6)
10055      lt_prog_compiler_pic='-KPIC'
10056      lt_prog_compiler_static='-Bstatic'
10057      ;;
10058
10059    *nto* | *qnx*)
10060      # QNX uses GNU C++, but need to define -shared option too, otherwise
10061      # it will coredump.
10062      lt_prog_compiler_pic='-fPIC -shared'
10063      ;;
10064
10065    osf3* | osf4* | osf5*)
10066      lt_prog_compiler_wl='-Wl,'
10067      # All OSF/1 code is PIC.
10068      lt_prog_compiler_static='-non_shared'
10069      ;;
10070
10071    rdos*)
10072      lt_prog_compiler_static='-non_shared'
10073      ;;
10074
10075    solaris*)
10076      lt_prog_compiler_pic='-KPIC'
10077      lt_prog_compiler_static='-Bstatic'
10078      case $cc_basename in
10079      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10080	lt_prog_compiler_wl='-Qoption ld ';;
10081      *)
10082	lt_prog_compiler_wl='-Wl,';;
10083      esac
10084      ;;
10085
10086    sunos4*)
10087      lt_prog_compiler_wl='-Qoption ld '
10088      lt_prog_compiler_pic='-PIC'
10089      lt_prog_compiler_static='-Bstatic'
10090      ;;
10091
10092    sysv4 | sysv4.2uw2* | sysv4.3*)
10093      lt_prog_compiler_wl='-Wl,'
10094      lt_prog_compiler_pic='-KPIC'
10095      lt_prog_compiler_static='-Bstatic'
10096      ;;
10097
10098    sysv4*MP*)
10099      if test -d /usr/nec; then
10100	lt_prog_compiler_pic='-Kconform_pic'
10101	lt_prog_compiler_static='-Bstatic'
10102      fi
10103      ;;
10104
10105    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10106      lt_prog_compiler_wl='-Wl,'
10107      lt_prog_compiler_pic='-KPIC'
10108      lt_prog_compiler_static='-Bstatic'
10109      ;;
10110
10111    unicos*)
10112      lt_prog_compiler_wl='-Wl,'
10113      lt_prog_compiler_can_build_shared=no
10114      ;;
10115
10116    uts4*)
10117      lt_prog_compiler_pic='-pic'
10118      lt_prog_compiler_static='-Bstatic'
10119      ;;
10120
10121    *)
10122      lt_prog_compiler_can_build_shared=no
10123      ;;
10124    esac
10125  fi
10126
10127case $host_os in
10128  # For platforms that do not support PIC, -DPIC is meaningless:
10129  *djgpp*)
10130    lt_prog_compiler_pic=
10131    ;;
10132  *)
10133    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10134    ;;
10135esac
10136
10137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10138$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10139if ${lt_cv_prog_compiler_pic+:} false; then :
10140  $as_echo_n "(cached) " >&6
10141else
10142  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10143fi
10144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10145$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10146lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10147
10148#
10149# Check to make sure the PIC flag actually works.
10150#
10151if test -n "$lt_prog_compiler_pic"; then
10152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10153$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10154if ${lt_cv_prog_compiler_pic_works+:} false; then :
10155  $as_echo_n "(cached) " >&6
10156else
10157  lt_cv_prog_compiler_pic_works=no
10158   ac_outfile=conftest.$ac_objext
10159   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10161   # Insert the option either (1) after the last *FLAGS variable, or
10162   # (2) before a word containing "conftest.", or (3) at the end.
10163   # Note that $ac_compile itself does not contain backslashes and begins
10164   # with a dollar sign (not a hyphen), so the echo should work correctly.
10165   # The option is referenced via a variable to avoid confusing sed.
10166   lt_compile=`echo "$ac_compile" | $SED \
10167   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10168   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10169   -e 's:$: $lt_compiler_flag:'`
10170   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10171   (eval "$lt_compile" 2>conftest.err)
10172   ac_status=$?
10173   cat conftest.err >&5
10174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175   if (exit $ac_status) && test -s "$ac_outfile"; then
10176     # The compiler can only warn and ignore the option if not recognized
10177     # So say no if there are warnings other than the usual output.
10178     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10179     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10180     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10181       lt_cv_prog_compiler_pic_works=yes
10182     fi
10183   fi
10184   $RM conftest*
10185
10186fi
10187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10188$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10189
10190if test yes = "$lt_cv_prog_compiler_pic_works"; then
10191    case $lt_prog_compiler_pic in
10192     "" | " "*) ;;
10193     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10194     esac
10195else
10196    lt_prog_compiler_pic=
10197     lt_prog_compiler_can_build_shared=no
10198fi
10199
10200fi
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212#
10213# Check to make sure the static flag actually works.
10214#
10215wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10217$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10218if ${lt_cv_prog_compiler_static_works+:} false; then :
10219  $as_echo_n "(cached) " >&6
10220else
10221  lt_cv_prog_compiler_static_works=no
10222   save_LDFLAGS=$LDFLAGS
10223   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10224   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10225   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10226     # The linker can only warn and ignore the option if not recognized
10227     # So say no if there are warnings
10228     if test -s conftest.err; then
10229       # Append any errors to the config.log.
10230       cat conftest.err 1>&5
10231       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10232       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10233       if diff conftest.exp conftest.er2 >/dev/null; then
10234         lt_cv_prog_compiler_static_works=yes
10235       fi
10236     else
10237       lt_cv_prog_compiler_static_works=yes
10238     fi
10239   fi
10240   $RM -r conftest*
10241   LDFLAGS=$save_LDFLAGS
10242
10243fi
10244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10245$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10246
10247if test yes = "$lt_cv_prog_compiler_static_works"; then
10248    :
10249else
10250    lt_prog_compiler_static=
10251fi
10252
10253
10254
10255
10256
10257
10258
10259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10260$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10261if ${lt_cv_prog_compiler_c_o+:} false; then :
10262  $as_echo_n "(cached) " >&6
10263else
10264  lt_cv_prog_compiler_c_o=no
10265   $RM -r conftest 2>/dev/null
10266   mkdir conftest
10267   cd conftest
10268   mkdir out
10269   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10270
10271   lt_compiler_flag="-o out/conftest2.$ac_objext"
10272   # Insert the option either (1) after the last *FLAGS variable, or
10273   # (2) before a word containing "conftest.", or (3) at the end.
10274   # Note that $ac_compile itself does not contain backslashes and begins
10275   # with a dollar sign (not a hyphen), so the echo should work correctly.
10276   lt_compile=`echo "$ac_compile" | $SED \
10277   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10278   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10279   -e 's:$: $lt_compiler_flag:'`
10280   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10281   (eval "$lt_compile" 2>out/conftest.err)
10282   ac_status=$?
10283   cat out/conftest.err >&5
10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10286   then
10287     # The compiler can only warn and ignore the option if not recognized
10288     # So say no if there are warnings
10289     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10290     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10291     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10292       lt_cv_prog_compiler_c_o=yes
10293     fi
10294   fi
10295   chmod u+w . 2>&5
10296   $RM conftest*
10297   # SGI C++ compiler will create directory out/ii_files/ for
10298   # template instantiation
10299   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10300   $RM out/* && rmdir out
10301   cd ..
10302   $RM -r conftest
10303   $RM conftest*
10304
10305fi
10306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10307$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10308
10309
10310
10311
10312
10313
10314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10315$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10316if ${lt_cv_prog_compiler_c_o+:} false; then :
10317  $as_echo_n "(cached) " >&6
10318else
10319  lt_cv_prog_compiler_c_o=no
10320   $RM -r conftest 2>/dev/null
10321   mkdir conftest
10322   cd conftest
10323   mkdir out
10324   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10325
10326   lt_compiler_flag="-o out/conftest2.$ac_objext"
10327   # Insert the option either (1) after the last *FLAGS variable, or
10328   # (2) before a word containing "conftest.", or (3) at the end.
10329   # Note that $ac_compile itself does not contain backslashes and begins
10330   # with a dollar sign (not a hyphen), so the echo should work correctly.
10331   lt_compile=`echo "$ac_compile" | $SED \
10332   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10333   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10334   -e 's:$: $lt_compiler_flag:'`
10335   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10336   (eval "$lt_compile" 2>out/conftest.err)
10337   ac_status=$?
10338   cat out/conftest.err >&5
10339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10341   then
10342     # The compiler can only warn and ignore the option if not recognized
10343     # So say no if there are warnings
10344     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10345     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10346     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10347       lt_cv_prog_compiler_c_o=yes
10348     fi
10349   fi
10350   chmod u+w . 2>&5
10351   $RM conftest*
10352   # SGI C++ compiler will create directory out/ii_files/ for
10353   # template instantiation
10354   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10355   $RM out/* && rmdir out
10356   cd ..
10357   $RM -r conftest
10358   $RM conftest*
10359
10360fi
10361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10362$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10363
10364
10365
10366
10367hard_links=nottested
10368if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10369  # do not overwrite the value of need_locks provided by the user
10370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10371$as_echo_n "checking if we can lock with hard links... " >&6; }
10372  hard_links=yes
10373  $RM conftest*
10374  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10375  touch conftest.a
10376  ln conftest.a conftest.b 2>&5 || hard_links=no
10377  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10379$as_echo "$hard_links" >&6; }
10380  if test no = "$hard_links"; then
10381    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10382$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10383    need_locks=warn
10384  fi
10385else
10386  need_locks=no
10387fi
10388
10389
10390
10391
10392
10393
10394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10395$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10396
10397  runpath_var=
10398  allow_undefined_flag=
10399  always_export_symbols=no
10400  archive_cmds=
10401  archive_expsym_cmds=
10402  compiler_needs_object=no
10403  enable_shared_with_static_runtimes=no
10404  export_dynamic_flag_spec=
10405  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10406  hardcode_automatic=no
10407  hardcode_direct=no
10408  hardcode_direct_absolute=no
10409  hardcode_libdir_flag_spec=
10410  hardcode_libdir_separator=
10411  hardcode_minus_L=no
10412  hardcode_shlibpath_var=unsupported
10413  inherit_rpath=no
10414  link_all_deplibs=unknown
10415  module_cmds=
10416  module_expsym_cmds=
10417  old_archive_from_new_cmds=
10418  old_archive_from_expsyms_cmds=
10419  thread_safe_flag_spec=
10420  whole_archive_flag_spec=
10421  # include_expsyms should be a list of space-separated symbols to be *always*
10422  # included in the symbol list
10423  include_expsyms=
10424  # exclude_expsyms can be an extended regexp of symbols to exclude
10425  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10426  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10427  # as well as any symbol that contains 'd'.
10428  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10429  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10430  # platforms (ab)use it in PIC code, but their linkers get confused if
10431  # the symbol is explicitly referenced.  Since portable code cannot
10432  # rely on this symbol name, it's probably fine to never include it in
10433  # preloaded symbol tables.
10434  # Exclude shared library initialization/finalization symbols.
10435  extract_expsyms_cmds=
10436
10437  case $host_os in
10438  cygwin* | mingw* | pw32* | cegcc*)
10439    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10440    # When not using gcc, we currently assume that we are using
10441    # Microsoft Visual C++.
10442    if test yes != "$GCC"; then
10443      with_gnu_ld=no
10444    fi
10445    ;;
10446  interix*)
10447    # we just hope/assume this is gcc and not c89 (= MSVC++)
10448    with_gnu_ld=yes
10449    ;;
10450  openbsd* | bitrig*)
10451    with_gnu_ld=no
10452    ;;
10453  esac
10454
10455  ld_shlibs=yes
10456
10457  # On some targets, GNU ld is compatible enough with the native linker
10458  # that we're better off using the native interface for both.
10459  lt_use_gnu_ld_interface=no
10460  if test yes = "$with_gnu_ld"; then
10461    case $host_os in
10462      aix*)
10463	# The AIX port of GNU ld has always aspired to compatibility
10464	# with the native linker.  However, as the warning in the GNU ld
10465	# block says, versions before 2.19.5* couldn't really create working
10466	# shared libraries, regardless of the interface used.
10467	case `$LD -v 2>&1` in
10468	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10469	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10470	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10471	  *)
10472	    lt_use_gnu_ld_interface=yes
10473	    ;;
10474	esac
10475	;;
10476      *)
10477	lt_use_gnu_ld_interface=yes
10478	;;
10479    esac
10480  fi
10481
10482  if test yes = "$lt_use_gnu_ld_interface"; then
10483    # If archive_cmds runs LD, not CC, wlarc should be empty
10484    wlarc='$wl'
10485
10486    # Set some defaults for GNU ld with shared library support. These
10487    # are reset later if shared libraries are not supported. Putting them
10488    # here allows them to be overridden if necessary.
10489    runpath_var=LD_RUN_PATH
10490    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10491    export_dynamic_flag_spec='$wl--export-dynamic'
10492    # ancient GNU ld didn't support --whole-archive et. al.
10493    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10494      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10495    else
10496      whole_archive_flag_spec=
10497    fi
10498    supports_anon_versioning=no
10499    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10500      *GNU\ gold*) supports_anon_versioning=yes ;;
10501      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10502      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10503      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10504      *\ 2.11.*) ;; # other 2.11 versions
10505      *) supports_anon_versioning=yes ;;
10506    esac
10507
10508    # See if GNU ld supports shared libraries.
10509    case $host_os in
10510    aix[3-9]*)
10511      # On AIX/PPC, the GNU linker is very broken
10512      if test ia64 != "$host_cpu"; then
10513	ld_shlibs=no
10514	cat <<_LT_EOF 1>&2
10515
10516*** Warning: the GNU linker, at least up to release 2.19, is reported
10517*** to be unable to reliably create shared libraries on AIX.
10518*** Therefore, libtool is disabling shared libraries support.  If you
10519*** really care for shared libraries, you may want to install binutils
10520*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10521*** You will then need to restart the configuration process.
10522
10523_LT_EOF
10524      fi
10525      ;;
10526
10527    amigaos*)
10528      case $host_cpu in
10529      powerpc)
10530            # see comment about AmigaOS4 .so support
10531            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10532            archive_expsym_cmds=''
10533        ;;
10534      m68k)
10535            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)'
10536            hardcode_libdir_flag_spec='-L$libdir'
10537            hardcode_minus_L=yes
10538        ;;
10539      esac
10540      ;;
10541
10542    beos*)
10543      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10544	allow_undefined_flag=unsupported
10545	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10546	# support --undefined.  This deserves some investigation.  FIXME
10547	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10548      else
10549	ld_shlibs=no
10550      fi
10551      ;;
10552
10553    cygwin* | mingw* | pw32* | cegcc*)
10554      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10555      # as there is no search path for DLLs.
10556      hardcode_libdir_flag_spec='-L$libdir'
10557      export_dynamic_flag_spec='$wl--export-all-symbols'
10558      allow_undefined_flag=unsupported
10559      always_export_symbols=no
10560      enable_shared_with_static_runtimes=yes
10561      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'
10562      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10563
10564      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10565        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10566	# If the export-symbols file already is a .def file, use it as
10567	# is; otherwise, prepend EXPORTS...
10568	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10569          cp $export_symbols $output_objdir/$soname.def;
10570        else
10571          echo EXPORTS > $output_objdir/$soname.def;
10572          cat $export_symbols >> $output_objdir/$soname.def;
10573        fi~
10574        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10575      else
10576	ld_shlibs=no
10577      fi
10578      ;;
10579
10580    haiku*)
10581      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10582      link_all_deplibs=yes
10583      ;;
10584
10585    os2*)
10586      hardcode_libdir_flag_spec='-L$libdir'
10587      hardcode_minus_L=yes
10588      allow_undefined_flag=unsupported
10589      shrext_cmds=.dll
10590      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10591	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10592	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10593	$ECHO EXPORTS >> $output_objdir/$libname.def~
10594	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10595	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10596	emximp -o $lib $output_objdir/$libname.def'
10597      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10598	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10599	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10600	$ECHO EXPORTS >> $output_objdir/$libname.def~
10601	prefix_cmds="$SED"~
10602	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10603	  prefix_cmds="$prefix_cmds -e 1d";
10604	fi~
10605	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10606	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10607	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10608	emximp -o $lib $output_objdir/$libname.def'
10609      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10610      enable_shared_with_static_runtimes=yes
10611      ;;
10612
10613    interix[3-9]*)
10614      hardcode_direct=no
10615      hardcode_shlibpath_var=no
10616      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10617      export_dynamic_flag_spec='$wl-E'
10618      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10619      # Instead, shared libraries are loaded at an image base (0x10000000 by
10620      # default) and relocated if they conflict, which is a slow very memory
10621      # consuming and fragmenting process.  To avoid this, we pick a random,
10622      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10623      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10624      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10625      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'
10626      ;;
10627
10628    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10629      tmp_diet=no
10630      if test linux-dietlibc = "$host_os"; then
10631	case $cc_basename in
10632	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10633	esac
10634      fi
10635      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10636	 && test no = "$tmp_diet"
10637      then
10638	tmp_addflag=' $pic_flag'
10639	tmp_sharedflag='-shared'
10640	case $cc_basename,$host_cpu in
10641        pgcc*)				# Portland Group C compiler
10642	  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'
10643	  tmp_addflag=' $pic_flag'
10644	  ;;
10645	pgf77* | pgf90* | pgf95* | pgfortran*)
10646					# Portland Group f77 and f90 compilers
10647	  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'
10648	  tmp_addflag=' $pic_flag -Mnomain' ;;
10649	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10650	  tmp_addflag=' -i_dynamic' ;;
10651	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10652	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10653	ifc* | ifort*)			# Intel Fortran compiler
10654	  tmp_addflag=' -nofor_main' ;;
10655	lf95*)				# Lahey Fortran 8.1
10656	  whole_archive_flag_spec=
10657	  tmp_sharedflag='--shared' ;;
10658        nagfor*)                        # NAGFOR 5.3
10659          tmp_sharedflag='-Wl,-shared' ;;
10660	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10661	  tmp_sharedflag='-qmkshrobj'
10662	  tmp_addflag= ;;
10663	nvcc*)	# Cuda Compiler Driver 2.2
10664	  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'
10665	  compiler_needs_object=yes
10666	  ;;
10667	esac
10668	case `$CC -V 2>&1 | sed 5q` in
10669	*Sun\ C*)			# Sun C 5.9
10670	  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'
10671	  compiler_needs_object=yes
10672	  tmp_sharedflag='-G' ;;
10673	*Sun\ F*)			# Sun Fortran 8.3
10674	  tmp_sharedflag='-G' ;;
10675	esac
10676	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10677
10678        if test yes = "$supports_anon_versioning"; then
10679          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10680            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10681            echo "local: *; };" >> $output_objdir/$libname.ver~
10682            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10683        fi
10684
10685	case $cc_basename in
10686	tcc*)
10687	  export_dynamic_flag_spec='-rdynamic'
10688	  ;;
10689	xlf* | bgf* | bgxlf* | mpixlf*)
10690	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10691	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10692	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10693	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10694	  if test yes = "$supports_anon_versioning"; then
10695	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10696              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10697              echo "local: *; };" >> $output_objdir/$libname.ver~
10698              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10699	  fi
10700	  ;;
10701	esac
10702      else
10703        ld_shlibs=no
10704      fi
10705      ;;
10706
10707    netbsd*)
10708      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10709	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10710	wlarc=
10711      else
10712	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10713	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10714      fi
10715      ;;
10716
10717    solaris*)
10718      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10719	ld_shlibs=no
10720	cat <<_LT_EOF 1>&2
10721
10722*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10723*** create shared libraries on Solaris systems.  Therefore, libtool
10724*** is disabling shared libraries support.  We urge you to upgrade GNU
10725*** binutils to release 2.9.1 or newer.  Another option is to modify
10726*** your PATH or compiler configuration so that the native linker is
10727*** used, and then restart.
10728
10729_LT_EOF
10730      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10731	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10732	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10733      else
10734	ld_shlibs=no
10735      fi
10736      ;;
10737
10738    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10739      case `$LD -v 2>&1` in
10740        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10741	ld_shlibs=no
10742	cat <<_LT_EOF 1>&2
10743
10744*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10745*** reliably create shared libraries on SCO systems.  Therefore, libtool
10746*** is disabling shared libraries support.  We urge you to upgrade GNU
10747*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10748*** your PATH or compiler configuration so that the native linker is
10749*** used, and then restart.
10750
10751_LT_EOF
10752	;;
10753	*)
10754	  # For security reasons, it is highly recommended that you always
10755	  # use absolute paths for naming shared libraries, and exclude the
10756	  # DT_RUNPATH tag from executables and libraries.  But doing so
10757	  # requires that you compile everything twice, which is a pain.
10758	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10759	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10760	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10761	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10762	  else
10763	    ld_shlibs=no
10764	  fi
10765	;;
10766      esac
10767      ;;
10768
10769    sunos4*)
10770      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10771      wlarc=
10772      hardcode_direct=yes
10773      hardcode_shlibpath_var=no
10774      ;;
10775
10776    *)
10777      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10778	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10779	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10780      else
10781	ld_shlibs=no
10782      fi
10783      ;;
10784    esac
10785
10786    if test no = "$ld_shlibs"; then
10787      runpath_var=
10788      hardcode_libdir_flag_spec=
10789      export_dynamic_flag_spec=
10790      whole_archive_flag_spec=
10791    fi
10792  else
10793    # PORTME fill in a description of your system's linker (not GNU ld)
10794    case $host_os in
10795    aix3*)
10796      allow_undefined_flag=unsupported
10797      always_export_symbols=yes
10798      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'
10799      # Note: this linker hardcodes the directories in LIBPATH if there
10800      # are no directories specified by -L.
10801      hardcode_minus_L=yes
10802      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10803	# Neither direct hardcoding nor static linking is supported with a
10804	# broken collect2.
10805	hardcode_direct=unsupported
10806      fi
10807      ;;
10808
10809    aix[4-9]*)
10810      if test ia64 = "$host_cpu"; then
10811	# On IA64, the linker does run time linking by default, so we don't
10812	# have to do anything special.
10813	aix_use_runtimelinking=no
10814	exp_sym_flag='-Bexport'
10815	no_entry_flag=
10816      else
10817	# If we're using GNU nm, then we don't want the "-C" option.
10818	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10819	# Without the "-l" option, or with the "-B" option, AIX nm treats
10820	# weak defined symbols like other global defined symbols, whereas
10821	# GNU nm marks them as "W".
10822	# While the 'weak' keyword is ignored in the Export File, we need
10823	# it in the Import File for the 'aix-soname' feature, so we have
10824	# to replace the "-B" option with "-P" for AIX nm.
10825	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10826	  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'
10827	else
10828	  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'
10829	fi
10830	aix_use_runtimelinking=no
10831
10832	# Test if we are trying to use run time linking or normal
10833	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10834	# have runtime linking enabled, and use it for executables.
10835	# For shared libraries, we enable/disable runtime linking
10836	# depending on the kind of the shared library created -
10837	# when "with_aix_soname,aix_use_runtimelinking" is:
10838	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10839	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10840	#            lib.a           static archive
10841	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10842	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10843	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10844	#            lib.a(lib.so.V) shared, rtl:no
10845	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10846	#            lib.a           static archive
10847	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10848	  for ld_flag in $LDFLAGS; do
10849	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10850	    aix_use_runtimelinking=yes
10851	    break
10852	  fi
10853	  done
10854	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10855	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10856	    # so we don't have lib.a shared libs to link our executables.
10857	    # We have to force runtime linking in this case.
10858	    aix_use_runtimelinking=yes
10859	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10860	  fi
10861	  ;;
10862	esac
10863
10864	exp_sym_flag='-bexport'
10865	no_entry_flag='-bnoentry'
10866      fi
10867
10868      # When large executables or shared objects are built, AIX ld can
10869      # have problems creating the table of contents.  If linking a library
10870      # or program results in "error TOC overflow" add -mminimal-toc to
10871      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10872      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10873
10874      archive_cmds=''
10875      hardcode_direct=yes
10876      hardcode_direct_absolute=yes
10877      hardcode_libdir_separator=':'
10878      link_all_deplibs=yes
10879      file_list_spec='$wl-f,'
10880      case $with_aix_soname,$aix_use_runtimelinking in
10881      aix,*) ;; # traditional, no import file
10882      svr4,* | *,yes) # use import file
10883	# The Import File defines what to hardcode.
10884	hardcode_direct=no
10885	hardcode_direct_absolute=no
10886	;;
10887      esac
10888
10889      if test yes = "$GCC"; then
10890	case $host_os in aix4.[012]|aix4.[012].*)
10891	# We only want to do this on AIX 4.2 and lower, the check
10892	# below for broken collect2 doesn't work under 4.3+
10893	  collect2name=`$CC -print-prog-name=collect2`
10894	  if test -f "$collect2name" &&
10895	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10896	  then
10897	  # We have reworked collect2
10898	  :
10899	  else
10900	  # We have old collect2
10901	  hardcode_direct=unsupported
10902	  # It fails to find uninstalled libraries when the uninstalled
10903	  # path is not listed in the libpath.  Setting hardcode_minus_L
10904	  # to unsupported forces relinking
10905	  hardcode_minus_L=yes
10906	  hardcode_libdir_flag_spec='-L$libdir'
10907	  hardcode_libdir_separator=
10908	  fi
10909	  ;;
10910	esac
10911	shared_flag='-shared'
10912	if test yes = "$aix_use_runtimelinking"; then
10913	  shared_flag="$shared_flag "'$wl-G'
10914	fi
10915	# Need to ensure runtime linking is disabled for the traditional
10916	# shared library, or the linker may eventually find shared libraries
10917	# /with/ Import File - we do not want to mix them.
10918	shared_flag_aix='-shared'
10919	shared_flag_svr4='-shared $wl-G'
10920      else
10921	# not using gcc
10922	if test ia64 = "$host_cpu"; then
10923	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10924	# chokes on -Wl,-G. The following line is correct:
10925	  shared_flag='-G'
10926	else
10927	  if test yes = "$aix_use_runtimelinking"; then
10928	    shared_flag='$wl-G'
10929	  else
10930	    shared_flag='$wl-bM:SRE'
10931	  fi
10932	  shared_flag_aix='$wl-bM:SRE'
10933	  shared_flag_svr4='$wl-G'
10934	fi
10935      fi
10936
10937      export_dynamic_flag_spec='$wl-bexpall'
10938      # It seems that -bexpall does not export symbols beginning with
10939      # underscore (_), so it is better to generate a list of symbols to export.
10940      always_export_symbols=yes
10941      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10942	# Warning - without using the other runtime loading flags (-brtl),
10943	# -berok will link without error, but may produce a broken library.
10944	allow_undefined_flag='-berok'
10945        # Determine the default libpath from the value encoded in an
10946        # empty executable.
10947        if test set = "${lt_cv_aix_libpath+set}"; then
10948  aix_libpath=$lt_cv_aix_libpath
10949else
10950  if ${lt_cv_aix_libpath_+:} false; then :
10951  $as_echo_n "(cached) " >&6
10952else
10953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954/* end confdefs.h.  */
10955
10956int
10957main ()
10958{
10959
10960  ;
10961  return 0;
10962}
10963_ACEOF
10964if ac_fn_c_try_link "$LINENO"; then :
10965
10966  lt_aix_libpath_sed='
10967      /Import File Strings/,/^$/ {
10968	  /^0/ {
10969	      s/^0  *\([^ ]*\) *$/\1/
10970	      p
10971	  }
10972      }'
10973  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10974  # Check for a 64-bit object if we didn't find anything.
10975  if test -z "$lt_cv_aix_libpath_"; then
10976    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10977  fi
10978fi
10979rm -f core conftest.err conftest.$ac_objext \
10980    conftest$ac_exeext conftest.$ac_ext
10981  if test -z "$lt_cv_aix_libpath_"; then
10982    lt_cv_aix_libpath_=/usr/lib:/lib
10983  fi
10984
10985fi
10986
10987  aix_libpath=$lt_cv_aix_libpath_
10988fi
10989
10990        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10991        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
10992      else
10993	if test ia64 = "$host_cpu"; then
10994	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10995	  allow_undefined_flag="-z nodefs"
10996	  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"
10997	else
10998	 # Determine the default libpath from the value encoded in an
10999	 # empty executable.
11000	 if test set = "${lt_cv_aix_libpath+set}"; then
11001  aix_libpath=$lt_cv_aix_libpath
11002else
11003  if ${lt_cv_aix_libpath_+:} false; then :
11004  $as_echo_n "(cached) " >&6
11005else
11006  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007/* end confdefs.h.  */
11008
11009int
11010main ()
11011{
11012
11013  ;
11014  return 0;
11015}
11016_ACEOF
11017if ac_fn_c_try_link "$LINENO"; then :
11018
11019  lt_aix_libpath_sed='
11020      /Import File Strings/,/^$/ {
11021	  /^0/ {
11022	      s/^0  *\([^ ]*\) *$/\1/
11023	      p
11024	  }
11025      }'
11026  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11027  # Check for a 64-bit object if we didn't find anything.
11028  if test -z "$lt_cv_aix_libpath_"; then
11029    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11030  fi
11031fi
11032rm -f core conftest.err conftest.$ac_objext \
11033    conftest$ac_exeext conftest.$ac_ext
11034  if test -z "$lt_cv_aix_libpath_"; then
11035    lt_cv_aix_libpath_=/usr/lib:/lib
11036  fi
11037
11038fi
11039
11040  aix_libpath=$lt_cv_aix_libpath_
11041fi
11042
11043	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11044	  # Warning - without using the other run time loading flags,
11045	  # -berok will link without error, but may produce a broken library.
11046	  no_undefined_flag=' $wl-bernotok'
11047	  allow_undefined_flag=' $wl-berok'
11048	  if test yes = "$with_gnu_ld"; then
11049	    # We only use this code for GNU lds that support --whole-archive.
11050	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11051	  else
11052	    # Exported symbols can be pulled into shared objects from archives
11053	    whole_archive_flag_spec='$convenience'
11054	  fi
11055	  archive_cmds_need_lc=yes
11056	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11057	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11058	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11059	  if test svr4 != "$with_aix_soname"; then
11060	    # This is similar to how AIX traditionally builds its shared libraries.
11061	    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'
11062	  fi
11063	  if test aix != "$with_aix_soname"; then
11064	    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'
11065	  else
11066	    # used by -dlpreopen to get the symbols
11067	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11068	  fi
11069	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11070	fi
11071      fi
11072      ;;
11073
11074    amigaos*)
11075      case $host_cpu in
11076      powerpc)
11077            # see comment about AmigaOS4 .so support
11078            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11079            archive_expsym_cmds=''
11080        ;;
11081      m68k)
11082            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)'
11083            hardcode_libdir_flag_spec='-L$libdir'
11084            hardcode_minus_L=yes
11085        ;;
11086      esac
11087      ;;
11088
11089    bsdi[45]*)
11090      export_dynamic_flag_spec=-rdynamic
11091      ;;
11092
11093    cygwin* | mingw* | pw32* | cegcc*)
11094      # When not using gcc, we currently assume that we are using
11095      # Microsoft Visual C++.
11096      # hardcode_libdir_flag_spec is actually meaningless, as there is
11097      # no search path for DLLs.
11098      case $cc_basename in
11099      cl*)
11100	# Native MSVC
11101	hardcode_libdir_flag_spec=' '
11102	allow_undefined_flag=unsupported
11103	always_export_symbols=yes
11104	file_list_spec='@'
11105	# Tell ltmain to make .lib files, not .a files.
11106	libext=lib
11107	# Tell ltmain to make .dll files, not .so files.
11108	shrext_cmds=.dll
11109	# FIXME: Setting linknames here is a bad hack.
11110	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11111	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11112            cp "$export_symbols" "$output_objdir/$soname.def";
11113            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11114          else
11115            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11116          fi~
11117          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11118          linknames='
11119	# The linker will not automatically build a static lib if we build a DLL.
11120	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11121	enable_shared_with_static_runtimes=yes
11122	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11123	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11124	# Don't use ranlib
11125	old_postinstall_cmds='chmod 644 $oldlib'
11126	postlink_cmds='lt_outputfile="@OUTPUT@"~
11127          lt_tool_outputfile="@TOOL_OUTPUT@"~
11128          case $lt_outputfile in
11129            *.exe|*.EXE) ;;
11130            *)
11131              lt_outputfile=$lt_outputfile.exe
11132              lt_tool_outputfile=$lt_tool_outputfile.exe
11133              ;;
11134          esac~
11135          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11136            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11137            $RM "$lt_outputfile.manifest";
11138          fi'
11139	;;
11140      *)
11141	# Assume MSVC wrapper
11142	hardcode_libdir_flag_spec=' '
11143	allow_undefined_flag=unsupported
11144	# Tell ltmain to make .lib files, not .a files.
11145	libext=lib
11146	# Tell ltmain to make .dll files, not .so files.
11147	shrext_cmds=.dll
11148	# FIXME: Setting linknames here is a bad hack.
11149	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11150	# The linker will automatically build a .lib file if we build a DLL.
11151	old_archive_from_new_cmds='true'
11152	# FIXME: Should let the user specify the lib program.
11153	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11154	enable_shared_with_static_runtimes=yes
11155	;;
11156      esac
11157      ;;
11158
11159    darwin* | rhapsody*)
11160
11161
11162  archive_cmds_need_lc=no
11163  hardcode_direct=no
11164  hardcode_automatic=yes
11165  hardcode_shlibpath_var=unsupported
11166  if test yes = "$lt_cv_ld_force_load"; then
11167    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\"`'
11168
11169  else
11170    whole_archive_flag_spec=''
11171  fi
11172  link_all_deplibs=yes
11173  allow_undefined_flag=$_lt_dar_allow_undefined
11174  case $cc_basename in
11175     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11176     *) _lt_dar_can_shared=$GCC ;;
11177  esac
11178  if test yes = "$_lt_dar_can_shared"; then
11179    output_verbose_link_cmd=func_echo_all
11180    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11181    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11182    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"
11183    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"
11184
11185  else
11186  ld_shlibs=no
11187  fi
11188
11189      ;;
11190
11191    dgux*)
11192      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11193      hardcode_libdir_flag_spec='-L$libdir'
11194      hardcode_shlibpath_var=no
11195      ;;
11196
11197    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11198    # support.  Future versions do this automatically, but an explicit c++rt0.o
11199    # does not break anything, and helps significantly (at the cost of a little
11200    # extra space).
11201    freebsd2.2*)
11202      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11203      hardcode_libdir_flag_spec='-R$libdir'
11204      hardcode_direct=yes
11205      hardcode_shlibpath_var=no
11206      ;;
11207
11208    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11209    freebsd2.*)
11210      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11211      hardcode_direct=yes
11212      hardcode_minus_L=yes
11213      hardcode_shlibpath_var=no
11214      ;;
11215
11216    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11217    freebsd* | dragonfly*)
11218      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11219      hardcode_libdir_flag_spec='-R$libdir'
11220      hardcode_direct=yes
11221      hardcode_shlibpath_var=no
11222      ;;
11223
11224    hpux9*)
11225      if test yes = "$GCC"; then
11226	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'
11227      else
11228	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'
11229      fi
11230      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11231      hardcode_libdir_separator=:
11232      hardcode_direct=yes
11233
11234      # hardcode_minus_L: Not really in the search PATH,
11235      # but as the default location of the library.
11236      hardcode_minus_L=yes
11237      export_dynamic_flag_spec='$wl-E'
11238      ;;
11239
11240    hpux10*)
11241      if test yes,no = "$GCC,$with_gnu_ld"; then
11242	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11243      else
11244	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11245      fi
11246      if test no = "$with_gnu_ld"; then
11247	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11248	hardcode_libdir_separator=:
11249	hardcode_direct=yes
11250	hardcode_direct_absolute=yes
11251	export_dynamic_flag_spec='$wl-E'
11252	# hardcode_minus_L: Not really in the search PATH,
11253	# but as the default location of the library.
11254	hardcode_minus_L=yes
11255      fi
11256      ;;
11257
11258    hpux11*)
11259      if test yes,no = "$GCC,$with_gnu_ld"; then
11260	case $host_cpu in
11261	hppa*64*)
11262	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11263	  ;;
11264	ia64*)
11265	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11266	  ;;
11267	*)
11268	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11269	  ;;
11270	esac
11271      else
11272	case $host_cpu in
11273	hppa*64*)
11274	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11275	  ;;
11276	ia64*)
11277	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11278	  ;;
11279	*)
11280
11281	  # Older versions of the 11.00 compiler do not understand -b yet
11282	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11283	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11284$as_echo_n "checking if $CC understands -b... " >&6; }
11285if ${lt_cv_prog_compiler__b+:} false; then :
11286  $as_echo_n "(cached) " >&6
11287else
11288  lt_cv_prog_compiler__b=no
11289   save_LDFLAGS=$LDFLAGS
11290   LDFLAGS="$LDFLAGS -b"
11291   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11292   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11293     # The linker can only warn and ignore the option if not recognized
11294     # So say no if there are warnings
11295     if test -s conftest.err; then
11296       # Append any errors to the config.log.
11297       cat conftest.err 1>&5
11298       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11299       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11300       if diff conftest.exp conftest.er2 >/dev/null; then
11301         lt_cv_prog_compiler__b=yes
11302       fi
11303     else
11304       lt_cv_prog_compiler__b=yes
11305     fi
11306   fi
11307   $RM -r conftest*
11308   LDFLAGS=$save_LDFLAGS
11309
11310fi
11311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11312$as_echo "$lt_cv_prog_compiler__b" >&6; }
11313
11314if test yes = "$lt_cv_prog_compiler__b"; then
11315    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11316else
11317    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11318fi
11319
11320	  ;;
11321	esac
11322      fi
11323      if test no = "$with_gnu_ld"; then
11324	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11325	hardcode_libdir_separator=:
11326
11327	case $host_cpu in
11328	hppa*64*|ia64*)
11329	  hardcode_direct=no
11330	  hardcode_shlibpath_var=no
11331	  ;;
11332	*)
11333	  hardcode_direct=yes
11334	  hardcode_direct_absolute=yes
11335	  export_dynamic_flag_spec='$wl-E'
11336
11337	  # hardcode_minus_L: Not really in the search PATH,
11338	  # but as the default location of the library.
11339	  hardcode_minus_L=yes
11340	  ;;
11341	esac
11342      fi
11343      ;;
11344
11345    irix5* | irix6* | nonstopux*)
11346      if test yes = "$GCC"; then
11347	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'
11348	# Try to use the -exported_symbol ld option, if it does not
11349	# work, assume that -exports_file does not work either and
11350	# implicitly export all symbols.
11351	# This should be the same for all languages, so no per-tag cache variable.
11352	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11353$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11354if ${lt_cv_irix_exported_symbol+:} false; then :
11355  $as_echo_n "(cached) " >&6
11356else
11357  save_LDFLAGS=$LDFLAGS
11358	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11359	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360/* end confdefs.h.  */
11361int foo (void) { return 0; }
11362_ACEOF
11363if ac_fn_c_try_link "$LINENO"; then :
11364  lt_cv_irix_exported_symbol=yes
11365else
11366  lt_cv_irix_exported_symbol=no
11367fi
11368rm -f core conftest.err conftest.$ac_objext \
11369    conftest$ac_exeext conftest.$ac_ext
11370           LDFLAGS=$save_LDFLAGS
11371fi
11372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11373$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11374	if test yes = "$lt_cv_irix_exported_symbol"; then
11375          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'
11376	fi
11377      else
11378	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'
11379	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'
11380      fi
11381      archive_cmds_need_lc='no'
11382      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11383      hardcode_libdir_separator=:
11384      inherit_rpath=yes
11385      link_all_deplibs=yes
11386      ;;
11387
11388    linux*)
11389      case $cc_basename in
11390      tcc*)
11391	# Fabrice Bellard et al's Tiny C Compiler
11392	ld_shlibs=yes
11393	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11394	;;
11395      esac
11396      ;;
11397
11398    netbsd*)
11399      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11400	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11401      else
11402	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11403      fi
11404      hardcode_libdir_flag_spec='-R$libdir'
11405      hardcode_direct=yes
11406      hardcode_shlibpath_var=no
11407      ;;
11408
11409    newsos6)
11410      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11411      hardcode_direct=yes
11412      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11413      hardcode_libdir_separator=:
11414      hardcode_shlibpath_var=no
11415      ;;
11416
11417    *nto* | *qnx*)
11418      ;;
11419
11420    openbsd* | bitrig*)
11421      if test -f /usr/libexec/ld.so; then
11422	hardcode_direct=yes
11423	hardcode_shlibpath_var=no
11424	hardcode_direct_absolute=yes
11425	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11426	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11427	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11428	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11429	  export_dynamic_flag_spec='$wl-E'
11430	else
11431	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11432	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11433	fi
11434      else
11435	ld_shlibs=no
11436      fi
11437      ;;
11438
11439    os2*)
11440      hardcode_libdir_flag_spec='-L$libdir'
11441      hardcode_minus_L=yes
11442      allow_undefined_flag=unsupported
11443      shrext_cmds=.dll
11444      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11445	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11446	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11447	$ECHO EXPORTS >> $output_objdir/$libname.def~
11448	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11449	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11450	emximp -o $lib $output_objdir/$libname.def'
11451      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11452	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11453	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11454	$ECHO EXPORTS >> $output_objdir/$libname.def~
11455	prefix_cmds="$SED"~
11456	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11457	  prefix_cmds="$prefix_cmds -e 1d";
11458	fi~
11459	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11460	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11461	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11462	emximp -o $lib $output_objdir/$libname.def'
11463      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11464      enable_shared_with_static_runtimes=yes
11465      ;;
11466
11467    osf3*)
11468      if test yes = "$GCC"; then
11469	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11470	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'
11471      else
11472	allow_undefined_flag=' -expect_unresolved \*'
11473	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'
11474      fi
11475      archive_cmds_need_lc='no'
11476      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11477      hardcode_libdir_separator=:
11478      ;;
11479
11480    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11481      if test yes = "$GCC"; then
11482	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11483	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'
11484	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11485      else
11486	allow_undefined_flag=' -expect_unresolved \*'
11487	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'
11488	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~
11489          $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'
11490
11491	# Both c and cxx compiler support -rpath directly
11492	hardcode_libdir_flag_spec='-rpath $libdir'
11493      fi
11494      archive_cmds_need_lc='no'
11495      hardcode_libdir_separator=:
11496      ;;
11497
11498    solaris*)
11499      no_undefined_flag=' -z defs'
11500      if test yes = "$GCC"; then
11501	wlarc='$wl'
11502	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11503	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11504          $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'
11505      else
11506	case `$CC -V 2>&1` in
11507	*"Compilers 5.0"*)
11508	  wlarc=''
11509	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11510	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11511            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11512	  ;;
11513	*)
11514	  wlarc='$wl'
11515	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11516	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11517            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11518	  ;;
11519	esac
11520      fi
11521      hardcode_libdir_flag_spec='-R$libdir'
11522      hardcode_shlibpath_var=no
11523      case $host_os in
11524      solaris2.[0-5] | solaris2.[0-5].*) ;;
11525      *)
11526	# The compiler driver will combine and reorder linker options,
11527	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11528	# but is careful enough not to reorder.
11529	# Supported since Solaris 2.6 (maybe 2.5.1?)
11530	if test yes = "$GCC"; then
11531	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11532	else
11533	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11534	fi
11535	;;
11536      esac
11537      link_all_deplibs=yes
11538      ;;
11539
11540    sunos4*)
11541      if test sequent = "$host_vendor"; then
11542	# Use $CC to link under sequent, because it throws in some extra .o
11543	# files that make .init and .fini sections work.
11544	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11545      else
11546	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11547      fi
11548      hardcode_libdir_flag_spec='-L$libdir'
11549      hardcode_direct=yes
11550      hardcode_minus_L=yes
11551      hardcode_shlibpath_var=no
11552      ;;
11553
11554    sysv4)
11555      case $host_vendor in
11556	sni)
11557	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11558	  hardcode_direct=yes # is this really true???
11559	;;
11560	siemens)
11561	  ## LD is ld it makes a PLAMLIB
11562	  ## CC just makes a GrossModule.
11563	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11564	  reload_cmds='$CC -r -o $output$reload_objs'
11565	  hardcode_direct=no
11566        ;;
11567	motorola)
11568	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11569	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11570	;;
11571      esac
11572      runpath_var='LD_RUN_PATH'
11573      hardcode_shlibpath_var=no
11574      ;;
11575
11576    sysv4.3*)
11577      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11578      hardcode_shlibpath_var=no
11579      export_dynamic_flag_spec='-Bexport'
11580      ;;
11581
11582    sysv4*MP*)
11583      if test -d /usr/nec; then
11584	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11585	hardcode_shlibpath_var=no
11586	runpath_var=LD_RUN_PATH
11587	hardcode_runpath_var=yes
11588	ld_shlibs=yes
11589      fi
11590      ;;
11591
11592    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11593      no_undefined_flag='$wl-z,text'
11594      archive_cmds_need_lc=no
11595      hardcode_shlibpath_var=no
11596      runpath_var='LD_RUN_PATH'
11597
11598      if test yes = "$GCC"; then
11599	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11600	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11601      else
11602	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11603	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11604      fi
11605      ;;
11606
11607    sysv5* | sco3.2v5* | sco5v6*)
11608      # Note: We CANNOT use -z defs as we might desire, because we do not
11609      # link with -lc, and that would cause any symbols used from libc to
11610      # always be unresolved, which means just about no library would
11611      # ever link correctly.  If we're not using GNU ld we use -z text
11612      # though, which does catch some bad symbols but isn't as heavy-handed
11613      # as -z defs.
11614      no_undefined_flag='$wl-z,text'
11615      allow_undefined_flag='$wl-z,nodefs'
11616      archive_cmds_need_lc=no
11617      hardcode_shlibpath_var=no
11618      hardcode_libdir_flag_spec='$wl-R,$libdir'
11619      hardcode_libdir_separator=':'
11620      link_all_deplibs=yes
11621      export_dynamic_flag_spec='$wl-Bexport'
11622      runpath_var='LD_RUN_PATH'
11623
11624      if test yes = "$GCC"; then
11625	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11626	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11627      else
11628	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11629	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11630      fi
11631      ;;
11632
11633    uts4*)
11634      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11635      hardcode_libdir_flag_spec='-L$libdir'
11636      hardcode_shlibpath_var=no
11637      ;;
11638
11639    *)
11640      ld_shlibs=no
11641      ;;
11642    esac
11643
11644    if test sni = "$host_vendor"; then
11645      case $host in
11646      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11647	export_dynamic_flag_spec='$wl-Blargedynsym'
11648	;;
11649      esac
11650    fi
11651  fi
11652
11653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11654$as_echo "$ld_shlibs" >&6; }
11655test no = "$ld_shlibs" && can_build_shared=no
11656
11657with_gnu_ld=$with_gnu_ld
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673#
11674# Do we need to explicitly link libc?
11675#
11676case "x$archive_cmds_need_lc" in
11677x|xyes)
11678  # Assume -lc should be added
11679  archive_cmds_need_lc=yes
11680
11681  if test yes,yes = "$GCC,$enable_shared"; then
11682    case $archive_cmds in
11683    *'~'*)
11684      # FIXME: we may have to deal with multi-command sequences.
11685      ;;
11686    '$CC '*)
11687      # Test whether the compiler implicitly links with -lc since on some
11688      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11689      # to ld, don't add -lc before -lgcc.
11690      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11691$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11692if ${lt_cv_archive_cmds_need_lc+:} false; then :
11693  $as_echo_n "(cached) " >&6
11694else
11695  $RM conftest*
11696	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11697
11698	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11699  (eval $ac_compile) 2>&5
11700  ac_status=$?
11701  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11702  test $ac_status = 0; } 2>conftest.err; then
11703	  soname=conftest
11704	  lib=conftest
11705	  libobjs=conftest.$ac_objext
11706	  deplibs=
11707	  wl=$lt_prog_compiler_wl
11708	  pic_flag=$lt_prog_compiler_pic
11709	  compiler_flags=-v
11710	  linker_flags=-v
11711	  verstring=
11712	  output_objdir=.
11713	  libname=conftest
11714	  lt_save_allow_undefined_flag=$allow_undefined_flag
11715	  allow_undefined_flag=
11716	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11717  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11718  ac_status=$?
11719  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11720  test $ac_status = 0; }
11721	  then
11722	    lt_cv_archive_cmds_need_lc=no
11723	  else
11724	    lt_cv_archive_cmds_need_lc=yes
11725	  fi
11726	  allow_undefined_flag=$lt_save_allow_undefined_flag
11727	else
11728	  cat conftest.err 1>&5
11729	fi
11730	$RM conftest*
11731
11732fi
11733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11734$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11735      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11736      ;;
11737    esac
11738  fi
11739  ;;
11740esac
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11894$as_echo_n "checking dynamic linker characteristics... " >&6; }
11895
11896if test yes = "$GCC"; then
11897  case $host_os in
11898    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11899    *) lt_awk_arg='/^libraries:/' ;;
11900  esac
11901  case $host_os in
11902    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11903    *) lt_sed_strip_eq='s|=/|/|g' ;;
11904  esac
11905  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11906  case $lt_search_path_spec in
11907  *\;*)
11908    # if the path contains ";" then we assume it to be the separator
11909    # otherwise default to the standard path separator (i.e. ":") - it is
11910    # assumed that no part of a normal pathname contains ";" but that should
11911    # okay in the real world where ";" in dirpaths is itself problematic.
11912    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11913    ;;
11914  *)
11915    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11916    ;;
11917  esac
11918  # Ok, now we have the path, separated by spaces, we can step through it
11919  # and add multilib dir if necessary...
11920  lt_tmp_lt_search_path_spec=
11921  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11922  # ...but if some path component already ends with the multilib dir we assume
11923  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11924  case "$lt_multi_os_dir; $lt_search_path_spec " in
11925  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11926    lt_multi_os_dir=
11927    ;;
11928  esac
11929  for lt_sys_path in $lt_search_path_spec; do
11930    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11931      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11932    elif test -n "$lt_multi_os_dir"; then
11933      test -d "$lt_sys_path" && \
11934	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11935    fi
11936  done
11937  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11938BEGIN {RS = " "; FS = "/|\n";} {
11939  lt_foo = "";
11940  lt_count = 0;
11941  for (lt_i = NF; lt_i > 0; lt_i--) {
11942    if ($lt_i != "" && $lt_i != ".") {
11943      if ($lt_i == "..") {
11944        lt_count++;
11945      } else {
11946        if (lt_count == 0) {
11947          lt_foo = "/" $lt_i lt_foo;
11948        } else {
11949          lt_count--;
11950        }
11951      }
11952    }
11953  }
11954  if (lt_foo != "") { lt_freq[lt_foo]++; }
11955  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11956}'`
11957  # AWK program above erroneously prepends '/' to C:/dos/paths
11958  # for these hosts.
11959  case $host_os in
11960    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11961      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11962  esac
11963  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11964else
11965  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11966fi
11967library_names_spec=
11968libname_spec='lib$name'
11969soname_spec=
11970shrext_cmds=.so
11971postinstall_cmds=
11972postuninstall_cmds=
11973finish_cmds=
11974finish_eval=
11975shlibpath_var=
11976shlibpath_overrides_runpath=unknown
11977version_type=none
11978dynamic_linker="$host_os ld.so"
11979sys_lib_dlsearch_path_spec="/lib /usr/lib"
11980need_lib_prefix=unknown
11981hardcode_into_libs=no
11982
11983# when you set need_version to no, make sure it does not cause -set_version
11984# flags to be left without arguments
11985need_version=unknown
11986
11987
11988
11989case $host_os in
11990aix3*)
11991  version_type=linux # correct to gnu/linux during the next big refactor
11992  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11993  shlibpath_var=LIBPATH
11994
11995  # AIX 3 has no versioning support, so we append a major version to the name.
11996  soname_spec='$libname$release$shared_ext$major'
11997  ;;
11998
11999aix[4-9]*)
12000  version_type=linux # correct to gnu/linux during the next big refactor
12001  need_lib_prefix=no
12002  need_version=no
12003  hardcode_into_libs=yes
12004  if test ia64 = "$host_cpu"; then
12005    # AIX 5 supports IA64
12006    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12007    shlibpath_var=LD_LIBRARY_PATH
12008  else
12009    # With GCC up to 2.95.x, collect2 would create an import file
12010    # for dependence libraries.  The import file would start with
12011    # the line '#! .'.  This would cause the generated library to
12012    # depend on '.', always an invalid library.  This was fixed in
12013    # development snapshots of GCC prior to 3.0.
12014    case $host_os in
12015      aix4 | aix4.[01] | aix4.[01].*)
12016      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12017	   echo ' yes '
12018	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12019	:
12020      else
12021	can_build_shared=no
12022      fi
12023      ;;
12024    esac
12025    # Using Import Files as archive members, it is possible to support
12026    # filename-based versioning of shared library archives on AIX. While
12027    # this would work for both with and without runtime linking, it will
12028    # prevent static linking of such archives. So we do filename-based
12029    # shared library versioning with .so extension only, which is used
12030    # when both runtime linking and shared linking is enabled.
12031    # Unfortunately, runtime linking may impact performance, so we do
12032    # not want this to be the default eventually. Also, we use the
12033    # versioned .so libs for executables only if there is the -brtl
12034    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12035    # To allow for filename-based versioning support, we need to create
12036    # libNAME.so.V as an archive file, containing:
12037    # *) an Import File, referring to the versioned filename of the
12038    #    archive as well as the shared archive member, telling the
12039    #    bitwidth (32 or 64) of that shared object, and providing the
12040    #    list of exported symbols of that shared object, eventually
12041    #    decorated with the 'weak' keyword
12042    # *) the shared object with the F_LOADONLY flag set, to really avoid
12043    #    it being seen by the linker.
12044    # At run time we better use the real file rather than another symlink,
12045    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12046
12047    case $with_aix_soname,$aix_use_runtimelinking in
12048    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12049    # soname into executable. Probably we can add versioning support to
12050    # collect2, so additional links can be useful in future.
12051    aix,yes) # traditional libtool
12052      dynamic_linker='AIX unversionable lib.so'
12053      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12054      # instead of lib<name>.a to let people know that these are not
12055      # typical AIX shared libraries.
12056      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12057      ;;
12058    aix,no) # traditional AIX only
12059      dynamic_linker='AIX lib.a(lib.so.V)'
12060      # We preserve .a as extension for shared libraries through AIX4.2
12061      # and later when we are not doing run time linking.
12062      library_names_spec='$libname$release.a $libname.a'
12063      soname_spec='$libname$release$shared_ext$major'
12064      ;;
12065    svr4,*) # full svr4 only
12066      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12067      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12068      # We do not specify a path in Import Files, so LIBPATH fires.
12069      shlibpath_overrides_runpath=yes
12070      ;;
12071    *,yes) # both, prefer svr4
12072      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12073      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12074      # unpreferred sharedlib libNAME.a needs extra handling
12075      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"'
12076      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"'
12077      # We do not specify a path in Import Files, so LIBPATH fires.
12078      shlibpath_overrides_runpath=yes
12079      ;;
12080    *,no) # both, prefer aix
12081      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12082      library_names_spec='$libname$release.a $libname.a'
12083      soname_spec='$libname$release$shared_ext$major'
12084      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12085      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)'
12086      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"'
12087      ;;
12088    esac
12089    shlibpath_var=LIBPATH
12090  fi
12091  ;;
12092
12093amigaos*)
12094  case $host_cpu in
12095  powerpc)
12096    # Since July 2007 AmigaOS4 officially supports .so libraries.
12097    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12098    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12099    ;;
12100  m68k)
12101    library_names_spec='$libname.ixlibrary $libname.a'
12102    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12103    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'
12104    ;;
12105  esac
12106  ;;
12107
12108beos*)
12109  library_names_spec='$libname$shared_ext'
12110  dynamic_linker="$host_os ld.so"
12111  shlibpath_var=LIBRARY_PATH
12112  ;;
12113
12114bsdi[45]*)
12115  version_type=linux # correct to gnu/linux during the next big refactor
12116  need_version=no
12117  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12118  soname_spec='$libname$release$shared_ext$major'
12119  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12120  shlibpath_var=LD_LIBRARY_PATH
12121  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12122  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12123  # the default ld.so.conf also contains /usr/contrib/lib and
12124  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12125  # libtool to hard-code these into programs
12126  ;;
12127
12128cygwin* | mingw* | pw32* | cegcc*)
12129  version_type=windows
12130  shrext_cmds=.dll
12131  need_version=no
12132  need_lib_prefix=no
12133
12134  case $GCC,$cc_basename in
12135  yes,*)
12136    # gcc
12137    library_names_spec='$libname.dll.a'
12138    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12139    postinstall_cmds='base_file=`basename \$file`~
12140      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12141      dldir=$destdir/`dirname \$dlpath`~
12142      test -d \$dldir || mkdir -p \$dldir~
12143      $install_prog $dir/$dlname \$dldir/$dlname~
12144      chmod a+x \$dldir/$dlname~
12145      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12146        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12147      fi'
12148    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12149      dlpath=$dir/\$dldll~
12150       $RM \$dlpath'
12151    shlibpath_overrides_runpath=yes
12152
12153    case $host_os in
12154    cygwin*)
12155      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12156      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12157
12158      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12159      ;;
12160    mingw* | cegcc*)
12161      # MinGW DLLs use traditional 'lib' prefix
12162      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12163      ;;
12164    pw32*)
12165      # pw32 DLLs use 'pw' prefix rather than 'lib'
12166      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12167      ;;
12168    esac
12169    dynamic_linker='Win32 ld.exe'
12170    ;;
12171
12172  *,cl*)
12173    # Native MSVC
12174    libname_spec='$name'
12175    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12176    library_names_spec='$libname.dll.lib'
12177
12178    case $build_os in
12179    mingw*)
12180      sys_lib_search_path_spec=
12181      lt_save_ifs=$IFS
12182      IFS=';'
12183      for lt_path in $LIB
12184      do
12185        IFS=$lt_save_ifs
12186        # Let DOS variable expansion print the short 8.3 style file name.
12187        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12188        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12189      done
12190      IFS=$lt_save_ifs
12191      # Convert to MSYS style.
12192      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12193      ;;
12194    cygwin*)
12195      # Convert to unix form, then to dos form, then back to unix form
12196      # but this time dos style (no spaces!) so that the unix form looks
12197      # like /cygdrive/c/PROGRA~1:/cygdr...
12198      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12199      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12200      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12201      ;;
12202    *)
12203      sys_lib_search_path_spec=$LIB
12204      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12205        # It is most probably a Windows format PATH.
12206        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12207      else
12208        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12209      fi
12210      # FIXME: find the short name or the path components, as spaces are
12211      # common. (e.g. "Program Files" -> "PROGRA~1")
12212      ;;
12213    esac
12214
12215    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12216    postinstall_cmds='base_file=`basename \$file`~
12217      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12218      dldir=$destdir/`dirname \$dlpath`~
12219      test -d \$dldir || mkdir -p \$dldir~
12220      $install_prog $dir/$dlname \$dldir/$dlname'
12221    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12222      dlpath=$dir/\$dldll~
12223       $RM \$dlpath'
12224    shlibpath_overrides_runpath=yes
12225    dynamic_linker='Win32 link.exe'
12226    ;;
12227
12228  *)
12229    # Assume MSVC wrapper
12230    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12231    dynamic_linker='Win32 ld.exe'
12232    ;;
12233  esac
12234  # FIXME: first we should search . and the directory the executable is in
12235  shlibpath_var=PATH
12236  ;;
12237
12238darwin* | rhapsody*)
12239  dynamic_linker="$host_os dyld"
12240  version_type=darwin
12241  need_lib_prefix=no
12242  need_version=no
12243  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12244  soname_spec='$libname$release$major$shared_ext'
12245  shlibpath_overrides_runpath=yes
12246  shlibpath_var=DYLD_LIBRARY_PATH
12247  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12248
12249  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12250  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12251  ;;
12252
12253dgux*)
12254  version_type=linux # correct to gnu/linux during the next big refactor
12255  need_lib_prefix=no
12256  need_version=no
12257  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12258  soname_spec='$libname$release$shared_ext$major'
12259  shlibpath_var=LD_LIBRARY_PATH
12260  ;;
12261
12262freebsd* | dragonfly*)
12263  # DragonFly does not have aout.  When/if they implement a new
12264  # versioning mechanism, adjust this.
12265  if test -x /usr/bin/objformat; then
12266    objformat=`/usr/bin/objformat`
12267  else
12268    case $host_os in
12269    freebsd[23].*) objformat=aout ;;
12270    *) objformat=elf ;;
12271    esac
12272  fi
12273  version_type=freebsd-$objformat
12274  case $version_type in
12275    freebsd-elf*)
12276      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12277      soname_spec='$libname$release$shared_ext$major'
12278      need_version=no
12279      need_lib_prefix=no
12280      ;;
12281    freebsd-*)
12282      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12283      need_version=yes
12284      ;;
12285  esac
12286  shlibpath_var=LD_LIBRARY_PATH
12287  case $host_os in
12288  freebsd2.*)
12289    shlibpath_overrides_runpath=yes
12290    ;;
12291  freebsd3.[01]* | freebsdelf3.[01]*)
12292    shlibpath_overrides_runpath=yes
12293    hardcode_into_libs=yes
12294    ;;
12295  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12296  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12297    shlibpath_overrides_runpath=no
12298    hardcode_into_libs=yes
12299    ;;
12300  *) # from 4.6 on, and DragonFly
12301    shlibpath_overrides_runpath=yes
12302    hardcode_into_libs=yes
12303    ;;
12304  esac
12305  ;;
12306
12307haiku*)
12308  version_type=linux # correct to gnu/linux during the next big refactor
12309  need_lib_prefix=no
12310  need_version=no
12311  dynamic_linker="$host_os runtime_loader"
12312  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12313  soname_spec='$libname$release$shared_ext$major'
12314  shlibpath_var=LIBRARY_PATH
12315  shlibpath_overrides_runpath=no
12316  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12317  hardcode_into_libs=yes
12318  ;;
12319
12320hpux9* | hpux10* | hpux11*)
12321  # Give a soname corresponding to the major version so that dld.sl refuses to
12322  # link against other versions.
12323  version_type=sunos
12324  need_lib_prefix=no
12325  need_version=no
12326  case $host_cpu in
12327  ia64*)
12328    shrext_cmds='.so'
12329    hardcode_into_libs=yes
12330    dynamic_linker="$host_os dld.so"
12331    shlibpath_var=LD_LIBRARY_PATH
12332    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12333    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12334    soname_spec='$libname$release$shared_ext$major'
12335    if test 32 = "$HPUX_IA64_MODE"; then
12336      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12337      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12338    else
12339      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12340      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12341    fi
12342    ;;
12343  hppa*64*)
12344    shrext_cmds='.sl'
12345    hardcode_into_libs=yes
12346    dynamic_linker="$host_os dld.sl"
12347    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12348    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12349    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12350    soname_spec='$libname$release$shared_ext$major'
12351    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12352    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12353    ;;
12354  *)
12355    shrext_cmds='.sl'
12356    dynamic_linker="$host_os dld.sl"
12357    shlibpath_var=SHLIB_PATH
12358    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12359    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12360    soname_spec='$libname$release$shared_ext$major'
12361    ;;
12362  esac
12363  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12364  postinstall_cmds='chmod 555 $lib'
12365  # or fails outright, so override atomically:
12366  install_override_mode=555
12367  ;;
12368
12369interix[3-9]*)
12370  version_type=linux # correct to gnu/linux during the next big refactor
12371  need_lib_prefix=no
12372  need_version=no
12373  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12374  soname_spec='$libname$release$shared_ext$major'
12375  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12376  shlibpath_var=LD_LIBRARY_PATH
12377  shlibpath_overrides_runpath=no
12378  hardcode_into_libs=yes
12379  ;;
12380
12381irix5* | irix6* | nonstopux*)
12382  case $host_os in
12383    nonstopux*) version_type=nonstopux ;;
12384    *)
12385	if test yes = "$lt_cv_prog_gnu_ld"; then
12386		version_type=linux # correct to gnu/linux during the next big refactor
12387	else
12388		version_type=irix
12389	fi ;;
12390  esac
12391  need_lib_prefix=no
12392  need_version=no
12393  soname_spec='$libname$release$shared_ext$major'
12394  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12395  case $host_os in
12396  irix5* | nonstopux*)
12397    libsuff= shlibsuff=
12398    ;;
12399  *)
12400    case $LD in # libtool.m4 will add one of these switches to LD
12401    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12402      libsuff= shlibsuff= libmagic=32-bit;;
12403    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12404      libsuff=32 shlibsuff=N32 libmagic=N32;;
12405    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12406      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12407    *) libsuff= shlibsuff= libmagic=never-match;;
12408    esac
12409    ;;
12410  esac
12411  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12412  shlibpath_overrides_runpath=no
12413  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12414  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12415  hardcode_into_libs=yes
12416  ;;
12417
12418# No shared lib support for Linux oldld, aout, or coff.
12419linux*oldld* | linux*aout* | linux*coff*)
12420  dynamic_linker=no
12421  ;;
12422
12423linux*android*)
12424  version_type=none # Android doesn't support versioned libraries.
12425  need_lib_prefix=no
12426  need_version=no
12427  library_names_spec='$libname$release$shared_ext'
12428  soname_spec='$libname$release$shared_ext'
12429  finish_cmds=
12430  shlibpath_var=LD_LIBRARY_PATH
12431  shlibpath_overrides_runpath=yes
12432
12433  # This implies no fast_install, which is unacceptable.
12434  # Some rework will be needed to allow for fast_install
12435  # before this can be enabled.
12436  hardcode_into_libs=yes
12437
12438  dynamic_linker='Android linker'
12439  # Don't embed -rpath directories since the linker doesn't support them.
12440  hardcode_libdir_flag_spec='-L$libdir'
12441  ;;
12442
12443# This must be glibc/ELF.
12444linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12445  version_type=linux # correct to gnu/linux during the next big refactor
12446  need_lib_prefix=no
12447  need_version=no
12448  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12449  soname_spec='$libname$release$shared_ext$major'
12450  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12451  shlibpath_var=LD_LIBRARY_PATH
12452  shlibpath_overrides_runpath=no
12453
12454  # Some binutils ld are patched to set DT_RUNPATH
12455  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12456  $as_echo_n "(cached) " >&6
12457else
12458  lt_cv_shlibpath_overrides_runpath=no
12459    save_LDFLAGS=$LDFLAGS
12460    save_libdir=$libdir
12461    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12462	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12463    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464/* end confdefs.h.  */
12465
12466int
12467main ()
12468{
12469
12470  ;
12471  return 0;
12472}
12473_ACEOF
12474if ac_fn_c_try_link "$LINENO"; then :
12475  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12476  lt_cv_shlibpath_overrides_runpath=yes
12477fi
12478fi
12479rm -f core conftest.err conftest.$ac_objext \
12480    conftest$ac_exeext conftest.$ac_ext
12481    LDFLAGS=$save_LDFLAGS
12482    libdir=$save_libdir
12483
12484fi
12485
12486  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12487
12488  # This implies no fast_install, which is unacceptable.
12489  # Some rework will be needed to allow for fast_install
12490  # before this can be enabled.
12491  hardcode_into_libs=yes
12492
12493  # Add ABI-specific directories to the system library path.
12494  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12495
12496  # Ideally, we could use ldconfig to report *all* directores which are
12497  # searched for libraries, however this is still not possible.  Aside from not
12498  # being certain /sbin/ldconfig is available, command
12499  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12500  # even though it is searched at run-time.  Try to do the best guess by
12501  # appending ld.so.conf contents (and includes) to the search path.
12502  if test -f /etc/ld.so.conf; then
12503    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' ' '`
12504    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12505  fi
12506
12507  # We used to test for /lib/ld.so.1 and disable shared libraries on
12508  # powerpc, because MkLinux only supported shared libraries with the
12509  # GNU dynamic linker.  Since this was broken with cross compilers,
12510  # most powerpc-linux boxes support dynamic linking these days and
12511  # people can always --disable-shared, the test was removed, and we
12512  # assume the GNU/Linux dynamic linker is in use.
12513  dynamic_linker='GNU/Linux ld.so'
12514  ;;
12515
12516netbsd*)
12517  version_type=sunos
12518  need_lib_prefix=no
12519  need_version=no
12520  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12521    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12522    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12523    dynamic_linker='NetBSD (a.out) ld.so'
12524  else
12525    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12526    soname_spec='$libname$release$shared_ext$major'
12527    dynamic_linker='NetBSD ld.elf_so'
12528  fi
12529  shlibpath_var=LD_LIBRARY_PATH
12530  shlibpath_overrides_runpath=yes
12531  hardcode_into_libs=yes
12532  ;;
12533
12534newsos6)
12535  version_type=linux # correct to gnu/linux during the next big refactor
12536  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12537  shlibpath_var=LD_LIBRARY_PATH
12538  shlibpath_overrides_runpath=yes
12539  ;;
12540
12541*nto* | *qnx*)
12542  version_type=qnx
12543  need_lib_prefix=no
12544  need_version=no
12545  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12546  soname_spec='$libname$release$shared_ext$major'
12547  shlibpath_var=LD_LIBRARY_PATH
12548  shlibpath_overrides_runpath=no
12549  hardcode_into_libs=yes
12550  dynamic_linker='ldqnx.so'
12551  ;;
12552
12553openbsd* | bitrig*)
12554  version_type=sunos
12555  sys_lib_dlsearch_path_spec=/usr/lib
12556  need_lib_prefix=no
12557  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12558    need_version=no
12559  else
12560    need_version=yes
12561  fi
12562  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12563  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12564  shlibpath_var=LD_LIBRARY_PATH
12565  shlibpath_overrides_runpath=yes
12566  ;;
12567
12568os2*)
12569  libname_spec='$name'
12570  version_type=windows
12571  shrext_cmds=.dll
12572  need_version=no
12573  need_lib_prefix=no
12574  # OS/2 can only load a DLL with a base name of 8 characters or less.
12575  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12576    v=$($ECHO $release$versuffix | tr -d .-);
12577    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12578    $ECHO $n$v`$shared_ext'
12579  library_names_spec='${libname}_dll.$libext'
12580  dynamic_linker='OS/2 ld.exe'
12581  shlibpath_var=BEGINLIBPATH
12582  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12583  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12584  postinstall_cmds='base_file=`basename \$file`~
12585    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12586    dldir=$destdir/`dirname \$dlpath`~
12587    test -d \$dldir || mkdir -p \$dldir~
12588    $install_prog $dir/$dlname \$dldir/$dlname~
12589    chmod a+x \$dldir/$dlname~
12590    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12591      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12592    fi'
12593  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12594    dlpath=$dir/\$dldll~
12595    $RM \$dlpath'
12596  ;;
12597
12598osf3* | osf4* | osf5*)
12599  version_type=osf
12600  need_lib_prefix=no
12601  need_version=no
12602  soname_spec='$libname$release$shared_ext$major'
12603  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12604  shlibpath_var=LD_LIBRARY_PATH
12605  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12606  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12607  ;;
12608
12609rdos*)
12610  dynamic_linker=no
12611  ;;
12612
12613solaris*)
12614  version_type=linux # correct to gnu/linux during the next big refactor
12615  need_lib_prefix=no
12616  need_version=no
12617  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12618  soname_spec='$libname$release$shared_ext$major'
12619  shlibpath_var=LD_LIBRARY_PATH
12620  shlibpath_overrides_runpath=yes
12621  hardcode_into_libs=yes
12622  # ldd complains unless libraries are executable
12623  postinstall_cmds='chmod +x $lib'
12624  ;;
12625
12626sunos4*)
12627  version_type=sunos
12628  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12629  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12630  shlibpath_var=LD_LIBRARY_PATH
12631  shlibpath_overrides_runpath=yes
12632  if test yes = "$with_gnu_ld"; then
12633    need_lib_prefix=no
12634  fi
12635  need_version=yes
12636  ;;
12637
12638sysv4 | sysv4.3*)
12639  version_type=linux # correct to gnu/linux during the next big refactor
12640  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12641  soname_spec='$libname$release$shared_ext$major'
12642  shlibpath_var=LD_LIBRARY_PATH
12643  case $host_vendor in
12644    sni)
12645      shlibpath_overrides_runpath=no
12646      need_lib_prefix=no
12647      runpath_var=LD_RUN_PATH
12648      ;;
12649    siemens)
12650      need_lib_prefix=no
12651      ;;
12652    motorola)
12653      need_lib_prefix=no
12654      need_version=no
12655      shlibpath_overrides_runpath=no
12656      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12657      ;;
12658  esac
12659  ;;
12660
12661sysv4*MP*)
12662  if test -d /usr/nec; then
12663    version_type=linux # correct to gnu/linux during the next big refactor
12664    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12665    soname_spec='$libname$shared_ext.$major'
12666    shlibpath_var=LD_LIBRARY_PATH
12667  fi
12668  ;;
12669
12670sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12671  version_type=sco
12672  need_lib_prefix=no
12673  need_version=no
12674  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12675  soname_spec='$libname$release$shared_ext$major'
12676  shlibpath_var=LD_LIBRARY_PATH
12677  shlibpath_overrides_runpath=yes
12678  hardcode_into_libs=yes
12679  if test yes = "$with_gnu_ld"; then
12680    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12681  else
12682    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12683    case $host_os in
12684      sco3.2v5*)
12685        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12686	;;
12687    esac
12688  fi
12689  sys_lib_dlsearch_path_spec='/usr/lib'
12690  ;;
12691
12692tpf*)
12693  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12694  version_type=linux # correct to gnu/linux during the next big refactor
12695  need_lib_prefix=no
12696  need_version=no
12697  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12698  shlibpath_var=LD_LIBRARY_PATH
12699  shlibpath_overrides_runpath=no
12700  hardcode_into_libs=yes
12701  ;;
12702
12703uts4*)
12704  version_type=linux # correct to gnu/linux during the next big refactor
12705  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12706  soname_spec='$libname$release$shared_ext$major'
12707  shlibpath_var=LD_LIBRARY_PATH
12708  ;;
12709
12710*)
12711  dynamic_linker=no
12712  ;;
12713esac
12714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12715$as_echo "$dynamic_linker" >&6; }
12716test no = "$dynamic_linker" && can_build_shared=no
12717
12718variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12719if test yes = "$GCC"; then
12720  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12721fi
12722
12723if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12724  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12725fi
12726
12727if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12728  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12729fi
12730
12731# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12732configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12733
12734# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12735func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12736
12737# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12738configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12837$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12838hardcode_action=
12839if test -n "$hardcode_libdir_flag_spec" ||
12840   test -n "$runpath_var" ||
12841   test yes = "$hardcode_automatic"; then
12842
12843  # We can hardcode non-existent directories.
12844  if test no != "$hardcode_direct" &&
12845     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12846     # have to relink, otherwise we might link with an installed library
12847     # when we should be linking with a yet-to-be-installed one
12848     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12849     test no != "$hardcode_minus_L"; then
12850    # Linking always hardcodes the temporary library directory.
12851    hardcode_action=relink
12852  else
12853    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12854    hardcode_action=immediate
12855  fi
12856else
12857  # We cannot hardcode anything, or else we can only hardcode existing
12858  # directories.
12859  hardcode_action=unsupported
12860fi
12861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12862$as_echo "$hardcode_action" >&6; }
12863
12864if test relink = "$hardcode_action" ||
12865   test yes = "$inherit_rpath"; then
12866  # Fast installation is not supported
12867  enable_fast_install=no
12868elif test yes = "$shlibpath_overrides_runpath" ||
12869     test no = "$enable_shared"; then
12870  # Fast installation is not necessary
12871  enable_fast_install=needless
12872fi
12873
12874
12875
12876
12877
12878
12879  if test yes != "$enable_dlopen"; then
12880  enable_dlopen=unknown
12881  enable_dlopen_self=unknown
12882  enable_dlopen_self_static=unknown
12883else
12884  lt_cv_dlopen=no
12885  lt_cv_dlopen_libs=
12886
12887  case $host_os in
12888  beos*)
12889    lt_cv_dlopen=load_add_on
12890    lt_cv_dlopen_libs=
12891    lt_cv_dlopen_self=yes
12892    ;;
12893
12894  mingw* | pw32* | cegcc*)
12895    lt_cv_dlopen=LoadLibrary
12896    lt_cv_dlopen_libs=
12897    ;;
12898
12899  cygwin*)
12900    lt_cv_dlopen=dlopen
12901    lt_cv_dlopen_libs=
12902    ;;
12903
12904  darwin*)
12905    # if libdl is installed we need to link against it
12906    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12907$as_echo_n "checking for dlopen in -ldl... " >&6; }
12908if ${ac_cv_lib_dl_dlopen+:} false; then :
12909  $as_echo_n "(cached) " >&6
12910else
12911  ac_check_lib_save_LIBS=$LIBS
12912LIBS="-ldl  $LIBS"
12913cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914/* end confdefs.h.  */
12915
12916/* Override any GCC internal prototype to avoid an error.
12917   Use char because int might match the return type of a GCC
12918   builtin and then its argument prototype would still apply.  */
12919#ifdef __cplusplus
12920extern "C"
12921#endif
12922char dlopen ();
12923int
12924main ()
12925{
12926return dlopen ();
12927  ;
12928  return 0;
12929}
12930_ACEOF
12931if ac_fn_c_try_link "$LINENO"; then :
12932  ac_cv_lib_dl_dlopen=yes
12933else
12934  ac_cv_lib_dl_dlopen=no
12935fi
12936rm -f core conftest.err conftest.$ac_objext \
12937    conftest$ac_exeext conftest.$ac_ext
12938LIBS=$ac_check_lib_save_LIBS
12939fi
12940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12941$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12942if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12943  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12944else
12945
12946    lt_cv_dlopen=dyld
12947    lt_cv_dlopen_libs=
12948    lt_cv_dlopen_self=yes
12949
12950fi
12951
12952    ;;
12953
12954  tpf*)
12955    # Don't try to run any link tests for TPF.  We know it's impossible
12956    # because TPF is a cross-compiler, and we know how we open DSOs.
12957    lt_cv_dlopen=dlopen
12958    lt_cv_dlopen_libs=
12959    lt_cv_dlopen_self=no
12960    ;;
12961
12962  *)
12963    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12964if test "x$ac_cv_func_shl_load" = xyes; then :
12965  lt_cv_dlopen=shl_load
12966else
12967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12968$as_echo_n "checking for shl_load in -ldld... " >&6; }
12969if ${ac_cv_lib_dld_shl_load+:} false; then :
12970  $as_echo_n "(cached) " >&6
12971else
12972  ac_check_lib_save_LIBS=$LIBS
12973LIBS="-ldld  $LIBS"
12974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975/* end confdefs.h.  */
12976
12977/* Override any GCC internal prototype to avoid an error.
12978   Use char because int might match the return type of a GCC
12979   builtin and then its argument prototype would still apply.  */
12980#ifdef __cplusplus
12981extern "C"
12982#endif
12983char shl_load ();
12984int
12985main ()
12986{
12987return shl_load ();
12988  ;
12989  return 0;
12990}
12991_ACEOF
12992if ac_fn_c_try_link "$LINENO"; then :
12993  ac_cv_lib_dld_shl_load=yes
12994else
12995  ac_cv_lib_dld_shl_load=no
12996fi
12997rm -f core conftest.err conftest.$ac_objext \
12998    conftest$ac_exeext conftest.$ac_ext
12999LIBS=$ac_check_lib_save_LIBS
13000fi
13001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13002$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13003if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13004  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13005else
13006  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13007if test "x$ac_cv_func_dlopen" = xyes; then :
13008  lt_cv_dlopen=dlopen
13009else
13010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13011$as_echo_n "checking for dlopen in -ldl... " >&6; }
13012if ${ac_cv_lib_dl_dlopen+:} false; then :
13013  $as_echo_n "(cached) " >&6
13014else
13015  ac_check_lib_save_LIBS=$LIBS
13016LIBS="-ldl  $LIBS"
13017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018/* end confdefs.h.  */
13019
13020/* Override any GCC internal prototype to avoid an error.
13021   Use char because int might match the return type of a GCC
13022   builtin and then its argument prototype would still apply.  */
13023#ifdef __cplusplus
13024extern "C"
13025#endif
13026char dlopen ();
13027int
13028main ()
13029{
13030return dlopen ();
13031  ;
13032  return 0;
13033}
13034_ACEOF
13035if ac_fn_c_try_link "$LINENO"; then :
13036  ac_cv_lib_dl_dlopen=yes
13037else
13038  ac_cv_lib_dl_dlopen=no
13039fi
13040rm -f core conftest.err conftest.$ac_objext \
13041    conftest$ac_exeext conftest.$ac_ext
13042LIBS=$ac_check_lib_save_LIBS
13043fi
13044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13045$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13046if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13047  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13048else
13049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13050$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13051if ${ac_cv_lib_svld_dlopen+:} false; then :
13052  $as_echo_n "(cached) " >&6
13053else
13054  ac_check_lib_save_LIBS=$LIBS
13055LIBS="-lsvld  $LIBS"
13056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057/* end confdefs.h.  */
13058
13059/* Override any GCC internal prototype to avoid an error.
13060   Use char because int might match the return type of a GCC
13061   builtin and then its argument prototype would still apply.  */
13062#ifdef __cplusplus
13063extern "C"
13064#endif
13065char dlopen ();
13066int
13067main ()
13068{
13069return dlopen ();
13070  ;
13071  return 0;
13072}
13073_ACEOF
13074if ac_fn_c_try_link "$LINENO"; then :
13075  ac_cv_lib_svld_dlopen=yes
13076else
13077  ac_cv_lib_svld_dlopen=no
13078fi
13079rm -f core conftest.err conftest.$ac_objext \
13080    conftest$ac_exeext conftest.$ac_ext
13081LIBS=$ac_check_lib_save_LIBS
13082fi
13083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13084$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13085if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13086  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13087else
13088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13089$as_echo_n "checking for dld_link in -ldld... " >&6; }
13090if ${ac_cv_lib_dld_dld_link+:} false; then :
13091  $as_echo_n "(cached) " >&6
13092else
13093  ac_check_lib_save_LIBS=$LIBS
13094LIBS="-ldld  $LIBS"
13095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13096/* end confdefs.h.  */
13097
13098/* Override any GCC internal prototype to avoid an error.
13099   Use char because int might match the return type of a GCC
13100   builtin and then its argument prototype would still apply.  */
13101#ifdef __cplusplus
13102extern "C"
13103#endif
13104char dld_link ();
13105int
13106main ()
13107{
13108return dld_link ();
13109  ;
13110  return 0;
13111}
13112_ACEOF
13113if ac_fn_c_try_link "$LINENO"; then :
13114  ac_cv_lib_dld_dld_link=yes
13115else
13116  ac_cv_lib_dld_dld_link=no
13117fi
13118rm -f core conftest.err conftest.$ac_objext \
13119    conftest$ac_exeext conftest.$ac_ext
13120LIBS=$ac_check_lib_save_LIBS
13121fi
13122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13123$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13124if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13125  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13126fi
13127
13128
13129fi
13130
13131
13132fi
13133
13134
13135fi
13136
13137
13138fi
13139
13140
13141fi
13142
13143    ;;
13144  esac
13145
13146  if test no = "$lt_cv_dlopen"; then
13147    enable_dlopen=no
13148  else
13149    enable_dlopen=yes
13150  fi
13151
13152  case $lt_cv_dlopen in
13153  dlopen)
13154    save_CPPFLAGS=$CPPFLAGS
13155    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13156
13157    save_LDFLAGS=$LDFLAGS
13158    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13159
13160    save_LIBS=$LIBS
13161    LIBS="$lt_cv_dlopen_libs $LIBS"
13162
13163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13164$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13165if ${lt_cv_dlopen_self+:} false; then :
13166  $as_echo_n "(cached) " >&6
13167else
13168  	  if test yes = "$cross_compiling"; then :
13169  lt_cv_dlopen_self=cross
13170else
13171  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13172  lt_status=$lt_dlunknown
13173  cat > conftest.$ac_ext <<_LT_EOF
13174#line $LINENO "configure"
13175#include "confdefs.h"
13176
13177#if HAVE_DLFCN_H
13178#include <dlfcn.h>
13179#endif
13180
13181#include <stdio.h>
13182
13183#ifdef RTLD_GLOBAL
13184#  define LT_DLGLOBAL		RTLD_GLOBAL
13185#else
13186#  ifdef DL_GLOBAL
13187#    define LT_DLGLOBAL		DL_GLOBAL
13188#  else
13189#    define LT_DLGLOBAL		0
13190#  endif
13191#endif
13192
13193/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13194   find out it does not work in some platform. */
13195#ifndef LT_DLLAZY_OR_NOW
13196#  ifdef RTLD_LAZY
13197#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13198#  else
13199#    ifdef DL_LAZY
13200#      define LT_DLLAZY_OR_NOW		DL_LAZY
13201#    else
13202#      ifdef RTLD_NOW
13203#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13204#      else
13205#        ifdef DL_NOW
13206#          define LT_DLLAZY_OR_NOW	DL_NOW
13207#        else
13208#          define LT_DLLAZY_OR_NOW	0
13209#        endif
13210#      endif
13211#    endif
13212#  endif
13213#endif
13214
13215/* When -fvisibility=hidden is used, assume the code has been annotated
13216   correspondingly for the symbols needed.  */
13217#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13218int fnord () __attribute__((visibility("default")));
13219#endif
13220
13221int fnord () { return 42; }
13222int main ()
13223{
13224  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13225  int status = $lt_dlunknown;
13226
13227  if (self)
13228    {
13229      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13230      else
13231        {
13232	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13233          else puts (dlerror ());
13234	}
13235      /* dlclose (self); */
13236    }
13237  else
13238    puts (dlerror ());
13239
13240  return status;
13241}
13242_LT_EOF
13243  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13244  (eval $ac_link) 2>&5
13245  ac_status=$?
13246  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13248    (./conftest; exit; ) >&5 2>/dev/null
13249    lt_status=$?
13250    case x$lt_status in
13251      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13252      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13253      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13254    esac
13255  else :
13256    # compilation failed
13257    lt_cv_dlopen_self=no
13258  fi
13259fi
13260rm -fr conftest*
13261
13262
13263fi
13264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13265$as_echo "$lt_cv_dlopen_self" >&6; }
13266
13267    if test yes = "$lt_cv_dlopen_self"; then
13268      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13269      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13270$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13271if ${lt_cv_dlopen_self_static+:} false; then :
13272  $as_echo_n "(cached) " >&6
13273else
13274  	  if test yes = "$cross_compiling"; then :
13275  lt_cv_dlopen_self_static=cross
13276else
13277  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13278  lt_status=$lt_dlunknown
13279  cat > conftest.$ac_ext <<_LT_EOF
13280#line $LINENO "configure"
13281#include "confdefs.h"
13282
13283#if HAVE_DLFCN_H
13284#include <dlfcn.h>
13285#endif
13286
13287#include <stdio.h>
13288
13289#ifdef RTLD_GLOBAL
13290#  define LT_DLGLOBAL		RTLD_GLOBAL
13291#else
13292#  ifdef DL_GLOBAL
13293#    define LT_DLGLOBAL		DL_GLOBAL
13294#  else
13295#    define LT_DLGLOBAL		0
13296#  endif
13297#endif
13298
13299/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13300   find out it does not work in some platform. */
13301#ifndef LT_DLLAZY_OR_NOW
13302#  ifdef RTLD_LAZY
13303#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13304#  else
13305#    ifdef DL_LAZY
13306#      define LT_DLLAZY_OR_NOW		DL_LAZY
13307#    else
13308#      ifdef RTLD_NOW
13309#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13310#      else
13311#        ifdef DL_NOW
13312#          define LT_DLLAZY_OR_NOW	DL_NOW
13313#        else
13314#          define LT_DLLAZY_OR_NOW	0
13315#        endif
13316#      endif
13317#    endif
13318#  endif
13319#endif
13320
13321/* When -fvisibility=hidden is used, assume the code has been annotated
13322   correspondingly for the symbols needed.  */
13323#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13324int fnord () __attribute__((visibility("default")));
13325#endif
13326
13327int fnord () { return 42; }
13328int main ()
13329{
13330  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13331  int status = $lt_dlunknown;
13332
13333  if (self)
13334    {
13335      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13336      else
13337        {
13338	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13339          else puts (dlerror ());
13340	}
13341      /* dlclose (self); */
13342    }
13343  else
13344    puts (dlerror ());
13345
13346  return status;
13347}
13348_LT_EOF
13349  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13350  (eval $ac_link) 2>&5
13351  ac_status=$?
13352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13353  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13354    (./conftest; exit; ) >&5 2>/dev/null
13355    lt_status=$?
13356    case x$lt_status in
13357      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13358      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13359      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13360    esac
13361  else :
13362    # compilation failed
13363    lt_cv_dlopen_self_static=no
13364  fi
13365fi
13366rm -fr conftest*
13367
13368
13369fi
13370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13371$as_echo "$lt_cv_dlopen_self_static" >&6; }
13372    fi
13373
13374    CPPFLAGS=$save_CPPFLAGS
13375    LDFLAGS=$save_LDFLAGS
13376    LIBS=$save_LIBS
13377    ;;
13378  esac
13379
13380  case $lt_cv_dlopen_self in
13381  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13382  *) enable_dlopen_self=unknown ;;
13383  esac
13384
13385  case $lt_cv_dlopen_self_static in
13386  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13387  *) enable_dlopen_self_static=unknown ;;
13388  esac
13389fi
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407striplib=
13408old_striplib=
13409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13410$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13411if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13412  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13413  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13415$as_echo "yes" >&6; }
13416else
13417# FIXME - insert some real tests, host_os isn't really good enough
13418  case $host_os in
13419  darwin*)
13420    if test -n "$STRIP"; then
13421      striplib="$STRIP -x"
13422      old_striplib="$STRIP -S"
13423      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13424$as_echo "yes" >&6; }
13425    else
13426      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427$as_echo "no" >&6; }
13428    fi
13429    ;;
13430  *)
13431    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432$as_echo "no" >&6; }
13433    ;;
13434  esac
13435fi
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448  # Report what library types will actually be built
13449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13450$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13452$as_echo "$can_build_shared" >&6; }
13453
13454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13455$as_echo_n "checking whether to build shared libraries... " >&6; }
13456  test no = "$can_build_shared" && enable_shared=no
13457
13458  # On AIX, shared libraries and static libraries use the same namespace, and
13459  # are all built from PIC.
13460  case $host_os in
13461  aix3*)
13462    test yes = "$enable_shared" && enable_static=no
13463    if test -n "$RANLIB"; then
13464      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13465      postinstall_cmds='$RANLIB $lib'
13466    fi
13467    ;;
13468
13469  aix[4-9]*)
13470    if test ia64 != "$host_cpu"; then
13471      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13472      yes,aix,yes) ;;			# shared object as lib.so file only
13473      yes,svr4,*) ;;			# shared object as lib.so archive member only
13474      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13475      esac
13476    fi
13477    ;;
13478  esac
13479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13480$as_echo "$enable_shared" >&6; }
13481
13482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13483$as_echo_n "checking whether to build static libraries... " >&6; }
13484  # Make sure either enable_shared or enable_static is yes.
13485  test yes = "$enable_shared" || enable_static=yes
13486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13487$as_echo "$enable_static" >&6; }
13488
13489
13490
13491
13492fi
13493ac_ext=c
13494ac_cpp='$CPP $CPPFLAGS'
13495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497ac_compiler_gnu=$ac_cv_c_compiler_gnu
13498
13499CC=$lt_save_CC
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515        ac_config_commands="$ac_config_commands libtool"
13516
13517
13518
13519
13520# Only expand once:
13521
13522
13523# By default we simply use the C compiler to build assembly code.
13524
13525test "${CCAS+set}" = set || CCAS=$CC
13526test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
13527
13528
13529
13530depcc="$CCAS"   am_compiler_list=
13531
13532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13533$as_echo_n "checking dependency style of $depcc... " >&6; }
13534if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
13535  $as_echo_n "(cached) " >&6
13536else
13537  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13538  # We make a subdir and do the tests there.  Otherwise we can end up
13539  # making bogus files that we don't know about and never remove.  For
13540  # instance it was reported that on HP-UX the gcc test will end up
13541  # making a dummy file named 'D' -- because '-MD' means "put the output
13542  # in D".
13543  rm -rf conftest.dir
13544  mkdir conftest.dir
13545  # Copy depcomp to subdir because otherwise we won't find it if we're
13546  # using a relative directory.
13547  cp "$am_depcomp" conftest.dir
13548  cd conftest.dir
13549  # We will build objects and dependencies in a subdirectory because
13550  # it helps to detect inapplicable dependency modes.  For instance
13551  # both Tru64's cc and ICC support -MD to output dependencies as a
13552  # side effect of compilation, but ICC will put the dependencies in
13553  # the current directory while Tru64 will put them in the object
13554  # directory.
13555  mkdir sub
13556
13557  am_cv_CCAS_dependencies_compiler_type=none
13558  if test "$am_compiler_list" = ""; then
13559     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13560  fi
13561  am__universal=false
13562
13563
13564  for depmode in $am_compiler_list; do
13565    # Setup a source with many dependencies, because some compilers
13566    # like to wrap large dependency lists on column 80 (with \), and
13567    # we should not choose a depcomp mode which is confused by this.
13568    #
13569    # We need to recreate these files for each test, as the compiler may
13570    # overwrite some of them when testing with obscure command lines.
13571    # This happens at least with the AIX C compiler.
13572    : > sub/conftest.c
13573    for i in 1 2 3 4 5 6; do
13574      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13575      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13576      # Solaris 10 /bin/sh.
13577      echo '/* dummy */' > sub/conftst$i.h
13578    done
13579    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13580
13581    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13582    # mode.  It turns out that the SunPro C++ compiler does not properly
13583    # handle '-M -o', and we need to detect this.  Also, some Intel
13584    # versions had trouble with output in subdirs.
13585    am__obj=sub/conftest.${OBJEXT-o}
13586    am__minus_obj="-o $am__obj"
13587    case $depmode in
13588    gcc)
13589      # This depmode causes a compiler race in universal mode.
13590      test "$am__universal" = false || continue
13591      ;;
13592    nosideeffect)
13593      # After this tag, mechanisms are not by side-effect, so they'll
13594      # only be used when explicitly requested.
13595      if test "x$enable_dependency_tracking" = xyes; then
13596	continue
13597      else
13598	break
13599      fi
13600      ;;
13601    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13602      # This compiler won't grok '-c -o', but also, the minuso test has
13603      # not run yet.  These depmodes are late enough in the game, and
13604      # so weak that their functioning should not be impacted.
13605      am__obj=conftest.${OBJEXT-o}
13606      am__minus_obj=
13607      ;;
13608    none) break ;;
13609    esac
13610    if depmode=$depmode \
13611       source=sub/conftest.c object=$am__obj \
13612       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13613       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13614         >/dev/null 2>conftest.err &&
13615       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13616       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13617       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13618       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13619      # icc doesn't choke on unknown options, it will just issue warnings
13620      # or remarks (even with -Werror).  So we grep stderr for any message
13621      # that says an option was ignored or not supported.
13622      # When given -MP, icc 7.0 and 7.1 complain thusly:
13623      #   icc: Command line warning: ignoring option '-M'; no argument required
13624      # The diagnosis changed in icc 8.0:
13625      #   icc: Command line remark: option '-MP' not supported
13626      if (grep 'ignoring option' conftest.err ||
13627          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13628        am_cv_CCAS_dependencies_compiler_type=$depmode
13629        break
13630      fi
13631    fi
13632  done
13633
13634  cd ..
13635  rm -rf conftest.dir
13636else
13637  am_cv_CCAS_dependencies_compiler_type=none
13638fi
13639
13640fi
13641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
13642$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
13643CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
13644
13645 if
13646  test "x$enable_dependency_tracking" != xno \
13647  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
13648  am__fastdepCCAS_TRUE=
13649  am__fastdepCCAS_FALSE='#'
13650else
13651  am__fastdepCCAS_TRUE='#'
13652  am__fastdepCCAS_FALSE=
13653fi
13654
13655
13656ac_ext=cpp
13657ac_cpp='$CXXCPP $CPPFLAGS'
13658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13661if test -z "$CXX"; then
13662  if test -n "$CCC"; then
13663    CXX=$CCC
13664  else
13665    if test -n "$ac_tool_prefix"; then
13666  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13667  do
13668    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13669set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13671$as_echo_n "checking for $ac_word... " >&6; }
13672if ${ac_cv_prog_CXX+:} false; then :
13673  $as_echo_n "(cached) " >&6
13674else
13675  if test -n "$CXX"; then
13676  ac_cv_prog_CXX="$CXX" # Let the user override the test.
13677else
13678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13679for as_dir in $PATH
13680do
13681  IFS=$as_save_IFS
13682  test -z "$as_dir" && as_dir=.
13683    for ac_exec_ext in '' $ac_executable_extensions; do
13684  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13685    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13686    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13687    break 2
13688  fi
13689done
13690  done
13691IFS=$as_save_IFS
13692
13693fi
13694fi
13695CXX=$ac_cv_prog_CXX
13696if test -n "$CXX"; then
13697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13698$as_echo "$CXX" >&6; }
13699else
13700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701$as_echo "no" >&6; }
13702fi
13703
13704
13705    test -n "$CXX" && break
13706  done
13707fi
13708if test -z "$CXX"; then
13709  ac_ct_CXX=$CXX
13710  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13711do
13712  # Extract the first word of "$ac_prog", so it can be a program name with args.
13713set dummy $ac_prog; ac_word=$2
13714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13715$as_echo_n "checking for $ac_word... " >&6; }
13716if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13717  $as_echo_n "(cached) " >&6
13718else
13719  if test -n "$ac_ct_CXX"; then
13720  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13721else
13722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13723for as_dir in $PATH
13724do
13725  IFS=$as_save_IFS
13726  test -z "$as_dir" && as_dir=.
13727    for ac_exec_ext in '' $ac_executable_extensions; do
13728  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13729    ac_cv_prog_ac_ct_CXX="$ac_prog"
13730    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13731    break 2
13732  fi
13733done
13734  done
13735IFS=$as_save_IFS
13736
13737fi
13738fi
13739ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13740if test -n "$ac_ct_CXX"; then
13741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13742$as_echo "$ac_ct_CXX" >&6; }
13743else
13744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13745$as_echo "no" >&6; }
13746fi
13747
13748
13749  test -n "$ac_ct_CXX" && break
13750done
13751
13752  if test "x$ac_ct_CXX" = x; then
13753    CXX="g++"
13754  else
13755    case $cross_compiling:$ac_tool_warned in
13756yes:)
13757{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13759ac_tool_warned=yes ;;
13760esac
13761    CXX=$ac_ct_CXX
13762  fi
13763fi
13764
13765  fi
13766fi
13767# Provide some information about the compiler.
13768$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13769set X $ac_compile
13770ac_compiler=$2
13771for ac_option in --version -v -V -qversion; do
13772  { { ac_try="$ac_compiler $ac_option >&5"
13773case "(($ac_try" in
13774  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13775  *) ac_try_echo=$ac_try;;
13776esac
13777eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13778$as_echo "$ac_try_echo"; } >&5
13779  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13780  ac_status=$?
13781  if test -s conftest.err; then
13782    sed '10a\
13783... rest of stderr output deleted ...
13784         10q' conftest.err >conftest.er1
13785    cat conftest.er1 >&5
13786  fi
13787  rm -f conftest.er1 conftest.err
13788  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789  test $ac_status = 0; }
13790done
13791
13792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13793$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13794if ${ac_cv_cxx_compiler_gnu+:} false; then :
13795  $as_echo_n "(cached) " >&6
13796else
13797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798/* end confdefs.h.  */
13799
13800int
13801main ()
13802{
13803#ifndef __GNUC__
13804       choke me
13805#endif
13806
13807  ;
13808  return 0;
13809}
13810_ACEOF
13811if ac_fn_cxx_try_compile "$LINENO"; then :
13812  ac_compiler_gnu=yes
13813else
13814  ac_compiler_gnu=no
13815fi
13816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13818
13819fi
13820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13821$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13822if test $ac_compiler_gnu = yes; then
13823  GXX=yes
13824else
13825  GXX=
13826fi
13827ac_test_CXXFLAGS=${CXXFLAGS+set}
13828ac_save_CXXFLAGS=$CXXFLAGS
13829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13830$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13831if ${ac_cv_prog_cxx_g+:} false; then :
13832  $as_echo_n "(cached) " >&6
13833else
13834  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13835   ac_cxx_werror_flag=yes
13836   ac_cv_prog_cxx_g=no
13837   CXXFLAGS="-g"
13838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839/* end confdefs.h.  */
13840
13841int
13842main ()
13843{
13844
13845  ;
13846  return 0;
13847}
13848_ACEOF
13849if ac_fn_cxx_try_compile "$LINENO"; then :
13850  ac_cv_prog_cxx_g=yes
13851else
13852  CXXFLAGS=""
13853      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854/* end confdefs.h.  */
13855
13856int
13857main ()
13858{
13859
13860  ;
13861  return 0;
13862}
13863_ACEOF
13864if ac_fn_cxx_try_compile "$LINENO"; then :
13865
13866else
13867  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13868	 CXXFLAGS="-g"
13869	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870/* end confdefs.h.  */
13871
13872int
13873main ()
13874{
13875
13876  ;
13877  return 0;
13878}
13879_ACEOF
13880if ac_fn_cxx_try_compile "$LINENO"; then :
13881  ac_cv_prog_cxx_g=yes
13882fi
13883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13884fi
13885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886fi
13887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13888   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13889fi
13890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13891$as_echo "$ac_cv_prog_cxx_g" >&6; }
13892if test "$ac_test_CXXFLAGS" = set; then
13893  CXXFLAGS=$ac_save_CXXFLAGS
13894elif test $ac_cv_prog_cxx_g = yes; then
13895  if test "$GXX" = yes; then
13896    CXXFLAGS="-g -O2"
13897  else
13898    CXXFLAGS="-g"
13899  fi
13900else
13901  if test "$GXX" = yes; then
13902    CXXFLAGS="-O2"
13903  else
13904    CXXFLAGS=
13905  fi
13906fi
13907ac_ext=c
13908ac_cpp='$CPP $CPPFLAGS'
13909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13911ac_compiler_gnu=$ac_cv_c_compiler_gnu
13912
13913depcc="$CXX"  am_compiler_list=
13914
13915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13916$as_echo_n "checking dependency style of $depcc... " >&6; }
13917if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13918  $as_echo_n "(cached) " >&6
13919else
13920  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13921  # We make a subdir and do the tests there.  Otherwise we can end up
13922  # making bogus files that we don't know about and never remove.  For
13923  # instance it was reported that on HP-UX the gcc test will end up
13924  # making a dummy file named 'D' -- because '-MD' means "put the output
13925  # in D".
13926  rm -rf conftest.dir
13927  mkdir conftest.dir
13928  # Copy depcomp to subdir because otherwise we won't find it if we're
13929  # using a relative directory.
13930  cp "$am_depcomp" conftest.dir
13931  cd conftest.dir
13932  # We will build objects and dependencies in a subdirectory because
13933  # it helps to detect inapplicable dependency modes.  For instance
13934  # both Tru64's cc and ICC support -MD to output dependencies as a
13935  # side effect of compilation, but ICC will put the dependencies in
13936  # the current directory while Tru64 will put them in the object
13937  # directory.
13938  mkdir sub
13939
13940  am_cv_CXX_dependencies_compiler_type=none
13941  if test "$am_compiler_list" = ""; then
13942     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13943  fi
13944  am__universal=false
13945  case " $depcc " in #(
13946     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13947     esac
13948
13949  for depmode in $am_compiler_list; do
13950    # Setup a source with many dependencies, because some compilers
13951    # like to wrap large dependency lists on column 80 (with \), and
13952    # we should not choose a depcomp mode which is confused by this.
13953    #
13954    # We need to recreate these files for each test, as the compiler may
13955    # overwrite some of them when testing with obscure command lines.
13956    # This happens at least with the AIX C compiler.
13957    : > sub/conftest.c
13958    for i in 1 2 3 4 5 6; do
13959      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13960      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13961      # Solaris 10 /bin/sh.
13962      echo '/* dummy */' > sub/conftst$i.h
13963    done
13964    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13965
13966    # We check with '-c' and '-o' for the sake of the "dashmstdout"
13967    # mode.  It turns out that the SunPro C++ compiler does not properly
13968    # handle '-M -o', and we need to detect this.  Also, some Intel
13969    # versions had trouble with output in subdirs.
13970    am__obj=sub/conftest.${OBJEXT-o}
13971    am__minus_obj="-o $am__obj"
13972    case $depmode in
13973    gcc)
13974      # This depmode causes a compiler race in universal mode.
13975      test "$am__universal" = false || continue
13976      ;;
13977    nosideeffect)
13978      # After this tag, mechanisms are not by side-effect, so they'll
13979      # only be used when explicitly requested.
13980      if test "x$enable_dependency_tracking" = xyes; then
13981	continue
13982      else
13983	break
13984      fi
13985      ;;
13986    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13987      # This compiler won't grok '-c -o', but also, the minuso test has
13988      # not run yet.  These depmodes are late enough in the game, and
13989      # so weak that their functioning should not be impacted.
13990      am__obj=conftest.${OBJEXT-o}
13991      am__minus_obj=
13992      ;;
13993    none) break ;;
13994    esac
13995    if depmode=$depmode \
13996       source=sub/conftest.c object=$am__obj \
13997       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13998       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13999         >/dev/null 2>conftest.err &&
14000       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14001       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14002       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14003       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14004      # icc doesn't choke on unknown options, it will just issue warnings
14005      # or remarks (even with -Werror).  So we grep stderr for any message
14006      # that says an option was ignored or not supported.
14007      # When given -MP, icc 7.0 and 7.1 complain thusly:
14008      #   icc: Command line warning: ignoring option '-M'; no argument required
14009      # The diagnosis changed in icc 8.0:
14010      #   icc: Command line remark: option '-MP' not supported
14011      if (grep 'ignoring option' conftest.err ||
14012          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14013        am_cv_CXX_dependencies_compiler_type=$depmode
14014        break
14015      fi
14016    fi
14017  done
14018
14019  cd ..
14020  rm -rf conftest.dir
14021else
14022  am_cv_CXX_dependencies_compiler_type=none
14023fi
14024
14025fi
14026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14027$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14028CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14029
14030 if
14031  test "x$enable_dependency_tracking" != xno \
14032  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14033  am__fastdepCXX_TRUE=
14034  am__fastdepCXX_FALSE='#'
14035else
14036  am__fastdepCXX_TRUE='#'
14037  am__fastdepCXX_FALSE=
14038fi
14039
14040
14041
14042
14043func_stripname_cnf ()
14044{
14045  case $2 in
14046  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14047  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14048  esac
14049} # func_stripname_cnf
14050
14051      if test -n "$CXX" && ( test no != "$CXX" &&
14052    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14053    (test g++ != "$CXX"))); then
14054  ac_ext=cpp
14055ac_cpp='$CXXCPP $CPPFLAGS'
14056ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14057ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14058ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14060$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14061if test -z "$CXXCPP"; then
14062  if ${ac_cv_prog_CXXCPP+:} false; then :
14063  $as_echo_n "(cached) " >&6
14064else
14065      # Double quotes because CXXCPP needs to be expanded
14066    for CXXCPP in "$CXX -E" "/lib/cpp"
14067    do
14068      ac_preproc_ok=false
14069for ac_cxx_preproc_warn_flag in '' yes
14070do
14071  # Use a header file that comes with gcc, so configuring glibc
14072  # with a fresh cross-compiler works.
14073  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14074  # <limits.h> exists even on freestanding compilers.
14075  # On the NeXT, cc -E runs the code through the compiler's parser,
14076  # not just through cpp. "Syntax error" is here to catch this case.
14077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078/* end confdefs.h.  */
14079#ifdef __STDC__
14080# include <limits.h>
14081#else
14082# include <assert.h>
14083#endif
14084		     Syntax error
14085_ACEOF
14086if ac_fn_cxx_try_cpp "$LINENO"; then :
14087
14088else
14089  # Broken: fails on valid input.
14090continue
14091fi
14092rm -f conftest.err conftest.i conftest.$ac_ext
14093
14094  # OK, works on sane cases.  Now check whether nonexistent headers
14095  # can be detected and how.
14096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097/* end confdefs.h.  */
14098#include <ac_nonexistent.h>
14099_ACEOF
14100if ac_fn_cxx_try_cpp "$LINENO"; then :
14101  # Broken: success on invalid input.
14102continue
14103else
14104  # Passes both tests.
14105ac_preproc_ok=:
14106break
14107fi
14108rm -f conftest.err conftest.i conftest.$ac_ext
14109
14110done
14111# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14112rm -f conftest.i conftest.err conftest.$ac_ext
14113if $ac_preproc_ok; then :
14114  break
14115fi
14116
14117    done
14118    ac_cv_prog_CXXCPP=$CXXCPP
14119
14120fi
14121  CXXCPP=$ac_cv_prog_CXXCPP
14122else
14123  ac_cv_prog_CXXCPP=$CXXCPP
14124fi
14125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14126$as_echo "$CXXCPP" >&6; }
14127ac_preproc_ok=false
14128for ac_cxx_preproc_warn_flag in '' yes
14129do
14130  # Use a header file that comes with gcc, so configuring glibc
14131  # with a fresh cross-compiler works.
14132  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14133  # <limits.h> exists even on freestanding compilers.
14134  # On the NeXT, cc -E runs the code through the compiler's parser,
14135  # not just through cpp. "Syntax error" is here to catch this case.
14136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137/* end confdefs.h.  */
14138#ifdef __STDC__
14139# include <limits.h>
14140#else
14141# include <assert.h>
14142#endif
14143		     Syntax error
14144_ACEOF
14145if ac_fn_cxx_try_cpp "$LINENO"; then :
14146
14147else
14148  # Broken: fails on valid input.
14149continue
14150fi
14151rm -f conftest.err conftest.i conftest.$ac_ext
14152
14153  # OK, works on sane cases.  Now check whether nonexistent headers
14154  # can be detected and how.
14155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156/* end confdefs.h.  */
14157#include <ac_nonexistent.h>
14158_ACEOF
14159if ac_fn_cxx_try_cpp "$LINENO"; then :
14160  # Broken: success on invalid input.
14161continue
14162else
14163  # Passes both tests.
14164ac_preproc_ok=:
14165break
14166fi
14167rm -f conftest.err conftest.i conftest.$ac_ext
14168
14169done
14170# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14171rm -f conftest.i conftest.err conftest.$ac_ext
14172if $ac_preproc_ok; then :
14173
14174else
14175  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14177as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14178See \`config.log' for more details" "$LINENO" 5; }
14179fi
14180
14181ac_ext=c
14182ac_cpp='$CPP $CPPFLAGS'
14183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186
14187else
14188  _lt_caught_CXX_error=yes
14189fi
14190
14191ac_ext=cpp
14192ac_cpp='$CXXCPP $CPPFLAGS'
14193ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14196
14197archive_cmds_need_lc_CXX=no
14198allow_undefined_flag_CXX=
14199always_export_symbols_CXX=no
14200archive_expsym_cmds_CXX=
14201compiler_needs_object_CXX=no
14202export_dynamic_flag_spec_CXX=
14203hardcode_direct_CXX=no
14204hardcode_direct_absolute_CXX=no
14205hardcode_libdir_flag_spec_CXX=
14206hardcode_libdir_separator_CXX=
14207hardcode_minus_L_CXX=no
14208hardcode_shlibpath_var_CXX=unsupported
14209hardcode_automatic_CXX=no
14210inherit_rpath_CXX=no
14211module_cmds_CXX=
14212module_expsym_cmds_CXX=
14213link_all_deplibs_CXX=unknown
14214old_archive_cmds_CXX=$old_archive_cmds
14215reload_flag_CXX=$reload_flag
14216reload_cmds_CXX=$reload_cmds
14217no_undefined_flag_CXX=
14218whole_archive_flag_spec_CXX=
14219enable_shared_with_static_runtimes_CXX=no
14220
14221# Source file extension for C++ test sources.
14222ac_ext=cpp
14223
14224# Object file extension for compiled C++ test sources.
14225objext=o
14226objext_CXX=$objext
14227
14228# No sense in running all these tests if we already determined that
14229# the CXX compiler isn't working.  Some variables (like enable_shared)
14230# are currently assumed to apply to all compilers on this platform,
14231# and will be corrupted by setting them based on a non-working compiler.
14232if test yes != "$_lt_caught_CXX_error"; then
14233  # Code to be used in simple compile tests
14234  lt_simple_compile_test_code="int some_variable = 0;"
14235
14236  # Code to be used in simple link tests
14237  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14238
14239  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14240
14241
14242
14243
14244
14245
14246# If no C compiler was specified, use CC.
14247LTCC=${LTCC-"$CC"}
14248
14249# If no C compiler flags were specified, use CFLAGS.
14250LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14251
14252# Allow CC to be a program name with arguments.
14253compiler=$CC
14254
14255
14256  # save warnings/boilerplate of simple test code
14257  ac_outfile=conftest.$ac_objext
14258echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14259eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14260_lt_compiler_boilerplate=`cat conftest.err`
14261$RM conftest*
14262
14263  ac_outfile=conftest.$ac_objext
14264echo "$lt_simple_link_test_code" >conftest.$ac_ext
14265eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14266_lt_linker_boilerplate=`cat conftest.err`
14267$RM -r conftest*
14268
14269
14270  # Allow CC to be a program name with arguments.
14271  lt_save_CC=$CC
14272  lt_save_CFLAGS=$CFLAGS
14273  lt_save_LD=$LD
14274  lt_save_GCC=$GCC
14275  GCC=$GXX
14276  lt_save_with_gnu_ld=$with_gnu_ld
14277  lt_save_path_LD=$lt_cv_path_LD
14278  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14279    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14280  else
14281    $as_unset lt_cv_prog_gnu_ld
14282  fi
14283  if test -n "${lt_cv_path_LDCXX+set}"; then
14284    lt_cv_path_LD=$lt_cv_path_LDCXX
14285  else
14286    $as_unset lt_cv_path_LD
14287  fi
14288  test -z "${LDCXX+set}" || LD=$LDCXX
14289  CC=${CXX-"c++"}
14290  CFLAGS=$CXXFLAGS
14291  compiler=$CC
14292  compiler_CXX=$CC
14293  func_cc_basename $compiler
14294cc_basename=$func_cc_basename_result
14295
14296
14297  if test -n "$compiler"; then
14298    # We don't want -fno-exception when compiling C++ code, so set the
14299    # no_builtin_flag separately
14300    if test yes = "$GXX"; then
14301      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14302    else
14303      lt_prog_compiler_no_builtin_flag_CXX=
14304    fi
14305
14306    if test yes = "$GXX"; then
14307      # Set up default GNU C++ configuration
14308
14309
14310
14311# Check whether --with-gnu-ld was given.
14312if test "${with_gnu_ld+set}" = set; then :
14313  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14314else
14315  with_gnu_ld=no
14316fi
14317
14318ac_prog=ld
14319if test yes = "$GCC"; then
14320  # Check if gcc -print-prog-name=ld gives a path.
14321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14322$as_echo_n "checking for ld used by $CC... " >&6; }
14323  case $host in
14324  *-*-mingw*)
14325    # gcc leaves a trailing carriage return, which upsets mingw
14326    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14327  *)
14328    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14329  esac
14330  case $ac_prog in
14331    # Accept absolute paths.
14332    [\\/]* | ?:[\\/]*)
14333      re_direlt='/[^/][^/]*/\.\./'
14334      # Canonicalize the pathname of ld
14335      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14336      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14337	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14338      done
14339      test -z "$LD" && LD=$ac_prog
14340      ;;
14341  "")
14342    # If it fails, then pretend we aren't using GCC.
14343    ac_prog=ld
14344    ;;
14345  *)
14346    # If it is relative, then search for the first ld in PATH.
14347    with_gnu_ld=unknown
14348    ;;
14349  esac
14350elif test yes = "$with_gnu_ld"; then
14351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14352$as_echo_n "checking for GNU ld... " >&6; }
14353else
14354  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14355$as_echo_n "checking for non-GNU ld... " >&6; }
14356fi
14357if ${lt_cv_path_LD+:} false; then :
14358  $as_echo_n "(cached) " >&6
14359else
14360  if test -z "$LD"; then
14361  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14362  for ac_dir in $PATH; do
14363    IFS=$lt_save_ifs
14364    test -z "$ac_dir" && ac_dir=.
14365    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14366      lt_cv_path_LD=$ac_dir/$ac_prog
14367      # Check to see if the program is GNU ld.  I'd rather use --version,
14368      # but apparently some variants of GNU ld only accept -v.
14369      # Break only if it was the GNU/non-GNU ld that we prefer.
14370      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14371      *GNU* | *'with BFD'*)
14372	test no != "$with_gnu_ld" && break
14373	;;
14374      *)
14375	test yes != "$with_gnu_ld" && break
14376	;;
14377      esac
14378    fi
14379  done
14380  IFS=$lt_save_ifs
14381else
14382  lt_cv_path_LD=$LD # Let the user override the test with a path.
14383fi
14384fi
14385
14386LD=$lt_cv_path_LD
14387if test -n "$LD"; then
14388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14389$as_echo "$LD" >&6; }
14390else
14391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14392$as_echo "no" >&6; }
14393fi
14394test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14396$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14397if ${lt_cv_prog_gnu_ld+:} false; then :
14398  $as_echo_n "(cached) " >&6
14399else
14400  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14401case `$LD -v 2>&1 </dev/null` in
14402*GNU* | *'with BFD'*)
14403  lt_cv_prog_gnu_ld=yes
14404  ;;
14405*)
14406  lt_cv_prog_gnu_ld=no
14407  ;;
14408esac
14409fi
14410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14411$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14412with_gnu_ld=$lt_cv_prog_gnu_ld
14413
14414
14415
14416
14417
14418
14419
14420      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14421      # archiving commands below assume that GNU ld is being used.
14422      if test yes = "$with_gnu_ld"; then
14423        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14424        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'
14425
14426        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14427        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14428
14429        # If archive_cmds runs LD, not CC, wlarc should be empty
14430        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14431        #     investigate it a little bit more. (MM)
14432        wlarc='$wl'
14433
14434        # ancient GNU ld didn't support --whole-archive et. al.
14435        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14436	  $GREP 'no-whole-archive' > /dev/null; then
14437          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14438        else
14439          whole_archive_flag_spec_CXX=
14440        fi
14441      else
14442        with_gnu_ld=no
14443        wlarc=
14444
14445        # A generic and very simple default shared library creation
14446        # command for GNU C++ for the case where it uses the native
14447        # linker, instead of GNU ld.  If possible, this setting should
14448        # overridden to take advantage of the native linker features on
14449        # the platform it is being used on.
14450        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14451      fi
14452
14453      # Commands to make compiler produce verbose output that lists
14454      # what "hidden" libraries, object files and flags are used when
14455      # linking a shared library.
14456      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14457
14458    else
14459      GXX=no
14460      with_gnu_ld=no
14461      wlarc=
14462    fi
14463
14464    # PORTME: fill in a description of your system's C++ link characteristics
14465    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14466$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14467    ld_shlibs_CXX=yes
14468    case $host_os in
14469      aix3*)
14470        # FIXME: insert proper C++ library support
14471        ld_shlibs_CXX=no
14472        ;;
14473      aix[4-9]*)
14474        if test ia64 = "$host_cpu"; then
14475          # On IA64, the linker does run time linking by default, so we don't
14476          # have to do anything special.
14477          aix_use_runtimelinking=no
14478          exp_sym_flag='-Bexport'
14479          no_entry_flag=
14480        else
14481          aix_use_runtimelinking=no
14482
14483          # Test if we are trying to use run time linking or normal
14484          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14485          # have runtime linking enabled, and use it for executables.
14486          # For shared libraries, we enable/disable runtime linking
14487          # depending on the kind of the shared library created -
14488          # when "with_aix_soname,aix_use_runtimelinking" is:
14489          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14490          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14491          #            lib.a           static archive
14492          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14493          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14494          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14495          #            lib.a(lib.so.V) shared, rtl:no
14496          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14497          #            lib.a           static archive
14498          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14499	    for ld_flag in $LDFLAGS; do
14500	      case $ld_flag in
14501	      *-brtl*)
14502	        aix_use_runtimelinking=yes
14503	        break
14504	        ;;
14505	      esac
14506	    done
14507	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14508	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14509	      # so we don't have lib.a shared libs to link our executables.
14510	      # We have to force runtime linking in this case.
14511	      aix_use_runtimelinking=yes
14512	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14513	    fi
14514	    ;;
14515          esac
14516
14517          exp_sym_flag='-bexport'
14518          no_entry_flag='-bnoentry'
14519        fi
14520
14521        # When large executables or shared objects are built, AIX ld can
14522        # have problems creating the table of contents.  If linking a library
14523        # or program results in "error TOC overflow" add -mminimal-toc to
14524        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14525        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14526
14527        archive_cmds_CXX=''
14528        hardcode_direct_CXX=yes
14529        hardcode_direct_absolute_CXX=yes
14530        hardcode_libdir_separator_CXX=':'
14531        link_all_deplibs_CXX=yes
14532        file_list_spec_CXX='$wl-f,'
14533        case $with_aix_soname,$aix_use_runtimelinking in
14534        aix,*) ;;	# no import file
14535        svr4,* | *,yes) # use import file
14536          # The Import File defines what to hardcode.
14537          hardcode_direct_CXX=no
14538          hardcode_direct_absolute_CXX=no
14539          ;;
14540        esac
14541
14542        if test yes = "$GXX"; then
14543          case $host_os in aix4.[012]|aix4.[012].*)
14544          # We only want to do this on AIX 4.2 and lower, the check
14545          # below for broken collect2 doesn't work under 4.3+
14546	  collect2name=`$CC -print-prog-name=collect2`
14547	  if test -f "$collect2name" &&
14548	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14549	  then
14550	    # We have reworked collect2
14551	    :
14552	  else
14553	    # We have old collect2
14554	    hardcode_direct_CXX=unsupported
14555	    # It fails to find uninstalled libraries when the uninstalled
14556	    # path is not listed in the libpath.  Setting hardcode_minus_L
14557	    # to unsupported forces relinking
14558	    hardcode_minus_L_CXX=yes
14559	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14560	    hardcode_libdir_separator_CXX=
14561	  fi
14562          esac
14563          shared_flag='-shared'
14564	  if test yes = "$aix_use_runtimelinking"; then
14565	    shared_flag=$shared_flag' $wl-G'
14566	  fi
14567	  # Need to ensure runtime linking is disabled for the traditional
14568	  # shared library, or the linker may eventually find shared libraries
14569	  # /with/ Import File - we do not want to mix them.
14570	  shared_flag_aix='-shared'
14571	  shared_flag_svr4='-shared $wl-G'
14572        else
14573          # not using gcc
14574          if test ia64 = "$host_cpu"; then
14575	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14576	  # chokes on -Wl,-G. The following line is correct:
14577	  shared_flag='-G'
14578          else
14579	    if test yes = "$aix_use_runtimelinking"; then
14580	      shared_flag='$wl-G'
14581	    else
14582	      shared_flag='$wl-bM:SRE'
14583	    fi
14584	    shared_flag_aix='$wl-bM:SRE'
14585	    shared_flag_svr4='$wl-G'
14586          fi
14587        fi
14588
14589        export_dynamic_flag_spec_CXX='$wl-bexpall'
14590        # It seems that -bexpall does not export symbols beginning with
14591        # underscore (_), so it is better to generate a list of symbols to
14592	# export.
14593        always_export_symbols_CXX=yes
14594	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14595          # Warning - without using the other runtime loading flags (-brtl),
14596          # -berok will link without error, but may produce a broken library.
14597          # The "-G" linker flag allows undefined symbols.
14598          no_undefined_flag_CXX='-bernotok'
14599          # Determine the default libpath from the value encoded in an empty
14600          # executable.
14601          if test set = "${lt_cv_aix_libpath+set}"; then
14602  aix_libpath=$lt_cv_aix_libpath
14603else
14604  if ${lt_cv_aix_libpath__CXX+:} false; then :
14605  $as_echo_n "(cached) " >&6
14606else
14607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608/* end confdefs.h.  */
14609
14610int
14611main ()
14612{
14613
14614  ;
14615  return 0;
14616}
14617_ACEOF
14618if ac_fn_cxx_try_link "$LINENO"; then :
14619
14620  lt_aix_libpath_sed='
14621      /Import File Strings/,/^$/ {
14622	  /^0/ {
14623	      s/^0  *\([^ ]*\) *$/\1/
14624	      p
14625	  }
14626      }'
14627  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14628  # Check for a 64-bit object if we didn't find anything.
14629  if test -z "$lt_cv_aix_libpath__CXX"; then
14630    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14631  fi
14632fi
14633rm -f core conftest.err conftest.$ac_objext \
14634    conftest$ac_exeext conftest.$ac_ext
14635  if test -z "$lt_cv_aix_libpath__CXX"; then
14636    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14637  fi
14638
14639fi
14640
14641  aix_libpath=$lt_cv_aix_libpath__CXX
14642fi
14643
14644          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14645
14646          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
14647        else
14648          if test ia64 = "$host_cpu"; then
14649	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14650	    allow_undefined_flag_CXX="-z nodefs"
14651	    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"
14652          else
14653	    # Determine the default libpath from the value encoded in an
14654	    # empty executable.
14655	    if test set = "${lt_cv_aix_libpath+set}"; then
14656  aix_libpath=$lt_cv_aix_libpath
14657else
14658  if ${lt_cv_aix_libpath__CXX+:} false; then :
14659  $as_echo_n "(cached) " >&6
14660else
14661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662/* end confdefs.h.  */
14663
14664int
14665main ()
14666{
14667
14668  ;
14669  return 0;
14670}
14671_ACEOF
14672if ac_fn_cxx_try_link "$LINENO"; then :
14673
14674  lt_aix_libpath_sed='
14675      /Import File Strings/,/^$/ {
14676	  /^0/ {
14677	      s/^0  *\([^ ]*\) *$/\1/
14678	      p
14679	  }
14680      }'
14681  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14682  # Check for a 64-bit object if we didn't find anything.
14683  if test -z "$lt_cv_aix_libpath__CXX"; then
14684    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14685  fi
14686fi
14687rm -f core conftest.err conftest.$ac_objext \
14688    conftest$ac_exeext conftest.$ac_ext
14689  if test -z "$lt_cv_aix_libpath__CXX"; then
14690    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14691  fi
14692
14693fi
14694
14695  aix_libpath=$lt_cv_aix_libpath__CXX
14696fi
14697
14698	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14699	    # Warning - without using the other run time loading flags,
14700	    # -berok will link without error, but may produce a broken library.
14701	    no_undefined_flag_CXX=' $wl-bernotok'
14702	    allow_undefined_flag_CXX=' $wl-berok'
14703	    if test yes = "$with_gnu_ld"; then
14704	      # We only use this code for GNU lds that support --whole-archive.
14705	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14706	    else
14707	      # Exported symbols can be pulled into shared objects from archives
14708	      whole_archive_flag_spec_CXX='$convenience'
14709	    fi
14710	    archive_cmds_need_lc_CXX=yes
14711	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14712	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14713	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14714	    if test svr4 != "$with_aix_soname"; then
14715	      # This is similar to how AIX traditionally builds its shared
14716	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14717	      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'
14718	    fi
14719	    if test aix != "$with_aix_soname"; then
14720	      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'
14721	    else
14722	      # used by -dlpreopen to get the symbols
14723	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14724	    fi
14725	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14726          fi
14727        fi
14728        ;;
14729
14730      beos*)
14731	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14732	  allow_undefined_flag_CXX=unsupported
14733	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14734	  # support --undefined.  This deserves some investigation.  FIXME
14735	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14736	else
14737	  ld_shlibs_CXX=no
14738	fi
14739	;;
14740
14741      chorus*)
14742        case $cc_basename in
14743          *)
14744	  # FIXME: insert proper C++ library support
14745	  ld_shlibs_CXX=no
14746	  ;;
14747        esac
14748        ;;
14749
14750      cygwin* | mingw* | pw32* | cegcc*)
14751	case $GXX,$cc_basename in
14752	,cl* | no,cl*)
14753	  # Native MSVC
14754	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14755	  # no search path for DLLs.
14756	  hardcode_libdir_flag_spec_CXX=' '
14757	  allow_undefined_flag_CXX=unsupported
14758	  always_export_symbols_CXX=yes
14759	  file_list_spec_CXX='@'
14760	  # Tell ltmain to make .lib files, not .a files.
14761	  libext=lib
14762	  # Tell ltmain to make .dll files, not .so files.
14763	  shrext_cmds=.dll
14764	  # FIXME: Setting linknames here is a bad hack.
14765	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14766	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14767              cp "$export_symbols" "$output_objdir/$soname.def";
14768              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14769            else
14770              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14771            fi~
14772            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14773            linknames='
14774	  # The linker will not automatically build a static lib if we build a DLL.
14775	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14776	  enable_shared_with_static_runtimes_CXX=yes
14777	  # Don't use ranlib
14778	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14779	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14780            lt_tool_outputfile="@TOOL_OUTPUT@"~
14781            case $lt_outputfile in
14782              *.exe|*.EXE) ;;
14783              *)
14784                lt_outputfile=$lt_outputfile.exe
14785                lt_tool_outputfile=$lt_tool_outputfile.exe
14786                ;;
14787            esac~
14788            func_to_tool_file "$lt_outputfile"~
14789            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14790              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14791              $RM "$lt_outputfile.manifest";
14792            fi'
14793	  ;;
14794	*)
14795	  # g++
14796	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14797	  # as there is no search path for DLLs.
14798	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14799	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14800	  allow_undefined_flag_CXX=unsupported
14801	  always_export_symbols_CXX=no
14802	  enable_shared_with_static_runtimes_CXX=yes
14803
14804	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14805	    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'
14806	    # If the export-symbols file already is a .def file, use it as
14807	    # is; otherwise, prepend EXPORTS...
14808	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14809              cp $export_symbols $output_objdir/$soname.def;
14810            else
14811              echo EXPORTS > $output_objdir/$soname.def;
14812              cat $export_symbols >> $output_objdir/$soname.def;
14813            fi~
14814            $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'
14815	  else
14816	    ld_shlibs_CXX=no
14817	  fi
14818	  ;;
14819	esac
14820	;;
14821      darwin* | rhapsody*)
14822
14823
14824  archive_cmds_need_lc_CXX=no
14825  hardcode_direct_CXX=no
14826  hardcode_automatic_CXX=yes
14827  hardcode_shlibpath_var_CXX=unsupported
14828  if test yes = "$lt_cv_ld_force_load"; then
14829    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\"`'
14830
14831  else
14832    whole_archive_flag_spec_CXX=''
14833  fi
14834  link_all_deplibs_CXX=yes
14835  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14836  case $cc_basename in
14837     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14838     *) _lt_dar_can_shared=$GCC ;;
14839  esac
14840  if test yes = "$_lt_dar_can_shared"; then
14841    output_verbose_link_cmd=func_echo_all
14842    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"
14843    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14844    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"
14845    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"
14846       if test yes != "$lt_cv_apple_cc_single_mod"; then
14847      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"
14848      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"
14849    fi
14850
14851  else
14852  ld_shlibs_CXX=no
14853  fi
14854
14855	;;
14856
14857      os2*)
14858	hardcode_libdir_flag_spec_CXX='-L$libdir'
14859	hardcode_minus_L_CXX=yes
14860	allow_undefined_flag_CXX=unsupported
14861	shrext_cmds=.dll
14862	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14863	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14864	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14865	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14866	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14867	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14868	  emximp -o $lib $output_objdir/$libname.def'
14869	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14870	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14871	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14872	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14873	  prefix_cmds="$SED"~
14874	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14875	    prefix_cmds="$prefix_cmds -e 1d";
14876	  fi~
14877	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14878	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14879	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14880	  emximp -o $lib $output_objdir/$libname.def'
14881	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14882	enable_shared_with_static_runtimes_CXX=yes
14883	;;
14884
14885      dgux*)
14886        case $cc_basename in
14887          ec++*)
14888	    # FIXME: insert proper C++ library support
14889	    ld_shlibs_CXX=no
14890	    ;;
14891          ghcx*)
14892	    # Green Hills C++ Compiler
14893	    # FIXME: insert proper C++ library support
14894	    ld_shlibs_CXX=no
14895	    ;;
14896          *)
14897	    # FIXME: insert proper C++ library support
14898	    ld_shlibs_CXX=no
14899	    ;;
14900        esac
14901        ;;
14902
14903      freebsd2.*)
14904        # C++ shared libraries reported to be fairly broken before
14905	# switch to ELF
14906        ld_shlibs_CXX=no
14907        ;;
14908
14909      freebsd-elf*)
14910        archive_cmds_need_lc_CXX=no
14911        ;;
14912
14913      freebsd* | dragonfly*)
14914        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14915        # conventions
14916        ld_shlibs_CXX=yes
14917        ;;
14918
14919      haiku*)
14920        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14921        link_all_deplibs_CXX=yes
14922        ;;
14923
14924      hpux9*)
14925        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14926        hardcode_libdir_separator_CXX=:
14927        export_dynamic_flag_spec_CXX='$wl-E'
14928        hardcode_direct_CXX=yes
14929        hardcode_minus_L_CXX=yes # Not in the search PATH,
14930				             # but as the default
14931				             # location of the library.
14932
14933        case $cc_basename in
14934          CC*)
14935            # FIXME: insert proper C++ library support
14936            ld_shlibs_CXX=no
14937            ;;
14938          aCC*)
14939            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'
14940            # Commands to make compiler produce verbose output that lists
14941            # what "hidden" libraries, object files and flags are used when
14942            # linking a shared library.
14943            #
14944            # There doesn't appear to be a way to prevent this compiler from
14945            # explicitly linking system object files so we need to strip them
14946            # from the output so that they don't get included in the library
14947            # dependencies.
14948            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"'
14949            ;;
14950          *)
14951            if test yes = "$GXX"; then
14952              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'
14953            else
14954              # FIXME: insert proper C++ library support
14955              ld_shlibs_CXX=no
14956            fi
14957            ;;
14958        esac
14959        ;;
14960
14961      hpux10*|hpux11*)
14962        if test no = "$with_gnu_ld"; then
14963	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14964	  hardcode_libdir_separator_CXX=:
14965
14966          case $host_cpu in
14967            hppa*64*|ia64*)
14968              ;;
14969            *)
14970	      export_dynamic_flag_spec_CXX='$wl-E'
14971              ;;
14972          esac
14973        fi
14974        case $host_cpu in
14975          hppa*64*|ia64*)
14976            hardcode_direct_CXX=no
14977            hardcode_shlibpath_var_CXX=no
14978            ;;
14979          *)
14980            hardcode_direct_CXX=yes
14981            hardcode_direct_absolute_CXX=yes
14982            hardcode_minus_L_CXX=yes # Not in the search PATH,
14983					         # but as the default
14984					         # location of the library.
14985            ;;
14986        esac
14987
14988        case $cc_basename in
14989          CC*)
14990	    # FIXME: insert proper C++ library support
14991	    ld_shlibs_CXX=no
14992	    ;;
14993          aCC*)
14994	    case $host_cpu in
14995	      hppa*64*)
14996	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14997	        ;;
14998	      ia64*)
14999	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15000	        ;;
15001	      *)
15002	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15003	        ;;
15004	    esac
15005	    # Commands to make compiler produce verbose output that lists
15006	    # what "hidden" libraries, object files and flags are used when
15007	    # linking a shared library.
15008	    #
15009	    # There doesn't appear to be a way to prevent this compiler from
15010	    # explicitly linking system object files so we need to strip them
15011	    # from the output so that they don't get included in the library
15012	    # dependencies.
15013	    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"'
15014	    ;;
15015          *)
15016	    if test yes = "$GXX"; then
15017	      if test no = "$with_gnu_ld"; then
15018	        case $host_cpu in
15019	          hppa*64*)
15020	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15021	            ;;
15022	          ia64*)
15023	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15024	            ;;
15025	          *)
15026	            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'
15027	            ;;
15028	        esac
15029	      fi
15030	    else
15031	      # FIXME: insert proper C++ library support
15032	      ld_shlibs_CXX=no
15033	    fi
15034	    ;;
15035        esac
15036        ;;
15037
15038      interix[3-9]*)
15039	hardcode_direct_CXX=no
15040	hardcode_shlibpath_var_CXX=no
15041	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15042	export_dynamic_flag_spec_CXX='$wl-E'
15043	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15044	# Instead, shared libraries are loaded at an image base (0x10000000 by
15045	# default) and relocated if they conflict, which is a slow very memory
15046	# consuming and fragmenting process.  To avoid this, we pick a random,
15047	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15048	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15049	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'
15050	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'
15051	;;
15052      irix5* | irix6*)
15053        case $cc_basename in
15054          CC*)
15055	    # SGI C++
15056	    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'
15057
15058	    # Archives containing C++ object files must be created using
15059	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15060	    # necessary to make sure instantiated templates are included
15061	    # in the archive.
15062	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15063	    ;;
15064          *)
15065	    if test yes = "$GXX"; then
15066	      if test no = "$with_gnu_ld"; then
15067	        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'
15068	      else
15069	        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'
15070	      fi
15071	    fi
15072	    link_all_deplibs_CXX=yes
15073	    ;;
15074        esac
15075        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15076        hardcode_libdir_separator_CXX=:
15077        inherit_rpath_CXX=yes
15078        ;;
15079
15080      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15081        case $cc_basename in
15082          KCC*)
15083	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15084
15085	    # KCC will only create a shared library if the output file
15086	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15087	    # to its proper name (with version) after linking.
15088	    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'
15089	    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'
15090	    # Commands to make compiler produce verbose output that lists
15091	    # what "hidden" libraries, object files and flags are used when
15092	    # linking a shared library.
15093	    #
15094	    # There doesn't appear to be a way to prevent this compiler from
15095	    # explicitly linking system object files so we need to strip them
15096	    # from the output so that they don't get included in the library
15097	    # dependencies.
15098	    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"'
15099
15100	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15101	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15102
15103	    # Archives containing C++ object files must be created using
15104	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15105	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15106	    ;;
15107	  icpc* | ecpc* )
15108	    # Intel C++
15109	    with_gnu_ld=yes
15110	    # version 8.0 and above of icpc choke on multiply defined symbols
15111	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15112	    # earlier do not add the objects themselves.
15113	    case `$CC -V 2>&1` in
15114	      *"Version 7."*)
15115	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15116		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'
15117		;;
15118	      *)  # Version 8.0 or newer
15119	        tmp_idyn=
15120	        case $host_cpu in
15121		  ia64*) tmp_idyn=' -i_dynamic';;
15122		esac
15123	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15124		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'
15125		;;
15126	    esac
15127	    archive_cmds_need_lc_CXX=no
15128	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15129	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15130	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15131	    ;;
15132          pgCC* | pgcpp*)
15133            # Portland Group C++ compiler
15134	    case `$CC -V` in
15135	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15136	      prelink_cmds_CXX='tpldir=Template.dir~
15137               rm -rf $tpldir~
15138               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15139               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15140	      old_archive_cmds_CXX='tpldir=Template.dir~
15141                rm -rf $tpldir~
15142                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15143                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15144                $RANLIB $oldlib'
15145	      archive_cmds_CXX='tpldir=Template.dir~
15146                rm -rf $tpldir~
15147                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15148                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15149	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15150                rm -rf $tpldir~
15151                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15152                $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'
15153	      ;;
15154	    *) # Version 6 and above use weak symbols
15155	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15156	      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'
15157	      ;;
15158	    esac
15159
15160	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15161	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15162	    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'
15163            ;;
15164	  cxx*)
15165	    # Compaq C++
15166	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15167	    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'
15168
15169	    runpath_var=LD_RUN_PATH
15170	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15171	    hardcode_libdir_separator_CXX=:
15172
15173	    # Commands to make compiler produce verbose output that lists
15174	    # what "hidden" libraries, object files and flags are used when
15175	    # linking a shared library.
15176	    #
15177	    # There doesn't appear to be a way to prevent this compiler from
15178	    # explicitly linking system object files so we need to strip them
15179	    # from the output so that they don't get included in the library
15180	    # dependencies.
15181	    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'
15182	    ;;
15183	  xl* | mpixl* | bgxl*)
15184	    # IBM XL 8.0 on PPC, with GNU ld
15185	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15186	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15187	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15188	    if test yes = "$supports_anon_versioning"; then
15189	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15190                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15191                echo "local: *; };" >> $output_objdir/$libname.ver~
15192                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15193	    fi
15194	    ;;
15195	  *)
15196	    case `$CC -V 2>&1 | sed 5q` in
15197	    *Sun\ C*)
15198	      # Sun C++ 5.9
15199	      no_undefined_flag_CXX=' -zdefs'
15200	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15201	      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'
15202	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15203	      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'
15204	      compiler_needs_object_CXX=yes
15205
15206	      # Not sure whether something based on
15207	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15208	      # would be better.
15209	      output_verbose_link_cmd='func_echo_all'
15210
15211	      # Archives containing C++ object files must be created using
15212	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15213	      # necessary to make sure instantiated templates are included
15214	      # in the archive.
15215	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15216	      ;;
15217	    esac
15218	    ;;
15219	esac
15220	;;
15221
15222      lynxos*)
15223        # FIXME: insert proper C++ library support
15224	ld_shlibs_CXX=no
15225	;;
15226
15227      m88k*)
15228        # FIXME: insert proper C++ library support
15229        ld_shlibs_CXX=no
15230	;;
15231
15232      mvs*)
15233        case $cc_basename in
15234          cxx*)
15235	    # FIXME: insert proper C++ library support
15236	    ld_shlibs_CXX=no
15237	    ;;
15238	  *)
15239	    # FIXME: insert proper C++ library support
15240	    ld_shlibs_CXX=no
15241	    ;;
15242	esac
15243	;;
15244
15245      netbsd*)
15246        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15247	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15248	  wlarc=
15249	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15250	  hardcode_direct_CXX=yes
15251	  hardcode_shlibpath_var_CXX=no
15252	fi
15253	# Workaround some broken pre-1.5 toolchains
15254	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15255	;;
15256
15257      *nto* | *qnx*)
15258        ld_shlibs_CXX=yes
15259	;;
15260
15261      openbsd* | bitrig*)
15262	if test -f /usr/libexec/ld.so; then
15263	  hardcode_direct_CXX=yes
15264	  hardcode_shlibpath_var_CXX=no
15265	  hardcode_direct_absolute_CXX=yes
15266	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15267	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15268	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15269	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15270	    export_dynamic_flag_spec_CXX='$wl-E'
15271	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15272	  fi
15273	  output_verbose_link_cmd=func_echo_all
15274	else
15275	  ld_shlibs_CXX=no
15276	fi
15277	;;
15278
15279      osf3* | osf4* | osf5*)
15280        case $cc_basename in
15281          KCC*)
15282	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15283
15284	    # KCC will only create a shared library if the output file
15285	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15286	    # to its proper name (with version) after linking.
15287	    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'
15288
15289	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15290	    hardcode_libdir_separator_CXX=:
15291
15292	    # Archives containing C++ object files must be created using
15293	    # the KAI C++ compiler.
15294	    case $host in
15295	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15296	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15297	    esac
15298	    ;;
15299          RCC*)
15300	    # Rational C++ 2.4.1
15301	    # FIXME: insert proper C++ library support
15302	    ld_shlibs_CXX=no
15303	    ;;
15304          cxx*)
15305	    case $host in
15306	      osf3*)
15307	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15308	        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'
15309	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15310		;;
15311	      *)
15312	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15313	        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'
15314	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15315                  echo "-hidden">> $lib.exp~
15316                  $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~
15317                  $RM $lib.exp'
15318	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15319		;;
15320	    esac
15321
15322	    hardcode_libdir_separator_CXX=:
15323
15324	    # Commands to make compiler produce verbose output that lists
15325	    # what "hidden" libraries, object files and flags are used when
15326	    # linking a shared library.
15327	    #
15328	    # There doesn't appear to be a way to prevent this compiler from
15329	    # explicitly linking system object files so we need to strip them
15330	    # from the output so that they don't get included in the library
15331	    # dependencies.
15332	    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"'
15333	    ;;
15334	  *)
15335	    if test yes,no = "$GXX,$with_gnu_ld"; then
15336	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15337	      case $host in
15338	        osf3*)
15339	          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'
15340		  ;;
15341	        *)
15342	          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'
15343		  ;;
15344	      esac
15345
15346	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15347	      hardcode_libdir_separator_CXX=:
15348
15349	      # Commands to make compiler produce verbose output that lists
15350	      # what "hidden" libraries, object files and flags are used when
15351	      # linking a shared library.
15352	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15353
15354	    else
15355	      # FIXME: insert proper C++ library support
15356	      ld_shlibs_CXX=no
15357	    fi
15358	    ;;
15359        esac
15360        ;;
15361
15362      psos*)
15363        # FIXME: insert proper C++ library support
15364        ld_shlibs_CXX=no
15365        ;;
15366
15367      sunos4*)
15368        case $cc_basename in
15369          CC*)
15370	    # Sun C++ 4.x
15371	    # FIXME: insert proper C++ library support
15372	    ld_shlibs_CXX=no
15373	    ;;
15374          lcc*)
15375	    # Lucid
15376	    # FIXME: insert proper C++ library support
15377	    ld_shlibs_CXX=no
15378	    ;;
15379          *)
15380	    # FIXME: insert proper C++ library support
15381	    ld_shlibs_CXX=no
15382	    ;;
15383        esac
15384        ;;
15385
15386      solaris*)
15387        case $cc_basename in
15388          CC* | sunCC*)
15389	    # Sun C++ 4.2, 5.x and Centerline C++
15390            archive_cmds_need_lc_CXX=yes
15391	    no_undefined_flag_CXX=' -zdefs'
15392	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15393	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15394              $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'
15395
15396	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15397	    hardcode_shlibpath_var_CXX=no
15398	    case $host_os in
15399	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15400	      *)
15401		# The compiler driver will combine and reorder linker options,
15402		# but understands '-z linker_flag'.
15403	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15404		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15405	        ;;
15406	    esac
15407	    link_all_deplibs_CXX=yes
15408
15409	    output_verbose_link_cmd='func_echo_all'
15410
15411	    # Archives containing C++ object files must be created using
15412	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15413	    # necessary to make sure instantiated templates are included
15414	    # in the archive.
15415	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15416	    ;;
15417          gcx*)
15418	    # Green Hills C++ Compiler
15419	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15420
15421	    # The C++ compiler must be used to create the archive.
15422	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15423	    ;;
15424          *)
15425	    # GNU C++ compiler with Solaris linker
15426	    if test yes,no = "$GXX,$with_gnu_ld"; then
15427	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15428	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15429	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15430	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15431                  $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'
15432
15433	        # Commands to make compiler produce verbose output that lists
15434	        # what "hidden" libraries, object files and flags are used when
15435	        # linking a shared library.
15436	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15437	      else
15438	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15439	        # platform.
15440	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15441	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15442                  $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'
15443
15444	        # Commands to make compiler produce verbose output that lists
15445	        # what "hidden" libraries, object files and flags are used when
15446	        # linking a shared library.
15447	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15448	      fi
15449
15450	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15451	      case $host_os in
15452		solaris2.[0-5] | solaris2.[0-5].*) ;;
15453		*)
15454		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15455		  ;;
15456	      esac
15457	    fi
15458	    ;;
15459        esac
15460        ;;
15461
15462    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15463      no_undefined_flag_CXX='$wl-z,text'
15464      archive_cmds_need_lc_CXX=no
15465      hardcode_shlibpath_var_CXX=no
15466      runpath_var='LD_RUN_PATH'
15467
15468      case $cc_basename in
15469        CC*)
15470	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15471	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15472	  ;;
15473	*)
15474	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15475	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15476	  ;;
15477      esac
15478      ;;
15479
15480      sysv5* | sco3.2v5* | sco5v6*)
15481	# Note: We CANNOT use -z defs as we might desire, because we do not
15482	# link with -lc, and that would cause any symbols used from libc to
15483	# always be unresolved, which means just about no library would
15484	# ever link correctly.  If we're not using GNU ld we use -z text
15485	# though, which does catch some bad symbols but isn't as heavy-handed
15486	# as -z defs.
15487	no_undefined_flag_CXX='$wl-z,text'
15488	allow_undefined_flag_CXX='$wl-z,nodefs'
15489	archive_cmds_need_lc_CXX=no
15490	hardcode_shlibpath_var_CXX=no
15491	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15492	hardcode_libdir_separator_CXX=':'
15493	link_all_deplibs_CXX=yes
15494	export_dynamic_flag_spec_CXX='$wl-Bexport'
15495	runpath_var='LD_RUN_PATH'
15496
15497	case $cc_basename in
15498          CC*)
15499	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15500	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15501	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15502              '"$old_archive_cmds_CXX"
15503	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15504              '"$reload_cmds_CXX"
15505	    ;;
15506	  *)
15507	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15508	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15509	    ;;
15510	esac
15511      ;;
15512
15513      tandem*)
15514        case $cc_basename in
15515          NCC*)
15516	    # NonStop-UX NCC 3.20
15517	    # FIXME: insert proper C++ library support
15518	    ld_shlibs_CXX=no
15519	    ;;
15520          *)
15521	    # FIXME: insert proper C++ library support
15522	    ld_shlibs_CXX=no
15523	    ;;
15524        esac
15525        ;;
15526
15527      vxworks*)
15528        # FIXME: insert proper C++ library support
15529        ld_shlibs_CXX=no
15530        ;;
15531
15532      *)
15533        # FIXME: insert proper C++ library support
15534        ld_shlibs_CXX=no
15535        ;;
15536    esac
15537
15538    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15539$as_echo "$ld_shlibs_CXX" >&6; }
15540    test no = "$ld_shlibs_CXX" && can_build_shared=no
15541
15542    GCC_CXX=$GXX
15543    LD_CXX=$LD
15544
15545    ## CAVEAT EMPTOR:
15546    ## There is no encapsulation within the following macros, do not change
15547    ## the running order or otherwise move them around unless you know exactly
15548    ## what you are doing...
15549    # Dependencies to place before and after the object being linked:
15550predep_objects_CXX=
15551postdep_objects_CXX=
15552predeps_CXX=
15553postdeps_CXX=
15554compiler_lib_search_path_CXX=
15555
15556cat > conftest.$ac_ext <<_LT_EOF
15557class Foo
15558{
15559public:
15560  Foo (void) { a = 0; }
15561private:
15562  int a;
15563};
15564_LT_EOF
15565
15566
15567_lt_libdeps_save_CFLAGS=$CFLAGS
15568case "$CC $CFLAGS " in #(
15569*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15570*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15571*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15572esac
15573
15574if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15575  (eval $ac_compile) 2>&5
15576  ac_status=$?
15577  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15578  test $ac_status = 0; }; then
15579  # Parse the compiler output and extract the necessary
15580  # objects, libraries and library flags.
15581
15582  # Sentinel used to keep track of whether or not we are before
15583  # the conftest object file.
15584  pre_test_object_deps_done=no
15585
15586  for p in `eval "$output_verbose_link_cmd"`; do
15587    case $prev$p in
15588
15589    -L* | -R* | -l*)
15590       # Some compilers place space between "-{L,R}" and the path.
15591       # Remove the space.
15592       if test x-L = "$p" ||
15593          test x-R = "$p"; then
15594	 prev=$p
15595	 continue
15596       fi
15597
15598       # Expand the sysroot to ease extracting the directories later.
15599       if test -z "$prev"; then
15600         case $p in
15601         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15602         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15603         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15604         esac
15605       fi
15606       case $p in
15607       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15608       esac
15609       if test no = "$pre_test_object_deps_done"; then
15610	 case $prev in
15611	 -L | -R)
15612	   # Internal compiler library paths should come after those
15613	   # provided the user.  The postdeps already come after the
15614	   # user supplied libs so there is no need to process them.
15615	   if test -z "$compiler_lib_search_path_CXX"; then
15616	     compiler_lib_search_path_CXX=$prev$p
15617	   else
15618	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15619	   fi
15620	   ;;
15621	 # The "-l" case would never come before the object being
15622	 # linked, so don't bother handling this case.
15623	 esac
15624       else
15625	 if test -z "$postdeps_CXX"; then
15626	   postdeps_CXX=$prev$p
15627	 else
15628	   postdeps_CXX="${postdeps_CXX} $prev$p"
15629	 fi
15630       fi
15631       prev=
15632       ;;
15633
15634    *.lto.$objext) ;; # Ignore GCC LTO objects
15635    *.$objext)
15636       # This assumes that the test object file only shows up
15637       # once in the compiler output.
15638       if test "$p" = "conftest.$objext"; then
15639	 pre_test_object_deps_done=yes
15640	 continue
15641       fi
15642
15643       if test no = "$pre_test_object_deps_done"; then
15644	 if test -z "$predep_objects_CXX"; then
15645	   predep_objects_CXX=$p
15646	 else
15647	   predep_objects_CXX="$predep_objects_CXX $p"
15648	 fi
15649       else
15650	 if test -z "$postdep_objects_CXX"; then
15651	   postdep_objects_CXX=$p
15652	 else
15653	   postdep_objects_CXX="$postdep_objects_CXX $p"
15654	 fi
15655       fi
15656       ;;
15657
15658    *) ;; # Ignore the rest.
15659
15660    esac
15661  done
15662
15663  # Clean up.
15664  rm -f a.out a.exe
15665else
15666  echo "libtool.m4: error: problem compiling CXX test program"
15667fi
15668
15669$RM -f confest.$objext
15670CFLAGS=$_lt_libdeps_save_CFLAGS
15671
15672# PORTME: override above test on systems where it is broken
15673case $host_os in
15674interix[3-9]*)
15675  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15676  # hack all around it, let's just trust "g++" to DTRT.
15677  predep_objects_CXX=
15678  postdep_objects_CXX=
15679  postdeps_CXX=
15680  ;;
15681esac
15682
15683
15684case " $postdeps_CXX " in
15685*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15686esac
15687 compiler_lib_search_dirs_CXX=
15688if test -n "${compiler_lib_search_path_CXX}"; then
15689 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15690fi
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722    lt_prog_compiler_wl_CXX=
15723lt_prog_compiler_pic_CXX=
15724lt_prog_compiler_static_CXX=
15725
15726
15727  # C++ specific cases for pic, static, wl, etc.
15728  if test yes = "$GXX"; then
15729    lt_prog_compiler_wl_CXX='-Wl,'
15730    lt_prog_compiler_static_CXX='-static'
15731
15732    case $host_os in
15733    aix*)
15734      # All AIX code is PIC.
15735      if test ia64 = "$host_cpu"; then
15736	# AIX 5 now supports IA64 processor
15737	lt_prog_compiler_static_CXX='-Bstatic'
15738      fi
15739      lt_prog_compiler_pic_CXX='-fPIC'
15740      ;;
15741
15742    amigaos*)
15743      case $host_cpu in
15744      powerpc)
15745            # see comment about AmigaOS4 .so support
15746            lt_prog_compiler_pic_CXX='-fPIC'
15747        ;;
15748      m68k)
15749            # FIXME: we need at least 68020 code to build shared libraries, but
15750            # adding the '-m68020' flag to GCC prevents building anything better,
15751            # like '-m68040'.
15752            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15753        ;;
15754      esac
15755      ;;
15756
15757    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15758      # PIC is the default for these OSes.
15759      ;;
15760    mingw* | cygwin* | os2* | pw32* | cegcc*)
15761      # This hack is so that the source file can tell whether it is being
15762      # built for inclusion in a dll (and should export symbols for example).
15763      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15764      # (--disable-auto-import) libraries
15765      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15766      case $host_os in
15767      os2*)
15768	lt_prog_compiler_static_CXX='$wl-static'
15769	;;
15770      esac
15771      ;;
15772    darwin* | rhapsody*)
15773      # PIC is the default on this platform
15774      # Common symbols not allowed in MH_DYLIB files
15775      lt_prog_compiler_pic_CXX='-fno-common'
15776      ;;
15777    *djgpp*)
15778      # DJGPP does not support shared libraries at all
15779      lt_prog_compiler_pic_CXX=
15780      ;;
15781    haiku*)
15782      # PIC is the default for Haiku.
15783      # The "-static" flag exists, but is broken.
15784      lt_prog_compiler_static_CXX=
15785      ;;
15786    interix[3-9]*)
15787      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15788      # Instead, we relocate shared libraries at runtime.
15789      ;;
15790    sysv4*MP*)
15791      if test -d /usr/nec; then
15792	lt_prog_compiler_pic_CXX=-Kconform_pic
15793      fi
15794      ;;
15795    hpux*)
15796      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15797      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15798      # sets the default TLS model and affects inlining.
15799      case $host_cpu in
15800      hppa*64*)
15801	;;
15802      *)
15803	lt_prog_compiler_pic_CXX='-fPIC'
15804	;;
15805      esac
15806      ;;
15807    *qnx* | *nto*)
15808      # QNX uses GNU C++, but need to define -shared option too, otherwise
15809      # it will coredump.
15810      lt_prog_compiler_pic_CXX='-fPIC -shared'
15811      ;;
15812    *)
15813      lt_prog_compiler_pic_CXX='-fPIC'
15814      ;;
15815    esac
15816  else
15817    case $host_os in
15818      aix[4-9]*)
15819	# All AIX code is PIC.
15820	if test ia64 = "$host_cpu"; then
15821	  # AIX 5 now supports IA64 processor
15822	  lt_prog_compiler_static_CXX='-Bstatic'
15823	else
15824	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15825	fi
15826	;;
15827      chorus*)
15828	case $cc_basename in
15829	cxch68*)
15830	  # Green Hills C++ Compiler
15831	  # _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"
15832	  ;;
15833	esac
15834	;;
15835      mingw* | cygwin* | os2* | pw32* | cegcc*)
15836	# This hack is so that the source file can tell whether it is being
15837	# built for inclusion in a dll (and should export symbols for example).
15838	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15839	;;
15840      dgux*)
15841	case $cc_basename in
15842	  ec++*)
15843	    lt_prog_compiler_pic_CXX='-KPIC'
15844	    ;;
15845	  ghcx*)
15846	    # Green Hills C++ Compiler
15847	    lt_prog_compiler_pic_CXX='-pic'
15848	    ;;
15849	  *)
15850	    ;;
15851	esac
15852	;;
15853      freebsd* | dragonfly*)
15854	# FreeBSD uses GNU C++
15855	;;
15856      hpux9* | hpux10* | hpux11*)
15857	case $cc_basename in
15858	  CC*)
15859	    lt_prog_compiler_wl_CXX='-Wl,'
15860	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15861	    if test ia64 != "$host_cpu"; then
15862	      lt_prog_compiler_pic_CXX='+Z'
15863	    fi
15864	    ;;
15865	  aCC*)
15866	    lt_prog_compiler_wl_CXX='-Wl,'
15867	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15868	    case $host_cpu in
15869	    hppa*64*|ia64*)
15870	      # +Z the default
15871	      ;;
15872	    *)
15873	      lt_prog_compiler_pic_CXX='+Z'
15874	      ;;
15875	    esac
15876	    ;;
15877	  *)
15878	    ;;
15879	esac
15880	;;
15881      interix*)
15882	# This is c89, which is MS Visual C++ (no shared libs)
15883	# Anyone wants to do a port?
15884	;;
15885      irix5* | irix6* | nonstopux*)
15886	case $cc_basename in
15887	  CC*)
15888	    lt_prog_compiler_wl_CXX='-Wl,'
15889	    lt_prog_compiler_static_CXX='-non_shared'
15890	    # CC pic flag -KPIC is the default.
15891	    ;;
15892	  *)
15893	    ;;
15894	esac
15895	;;
15896      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15897	case $cc_basename in
15898	  KCC*)
15899	    # KAI C++ Compiler
15900	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15901	    lt_prog_compiler_pic_CXX='-fPIC'
15902	    ;;
15903	  ecpc* )
15904	    # old Intel C++ for x86_64, which still supported -KPIC.
15905	    lt_prog_compiler_wl_CXX='-Wl,'
15906	    lt_prog_compiler_pic_CXX='-KPIC'
15907	    lt_prog_compiler_static_CXX='-static'
15908	    ;;
15909	  icpc* )
15910	    # Intel C++, used to be incompatible with GCC.
15911	    # ICC 10 doesn't accept -KPIC any more.
15912	    lt_prog_compiler_wl_CXX='-Wl,'
15913	    lt_prog_compiler_pic_CXX='-fPIC'
15914	    lt_prog_compiler_static_CXX='-static'
15915	    ;;
15916	  pgCC* | pgcpp*)
15917	    # Portland Group C++ compiler
15918	    lt_prog_compiler_wl_CXX='-Wl,'
15919	    lt_prog_compiler_pic_CXX='-fpic'
15920	    lt_prog_compiler_static_CXX='-Bstatic'
15921	    ;;
15922	  cxx*)
15923	    # Compaq C++
15924	    # Make sure the PIC flag is empty.  It appears that all Alpha
15925	    # Linux and Compaq Tru64 Unix objects are PIC.
15926	    lt_prog_compiler_pic_CXX=
15927	    lt_prog_compiler_static_CXX='-non_shared'
15928	    ;;
15929	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15930	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15931	    lt_prog_compiler_wl_CXX='-Wl,'
15932	    lt_prog_compiler_pic_CXX='-qpic'
15933	    lt_prog_compiler_static_CXX='-qstaticlink'
15934	    ;;
15935	  *)
15936	    case `$CC -V 2>&1 | sed 5q` in
15937	    *Sun\ C*)
15938	      # Sun C++ 5.9
15939	      lt_prog_compiler_pic_CXX='-KPIC'
15940	      lt_prog_compiler_static_CXX='-Bstatic'
15941	      lt_prog_compiler_wl_CXX='-Qoption ld '
15942	      ;;
15943	    esac
15944	    ;;
15945	esac
15946	;;
15947      lynxos*)
15948	;;
15949      m88k*)
15950	;;
15951      mvs*)
15952	case $cc_basename in
15953	  cxx*)
15954	    lt_prog_compiler_pic_CXX='-W c,exportall'
15955	    ;;
15956	  *)
15957	    ;;
15958	esac
15959	;;
15960      netbsd*)
15961	;;
15962      *qnx* | *nto*)
15963        # QNX uses GNU C++, but need to define -shared option too, otherwise
15964        # it will coredump.
15965        lt_prog_compiler_pic_CXX='-fPIC -shared'
15966        ;;
15967      osf3* | osf4* | osf5*)
15968	case $cc_basename in
15969	  KCC*)
15970	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15971	    ;;
15972	  RCC*)
15973	    # Rational C++ 2.4.1
15974	    lt_prog_compiler_pic_CXX='-pic'
15975	    ;;
15976	  cxx*)
15977	    # Digital/Compaq C++
15978	    lt_prog_compiler_wl_CXX='-Wl,'
15979	    # Make sure the PIC flag is empty.  It appears that all Alpha
15980	    # Linux and Compaq Tru64 Unix objects are PIC.
15981	    lt_prog_compiler_pic_CXX=
15982	    lt_prog_compiler_static_CXX='-non_shared'
15983	    ;;
15984	  *)
15985	    ;;
15986	esac
15987	;;
15988      psos*)
15989	;;
15990      solaris*)
15991	case $cc_basename in
15992	  CC* | sunCC*)
15993	    # Sun C++ 4.2, 5.x and Centerline C++
15994	    lt_prog_compiler_pic_CXX='-KPIC'
15995	    lt_prog_compiler_static_CXX='-Bstatic'
15996	    lt_prog_compiler_wl_CXX='-Qoption ld '
15997	    ;;
15998	  gcx*)
15999	    # Green Hills C++ Compiler
16000	    lt_prog_compiler_pic_CXX='-PIC'
16001	    ;;
16002	  *)
16003	    ;;
16004	esac
16005	;;
16006      sunos4*)
16007	case $cc_basename in
16008	  CC*)
16009	    # Sun C++ 4.x
16010	    lt_prog_compiler_pic_CXX='-pic'
16011	    lt_prog_compiler_static_CXX='-Bstatic'
16012	    ;;
16013	  lcc*)
16014	    # Lucid
16015	    lt_prog_compiler_pic_CXX='-pic'
16016	    ;;
16017	  *)
16018	    ;;
16019	esac
16020	;;
16021      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16022	case $cc_basename in
16023	  CC*)
16024	    lt_prog_compiler_wl_CXX='-Wl,'
16025	    lt_prog_compiler_pic_CXX='-KPIC'
16026	    lt_prog_compiler_static_CXX='-Bstatic'
16027	    ;;
16028	esac
16029	;;
16030      tandem*)
16031	case $cc_basename in
16032	  NCC*)
16033	    # NonStop-UX NCC 3.20
16034	    lt_prog_compiler_pic_CXX='-KPIC'
16035	    ;;
16036	  *)
16037	    ;;
16038	esac
16039	;;
16040      vxworks*)
16041	;;
16042      *)
16043	lt_prog_compiler_can_build_shared_CXX=no
16044	;;
16045    esac
16046  fi
16047
16048case $host_os in
16049  # For platforms that do not support PIC, -DPIC is meaningless:
16050  *djgpp*)
16051    lt_prog_compiler_pic_CXX=
16052    ;;
16053  *)
16054    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16055    ;;
16056esac
16057
16058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16059$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16060if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16061  $as_echo_n "(cached) " >&6
16062else
16063  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16064fi
16065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16066$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16067lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16068
16069#
16070# Check to make sure the PIC flag actually works.
16071#
16072if test -n "$lt_prog_compiler_pic_CXX"; then
16073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16074$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16075if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16076  $as_echo_n "(cached) " >&6
16077else
16078  lt_cv_prog_compiler_pic_works_CXX=no
16079   ac_outfile=conftest.$ac_objext
16080   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16081   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16082   # Insert the option either (1) after the last *FLAGS variable, or
16083   # (2) before a word containing "conftest.", or (3) at the end.
16084   # Note that $ac_compile itself does not contain backslashes and begins
16085   # with a dollar sign (not a hyphen), so the echo should work correctly.
16086   # The option is referenced via a variable to avoid confusing sed.
16087   lt_compile=`echo "$ac_compile" | $SED \
16088   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16089   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16090   -e 's:$: $lt_compiler_flag:'`
16091   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16092   (eval "$lt_compile" 2>conftest.err)
16093   ac_status=$?
16094   cat conftest.err >&5
16095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096   if (exit $ac_status) && test -s "$ac_outfile"; then
16097     # The compiler can only warn and ignore the option if not recognized
16098     # So say no if there are warnings other than the usual output.
16099     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16100     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16101     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16102       lt_cv_prog_compiler_pic_works_CXX=yes
16103     fi
16104   fi
16105   $RM conftest*
16106
16107fi
16108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16109$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16110
16111if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16112    case $lt_prog_compiler_pic_CXX in
16113     "" | " "*) ;;
16114     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16115     esac
16116else
16117    lt_prog_compiler_pic_CXX=
16118     lt_prog_compiler_can_build_shared_CXX=no
16119fi
16120
16121fi
16122
16123
16124
16125
16126
16127#
16128# Check to make sure the static flag actually works.
16129#
16130wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16132$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16133if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16134  $as_echo_n "(cached) " >&6
16135else
16136  lt_cv_prog_compiler_static_works_CXX=no
16137   save_LDFLAGS=$LDFLAGS
16138   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16139   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16140   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16141     # The linker can only warn and ignore the option if not recognized
16142     # So say no if there are warnings
16143     if test -s conftest.err; then
16144       # Append any errors to the config.log.
16145       cat conftest.err 1>&5
16146       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16147       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16148       if diff conftest.exp conftest.er2 >/dev/null; then
16149         lt_cv_prog_compiler_static_works_CXX=yes
16150       fi
16151     else
16152       lt_cv_prog_compiler_static_works_CXX=yes
16153     fi
16154   fi
16155   $RM -r conftest*
16156   LDFLAGS=$save_LDFLAGS
16157
16158fi
16159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16160$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16161
16162if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16163    :
16164else
16165    lt_prog_compiler_static_CXX=
16166fi
16167
16168
16169
16170
16171    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16172$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16173if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16174  $as_echo_n "(cached) " >&6
16175else
16176  lt_cv_prog_compiler_c_o_CXX=no
16177   $RM -r conftest 2>/dev/null
16178   mkdir conftest
16179   cd conftest
16180   mkdir out
16181   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16182
16183   lt_compiler_flag="-o out/conftest2.$ac_objext"
16184   # Insert the option either (1) after the last *FLAGS variable, or
16185   # (2) before a word containing "conftest.", or (3) at the end.
16186   # Note that $ac_compile itself does not contain backslashes and begins
16187   # with a dollar sign (not a hyphen), so the echo should work correctly.
16188   lt_compile=`echo "$ac_compile" | $SED \
16189   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16190   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16191   -e 's:$: $lt_compiler_flag:'`
16192   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16193   (eval "$lt_compile" 2>out/conftest.err)
16194   ac_status=$?
16195   cat out/conftest.err >&5
16196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16198   then
16199     # The compiler can only warn and ignore the option if not recognized
16200     # So say no if there are warnings
16201     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16202     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16203     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16204       lt_cv_prog_compiler_c_o_CXX=yes
16205     fi
16206   fi
16207   chmod u+w . 2>&5
16208   $RM conftest*
16209   # SGI C++ compiler will create directory out/ii_files/ for
16210   # template instantiation
16211   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16212   $RM out/* && rmdir out
16213   cd ..
16214   $RM -r conftest
16215   $RM conftest*
16216
16217fi
16218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16219$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16220
16221
16222
16223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16224$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16225if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16226  $as_echo_n "(cached) " >&6
16227else
16228  lt_cv_prog_compiler_c_o_CXX=no
16229   $RM -r conftest 2>/dev/null
16230   mkdir conftest
16231   cd conftest
16232   mkdir out
16233   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16234
16235   lt_compiler_flag="-o out/conftest2.$ac_objext"
16236   # Insert the option either (1) after the last *FLAGS variable, or
16237   # (2) before a word containing "conftest.", or (3) at the end.
16238   # Note that $ac_compile itself does not contain backslashes and begins
16239   # with a dollar sign (not a hyphen), so the echo should work correctly.
16240   lt_compile=`echo "$ac_compile" | $SED \
16241   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16242   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16243   -e 's:$: $lt_compiler_flag:'`
16244   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16245   (eval "$lt_compile" 2>out/conftest.err)
16246   ac_status=$?
16247   cat out/conftest.err >&5
16248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16250   then
16251     # The compiler can only warn and ignore the option if not recognized
16252     # So say no if there are warnings
16253     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16254     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16255     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16256       lt_cv_prog_compiler_c_o_CXX=yes
16257     fi
16258   fi
16259   chmod u+w . 2>&5
16260   $RM conftest*
16261   # SGI C++ compiler will create directory out/ii_files/ for
16262   # template instantiation
16263   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16264   $RM out/* && rmdir out
16265   cd ..
16266   $RM -r conftest
16267   $RM conftest*
16268
16269fi
16270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16271$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16272
16273
16274
16275
16276hard_links=nottested
16277if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16278  # do not overwrite the value of need_locks provided by the user
16279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16280$as_echo_n "checking if we can lock with hard links... " >&6; }
16281  hard_links=yes
16282  $RM conftest*
16283  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16284  touch conftest.a
16285  ln conftest.a conftest.b 2>&5 || hard_links=no
16286  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16288$as_echo "$hard_links" >&6; }
16289  if test no = "$hard_links"; then
16290    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16291$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16292    need_locks=warn
16293  fi
16294else
16295  need_locks=no
16296fi
16297
16298
16299
16300    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16301$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16302
16303  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16304  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16305  case $host_os in
16306  aix[4-9]*)
16307    # If we're using GNU nm, then we don't want the "-C" option.
16308    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16309    # Without the "-l" option, or with the "-B" option, AIX nm treats
16310    # weak defined symbols like other global defined symbols, whereas
16311    # GNU nm marks them as "W".
16312    # While the 'weak' keyword is ignored in the Export File, we need
16313    # it in the Import File for the 'aix-soname' feature, so we have
16314    # to replace the "-B" option with "-P" for AIX nm.
16315    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16316      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'
16317    else
16318      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'
16319    fi
16320    ;;
16321  pw32*)
16322    export_symbols_cmds_CXX=$ltdll_cmds
16323    ;;
16324  cygwin* | mingw* | cegcc*)
16325    case $cc_basename in
16326    cl*)
16327      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16328      ;;
16329    *)
16330      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'
16331      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16332      ;;
16333    esac
16334    ;;
16335  *)
16336    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16337    ;;
16338  esac
16339
16340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16341$as_echo "$ld_shlibs_CXX" >&6; }
16342test no = "$ld_shlibs_CXX" && can_build_shared=no
16343
16344with_gnu_ld_CXX=$with_gnu_ld
16345
16346
16347
16348
16349
16350
16351#
16352# Do we need to explicitly link libc?
16353#
16354case "x$archive_cmds_need_lc_CXX" in
16355x|xyes)
16356  # Assume -lc should be added
16357  archive_cmds_need_lc_CXX=yes
16358
16359  if test yes,yes = "$GCC,$enable_shared"; then
16360    case $archive_cmds_CXX in
16361    *'~'*)
16362      # FIXME: we may have to deal with multi-command sequences.
16363      ;;
16364    '$CC '*)
16365      # Test whether the compiler implicitly links with -lc since on some
16366      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16367      # to ld, don't add -lc before -lgcc.
16368      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16369$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16370if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16371  $as_echo_n "(cached) " >&6
16372else
16373  $RM conftest*
16374	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16375
16376	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16377  (eval $ac_compile) 2>&5
16378  ac_status=$?
16379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16380  test $ac_status = 0; } 2>conftest.err; then
16381	  soname=conftest
16382	  lib=conftest
16383	  libobjs=conftest.$ac_objext
16384	  deplibs=
16385	  wl=$lt_prog_compiler_wl_CXX
16386	  pic_flag=$lt_prog_compiler_pic_CXX
16387	  compiler_flags=-v
16388	  linker_flags=-v
16389	  verstring=
16390	  output_objdir=.
16391	  libname=conftest
16392	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16393	  allow_undefined_flag_CXX=
16394	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16395  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16396  ac_status=$?
16397  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16398  test $ac_status = 0; }
16399	  then
16400	    lt_cv_archive_cmds_need_lc_CXX=no
16401	  else
16402	    lt_cv_archive_cmds_need_lc_CXX=yes
16403	  fi
16404	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16405	else
16406	  cat conftest.err 1>&5
16407	fi
16408	$RM conftest*
16409
16410fi
16411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16412$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16413      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16414      ;;
16415    esac
16416  fi
16417  ;;
16418esac
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16482$as_echo_n "checking dynamic linker characteristics... " >&6; }
16483
16484library_names_spec=
16485libname_spec='lib$name'
16486soname_spec=
16487shrext_cmds=.so
16488postinstall_cmds=
16489postuninstall_cmds=
16490finish_cmds=
16491finish_eval=
16492shlibpath_var=
16493shlibpath_overrides_runpath=unknown
16494version_type=none
16495dynamic_linker="$host_os ld.so"
16496sys_lib_dlsearch_path_spec="/lib /usr/lib"
16497need_lib_prefix=unknown
16498hardcode_into_libs=no
16499
16500# when you set need_version to no, make sure it does not cause -set_version
16501# flags to be left without arguments
16502need_version=unknown
16503
16504
16505
16506case $host_os in
16507aix3*)
16508  version_type=linux # correct to gnu/linux during the next big refactor
16509  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16510  shlibpath_var=LIBPATH
16511
16512  # AIX 3 has no versioning support, so we append a major version to the name.
16513  soname_spec='$libname$release$shared_ext$major'
16514  ;;
16515
16516aix[4-9]*)
16517  version_type=linux # correct to gnu/linux during the next big refactor
16518  need_lib_prefix=no
16519  need_version=no
16520  hardcode_into_libs=yes
16521  if test ia64 = "$host_cpu"; then
16522    # AIX 5 supports IA64
16523    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16524    shlibpath_var=LD_LIBRARY_PATH
16525  else
16526    # With GCC up to 2.95.x, collect2 would create an import file
16527    # for dependence libraries.  The import file would start with
16528    # the line '#! .'.  This would cause the generated library to
16529    # depend on '.', always an invalid library.  This was fixed in
16530    # development snapshots of GCC prior to 3.0.
16531    case $host_os in
16532      aix4 | aix4.[01] | aix4.[01].*)
16533      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16534	   echo ' yes '
16535	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16536	:
16537      else
16538	can_build_shared=no
16539      fi
16540      ;;
16541    esac
16542    # Using Import Files as archive members, it is possible to support
16543    # filename-based versioning of shared library archives on AIX. While
16544    # this would work for both with and without runtime linking, it will
16545    # prevent static linking of such archives. So we do filename-based
16546    # shared library versioning with .so extension only, which is used
16547    # when both runtime linking and shared linking is enabled.
16548    # Unfortunately, runtime linking may impact performance, so we do
16549    # not want this to be the default eventually. Also, we use the
16550    # versioned .so libs for executables only if there is the -brtl
16551    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16552    # To allow for filename-based versioning support, we need to create
16553    # libNAME.so.V as an archive file, containing:
16554    # *) an Import File, referring to the versioned filename of the
16555    #    archive as well as the shared archive member, telling the
16556    #    bitwidth (32 or 64) of that shared object, and providing the
16557    #    list of exported symbols of that shared object, eventually
16558    #    decorated with the 'weak' keyword
16559    # *) the shared object with the F_LOADONLY flag set, to really avoid
16560    #    it being seen by the linker.
16561    # At run time we better use the real file rather than another symlink,
16562    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16563
16564    case $with_aix_soname,$aix_use_runtimelinking in
16565    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16566    # soname into executable. Probably we can add versioning support to
16567    # collect2, so additional links can be useful in future.
16568    aix,yes) # traditional libtool
16569      dynamic_linker='AIX unversionable lib.so'
16570      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16571      # instead of lib<name>.a to let people know that these are not
16572      # typical AIX shared libraries.
16573      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16574      ;;
16575    aix,no) # traditional AIX only
16576      dynamic_linker='AIX lib.a(lib.so.V)'
16577      # We preserve .a as extension for shared libraries through AIX4.2
16578      # and later when we are not doing run time linking.
16579      library_names_spec='$libname$release.a $libname.a'
16580      soname_spec='$libname$release$shared_ext$major'
16581      ;;
16582    svr4,*) # full svr4 only
16583      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16584      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16585      # We do not specify a path in Import Files, so LIBPATH fires.
16586      shlibpath_overrides_runpath=yes
16587      ;;
16588    *,yes) # both, prefer svr4
16589      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16590      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16591      # unpreferred sharedlib libNAME.a needs extra handling
16592      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"'
16593      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"'
16594      # We do not specify a path in Import Files, so LIBPATH fires.
16595      shlibpath_overrides_runpath=yes
16596      ;;
16597    *,no) # both, prefer aix
16598      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16599      library_names_spec='$libname$release.a $libname.a'
16600      soname_spec='$libname$release$shared_ext$major'
16601      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16602      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)'
16603      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"'
16604      ;;
16605    esac
16606    shlibpath_var=LIBPATH
16607  fi
16608  ;;
16609
16610amigaos*)
16611  case $host_cpu in
16612  powerpc)
16613    # Since July 2007 AmigaOS4 officially supports .so libraries.
16614    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16615    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16616    ;;
16617  m68k)
16618    library_names_spec='$libname.ixlibrary $libname.a'
16619    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16620    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'
16621    ;;
16622  esac
16623  ;;
16624
16625beos*)
16626  library_names_spec='$libname$shared_ext'
16627  dynamic_linker="$host_os ld.so"
16628  shlibpath_var=LIBRARY_PATH
16629  ;;
16630
16631bsdi[45]*)
16632  version_type=linux # correct to gnu/linux during the next big refactor
16633  need_version=no
16634  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16635  soname_spec='$libname$release$shared_ext$major'
16636  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16637  shlibpath_var=LD_LIBRARY_PATH
16638  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16639  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16640  # the default ld.so.conf also contains /usr/contrib/lib and
16641  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16642  # libtool to hard-code these into programs
16643  ;;
16644
16645cygwin* | mingw* | pw32* | cegcc*)
16646  version_type=windows
16647  shrext_cmds=.dll
16648  need_version=no
16649  need_lib_prefix=no
16650
16651  case $GCC,$cc_basename in
16652  yes,*)
16653    # gcc
16654    library_names_spec='$libname.dll.a'
16655    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16656    postinstall_cmds='base_file=`basename \$file`~
16657      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16658      dldir=$destdir/`dirname \$dlpath`~
16659      test -d \$dldir || mkdir -p \$dldir~
16660      $install_prog $dir/$dlname \$dldir/$dlname~
16661      chmod a+x \$dldir/$dlname~
16662      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16663        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16664      fi'
16665    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16666      dlpath=$dir/\$dldll~
16667       $RM \$dlpath'
16668    shlibpath_overrides_runpath=yes
16669
16670    case $host_os in
16671    cygwin*)
16672      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16673      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16674
16675      ;;
16676    mingw* | cegcc*)
16677      # MinGW DLLs use traditional 'lib' prefix
16678      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16679      ;;
16680    pw32*)
16681      # pw32 DLLs use 'pw' prefix rather than 'lib'
16682      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16683      ;;
16684    esac
16685    dynamic_linker='Win32 ld.exe'
16686    ;;
16687
16688  *,cl*)
16689    # Native MSVC
16690    libname_spec='$name'
16691    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16692    library_names_spec='$libname.dll.lib'
16693
16694    case $build_os in
16695    mingw*)
16696      sys_lib_search_path_spec=
16697      lt_save_ifs=$IFS
16698      IFS=';'
16699      for lt_path in $LIB
16700      do
16701        IFS=$lt_save_ifs
16702        # Let DOS variable expansion print the short 8.3 style file name.
16703        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16704        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16705      done
16706      IFS=$lt_save_ifs
16707      # Convert to MSYS style.
16708      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16709      ;;
16710    cygwin*)
16711      # Convert to unix form, then to dos form, then back to unix form
16712      # but this time dos style (no spaces!) so that the unix form looks
16713      # like /cygdrive/c/PROGRA~1:/cygdr...
16714      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16715      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16716      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16717      ;;
16718    *)
16719      sys_lib_search_path_spec=$LIB
16720      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16721        # It is most probably a Windows format PATH.
16722        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16723      else
16724        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16725      fi
16726      # FIXME: find the short name or the path components, as spaces are
16727      # common. (e.g. "Program Files" -> "PROGRA~1")
16728      ;;
16729    esac
16730
16731    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16732    postinstall_cmds='base_file=`basename \$file`~
16733      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16734      dldir=$destdir/`dirname \$dlpath`~
16735      test -d \$dldir || mkdir -p \$dldir~
16736      $install_prog $dir/$dlname \$dldir/$dlname'
16737    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16738      dlpath=$dir/\$dldll~
16739       $RM \$dlpath'
16740    shlibpath_overrides_runpath=yes
16741    dynamic_linker='Win32 link.exe'
16742    ;;
16743
16744  *)
16745    # Assume MSVC wrapper
16746    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16747    dynamic_linker='Win32 ld.exe'
16748    ;;
16749  esac
16750  # FIXME: first we should search . and the directory the executable is in
16751  shlibpath_var=PATH
16752  ;;
16753
16754darwin* | rhapsody*)
16755  dynamic_linker="$host_os dyld"
16756  version_type=darwin
16757  need_lib_prefix=no
16758  need_version=no
16759  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16760  soname_spec='$libname$release$major$shared_ext'
16761  shlibpath_overrides_runpath=yes
16762  shlibpath_var=DYLD_LIBRARY_PATH
16763  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16764
16765  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16766  ;;
16767
16768dgux*)
16769  version_type=linux # correct to gnu/linux during the next big refactor
16770  need_lib_prefix=no
16771  need_version=no
16772  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16773  soname_spec='$libname$release$shared_ext$major'
16774  shlibpath_var=LD_LIBRARY_PATH
16775  ;;
16776
16777freebsd* | dragonfly*)
16778  # DragonFly does not have aout.  When/if they implement a new
16779  # versioning mechanism, adjust this.
16780  if test -x /usr/bin/objformat; then
16781    objformat=`/usr/bin/objformat`
16782  else
16783    case $host_os in
16784    freebsd[23].*) objformat=aout ;;
16785    *) objformat=elf ;;
16786    esac
16787  fi
16788  version_type=freebsd-$objformat
16789  case $version_type in
16790    freebsd-elf*)
16791      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16792      soname_spec='$libname$release$shared_ext$major'
16793      need_version=no
16794      need_lib_prefix=no
16795      ;;
16796    freebsd-*)
16797      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16798      need_version=yes
16799      ;;
16800  esac
16801  shlibpath_var=LD_LIBRARY_PATH
16802  case $host_os in
16803  freebsd2.*)
16804    shlibpath_overrides_runpath=yes
16805    ;;
16806  freebsd3.[01]* | freebsdelf3.[01]*)
16807    shlibpath_overrides_runpath=yes
16808    hardcode_into_libs=yes
16809    ;;
16810  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16811  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16812    shlibpath_overrides_runpath=no
16813    hardcode_into_libs=yes
16814    ;;
16815  *) # from 4.6 on, and DragonFly
16816    shlibpath_overrides_runpath=yes
16817    hardcode_into_libs=yes
16818    ;;
16819  esac
16820  ;;
16821
16822haiku*)
16823  version_type=linux # correct to gnu/linux during the next big refactor
16824  need_lib_prefix=no
16825  need_version=no
16826  dynamic_linker="$host_os runtime_loader"
16827  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16828  soname_spec='$libname$release$shared_ext$major'
16829  shlibpath_var=LIBRARY_PATH
16830  shlibpath_overrides_runpath=no
16831  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16832  hardcode_into_libs=yes
16833  ;;
16834
16835hpux9* | hpux10* | hpux11*)
16836  # Give a soname corresponding to the major version so that dld.sl refuses to
16837  # link against other versions.
16838  version_type=sunos
16839  need_lib_prefix=no
16840  need_version=no
16841  case $host_cpu in
16842  ia64*)
16843    shrext_cmds='.so'
16844    hardcode_into_libs=yes
16845    dynamic_linker="$host_os dld.so"
16846    shlibpath_var=LD_LIBRARY_PATH
16847    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16848    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16849    soname_spec='$libname$release$shared_ext$major'
16850    if test 32 = "$HPUX_IA64_MODE"; then
16851      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16852      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16853    else
16854      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16855      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16856    fi
16857    ;;
16858  hppa*64*)
16859    shrext_cmds='.sl'
16860    hardcode_into_libs=yes
16861    dynamic_linker="$host_os dld.sl"
16862    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16863    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16864    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16865    soname_spec='$libname$release$shared_ext$major'
16866    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16867    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16868    ;;
16869  *)
16870    shrext_cmds='.sl'
16871    dynamic_linker="$host_os dld.sl"
16872    shlibpath_var=SHLIB_PATH
16873    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16874    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16875    soname_spec='$libname$release$shared_ext$major'
16876    ;;
16877  esac
16878  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16879  postinstall_cmds='chmod 555 $lib'
16880  # or fails outright, so override atomically:
16881  install_override_mode=555
16882  ;;
16883
16884interix[3-9]*)
16885  version_type=linux # correct to gnu/linux during the next big refactor
16886  need_lib_prefix=no
16887  need_version=no
16888  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16889  soname_spec='$libname$release$shared_ext$major'
16890  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16891  shlibpath_var=LD_LIBRARY_PATH
16892  shlibpath_overrides_runpath=no
16893  hardcode_into_libs=yes
16894  ;;
16895
16896irix5* | irix6* | nonstopux*)
16897  case $host_os in
16898    nonstopux*) version_type=nonstopux ;;
16899    *)
16900	if test yes = "$lt_cv_prog_gnu_ld"; then
16901		version_type=linux # correct to gnu/linux during the next big refactor
16902	else
16903		version_type=irix
16904	fi ;;
16905  esac
16906  need_lib_prefix=no
16907  need_version=no
16908  soname_spec='$libname$release$shared_ext$major'
16909  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16910  case $host_os in
16911  irix5* | nonstopux*)
16912    libsuff= shlibsuff=
16913    ;;
16914  *)
16915    case $LD in # libtool.m4 will add one of these switches to LD
16916    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16917      libsuff= shlibsuff= libmagic=32-bit;;
16918    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16919      libsuff=32 shlibsuff=N32 libmagic=N32;;
16920    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16921      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16922    *) libsuff= shlibsuff= libmagic=never-match;;
16923    esac
16924    ;;
16925  esac
16926  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16927  shlibpath_overrides_runpath=no
16928  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16929  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16930  hardcode_into_libs=yes
16931  ;;
16932
16933# No shared lib support for Linux oldld, aout, or coff.
16934linux*oldld* | linux*aout* | linux*coff*)
16935  dynamic_linker=no
16936  ;;
16937
16938linux*android*)
16939  version_type=none # Android doesn't support versioned libraries.
16940  need_lib_prefix=no
16941  need_version=no
16942  library_names_spec='$libname$release$shared_ext'
16943  soname_spec='$libname$release$shared_ext'
16944  finish_cmds=
16945  shlibpath_var=LD_LIBRARY_PATH
16946  shlibpath_overrides_runpath=yes
16947
16948  # This implies no fast_install, which is unacceptable.
16949  # Some rework will be needed to allow for fast_install
16950  # before this can be enabled.
16951  hardcode_into_libs=yes
16952
16953  dynamic_linker='Android linker'
16954  # Don't embed -rpath directories since the linker doesn't support them.
16955  hardcode_libdir_flag_spec_CXX='-L$libdir'
16956  ;;
16957
16958# This must be glibc/ELF.
16959linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16960  version_type=linux # correct to gnu/linux during the next big refactor
16961  need_lib_prefix=no
16962  need_version=no
16963  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16964  soname_spec='$libname$release$shared_ext$major'
16965  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16966  shlibpath_var=LD_LIBRARY_PATH
16967  shlibpath_overrides_runpath=no
16968
16969  # Some binutils ld are patched to set DT_RUNPATH
16970  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16971  $as_echo_n "(cached) " >&6
16972else
16973  lt_cv_shlibpath_overrides_runpath=no
16974    save_LDFLAGS=$LDFLAGS
16975    save_libdir=$libdir
16976    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16977	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979/* end confdefs.h.  */
16980
16981int
16982main ()
16983{
16984
16985  ;
16986  return 0;
16987}
16988_ACEOF
16989if ac_fn_cxx_try_link "$LINENO"; then :
16990  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16991  lt_cv_shlibpath_overrides_runpath=yes
16992fi
16993fi
16994rm -f core conftest.err conftest.$ac_objext \
16995    conftest$ac_exeext conftest.$ac_ext
16996    LDFLAGS=$save_LDFLAGS
16997    libdir=$save_libdir
16998
16999fi
17000
17001  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17002
17003  # This implies no fast_install, which is unacceptable.
17004  # Some rework will be needed to allow for fast_install
17005  # before this can be enabled.
17006  hardcode_into_libs=yes
17007
17008  # Add ABI-specific directories to the system library path.
17009  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17010
17011  # Ideally, we could use ldconfig to report *all* directores which are
17012  # searched for libraries, however this is still not possible.  Aside from not
17013  # being certain /sbin/ldconfig is available, command
17014  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17015  # even though it is searched at run-time.  Try to do the best guess by
17016  # appending ld.so.conf contents (and includes) to the search path.
17017  if test -f /etc/ld.so.conf; then
17018    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' ' '`
17019    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17020  fi
17021
17022  # We used to test for /lib/ld.so.1 and disable shared libraries on
17023  # powerpc, because MkLinux only supported shared libraries with the
17024  # GNU dynamic linker.  Since this was broken with cross compilers,
17025  # most powerpc-linux boxes support dynamic linking these days and
17026  # people can always --disable-shared, the test was removed, and we
17027  # assume the GNU/Linux dynamic linker is in use.
17028  dynamic_linker='GNU/Linux ld.so'
17029  ;;
17030
17031netbsd*)
17032  version_type=sunos
17033  need_lib_prefix=no
17034  need_version=no
17035  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17036    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17037    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17038    dynamic_linker='NetBSD (a.out) ld.so'
17039  else
17040    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17041    soname_spec='$libname$release$shared_ext$major'
17042    dynamic_linker='NetBSD ld.elf_so'
17043  fi
17044  shlibpath_var=LD_LIBRARY_PATH
17045  shlibpath_overrides_runpath=yes
17046  hardcode_into_libs=yes
17047  ;;
17048
17049newsos6)
17050  version_type=linux # correct to gnu/linux during the next big refactor
17051  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17052  shlibpath_var=LD_LIBRARY_PATH
17053  shlibpath_overrides_runpath=yes
17054  ;;
17055
17056*nto* | *qnx*)
17057  version_type=qnx
17058  need_lib_prefix=no
17059  need_version=no
17060  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17061  soname_spec='$libname$release$shared_ext$major'
17062  shlibpath_var=LD_LIBRARY_PATH
17063  shlibpath_overrides_runpath=no
17064  hardcode_into_libs=yes
17065  dynamic_linker='ldqnx.so'
17066  ;;
17067
17068openbsd* | bitrig*)
17069  version_type=sunos
17070  sys_lib_dlsearch_path_spec=/usr/lib
17071  need_lib_prefix=no
17072  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17073    need_version=no
17074  else
17075    need_version=yes
17076  fi
17077  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17078  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17079  shlibpath_var=LD_LIBRARY_PATH
17080  shlibpath_overrides_runpath=yes
17081  ;;
17082
17083os2*)
17084  libname_spec='$name'
17085  version_type=windows
17086  shrext_cmds=.dll
17087  need_version=no
17088  need_lib_prefix=no
17089  # OS/2 can only load a DLL with a base name of 8 characters or less.
17090  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17091    v=$($ECHO $release$versuffix | tr -d .-);
17092    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17093    $ECHO $n$v`$shared_ext'
17094  library_names_spec='${libname}_dll.$libext'
17095  dynamic_linker='OS/2 ld.exe'
17096  shlibpath_var=BEGINLIBPATH
17097  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17098  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17099  postinstall_cmds='base_file=`basename \$file`~
17100    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17101    dldir=$destdir/`dirname \$dlpath`~
17102    test -d \$dldir || mkdir -p \$dldir~
17103    $install_prog $dir/$dlname \$dldir/$dlname~
17104    chmod a+x \$dldir/$dlname~
17105    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17106      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17107    fi'
17108  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17109    dlpath=$dir/\$dldll~
17110    $RM \$dlpath'
17111  ;;
17112
17113osf3* | osf4* | osf5*)
17114  version_type=osf
17115  need_lib_prefix=no
17116  need_version=no
17117  soname_spec='$libname$release$shared_ext$major'
17118  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17119  shlibpath_var=LD_LIBRARY_PATH
17120  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17121  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17122  ;;
17123
17124rdos*)
17125  dynamic_linker=no
17126  ;;
17127
17128solaris*)
17129  version_type=linux # correct to gnu/linux during the next big refactor
17130  need_lib_prefix=no
17131  need_version=no
17132  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17133  soname_spec='$libname$release$shared_ext$major'
17134  shlibpath_var=LD_LIBRARY_PATH
17135  shlibpath_overrides_runpath=yes
17136  hardcode_into_libs=yes
17137  # ldd complains unless libraries are executable
17138  postinstall_cmds='chmod +x $lib'
17139  ;;
17140
17141sunos4*)
17142  version_type=sunos
17143  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17144  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17145  shlibpath_var=LD_LIBRARY_PATH
17146  shlibpath_overrides_runpath=yes
17147  if test yes = "$with_gnu_ld"; then
17148    need_lib_prefix=no
17149  fi
17150  need_version=yes
17151  ;;
17152
17153sysv4 | sysv4.3*)
17154  version_type=linux # correct to gnu/linux during the next big refactor
17155  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17156  soname_spec='$libname$release$shared_ext$major'
17157  shlibpath_var=LD_LIBRARY_PATH
17158  case $host_vendor in
17159    sni)
17160      shlibpath_overrides_runpath=no
17161      need_lib_prefix=no
17162      runpath_var=LD_RUN_PATH
17163      ;;
17164    siemens)
17165      need_lib_prefix=no
17166      ;;
17167    motorola)
17168      need_lib_prefix=no
17169      need_version=no
17170      shlibpath_overrides_runpath=no
17171      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17172      ;;
17173  esac
17174  ;;
17175
17176sysv4*MP*)
17177  if test -d /usr/nec; then
17178    version_type=linux # correct to gnu/linux during the next big refactor
17179    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17180    soname_spec='$libname$shared_ext.$major'
17181    shlibpath_var=LD_LIBRARY_PATH
17182  fi
17183  ;;
17184
17185sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17186  version_type=sco
17187  need_lib_prefix=no
17188  need_version=no
17189  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17190  soname_spec='$libname$release$shared_ext$major'
17191  shlibpath_var=LD_LIBRARY_PATH
17192  shlibpath_overrides_runpath=yes
17193  hardcode_into_libs=yes
17194  if test yes = "$with_gnu_ld"; then
17195    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17196  else
17197    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17198    case $host_os in
17199      sco3.2v5*)
17200        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17201	;;
17202    esac
17203  fi
17204  sys_lib_dlsearch_path_spec='/usr/lib'
17205  ;;
17206
17207tpf*)
17208  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17209  version_type=linux # correct to gnu/linux during the next big refactor
17210  need_lib_prefix=no
17211  need_version=no
17212  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17213  shlibpath_var=LD_LIBRARY_PATH
17214  shlibpath_overrides_runpath=no
17215  hardcode_into_libs=yes
17216  ;;
17217
17218uts4*)
17219  version_type=linux # correct to gnu/linux during the next big refactor
17220  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17221  soname_spec='$libname$release$shared_ext$major'
17222  shlibpath_var=LD_LIBRARY_PATH
17223  ;;
17224
17225*)
17226  dynamic_linker=no
17227  ;;
17228esac
17229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17230$as_echo "$dynamic_linker" >&6; }
17231test no = "$dynamic_linker" && can_build_shared=no
17232
17233variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17234if test yes = "$GCC"; then
17235  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17236fi
17237
17238if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17239  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17240fi
17241
17242if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17243  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17244fi
17245
17246# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17247configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17248
17249# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17250func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17251
17252# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17253configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17295$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17296hardcode_action_CXX=
17297if test -n "$hardcode_libdir_flag_spec_CXX" ||
17298   test -n "$runpath_var_CXX" ||
17299   test yes = "$hardcode_automatic_CXX"; then
17300
17301  # We can hardcode non-existent directories.
17302  if test no != "$hardcode_direct_CXX" &&
17303     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17304     # have to relink, otherwise we might link with an installed library
17305     # when we should be linking with a yet-to-be-installed one
17306     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17307     test no != "$hardcode_minus_L_CXX"; then
17308    # Linking always hardcodes the temporary library directory.
17309    hardcode_action_CXX=relink
17310  else
17311    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17312    hardcode_action_CXX=immediate
17313  fi
17314else
17315  # We cannot hardcode anything, or else we can only hardcode existing
17316  # directories.
17317  hardcode_action_CXX=unsupported
17318fi
17319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17320$as_echo "$hardcode_action_CXX" >&6; }
17321
17322if test relink = "$hardcode_action_CXX" ||
17323   test yes = "$inherit_rpath_CXX"; then
17324  # Fast installation is not supported
17325  enable_fast_install=no
17326elif test yes = "$shlibpath_overrides_runpath" ||
17327     test no = "$enable_shared"; then
17328  # Fast installation is not necessary
17329  enable_fast_install=needless
17330fi
17331
17332
17333
17334
17335
17336
17337
17338  fi # test -n "$compiler"
17339
17340  CC=$lt_save_CC
17341  CFLAGS=$lt_save_CFLAGS
17342  LDCXX=$LD
17343  LD=$lt_save_LD
17344  GCC=$lt_save_GCC
17345  with_gnu_ld=$lt_save_with_gnu_ld
17346  lt_cv_path_LDCXX=$lt_cv_path_LD
17347  lt_cv_path_LD=$lt_save_path_LD
17348  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17349  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17350fi # test yes != "$_lt_caught_CXX_error"
17351
17352ac_ext=c
17353ac_cpp='$CPP $CPPFLAGS'
17354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356ac_compiler_gnu=$ac_cv_c_compiler_gnu
17357
17358
17359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the CLANG C compiler" >&5
17360$as_echo_n "checking whether we are using the CLANG C compiler... " >&6; }
17361if ${xiph_cv_c_compiler_clang+:} false; then :
17362  $as_echo_n "(cached) " >&6
17363else
17364
17365		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366/* end confdefs.h.  */
17367
17368			#include <stdio.h>
17369
17370int
17371main ()
17372{
17373
17374			#ifndef __clang__
17375				This is not clang!
17376			#endif
17377
17378  ;
17379  return 0;
17380}
17381_ACEOF
17382if ac_fn_c_try_link "$LINENO"; then :
17383  xiph_cv_c_compiler_clang=yes
17384else
17385  xiph_cv_c_compiler_clang=no
17386
17387fi
17388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xiph_cv_c_compiler_clang" >&5
17389$as_echo "$xiph_cv_c_compiler_clang" >&6; }
17390
17391fi
17392rm -f core conftest.err conftest.$ac_objext \
17393    conftest$ac_exeext conftest.$ac_ext
17394
17395
17396	if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
17397		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398/* end confdefs.h.  */
17399
17400			#include <stdio.h>
17401
17402int
17403main ()
17404{
17405
17406			#ifdef __clang__
17407				This is clang!
17408			#endif
17409
17410  ;
17411  return 0;
17412}
17413_ACEOF
17414if ac_fn_c_try_link "$LINENO"; then :
17415  ac_cv_c_compiler_gnu=yes
17416else
17417  ac_cv_c_compiler_gnu=no
17418
17419fi
17420rm -f core conftest.err conftest.$ac_objext \
17421    conftest$ac_exeext conftest.$ac_ext
17422		fi
17423
17424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
17425$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
17426set x ${MAKE-make}
17427ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
17428if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
17429  $as_echo_n "(cached) " >&6
17430else
17431  cat >conftest.make <<\_ACEOF
17432SHELL = /bin/sh
17433all:
17434	@echo '@@@%%%=$(MAKE)=@@@%%%'
17435_ACEOF
17436# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
17437case `${MAKE-make} -f conftest.make 2>/dev/null` in
17438  *@@@%%%=?*=@@@%%%*)
17439    eval ac_cv_prog_make_${ac_make}_set=yes;;
17440  *)
17441    eval ac_cv_prog_make_${ac_make}_set=no;;
17442esac
17443rm -f conftest.make
17444fi
17445if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
17446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17447$as_echo "yes" >&6; }
17448  SET_MAKE=
17449else
17450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17451$as_echo "no" >&6; }
17452  SET_MAKE="MAKE=${MAKE-make}"
17453fi
17454
17455
17456
17457# Check whether --enable-largefile was given.
17458if test "${enable_largefile+set}" = set; then :
17459  enableval=$enable_largefile;
17460fi
17461
17462if test "$enable_largefile" != no; then
17463
17464  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17465$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17466if ${ac_cv_sys_largefile_CC+:} false; then :
17467  $as_echo_n "(cached) " >&6
17468else
17469  ac_cv_sys_largefile_CC=no
17470     if test "$GCC" != yes; then
17471       ac_save_CC=$CC
17472       while :; do
17473	 # IRIX 6.2 and later do not support large files by default,
17474	 # so use the C compiler's -n32 option if that helps.
17475	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476/* end confdefs.h.  */
17477#include <sys/types.h>
17478 /* Check that off_t can represent 2**63 - 1 correctly.
17479    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17480    since some C++ compilers masquerading as C compilers
17481    incorrectly reject 9223372036854775807.  */
17482#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17483  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17484		       && LARGE_OFF_T % 2147483647 == 1)
17485		      ? 1 : -1];
17486int
17487main ()
17488{
17489
17490  ;
17491  return 0;
17492}
17493_ACEOF
17494	 if ac_fn_c_try_compile "$LINENO"; then :
17495  break
17496fi
17497rm -f core conftest.err conftest.$ac_objext
17498	 CC="$CC -n32"
17499	 if ac_fn_c_try_compile "$LINENO"; then :
17500  ac_cv_sys_largefile_CC=' -n32'; break
17501fi
17502rm -f core conftest.err conftest.$ac_objext
17503	 break
17504       done
17505       CC=$ac_save_CC
17506       rm -f conftest.$ac_ext
17507    fi
17508fi
17509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17510$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17511  if test "$ac_cv_sys_largefile_CC" != no; then
17512    CC=$CC$ac_cv_sys_largefile_CC
17513  fi
17514
17515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17516$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17517if ${ac_cv_sys_file_offset_bits+:} false; then :
17518  $as_echo_n "(cached) " >&6
17519else
17520  while :; do
17521  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522/* end confdefs.h.  */
17523#include <sys/types.h>
17524 /* Check that off_t can represent 2**63 - 1 correctly.
17525    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17526    since some C++ compilers masquerading as C compilers
17527    incorrectly reject 9223372036854775807.  */
17528#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17529  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17530		       && LARGE_OFF_T % 2147483647 == 1)
17531		      ? 1 : -1];
17532int
17533main ()
17534{
17535
17536  ;
17537  return 0;
17538}
17539_ACEOF
17540if ac_fn_c_try_compile "$LINENO"; then :
17541  ac_cv_sys_file_offset_bits=no; break
17542fi
17543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545/* end confdefs.h.  */
17546#define _FILE_OFFSET_BITS 64
17547#include <sys/types.h>
17548 /* Check that off_t can represent 2**63 - 1 correctly.
17549    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17550    since some C++ compilers masquerading as C compilers
17551    incorrectly reject 9223372036854775807.  */
17552#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17553  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17554		       && LARGE_OFF_T % 2147483647 == 1)
17555		      ? 1 : -1];
17556int
17557main ()
17558{
17559
17560  ;
17561  return 0;
17562}
17563_ACEOF
17564if ac_fn_c_try_compile "$LINENO"; then :
17565  ac_cv_sys_file_offset_bits=64; break
17566fi
17567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568  ac_cv_sys_file_offset_bits=unknown
17569  break
17570done
17571fi
17572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17573$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17574case $ac_cv_sys_file_offset_bits in #(
17575  no | unknown) ;;
17576  *)
17577cat >>confdefs.h <<_ACEOF
17578#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17579_ACEOF
17580;;
17581esac
17582rm -rf conftest*
17583  if test $ac_cv_sys_file_offset_bits = unknown; then
17584    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17585$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17586if ${ac_cv_sys_large_files+:} false; then :
17587  $as_echo_n "(cached) " >&6
17588else
17589  while :; do
17590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591/* end confdefs.h.  */
17592#include <sys/types.h>
17593 /* Check that off_t can represent 2**63 - 1 correctly.
17594    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17595    since some C++ compilers masquerading as C compilers
17596    incorrectly reject 9223372036854775807.  */
17597#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17598  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17599		       && LARGE_OFF_T % 2147483647 == 1)
17600		      ? 1 : -1];
17601int
17602main ()
17603{
17604
17605  ;
17606  return 0;
17607}
17608_ACEOF
17609if ac_fn_c_try_compile "$LINENO"; then :
17610  ac_cv_sys_large_files=no; break
17611fi
17612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614/* end confdefs.h.  */
17615#define _LARGE_FILES 1
17616#include <sys/types.h>
17617 /* Check that off_t can represent 2**63 - 1 correctly.
17618    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17619    since some C++ compilers masquerading as C compilers
17620    incorrectly reject 9223372036854775807.  */
17621#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17622  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17623		       && LARGE_OFF_T % 2147483647 == 1)
17624		      ? 1 : -1];
17625int
17626main ()
17627{
17628
17629  ;
17630  return 0;
17631}
17632_ACEOF
17633if ac_fn_c_try_compile "$LINENO"; then :
17634  ac_cv_sys_large_files=1; break
17635fi
17636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637  ac_cv_sys_large_files=unknown
17638  break
17639done
17640fi
17641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17642$as_echo "$ac_cv_sys_large_files" >&6; }
17643case $ac_cv_sys_large_files in #(
17644  no | unknown) ;;
17645  *)
17646cat >>confdefs.h <<_ACEOF
17647#define _LARGE_FILES $ac_cv_sys_large_files
17648_ACEOF
17649;;
17650esac
17651rm -rf conftest*
17652  fi
17653
17654
17655fi
17656
17657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
17658$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
17659if ${ac_cv_sys_largefile_source+:} false; then :
17660  $as_echo_n "(cached) " >&6
17661else
17662  while :; do
17663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664/* end confdefs.h.  */
17665#include <sys/types.h> /* for off_t */
17666     #include <stdio.h>
17667int
17668main ()
17669{
17670int (*fp) (FILE *, off_t, int) = fseeko;
17671     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
17672  ;
17673  return 0;
17674}
17675_ACEOF
17676if ac_fn_c_try_link "$LINENO"; then :
17677  ac_cv_sys_largefile_source=no; break
17678fi
17679rm -f core conftest.err conftest.$ac_objext \
17680    conftest$ac_exeext conftest.$ac_ext
17681  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682/* end confdefs.h.  */
17683#define _LARGEFILE_SOURCE 1
17684#include <sys/types.h> /* for off_t */
17685     #include <stdio.h>
17686int
17687main ()
17688{
17689int (*fp) (FILE *, off_t, int) = fseeko;
17690     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
17691  ;
17692  return 0;
17693}
17694_ACEOF
17695if ac_fn_c_try_link "$LINENO"; then :
17696  ac_cv_sys_largefile_source=1; break
17697fi
17698rm -f core conftest.err conftest.$ac_objext \
17699    conftest$ac_exeext conftest.$ac_ext
17700  ac_cv_sys_largefile_source=unknown
17701  break
17702done
17703fi
17704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17705$as_echo "$ac_cv_sys_largefile_source" >&6; }
17706case $ac_cv_sys_largefile_source in #(
17707  no | unknown) ;;
17708  *)
17709cat >>confdefs.h <<_ACEOF
17710#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
17711_ACEOF
17712;;
17713esac
17714rm -rf conftest*
17715
17716# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
17717# in glibc 2.1.3, but that breaks too many other things.
17718# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
17719if test $ac_cv_sys_largefile_source != unknown; then
17720
17721$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
17722
17723fi
17724
17725
17726# The cast to long int works around a bug in the HP C Compiler
17727# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17728# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17729# This bug is HP SR number 8606223364.
17730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
17731$as_echo_n "checking size of off_t... " >&6; }
17732if ${ac_cv_sizeof_off_t+:} false; then :
17733  $as_echo_n "(cached) " >&6
17734else
17735  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
17736
17737else
17738  if test "$ac_cv_type_off_t" = yes; then
17739     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17740$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17741as_fn_error 77 "cannot compute sizeof (off_t)
17742See \`config.log' for more details" "$LINENO" 5; }
17743   else
17744     ac_cv_sizeof_off_t=0
17745   fi
17746fi
17747
17748fi
17749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
17750$as_echo "$ac_cv_sizeof_off_t" >&6; }
17751
17752
17753
17754cat >>confdefs.h <<_ACEOF
17755#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
17756_ACEOF
17757
17758	# Fake default value.
17759# The cast to long int works around a bug in the HP C Compiler
17760# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17761# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17762# This bug is HP SR number 8606223364.
17763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
17764$as_echo_n "checking size of void*... " >&6; }
17765if ${ac_cv_sizeof_voidp+:} false; then :
17766  $as_echo_n "(cached) " >&6
17767else
17768  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
17769
17770else
17771  if test "$ac_cv_type_voidp" = yes; then
17772     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17774as_fn_error 77 "cannot compute sizeof (void*)
17775See \`config.log' for more details" "$LINENO" 5; }
17776   else
17777     ac_cv_sizeof_voidp=0
17778   fi
17779fi
17780
17781fi
17782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
17783$as_echo "$ac_cv_sizeof_voidp" >&6; }
17784
17785
17786
17787cat >>confdefs.h <<_ACEOF
17788#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17789_ACEOF
17790
17791
17792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lround" >&5
17793$as_echo_n "checking for library containing lround... " >&6; }
17794if ${ac_cv_search_lround+:} false; then :
17795  $as_echo_n "(cached) " >&6
17796else
17797  ac_func_search_save_LIBS=$LIBS
17798cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799/* end confdefs.h.  */
17800
17801/* Override any GCC internal prototype to avoid an error.
17802   Use char because int might match the return type of a GCC
17803   builtin and then its argument prototype would still apply.  */
17804#ifdef __cplusplus
17805extern "C"
17806#endif
17807char lround ();
17808int
17809main ()
17810{
17811return lround ();
17812  ;
17813  return 0;
17814}
17815_ACEOF
17816for ac_lib in '' m; do
17817  if test -z "$ac_lib"; then
17818    ac_res="none required"
17819  else
17820    ac_res=-l$ac_lib
17821    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17822  fi
17823  if ac_fn_c_try_link "$LINENO"; then :
17824  ac_cv_search_lround=$ac_res
17825fi
17826rm -f core conftest.err conftest.$ac_objext \
17827    conftest$ac_exeext
17828  if ${ac_cv_search_lround+:} false; then :
17829  break
17830fi
17831done
17832if ${ac_cv_search_lround+:} false; then :
17833
17834else
17835  ac_cv_search_lround=no
17836fi
17837rm conftest.$ac_ext
17838LIBS=$ac_func_search_save_LIBS
17839fi
17840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lround" >&5
17841$as_echo "$ac_cv_search_lround" >&6; }
17842ac_res=$ac_cv_search_lround
17843if test "$ac_res" != no; then :
17844  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17845
17846$as_echo "#define HAVE_LROUND 1" >>confdefs.h
17847
17848fi
17849
17850
17851ac_ext=cpp
17852ac_cpp='$CXXCPP $CPPFLAGS'
17853ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17854ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17855ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17856
17857# c++ flavor first
17858
17859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable-length arrays" >&5
17860$as_echo_n "checking for variable-length arrays... " >&6; }
17861if ${ac_cv_c_vararrays+:} false; then :
17862  $as_echo_n "(cached) " >&6
17863else
17864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865/* end confdefs.h.  */
17866
17867int
17868main ()
17869{
17870static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];
17871  ;
17872  return 0;
17873}
17874_ACEOF
17875if ac_fn_cxx_try_compile "$LINENO"; then :
17876  ac_cv_c_vararrays=yes
17877else
17878  ac_cv_c_vararrays=no
17879fi
17880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881fi
17882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_vararrays" >&5
17883$as_echo "$ac_cv_c_vararrays" >&6; }
17884  if test $ac_cv_c_vararrays = yes; then
17885
17886$as_echo "#define HAVE_C_VARARRAYS 1" >>confdefs.h
17887
17888  fi
17889
17890if test $ac_cv_c_vararrays = yes; then
17891
17892$as_echo "#define HAVE_CXX_VARARRAYS 1" >>confdefs.h
17893
17894fi
17895ac_ext=c
17896ac_cpp='$CPP $CPPFLAGS'
17897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899ac_compiler_gnu=$ac_cv_c_compiler_gnu
17900
17901
17902# c flavor
17903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17904$as_echo_n "checking for ANSI C header files... " >&6; }
17905if ${ac_cv_header_stdc+:} false; then :
17906  $as_echo_n "(cached) " >&6
17907else
17908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909/* end confdefs.h.  */
17910#include <stdlib.h>
17911#include <stdarg.h>
17912#include <string.h>
17913#include <float.h>
17914
17915int
17916main ()
17917{
17918
17919  ;
17920  return 0;
17921}
17922_ACEOF
17923if ac_fn_c_try_compile "$LINENO"; then :
17924  ac_cv_header_stdc=yes
17925else
17926  ac_cv_header_stdc=no
17927fi
17928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929
17930if test $ac_cv_header_stdc = yes; then
17931  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933/* end confdefs.h.  */
17934#include <string.h>
17935
17936_ACEOF
17937if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17938  $EGREP "memchr" >/dev/null 2>&1; then :
17939
17940else
17941  ac_cv_header_stdc=no
17942fi
17943rm -f conftest*
17944
17945fi
17946
17947if test $ac_cv_header_stdc = yes; then
17948  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950/* end confdefs.h.  */
17951#include <stdlib.h>
17952
17953_ACEOF
17954if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17955  $EGREP "free" >/dev/null 2>&1; then :
17956
17957else
17958  ac_cv_header_stdc=no
17959fi
17960rm -f conftest*
17961
17962fi
17963
17964if test $ac_cv_header_stdc = yes; then
17965  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17966  if test "$cross_compiling" = yes; then :
17967  :
17968else
17969  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970/* end confdefs.h.  */
17971#include <ctype.h>
17972#include <stdlib.h>
17973#if ((' ' & 0x0FF) == 0x020)
17974# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17975# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17976#else
17977# define ISLOWER(c) \
17978		   (('a' <= (c) && (c) <= 'i') \
17979		     || ('j' <= (c) && (c) <= 'r') \
17980		     || ('s' <= (c) && (c) <= 'z'))
17981# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17982#endif
17983
17984#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17985int
17986main ()
17987{
17988  int i;
17989  for (i = 0; i < 256; i++)
17990    if (XOR (islower (i), ISLOWER (i))
17991	|| toupper (i) != TOUPPER (i))
17992      return 2;
17993  return 0;
17994}
17995_ACEOF
17996if ac_fn_c_try_run "$LINENO"; then :
17997
17998else
17999  ac_cv_header_stdc=no
18000fi
18001rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18002  conftest.$ac_objext conftest.beam conftest.$ac_ext
18003fi
18004
18005fi
18006fi
18007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18008$as_echo "$ac_cv_header_stdc" >&6; }
18009if test $ac_cv_header_stdc = yes; then
18010
18011$as_echo "#define STDC_HEADERS 1" >>confdefs.h
18012
18013fi
18014
18015
18016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18017$as_echo_n "checking for inline... " >&6; }
18018if ${ac_cv_c_inline+:} false; then :
18019  $as_echo_n "(cached) " >&6
18020else
18021  ac_cv_c_inline=no
18022for ac_kw in inline __inline__ __inline; do
18023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024/* end confdefs.h.  */
18025#ifndef __cplusplus
18026typedef int foo_t;
18027static $ac_kw foo_t static_foo () {return 0; }
18028$ac_kw foo_t foo () {return 0; }
18029#endif
18030
18031_ACEOF
18032if ac_fn_c_try_compile "$LINENO"; then :
18033  ac_cv_c_inline=$ac_kw
18034fi
18035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036  test "$ac_cv_c_inline" != no && break
18037done
18038
18039fi
18040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18041$as_echo "$ac_cv_c_inline" >&6; }
18042
18043case $ac_cv_c_inline in
18044  inline | yes) ;;
18045  *)
18046    case $ac_cv_c_inline in
18047      no) ac_val=;;
18048      *) ac_val=$ac_cv_c_inline;;
18049    esac
18050    cat >>confdefs.h <<_ACEOF
18051#ifndef __cplusplus
18052#define inline $ac_val
18053#endif
18054_ACEOF
18055    ;;
18056esac
18057
18058
18059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable-length arrays" >&5
18060$as_echo_n "checking for variable-length arrays... " >&6; }
18061if ${ac_cv_c_vararrays+:} false; then :
18062  $as_echo_n "(cached) " >&6
18063else
18064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18065/* end confdefs.h.  */
18066
18067int
18068main ()
18069{
18070static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];
18071  ;
18072  return 0;
18073}
18074_ACEOF
18075if ac_fn_c_try_compile "$LINENO"; then :
18076  ac_cv_c_vararrays=yes
18077else
18078  ac_cv_c_vararrays=no
18079fi
18080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081fi
18082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_vararrays" >&5
18083$as_echo "$ac_cv_c_vararrays" >&6; }
18084  if test $ac_cv_c_vararrays = yes; then
18085
18086$as_echo "#define HAVE_C_VARARRAYS 1" >>confdefs.h
18087
18088  fi
18089
18090
18091  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5
18092$as_echo_n "checking for typeof syntax and keyword spelling... " >&6; }
18093if ${ac_cv_c_typeof+:} false; then :
18094  $as_echo_n "(cached) " >&6
18095else
18096  ac_cv_c_typeof=no
18097     for ac_kw in typeof __typeof__ no; do
18098       test $ac_kw = no && break
18099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100/* end confdefs.h.  */
18101
18102int
18103main ()
18104{
18105
18106	   int value;
18107	   typedef struct {
18108		   char a [1
18109			   + ! (($ac_kw (value))
18110				(($ac_kw (value)) 0 < ($ac_kw (value)) -1
18111				 ? ($ac_kw (value)) - 1
18112				 : ~ (~ ($ac_kw (value)) 0
18113				      << sizeof ($ac_kw (value)))))]; }
18114	      ac__typeof_type_;
18115	   return
18116	     (! ((void) ((ac__typeof_type_ *) 0), 0));
18117
18118  ;
18119  return 0;
18120}
18121_ACEOF
18122if ac_fn_c_try_compile "$LINENO"; then :
18123  ac_cv_c_typeof=$ac_kw
18124fi
18125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18126       test $ac_cv_c_typeof != no && break
18127     done
18128fi
18129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5
18130$as_echo "$ac_cv_c_typeof" >&6; }
18131  if test $ac_cv_c_typeof != no; then
18132
18133$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
18134
18135    if test $ac_cv_c_typeof != typeof; then
18136
18137cat >>confdefs.h <<_ACEOF
18138#define typeof $ac_cv_c_typeof
18139_ACEOF
18140
18141    fi
18142  fi
18143
18144
18145for ac_header in stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h
18146do :
18147  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18148ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18149if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18150  cat >>confdefs.h <<_ACEOF
18151#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18152_ACEOF
18153
18154fi
18155
18156done
18157
18158
18159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap32 intrinsic" >&5
18160$as_echo_n "checking for bswap32 intrinsic... " >&6; }
18161if ${ac_cv_c_bswap32+:} false; then :
18162  $as_echo_n "(cached) " >&6
18163else
18164  # Initialize to no
18165  ac_cv_c_bswap32=no
18166  HAVE_BSWAP32=0
18167
18168  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169/* end confdefs.h.  */
18170
18171int
18172main ()
18173{
18174return __builtin_bswap32 (0) ;
18175  ;
18176  return 0;
18177}
18178_ACEOF
18179if ac_fn_c_try_link "$LINENO"; then :
18180  ac_cv_c_bswap32=yes
18181    HAVE_BSWAP32=1
18182
18183fi
18184rm -f core conftest.err conftest.$ac_objext \
18185    conftest$ac_exeext conftest.$ac_ext
18186
18187cat >>confdefs.h <<_ACEOF
18188#define HAVE_BSWAP32 ${HAVE_BSWAP32}
18189_ACEOF
18190
18191
18192
18193fi
18194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bswap32" >&5
18195$as_echo "$ac_cv_c_bswap32" >&6; }
18196
18197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 intrinsic" >&5
18198$as_echo_n "checking for bswap16 intrinsic... " >&6; }
18199if ${ac_cv_c_bswap16+:} false; then :
18200  $as_echo_n "(cached) " >&6
18201else
18202  # Initialize to no
18203  ac_cv_c_bswap16=no
18204  HAVE_BSWAP16=0
18205
18206  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207/* end confdefs.h.  */
18208
18209int
18210main ()
18211{
18212return __builtin_bswap16 (0) ;
18213  ;
18214  return 0;
18215}
18216_ACEOF
18217if ac_fn_c_try_link "$LINENO"; then :
18218  ac_cv_c_bswap16=yes
18219    HAVE_BSWAP16=1
18220
18221fi
18222rm -f core conftest.err conftest.$ac_objext \
18223    conftest$ac_exeext conftest.$ac_ext
18224
18225cat >>confdefs.h <<_ACEOF
18226#define HAVE_BSWAP16 ${HAVE_BSWAP16}
18227_ACEOF
18228
18229
18230
18231fi
18232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bswap16" >&5
18233$as_echo "$ac_cv_c_bswap16" >&6; }
18234
18235
18236ac_cv_c_big_endian=0
18237ac_cv_c_little_endian=0
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18239$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18240if ${ac_cv_c_bigendian+:} false; then :
18241  $as_echo_n "(cached) " >&6
18242else
18243  ac_cv_c_bigendian=unknown
18244    # See if we're dealing with a universal compiler.
18245    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246/* end confdefs.h.  */
18247#ifndef __APPLE_CC__
18248	       not a universal capable compiler
18249	     #endif
18250	     typedef int dummy;
18251
18252_ACEOF
18253if ac_fn_c_try_compile "$LINENO"; then :
18254
18255	# Check for potential -arch flags.  It is not universal unless
18256	# there are at least two -arch flags with different values.
18257	ac_arch=
18258	ac_prev=
18259	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18260	 if test -n "$ac_prev"; then
18261	   case $ac_word in
18262	     i?86 | x86_64 | ppc | ppc64)
18263	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18264		 ac_arch=$ac_word
18265	       else
18266		 ac_cv_c_bigendian=universal
18267		 break
18268	       fi
18269	       ;;
18270	   esac
18271	   ac_prev=
18272	 elif test "x$ac_word" = "x-arch"; then
18273	   ac_prev=arch
18274	 fi
18275       done
18276fi
18277rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278    if test $ac_cv_c_bigendian = unknown; then
18279      # See if sys/param.h defines the BYTE_ORDER macro.
18280      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281/* end confdefs.h.  */
18282#include <sys/types.h>
18283	     #include <sys/param.h>
18284
18285int
18286main ()
18287{
18288#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18289		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18290		     && LITTLE_ENDIAN)
18291	      bogus endian macros
18292	     #endif
18293
18294  ;
18295  return 0;
18296}
18297_ACEOF
18298if ac_fn_c_try_compile "$LINENO"; then :
18299  # It does; now see whether it defined to BIG_ENDIAN or not.
18300	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301/* end confdefs.h.  */
18302#include <sys/types.h>
18303		#include <sys/param.h>
18304
18305int
18306main ()
18307{
18308#if BYTE_ORDER != BIG_ENDIAN
18309		 not big endian
18310		#endif
18311
18312  ;
18313  return 0;
18314}
18315_ACEOF
18316if ac_fn_c_try_compile "$LINENO"; then :
18317  ac_cv_c_bigendian=yes
18318else
18319  ac_cv_c_bigendian=no
18320fi
18321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322fi
18323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324    fi
18325    if test $ac_cv_c_bigendian = unknown; then
18326      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18327      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328/* end confdefs.h.  */
18329#include <limits.h>
18330
18331int
18332main ()
18333{
18334#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18335	      bogus endian macros
18336	     #endif
18337
18338  ;
18339  return 0;
18340}
18341_ACEOF
18342if ac_fn_c_try_compile "$LINENO"; then :
18343  # It does; now see whether it defined to _BIG_ENDIAN or not.
18344	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345/* end confdefs.h.  */
18346#include <limits.h>
18347
18348int
18349main ()
18350{
18351#ifndef _BIG_ENDIAN
18352		 not big endian
18353		#endif
18354
18355  ;
18356  return 0;
18357}
18358_ACEOF
18359if ac_fn_c_try_compile "$LINENO"; then :
18360  ac_cv_c_bigendian=yes
18361else
18362  ac_cv_c_bigendian=no
18363fi
18364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365fi
18366rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18367    fi
18368    if test $ac_cv_c_bigendian = unknown; then
18369      # Compile a test program.
18370      if test "$cross_compiling" = yes; then :
18371  # Try to guess by grepping values from an object file.
18372	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373/* end confdefs.h.  */
18374short int ascii_mm[] =
18375		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18376		short int ascii_ii[] =
18377		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18378		int use_ascii (int i) {
18379		  return ascii_mm[i] + ascii_ii[i];
18380		}
18381		short int ebcdic_ii[] =
18382		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18383		short int ebcdic_mm[] =
18384		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18385		int use_ebcdic (int i) {
18386		  return ebcdic_mm[i] + ebcdic_ii[i];
18387		}
18388		extern int foo;
18389
18390int
18391main ()
18392{
18393return use_ascii (foo) == use_ebcdic (foo);
18394  ;
18395  return 0;
18396}
18397_ACEOF
18398if ac_fn_c_try_compile "$LINENO"; then :
18399  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18400	      ac_cv_c_bigendian=yes
18401	    fi
18402	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18403	      if test "$ac_cv_c_bigendian" = unknown; then
18404		ac_cv_c_bigendian=no
18405	      else
18406		# finding both strings is unlikely to happen, but who knows?
18407		ac_cv_c_bigendian=unknown
18408	      fi
18409	    fi
18410fi
18411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412else
18413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18414/* end confdefs.h.  */
18415$ac_includes_default
18416int
18417main ()
18418{
18419
18420	     /* Are we little or big endian?  From Harbison&Steele.  */
18421	     union
18422	     {
18423	       long int l;
18424	       char c[sizeof (long int)];
18425	     } u;
18426	     u.l = 1;
18427	     return u.c[sizeof (long int) - 1] == 1;
18428
18429  ;
18430  return 0;
18431}
18432_ACEOF
18433if ac_fn_c_try_run "$LINENO"; then :
18434  ac_cv_c_bigendian=no
18435else
18436  ac_cv_c_bigendian=yes
18437fi
18438rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18439  conftest.$ac_objext conftest.beam conftest.$ac_ext
18440fi
18441
18442    fi
18443fi
18444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18445$as_echo "$ac_cv_c_bigendian" >&6; }
18446 case $ac_cv_c_bigendian in #(
18447   yes)
18448     ac_cv_c_big_endian=1;; #(
18449   no)
18450     ac_cv_c_little_endian=1 ;; #(
18451   universal)
18452
18453$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18454
18455     ;; #(
18456   *)
18457
18458	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
18459$as_echo "$as_me: WARNING: *****************************************************************" >&2;}
18460	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Not able to determine endian-ness of target processor.       " >&5
18461$as_echo "$as_me: WARNING: *** Not able to determine endian-ness of target processor.       " >&2;}
18462	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in  " >&5
18463$as_echo "$as_me: WARNING: *** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in  " >&2;}
18464	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** config.h may need to be hand editied.                        " >&5
18465$as_echo "$as_me: WARNING: *** config.h may need to be hand editied.                        " >&2;}
18466	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *****************************************************************" >&5
18467$as_echo "$as_me: WARNING: *****************************************************************" >&2;}
18468 ;;
18469 esac
18470
18471
18472cat >>confdefs.h <<_ACEOF
18473#define CPU_IS_BIG_ENDIAN ${ac_cv_c_big_endian}
18474_ACEOF
18475
18476
18477cat >>confdefs.h <<_ACEOF
18478#define CPU_IS_LITTLE_ENDIAN ${ac_cv_c_little_endian}
18479_ACEOF
18480
18481
18482cat >>confdefs.h <<_ACEOF
18483#define WORDS_BIGENDIAN ${ac_cv_c_big_endian}
18484_ACEOF
18485
18486
18487# Check whether --enable-asm-optimizations was given.
18488if test "${enable_asm_optimizations+set}" = set; then :
18489  enableval=$enable_asm_optimizations; asm_opt=no
18490else
18491  asm_opt=yes
18492fi
18493
18494 if test "x$asm_opt" = xno; then
18495  FLaC__NO_ASM_TRUE=
18496  FLaC__NO_ASM_FALSE='#'
18497else
18498  FLaC__NO_ASM_TRUE='#'
18499  FLaC__NO_ASM_FALSE=
18500fi
18501
18502if test "x$asm_opt" = xno ; then
18503$as_echo "#define FLAC__NO_ASM 1" >>confdefs.h
18504
18505
18506fi
18507
18508# For the XMMS plugin.
18509ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "$ac_includes_default"
18510if test "x$ac_cv_type_socklen_t" = xyes; then :
18511
18512cat >>confdefs.h <<_ACEOF
18513#define HAVE_SOCKLEN_T 1
18514_ACEOF
18515
18516
18517fi
18518
18519
18520for ac_func in getopt_long
18521do :
18522  ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
18523if test "x$ac_cv_func_getopt_long" = xyes; then :
18524  cat >>confdefs.h <<_ACEOF
18525#define HAVE_GETOPT_LONG 1
18526_ACEOF
18527
18528fi
18529done
18530
18531
18532# The cast to long int works around a bug in the HP C Compiler
18533# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18534# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18535# This bug is HP SR number 8606223364.
18536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
18537$as_echo_n "checking size of void*... " >&6; }
18538if ${ac_cv_sizeof_voidp+:} false; then :
18539  $as_echo_n "(cached) " >&6
18540else
18541  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
18542
18543else
18544  if test "$ac_cv_type_voidp" = yes; then
18545     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18547as_fn_error 77 "cannot compute sizeof (void*)
18548See \`config.log' for more details" "$LINENO" 5; }
18549   else
18550     ac_cv_sizeof_voidp=0
18551   fi
18552fi
18553
18554fi
18555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
18556$as_echo "$ac_cv_sizeof_voidp" >&6; }
18557
18558
18559
18560cat >>confdefs.h <<_ACEOF
18561#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
18562_ACEOF
18563
18564
18565
18566asm_optimisation=no
18567case "$host_cpu" in
18568	amd64|x86_64)
18569		case "$host" in
18570			*gnux32)
18571				# x32 user space and 64 bit kernel.
18572				cpu_x86_64=true
18573				$as_echo "#define FLAC__CPU_X86_64 1" >>confdefs.h
18574
18575
18576				asm_optimisation=$asm_opt
18577				;;
18578			*)
18579				if test $ac_cv_sizeof_voidp = 4 ; then
18580					# This must be a 32 bit user space running on 64 bit kernel so treat
18581					# this as ia32.
18582					cpu_ia32=true
18583					$as_echo "#define FLAC__CPU_IA32 1" >>confdefs.h
18584
18585
18586			else
18587					# x86_64 user space and kernel.
18588					cpu_x86_64=true
18589					$as_echo "#define FLAC__CPU_X86_64 1" >>confdefs.h
18590
18591
18592				fi
18593				asm_optimisation=$asm_opt
18594				;;
18595		esac
18596		;;
18597	i*86)
18598		cpu_ia32=true
18599		$as_echo "#define FLAC__CPU_IA32 1" >>confdefs.h
18600
18601
18602		asm_optimisation=$asm_opt
18603		;;
18604	powerpc64|powerpc64le)
18605		cpu_ppc64=true
18606		cpu_ppc=true
18607		$as_echo "#define FLAC__CPU_PPC 1" >>confdefs.h
18608
18609
18610		$as_echo "#define FLAC__CPU_PPC64 1" >>confdefs.h
18611
18612
18613		asm_optimisation=$asm_opt
18614		;;
18615	powerpc|powerpcle)
18616		cpu_ppc=true
18617		$as_echo "#define FLAC__CPU_PPC 1" >>confdefs.h
18618
18619
18620		asm_optimisation=$asm_opt
18621		;;
18622	sparc)
18623		cpu_sparc=true
18624		$as_echo "#define FLAC__CPU_SPARC 1" >>confdefs.h
18625
18626
18627		asm_optimisation=$asm_opt
18628		;;
18629esac
18630 if test "x$cpu_x86_64" = xtrue; then
18631  FLAC__CPU_X86_64_TRUE=
18632  FLAC__CPU_X86_64_FALSE='#'
18633else
18634  FLAC__CPU_X86_64_TRUE='#'
18635  FLAC__CPU_X86_64_FALSE=
18636fi
18637
18638 if test "x$cpu_ia32" = xtrue; then
18639  FLaC__CPU_IA32_TRUE=
18640  FLaC__CPU_IA32_FALSE='#'
18641else
18642  FLaC__CPU_IA32_TRUE='#'
18643  FLaC__CPU_IA32_FALSE=
18644fi
18645
18646 if test "x$cpu_ppc" = xtrue; then
18647  FLaC__CPU_PPC_TRUE=
18648  FLaC__CPU_PPC_FALSE='#'
18649else
18650  FLaC__CPU_PPC_TRUE='#'
18651  FLaC__CPU_PPC_FALSE=
18652fi
18653
18654 if test "x$cpu_ppc64" = xtrue; then
18655  FLaC__CPU_PPC64_TRUE=
18656  FLaC__CPU_PPC64_FALSE='#'
18657else
18658  FLaC__CPU_PPC64_TRUE='#'
18659  FLaC__CPU_PPC64_FALSE=
18660fi
18661
18662 if test "x$cpu_sparc" = xtrue; then
18663  FLaC__CPU_SPARC_TRUE=
18664  FLaC__CPU_SPARC_FALSE='#'
18665else
18666  FLaC__CPU_SPARC_TRUE='#'
18667  FLaC__CPU_SPARC_FALSE=
18668fi
18669
18670
18671if test "x$ac_cv_header_x86intrin_h" = xyes; then
18672
18673$as_echo "#define FLAC__HAS_X86INTRIN 1" >>confdefs.h
18674
18675else
18676$as_echo "#define FLAC__HAS_X86INTRIN 0" >>confdefs.h
18677
18678fi
18679
18680if test x"$cpu_ppc64" = xtrue ; then
18681
18682as_CACHEVAR=`$as_echo "ax_cv_c_attribute_target("cpu=power8")" | $as_tr_sh`
18683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for  __attribute__ ((target(\"cpu=power8\")))" >&5
18684$as_echo_n "checking for  __attribute__ ((target(\"cpu=power8\")))... " >&6; }
18685if eval \${$as_CACHEVAR+:} false; then :
18686  $as_echo_n "(cached) " >&6
18687else
18688
18689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690/* end confdefs.h.  */
18691
18692int
18693main ()
18694{
18695 void foo(void) __attribute__ ((target("cpu=power8")));
18696  ;
18697  return 0;
18698}
18699_ACEOF
18700if ac_fn_c_try_compile "$LINENO"; then :
18701  eval "$as_CACHEVAR=yes"
18702else
18703  eval "$as_CACHEVAR=no"
18704fi
18705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706fi
18707eval ac_res=\$$as_CACHEVAR
18708	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18709$as_echo "$ac_res" >&6; }
18710if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
18711  have_cpu_power8=yes
18712else
18713  have_cpu_power8=no
18714fi
18715
18716if test x"$have_cpu_power8" = xyes ; then
18717  $as_echo "#define FLAC__HAS_TARGET_POWER8 1" >>confdefs.h
18718
18719
18720fi
18721
18722as_CACHEVAR=`$as_echo "ax_cv_c_attribute_target("cpu=power9")" | $as_tr_sh`
18723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for  __attribute__ ((target(\"cpu=power9\")))" >&5
18724$as_echo_n "checking for  __attribute__ ((target(\"cpu=power9\")))... " >&6; }
18725if eval \${$as_CACHEVAR+:} false; then :
18726  $as_echo_n "(cached) " >&6
18727else
18728
18729  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730/* end confdefs.h.  */
18731
18732int
18733main ()
18734{
18735 void foo(void) __attribute__ ((target("cpu=power9")));
18736  ;
18737  return 0;
18738}
18739_ACEOF
18740if ac_fn_c_try_compile "$LINENO"; then :
18741  eval "$as_CACHEVAR=yes"
18742else
18743  eval "$as_CACHEVAR=no"
18744fi
18745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746fi
18747eval ac_res=\$$as_CACHEVAR
18748	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18749$as_echo "$ac_res" >&6; }
18750if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
18751  have_cpu_power9=yes
18752else
18753  have_cpu_power9=no
18754fi
18755
18756if test x"$have_cpu_power9" = xyes ; then
18757  $as_echo "#define FLAC__HAS_TARGET_POWER9 1" >>confdefs.h
18758
18759
18760fi
18761
18762fi
18763
18764case "$host" in
18765	i386-*-openbsd3.[0-3]) OBJ_FORMAT=aoutb ;;
18766	*-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
18767	*-*-darwin*) OBJ_FORMAT=macho ;;
18768	*emx*) OBJ_FORMAT=aout ;;
18769	*djgpp) OBJ_FORMAT=coff ;;
18770	*) OBJ_FORMAT=elf ;;
18771esac
18772
18773
18774os_is_windows=no
18775case "$host" in
18776	*mingw*)
18777		CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS"
18778		os_is_windows=yes
18779		;;
18780esac
18781
18782 if test "x$os_is_windows" = xyes; then
18783  OS_IS_WINDOWS_TRUE=
18784  OS_IS_WINDOWS_FALSE='#'
18785else
18786  OS_IS_WINDOWS_TRUE='#'
18787  OS_IS_WINDOWS_FALSE=
18788fi
18789
18790
18791case "$host" in
18792	*-linux-*)
18793		sys_linux=true
18794		$as_echo "#define FLAC__SYS_LINUX 1" >>confdefs.h
18795
18796
18797		;;
18798	*-*-darwin*)
18799		sys_darwin=true
18800		$as_echo "#define FLAC__SYS_DARWIN 1" >>confdefs.h
18801
18802
18803		;;
18804esac
18805 if test "x$sys_darwin" = xtrue; then
18806  FLaC__SYS_DARWIN_TRUE=
18807  FLaC__SYS_DARWIN_FALSE='#'
18808else
18809  FLaC__SYS_DARWIN_TRUE='#'
18810  FLaC__SYS_DARWIN_FALSE=
18811fi
18812
18813 if test "x$sys_linux" = xtrue; then
18814  FLaC__SYS_LINUX_TRUE=
18815  FLaC__SYS_LINUX_FALSE='#'
18816else
18817  FLaC__SYS_LINUX_TRUE='#'
18818  FLaC__SYS_LINUX_FALSE=
18819fi
18820
18821
18822if test "x$cpu_ia32" = xtrue || test "x$cpu_x86_64" = xtrue ; then
18823$as_echo "#define FLAC__ALIGN_MALLOC_DATA 1" >>confdefs.h
18824
18825
18826fi
18827
18828 if test "x${ax_enable_debug}" = "xyes" || test "x${ax_enable_debug}" = "xinfo"; then
18829  DEBUG_TRUE=
18830  DEBUG_FALSE='#'
18831else
18832  DEBUG_TRUE='#'
18833  DEBUG_FALSE=
18834fi
18835
18836
18837# Check whether --enable-sse was given.
18838if test "${enable_sse+set}" = set; then :
18839  enableval=$enable_sse; case "${enableval}" in
18840	yes) sse_os=yes ;;
18841	no)  sse_os=no ;;
18842	*) as_fn_error $? "bad value ${enableval} for --enable-sse" "$LINENO" 5 ;;
18843esac
18844else
18845  sse_os=yes
18846fi
18847
18848
18849# Check whether --enable-altivec was given.
18850if test "${enable_altivec+set}" = set; then :
18851  enableval=$enable_altivec; case "${enableval}" in
18852	yes) use_altivec=true ;;
18853	no)  use_altivec=false ;;
18854	*) as_fn_error $? "bad value ${enableval} for --enable-altivec" "$LINENO" 5 ;;
18855esac
18856else
18857  use_altivec=true
18858fi
18859
18860 if test "x$use_altivec" = xtrue; then
18861  FLaC__USE_ALTIVEC_TRUE=
18862  FLaC__USE_ALTIVEC_FALSE='#'
18863else
18864  FLaC__USE_ALTIVEC_TRUE='#'
18865  FLaC__USE_ALTIVEC_FALSE=
18866fi
18867
18868if test "x$use_altivec" = xtrue ; then
18869$as_echo "#define FLAC__USE_ALTIVEC 1" >>confdefs.h
18870
18871
18872fi
18873
18874# Check whether --enable-vsx was given.
18875if test "${enable_vsx+set}" = set; then :
18876  enableval=$enable_vsx; case "${enableval}" in
18877	yes) use_vsx=true ;;
18878	no)  use_vsx=false ;;
18879	*) as_fn_error $? "bad value ${enableval} for --enable-vsx" "$LINENO" 5 ;;
18880esac
18881else
18882  use_vsx=true
18883fi
18884
18885 if test "x$use_vsx" = xtrue; then
18886  FLaC__USE_VSX_TRUE=
18887  FLaC__USE_VSX_FALSE='#'
18888else
18889  FLaC__USE_VSX_TRUE='#'
18890  FLaC__USE_VSX_FALSE=
18891fi
18892
18893if test "x$use_vsx" = xtrue ; then
18894$as_echo "#define FLAC__USE_VSX 1" >>confdefs.h
18895
18896
18897fi
18898
18899# Check whether --enable-avx was given.
18900if test "${enable_avx+set}" = set; then :
18901  enableval=$enable_avx; case "${enableval}" in
18902	yes) use_avx=true ;;
18903	no)  use_avx=false ;;
18904	*) as_fn_error $? "bad value ${enableval} for --enable-avx" "$LINENO" 5 ;;
18905esac
18906else
18907  use_avx=true
18908fi
18909
18910 if test "x$use_avx" = xtrue; then
18911  FLaC__USE_AVX_TRUE=
18912  FLaC__USE_AVX_FALSE='#'
18913else
18914  FLaC__USE_AVX_TRUE='#'
18915  FLaC__USE_AVX_FALSE=
18916fi
18917
18918if test "x$use_avx" = xtrue ; then
18919$as_echo "#define FLAC__USE_AVX 1" >>confdefs.h
18920
18921
18922fi
18923
18924# Check whether --enable-thorough-tests was given.
18925if test "${enable_thorough_tests+set}" = set; then :
18926  enableval=$enable_thorough_tests; case "${enableval}" in
18927	yes) thorough_tests=true ;;
18928	no)  thorough_tests=false ;;
18929	*) as_fn_error $? "bad value ${enableval} for --enable-thorough-tests" "$LINENO" 5 ;;
18930esac
18931else
18932  thorough_tests=true
18933fi
18934
18935# Check whether --enable-exhaustive-tests was given.
18936if test "${enable_exhaustive_tests+set}" = set; then :
18937  enableval=$enable_exhaustive_tests; case "${enableval}" in
18938	yes) exhaustive_tests=true ;;
18939	no)  exhaustive_tests=false ;;
18940	*) as_fn_error $? "bad value ${enableval} for --enable-exhaustive-tests" "$LINENO" 5 ;;
18941esac
18942else
18943  exhaustive_tests=false
18944fi
18945
18946if test "x$thorough_tests" = xfalse ; then
18947FLAC__TEST_LEVEL=0
18948elif test "x$exhaustive_tests" = xfalse ; then
18949FLAC__TEST_LEVEL=1
18950else
18951FLAC__TEST_LEVEL=2
18952fi
18953
18954
18955# Check whether --enable-werror was given.
18956if test "${enable_werror+set}" = set; then :
18957  enableval=$enable_werror;
18958fi
18959
18960
18961# Check whether --enable-stack-smash-protection was given.
18962if test "${enable_stack_smash_protection+set}" = set; then :
18963  enableval=$enable_stack_smash_protection;
18964else
18965  if test "$ac_cv_c_compiler_gnu" = "yes" && test "$os_is_windows" = "no"; then :
18966  enable_stack_smash_protection=yes
18967else
18968  enable_stack_smash_protection=no
18969fi
18970fi
18971
18972
18973# Check whether --enable-64-bit-words was given.
18974if test "${enable_64_bit_words+set}" = set; then :
18975  enableval=$enable_64_bit_words;
18976fi
18977
18978if test "x$enable_64_bit_words" = xyes ; then
18979
18980cat >>confdefs.h <<_ACEOF
18981#define ENABLE_64_BIT_WORDS 1
18982_ACEOF
18983
18984else
18985	cat >>confdefs.h <<_ACEOF
18986#define ENABLE_64_BIT_WORDS 0
18987_ACEOF
18988
18989	fi
18990
18991
18992# Check whether --enable-valgrind-testing was given.
18993if test "${enable_valgrind_testing+set}" = set; then :
18994  enableval=$enable_valgrind_testing; case "${enableval}" in
18995	yes) FLAC__TEST_WITH_VALGRIND=yes ;;
18996	no)  FLAC__TEST_WITH_VALGRIND=no ;;
18997	*) as_fn_error $? "bad value ${enableval} for --enable-valgrind-testing" "$LINENO" 5 ;;
18998esac
18999else
19000  FLAC__TEST_WITH_VALGRIND=no
19001fi
19002
19003
19004
19005# Check whether --enable-doxygen-docs was given.
19006if test "${enable_doxygen_docs+set}" = set; then :
19007  enableval=$enable_doxygen_docs; case "${enableval}" in
19008	yes) enable_doxygen_docs=true ;;
19009	no)  enable_doxygen_docs=false ;;
19010	*) as_fn_error $? "bad value ${enableval} for --enable-doxygen-docs" "$LINENO" 5 ;;
19011esac
19012else
19013  enable_doxygen_docs=true
19014fi
19015
19016if test "x$enable_doxygen_docs" != xfalse ; then
19017	for ac_prog in doxygen
19018do
19019  # Extract the first word of "$ac_prog", so it can be a program name with args.
19020set dummy $ac_prog; ac_word=$2
19021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19022$as_echo_n "checking for $ac_word... " >&6; }
19023if ${ac_cv_prog_DOXYGEN+:} false; then :
19024  $as_echo_n "(cached) " >&6
19025else
19026  if test -n "$DOXYGEN"; then
19027  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
19028else
19029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19030for as_dir in $PATH
19031do
19032  IFS=$as_save_IFS
19033  test -z "$as_dir" && as_dir=.
19034    for ac_exec_ext in '' $ac_executable_extensions; do
19035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19036    ac_cv_prog_DOXYGEN="$ac_prog"
19037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19038    break 2
19039  fi
19040done
19041  done
19042IFS=$as_save_IFS
19043
19044fi
19045fi
19046DOXYGEN=$ac_cv_prog_DOXYGEN
19047if test -n "$DOXYGEN"; then
19048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
19049$as_echo "$DOXYGEN" >&6; }
19050else
19051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19052$as_echo "no" >&6; }
19053fi
19054
19055
19056  test -n "$DOXYGEN" && break
19057done
19058
19059fi
19060 if test -n "$DOXYGEN"; then
19061  FLaC__HAS_DOXYGEN_TRUE=
19062  FLaC__HAS_DOXYGEN_FALSE='#'
19063else
19064  FLaC__HAS_DOXYGEN_TRUE='#'
19065  FLaC__HAS_DOXYGEN_FALSE=
19066fi
19067
19068
19069# Check whether --enable-local-xmms-plugin was given.
19070if test "${enable_local_xmms_plugin+set}" = set; then :
19071  enableval=$enable_local_xmms_plugin; case "${enableval}" in
19072	yes) install_xmms_plugin_locally=true ;;
19073	no)  install_xmms_plugin_locally=false ;;
19074	*) as_fn_error $? "bad value ${enableval} for --enable-local-xmms-plugin" "$LINENO" 5 ;;
19075esac
19076else
19077  install_xmms_plugin_locally=false
19078fi
19079
19080 if test "x$install_xmms_plugin_locally" = xtrue; then
19081  FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE=
19082  FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE='#'
19083else
19084  FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE='#'
19085  FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE=
19086fi
19087
19088
19089# Check whether --enable-xmms-plugin was given.
19090if test "${enable_xmms_plugin+set}" = set; then :
19091  enableval=$enable_xmms_plugin; case "${enableval}" in
19092	yes) enable_xmms_plugin=true ;;
19093	no)  enable_xmms_plugin=false ;;
19094	*) as_fn_error $? "bad value ${enableval} for --enable-xmms-plugin" "$LINENO" 5 ;;
19095esac
19096else
19097  enable_xmms_plugin=true
19098fi
19099
19100if test "x$enable_xmms_plugin" != xfalse ; then
19101
19102
19103# Check whether --with-xmms-prefix was given.
19104if test "${with_xmms_prefix+set}" = set; then :
19105  withval=$with_xmms_prefix; xmms_config_prefix="$withval"
19106else
19107  xmms_config_prefix=""
19108fi
19109
19110
19111# Check whether --with-xmms-exec-prefix was given.
19112if test "${with_xmms_exec_prefix+set}" = set; then :
19113  withval=$with_xmms_exec_prefix; xmms_config_exec_prefix="$withval"
19114else
19115  xmms_config_exec_prefix=""
19116fi
19117
19118
19119if test x$xmms_config_exec_prefix != x; then
19120    xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
19121    if test x${XMMS_CONFIG+set} != xset; then
19122	XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
19123    fi
19124fi
19125
19126if test x$xmms_config_prefix != x; then
19127    xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
19128    if test x${XMMS_CONFIG+set} != xset; then
19129  	XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
19130    fi
19131fi
19132
19133# Extract the first word of "xmms-config", so it can be a program name with args.
19134set dummy xmms-config; ac_word=$2
19135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19136$as_echo_n "checking for $ac_word... " >&6; }
19137if ${ac_cv_path_XMMS_CONFIG+:} false; then :
19138  $as_echo_n "(cached) " >&6
19139else
19140  case $XMMS_CONFIG in
19141  [\\/]* | ?:[\\/]*)
19142  ac_cv_path_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test with a path.
19143  ;;
19144  *)
19145  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19146for as_dir in $PATH
19147do
19148  IFS=$as_save_IFS
19149  test -z "$as_dir" && as_dir=.
19150    for ac_exec_ext in '' $ac_executable_extensions; do
19151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19152    ac_cv_path_XMMS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19154    break 2
19155  fi
19156done
19157  done
19158IFS=$as_save_IFS
19159
19160  test -z "$ac_cv_path_XMMS_CONFIG" && ac_cv_path_XMMS_CONFIG="no"
19161  ;;
19162esac
19163fi
19164XMMS_CONFIG=$ac_cv_path_XMMS_CONFIG
19165if test -n "$XMMS_CONFIG"; then
19166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMMS_CONFIG" >&5
19167$as_echo "$XMMS_CONFIG" >&6; }
19168else
19169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19170$as_echo "no" >&6; }
19171fi
19172
19173
19174min_xmms_version=0.9.5.1
19175
19176if test "$XMMS_CONFIG" = "no"; then
19177    no_xmms=yes
19178else
19179    XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
19180    XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
19181    XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
19182    XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
19183    XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
19184    XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
19185					--visualization-plugin-dir`
19186    XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
19187    XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
19188    XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
19189    XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
19190
19191
19192
19193# Determine which version number is greater. Prints 2 to stdout if
19194# the second number is greater, 1 if the first number is greater,
19195# 0 if the numbers are equal.
19196
19197# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
19198# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
19199
19200    for ac_prog in gawk mawk nawk awk
19201do
19202  # Extract the first word of "$ac_prog", so it can be a program name with args.
19203set dummy $ac_prog; ac_word=$2
19204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19205$as_echo_n "checking for $ac_word... " >&6; }
19206if ${ac_cv_prog_AWK+:} false; then :
19207  $as_echo_n "(cached) " >&6
19208else
19209  if test -n "$AWK"; then
19210  ac_cv_prog_AWK="$AWK" # Let the user override the test.
19211else
19212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19213for as_dir in $PATH
19214do
19215  IFS=$as_save_IFS
19216  test -z "$as_dir" && as_dir=.
19217    for ac_exec_ext in '' $ac_executable_extensions; do
19218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19219    ac_cv_prog_AWK="$ac_prog"
19220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19221    break 2
19222  fi
19223done
19224  done
19225IFS=$as_save_IFS
19226
19227fi
19228fi
19229AWK=$ac_cv_prog_AWK
19230if test -n "$AWK"; then
19231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
19232$as_echo "$AWK" >&6; }
19233else
19234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235$as_echo "no" >&6; }
19236fi
19237
19238
19239  test -n "$AWK" && break
19240done
19241
19242    xmms_got_version=` $AWK '						\
19243BEGIN {									\
19244    print vercmp(ARGV[1], ARGV[2]);					\
19245}									\
19246									\
19247function vercmp(ver1, ver2,    ver1arr, ver2arr,			\
19248                               ver1len, ver2len,			\
19249                               ver1int, ver2int, len, i, p) {		\
19250									\
19251    ver1len = split(ver1, ver1arr, /\./);				\
19252    ver2len = split(ver2, ver2arr, /\./);				\
19253									\
19254    len = ver1len > ver2len ? ver1len : ver2len;			\
19255									\
19256    for (i = 1; i <= len; i++) {					\
19257        p = 1000 ^ (len - i);						\
19258        ver1int += ver1arr[i] * p;					\
19259        ver2int += ver2arr[i] * p;					\
19260    }									\
19261									\
19262    if (ver1int < ver2int)						\
19263        return 2;							\
19264    else if (ver1int > ver2int)						\
19265        return 1;							\
19266    else								\
19267        return 0;							\
19268}' $XMMS_VERSION $min_xmms_version`
19269
19270    if test $xmms_got_version -eq 2; then 	# failure
19271	no_xmms=version
19272    else  					# success!
19273	:
19274    fi
19275
19276fi
19277
19278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMMS - version >= $min_xmms_version" >&5
19279$as_echo_n "checking for XMMS - version >= $min_xmms_version... " >&6; }
19280
19281if test "x$no_xmms" = x; then
19282    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19283$as_echo "yes" >&6; }
19284    :
19285else
19286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19287$as_echo "no" >&6; }
19288
19289    if test "$XMMS_CONFIG" = "no" ; then
19290	echo "*** The xmms-config script installed by XMMS could not be found."
19291      	echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
19292	echo "*** your path, or set the XMMS_CONFIG environment variable to the"
19293	echo "*** full path to xmms-config."
19294    else
19295	if test "$no_xmms" = "version"; then
19296	    echo "*** An old version of XMMS, $XMMS_VERSION, was found."
19297	    echo "*** You need a version of XMMS newer than $min_xmms_version."
19298	    echo "*** The latest version of XMMS is always available from"
19299	    echo "*** http://www.xmms.org/"
19300	    echo "***"
19301
19302            echo "*** If you have already installed a sufficiently new version, this error"
19303            echo "*** probably means that the wrong copy of the xmms-config shell script is"
19304            echo "*** being found. The easiest way to fix this is to remove the old version"
19305            echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
19306            echo "*** correct copy of xmms-config. (In this case, you will have to"
19307            echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf"
19308            echo "*** so that the correct libraries are found at run-time)"
19309	fi
19310    fi
19311    XMMS_CFLAGS=""
19312    XMMS_LIBS=""
19313    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&5
19314$as_echo "$as_me: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&2;}
19315fi
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327fi
19328 if test -n "$XMMS_INPUT_PLUGIN_DIR"; then
19329  FLaC__HAS_XMMS_TRUE=
19330  FLaC__HAS_XMMS_FALSE='#'
19331else
19332  FLaC__HAS_XMMS_TRUE='#'
19333  FLaC__HAS_XMMS_FALSE=
19334fi
19335
19336
19337# Check whether --enable-cpplibs was given.
19338if test "${enable_cpplibs+set}" = set; then :
19339  enableval=$enable_cpplibs; case "${enableval}" in
19340	yes) disable_cpplibs=false ;;
19341	no)  disable_cpplibs=true ;;
19342	*)   as_fn_error $? "bad value ${enableval} for --enable-cpplibs" "$LINENO" 5 ;;
19343esac
19344else
19345  disable_cpplibs=false
19346fi
19347
19348 if test "x$disable_cpplibs" != xtrue; then
19349  FLaC__WITH_CPPLIBS_TRUE=
19350  FLaC__WITH_CPPLIBS_FALSE='#'
19351else
19352  FLaC__WITH_CPPLIBS_TRUE='#'
19353  FLaC__WITH_CPPLIBS_FALSE=
19354fi
19355
19356
19357# Check whether --enable-oss-fuzzers was given.
19358if test "${enable_oss_fuzzers+set}" = set; then :
19359  enableval=$enable_oss_fuzzers; have_oss_fuzzers=yes
19360else
19361  have_oss_fuzzers=no
19362fi
19363
19364
19365if test "x$have_oss_fuzzers" = "xyes"; then
19366  if test "x$xiph_cv_c_compiler_clang" = "xyes" ; then
19367     if test "x$have_oss_fuzzers" = "xyes"; then
19368  USE_OSSFUZZERS_TRUE=
19369  USE_OSSFUZZERS_FALSE='#'
19370else
19371  USE_OSSFUZZERS_TRUE='#'
19372  USE_OSSFUZZERS_FALSE=
19373fi
19374
19375    if test "x$LIB_FUZZING_ENGINE" = "x" ; then
19376      # Only set this if it is empty.
19377	  LIB_FUZZING_ENGINE=-fsanitize=fuzzer
19378    fi
19379  else
19380     if test "false" = "true"; then
19381  USE_OSSFUZZERS_TRUE=
19382  USE_OSSFUZZERS_FALSE='#'
19383else
19384  USE_OSSFUZZERS_TRUE='#'
19385  USE_OSSFUZZERS_FALSE=
19386fi
19387
19388    # Disable fuzzer if the compiler is not Clang.
19389    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Ozz-Fuzz is disabled because that requres the  Clang compiler." >&5
19390$as_echo "$as_me: WARNING: *** Ozz-Fuzz is disabled because that requres the  Clang compiler." >&2;}
19391    have_oss_fuzzers="no (compiler is GCC)"
19392  fi
19393else
19394   if test "false" = "true"; then
19395  USE_OSSFUZZERS_TRUE=
19396  USE_OSSFUZZERS_FALSE='#'
19397else
19398  USE_OSSFUZZERS_TRUE='#'
19399  USE_OSSFUZZERS_FALSE=
19400fi
19401
19402fi
19403
19404 if test "x$LIB_FUZZING_ENGINE" = "x-fsanitize=fuzzer"; then
19405  USE_OSSFUZZ_FLAG_TRUE=
19406  USE_OSSFUZZ_FLAG_FALSE='#'
19407else
19408  USE_OSSFUZZ_FLAG_TRUE='#'
19409  USE_OSSFUZZ_FLAG_FALSE=
19410fi
19411
19412 if test -f "$LIB_FUZZING_ENGINE"; then
19413  USE_OSSFUZZ_STATIC_TRUE=
19414  USE_OSSFUZZ_STATIC_FALSE='#'
19415else
19416  USE_OSSFUZZ_STATIC_TRUE='#'
19417  USE_OSSFUZZ_STATIC_FALSE=
19418fi
19419
19420
19421
19422# Check whether --enable-ogg was given.
19423if test "${enable_ogg+set}" = set; then :
19424  enableval=$enable_ogg;  want_ogg=$enableval
19425else
19426   want_ogg=yes
19427fi
19428
19429
19430if test "x$want_ogg" != "xno"; then
19431
19432# Check whether --with-ogg was given.
19433if test "${with_ogg+set}" = set; then :
19434  withval=$with_ogg; ogg_prefix="$withval"
19435else
19436  ogg_prefix=""
19437fi
19438
19439
19440# Check whether --with-ogg-libraries was given.
19441if test "${with_ogg_libraries+set}" = set; then :
19442  withval=$with_ogg_libraries; ogg_libraries="$withval"
19443else
19444  ogg_libraries=""
19445fi
19446
19447
19448# Check whether --with-ogg-includes was given.
19449if test "${with_ogg_includes+set}" = set; then :
19450  withval=$with_ogg_includes; ogg_includes="$withval"
19451else
19452  ogg_includes=""
19453fi
19454
19455# Check whether --enable-oggtest was given.
19456if test "${enable_oggtest+set}" = set; then :
19457  enableval=$enable_oggtest;
19458else
19459  enable_oggtest=yes
19460fi
19461
19462
19463  if test "x$ogg_libraries" != "x" ; then
19464    OGG_LIBS="-L$ogg_libraries"
19465  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
19466    OGG_LIBS=""
19467  elif test "x$ogg_prefix" != "x" ; then
19468    OGG_LIBS="-L$ogg_prefix/lib"
19469  elif test "x$prefix" != "xNONE" ; then
19470    OGG_LIBS="-L$prefix/lib"
19471  fi
19472
19473  if test "x$ogg_prefix" != "xno" ; then
19474    OGG_LIBS="$OGG_LIBS -logg"
19475  fi
19476
19477  if test "x$ogg_includes" != "x" ; then
19478    OGG_CFLAGS="-I$ogg_includes"
19479  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
19480    OGG_CFLAGS=""
19481  elif test "x$ogg_prefix" != "x" ; then
19482    OGG_CFLAGS="-I$ogg_prefix/include"
19483  elif test "x$prefix" != "xNONE"; then
19484    OGG_CFLAGS="-I$prefix/include"
19485  fi
19486
19487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
19488$as_echo_n "checking for Ogg... " >&6; }
19489  if test "x$ogg_prefix" = "xno" ; then
19490    no_ogg="disabled"
19491    enable_oggtest="no"
19492  else
19493    no_ogg=""
19494  fi
19495
19496
19497  if test "x$enable_oggtest" = "xyes" ; then
19498    ac_save_CFLAGS="$CFLAGS"
19499    ac_save_LIBS="$LIBS"
19500    CFLAGS="$CFLAGS $OGG_CFLAGS"
19501    LIBS="$LIBS $OGG_LIBS"
19502      rm -f conf.oggtest
19503      if test "$cross_compiling" = yes; then :
19504  echo $ac_n "cross compiling; assumed OK... $ac_c"
19505else
19506  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507/* end confdefs.h.  */
19508
19509#include <stdio.h>
19510#include <stdlib.h>
19511#include <string.h>
19512#include <ogg/ogg.h>
19513
19514int main ()
19515{
19516  system("touch conf.oggtest");
19517  return 0;
19518}
19519
19520
19521_ACEOF
19522if ac_fn_c_try_run "$LINENO"; then :
19523
19524else
19525  no_ogg=yes
19526fi
19527rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19528  conftest.$ac_objext conftest.beam conftest.$ac_ext
19529fi
19530
19531       CFLAGS="$ac_save_CFLAGS"
19532       LIBS="$ac_save_LIBS"
19533  fi
19534
19535  if test "x$no_ogg" = "xdisabled" ; then
19536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19537$as_echo "no" >&6; }
19538     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Ogg development environment not installed - Ogg support will not be built" >&5
19539$as_echo "$as_me: WARNING: *** Ogg development environment not installed - Ogg support will not be built" >&2;}
19540  elif test "x$no_ogg" = "x" ; then
19541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19542$as_echo "yes" >&6; }
19543     have_ogg=yes
19544  else
19545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19546$as_echo "no" >&6; }
19547     if test -f conf.oggtest ; then
19548       :
19549     else
19550       echo "*** Could not run Ogg test program, checking why..."
19551       CFLAGS="$CFLAGS $OGG_CFLAGS"
19552       LIBS="$LIBS $OGG_LIBS"
19553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554/* end confdefs.h.  */
19555
19556#include <stdio.h>
19557#include <ogg/ogg.h>
19558
19559int
19560main ()
19561{
19562 return 0;
19563  ;
19564  return 0;
19565}
19566_ACEOF
19567if ac_fn_c_try_link "$LINENO"; then :
19568   echo "*** The test program compiled, but did not run. This usually means"
19569       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
19570       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
19571       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19572       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
19573       echo "*** is required on your system"
19574       echo "***"
19575       echo "*** If you have an old version installed, it is best to remove it, although"
19576       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19577else
19578   echo "*** The test program failed to compile or link. See the file config.log for the"
19579       echo "*** exact error that occurred. This usually means Ogg was incorrectly installed"
19580       echo "*** or that you have moved Ogg since it was installed."
19581fi
19582rm -f core conftest.err conftest.$ac_objext \
19583    conftest$ac_exeext conftest.$ac_ext
19584       CFLAGS="$ac_save_CFLAGS"
19585       LIBS="$ac_save_LIBS"
19586     fi
19587     OGG_CFLAGS=""
19588     OGG_LIBS=""
19589     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Ogg development environment not installed - Ogg support will not be built" >&5
19590$as_echo "$as_me: WARNING: *** Ogg development environment not installed - Ogg support will not be built" >&2;}
19591  fi
19592
19593
19594  rm -f conf.oggtest
19595
19596fi
19597
19598FLAC__HAS_OGG=0
19599 if test "x$have_ogg" = xyes; then
19600  FLaC__HAS_OGG_TRUE=
19601  FLaC__HAS_OGG_FALSE='#'
19602else
19603  FLaC__HAS_OGG_TRUE='#'
19604  FLaC__HAS_OGG_FALSE=
19605fi
19606
19607if test "x$have_ogg" = xyes ; then
19608	FLAC__HAS_OGG=1
19609	OGG_PACKAGE="ogg"
19610else
19611	have_ogg=no
19612fi
19613
19614cat >>confdefs.h <<_ACEOF
19615#define FLAC__HAS_OGG $FLAC__HAS_OGG
19616_ACEOF
19617
19618
19619
19620
19621# Check whether --enable-examples was given.
19622if test "${enable_examples+set}" = set; then :
19623  enableval=$enable_examples;
19624fi
19625
19626 if test "x$enable_examples" != "xno"; then
19627  EXAMPLES_TRUE=
19628  EXAMPLES_FALSE='#'
19629else
19630  EXAMPLES_TRUE='#'
19631  EXAMPLES_FALSE=
19632fi
19633
19634
19635
19636      if test "X$prefix" = "XNONE"; then
19637    acl_final_prefix="$ac_default_prefix"
19638  else
19639    acl_final_prefix="$prefix"
19640  fi
19641  if test "X$exec_prefix" = "XNONE"; then
19642    acl_final_exec_prefix='${prefix}'
19643  else
19644    acl_final_exec_prefix="$exec_prefix"
19645  fi
19646  acl_save_prefix="$prefix"
19647  prefix="$acl_final_prefix"
19648  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
19649  prefix="$acl_save_prefix"
19650
19651
19652
19653# Check whether --with-gnu-ld was given.
19654if test "${with_gnu_ld+set}" = set; then :
19655  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19656else
19657  with_gnu_ld=no
19658fi
19659
19660# Prepare PATH_SEPARATOR.
19661# The user is always right.
19662if test "${PATH_SEPARATOR+set}" != set; then
19663  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19664  # contains only /bin. Note that ksh looks also at the FPATH variable,
19665  # so we have to set that as well for the test.
19666  PATH_SEPARATOR=:
19667  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19668    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19669           || PATH_SEPARATOR=';'
19670       }
19671fi
19672
19673ac_prog=ld
19674if test "$GCC" = yes; then
19675  # Check if gcc -print-prog-name=ld gives a path.
19676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19677$as_echo_n "checking for ld used by $CC... " >&6; }
19678  case $host in
19679  *-*-mingw*)
19680    # gcc leaves a trailing carriage return which upsets mingw
19681    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19682  *)
19683    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19684  esac
19685  case $ac_prog in
19686    # Accept absolute paths.
19687    [\\/]* | ?:[\\/]*)
19688      re_direlt='/[^/][^/]*/\.\./'
19689      # Canonicalize the pathname of ld
19690      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
19691      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
19692        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
19693      done
19694      test -z "$LD" && LD="$ac_prog"
19695      ;;
19696  "")
19697    # If it fails, then pretend we aren't using GCC.
19698    ac_prog=ld
19699    ;;
19700  *)
19701    # If it is relative, then search for the first ld in PATH.
19702    with_gnu_ld=unknown
19703    ;;
19704  esac
19705elif test "$with_gnu_ld" = yes; then
19706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19707$as_echo_n "checking for GNU ld... " >&6; }
19708else
19709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19710$as_echo_n "checking for non-GNU ld... " >&6; }
19711fi
19712if ${acl_cv_path_LD+:} false; then :
19713  $as_echo_n "(cached) " >&6
19714else
19715  if test -z "$LD"; then
19716  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19717  for ac_dir in $PATH; do
19718    IFS="$acl_save_ifs"
19719    test -z "$ac_dir" && ac_dir=.
19720    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19721      acl_cv_path_LD="$ac_dir/$ac_prog"
19722      # Check to see if the program is GNU ld.  I'd rather use --version,
19723      # but apparently some variants of GNU ld only accept -v.
19724      # Break only if it was the GNU/non-GNU ld that we prefer.
19725      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
19726      *GNU* | *'with BFD'*)
19727        test "$with_gnu_ld" != no && break
19728        ;;
19729      *)
19730        test "$with_gnu_ld" != yes && break
19731        ;;
19732      esac
19733    fi
19734  done
19735  IFS="$acl_save_ifs"
19736else
19737  acl_cv_path_LD="$LD" # Let the user override the test with a path.
19738fi
19739fi
19740
19741LD="$acl_cv_path_LD"
19742if test -n "$LD"; then
19743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19744$as_echo "$LD" >&6; }
19745else
19746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19747$as_echo "no" >&6; }
19748fi
19749test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
19750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19751$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19752if ${acl_cv_prog_gnu_ld+:} false; then :
19753  $as_echo_n "(cached) " >&6
19754else
19755  # I'd rather use --version here, but apparently some GNU lds only accept -v.
19756case `$LD -v 2>&1 </dev/null` in
19757*GNU* | *'with BFD'*)
19758  acl_cv_prog_gnu_ld=yes
19759  ;;
19760*)
19761  acl_cv_prog_gnu_ld=no
19762  ;;
19763esac
19764fi
19765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
19766$as_echo "$acl_cv_prog_gnu_ld" >&6; }
19767with_gnu_ld=$acl_cv_prog_gnu_ld
19768
19769
19770
19771
19772                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
19773$as_echo_n "checking for shared library run path origin... " >&6; }
19774if ${acl_cv_rpath+:} false; then :
19775  $as_echo_n "(cached) " >&6
19776else
19777
19778    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
19779    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19780    . ./conftest.sh
19781    rm -f ./conftest.sh
19782    acl_cv_rpath=done
19783
19784fi
19785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
19786$as_echo "$acl_cv_rpath" >&6; }
19787  wl="$acl_cv_wl"
19788  acl_libext="$acl_cv_libext"
19789  acl_shlibext="$acl_cv_shlibext"
19790  acl_libname_spec="$acl_cv_libname_spec"
19791  acl_library_names_spec="$acl_cv_library_names_spec"
19792  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
19793  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
19794  acl_hardcode_direct="$acl_cv_hardcode_direct"
19795  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
19796    # Check whether --enable-rpath was given.
19797if test "${enable_rpath+set}" = set; then :
19798  enableval=$enable_rpath; :
19799else
19800  enable_rpath=yes
19801fi
19802
19803
19804
19805
19806  acl_libdirstem=lib
19807  acl_libdirstem2=
19808  case "$host_os" in
19809    solaris*)
19810                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
19811$as_echo_n "checking for 64-bit host... " >&6; }
19812if ${gl_cv_solaris_64bit+:} false; then :
19813  $as_echo_n "(cached) " >&6
19814else
19815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816/* end confdefs.h.  */
19817
19818#ifdef _LP64
19819sixtyfour bits
19820#endif
19821
19822_ACEOF
19823if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19824  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
19825  gl_cv_solaris_64bit=yes
19826else
19827  gl_cv_solaris_64bit=no
19828fi
19829rm -f conftest*
19830
19831
19832fi
19833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
19834$as_echo "$gl_cv_solaris_64bit" >&6; }
19835      if test $gl_cv_solaris_64bit = yes; then
19836        acl_libdirstem=lib/64
19837        case "$host_cpu" in
19838          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
19839          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
19840        esac
19841      fi
19842      ;;
19843    *)
19844      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
19845      if test -n "$searchpath"; then
19846        acl_save_IFS="${IFS= 	}"; IFS=":"
19847        for searchdir in $searchpath; do
19848          if test -d "$searchdir"; then
19849            case "$searchdir" in
19850              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
19851              */../ | */.. )
19852                # Better ignore directories of this form. They are misleading.
19853                ;;
19854              *) searchdir=`cd "$searchdir" && pwd`
19855                 case "$searchdir" in
19856                   */lib64 ) acl_libdirstem=lib64 ;;
19857                 esac ;;
19858            esac
19859          fi
19860        done
19861        IFS="$acl_save_IFS"
19862      fi
19863      ;;
19864  esac
19865  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878    use_additional=yes
19879
19880  acl_save_prefix="$prefix"
19881  prefix="$acl_final_prefix"
19882  acl_save_exec_prefix="$exec_prefix"
19883  exec_prefix="$acl_final_exec_prefix"
19884
19885    eval additional_includedir=\"$includedir\"
19886    eval additional_libdir=\"$libdir\"
19887
19888  exec_prefix="$acl_save_exec_prefix"
19889  prefix="$acl_save_prefix"
19890
19891
19892# Check whether --with-libiconv-prefix was given.
19893if test "${with_libiconv_prefix+set}" = set; then :
19894  withval=$with_libiconv_prefix;
19895    if test "X$withval" = "Xno"; then
19896      use_additional=no
19897    else
19898      if test "X$withval" = "X"; then
19899
19900  acl_save_prefix="$prefix"
19901  prefix="$acl_final_prefix"
19902  acl_save_exec_prefix="$exec_prefix"
19903  exec_prefix="$acl_final_exec_prefix"
19904
19905          eval additional_includedir=\"$includedir\"
19906          eval additional_libdir=\"$libdir\"
19907
19908  exec_prefix="$acl_save_exec_prefix"
19909  prefix="$acl_save_prefix"
19910
19911      else
19912        additional_includedir="$withval/include"
19913        additional_libdir="$withval/$acl_libdirstem"
19914        if test "$acl_libdirstem2" != "$acl_libdirstem" \
19915           && ! test -d "$withval/$acl_libdirstem"; then
19916          additional_libdir="$withval/$acl_libdirstem2"
19917        fi
19918      fi
19919    fi
19920
19921fi
19922
19923      LIBICONV=
19924  LTLIBICONV=
19925  INCICONV=
19926  LIBICONV_PREFIX=
19927      HAVE_LIBICONV=
19928  rpathdirs=
19929  ltrpathdirs=
19930  names_already_handled=
19931  names_next_round='iconv '
19932  while test -n "$names_next_round"; do
19933    names_this_round="$names_next_round"
19934    names_next_round=
19935    for name in $names_this_round; do
19936      already_handled=
19937      for n in $names_already_handled; do
19938        if test "$n" = "$name"; then
19939          already_handled=yes
19940          break
19941        fi
19942      done
19943      if test -z "$already_handled"; then
19944        names_already_handled="$names_already_handled $name"
19945                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
19946        eval value=\"\$HAVE_LIB$uppername\"
19947        if test -n "$value"; then
19948          if test "$value" = yes; then
19949            eval value=\"\$LIB$uppername\"
19950            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
19951            eval value=\"\$LTLIB$uppername\"
19952            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
19953          else
19954                                    :
19955          fi
19956        else
19957                              found_dir=
19958          found_la=
19959          found_so=
19960          found_a=
19961          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
19962          if test -n "$acl_shlibext"; then
19963            shrext=".$acl_shlibext"             # typically: shrext=.so
19964          else
19965            shrext=
19966          fi
19967          if test $use_additional = yes; then
19968            dir="$additional_libdir"
19969                                    if test -n "$acl_shlibext"; then
19970              if test -f "$dir/$libname$shrext"; then
19971                found_dir="$dir"
19972                found_so="$dir/$libname$shrext"
19973              else
19974                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19975                  ver=`(cd "$dir" && \
19976                        for f in "$libname$shrext".*; do echo "$f"; done \
19977                        | sed -e "s,^$libname$shrext\\\\.,," \
19978                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19979                        | sed 1q ) 2>/dev/null`
19980                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19981                    found_dir="$dir"
19982                    found_so="$dir/$libname$shrext.$ver"
19983                  fi
19984                else
19985                  eval library_names=\"$acl_library_names_spec\"
19986                  for f in $library_names; do
19987                    if test -f "$dir/$f"; then
19988                      found_dir="$dir"
19989                      found_so="$dir/$f"
19990                      break
19991                    fi
19992                  done
19993                fi
19994              fi
19995            fi
19996                        if test "X$found_dir" = "X"; then
19997              if test -f "$dir/$libname.$acl_libext"; then
19998                found_dir="$dir"
19999                found_a="$dir/$libname.$acl_libext"
20000              fi
20001            fi
20002            if test "X$found_dir" != "X"; then
20003              if test -f "$dir/$libname.la"; then
20004                found_la="$dir/$libname.la"
20005              fi
20006            fi
20007          fi
20008          if test "X$found_dir" = "X"; then
20009            for x in $LDFLAGS $LTLIBICONV; do
20010
20011  acl_save_prefix="$prefix"
20012  prefix="$acl_final_prefix"
20013  acl_save_exec_prefix="$exec_prefix"
20014  exec_prefix="$acl_final_exec_prefix"
20015  eval x=\"$x\"
20016  exec_prefix="$acl_save_exec_prefix"
20017  prefix="$acl_save_prefix"
20018
20019              case "$x" in
20020                -L*)
20021                  dir=`echo "X$x" | sed -e 's/^X-L//'`
20022                                    if test -n "$acl_shlibext"; then
20023                    if test -f "$dir/$libname$shrext"; then
20024                      found_dir="$dir"
20025                      found_so="$dir/$libname$shrext"
20026                    else
20027                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20028                        ver=`(cd "$dir" && \
20029                              for f in "$libname$shrext".*; do echo "$f"; done \
20030                              | sed -e "s,^$libname$shrext\\\\.,," \
20031                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20032                              | sed 1q ) 2>/dev/null`
20033                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20034                          found_dir="$dir"
20035                          found_so="$dir/$libname$shrext.$ver"
20036                        fi
20037                      else
20038                        eval library_names=\"$acl_library_names_spec\"
20039                        for f in $library_names; do
20040                          if test -f "$dir/$f"; then
20041                            found_dir="$dir"
20042                            found_so="$dir/$f"
20043                            break
20044                          fi
20045                        done
20046                      fi
20047                    fi
20048                  fi
20049                                    if test "X$found_dir" = "X"; then
20050                    if test -f "$dir/$libname.$acl_libext"; then
20051                      found_dir="$dir"
20052                      found_a="$dir/$libname.$acl_libext"
20053                    fi
20054                  fi
20055                  if test "X$found_dir" != "X"; then
20056                    if test -f "$dir/$libname.la"; then
20057                      found_la="$dir/$libname.la"
20058                    fi
20059                  fi
20060                  ;;
20061              esac
20062              if test "X$found_dir" != "X"; then
20063                break
20064              fi
20065            done
20066          fi
20067          if test "X$found_dir" != "X"; then
20068                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20069            if test "X$found_so" != "X"; then
20070                                                        if test "$enable_rpath" = no \
20071                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20072                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20073                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20074              else
20075                                                                                haveit=
20076                for x in $ltrpathdirs; do
20077                  if test "X$x" = "X$found_dir"; then
20078                    haveit=yes
20079                    break
20080                  fi
20081                done
20082                if test -z "$haveit"; then
20083                  ltrpathdirs="$ltrpathdirs $found_dir"
20084                fi
20085                                if test "$acl_hardcode_direct" = yes; then
20086                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20087                else
20088                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
20089                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20090                                                            haveit=
20091                    for x in $rpathdirs; do
20092                      if test "X$x" = "X$found_dir"; then
20093                        haveit=yes
20094                        break
20095                      fi
20096                    done
20097                    if test -z "$haveit"; then
20098                      rpathdirs="$rpathdirs $found_dir"
20099                    fi
20100                  else
20101                                                                                haveit=
20102                    for x in $LDFLAGS $LIBICONV; do
20103
20104  acl_save_prefix="$prefix"
20105  prefix="$acl_final_prefix"
20106  acl_save_exec_prefix="$exec_prefix"
20107  exec_prefix="$acl_final_exec_prefix"
20108  eval x=\"$x\"
20109  exec_prefix="$acl_save_exec_prefix"
20110  prefix="$acl_save_prefix"
20111
20112                      if test "X$x" = "X-L$found_dir"; then
20113                        haveit=yes
20114                        break
20115                      fi
20116                    done
20117                    if test -z "$haveit"; then
20118                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20119                    fi
20120                    if test "$acl_hardcode_minus_L" != no; then
20121                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20122                    else
20123                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20124                    fi
20125                  fi
20126                fi
20127              fi
20128            else
20129              if test "X$found_a" != "X"; then
20130                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
20131              else
20132                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20133              fi
20134            fi
20135                        additional_includedir=
20136            case "$found_dir" in
20137              */$acl_libdirstem | */$acl_libdirstem/)
20138                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20139                if test "$name" = 'iconv'; then
20140                  LIBICONV_PREFIX="$basedir"
20141                fi
20142                additional_includedir="$basedir/include"
20143                ;;
20144              */$acl_libdirstem2 | */$acl_libdirstem2/)
20145                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20146                if test "$name" = 'iconv'; then
20147                  LIBICONV_PREFIX="$basedir"
20148                fi
20149                additional_includedir="$basedir/include"
20150                ;;
20151            esac
20152            if test "X$additional_includedir" != "X"; then
20153                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
20154                haveit=
20155                if test "X$additional_includedir" = "X/usr/local/include"; then
20156                  if test -n "$GCC"; then
20157                    case $host_os in
20158                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20159                    esac
20160                  fi
20161                fi
20162                if test -z "$haveit"; then
20163                  for x in $CPPFLAGS $INCICONV; do
20164
20165  acl_save_prefix="$prefix"
20166  prefix="$acl_final_prefix"
20167  acl_save_exec_prefix="$exec_prefix"
20168  exec_prefix="$acl_final_exec_prefix"
20169  eval x=\"$x\"
20170  exec_prefix="$acl_save_exec_prefix"
20171  prefix="$acl_save_prefix"
20172
20173                    if test "X$x" = "X-I$additional_includedir"; then
20174                      haveit=yes
20175                      break
20176                    fi
20177                  done
20178                  if test -z "$haveit"; then
20179                    if test -d "$additional_includedir"; then
20180                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20181                    fi
20182                  fi
20183                fi
20184              fi
20185            fi
20186                        if test -n "$found_la"; then
20187                                                        save_libdir="$libdir"
20188              case "$found_la" in
20189                */* | *\\*) . "$found_la" ;;
20190                *) . "./$found_la" ;;
20191              esac
20192              libdir="$save_libdir"
20193                            for dep in $dependency_libs; do
20194                case "$dep" in
20195                  -L*)
20196                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
20197                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20198                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20199                      haveit=
20200                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20201                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20202                        if test -n "$GCC"; then
20203                          case $host_os in
20204                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20205                          esac
20206                        fi
20207                      fi
20208                      if test -z "$haveit"; then
20209                        haveit=
20210                        for x in $LDFLAGS $LIBICONV; do
20211
20212  acl_save_prefix="$prefix"
20213  prefix="$acl_final_prefix"
20214  acl_save_exec_prefix="$exec_prefix"
20215  exec_prefix="$acl_final_exec_prefix"
20216  eval x=\"$x\"
20217  exec_prefix="$acl_save_exec_prefix"
20218  prefix="$acl_save_prefix"
20219
20220                          if test "X$x" = "X-L$additional_libdir"; then
20221                            haveit=yes
20222                            break
20223                          fi
20224                        done
20225                        if test -z "$haveit"; then
20226                          if test -d "$additional_libdir"; then
20227                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20228                          fi
20229                        fi
20230                        haveit=
20231                        for x in $LDFLAGS $LTLIBICONV; do
20232
20233  acl_save_prefix="$prefix"
20234  prefix="$acl_final_prefix"
20235  acl_save_exec_prefix="$exec_prefix"
20236  exec_prefix="$acl_final_exec_prefix"
20237  eval x=\"$x\"
20238  exec_prefix="$acl_save_exec_prefix"
20239  prefix="$acl_save_prefix"
20240
20241                          if test "X$x" = "X-L$additional_libdir"; then
20242                            haveit=yes
20243                            break
20244                          fi
20245                        done
20246                        if test -z "$haveit"; then
20247                          if test -d "$additional_libdir"; then
20248                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20249                          fi
20250                        fi
20251                      fi
20252                    fi
20253                    ;;
20254                  -R*)
20255                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
20256                    if test "$enable_rpath" != no; then
20257                                                                  haveit=
20258                      for x in $rpathdirs; do
20259                        if test "X$x" = "X$dir"; then
20260                          haveit=yes
20261                          break
20262                        fi
20263                      done
20264                      if test -z "$haveit"; then
20265                        rpathdirs="$rpathdirs $dir"
20266                      fi
20267                                                                  haveit=
20268                      for x in $ltrpathdirs; do
20269                        if test "X$x" = "X$dir"; then
20270                          haveit=yes
20271                          break
20272                        fi
20273                      done
20274                      if test -z "$haveit"; then
20275                        ltrpathdirs="$ltrpathdirs $dir"
20276                      fi
20277                    fi
20278                    ;;
20279                  -l*)
20280                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20281                    ;;
20282                  *.la)
20283                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20284                    ;;
20285                  *)
20286                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
20287                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20288                    ;;
20289                esac
20290              done
20291            fi
20292          else
20293                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20294            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20295          fi
20296        fi
20297      fi
20298    done
20299  done
20300  if test "X$rpathdirs" != "X"; then
20301    if test -n "$acl_hardcode_libdir_separator"; then
20302                        alldirs=
20303      for found_dir in $rpathdirs; do
20304        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20305      done
20306            acl_save_libdir="$libdir"
20307      libdir="$alldirs"
20308      eval flag=\"$acl_hardcode_libdir_flag_spec\"
20309      libdir="$acl_save_libdir"
20310      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20311    else
20312            for found_dir in $rpathdirs; do
20313        acl_save_libdir="$libdir"
20314        libdir="$found_dir"
20315        eval flag=\"$acl_hardcode_libdir_flag_spec\"
20316        libdir="$acl_save_libdir"
20317        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20318      done
20319    fi
20320  fi
20321  if test "X$ltrpathdirs" != "X"; then
20322            for found_dir in $ltrpathdirs; do
20323      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20324    done
20325  fi
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338          am_save_CPPFLAGS="$CPPFLAGS"
20339
20340  for element in $INCICONV; do
20341    haveit=
20342    for x in $CPPFLAGS; do
20343
20344  acl_save_prefix="$prefix"
20345  prefix="$acl_final_prefix"
20346  acl_save_exec_prefix="$exec_prefix"
20347  exec_prefix="$acl_final_exec_prefix"
20348  eval x=\"$x\"
20349  exec_prefix="$acl_save_exec_prefix"
20350  prefix="$acl_save_prefix"
20351
20352      if test "X$x" = "X$element"; then
20353        haveit=yes
20354        break
20355      fi
20356    done
20357    if test -z "$haveit"; then
20358      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
20359    fi
20360  done
20361
20362
20363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20364$as_echo_n "checking for iconv... " >&6; }
20365if ${am_cv_func_iconv+:} false; then :
20366  $as_echo_n "(cached) " >&6
20367else
20368
20369    am_cv_func_iconv="no, consider installing GNU libiconv"
20370    am_cv_lib_iconv=no
20371    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372/* end confdefs.h.  */
20373
20374#include <stdlib.h>
20375#include <iconv.h>
20376
20377int
20378main ()
20379{
20380iconv_t cd = iconv_open("","");
20381           iconv(cd,NULL,NULL,NULL,NULL);
20382           iconv_close(cd);
20383  ;
20384  return 0;
20385}
20386_ACEOF
20387if ac_fn_c_try_link "$LINENO"; then :
20388  am_cv_func_iconv=yes
20389fi
20390rm -f core conftest.err conftest.$ac_objext \
20391    conftest$ac_exeext conftest.$ac_ext
20392    if test "$am_cv_func_iconv" != yes; then
20393      am_save_LIBS="$LIBS"
20394      LIBS="$LIBS $LIBICONV"
20395      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20396/* end confdefs.h.  */
20397
20398#include <stdlib.h>
20399#include <iconv.h>
20400
20401int
20402main ()
20403{
20404iconv_t cd = iconv_open("","");
20405             iconv(cd,NULL,NULL,NULL,NULL);
20406             iconv_close(cd);
20407  ;
20408  return 0;
20409}
20410_ACEOF
20411if ac_fn_c_try_link "$LINENO"; then :
20412  am_cv_lib_iconv=yes
20413        am_cv_func_iconv=yes
20414fi
20415rm -f core conftest.err conftest.$ac_objext \
20416    conftest$ac_exeext conftest.$ac_ext
20417      LIBS="$am_save_LIBS"
20418    fi
20419
20420fi
20421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20422$as_echo "$am_cv_func_iconv" >&6; }
20423  if test "$am_cv_func_iconv" = yes; then
20424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20425$as_echo_n "checking for working iconv... " >&6; }
20426if ${am_cv_func_iconv_works+:} false; then :
20427  $as_echo_n "(cached) " >&6
20428else
20429
20430                  am_save_LIBS="$LIBS"
20431      if test $am_cv_lib_iconv = yes; then
20432        LIBS="$LIBS $LIBICONV"
20433      fi
20434      if test "$cross_compiling" = yes; then :
20435
20436         case "$host_os" in
20437           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
20438           *)            am_cv_func_iconv_works="guessing yes" ;;
20439         esac
20440
20441else
20442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443/* end confdefs.h.  */
20444
20445#include <iconv.h>
20446#include <string.h>
20447int main ()
20448{
20449  int result = 0;
20450  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20451     returns.  */
20452  {
20453    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20454    if (cd_utf8_to_88591 != (iconv_t)(-1))
20455      {
20456        static const char input[] = "\342\202\254"; /* EURO SIGN */
20457        char buf[10];
20458        const char *inptr = input;
20459        size_t inbytesleft = strlen (input);
20460        char *outptr = buf;
20461        size_t outbytesleft = sizeof (buf);
20462        size_t res = iconv (cd_utf8_to_88591,
20463                            (char **) &inptr, &inbytesleft,
20464                            &outptr, &outbytesleft);
20465        if (res == 0)
20466          result |= 1;
20467        iconv_close (cd_utf8_to_88591);
20468      }
20469  }
20470  /* Test against Solaris 10 bug: Failures are not distinguishable from
20471     successful returns.  */
20472  {
20473    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20474    if (cd_ascii_to_88591 != (iconv_t)(-1))
20475      {
20476        static const char input[] = "\263";
20477        char buf[10];
20478        const char *inptr = input;
20479        size_t inbytesleft = strlen (input);
20480        char *outptr = buf;
20481        size_t outbytesleft = sizeof (buf);
20482        size_t res = iconv (cd_ascii_to_88591,
20483                            (char **) &inptr, &inbytesleft,
20484                            &outptr, &outbytesleft);
20485        if (res == 0)
20486          result |= 2;
20487        iconv_close (cd_ascii_to_88591);
20488      }
20489  }
20490  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
20491  {
20492    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20493    if (cd_88591_to_utf8 != (iconv_t)(-1))
20494      {
20495        static const char input[] = "\304";
20496        static char buf[2] = { (char)0xDE, (char)0xAD };
20497        const char *inptr = input;
20498        size_t inbytesleft = 1;
20499        char *outptr = buf;
20500        size_t outbytesleft = 1;
20501        size_t res = iconv (cd_88591_to_utf8,
20502                            (char **) &inptr, &inbytesleft,
20503                            &outptr, &outbytesleft);
20504        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20505          result |= 4;
20506        iconv_close (cd_88591_to_utf8);
20507      }
20508  }
20509#if 0 /* This bug could be worked around by the caller.  */
20510  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
20511  {
20512    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20513    if (cd_88591_to_utf8 != (iconv_t)(-1))
20514      {
20515        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20516        char buf[50];
20517        const char *inptr = input;
20518        size_t inbytesleft = strlen (input);
20519        char *outptr = buf;
20520        size_t outbytesleft = sizeof (buf);
20521        size_t res = iconv (cd_88591_to_utf8,
20522                            (char **) &inptr, &inbytesleft,
20523                            &outptr, &outbytesleft);
20524        if ((int)res > 0)
20525          result |= 8;
20526        iconv_close (cd_88591_to_utf8);
20527      }
20528  }
20529#endif
20530  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20531     provided.  */
20532  if (/* Try standardized names.  */
20533      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20534      /* Try IRIX, OSF/1 names.  */
20535      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20536      /* Try AIX names.  */
20537      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20538      /* Try HP-UX names.  */
20539      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
20540    result |= 16;
20541  return result;
20542}
20543_ACEOF
20544if ac_fn_c_try_run "$LINENO"; then :
20545  am_cv_func_iconv_works=yes
20546else
20547  am_cv_func_iconv_works=no
20548fi
20549rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20550  conftest.$ac_objext conftest.beam conftest.$ac_ext
20551fi
20552
20553      LIBS="$am_save_LIBS"
20554
20555fi
20556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
20557$as_echo "$am_cv_func_iconv_works" >&6; }
20558    case "$am_cv_func_iconv_works" in
20559      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
20560      *)   am_func_iconv=yes ;;
20561    esac
20562  else
20563    am_func_iconv=no am_cv_lib_iconv=no
20564  fi
20565  if test "$am_func_iconv" = yes; then
20566
20567$as_echo "#define HAVE_ICONV 1" >>confdefs.h
20568
20569  fi
20570  if test "$am_cv_lib_iconv" = yes; then
20571    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
20572$as_echo_n "checking how to link with libiconv... " >&6; }
20573    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
20574$as_echo "$LIBICONV" >&6; }
20575  else
20576            CPPFLAGS="$am_save_CPPFLAGS"
20577    LIBICONV=
20578    LTLIBICONV=
20579  fi
20580
20581
20582
20583  if test "$am_cv_func_iconv" = yes; then
20584    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
20585$as_echo_n "checking for iconv declaration... " >&6; }
20586    if ${am_cv_proto_iconv+:} false; then :
20587  $as_echo_n "(cached) " >&6
20588else
20589
20590      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20591/* end confdefs.h.  */
20592
20593#include <stdlib.h>
20594#include <iconv.h>
20595extern
20596#ifdef __cplusplus
20597"C"
20598#endif
20599#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
20600size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20601#else
20602size_t iconv();
20603#endif
20604
20605int
20606main ()
20607{
20608
20609  ;
20610  return 0;
20611}
20612_ACEOF
20613if ac_fn_c_try_compile "$LINENO"; then :
20614  am_cv_proto_iconv_arg1=""
20615else
20616  am_cv_proto_iconv_arg1="const"
20617fi
20618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
20620fi
20621
20622    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20623    { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20624         $am_cv_proto_iconv" >&5
20625$as_echo "
20626         $am_cv_proto_iconv" >&6; }
20627
20628cat >>confdefs.h <<_ACEOF
20629#define ICONV_CONST $am_cv_proto_iconv_arg1
20630_ACEOF
20631
20632
20633  fi
20634
20635
20636  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
20637$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
20638if ${am_cv_langinfo_codeset+:} false; then :
20639  $as_echo_n "(cached) " >&6
20640else
20641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20642/* end confdefs.h.  */
20643#include <langinfo.h>
20644int
20645main ()
20646{
20647char* cs = nl_langinfo(CODESET); return !cs;
20648  ;
20649  return 0;
20650}
20651_ACEOF
20652if ac_fn_c_try_link "$LINENO"; then :
20653  am_cv_langinfo_codeset=yes
20654else
20655  am_cv_langinfo_codeset=no
20656fi
20657rm -f core conftest.err conftest.$ac_objext \
20658    conftest$ac_exeext conftest.$ac_ext
20659
20660fi
20661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
20662$as_echo "$am_cv_langinfo_codeset" >&6; }
20663  if test $am_cv_langinfo_codeset = yes; then
20664
20665$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
20666
20667  fi
20668
20669
20670for ac_prog in docbook-to-man docbook2man
20671do
20672  # Extract the first word of "$ac_prog", so it can be a program name with args.
20673set dummy $ac_prog; ac_word=$2
20674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20675$as_echo_n "checking for $ac_word... " >&6; }
20676if ${ac_cv_prog_DOCBOOK_TO_MAN+:} false; then :
20677  $as_echo_n "(cached) " >&6
20678else
20679  if test -n "$DOCBOOK_TO_MAN"; then
20680  ac_cv_prog_DOCBOOK_TO_MAN="$DOCBOOK_TO_MAN" # Let the user override the test.
20681else
20682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20683for as_dir in $PATH
20684do
20685  IFS=$as_save_IFS
20686  test -z "$as_dir" && as_dir=.
20687    for ac_exec_ext in '' $ac_executable_extensions; do
20688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20689    ac_cv_prog_DOCBOOK_TO_MAN="$ac_prog"
20690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20691    break 2
20692  fi
20693done
20694  done
20695IFS=$as_save_IFS
20696
20697fi
20698fi
20699DOCBOOK_TO_MAN=$ac_cv_prog_DOCBOOK_TO_MAN
20700if test -n "$DOCBOOK_TO_MAN"; then
20701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK_TO_MAN" >&5
20702$as_echo "$DOCBOOK_TO_MAN" >&6; }
20703else
20704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20705$as_echo "no" >&6; }
20706fi
20707
20708
20709  test -n "$DOCBOOK_TO_MAN" && break
20710done
20711
20712 if test -n "$DOCBOOK_TO_MAN"; then
20713  FLaC__HAS_DOCBOOK_TO_MAN_TRUE=
20714  FLaC__HAS_DOCBOOK_TO_MAN_FALSE='#'
20715else
20716  FLaC__HAS_DOCBOOK_TO_MAN_TRUE='#'
20717  FLaC__HAS_DOCBOOK_TO_MAN_FALSE=
20718fi
20719
20720if test -n "$DOCBOOK_TO_MAN" ; then
20721$as_echo "#define FLAC__HAS_DOCBOOK_TO_MAN 1" >>confdefs.h
20722
20723
20724fi
20725
20726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
20727$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20728if ${ac_cv_lib_rt_clock_gettime+:} false; then :
20729  $as_echo_n "(cached) " >&6
20730else
20731  ac_check_lib_save_LIBS=$LIBS
20732LIBS="-lrt  $LIBS"
20733cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734/* end confdefs.h.  */
20735
20736/* Override any GCC internal prototype to avoid an error.
20737   Use char because int might match the return type of a GCC
20738   builtin and then its argument prototype would still apply.  */
20739#ifdef __cplusplus
20740extern "C"
20741#endif
20742char clock_gettime ();
20743int
20744main ()
20745{
20746return clock_gettime ();
20747  ;
20748  return 0;
20749}
20750_ACEOF
20751if ac_fn_c_try_link "$LINENO"; then :
20752  ac_cv_lib_rt_clock_gettime=yes
20753else
20754  ac_cv_lib_rt_clock_gettime=no
20755fi
20756rm -f core conftest.err conftest.$ac_objext \
20757    conftest$ac_exeext conftest.$ac_ext
20758LIBS=$ac_check_lib_save_LIBS
20759fi
20760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
20761$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20762if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
20763  LIB_CLOCK_GETTIME=-lrt
20764        $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20765
20766
20767fi
20768
20769
20770
20771# only matters for x86
20772for ac_prog in nasm
20773do
20774  # Extract the first word of "$ac_prog", so it can be a program name with args.
20775set dummy $ac_prog; ac_word=$2
20776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20777$as_echo_n "checking for $ac_word... " >&6; }
20778if ${ac_cv_prog_NASM+:} false; then :
20779  $as_echo_n "(cached) " >&6
20780else
20781  if test -n "$NASM"; then
20782  ac_cv_prog_NASM="$NASM" # Let the user override the test.
20783else
20784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20785for as_dir in $PATH
20786do
20787  IFS=$as_save_IFS
20788  test -z "$as_dir" && as_dir=.
20789    for ac_exec_ext in '' $ac_executable_extensions; do
20790  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20791    ac_cv_prog_NASM="$ac_prog"
20792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20793    break 2
20794  fi
20795done
20796  done
20797IFS=$as_save_IFS
20798
20799fi
20800fi
20801NASM=$ac_cv_prog_NASM
20802if test -n "$NASM"; then
20803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NASM" >&5
20804$as_echo "$NASM" >&6; }
20805else
20806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20807$as_echo "no" >&6; }
20808fi
20809
20810
20811  test -n "$NASM" && break
20812done
20813
20814 if test -n "$NASM"; then
20815  FLaC__HAS_NASM_TRUE=
20816  FLaC__HAS_NASM_FALSE='#'
20817else
20818  FLaC__HAS_NASM_TRUE='#'
20819  FLaC__HAS_NASM_FALSE=
20820fi
20821
20822if test -n "$NASM" ; then
20823$as_echo "#define FLAC__HAS_NASM 1" >>confdefs.h
20824
20825
20826fi
20827
20828if test "x${ax_enable_debug}" = "xno" && test "x${enable_flags_setting}" = "xyes"; then :
20829
20830	CFLAGS="-O3 -funroll-loops"
20831	CXXFLAGS="-O3"
20832
20833fi
20834
20835
20836if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
20837
20838	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for version of $CC" >&5
20839$as_echo_n "checking for version of $CC... " >&6; }
20840	GCC_VERSION=`$CC -dumpversion`
20841	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
20842$as_echo "$GCC_VERSION" >&6; }
20843
20844	GCC_MAJOR_VERSION=`echo $GCC_VERSION | cut -d. -f 1`
20845	GCC_MINOR_VERSION=`echo $GCC_VERSION | cut -d. -f 2`
20846else
20847	GCC_MAJOR_VERSION=0
20848	GCC_MINOR_VERSION=0
20849	fi
20850
20851
20852
20853
20854
20855
20856if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_compiler_clang = xyes ; then
20857	CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
20858	CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations
20859
20860	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5
20861$as_echo_n "checking if $CC accepts -Wdeclaration-after-statement... " >&6; }
20862	ac_add_cflags__old_cflags="$CFLAGS"
20863	CFLAGS="-Wdeclaration-after-statement"
20864	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865/* end confdefs.h.  */
20866
20867			#include <stdio.h>
20868
20869int
20870main ()
20871{
20872puts("Hello, World!"); return 0;
20873  ;
20874  return 0;
20875}
20876_ACEOF
20877if ac_fn_c_try_link "$LINENO"; then :
20878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20879$as_echo "yes" >&6; }
20880			CFLAGS="$ac_add_cflags__old_cflags -Wdeclaration-after-statement"
20881else
20882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20883$as_echo "no" >&6; }
20884			CFLAGS="$ac_add_cflags__old_cflags"
20885
20886fi
20887rm -f core conftest.err conftest.$ac_objext \
20888    conftest$ac_exeext conftest.$ac_ext
20889
20890
20891
20892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS" >&5
20893$as_echo_n "checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... " >&6; }
20894    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895/* end confdefs.h.  */
20896
20897
20898                int main() {
20899                #ifndef _FORTIFY_SOURCE
20900                    return 0;
20901                #else
20902                    this_is_an_error;
20903                #endif
20904                }
20905
20906
20907_ACEOF
20908if ac_fn_c_try_link "$LINENO"; then :
20909
20910            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20911$as_echo "yes" >&6; }
20912            CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
20913
20914else
20915
20916            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20917$as_echo "no" >&6; }
20918
20919fi
20920rm -f core conftest.err conftest.$ac_objext \
20921    conftest$ac_exeext conftest.$ac_ext
20922
20923
20924	ac_ext=cpp
20925ac_cpp='$CXXCPP $CPPFLAGS'
20926ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20929
20930	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Weffc++" >&5
20931$as_echo_n "checking if $CXX accepts -Weffc++... " >&6; }
20932
20933	ac_add_cxxflags__old_cxxflags="$CXXFLAGS"
20934	CXXFLAGS="-Weffc++"
20935	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936/* end confdefs.h.  */
20937
20938			#include <cstdio>
20939
20940int
20941main ()
20942{
20943puts("Hello, World!"); return 0;
20944  ;
20945  return 0;
20946}
20947_ACEOF
20948if ac_fn_cxx_try_link "$LINENO"; then :
20949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20950$as_echo "yes" >&6; }
20951			CXXFLAGS="$ac_add_cxxflags__old_cxxflags -Weffc++"
20952else
20953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20954$as_echo "no" >&6; }
20955			CXXFLAGS="$ac_add_cxxflags__old_cxxflags"
20956
20957fi
20958rm -f core conftest.err conftest.$ac_objext \
20959    conftest$ac_exeext conftest.$ac_ext
20960
20961	ac_ext=c
20962ac_cpp='$CPP $CPPFLAGS'
20963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20965ac_compiler_gnu=$ac_cv_c_compiler_gnu
20966
20967
20968	if test x$xiph_cv_c_compiler_clang = xyes -a "$OBJ_FORMAT" = elf; then
20969		CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
20970		CFLAGS="$CFLAGS -fvisibility=hidden"
20971		CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
20972	elif test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then
20973		CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
20974		CFLAGS="$CFLAGS -fvisibility=hidden"
20975		CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
20976		fi
20977
20978
20979	if test x$xiph_cv_c_compiler_clang = xyes -a "$OBJ_FORMAT" = macho; then
20980		CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
20981		CFLAGS="$CFLAGS -fvisibility=hidden"
20982		CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
20983	elif test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = macho; then
20984		CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
20985		CFLAGS="$CFLAGS -fvisibility=hidden"
20986		CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
20987		fi
20988
20989	if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
20990		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fgnu89-inline" >&5
20991$as_echo_n "checking if $CC accepts -fgnu89-inline... " >&6; }
20992	ac_add_cflags__old_cflags="$CFLAGS"
20993	CFLAGS="-fgnu89-inline"
20994	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20995/* end confdefs.h.  */
20996
20997			#include <stdio.h>
20998
20999int
21000main ()
21001{
21002puts("Hello, World!"); return 0;
21003  ;
21004  return 0;
21005}
21006_ACEOF
21007if ac_fn_c_try_link "$LINENO"; then :
21008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21009$as_echo "yes" >&6; }
21010			CFLAGS="$ac_add_cflags__old_cflags -fgnu89-inline"
21011else
21012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21013$as_echo "no" >&6; }
21014			CFLAGS="$ac_add_cflags__old_cflags"
21015
21016fi
21017rm -f core conftest.err conftest.$ac_objext \
21018    conftest$ac_exeext conftest.$ac_ext
21019
21020		fi
21021
21022	if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x47" ; then
21023		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline-small-functions" >&5
21024$as_echo_n "checking if $CC accepts -fno-inline-small-functions... " >&6; }
21025	ac_add_cflags__old_cflags="$CFLAGS"
21026	CFLAGS="-fno-inline-small-functions"
21027	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028/* end confdefs.h.  */
21029
21030			#include <stdio.h>
21031
21032int
21033main ()
21034{
21035puts("Hello, World!"); return 0;
21036  ;
21037  return 0;
21038}
21039_ACEOF
21040if ac_fn_c_try_link "$LINENO"; then :
21041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21042$as_echo "yes" >&6; }
21043			CFLAGS="$ac_add_cflags__old_cflags -fno-inline-small-functions"
21044else
21045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21046$as_echo "no" >&6; }
21047			CFLAGS="$ac_add_cflags__old_cflags"
21048
21049fi
21050rm -f core conftest.err conftest.$ac_objext \
21051    conftest$ac_exeext conftest.$ac_ext
21052
21053		fi
21054
21055	if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
21056		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -msse2" >&5
21057$as_echo_n "checking if $CC accepts -msse2... " >&6; }
21058	ac_add_cflags__old_cflags="$CFLAGS"
21059	CFLAGS="-msse2"
21060	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21061/* end confdefs.h.  */
21062
21063			#include <stdio.h>
21064
21065int
21066main ()
21067{
21068puts("Hello, World!"); return 0;
21069  ;
21070  return 0;
21071}
21072_ACEOF
21073if ac_fn_c_try_link "$LINENO"; then :
21074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21075$as_echo "yes" >&6; }
21076			CFLAGS="$ac_add_cflags__old_cflags -msse2"
21077else
21078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21079$as_echo "no" >&6; }
21080			CFLAGS="$ac_add_cflags__old_cflags"
21081
21082fi
21083rm -f core conftest.err conftest.$ac_objext \
21084    conftest$ac_exeext conftest.$ac_ext
21085
21086		fi
21087
21088	fi
21089
21090case "$host_os" in
21091	"mingw32"|"os2")
21092	if test "$host_cpu" = "i686"; then
21093		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -mstackrealign" >&5
21094$as_echo_n "checking if $CC accepts -mstackrealign... " >&6; }
21095	ac_add_cflags__old_cflags="$CFLAGS"
21096	CFLAGS="-mstackrealign"
21097	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098/* end confdefs.h.  */
21099
21100			#include <stdio.h>
21101
21102int
21103main ()
21104{
21105puts("Hello, World!"); return 0;
21106  ;
21107  return 0;
21108}
21109_ACEOF
21110if ac_fn_c_try_link "$LINENO"; then :
21111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21112$as_echo "yes" >&6; }
21113			CFLAGS="$ac_add_cflags__old_cflags -mstackrealign"
21114else
21115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21116$as_echo "no" >&6; }
21117			CFLAGS="$ac_add_cflags__old_cflags"
21118
21119fi
21120rm -f core conftest.err conftest.$ac_objext \
21121    conftest$ac_exeext conftest.$ac_ext
21122
21123		fi
21124	esac
21125
21126if test x$enable_werror = "xyes" ; then
21127	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror" >&5
21128$as_echo_n "checking if $CC accepts -Werror... " >&6; }
21129	ac_add_cflags__old_cflags="$CFLAGS"
21130	CFLAGS="-Werror"
21131	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21132/* end confdefs.h.  */
21133
21134			#include <stdio.h>
21135
21136int
21137main ()
21138{
21139puts("Hello, World!"); return 0;
21140  ;
21141  return 0;
21142}
21143_ACEOF
21144if ac_fn_c_try_link "$LINENO"; then :
21145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21146$as_echo "yes" >&6; }
21147			CFLAGS="$ac_add_cflags__old_cflags -Werror"
21148else
21149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21150$as_echo "no" >&6; }
21151			CFLAGS="$ac_add_cflags__old_cflags"
21152
21153fi
21154rm -f core conftest.err conftest.$ac_objext \
21155    conftest$ac_exeext conftest.$ac_ext
21156
21157	ac_ext=cpp
21158ac_cpp='$CXXCPP $CPPFLAGS'
21159ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162
21163	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Werror" >&5
21164$as_echo_n "checking if $CXX accepts -Werror... " >&6; }
21165
21166	ac_add_cxxflags__old_cxxflags="$CXXFLAGS"
21167	CXXFLAGS="-Werror"
21168	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169/* end confdefs.h.  */
21170
21171			#include <cstdio>
21172
21173int
21174main ()
21175{
21176puts("Hello, World!"); return 0;
21177  ;
21178  return 0;
21179}
21180_ACEOF
21181if ac_fn_cxx_try_link "$LINENO"; then :
21182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21183$as_echo "yes" >&6; }
21184			CXXFLAGS="$ac_add_cxxflags__old_cxxflags -Werror"
21185else
21186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21187$as_echo "no" >&6; }
21188			CXXFLAGS="$ac_add_cxxflags__old_cxxflags"
21189
21190fi
21191rm -f core conftest.err conftest.$ac_objext \
21192    conftest$ac_exeext conftest.$ac_ext
21193
21194	ac_ext=c
21195ac_cpp='$CPP $CPPFLAGS'
21196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199
21200	fi
21201
21202if test x$enable_stack_smash_protection = "xyes" ; then
21203
21204	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports stack smash protection" >&5
21205$as_echo_n "checking if $CC supports stack smash protection... " >&6; }
21206	xiph_stack_check_old_cflags="$CFLAGS"
21207	SSP_FLAGS="-fstack-protector-strong"
21208	CFLAGS=$SSP_FLAGS
21209	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21210/* end confdefs.h.  */
21211
21212			#include <stdio.h>
21213
21214int
21215main ()
21216{
21217puts("Hello, World!"); return 0;
21218  ;
21219  return 0;
21220}
21221_ACEOF
21222if ac_fn_c_try_link "$LINENO"; then :
21223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21224$as_echo "yes" >&6; }
21225			CFLAGS="$xiph_stack_check_old_cflags $SSP_FLAGS"
21226else
21227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21228$as_echo "no" >&6; }
21229			CFLAGS="$xiph_stack_check_old_cflags"
21230
21231fi
21232rm -f core conftest.err conftest.$ac_objext \
21233    conftest$ac_exeext conftest.$ac_ext
21234
21235	ac_ext=cpp
21236ac_cpp='$CXXCPP $CPPFLAGS'
21237ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21238ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21239ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21240
21241	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX supports stack smash protection" >&5
21242$as_echo_n "checking if $CXX supports stack smash protection... " >&6; }
21243	xiph_stack_check_old_cflags="$CFLAGS"
21244	SSP_FLAGS="-fstack-protector-strong"
21245	CFLAGS=$SSP_FLAGS
21246	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247/* end confdefs.h.  */
21248
21249			#include <cstdio>
21250
21251int
21252main ()
21253{
21254puts("Hello, World!"); return 0;
21255  ;
21256  return 0;
21257}
21258_ACEOF
21259if ac_fn_cxx_try_link "$LINENO"; then :
21260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21261$as_echo "yes" >&6; }
21262			CFLAGS="$xiph_stack_check_old_cflags $SSP_FLAGS"
21263else
21264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21265$as_echo "no" >&6; }
21266			CFLAGS="$xiph_stack_check_old_cflags"
21267
21268fi
21269rm -f core conftest.err conftest.$ac_objext \
21270    conftest$ac_exeext conftest.$ac_ext
21271	ac_ext=c
21272ac_cpp='$CPP $CPPFLAGS'
21273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21275ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276
21277
21278	fi
21279
21280
21281
21282if test x$enable_shared != "xyes" ; then
21283	CPPFLAGS="-DFLAC__NO_DLL $CPPFLAGS"
21284	fi
21285
21286ac_config_files="$ac_config_files Makefile src/Makefile src/libFLAC/Makefile src/libFLAC/flac.pc src/libFLAC/ia32/Makefile src/libFLAC/include/Makefile src/libFLAC/include/private/Makefile src/libFLAC/include/protected/Makefile src/libFLAC++/Makefile src/libFLAC++/flac++.pc src/flac/Makefile src/metaflac/Makefile src/plugin_common/Makefile src/plugin_xmms/Makefile src/share/Makefile src/test_grabbag/Makefile src/test_grabbag/cuesheet/Makefile src/test_grabbag/picture/Makefile src/test_libs_common/Makefile src/test_libFLAC/Makefile src/test_libFLAC++/Makefile src/test_seeking/Makefile src/test_streams/Makefile src/utils/Makefile src/utils/flacdiff/Makefile src/utils/flactimer/Makefile examples/Makefile examples/c/Makefile examples/c/decode/Makefile examples/c/decode/file/Makefile examples/c/encode/Makefile examples/c/encode/file/Makefile examples/cpp/Makefile examples/cpp/decode/Makefile examples/cpp/decode/file/Makefile examples/cpp/encode/Makefile examples/cpp/encode/file/Makefile include/Makefile include/FLAC/Makefile include/FLAC++/Makefile include/share/Makefile include/share/grabbag/Makefile include/test_libs_common/Makefile doc/Doxyfile doc/Makefile doc/html/Makefile doc/html/images/Makefile m4/Makefile man/Makefile test/common.sh test/Makefile test/cuesheets/Makefile test/flac-to-flac-metadata-test-files/Makefile test/metaflac-test-files/Makefile test/pictures/Makefile build/Makefile microbench/Makefile oss-fuzz/Makefile"
21287
21288cat >confcache <<\_ACEOF
21289# This file is a shell script that caches the results of configure
21290# tests run on this system so they can be shared between configure
21291# scripts and configure runs, see configure's option --config-cache.
21292# It is not useful on other systems.  If it contains results you don't
21293# want to keep, you may remove or edit it.
21294#
21295# config.status only pays attention to the cache file if you give it
21296# the --recheck option to rerun configure.
21297#
21298# `ac_cv_env_foo' variables (set or unset) will be overridden when
21299# loading this file, other *unset* `ac_cv_foo' will be assigned the
21300# following values.
21301
21302_ACEOF
21303
21304# The following way of writing the cache mishandles newlines in values,
21305# but we know of no workaround that is simple, portable, and efficient.
21306# So, we kill variables containing newlines.
21307# Ultrix sh set writes to stderr and can't be redirected directly,
21308# and sets the high bit in the cache file unless we assign to the vars.
21309(
21310  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21311    eval ac_val=\$$ac_var
21312    case $ac_val in #(
21313    *${as_nl}*)
21314      case $ac_var in #(
21315      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21316$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21317      esac
21318      case $ac_var in #(
21319      _ | IFS | as_nl) ;; #(
21320      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21321      *) { eval $ac_var=; unset $ac_var;} ;;
21322      esac ;;
21323    esac
21324  done
21325
21326  (set) 2>&1 |
21327    case $as_nl`(ac_space=' '; set) 2>&1` in #(
21328    *${as_nl}ac_space=\ *)
21329      # `set' does not quote correctly, so add quotes: double-quote
21330      # substitution turns \\\\ into \\, and sed turns \\ into \.
21331      sed -n \
21332	"s/'/'\\\\''/g;
21333	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21334      ;; #(
21335    *)
21336      # `set' quotes correctly as required by POSIX, so do not add quotes.
21337      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21338      ;;
21339    esac |
21340    sort
21341) |
21342  sed '
21343     /^ac_cv_env_/b end
21344     t clear
21345     :clear
21346     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21347     t end
21348     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21349     :end' >>confcache
21350if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21351  if test -w "$cache_file"; then
21352    if test "x$cache_file" != "x/dev/null"; then
21353      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21354$as_echo "$as_me: updating cache $cache_file" >&6;}
21355      if test ! -f "$cache_file" || test -h "$cache_file"; then
21356	cat confcache >"$cache_file"
21357      else
21358        case $cache_file in #(
21359        */* | ?:*)
21360	  mv -f confcache "$cache_file"$$ &&
21361	  mv -f "$cache_file"$$ "$cache_file" ;; #(
21362        *)
21363	  mv -f confcache "$cache_file" ;;
21364	esac
21365      fi
21366    fi
21367  else
21368    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21369$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21370  fi
21371fi
21372rm -f confcache
21373
21374test "x$prefix" = xNONE && prefix=$ac_default_prefix
21375# Let make expand exec_prefix.
21376test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21377
21378DEFS=-DHAVE_CONFIG_H
21379
21380ac_libobjs=
21381ac_ltlibobjs=
21382U=
21383for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21384  # 1. Remove the extension, and $U if already installed.
21385  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21386  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21387  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21388  #    will be set to the directory where LIBOBJS objects are built.
21389  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21390  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21391done
21392LIBOBJS=$ac_libobjs
21393
21394LTLIBOBJS=$ac_ltlibobjs
21395
21396
21397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21398$as_echo_n "checking that generated files are newer than configure... " >&6; }
21399   if test -n "$am_sleep_pid"; then
21400     # Hide warnings about reused PIDs.
21401     wait $am_sleep_pid 2>/dev/null
21402   fi
21403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21404$as_echo "done" >&6; }
21405 if test -n "$EXEEXT"; then
21406  am__EXEEXT_TRUE=
21407  am__EXEEXT_FALSE='#'
21408else
21409  am__EXEEXT_TRUE='#'
21410  am__EXEEXT_FALSE=
21411fi
21412
21413if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21414  as_fn_error $? "conditional \"AMDEP\" was never defined.
21415Usually this means the macro was only invoked conditionally." "$LINENO" 5
21416fi
21417if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21418  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21419Usually this means the macro was only invoked conditionally." "$LINENO" 5
21420fi
21421if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
21422  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
21423Usually this means the macro was only invoked conditionally." "$LINENO" 5
21424fi
21425if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21426  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21427Usually this means the macro was only invoked conditionally." "$LINENO" 5
21428fi
21429
21430if test -z "${FLaC__NO_ASM_TRUE}" && test -z "${FLaC__NO_ASM_FALSE}"; then
21431  as_fn_error $? "conditional \"FLaC__NO_ASM\" was never defined.
21432Usually this means the macro was only invoked conditionally." "$LINENO" 5
21433fi
21434if test -z "${FLAC__CPU_X86_64_TRUE}" && test -z "${FLAC__CPU_X86_64_FALSE}"; then
21435  as_fn_error $? "conditional \"FLAC__CPU_X86_64\" was never defined.
21436Usually this means the macro was only invoked conditionally." "$LINENO" 5
21437fi
21438if test -z "${FLaC__CPU_IA32_TRUE}" && test -z "${FLaC__CPU_IA32_FALSE}"; then
21439  as_fn_error $? "conditional \"FLaC__CPU_IA32\" was never defined.
21440Usually this means the macro was only invoked conditionally." "$LINENO" 5
21441fi
21442if test -z "${FLaC__CPU_PPC_TRUE}" && test -z "${FLaC__CPU_PPC_FALSE}"; then
21443  as_fn_error $? "conditional \"FLaC__CPU_PPC\" was never defined.
21444Usually this means the macro was only invoked conditionally." "$LINENO" 5
21445fi
21446if test -z "${FLaC__CPU_PPC64_TRUE}" && test -z "${FLaC__CPU_PPC64_FALSE}"; then
21447  as_fn_error $? "conditional \"FLaC__CPU_PPC64\" was never defined.
21448Usually this means the macro was only invoked conditionally." "$LINENO" 5
21449fi
21450if test -z "${FLaC__CPU_SPARC_TRUE}" && test -z "${FLaC__CPU_SPARC_FALSE}"; then
21451  as_fn_error $? "conditional \"FLaC__CPU_SPARC\" was never defined.
21452Usually this means the macro was only invoked conditionally." "$LINENO" 5
21453fi
21454if test -z "${OS_IS_WINDOWS_TRUE}" && test -z "${OS_IS_WINDOWS_FALSE}"; then
21455  as_fn_error $? "conditional \"OS_IS_WINDOWS\" was never defined.
21456Usually this means the macro was only invoked conditionally." "$LINENO" 5
21457fi
21458if test -z "${FLaC__SYS_DARWIN_TRUE}" && test -z "${FLaC__SYS_DARWIN_FALSE}"; then
21459  as_fn_error $? "conditional \"FLaC__SYS_DARWIN\" was never defined.
21460Usually this means the macro was only invoked conditionally." "$LINENO" 5
21461fi
21462if test -z "${FLaC__SYS_LINUX_TRUE}" && test -z "${FLaC__SYS_LINUX_FALSE}"; then
21463  as_fn_error $? "conditional \"FLaC__SYS_LINUX\" was never defined.
21464Usually this means the macro was only invoked conditionally." "$LINENO" 5
21465fi
21466if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
21467  as_fn_error $? "conditional \"DEBUG\" was never defined.
21468Usually this means the macro was only invoked conditionally." "$LINENO" 5
21469fi
21470if test -z "${FLaC__USE_ALTIVEC_TRUE}" && test -z "${FLaC__USE_ALTIVEC_FALSE}"; then
21471  as_fn_error $? "conditional \"FLaC__USE_ALTIVEC\" was never defined.
21472Usually this means the macro was only invoked conditionally." "$LINENO" 5
21473fi
21474if test -z "${FLaC__USE_VSX_TRUE}" && test -z "${FLaC__USE_VSX_FALSE}"; then
21475  as_fn_error $? "conditional \"FLaC__USE_VSX\" was never defined.
21476Usually this means the macro was only invoked conditionally." "$LINENO" 5
21477fi
21478if test -z "${FLaC__USE_AVX_TRUE}" && test -z "${FLaC__USE_AVX_FALSE}"; then
21479  as_fn_error $? "conditional \"FLaC__USE_AVX\" was never defined.
21480Usually this means the macro was only invoked conditionally." "$LINENO" 5
21481fi
21482if test -z "${FLaC__HAS_DOXYGEN_TRUE}" && test -z "${FLaC__HAS_DOXYGEN_FALSE}"; then
21483  as_fn_error $? "conditional \"FLaC__HAS_DOXYGEN\" was never defined.
21484Usually this means the macro was only invoked conditionally." "$LINENO" 5
21485fi
21486if test -z "${FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE}" && test -z "${FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE}"; then
21487  as_fn_error $? "conditional \"FLaC__INSTALL_XMMS_PLUGIN_LOCALLY\" was never defined.
21488Usually this means the macro was only invoked conditionally." "$LINENO" 5
21489fi
21490if test -z "${FLaC__HAS_XMMS_TRUE}" && test -z "${FLaC__HAS_XMMS_FALSE}"; then
21491  as_fn_error $? "conditional \"FLaC__HAS_XMMS\" was never defined.
21492Usually this means the macro was only invoked conditionally." "$LINENO" 5
21493fi
21494if test -z "${FLaC__WITH_CPPLIBS_TRUE}" && test -z "${FLaC__WITH_CPPLIBS_FALSE}"; then
21495  as_fn_error $? "conditional \"FLaC__WITH_CPPLIBS\" was never defined.
21496Usually this means the macro was only invoked conditionally." "$LINENO" 5
21497fi
21498if test -z "${USE_OSSFUZZERS_TRUE}" && test -z "${USE_OSSFUZZERS_FALSE}"; then
21499  as_fn_error $? "conditional \"USE_OSSFUZZERS\" was never defined.
21500Usually this means the macro was only invoked conditionally." "$LINENO" 5
21501fi
21502if test -z "${USE_OSSFUZZERS_TRUE}" && test -z "${USE_OSSFUZZERS_FALSE}"; then
21503  as_fn_error $? "conditional \"USE_OSSFUZZERS\" was never defined.
21504Usually this means the macro was only invoked conditionally." "$LINENO" 5
21505fi
21506if test -z "${USE_OSSFUZZERS_TRUE}" && test -z "${USE_OSSFUZZERS_FALSE}"; then
21507  as_fn_error $? "conditional \"USE_OSSFUZZERS\" was never defined.
21508Usually this means the macro was only invoked conditionally." "$LINENO" 5
21509fi
21510if test -z "${USE_OSSFUZZ_FLAG_TRUE}" && test -z "${USE_OSSFUZZ_FLAG_FALSE}"; then
21511  as_fn_error $? "conditional \"USE_OSSFUZZ_FLAG\" was never defined.
21512Usually this means the macro was only invoked conditionally." "$LINENO" 5
21513fi
21514if test -z "${USE_OSSFUZZ_STATIC_TRUE}" && test -z "${USE_OSSFUZZ_STATIC_FALSE}"; then
21515  as_fn_error $? "conditional \"USE_OSSFUZZ_STATIC\" was never defined.
21516Usually this means the macro was only invoked conditionally." "$LINENO" 5
21517fi
21518if test -z "${FLaC__HAS_OGG_TRUE}" && test -z "${FLaC__HAS_OGG_FALSE}"; then
21519  as_fn_error $? "conditional \"FLaC__HAS_OGG\" was never defined.
21520Usually this means the macro was only invoked conditionally." "$LINENO" 5
21521fi
21522if test -z "${EXAMPLES_TRUE}" && test -z "${EXAMPLES_FALSE}"; then
21523  as_fn_error $? "conditional \"EXAMPLES\" was never defined.
21524Usually this means the macro was only invoked conditionally." "$LINENO" 5
21525fi
21526if test -z "${FLaC__HAS_DOCBOOK_TO_MAN_TRUE}" && test -z "${FLaC__HAS_DOCBOOK_TO_MAN_FALSE}"; then
21527  as_fn_error $? "conditional \"FLaC__HAS_DOCBOOK_TO_MAN\" was never defined.
21528Usually this means the macro was only invoked conditionally." "$LINENO" 5
21529fi
21530if test -z "${FLaC__HAS_NASM_TRUE}" && test -z "${FLaC__HAS_NASM_FALSE}"; then
21531  as_fn_error $? "conditional \"FLaC__HAS_NASM\" was never defined.
21532Usually this means the macro was only invoked conditionally." "$LINENO" 5
21533fi
21534
21535: "${CONFIG_STATUS=./config.status}"
21536ac_write_fail=0
21537ac_clean_files_save=$ac_clean_files
21538ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21539{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21540$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21541as_write_fail=0
21542cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21543#! $SHELL
21544# Generated by $as_me.
21545# Run this file to recreate the current configuration.
21546# Compiler output produced by configure, useful for debugging
21547# configure, is in config.log if it exists.
21548
21549debug=false
21550ac_cs_recheck=false
21551ac_cs_silent=false
21552
21553SHELL=\${CONFIG_SHELL-$SHELL}
21554export SHELL
21555_ASEOF
21556cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21557## -------------------- ##
21558## M4sh Initialization. ##
21559## -------------------- ##
21560
21561# Be more Bourne compatible
21562DUALCASE=1; export DUALCASE # for MKS sh
21563if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21564  emulate sh
21565  NULLCMD=:
21566  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21567  # is contrary to our usage.  Disable this feature.
21568  alias -g '${1+"$@"}'='"$@"'
21569  setopt NO_GLOB_SUBST
21570else
21571  case `(set -o) 2>/dev/null` in #(
21572  *posix*) :
21573    set -o posix ;; #(
21574  *) :
21575     ;;
21576esac
21577fi
21578
21579
21580as_nl='
21581'
21582export as_nl
21583# Printing a long string crashes Solaris 7 /usr/bin/printf.
21584as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21585as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21586as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21587# Prefer a ksh shell builtin over an external printf program on Solaris,
21588# but without wasting forks for bash or zsh.
21589if test -z "$BASH_VERSION$ZSH_VERSION" \
21590    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21591  as_echo='print -r --'
21592  as_echo_n='print -rn --'
21593elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21594  as_echo='printf %s\n'
21595  as_echo_n='printf %s'
21596else
21597  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21598    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21599    as_echo_n='/usr/ucb/echo -n'
21600  else
21601    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21602    as_echo_n_body='eval
21603      arg=$1;
21604      case $arg in #(
21605      *"$as_nl"*)
21606	expr "X$arg" : "X\\(.*\\)$as_nl";
21607	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21608      esac;
21609      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21610    '
21611    export as_echo_n_body
21612    as_echo_n='sh -c $as_echo_n_body as_echo'
21613  fi
21614  export as_echo_body
21615  as_echo='sh -c $as_echo_body as_echo'
21616fi
21617
21618# The user is always right.
21619if test "${PATH_SEPARATOR+set}" != set; then
21620  PATH_SEPARATOR=:
21621  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21622    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21623      PATH_SEPARATOR=';'
21624  }
21625fi
21626
21627
21628# IFS
21629# We need space, tab and new line, in precisely that order.  Quoting is
21630# there to prevent editors from complaining about space-tab.
21631# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21632# splitting by setting IFS to empty value.)
21633IFS=" ""	$as_nl"
21634
21635# Find who we are.  Look in the path if we contain no directory separator.
21636as_myself=
21637case $0 in #((
21638  *[\\/]* ) as_myself=$0 ;;
21639  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21640for as_dir in $PATH
21641do
21642  IFS=$as_save_IFS
21643  test -z "$as_dir" && as_dir=.
21644    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21645  done
21646IFS=$as_save_IFS
21647
21648     ;;
21649esac
21650# We did not find ourselves, most probably we were run as `sh COMMAND'
21651# in which case we are not to be found in the path.
21652if test "x$as_myself" = x; then
21653  as_myself=$0
21654fi
21655if test ! -f "$as_myself"; then
21656  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21657  exit 1
21658fi
21659
21660# Unset variables that we do not need and which cause bugs (e.g. in
21661# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
21662# suppresses any "Segmentation fault" message there.  '((' could
21663# trigger a bug in pdksh 5.2.14.
21664for as_var in BASH_ENV ENV MAIL MAILPATH
21665do eval test x\${$as_var+set} = xset \
21666  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21667done
21668PS1='$ '
21669PS2='> '
21670PS4='+ '
21671
21672# NLS nuisances.
21673LC_ALL=C
21674export LC_ALL
21675LANGUAGE=C
21676export LANGUAGE
21677
21678# CDPATH.
21679(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21680
21681
21682# as_fn_error STATUS ERROR [LINENO LOG_FD]
21683# ----------------------------------------
21684# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21685# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21686# script with STATUS, using 1 if that was 0.
21687as_fn_error ()
21688{
21689  as_status=$1; test $as_status -eq 0 && as_status=1
21690  if test "$4"; then
21691    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21692    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21693  fi
21694  $as_echo "$as_me: error: $2" >&2
21695  as_fn_exit $as_status
21696} # as_fn_error
21697
21698
21699# as_fn_set_status STATUS
21700# -----------------------
21701# Set $? to STATUS, without forking.
21702as_fn_set_status ()
21703{
21704  return $1
21705} # as_fn_set_status
21706
21707# as_fn_exit STATUS
21708# -----------------
21709# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21710as_fn_exit ()
21711{
21712  set +e
21713  as_fn_set_status $1
21714  exit $1
21715} # as_fn_exit
21716
21717# as_fn_unset VAR
21718# ---------------
21719# Portably unset VAR.
21720as_fn_unset ()
21721{
21722  { eval $1=; unset $1;}
21723}
21724as_unset=as_fn_unset
21725# as_fn_append VAR VALUE
21726# ----------------------
21727# Append the text in VALUE to the end of the definition contained in VAR. Take
21728# advantage of any shell optimizations that allow amortized linear growth over
21729# repeated appends, instead of the typical quadratic growth present in naive
21730# implementations.
21731if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21732  eval 'as_fn_append ()
21733  {
21734    eval $1+=\$2
21735  }'
21736else
21737  as_fn_append ()
21738  {
21739    eval $1=\$$1\$2
21740  }
21741fi # as_fn_append
21742
21743# as_fn_arith ARG...
21744# ------------------
21745# Perform arithmetic evaluation on the ARGs, and store the result in the
21746# global $as_val. Take advantage of shells that can avoid forks. The arguments
21747# must be portable across $(()) and expr.
21748if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21749  eval 'as_fn_arith ()
21750  {
21751    as_val=$(( $* ))
21752  }'
21753else
21754  as_fn_arith ()
21755  {
21756    as_val=`expr "$@" || test $? -eq 1`
21757  }
21758fi # as_fn_arith
21759
21760
21761if expr a : '\(a\)' >/dev/null 2>&1 &&
21762   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21763  as_expr=expr
21764else
21765  as_expr=false
21766fi
21767
21768if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21769  as_basename=basename
21770else
21771  as_basename=false
21772fi
21773
21774if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21775  as_dirname=dirname
21776else
21777  as_dirname=false
21778fi
21779
21780as_me=`$as_basename -- "$0" ||
21781$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21782	 X"$0" : 'X\(//\)$' \| \
21783	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21784$as_echo X/"$0" |
21785    sed '/^.*\/\([^/][^/]*\)\/*$/{
21786	    s//\1/
21787	    q
21788	  }
21789	  /^X\/\(\/\/\)$/{
21790	    s//\1/
21791	    q
21792	  }
21793	  /^X\/\(\/\).*/{
21794	    s//\1/
21795	    q
21796	  }
21797	  s/.*/./; q'`
21798
21799# Avoid depending upon Character Ranges.
21800as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21801as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21802as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21803as_cr_digits='0123456789'
21804as_cr_alnum=$as_cr_Letters$as_cr_digits
21805
21806ECHO_C= ECHO_N= ECHO_T=
21807case `echo -n x` in #(((((
21808-n*)
21809  case `echo 'xy\c'` in
21810  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
21811  xy)  ECHO_C='\c';;
21812  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
21813       ECHO_T='	';;
21814  esac;;
21815*)
21816  ECHO_N='-n';;
21817esac
21818
21819rm -f conf$$ conf$$.exe conf$$.file
21820if test -d conf$$.dir; then
21821  rm -f conf$$.dir/conf$$.file
21822else
21823  rm -f conf$$.dir
21824  mkdir conf$$.dir 2>/dev/null
21825fi
21826if (echo >conf$$.file) 2>/dev/null; then
21827  if ln -s conf$$.file conf$$ 2>/dev/null; then
21828    as_ln_s='ln -s'
21829    # ... but there are two gotchas:
21830    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21831    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21832    # In both cases, we have to default to `cp -pR'.
21833    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21834      as_ln_s='cp -pR'
21835  elif ln conf$$.file conf$$ 2>/dev/null; then
21836    as_ln_s=ln
21837  else
21838    as_ln_s='cp -pR'
21839  fi
21840else
21841  as_ln_s='cp -pR'
21842fi
21843rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21844rmdir conf$$.dir 2>/dev/null
21845
21846
21847# as_fn_mkdir_p
21848# -------------
21849# Create "$as_dir" as a directory, including parents if necessary.
21850as_fn_mkdir_p ()
21851{
21852
21853  case $as_dir in #(
21854  -*) as_dir=./$as_dir;;
21855  esac
21856  test -d "$as_dir" || eval $as_mkdir_p || {
21857    as_dirs=
21858    while :; do
21859      case $as_dir in #(
21860      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21861      *) as_qdir=$as_dir;;
21862      esac
21863      as_dirs="'$as_qdir' $as_dirs"
21864      as_dir=`$as_dirname -- "$as_dir" ||
21865$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21866	 X"$as_dir" : 'X\(//\)[^/]' \| \
21867	 X"$as_dir" : 'X\(//\)$' \| \
21868	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21869$as_echo X"$as_dir" |
21870    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21871	    s//\1/
21872	    q
21873	  }
21874	  /^X\(\/\/\)[^/].*/{
21875	    s//\1/
21876	    q
21877	  }
21878	  /^X\(\/\/\)$/{
21879	    s//\1/
21880	    q
21881	  }
21882	  /^X\(\/\).*/{
21883	    s//\1/
21884	    q
21885	  }
21886	  s/.*/./; q'`
21887      test -d "$as_dir" && break
21888    done
21889    test -z "$as_dirs" || eval "mkdir $as_dirs"
21890  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21891
21892
21893} # as_fn_mkdir_p
21894if mkdir -p . 2>/dev/null; then
21895  as_mkdir_p='mkdir -p "$as_dir"'
21896else
21897  test -d ./-p && rmdir ./-p
21898  as_mkdir_p=false
21899fi
21900
21901
21902# as_fn_executable_p FILE
21903# -----------------------
21904# Test if FILE is an executable regular file.
21905as_fn_executable_p ()
21906{
21907  test -f "$1" && test -x "$1"
21908} # as_fn_executable_p
21909as_test_x='test -x'
21910as_executable_p=as_fn_executable_p
21911
21912# Sed expression to map a string onto a valid CPP name.
21913as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21914
21915# Sed expression to map a string onto a valid variable name.
21916as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21917
21918
21919exec 6>&1
21920## ----------------------------------- ##
21921## Main body of $CONFIG_STATUS script. ##
21922## ----------------------------------- ##
21923_ASEOF
21924test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21925
21926cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21927# Save the log message, to keep $0 and so on meaningful, and to
21928# report actual input values of CONFIG_FILES etc. instead of their
21929# values after options handling.
21930ac_log="
21931This file was extended by flac $as_me 1.3.4, which was
21932generated by GNU Autoconf 2.69.  Invocation command line was
21933
21934  CONFIG_FILES    = $CONFIG_FILES
21935  CONFIG_HEADERS  = $CONFIG_HEADERS
21936  CONFIG_LINKS    = $CONFIG_LINKS
21937  CONFIG_COMMANDS = $CONFIG_COMMANDS
21938  $ $0 $@
21939
21940on `(hostname || uname -n) 2>/dev/null | sed 1q`
21941"
21942
21943_ACEOF
21944
21945case $ac_config_files in *"
21946"*) set x $ac_config_files; shift; ac_config_files=$*;;
21947esac
21948
21949case $ac_config_headers in *"
21950"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21951esac
21952
21953
21954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21955# Files that config.status was made for.
21956config_files="$ac_config_files"
21957config_headers="$ac_config_headers"
21958config_commands="$ac_config_commands"
21959
21960_ACEOF
21961
21962cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963ac_cs_usage="\
21964\`$as_me' instantiates files and other configuration actions
21965from templates according to the current configuration.  Unless the files
21966and actions are specified as TAGs, all are instantiated by default.
21967
21968Usage: $0 [OPTION]... [TAG]...
21969
21970  -h, --help       print this help, then exit
21971  -V, --version    print version number and configuration settings, then exit
21972      --config     print configuration, then exit
21973  -q, --quiet, --silent
21974                   do not print progress messages
21975  -d, --debug      don't remove temporary files
21976      --recheck    update $as_me by reconfiguring in the same conditions
21977      --file=FILE[:TEMPLATE]
21978                   instantiate the configuration file FILE
21979      --header=FILE[:TEMPLATE]
21980                   instantiate the configuration header FILE
21981
21982Configuration files:
21983$config_files
21984
21985Configuration headers:
21986$config_headers
21987
21988Configuration commands:
21989$config_commands
21990
21991Report bugs to <flac-dev@xiph.org>.
21992flac home page: <https://www.xiph.org/flac/>."
21993
21994_ACEOF
21995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21996ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21997ac_cs_version="\\
21998flac config.status 1.3.4
21999configured by $0, generated by GNU Autoconf 2.69,
22000  with options \\"\$ac_cs_config\\"
22001
22002Copyright (C) 2012 Free Software Foundation, Inc.
22003This config.status script is free software; the Free Software Foundation
22004gives unlimited permission to copy, distribute and modify it."
22005
22006ac_pwd='$ac_pwd'
22007srcdir='$srcdir'
22008INSTALL='$INSTALL'
22009MKDIR_P='$MKDIR_P'
22010AWK='$AWK'
22011test -n "\$AWK" || AWK=awk
22012_ACEOF
22013
22014cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015# The default lists apply if the user does not specify any file.
22016ac_need_defaults=:
22017while test $# != 0
22018do
22019  case $1 in
22020  --*=?*)
22021    ac_option=`expr "X$1" : 'X\([^=]*\)='`
22022    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22023    ac_shift=:
22024    ;;
22025  --*=)
22026    ac_option=`expr "X$1" : 'X\([^=]*\)='`
22027    ac_optarg=
22028    ac_shift=:
22029    ;;
22030  *)
22031    ac_option=$1
22032    ac_optarg=$2
22033    ac_shift=shift
22034    ;;
22035  esac
22036
22037  case $ac_option in
22038  # Handling of the options.
22039  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22040    ac_cs_recheck=: ;;
22041  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22042    $as_echo "$ac_cs_version"; exit ;;
22043  --config | --confi | --conf | --con | --co | --c )
22044    $as_echo "$ac_cs_config"; exit ;;
22045  --debug | --debu | --deb | --de | --d | -d )
22046    debug=: ;;
22047  --file | --fil | --fi | --f )
22048    $ac_shift
22049    case $ac_optarg in
22050    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22051    '') as_fn_error $? "missing file argument" ;;
22052    esac
22053    as_fn_append CONFIG_FILES " '$ac_optarg'"
22054    ac_need_defaults=false;;
22055  --header | --heade | --head | --hea )
22056    $ac_shift
22057    case $ac_optarg in
22058    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22059    esac
22060    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22061    ac_need_defaults=false;;
22062  --he | --h)
22063    # Conflict between --help and --header
22064    as_fn_error $? "ambiguous option: \`$1'
22065Try \`$0 --help' for more information.";;
22066  --help | --hel | -h )
22067    $as_echo "$ac_cs_usage"; exit ;;
22068  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22069  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22070    ac_cs_silent=: ;;
22071
22072  # This is an error.
22073  -*) as_fn_error $? "unrecognized option: \`$1'
22074Try \`$0 --help' for more information." ;;
22075
22076  *) as_fn_append ac_config_targets " $1"
22077     ac_need_defaults=false ;;
22078
22079  esac
22080  shift
22081done
22082
22083ac_configure_extra_args=
22084
22085if $ac_cs_silent; then
22086  exec 6>/dev/null
22087  ac_configure_extra_args="$ac_configure_extra_args --silent"
22088fi
22089
22090_ACEOF
22091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22092if \$ac_cs_recheck; then
22093  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22094  shift
22095  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22096  CONFIG_SHELL='$SHELL'
22097  export CONFIG_SHELL
22098  exec "\$@"
22099fi
22100
22101_ACEOF
22102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22103exec 5>>config.log
22104{
22105  echo
22106  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22107## Running $as_me. ##
22108_ASBOX
22109  $as_echo "$ac_log"
22110} >&5
22111
22112_ACEOF
22113cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22114#
22115# INIT-COMMANDS
22116#
22117AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
22118
22119
22120# The HP-UX ksh and POSIX shell print the target directory to stdout
22121# if CDPATH is set.
22122(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22123
22124sed_quote_subst='$sed_quote_subst'
22125double_quote_subst='$double_quote_subst'
22126delay_variable_subst='$delay_variable_subst'
22127macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22128macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22129AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22130DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22131OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22132enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22133pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22134enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22135enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22136shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22137SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22138ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22139PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22140host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22141host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22142host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22143build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22144build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22145build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22146SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22147Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22148GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22149EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22150FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22151LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22152NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22153LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22154max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22155ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22156exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22157lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22158lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22159lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22160lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22161lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22162reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22163reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22164deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22165file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22166file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22167want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22168sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22169AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22170AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22171archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22172STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22173RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22174old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22175old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22176old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22177lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22178CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22179CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22180compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22181GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22182lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22183lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22184lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22185lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22186lt_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"`'
22187lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22188nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22189lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22190lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22191objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22192MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22193lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22194lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22195lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22196lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22197lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22198need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22199MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22200DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22201NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22202LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22203OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22204OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22205libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22206shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22207extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22208archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22209enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22210export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22211whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22212compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22213old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22214old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22215archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22216archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22217module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22218module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22219with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22220allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22221no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22222hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22223hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22224hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22225hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22226hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22227hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22228hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22229inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22230link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22231always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22232export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22233exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22234include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22235prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22236postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22237file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22238variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22239need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22240need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22241version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22242runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22243shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22244shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22245libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22246library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22247soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22248install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22249postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22250postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22251finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22252finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22253hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22254sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22255configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22256configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22257hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22258enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22259enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22260enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22261old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22262striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22263compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22264predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22265postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22266predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22267postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22268compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22269LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22270reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22271reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22272old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22273compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22274GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22275lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22276lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22277lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22278lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22279lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22280archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22281enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22282export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22283whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22284compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22285old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22286old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22287archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22288archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22289module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22290module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22291with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22292allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22293no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22294hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22295hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22296hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22297hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22298hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22299hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22300hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22301inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22302link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22303always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22304export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22305exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22306include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22307prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22308postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22309file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22310hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22311compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22312predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22313postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22314predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22315postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22316compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22317
22318LTCC='$LTCC'
22319LTCFLAGS='$LTCFLAGS'
22320compiler='$compiler_DEFAULT'
22321
22322# A function that is used when there is no print builtin or printf.
22323func_fallback_echo ()
22324{
22325  eval 'cat <<_LTECHO_EOF
22326\$1
22327_LTECHO_EOF'
22328}
22329
22330# Quote evaled strings.
22331for var in AS \
22332DLLTOOL \
22333OBJDUMP \
22334SHELL \
22335ECHO \
22336PATH_SEPARATOR \
22337SED \
22338GREP \
22339EGREP \
22340FGREP \
22341LD \
22342NM \
22343LN_S \
22344lt_SP2NL \
22345lt_NL2SP \
22346reload_flag \
22347deplibs_check_method \
22348file_magic_cmd \
22349file_magic_glob \
22350want_nocaseglob \
22351sharedlib_from_linklib_cmd \
22352AR \
22353AR_FLAGS \
22354archiver_list_spec \
22355STRIP \
22356RANLIB \
22357CC \
22358CFLAGS \
22359compiler \
22360lt_cv_sys_global_symbol_pipe \
22361lt_cv_sys_global_symbol_to_cdecl \
22362lt_cv_sys_global_symbol_to_import \
22363lt_cv_sys_global_symbol_to_c_name_address \
22364lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22365lt_cv_nm_interface \
22366nm_file_list_spec \
22367lt_cv_truncate_bin \
22368lt_prog_compiler_no_builtin_flag \
22369lt_prog_compiler_pic \
22370lt_prog_compiler_wl \
22371lt_prog_compiler_static \
22372lt_cv_prog_compiler_c_o \
22373need_locks \
22374MANIFEST_TOOL \
22375DSYMUTIL \
22376NMEDIT \
22377LIPO \
22378OTOOL \
22379OTOOL64 \
22380shrext_cmds \
22381export_dynamic_flag_spec \
22382whole_archive_flag_spec \
22383compiler_needs_object \
22384with_gnu_ld \
22385allow_undefined_flag \
22386no_undefined_flag \
22387hardcode_libdir_flag_spec \
22388hardcode_libdir_separator \
22389exclude_expsyms \
22390include_expsyms \
22391file_list_spec \
22392variables_saved_for_relink \
22393libname_spec \
22394library_names_spec \
22395soname_spec \
22396install_override_mode \
22397finish_eval \
22398old_striplib \
22399striplib \
22400compiler_lib_search_dirs \
22401predep_objects \
22402postdep_objects \
22403predeps \
22404postdeps \
22405compiler_lib_search_path \
22406LD_CXX \
22407reload_flag_CXX \
22408compiler_CXX \
22409lt_prog_compiler_no_builtin_flag_CXX \
22410lt_prog_compiler_pic_CXX \
22411lt_prog_compiler_wl_CXX \
22412lt_prog_compiler_static_CXX \
22413lt_cv_prog_compiler_c_o_CXX \
22414export_dynamic_flag_spec_CXX \
22415whole_archive_flag_spec_CXX \
22416compiler_needs_object_CXX \
22417with_gnu_ld_CXX \
22418allow_undefined_flag_CXX \
22419no_undefined_flag_CXX \
22420hardcode_libdir_flag_spec_CXX \
22421hardcode_libdir_separator_CXX \
22422exclude_expsyms_CXX \
22423include_expsyms_CXX \
22424file_list_spec_CXX \
22425compiler_lib_search_dirs_CXX \
22426predep_objects_CXX \
22427postdep_objects_CXX \
22428predeps_CXX \
22429postdeps_CXX \
22430compiler_lib_search_path_CXX; do
22431    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22432    *[\\\\\\\`\\"\\\$]*)
22433      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22434      ;;
22435    *)
22436      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22437      ;;
22438    esac
22439done
22440
22441# Double-quote double-evaled strings.
22442for var in reload_cmds \
22443old_postinstall_cmds \
22444old_postuninstall_cmds \
22445old_archive_cmds \
22446extract_expsyms_cmds \
22447old_archive_from_new_cmds \
22448old_archive_from_expsyms_cmds \
22449archive_cmds \
22450archive_expsym_cmds \
22451module_cmds \
22452module_expsym_cmds \
22453export_symbols_cmds \
22454prelink_cmds \
22455postlink_cmds \
22456postinstall_cmds \
22457postuninstall_cmds \
22458finish_cmds \
22459sys_lib_search_path_spec \
22460configure_time_dlsearch_path \
22461configure_time_lt_sys_library_path \
22462reload_cmds_CXX \
22463old_archive_cmds_CXX \
22464old_archive_from_new_cmds_CXX \
22465old_archive_from_expsyms_cmds_CXX \
22466archive_cmds_CXX \
22467archive_expsym_cmds_CXX \
22468module_cmds_CXX \
22469module_expsym_cmds_CXX \
22470export_symbols_cmds_CXX \
22471prelink_cmds_CXX \
22472postlink_cmds_CXX; do
22473    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22474    *[\\\\\\\`\\"\\\$]*)
22475      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22476      ;;
22477    *)
22478      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22479      ;;
22480    esac
22481done
22482
22483ac_aux_dir='$ac_aux_dir'
22484
22485# See if we are running on zsh, and set the options that allow our
22486# commands through without removal of \ escapes INIT.
22487if test -n "\${ZSH_VERSION+set}"; then
22488   setopt NO_GLOB_SUBST
22489fi
22490
22491
22492    PACKAGE='$PACKAGE'
22493    VERSION='$VERSION'
22494    RM='$RM'
22495    ofile='$ofile'
22496
22497
22498
22499
22500
22501
22502_ACEOF
22503
22504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22505
22506# Handling of arguments.
22507for ac_config_target in $ac_config_targets
22508do
22509  case $ac_config_target in
22510    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22511    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22512    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22513    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22514    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22515    "src/libFLAC/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC/Makefile" ;;
22516    "src/libFLAC/flac.pc") CONFIG_FILES="$CONFIG_FILES src/libFLAC/flac.pc" ;;
22517    "src/libFLAC/ia32/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC/ia32/Makefile" ;;
22518    "src/libFLAC/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/Makefile" ;;
22519    "src/libFLAC/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/private/Makefile" ;;
22520    "src/libFLAC/include/protected/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC/include/protected/Makefile" ;;
22521    "src/libFLAC++/Makefile") CONFIG_FILES="$CONFIG_FILES src/libFLAC++/Makefile" ;;
22522    "src/libFLAC++/flac++.pc") CONFIG_FILES="$CONFIG_FILES src/libFLAC++/flac++.pc" ;;
22523    "src/flac/Makefile") CONFIG_FILES="$CONFIG_FILES src/flac/Makefile" ;;
22524    "src/metaflac/Makefile") CONFIG_FILES="$CONFIG_FILES src/metaflac/Makefile" ;;
22525    "src/plugin_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugin_common/Makefile" ;;
22526    "src/plugin_xmms/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugin_xmms/Makefile" ;;
22527    "src/share/Makefile") CONFIG_FILES="$CONFIG_FILES src/share/Makefile" ;;
22528    "src/test_grabbag/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_grabbag/Makefile" ;;
22529    "src/test_grabbag/cuesheet/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_grabbag/cuesheet/Makefile" ;;
22530    "src/test_grabbag/picture/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_grabbag/picture/Makefile" ;;
22531    "src/test_libs_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_libs_common/Makefile" ;;
22532    "src/test_libFLAC/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_libFLAC/Makefile" ;;
22533    "src/test_libFLAC++/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_libFLAC++/Makefile" ;;
22534    "src/test_seeking/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_seeking/Makefile" ;;
22535    "src/test_streams/Makefile") CONFIG_FILES="$CONFIG_FILES src/test_streams/Makefile" ;;
22536    "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
22537    "src/utils/flacdiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/flacdiff/Makefile" ;;
22538    "src/utils/flactimer/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/flactimer/Makefile" ;;
22539    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22540    "examples/c/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/Makefile" ;;
22541    "examples/c/decode/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/decode/Makefile" ;;
22542    "examples/c/decode/file/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/decode/file/Makefile" ;;
22543    "examples/c/encode/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/encode/Makefile" ;;
22544    "examples/c/encode/file/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c/encode/file/Makefile" ;;
22545    "examples/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES examples/cpp/Makefile" ;;
22546    "examples/cpp/decode/Makefile") CONFIG_FILES="$CONFIG_FILES examples/cpp/decode/Makefile" ;;
22547    "examples/cpp/decode/file/Makefile") CONFIG_FILES="$CONFIG_FILES examples/cpp/decode/file/Makefile" ;;
22548    "examples/cpp/encode/Makefile") CONFIG_FILES="$CONFIG_FILES examples/cpp/encode/Makefile" ;;
22549    "examples/cpp/encode/file/Makefile") CONFIG_FILES="$CONFIG_FILES examples/cpp/encode/file/Makefile" ;;
22550    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22551    "include/FLAC/Makefile") CONFIG_FILES="$CONFIG_FILES include/FLAC/Makefile" ;;
22552    "include/FLAC++/Makefile") CONFIG_FILES="$CONFIG_FILES include/FLAC++/Makefile" ;;
22553    "include/share/Makefile") CONFIG_FILES="$CONFIG_FILES include/share/Makefile" ;;
22554    "include/share/grabbag/Makefile") CONFIG_FILES="$CONFIG_FILES include/share/grabbag/Makefile" ;;
22555    "include/test_libs_common/Makefile") CONFIG_FILES="$CONFIG_FILES include/test_libs_common/Makefile" ;;
22556    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
22557    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
22558    "doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;;
22559    "doc/html/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/images/Makefile" ;;
22560    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
22561    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
22562    "test/common.sh") CONFIG_FILES="$CONFIG_FILES test/common.sh" ;;
22563    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
22564    "test/cuesheets/Makefile") CONFIG_FILES="$CONFIG_FILES test/cuesheets/Makefile" ;;
22565    "test/flac-to-flac-metadata-test-files/Makefile") CONFIG_FILES="$CONFIG_FILES test/flac-to-flac-metadata-test-files/Makefile" ;;
22566    "test/metaflac-test-files/Makefile") CONFIG_FILES="$CONFIG_FILES test/metaflac-test-files/Makefile" ;;
22567    "test/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES test/pictures/Makefile" ;;
22568    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
22569    "microbench/Makefile") CONFIG_FILES="$CONFIG_FILES microbench/Makefile" ;;
22570    "oss-fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES oss-fuzz/Makefile" ;;
22571
22572  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22573  esac
22574done
22575
22576
22577# If the user did not use the arguments to specify the items to instantiate,
22578# then the envvar interface is used.  Set only those that are not.
22579# We use the long form for the default assignment because of an extremely
22580# bizarre bug on SunOS 4.1.3.
22581if $ac_need_defaults; then
22582  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22583  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22584  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22585fi
22586
22587# Have a temporary directory for convenience.  Make it in the build tree
22588# simply because there is no reason against having it here, and in addition,
22589# creating and moving files from /tmp can sometimes cause problems.
22590# Hook for its removal unless debugging.
22591# Note that there is a small window in which the directory will not be cleaned:
22592# after its creation but before its name has been assigned to `$tmp'.
22593$debug ||
22594{
22595  tmp= ac_tmp=
22596  trap 'exit_status=$?
22597  : "${ac_tmp:=$tmp}"
22598  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22599' 0
22600  trap 'as_fn_exit 1' 1 2 13 15
22601}
22602# Create a (secure) tmp directory for tmp files.
22603
22604{
22605  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22606  test -d "$tmp"
22607}  ||
22608{
22609  tmp=./conf$$-$RANDOM
22610  (umask 077 && mkdir "$tmp")
22611} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22612ac_tmp=$tmp
22613
22614# Set up the scripts for CONFIG_FILES section.
22615# No need to generate them if there are no CONFIG_FILES.
22616# This happens for instance with `./config.status config.h'.
22617if test -n "$CONFIG_FILES"; then
22618
22619
22620ac_cr=`echo X | tr X '\015'`
22621# On cygwin, bash can eat \r inside `` if the user requested igncr.
22622# But we know of no other shell where ac_cr would be empty at this
22623# point, so we can use a bashism as a fallback.
22624if test "x$ac_cr" = x; then
22625  eval ac_cr=\$\'\\r\'
22626fi
22627ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22628if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22629  ac_cs_awk_cr='\\r'
22630else
22631  ac_cs_awk_cr=$ac_cr
22632fi
22633
22634echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22635_ACEOF
22636
22637
22638{
22639  echo "cat >conf$$subs.awk <<_ACEOF" &&
22640  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22641  echo "_ACEOF"
22642} >conf$$subs.sh ||
22643  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22644ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22645ac_delim='%!_!# '
22646for ac_last_try in false false false false false :; do
22647  . ./conf$$subs.sh ||
22648    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22649
22650  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22651  if test $ac_delim_n = $ac_delim_num; then
22652    break
22653  elif $ac_last_try; then
22654    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22655  else
22656    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22657  fi
22658done
22659rm -f conf$$subs.sh
22660
22661cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22662cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22663_ACEOF
22664sed -n '
22665h
22666s/^/S["/; s/!.*/"]=/
22667p
22668g
22669s/^[^!]*!//
22670:repl
22671t repl
22672s/'"$ac_delim"'$//
22673t delim
22674:nl
22675h
22676s/\(.\{148\}\)..*/\1/
22677t more1
22678s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22679p
22680n
22681b repl
22682:more1
22683s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22684p
22685g
22686s/.\{148\}//
22687t nl
22688:delim
22689h
22690s/\(.\{148\}\)..*/\1/
22691t more2
22692s/["\\]/\\&/g; s/^/"/; s/$/"/
22693p
22694b
22695:more2
22696s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22697p
22698g
22699s/.\{148\}//
22700t delim
22701' <conf$$subs.awk | sed '
22702/^[^""]/{
22703  N
22704  s/\n//
22705}
22706' >>$CONFIG_STATUS || ac_write_fail=1
22707rm -f conf$$subs.awk
22708cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22709_ACAWK
22710cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22711  for (key in S) S_is_set[key] = 1
22712  FS = ""
22713
22714}
22715{
22716  line = $ 0
22717  nfields = split(line, field, "@")
22718  substed = 0
22719  len = length(field[1])
22720  for (i = 2; i < nfields; i++) {
22721    key = field[i]
22722    keylen = length(key)
22723    if (S_is_set[key]) {
22724      value = S[key]
22725      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22726      len += length(value) + length(field[++i])
22727      substed = 1
22728    } else
22729      len += 1 + keylen
22730  }
22731
22732  print line
22733}
22734
22735_ACAWK
22736_ACEOF
22737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22738if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22739  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22740else
22741  cat
22742fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22743  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22744_ACEOF
22745
22746# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22747# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22748# trailing colons and then remove the whole line if VPATH becomes empty
22749# (actually we leave an empty line to preserve line numbers).
22750if test "x$srcdir" = x.; then
22751  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
22752h
22753s///
22754s/^/:/
22755s/[	 ]*$/:/
22756s/:\$(srcdir):/:/g
22757s/:\${srcdir}:/:/g
22758s/:@srcdir@:/:/g
22759s/^:*//
22760s/:*$//
22761x
22762s/\(=[	 ]*\).*/\1/
22763G
22764s/\n//
22765s/^[^=]*=[	 ]*$//
22766}'
22767fi
22768
22769cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22770fi # test -n "$CONFIG_FILES"
22771
22772# Set up the scripts for CONFIG_HEADERS section.
22773# No need to generate them if there are no CONFIG_HEADERS.
22774# This happens for instance with `./config.status Makefile'.
22775if test -n "$CONFIG_HEADERS"; then
22776cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22777BEGIN {
22778_ACEOF
22779
22780# Transform confdefs.h into an awk script `defines.awk', embedded as
22781# here-document in config.status, that substitutes the proper values into
22782# config.h.in to produce config.h.
22783
22784# Create a delimiter string that does not exist in confdefs.h, to ease
22785# handling of long lines.
22786ac_delim='%!_!# '
22787for ac_last_try in false false :; do
22788  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22789  if test -z "$ac_tt"; then
22790    break
22791  elif $ac_last_try; then
22792    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22793  else
22794    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22795  fi
22796done
22797
22798# For the awk script, D is an array of macro values keyed by name,
22799# likewise P contains macro parameters if any.  Preserve backslash
22800# newline sequences.
22801
22802ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22803sed -n '
22804s/.\{148\}/&'"$ac_delim"'/g
22805t rset
22806:rset
22807s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
22808t def
22809d
22810:def
22811s/\\$//
22812t bsnl
22813s/["\\]/\\&/g
22814s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22815D["\1"]=" \3"/p
22816s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
22817d
22818:bsnl
22819s/["\\]/\\&/g
22820s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22821D["\1"]=" \3\\\\\\n"\\/p
22822t cont
22823s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22824t cont
22825d
22826:cont
22827n
22828s/.\{148\}/&'"$ac_delim"'/g
22829t clear
22830:clear
22831s/\\$//
22832t bsnlc
22833s/["\\]/\\&/g; s/^/"/; s/$/"/p
22834d
22835:bsnlc
22836s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22837b cont
22838' <confdefs.h | sed '
22839s/'"$ac_delim"'/"\\\
22840"/g' >>$CONFIG_STATUS || ac_write_fail=1
22841
22842cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22843  for (key in D) D_is_set[key] = 1
22844  FS = ""
22845}
22846/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22847  line = \$ 0
22848  split(line, arg, " ")
22849  if (arg[1] == "#") {
22850    defundef = arg[2]
22851    mac1 = arg[3]
22852  } else {
22853    defundef = substr(arg[1], 2)
22854    mac1 = arg[2]
22855  }
22856  split(mac1, mac2, "(") #)
22857  macro = mac2[1]
22858  prefix = substr(line, 1, index(line, defundef) - 1)
22859  if (D_is_set[macro]) {
22860    # Preserve the white space surrounding the "#".
22861    print prefix "define", macro P[macro] D[macro]
22862    next
22863  } else {
22864    # Replace #undef with comments.  This is necessary, for example,
22865    # in the case of _POSIX_SOURCE, which is predefined and required
22866    # on some systems where configure will not decide to define it.
22867    if (defundef == "undef") {
22868      print "/*", prefix defundef, macro, "*/"
22869      next
22870    }
22871  }
22872}
22873{ print }
22874_ACAWK
22875_ACEOF
22876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22877  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22878fi # test -n "$CONFIG_HEADERS"
22879
22880
22881eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22882shift
22883for ac_tag
22884do
22885  case $ac_tag in
22886  :[FHLC]) ac_mode=$ac_tag; continue;;
22887  esac
22888  case $ac_mode$ac_tag in
22889  :[FHL]*:*);;
22890  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22891  :[FH]-) ac_tag=-:-;;
22892  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22893  esac
22894  ac_save_IFS=$IFS
22895  IFS=:
22896  set x $ac_tag
22897  IFS=$ac_save_IFS
22898  shift
22899  ac_file=$1
22900  shift
22901
22902  case $ac_mode in
22903  :L) ac_source=$1;;
22904  :[FH])
22905    ac_file_inputs=
22906    for ac_f
22907    do
22908      case $ac_f in
22909      -) ac_f="$ac_tmp/stdin";;
22910      *) # Look for the file first in the build tree, then in the source tree
22911	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
22912	 # because $ac_f cannot contain `:'.
22913	 test -f "$ac_f" ||
22914	   case $ac_f in
22915	   [\\/$]*) false;;
22916	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22917	   esac ||
22918	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22919      esac
22920      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22921      as_fn_append ac_file_inputs " '$ac_f'"
22922    done
22923
22924    # Let's still pretend it is `configure' which instantiates (i.e., don't
22925    # use $as_me), people would be surprised to read:
22926    #    /* config.h.  Generated by config.status.  */
22927    configure_input='Generated from '`
22928	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22929	`' by configure.'
22930    if test x"$ac_file" != x-; then
22931      configure_input="$ac_file.  $configure_input"
22932      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22933$as_echo "$as_me: creating $ac_file" >&6;}
22934    fi
22935    # Neutralize special characters interpreted by sed in replacement strings.
22936    case $configure_input in #(
22937    *\&* | *\|* | *\\* )
22938       ac_sed_conf_input=`$as_echo "$configure_input" |
22939       sed 's/[\\\\&|]/\\\\&/g'`;; #(
22940    *) ac_sed_conf_input=$configure_input;;
22941    esac
22942
22943    case $ac_tag in
22944    *:-:* | *:-) cat >"$ac_tmp/stdin" \
22945      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22946    esac
22947    ;;
22948  esac
22949
22950  ac_dir=`$as_dirname -- "$ac_file" ||
22951$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22952	 X"$ac_file" : 'X\(//\)[^/]' \| \
22953	 X"$ac_file" : 'X\(//\)$' \| \
22954	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22955$as_echo X"$ac_file" |
22956    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22957	    s//\1/
22958	    q
22959	  }
22960	  /^X\(\/\/\)[^/].*/{
22961	    s//\1/
22962	    q
22963	  }
22964	  /^X\(\/\/\)$/{
22965	    s//\1/
22966	    q
22967	  }
22968	  /^X\(\/\).*/{
22969	    s//\1/
22970	    q
22971	  }
22972	  s/.*/./; q'`
22973  as_dir="$ac_dir"; as_fn_mkdir_p
22974  ac_builddir=.
22975
22976case "$ac_dir" in
22977.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22978*)
22979  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22980  # A ".." for each directory in $ac_dir_suffix.
22981  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22982  case $ac_top_builddir_sub in
22983  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22984  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22985  esac ;;
22986esac
22987ac_abs_top_builddir=$ac_pwd
22988ac_abs_builddir=$ac_pwd$ac_dir_suffix
22989# for backward compatibility:
22990ac_top_builddir=$ac_top_build_prefix
22991
22992case $srcdir in
22993  .)  # We are building in place.
22994    ac_srcdir=.
22995    ac_top_srcdir=$ac_top_builddir_sub
22996    ac_abs_top_srcdir=$ac_pwd ;;
22997  [\\/]* | ?:[\\/]* )  # Absolute name.
22998    ac_srcdir=$srcdir$ac_dir_suffix;
22999    ac_top_srcdir=$srcdir
23000    ac_abs_top_srcdir=$srcdir ;;
23001  *) # Relative name.
23002    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23003    ac_top_srcdir=$ac_top_build_prefix$srcdir
23004    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23005esac
23006ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23007
23008
23009  case $ac_mode in
23010  :F)
23011  #
23012  # CONFIG_FILE
23013  #
23014
23015  case $INSTALL in
23016  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23017  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23018  esac
23019  ac_MKDIR_P=$MKDIR_P
23020  case $MKDIR_P in
23021  [\\/$]* | ?:[\\/]* ) ;;
23022  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23023  esac
23024_ACEOF
23025
23026cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23027# If the template does not know about datarootdir, expand it.
23028# FIXME: This hack should be removed a few years after 2.60.
23029ac_datarootdir_hack=; ac_datarootdir_seen=
23030ac_sed_dataroot='
23031/datarootdir/ {
23032  p
23033  q
23034}
23035/@datadir@/p
23036/@docdir@/p
23037/@infodir@/p
23038/@localedir@/p
23039/@mandir@/p'
23040case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23041*datarootdir*) ac_datarootdir_seen=yes;;
23042*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23043  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23044$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23045_ACEOF
23046cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23047  ac_datarootdir_hack='
23048  s&@datadir@&$datadir&g
23049  s&@docdir@&$docdir&g
23050  s&@infodir@&$infodir&g
23051  s&@localedir@&$localedir&g
23052  s&@mandir@&$mandir&g
23053  s&\\\${datarootdir}&$datarootdir&g' ;;
23054esac
23055_ACEOF
23056
23057# Neutralize VPATH when `$srcdir' = `.'.
23058# Shell code in configure.ac might set extrasub.
23059# FIXME: do we really want to maintain this feature?
23060cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23061ac_sed_extra="$ac_vpsub
23062$extrasub
23063_ACEOF
23064cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23065:t
23066/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23067s|@configure_input@|$ac_sed_conf_input|;t t
23068s&@top_builddir@&$ac_top_builddir_sub&;t t
23069s&@top_build_prefix@&$ac_top_build_prefix&;t t
23070s&@srcdir@&$ac_srcdir&;t t
23071s&@abs_srcdir@&$ac_abs_srcdir&;t t
23072s&@top_srcdir@&$ac_top_srcdir&;t t
23073s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23074s&@builddir@&$ac_builddir&;t t
23075s&@abs_builddir@&$ac_abs_builddir&;t t
23076s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23077s&@INSTALL@&$ac_INSTALL&;t t
23078s&@MKDIR_P@&$ac_MKDIR_P&;t t
23079$ac_datarootdir_hack
23080"
23081eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23082  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23083
23084test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23085  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23086  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
23087      "$ac_tmp/out"`; test -z "$ac_out"; } &&
23088  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23089which seems to be undefined.  Please make sure it is defined" >&5
23090$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23091which seems to be undefined.  Please make sure it is defined" >&2;}
23092
23093  rm -f "$ac_tmp/stdin"
23094  case $ac_file in
23095  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23096  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23097  esac \
23098  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23099 ;;
23100  :H)
23101  #
23102  # CONFIG_HEADER
23103  #
23104  if test x"$ac_file" != x-; then
23105    {
23106      $as_echo "/* $configure_input  */" \
23107      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23108    } >"$ac_tmp/config.h" \
23109      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23110    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23111      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23112$as_echo "$as_me: $ac_file is unchanged" >&6;}
23113    else
23114      rm -f "$ac_file"
23115      mv "$ac_tmp/config.h" "$ac_file" \
23116	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23117    fi
23118  else
23119    $as_echo "/* $configure_input  */" \
23120      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23121      || as_fn_error $? "could not create -" "$LINENO" 5
23122  fi
23123# Compute "$ac_file"'s index in $config_headers.
23124_am_arg="$ac_file"
23125_am_stamp_count=1
23126for _am_header in $config_headers :; do
23127  case $_am_header in
23128    $_am_arg | $_am_arg:* )
23129      break ;;
23130    * )
23131      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23132  esac
23133done
23134echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23135$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23136	 X"$_am_arg" : 'X\(//\)[^/]' \| \
23137	 X"$_am_arg" : 'X\(//\)$' \| \
23138	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23139$as_echo X"$_am_arg" |
23140    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23141	    s//\1/
23142	    q
23143	  }
23144	  /^X\(\/\/\)[^/].*/{
23145	    s//\1/
23146	    q
23147	  }
23148	  /^X\(\/\/\)$/{
23149	    s//\1/
23150	    q
23151	  }
23152	  /^X\(\/\).*/{
23153	    s//\1/
23154	    q
23155	  }
23156	  s/.*/./; q'`/stamp-h$_am_stamp_count
23157 ;;
23158
23159  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23160$as_echo "$as_me: executing $ac_file commands" >&6;}
23161 ;;
23162  esac
23163
23164
23165  case $ac_file$ac_mode in
23166    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23167  # Older Autoconf quotes --file arguments for eval, but not when files
23168  # are listed without --file.  Let's play safe and only enable the eval
23169  # if we detect the quoting.
23170  # TODO: see whether this extra hack can be removed once we start
23171  # requiring Autoconf 2.70 or later.
23172  case $CONFIG_FILES in #(
23173  *\'*) :
23174    eval set x "$CONFIG_FILES" ;; #(
23175  *) :
23176    set x $CONFIG_FILES ;; #(
23177  *) :
23178     ;;
23179esac
23180  shift
23181  # Used to flag and report bootstrapping failures.
23182  am_rc=0
23183  for am_mf
23184  do
23185    # Strip MF so we end up with the name of the file.
23186    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
23187    # Check whether this is an Automake generated Makefile which includes
23188    # dependency-tracking related rules and includes.
23189    # Grep'ing the whole file directly is not great: AIX grep has a line
23190    # limit of 2048, but all sed's we know have understand at least 4000.
23191    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
23192      || continue
23193    am_dirpart=`$as_dirname -- "$am_mf" ||
23194$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23195	 X"$am_mf" : 'X\(//\)[^/]' \| \
23196	 X"$am_mf" : 'X\(//\)$' \| \
23197	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
23198$as_echo X"$am_mf" |
23199    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23200	    s//\1/
23201	    q
23202	  }
23203	  /^X\(\/\/\)[^/].*/{
23204	    s//\1/
23205	    q
23206	  }
23207	  /^X\(\/\/\)$/{
23208	    s//\1/
23209	    q
23210	  }
23211	  /^X\(\/\).*/{
23212	    s//\1/
23213	    q
23214	  }
23215	  s/.*/./; q'`
23216    am_filepart=`$as_basename -- "$am_mf" ||
23217$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
23218	 X"$am_mf" : 'X\(//\)$' \| \
23219	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
23220$as_echo X/"$am_mf" |
23221    sed '/^.*\/\([^/][^/]*\)\/*$/{
23222	    s//\1/
23223	    q
23224	  }
23225	  /^X\/\(\/\/\)$/{
23226	    s//\1/
23227	    q
23228	  }
23229	  /^X\/\(\/\).*/{
23230	    s//\1/
23231	    q
23232	  }
23233	  s/.*/./; q'`
23234    { echo "$as_me:$LINENO: cd "$am_dirpart" \
23235      && sed -e '/# am--include-marker/d' "$am_filepart" \
23236        | $MAKE -f - am--depfiles" >&5
23237   (cd "$am_dirpart" \
23238      && sed -e '/# am--include-marker/d' "$am_filepart" \
23239        | $MAKE -f - am--depfiles) >&5 2>&5
23240   ac_status=$?
23241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242   (exit $ac_status); } || am_rc=$?
23243  done
23244  if test $am_rc -ne 0; then
23245    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23247as_fn_error $? "Something went wrong bootstrapping makefile fragments
23248    for automatic dependency tracking.  If GNU make was not used, consider
23249    re-running the configure script with MAKE=\"gmake\" (or whatever is
23250    necessary).  You can also try re-running configure with the
23251    '--disable-dependency-tracking' option to at least be able to build
23252    the package (albeit without support for automatic dependency tracking).
23253See \`config.log' for more details" "$LINENO" 5; }
23254  fi
23255  { am_dirpart=; unset am_dirpart;}
23256  { am_filepart=; unset am_filepart;}
23257  { am_mf=; unset am_mf;}
23258  { am_rc=; unset am_rc;}
23259  rm -f conftest-deps.mk
23260}
23261 ;;
23262    "libtool":C)
23263
23264    # See if we are running on zsh, and set the options that allow our
23265    # commands through without removal of \ escapes.
23266    if test -n "${ZSH_VERSION+set}"; then
23267      setopt NO_GLOB_SUBST
23268    fi
23269
23270    cfgfile=${ofile}T
23271    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23272    $RM "$cfgfile"
23273
23274    cat <<_LT_EOF >> "$cfgfile"
23275#! $SHELL
23276# Generated automatically by $as_me ($PACKAGE) $VERSION
23277# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23278# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23279
23280# Provide generalized library-building support services.
23281# Written by Gordon Matzigkeit, 1996
23282
23283# Copyright (C) 2014 Free Software Foundation, Inc.
23284# This is free software; see the source for copying conditions.  There is NO
23285# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23286
23287# GNU Libtool is free software; you can redistribute it and/or modify
23288# it under the terms of the GNU General Public License as published by
23289# the Free Software Foundation; either version 2 of of the License, or
23290# (at your option) any later version.
23291#
23292# As a special exception to the GNU General Public License, if you
23293# distribute this file as part of a program or library that is built
23294# using GNU Libtool, you may include this file under the  same
23295# distribution terms that you use for the rest of that program.
23296#
23297# GNU Libtool is distributed in the hope that it will be useful, but
23298# WITHOUT ANY WARRANTY; without even the implied warranty of
23299# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23300# GNU General Public License for more details.
23301#
23302# You should have received a copy of the GNU General Public License
23303# along with this program.  If not, see <http://www.gnu.org/licenses/>.
23304
23305
23306# The names of the tagged configurations supported by this script.
23307available_tags='CXX '
23308
23309# Configured defaults for sys_lib_dlsearch_path munging.
23310: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23311
23312# ### BEGIN LIBTOOL CONFIG
23313
23314# Which release of libtool.m4 was used?
23315macro_version=$macro_version
23316macro_revision=$macro_revision
23317
23318# Assembler program.
23319AS=$lt_AS
23320
23321# DLL creation program.
23322DLLTOOL=$lt_DLLTOOL
23323
23324# Object dumper program.
23325OBJDUMP=$lt_OBJDUMP
23326
23327# Whether or not to build static libraries.
23328build_old_libs=$enable_static
23329
23330# What type of objects to build.
23331pic_mode=$pic_mode
23332
23333# Whether or not to build shared libraries.
23334build_libtool_libs=$enable_shared
23335
23336# Whether or not to optimize for fast installation.
23337fast_install=$enable_fast_install
23338
23339# Shared archive member basename,for filename based shared library versioning on AIX.
23340shared_archive_member_spec=$shared_archive_member_spec
23341
23342# Shell to use when invoking shell scripts.
23343SHELL=$lt_SHELL
23344
23345# An echo program that protects backslashes.
23346ECHO=$lt_ECHO
23347
23348# The PATH separator for the build system.
23349PATH_SEPARATOR=$lt_PATH_SEPARATOR
23350
23351# The host system.
23352host_alias=$host_alias
23353host=$host
23354host_os=$host_os
23355
23356# The build system.
23357build_alias=$build_alias
23358build=$build
23359build_os=$build_os
23360
23361# A sed program that does not truncate output.
23362SED=$lt_SED
23363
23364# Sed that helps us avoid accidentally triggering echo(1) options like -n.
23365Xsed="\$SED -e 1s/^X//"
23366
23367# A grep program that handles long lines.
23368GREP=$lt_GREP
23369
23370# An ERE matcher.
23371EGREP=$lt_EGREP
23372
23373# A literal string matcher.
23374FGREP=$lt_FGREP
23375
23376# A BSD- or MS-compatible name lister.
23377NM=$lt_NM
23378
23379# Whether we need soft or hard links.
23380LN_S=$lt_LN_S
23381
23382# What is the maximum length of a command?
23383max_cmd_len=$max_cmd_len
23384
23385# Object file suffix (normally "o").
23386objext=$ac_objext
23387
23388# Executable file suffix (normally "").
23389exeext=$exeext
23390
23391# whether the shell understands "unset".
23392lt_unset=$lt_unset
23393
23394# turn spaces into newlines.
23395SP2NL=$lt_lt_SP2NL
23396
23397# turn newlines into spaces.
23398NL2SP=$lt_lt_NL2SP
23399
23400# convert \$build file names to \$host format.
23401to_host_file_cmd=$lt_cv_to_host_file_cmd
23402
23403# convert \$build files to toolchain format.
23404to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23405
23406# Method to check whether dependent libraries are shared objects.
23407deplibs_check_method=$lt_deplibs_check_method
23408
23409# Command to use when deplibs_check_method = "file_magic".
23410file_magic_cmd=$lt_file_magic_cmd
23411
23412# How to find potential files when deplibs_check_method = "file_magic".
23413file_magic_glob=$lt_file_magic_glob
23414
23415# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23416want_nocaseglob=$lt_want_nocaseglob
23417
23418# Command to associate shared and link libraries.
23419sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23420
23421# The archiver.
23422AR=$lt_AR
23423
23424# Flags to create an archive.
23425AR_FLAGS=$lt_AR_FLAGS
23426
23427# How to feed a file listing to the archiver.
23428archiver_list_spec=$lt_archiver_list_spec
23429
23430# A symbol stripping program.
23431STRIP=$lt_STRIP
23432
23433# Commands used to install an old-style archive.
23434RANLIB=$lt_RANLIB
23435old_postinstall_cmds=$lt_old_postinstall_cmds
23436old_postuninstall_cmds=$lt_old_postuninstall_cmds
23437
23438# Whether to use a lock for old archive extraction.
23439lock_old_archive_extraction=$lock_old_archive_extraction
23440
23441# A C compiler.
23442LTCC=$lt_CC
23443
23444# LTCC compiler flags.
23445LTCFLAGS=$lt_CFLAGS
23446
23447# Take the output of nm and produce a listing of raw symbols and C names.
23448global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23449
23450# Transform the output of nm in a proper C declaration.
23451global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23452
23453# Transform the output of nm into a list of symbols to manually relocate.
23454global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23455
23456# Transform the output of nm in a C name address pair.
23457global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23458
23459# Transform the output of nm in a C name address pair when lib prefix is needed.
23460global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23461
23462# The name lister interface.
23463nm_interface=$lt_lt_cv_nm_interface
23464
23465# Specify filename containing input files for \$NM.
23466nm_file_list_spec=$lt_nm_file_list_spec
23467
23468# The root where to search for dependent libraries,and where our libraries should be installed.
23469lt_sysroot=$lt_sysroot
23470
23471# Command to truncate a binary pipe.
23472lt_truncate_bin=$lt_lt_cv_truncate_bin
23473
23474# The name of the directory that contains temporary libtool files.
23475objdir=$objdir
23476
23477# Used to examine libraries when file_magic_cmd begins with "file".
23478MAGIC_CMD=$MAGIC_CMD
23479
23480# Must we lock files when doing compilation?
23481need_locks=$lt_need_locks
23482
23483# Manifest tool.
23484MANIFEST_TOOL=$lt_MANIFEST_TOOL
23485
23486# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23487DSYMUTIL=$lt_DSYMUTIL
23488
23489# Tool to change global to local symbols on Mac OS X.
23490NMEDIT=$lt_NMEDIT
23491
23492# Tool to manipulate fat objects and archives on Mac OS X.
23493LIPO=$lt_LIPO
23494
23495# ldd/readelf like tool for Mach-O binaries on Mac OS X.
23496OTOOL=$lt_OTOOL
23497
23498# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23499OTOOL64=$lt_OTOOL64
23500
23501# Old archive suffix (normally "a").
23502libext=$libext
23503
23504# Shared library suffix (normally ".so").
23505shrext_cmds=$lt_shrext_cmds
23506
23507# The commands to extract the exported symbol list from a shared archive.
23508extract_expsyms_cmds=$lt_extract_expsyms_cmds
23509
23510# Variables whose values should be saved in libtool wrapper scripts and
23511# restored at link time.
23512variables_saved_for_relink=$lt_variables_saved_for_relink
23513
23514# Do we need the "lib" prefix for modules?
23515need_lib_prefix=$need_lib_prefix
23516
23517# Do we need a version for libraries?
23518need_version=$need_version
23519
23520# Library versioning type.
23521version_type=$version_type
23522
23523# Shared library runtime path variable.
23524runpath_var=$runpath_var
23525
23526# Shared library path variable.
23527shlibpath_var=$shlibpath_var
23528
23529# Is shlibpath searched before the hard-coded library search path?
23530shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23531
23532# Format of library name prefix.
23533libname_spec=$lt_libname_spec
23534
23535# List of archive names.  First name is the real one, the rest are links.
23536# The last name is the one that the linker finds with -lNAME
23537library_names_spec=$lt_library_names_spec
23538
23539# The coded name of the library, if different from the real name.
23540soname_spec=$lt_soname_spec
23541
23542# Permission mode override for installation of shared libraries.
23543install_override_mode=$lt_install_override_mode
23544
23545# Command to use after installation of a shared archive.
23546postinstall_cmds=$lt_postinstall_cmds
23547
23548# Command to use after uninstallation of a shared archive.
23549postuninstall_cmds=$lt_postuninstall_cmds
23550
23551# Commands used to finish a libtool library installation in a directory.
23552finish_cmds=$lt_finish_cmds
23553
23554# As "finish_cmds", except a single script fragment to be evaled but
23555# not shown.
23556finish_eval=$lt_finish_eval
23557
23558# Whether we should hardcode library paths into libraries.
23559hardcode_into_libs=$hardcode_into_libs
23560
23561# Compile-time system search path for libraries.
23562sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23563
23564# Detected run-time system search path for libraries.
23565sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23566
23567# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23568configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23569
23570# Whether dlopen is supported.
23571dlopen_support=$enable_dlopen
23572
23573# Whether dlopen of programs is supported.
23574dlopen_self=$enable_dlopen_self
23575
23576# Whether dlopen of statically linked programs is supported.
23577dlopen_self_static=$enable_dlopen_self_static
23578
23579# Commands to strip libraries.
23580old_striplib=$lt_old_striplib
23581striplib=$lt_striplib
23582
23583
23584# The linker used to build libraries.
23585LD=$lt_LD
23586
23587# How to create reloadable object files.
23588reload_flag=$lt_reload_flag
23589reload_cmds=$lt_reload_cmds
23590
23591# Commands used to build an old-style archive.
23592old_archive_cmds=$lt_old_archive_cmds
23593
23594# A language specific compiler.
23595CC=$lt_compiler
23596
23597# Is the compiler the GNU compiler?
23598with_gcc=$GCC
23599
23600# Compiler flag to turn off builtin functions.
23601no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23602
23603# Additional compiler flags for building library objects.
23604pic_flag=$lt_lt_prog_compiler_pic
23605
23606# How to pass a linker flag through the compiler.
23607wl=$lt_lt_prog_compiler_wl
23608
23609# Compiler flag to prevent dynamic linking.
23610link_static_flag=$lt_lt_prog_compiler_static
23611
23612# Does compiler simultaneously support -c and -o options?
23613compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23614
23615# Whether or not to add -lc for building shared libraries.
23616build_libtool_need_lc=$archive_cmds_need_lc
23617
23618# Whether or not to disallow shared libs when runtime libs are static.
23619allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23620
23621# Compiler flag to allow reflexive dlopens.
23622export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23623
23624# Compiler flag to generate shared objects directly from archives.
23625whole_archive_flag_spec=$lt_whole_archive_flag_spec
23626
23627# Whether the compiler copes with passing no objects directly.
23628compiler_needs_object=$lt_compiler_needs_object
23629
23630# Create an old-style archive from a shared archive.
23631old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23632
23633# Create a temporary old-style archive to link instead of a shared archive.
23634old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23635
23636# Commands used to build a shared archive.
23637archive_cmds=$lt_archive_cmds
23638archive_expsym_cmds=$lt_archive_expsym_cmds
23639
23640# Commands used to build a loadable module if different from building
23641# a shared archive.
23642module_cmds=$lt_module_cmds
23643module_expsym_cmds=$lt_module_expsym_cmds
23644
23645# Whether we are building with GNU ld or not.
23646with_gnu_ld=$lt_with_gnu_ld
23647
23648# Flag that allows shared libraries with undefined symbols to be built.
23649allow_undefined_flag=$lt_allow_undefined_flag
23650
23651# Flag that enforces no undefined symbols.
23652no_undefined_flag=$lt_no_undefined_flag
23653
23654# Flag to hardcode \$libdir into a binary during linking.
23655# This must work even if \$libdir does not exist
23656hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23657
23658# Whether we need a single "-rpath" flag with a separated argument.
23659hardcode_libdir_separator=$lt_hardcode_libdir_separator
23660
23661# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23662# DIR into the resulting binary.
23663hardcode_direct=$hardcode_direct
23664
23665# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23666# DIR into the resulting binary and the resulting library dependency is
23667# "absolute",i.e impossible to change by setting \$shlibpath_var if the
23668# library is relocated.
23669hardcode_direct_absolute=$hardcode_direct_absolute
23670
23671# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23672# into the resulting binary.
23673hardcode_minus_L=$hardcode_minus_L
23674
23675# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23676# into the resulting binary.
23677hardcode_shlibpath_var=$hardcode_shlibpath_var
23678
23679# Set to "yes" if building a shared library automatically hardcodes DIR
23680# into the library and all subsequent libraries and executables linked
23681# against it.
23682hardcode_automatic=$hardcode_automatic
23683
23684# Set to yes if linker adds runtime paths of dependent libraries
23685# to runtime path list.
23686inherit_rpath=$inherit_rpath
23687
23688# Whether libtool must link a program against all its dependency libraries.
23689link_all_deplibs=$link_all_deplibs
23690
23691# Set to "yes" if exported symbols are required.
23692always_export_symbols=$always_export_symbols
23693
23694# The commands to list exported symbols.
23695export_symbols_cmds=$lt_export_symbols_cmds
23696
23697# Symbols that should not be listed in the preloaded symbols.
23698exclude_expsyms=$lt_exclude_expsyms
23699
23700# Symbols that must always be exported.
23701include_expsyms=$lt_include_expsyms
23702
23703# Commands necessary for linking programs (against libraries) with templates.
23704prelink_cmds=$lt_prelink_cmds
23705
23706# Commands necessary for finishing linking programs.
23707postlink_cmds=$lt_postlink_cmds
23708
23709# Specify filename containing input files.
23710file_list_spec=$lt_file_list_spec
23711
23712# How to hardcode a shared library path into an executable.
23713hardcode_action=$hardcode_action
23714
23715# The directories searched by this compiler when creating a shared library.
23716compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23717
23718# Dependencies to place before and after the objects being linked to
23719# create a shared library.
23720predep_objects=$lt_predep_objects
23721postdep_objects=$lt_postdep_objects
23722predeps=$lt_predeps
23723postdeps=$lt_postdeps
23724
23725# The library search path used internally by the compiler when linking
23726# a shared library.
23727compiler_lib_search_path=$lt_compiler_lib_search_path
23728
23729# ### END LIBTOOL CONFIG
23730
23731_LT_EOF
23732
23733    cat <<'_LT_EOF' >> "$cfgfile"
23734
23735# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23736
23737# func_munge_path_list VARIABLE PATH
23738# -----------------------------------
23739# VARIABLE is name of variable containing _space_ separated list of
23740# directories to be munged by the contents of PATH, which is string
23741# having a format:
23742# "DIR[:DIR]:"
23743#       string "DIR[ DIR]" will be prepended to VARIABLE
23744# ":DIR[:DIR]"
23745#       string "DIR[ DIR]" will be appended to VARIABLE
23746# "DIRP[:DIRP]::[DIRA:]DIRA"
23747#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23748#       "DIRA[ DIRA]" will be appended to VARIABLE
23749# "DIR[:DIR]"
23750#       VARIABLE will be replaced by "DIR[ DIR]"
23751func_munge_path_list ()
23752{
23753    case x$2 in
23754    x)
23755        ;;
23756    *:)
23757        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23758        ;;
23759    x:*)
23760        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23761        ;;
23762    *::*)
23763        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23764        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23765        ;;
23766    *)
23767        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23768        ;;
23769    esac
23770}
23771
23772
23773# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
23774func_cc_basename ()
23775{
23776    for cc_temp in $*""; do
23777      case $cc_temp in
23778        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23779        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23780        \-*) ;;
23781        *) break;;
23782      esac
23783    done
23784    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23785}
23786
23787
23788# ### END FUNCTIONS SHARED WITH CONFIGURE
23789
23790_LT_EOF
23791
23792  case $host_os in
23793  aix3*)
23794    cat <<\_LT_EOF >> "$cfgfile"
23795# AIX sometimes has problems with the GCC collect2 program.  For some
23796# reason, if we set the COLLECT_NAMES environment variable, the problems
23797# vanish in a puff of smoke.
23798if test set != "${COLLECT_NAMES+set}"; then
23799  COLLECT_NAMES=
23800  export COLLECT_NAMES
23801fi
23802_LT_EOF
23803    ;;
23804  esac
23805
23806
23807ltmain=$ac_aux_dir/ltmain.sh
23808
23809
23810  # We use sed instead of cat because bash on DJGPP gets confused if
23811  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23812  # text mode, it properly converts lines to CR/LF.  This bash problem
23813  # is reportedly fixed, but why not run on old versions too?
23814  sed '$q' "$ltmain" >> "$cfgfile" \
23815     || (rm -f "$cfgfile"; exit 1)
23816
23817   mv -f "$cfgfile" "$ofile" ||
23818    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23819  chmod +x "$ofile"
23820
23821
23822    cat <<_LT_EOF >> "$ofile"
23823
23824# ### BEGIN LIBTOOL TAG CONFIG: CXX
23825
23826# The linker used to build libraries.
23827LD=$lt_LD_CXX
23828
23829# How to create reloadable object files.
23830reload_flag=$lt_reload_flag_CXX
23831reload_cmds=$lt_reload_cmds_CXX
23832
23833# Commands used to build an old-style archive.
23834old_archive_cmds=$lt_old_archive_cmds_CXX
23835
23836# A language specific compiler.
23837CC=$lt_compiler_CXX
23838
23839# Is the compiler the GNU compiler?
23840with_gcc=$GCC_CXX
23841
23842# Compiler flag to turn off builtin functions.
23843no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23844
23845# Additional compiler flags for building library objects.
23846pic_flag=$lt_lt_prog_compiler_pic_CXX
23847
23848# How to pass a linker flag through the compiler.
23849wl=$lt_lt_prog_compiler_wl_CXX
23850
23851# Compiler flag to prevent dynamic linking.
23852link_static_flag=$lt_lt_prog_compiler_static_CXX
23853
23854# Does compiler simultaneously support -c and -o options?
23855compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23856
23857# Whether or not to add -lc for building shared libraries.
23858build_libtool_need_lc=$archive_cmds_need_lc_CXX
23859
23860# Whether or not to disallow shared libs when runtime libs are static.
23861allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23862
23863# Compiler flag to allow reflexive dlopens.
23864export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23865
23866# Compiler flag to generate shared objects directly from archives.
23867whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23868
23869# Whether the compiler copes with passing no objects directly.
23870compiler_needs_object=$lt_compiler_needs_object_CXX
23871
23872# Create an old-style archive from a shared archive.
23873old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23874
23875# Create a temporary old-style archive to link instead of a shared archive.
23876old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23877
23878# Commands used to build a shared archive.
23879archive_cmds=$lt_archive_cmds_CXX
23880archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23881
23882# Commands used to build a loadable module if different from building
23883# a shared archive.
23884module_cmds=$lt_module_cmds_CXX
23885module_expsym_cmds=$lt_module_expsym_cmds_CXX
23886
23887# Whether we are building with GNU ld or not.
23888with_gnu_ld=$lt_with_gnu_ld_CXX
23889
23890# Flag that allows shared libraries with undefined symbols to be built.
23891allow_undefined_flag=$lt_allow_undefined_flag_CXX
23892
23893# Flag that enforces no undefined symbols.
23894no_undefined_flag=$lt_no_undefined_flag_CXX
23895
23896# Flag to hardcode \$libdir into a binary during linking.
23897# This must work even if \$libdir does not exist
23898hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23899
23900# Whether we need a single "-rpath" flag with a separated argument.
23901hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23902
23903# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23904# DIR into the resulting binary.
23905hardcode_direct=$hardcode_direct_CXX
23906
23907# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23908# DIR into the resulting binary and the resulting library dependency is
23909# "absolute",i.e impossible to change by setting \$shlibpath_var if the
23910# library is relocated.
23911hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23912
23913# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23914# into the resulting binary.
23915hardcode_minus_L=$hardcode_minus_L_CXX
23916
23917# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23918# into the resulting binary.
23919hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23920
23921# Set to "yes" if building a shared library automatically hardcodes DIR
23922# into the library and all subsequent libraries and executables linked
23923# against it.
23924hardcode_automatic=$hardcode_automatic_CXX
23925
23926# Set to yes if linker adds runtime paths of dependent libraries
23927# to runtime path list.
23928inherit_rpath=$inherit_rpath_CXX
23929
23930# Whether libtool must link a program against all its dependency libraries.
23931link_all_deplibs=$link_all_deplibs_CXX
23932
23933# Set to "yes" if exported symbols are required.
23934always_export_symbols=$always_export_symbols_CXX
23935
23936# The commands to list exported symbols.
23937export_symbols_cmds=$lt_export_symbols_cmds_CXX
23938
23939# Symbols that should not be listed in the preloaded symbols.
23940exclude_expsyms=$lt_exclude_expsyms_CXX
23941
23942# Symbols that must always be exported.
23943include_expsyms=$lt_include_expsyms_CXX
23944
23945# Commands necessary for linking programs (against libraries) with templates.
23946prelink_cmds=$lt_prelink_cmds_CXX
23947
23948# Commands necessary for finishing linking programs.
23949postlink_cmds=$lt_postlink_cmds_CXX
23950
23951# Specify filename containing input files.
23952file_list_spec=$lt_file_list_spec_CXX
23953
23954# How to hardcode a shared library path into an executable.
23955hardcode_action=$hardcode_action_CXX
23956
23957# The directories searched by this compiler when creating a shared library.
23958compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23959
23960# Dependencies to place before and after the objects being linked to
23961# create a shared library.
23962predep_objects=$lt_predep_objects_CXX
23963postdep_objects=$lt_postdep_objects_CXX
23964predeps=$lt_predeps_CXX
23965postdeps=$lt_postdeps_CXX
23966
23967# The library search path used internally by the compiler when linking
23968# a shared library.
23969compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23970
23971# ### END LIBTOOL TAG CONFIG: CXX
23972_LT_EOF
23973
23974 ;;
23975
23976  esac
23977done # for ac_tag
23978
23979
23980as_fn_exit 0
23981_ACEOF
23982ac_clean_files=$ac_clean_files_save
23983
23984test $ac_write_fail = 0 ||
23985  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23986
23987
23988# configure is writing to config.log, and then calls config.status.
23989# config.status does its own redirection, appending to config.log.
23990# Unfortunately, on DOS this fails, as config.log is still kept open
23991# by configure, so config.status won't be able to write to it; its
23992# output is simply discarded.  So we exec the FD to /dev/null,
23993# effectively closing config.log, so it can be properly (re)opened and
23994# appended to by config.status.  When coming back to configure, we
23995# need to make the FD available again.
23996if test "$no_create" != yes; then
23997  ac_cs_success=:
23998  ac_config_status_args=
23999  test "$silent" = yes &&
24000    ac_config_status_args="$ac_config_status_args --quiet"
24001  exec 5>/dev/null
24002  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24003  exec 5>>config.log
24004  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24005  # would make configure fail if this is the last instruction.
24006  $ac_cs_success || as_fn_exit 1
24007fi
24008if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24009  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24010$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24011fi
24012
24013
24014{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
24015-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
24016
24017  Configuration summary :
24018
24019    FLAC version : ............................ ${VERSION}
24020
24021    Host CPU : ................................ ${host_cpu}
24022    Host Vendor : ............................. ${host_vendor}
24023    Host OS : ................................. ${host_os}
24024" >&5
24025$as_echo "
24026-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
24027
24028  Configuration summary :
24029
24030    FLAC version : ............................ ${VERSION}
24031
24032    Host CPU : ................................ ${host_cpu}
24033    Host Vendor : ............................. ${host_vendor}
24034    Host OS : ................................. ${host_os}
24035" >&6; }
24036
24037	echo "    Compiler is GCC : ......................... ${ac_cv_c_compiler_gnu}"
24038if test x$ac_cv_c_compiler_gnu = xyes ; then
24039	echo "    GCC version : ............................. ${GCC_VERSION}"
24040fi
24041	echo "    Compiler is Clang : ....................... ${xiph_cv_c_compiler_clang}"
24042	echo "    SSE optimizations : ....................... ${sse_os}"
24043	echo "    Asm optimizations : ....................... ${asm_optimisation}"
24044	echo "    Ogg/FLAC support : ........................ ${have_ogg}"
24045	echo "    Stack protector  : ........................ ${enable_stack_smash_protection}"
24046	echo "    Fuzzing support (Clang only) : ............ ${have_oss_fuzzers}"
24047echo
24048