• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.71 for speexdsp 1.2.1.
4#
5# Report bugs to <speex-dev@xiph.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9# Inc.
10#
11#
12# This configure script is free software; the Free Software Foundation
13# gives unlimited permission to copy, distribute and modify it.
14## -------------------- ##
15## M4sh Initialization. ##
16## -------------------- ##
17
18# Be more Bourne compatible
19DUALCASE=1; export DUALCASE # for MKS sh
20as_nop=:
21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else $as_nop
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39
40# Reset variables that may have inherited troublesome values from
41# the environment.
42
43# IFS needs to be set, to space, tab, and newline, in precisely that order.
44# (If _AS_PATH_WALK were called with IFS unset, it would have the
45# side effect of setting IFS to empty, thus disabling word splitting.)
46# Quoting is to prevent editors from complaining about space-tab.
47as_nl='
48'
49export as_nl
50IFS=" ""	$as_nl"
51
52PS1='$ '
53PS2='> '
54PS4='+ '
55
56# Ensure predictable behavior from utilities with locale-dependent output.
57LC_ALL=C
58export LC_ALL
59LANGUAGE=C
60export LANGUAGE
61
62# We cannot yet rely on "unset" to work, but we need these variables
63# to be unset--not just set to an empty or harmless value--now, to
64# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65# also avoids known problems related to "unset" and subshell syntax
66# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68do eval test \${$as_var+y} \
69  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70done
71
72# Ensure that fds 0, 1, and 2 are open.
73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77# The user is always right.
78if ${PATH_SEPARATOR+false} :; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# Find who we are.  Look in the path if we contain no directory separator.
88as_myself=
89case $0 in #((
90  *[\\/]* ) as_myself=$0 ;;
91  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92for as_dir in $PATH
93do
94  IFS=$as_save_IFS
95  case $as_dir in #(((
96    '') as_dir=./ ;;
97    */) ;;
98    *) as_dir=$as_dir/ ;;
99  esac
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  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116
117# Use a proper internal environment variable to ensure we don't fall
118  # into an infinite loop, continuously re-executing ourselves.
119  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120    _as_can_reexec=no; export _as_can_reexec;
121    # We cannot yet assume a decent shell, so we have to provide a
122# neutralization value for shells without unset; and this also
123# works around shells that cannot unset nonexistent variables.
124# Preserve -v and -x to the replacement shell.
125BASH_ENV=/dev/null
126ENV=/dev/null
127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128case $- in # ((((
129  *v*x* | *x*v* ) as_opts=-vx ;;
130  *v* ) as_opts=-v ;;
131  *x* ) as_opts=-x ;;
132  * ) as_opts= ;;
133esac
134exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135# Admittedly, this is quite paranoid, since all the known shells bail
136# out after a failed `exec'.
137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138exit 255
139  fi
140  # We don't want this to propagate to other subprocesses.
141          { _as_can_reexec=; unset _as_can_reexec;}
142if test "x$CONFIG_SHELL" = x; then
143  as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145then :
146  emulate sh
147  NULLCMD=:
148  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149  # is contrary to our usage.  Disable this feature.
150  alias -g '\${1+\"\$@\"}'='\"\$@\"'
151  setopt NO_GLOB_SUBST
152else \$as_nop
153  case \`(set -o) 2>/dev/null\` in #(
154  *posix*) :
155    set -o posix ;; #(
156  *) :
157     ;;
158esac
159fi
160"
161  as_required="as_fn_return () { (exit \$1); }
162as_fn_success () { as_fn_return 0; }
163as_fn_failure () { as_fn_return 1; }
164as_fn_ret_success () { return 0; }
165as_fn_ret_failure () { return 1; }
166
167exitcode=0
168as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173then :
174
175else \$as_nop
176  exitcode=1; echo positional parameters were not saved.
177fi
178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test x\"\$blah\" = xblah || exit 1
181test -x / || exit 1"
182  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191    PATH=/empty FPATH=/empty; export PATH FPATH
192    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194test \$(( 1 + 1 )) = 2 || exit 1"
195  if (eval "$as_required") 2>/dev/null
196then :
197  as_have_required=yes
198else $as_nop
199  as_have_required=no
200fi
201  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202then :
203
204else $as_nop
205  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206as_found=false
207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208do
209  IFS=$as_save_IFS
210  case $as_dir in #(((
211    '') as_dir=./ ;;
212    */) ;;
213    *) as_dir=$as_dir/ ;;
214  esac
215  as_found=:
216  case $as_dir in #(
217	 /*)
218	   for as_base in sh bash ksh sh5; do
219	     # Try only shells that exist, to save several forks.
220	     as_shell=$as_dir$as_base
221	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226then :
227  break 2
228fi
229fi
230	   done;;
231       esac
232  as_found=false
233done
234IFS=$as_save_IFS
235if $as_found
236then :
237
238else $as_nop
239  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241then :
242  CONFIG_SHELL=$SHELL as_have_required=yes
243fi
244fi
245
246
247      if test "x$CONFIG_SHELL" != x
248then :
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'.
266printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno
271then :
272  printf "%s\n" "$0: This script requires a shell more modern than all"
273  printf "%s\n" "$0: the shells that I found on your system."
274  if test ${ZSH_VERSION+y} ; then
275    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277  else
278    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and speex-dev@xiph.org
279$0: about your system, including any error possibly output
280$0: before this message. Then install a modern shell, or
281$0: manually run the script under such a shell if you do
282$0: have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324# as_fn_nop
325# ---------
326# Do nothing but, unlike ":", preserve the value of $?.
327as_fn_nop ()
328{
329  return $?
330}
331as_nop=as_fn_nop
332
333# as_fn_mkdir_p
334# -------------
335# Create "$as_dir" as a directory, including parents if necessary.
336as_fn_mkdir_p ()
337{
338
339  case $as_dir in #(
340  -*) as_dir=./$as_dir;;
341  esac
342  test -d "$as_dir" || eval $as_mkdir_p || {
343    as_dirs=
344    while :; do
345      case $as_dir in #(
346      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347      *) as_qdir=$as_dir;;
348      esac
349      as_dirs="'$as_qdir' $as_dirs"
350      as_dir=`$as_dirname -- "$as_dir" ||
351$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352	 X"$as_dir" : 'X\(//\)[^/]' \| \
353	 X"$as_dir" : 'X\(//\)$' \| \
354	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355printf "%s\n" X"$as_dir" |
356    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\/\)[^/].*/{
361	    s//\1/
362	    q
363	  }
364	  /^X\(\/\/\)$/{
365	    s//\1/
366	    q
367	  }
368	  /^X\(\/\).*/{
369	    s//\1/
370	    q
371	  }
372	  s/.*/./; q'`
373      test -d "$as_dir" && break
374    done
375    test -z "$as_dirs" || eval "mkdir $as_dirs"
376  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379} # as_fn_mkdir_p
380
381# as_fn_executable_p FILE
382# -----------------------
383# Test if FILE is an executable regular file.
384as_fn_executable_p ()
385{
386  test -f "$1" && test -x "$1"
387} # as_fn_executable_p
388# as_fn_append VAR VALUE
389# ----------------------
390# Append the text in VALUE to the end of the definition contained in VAR. Take
391# advantage of any shell optimizations that allow amortized linear growth over
392# repeated appends, instead of the typical quadratic growth present in naive
393# implementations.
394if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395then :
396  eval 'as_fn_append ()
397  {
398    eval $1+=\$2
399  }'
400else $as_nop
401  as_fn_append ()
402  {
403    eval $1=\$$1\$2
404  }
405fi # as_fn_append
406
407# as_fn_arith ARG...
408# ------------------
409# Perform arithmetic evaluation on the ARGs, and store the result in the
410# global $as_val. Take advantage of shells that can avoid forks. The arguments
411# must be portable across $(()) and expr.
412if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413then :
414  eval 'as_fn_arith ()
415  {
416    as_val=$(( $* ))
417  }'
418else $as_nop
419  as_fn_arith ()
420  {
421    as_val=`expr "$@" || test $? -eq 1`
422  }
423fi # as_fn_arith
424
425# as_fn_nop
426# ---------
427# Do nothing but, unlike ":", preserve the value of $?.
428as_fn_nop ()
429{
430  return $?
431}
432as_nop=as_fn_nop
433
434# as_fn_error STATUS ERROR [LINENO LOG_FD]
435# ----------------------------------------
436# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438# script with STATUS, using 1 if that was 0.
439as_fn_error ()
440{
441  as_status=$1; test $as_status -eq 0 && as_status=1
442  if test "$4"; then
443    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445  fi
446  printf "%s\n" "$as_me: error: $2" >&2
447  as_fn_exit $as_status
448} # as_fn_error
449
450if expr a : '\(a\)' >/dev/null 2>&1 &&
451   test "X`expr 00001 : '.*\(...\)'`" = X001; then
452  as_expr=expr
453else
454  as_expr=false
455fi
456
457if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458  as_basename=basename
459else
460  as_basename=false
461fi
462
463if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464  as_dirname=dirname
465else
466  as_dirname=false
467fi
468
469as_me=`$as_basename -- "$0" ||
470$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471	 X"$0" : 'X\(//\)$' \| \
472	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473printf "%s\n" X/"$0" |
474    sed '/^.*\/\([^/][^/]*\)\/*$/{
475	    s//\1/
476	    q
477	  }
478	  /^X\/\(\/\/\)$/{
479	    s//\1/
480	    q
481	  }
482	  /^X\/\(\/\).*/{
483	    s//\1/
484	    q
485	  }
486	  s/.*/./; q'`
487
488# Avoid depending upon Character Ranges.
489as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492as_cr_digits='0123456789'
493as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496  as_lineno_1=$LINENO as_lineno_1a=$LINENO
497  as_lineno_2=$LINENO as_lineno_2a=$LINENO
498  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
501  sed -n '
502    p
503    /[$]LINENO/=
504  ' <$as_myself |
505    sed '
506      s/[$]LINENO.*/&-/
507      t lineno
508      b
509      :lineno
510      N
511      :loop
512      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513      t loop
514      s/-\n.*//
515    ' >$as_me.lineno &&
516  chmod +x "$as_me.lineno" ||
517    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520  # already done that, so ensure we don't try to do so again and fall
521  # in an infinite loop.  This has already happened in practice.
522  _as_can_reexec=no; export _as_can_reexec
523  # Don't try to exec as it changes $[0], causing all sort of problems
524  # (the dirname of $[0] is not the place where we might find the
525  # original and so on.  Autoconf is especially sensitive to this).
526  . "./$as_me.lineno"
527  # Exit status is that of the last command.
528  exit
529}
530
531
532# Determine whether it's possible to make 'echo' print without a newline.
533# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534# for compatibility with existing Makefiles.
535ECHO_C= ECHO_N= ECHO_T=
536case `echo -n x` in #(((((
537-n*)
538  case `echo 'xy\c'` in
539  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
540  xy)  ECHO_C='\c';;
541  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
542       ECHO_T='	';;
543  esac;;
544*)
545  ECHO_N='-n';;
546esac
547
548# For backward compatibility with old third-party macros, we provide
549# the shell variables $as_echo and $as_echo_n.  New code should use
550# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551as_echo='printf %s\n'
552as_echo_n='printf %s'
553
554
555rm -f conf$$ conf$$.exe conf$$.file
556if test -d conf$$.dir; then
557  rm -f conf$$.dir/conf$$.file
558else
559  rm -f conf$$.dir
560  mkdir conf$$.dir 2>/dev/null
561fi
562if (echo >conf$$.file) 2>/dev/null; then
563  if ln -s conf$$.file conf$$ 2>/dev/null; then
564    as_ln_s='ln -s'
565    # ... but there are two gotchas:
566    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568    # In both cases, we have to default to `cp -pR'.
569    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570      as_ln_s='cp -pR'
571  elif ln conf$$.file conf$$ 2>/dev/null; then
572    as_ln_s=ln
573  else
574    as_ln_s='cp -pR'
575  fi
576else
577  as_ln_s='cp -pR'
578fi
579rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580rmdir conf$$.dir 2>/dev/null
581
582if mkdir -p . 2>/dev/null; then
583  as_mkdir_p='mkdir -p "$as_dir"'
584else
585  test -d ./-p && rmdir ./-p
586  as_mkdir_p=false
587fi
588
589as_test_x='test -x'
590as_executable_p=as_fn_executable_p
591
592# Sed expression to map a string onto a valid CPP name.
593as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595# Sed expression to map a string onto a valid variable name.
596as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601test -n "$DJDIR" || exec 7<&0 </dev/null
602exec 6>&1
603
604# Name of the host.
605# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606# so uname gets run too.
607ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609#
610# Initializations.
611#
612ac_default_prefix=/usr/local
613ac_clean_files=
614ac_config_libobj_dir=.
615LIBOBJS=
616cross_compiling=no
617subdirs=
618MFLAGS=
619MAKEFLAGS=
620
621# Identity of this package.
622PACKAGE_NAME='speexdsp'
623PACKAGE_TARNAME='speexdsp'
624PACKAGE_VERSION='1.2.1'
625PACKAGE_STRING='speexdsp 1.2.1'
626PACKAGE_BUGREPORT='speex-dev@xiph.org'
627PACKAGE_URL=''
628
629ac_unique_file="libspeexdsp/preprocess.c"
630# Factoring default headers for most tests.
631ac_includes_default="\
632#include <stddef.h>
633#ifdef HAVE_STDIO_H
634# include <stdio.h>
635#endif
636#ifdef HAVE_STDLIB_H
637# include <stdlib.h>
638#endif
639#ifdef HAVE_STRING_H
640# include <string.h>
641#endif
642#ifdef HAVE_INTTYPES_H
643# include <inttypes.h>
644#endif
645#ifdef HAVE_STDINT_H
646# include <stdint.h>
647#endif
648#ifdef HAVE_STRINGS_H
649# include <strings.h>
650#endif
651#ifdef HAVE_SYS_TYPES_H
652# include <sys/types.h>
653#endif
654#ifdef HAVE_SYS_STAT_H
655# include <sys/stat.h>
656#endif
657#ifdef HAVE_UNISTD_H
658# include <unistd.h>
659#endif"
660
661ac_header_c_list=
662ac_subst_vars='am__EXEEXT_FALSE
663am__EXEEXT_TRUE
664LTLIBOBJS
665LIBOBJS
666INCLUDE_STDINT
667USIZE32
668SIZE32
669USIZE16
670SIZE16
671FFT_PKGCONFIG
672BUILD_SMALLFT_FALSE
673BUILD_SMALLFT_TRUE
674BUILD_KISS_FFT_FALSE
675BUILD_KISS_FFT_TRUE
676FFT_LIBS
677FFT_CFLAGS
678PKG_CONFIG_LIBDIR
679PKG_CONFIG_PATH
680PKG_CONFIG
681BUILD_EXAMPLES_FALSE
682BUILD_EXAMPLES_TRUE
683LIBM
684src
685LT_SYS_LIBRARY_PATH
686OTOOL64
687OTOOL
688LIPO
689NMEDIT
690DSYMUTIL
691MANIFEST_TOOL
692RANLIB
693ac_ct_AR
694AR
695FILECMD
696LN_S
697NM
698ac_ct_DUMPBIN
699DUMPBIN
700LD
701FGREP
702EGREP
703GREP
704SED
705am__fastdepCC_FALSE
706am__fastdepCC_TRUE
707CCDEPMODE
708am__nodep
709AMDEPBACKSLASH
710AMDEP_FALSE
711AMDEP_TRUE
712am__include
713DEPDIR
714OBJEXT
715EXEEXT
716ac_ct_CC
717CPPFLAGS
718LDFLAGS
719CFLAGS
720CC
721LIBTOOL
722OBJDUMP
723DLLTOOL
724AS
725host_os
726host_vendor
727host_cpu
728host
729build_os
730build_vendor
731build_cpu
732build
733MAINT
734MAINTAINER_MODE_FALSE
735MAINTAINER_MODE_TRUE
736CSCOPE
737ETAGS
738CTAGS
739am__untar
740am__tar
741AMTAR
742am__leading_dot
743SET_MAKE
744AWK
745mkdir_p
746MKDIR_P
747INSTALL_STRIP_PROGRAM
748STRIP
749install_sh
750MAKEINFO
751AUTOHEADER
752AUTOMAKE
753AUTOCONF
754ACLOCAL
755VERSION
756PACKAGE
757CYGPATH_W
758am__isrc
759INSTALL_DATA
760INSTALL_SCRIPT
761INSTALL_PROGRAM
762SPEEXDSP_LT_AGE
763SPEEXDSP_LT_REVISION
764SPEEXDSP_LT_CURRENT
765AM_BACKSLASH
766AM_DEFAULT_VERBOSITY
767AM_DEFAULT_V
768AM_V
769target_alias
770host_alias
771build_alias
772LIBS
773ECHO_T
774ECHO_N
775ECHO_C
776DEFS
777mandir
778localedir
779libdir
780psdir
781pdfdir
782dvidir
783htmldir
784infodir
785docdir
786oldincludedir
787includedir
788runstatedir
789localstatedir
790sharedstatedir
791sysconfdir
792datadir
793datarootdir
794libexecdir
795sbindir
796bindir
797program_transform_name
798prefix
799exec_prefix
800PACKAGE_URL
801PACKAGE_BUGREPORT
802PACKAGE_STRING
803PACKAGE_VERSION
804PACKAGE_TARNAME
805PACKAGE_NAME
806PATH_SEPARATOR
807SHELL
808am__quote'
809ac_subst_files=''
810ac_user_opts='
811enable_option_checking
812enable_silent_rules
813enable_maintainer_mode
814enable_shared
815enable_static
816with_pic
817enable_fast_install
818with_aix_soname
819enable_dependency_tracking
820with_gnu_ld
821with_sysroot
822enable_libtool_lock
823enable_sse
824enable_neon
825enable_fixed_point
826enable_float_api
827enable_examples
828enable_arm4_asm
829enable_arm5e_asm
830enable_blackfin_asm
831enable_fixed_point_debug
832enable_resample_full_sinc_table
833enable_ti_c55x
834with_fft
835'
836      ac_precious_vars='build_alias
837host_alias
838target_alias
839CC
840CFLAGS
841LDFLAGS
842LIBS
843CPPFLAGS
844LT_SYS_LIBRARY_PATH
845PKG_CONFIG
846PKG_CONFIG_PATH
847PKG_CONFIG_LIBDIR
848FFT_CFLAGS
849FFT_LIBS'
850
851
852# Initialize some variables set by options.
853ac_init_help=
854ac_init_version=false
855ac_unrecognized_opts=
856ac_unrecognized_sep=
857# The variables have the same names as the options, with
858# dashes changed to underlines.
859cache_file=/dev/null
860exec_prefix=NONE
861no_create=
862no_recursion=
863prefix=NONE
864program_prefix=NONE
865program_suffix=NONE
866program_transform_name=s,x,x,
867silent=
868site=
869srcdir=
870verbose=
871x_includes=NONE
872x_libraries=NONE
873
874# Installation directory options.
875# These are left unexpanded so users can "make install exec_prefix=/foo"
876# and all the variables that are supposed to be based on exec_prefix
877# by default will actually change.
878# Use braces instead of parens because sh, perl, etc. also accept them.
879# (The list follows the same order as the GNU Coding Standards.)
880bindir='${exec_prefix}/bin'
881sbindir='${exec_prefix}/sbin'
882libexecdir='${exec_prefix}/libexec'
883datarootdir='${prefix}/share'
884datadir='${datarootdir}'
885sysconfdir='${prefix}/etc'
886sharedstatedir='${prefix}/com'
887localstatedir='${prefix}/var'
888runstatedir='${localstatedir}/run'
889includedir='${prefix}/include'
890oldincludedir='/usr/include'
891docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892infodir='${datarootdir}/info'
893htmldir='${docdir}'
894dvidir='${docdir}'
895pdfdir='${docdir}'
896psdir='${docdir}'
897libdir='${exec_prefix}/lib'
898localedir='${datarootdir}/locale'
899mandir='${datarootdir}/man'
900
901ac_prev=
902ac_dashdash=
903for ac_option
904do
905  # If the previous option needs an argument, assign it.
906  if test -n "$ac_prev"; then
907    eval $ac_prev=\$ac_option
908    ac_prev=
909    continue
910  fi
911
912  case $ac_option in
913  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914  *=)   ac_optarg= ;;
915  *)    ac_optarg=yes ;;
916  esac
917
918  case $ac_dashdash$ac_option in
919  --)
920    ac_dashdash=yes ;;
921
922  -bindir | --bindir | --bindi | --bind | --bin | --bi)
923    ac_prev=bindir ;;
924  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925    bindir=$ac_optarg ;;
926
927  -build | --build | --buil | --bui | --bu)
928    ac_prev=build_alias ;;
929  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930    build_alias=$ac_optarg ;;
931
932  -cache-file | --cache-file | --cache-fil | --cache-fi \
933  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934    ac_prev=cache_file ;;
935  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937    cache_file=$ac_optarg ;;
938
939  --config-cache | -C)
940    cache_file=config.cache ;;
941
942  -datadir | --datadir | --datadi | --datad)
943    ac_prev=datadir ;;
944  -datadir=* | --datadir=* | --datadi=* | --datad=*)
945    datadir=$ac_optarg ;;
946
947  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948  | --dataroo | --dataro | --datar)
949    ac_prev=datarootdir ;;
950  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952    datarootdir=$ac_optarg ;;
953
954  -disable-* | --disable-*)
955    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956    # Reject names that are not valid shell variable names.
957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958      as_fn_error $? "invalid feature name: \`$ac_useropt'"
959    ac_useropt_orig=$ac_useropt
960    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
961    case $ac_user_opts in
962      *"
963"enable_$ac_useropt"
964"*) ;;
965      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966	 ac_unrecognized_sep=', ';;
967    esac
968    eval enable_$ac_useropt=no ;;
969
970  -docdir | --docdir | --docdi | --doc | --do)
971    ac_prev=docdir ;;
972  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973    docdir=$ac_optarg ;;
974
975  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976    ac_prev=dvidir ;;
977  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978    dvidir=$ac_optarg ;;
979
980  -enable-* | --enable-*)
981    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982    # Reject names that are not valid shell variable names.
983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984      as_fn_error $? "invalid feature name: \`$ac_useropt'"
985    ac_useropt_orig=$ac_useropt
986    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
987    case $ac_user_opts in
988      *"
989"enable_$ac_useropt"
990"*) ;;
991      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992	 ac_unrecognized_sep=', ';;
993    esac
994    eval enable_$ac_useropt=\$ac_optarg ;;
995
996  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998  | --exec | --exe | --ex)
999    ac_prev=exec_prefix ;;
1000  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002  | --exec=* | --exe=* | --ex=*)
1003    exec_prefix=$ac_optarg ;;
1004
1005  -gas | --gas | --ga | --g)
1006    # Obsolete; use --with-gas.
1007    with_gas=yes ;;
1008
1009  -help | --help | --hel | --he | -h)
1010    ac_init_help=long ;;
1011  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012    ac_init_help=recursive ;;
1013  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014    ac_init_help=short ;;
1015
1016  -host | --host | --hos | --ho)
1017    ac_prev=host_alias ;;
1018  -host=* | --host=* | --hos=* | --ho=*)
1019    host_alias=$ac_optarg ;;
1020
1021  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022    ac_prev=htmldir ;;
1023  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024  | --ht=*)
1025    htmldir=$ac_optarg ;;
1026
1027  -includedir | --includedir | --includedi | --included | --include \
1028  | --includ | --inclu | --incl | --inc)
1029    ac_prev=includedir ;;
1030  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031  | --includ=* | --inclu=* | --incl=* | --inc=*)
1032    includedir=$ac_optarg ;;
1033
1034  -infodir | --infodir | --infodi | --infod | --info | --inf)
1035    ac_prev=infodir ;;
1036  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037    infodir=$ac_optarg ;;
1038
1039  -libdir | --libdir | --libdi | --libd)
1040    ac_prev=libdir ;;
1041  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042    libdir=$ac_optarg ;;
1043
1044  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045  | --libexe | --libex | --libe)
1046    ac_prev=libexecdir ;;
1047  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048  | --libexe=* | --libex=* | --libe=*)
1049    libexecdir=$ac_optarg ;;
1050
1051  -localedir | --localedir | --localedi | --localed | --locale)
1052    ac_prev=localedir ;;
1053  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054    localedir=$ac_optarg ;;
1055
1056  -localstatedir | --localstatedir | --localstatedi | --localstated \
1057  | --localstate | --localstat | --localsta | --localst | --locals)
1058    ac_prev=localstatedir ;;
1059  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061    localstatedir=$ac_optarg ;;
1062
1063  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064    ac_prev=mandir ;;
1065  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066    mandir=$ac_optarg ;;
1067
1068  -nfp | --nfp | --nf)
1069    # Obsolete; use --without-fp.
1070    with_fp=no ;;
1071
1072  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073  | --no-cr | --no-c | -n)
1074    no_create=yes ;;
1075
1076  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078    no_recursion=yes ;;
1079
1080  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082  | --oldin | --oldi | --old | --ol | --o)
1083    ac_prev=oldincludedir ;;
1084  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087    oldincludedir=$ac_optarg ;;
1088
1089  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090    ac_prev=prefix ;;
1091  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092    prefix=$ac_optarg ;;
1093
1094  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095  | --program-pre | --program-pr | --program-p)
1096    ac_prev=program_prefix ;;
1097  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099    program_prefix=$ac_optarg ;;
1100
1101  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102  | --program-suf | --program-su | --program-s)
1103    ac_prev=program_suffix ;;
1104  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106    program_suffix=$ac_optarg ;;
1107
1108  -program-transform-name | --program-transform-name \
1109  | --program-transform-nam | --program-transform-na \
1110  | --program-transform-n | --program-transform- \
1111  | --program-transform | --program-transfor \
1112  | --program-transfo | --program-transf \
1113  | --program-trans | --program-tran \
1114  | --progr-tra | --program-tr | --program-t)
1115    ac_prev=program_transform_name ;;
1116  -program-transform-name=* | --program-transform-name=* \
1117  | --program-transform-nam=* | --program-transform-na=* \
1118  | --program-transform-n=* | --program-transform-=* \
1119  | --program-transform=* | --program-transfor=* \
1120  | --program-transfo=* | --program-transf=* \
1121  | --program-trans=* | --program-tran=* \
1122  | --progr-tra=* | --program-tr=* | --program-t=*)
1123    program_transform_name=$ac_optarg ;;
1124
1125  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126    ac_prev=pdfdir ;;
1127  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128    pdfdir=$ac_optarg ;;
1129
1130  -psdir | --psdir | --psdi | --psd | --ps)
1131    ac_prev=psdir ;;
1132  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133    psdir=$ac_optarg ;;
1134
1135  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136  | -silent | --silent | --silen | --sile | --sil)
1137    silent=yes ;;
1138
1139  -runstatedir | --runstatedir | --runstatedi | --runstated \
1140  | --runstate | --runstat | --runsta | --runst | --runs \
1141  | --run | --ru | --r)
1142    ac_prev=runstatedir ;;
1143  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1144  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1145  | --run=* | --ru=* | --r=*)
1146    runstatedir=$ac_optarg ;;
1147
1148  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149    ac_prev=sbindir ;;
1150  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151  | --sbi=* | --sb=*)
1152    sbindir=$ac_optarg ;;
1153
1154  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156  | --sharedst | --shareds | --shared | --share | --shar \
1157  | --sha | --sh)
1158    ac_prev=sharedstatedir ;;
1159  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162  | --sha=* | --sh=*)
1163    sharedstatedir=$ac_optarg ;;
1164
1165  -site | --site | --sit)
1166    ac_prev=site ;;
1167  -site=* | --site=* | --sit=*)
1168    site=$ac_optarg ;;
1169
1170  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171    ac_prev=srcdir ;;
1172  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173    srcdir=$ac_optarg ;;
1174
1175  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176  | --syscon | --sysco | --sysc | --sys | --sy)
1177    ac_prev=sysconfdir ;;
1178  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180    sysconfdir=$ac_optarg ;;
1181
1182  -target | --target | --targe | --targ | --tar | --ta | --t)
1183    ac_prev=target_alias ;;
1184  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185    target_alias=$ac_optarg ;;
1186
1187  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188    verbose=yes ;;
1189
1190  -version | --version | --versio | --versi | --vers | -V)
1191    ac_init_version=: ;;
1192
1193  -with-* | --with-*)
1194    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195    # Reject names that are not valid shell variable names.
1196    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197      as_fn_error $? "invalid package name: \`$ac_useropt'"
1198    ac_useropt_orig=$ac_useropt
1199    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1200    case $ac_user_opts in
1201      *"
1202"with_$ac_useropt"
1203"*) ;;
1204      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205	 ac_unrecognized_sep=', ';;
1206    esac
1207    eval with_$ac_useropt=\$ac_optarg ;;
1208
1209  -without-* | --without-*)
1210    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211    # Reject names that are not valid shell variable names.
1212    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213      as_fn_error $? "invalid package name: \`$ac_useropt'"
1214    ac_useropt_orig=$ac_useropt
1215    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1216    case $ac_user_opts in
1217      *"
1218"with_$ac_useropt"
1219"*) ;;
1220      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221	 ac_unrecognized_sep=', ';;
1222    esac
1223    eval with_$ac_useropt=no ;;
1224
1225  --x)
1226    # Obsolete; use --with-x.
1227    with_x=yes ;;
1228
1229  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230  | --x-incl | --x-inc | --x-in | --x-i)
1231    ac_prev=x_includes ;;
1232  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234    x_includes=$ac_optarg ;;
1235
1236  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238    ac_prev=x_libraries ;;
1239  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241    x_libraries=$ac_optarg ;;
1242
1243  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1244Try \`$0 --help' for more information"
1245    ;;
1246
1247  *=*)
1248    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1249    # Reject names that are not valid shell variable names.
1250    case $ac_envvar in #(
1251      '' | [0-9]* | *[!_$as_cr_alnum]* )
1252      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1253    esac
1254    eval $ac_envvar=\$ac_optarg
1255    export $ac_envvar ;;
1256
1257  *)
1258    # FIXME: should be removed in autoconf 3.0.
1259    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1260    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1261      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1262    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1263    ;;
1264
1265  esac
1266done
1267
1268if test -n "$ac_prev"; then
1269  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1270  as_fn_error $? "missing argument to $ac_option"
1271fi
1272
1273if test -n "$ac_unrecognized_opts"; then
1274  case $enable_option_checking in
1275    no) ;;
1276    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1277    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278  esac
1279fi
1280
1281# Check all directory arguments for consistency.
1282for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283		datadir sysconfdir sharedstatedir localstatedir includedir \
1284		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285		libdir localedir mandir runstatedir
1286do
1287  eval ac_val=\$$ac_var
1288  # Remove trailing slashes.
1289  case $ac_val in
1290    */ )
1291      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292      eval $ac_var=\$ac_val;;
1293  esac
1294  # Be sure to have absolute directory names.
1295  case $ac_val in
1296    [\\/$]* | ?:[\\/]* )  continue;;
1297    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298  esac
1299  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1300done
1301
1302# There might be people who depend on the old broken behavior: `$host'
1303# used to hold the argument of --host etc.
1304# FIXME: To remove some day.
1305build=$build_alias
1306host=$host_alias
1307target=$target_alias
1308
1309# FIXME: To remove some day.
1310if test "x$host_alias" != x; then
1311  if test "x$build_alias" = x; then
1312    cross_compiling=maybe
1313  elif test "x$build_alias" != "x$host_alias"; then
1314    cross_compiling=yes
1315  fi
1316fi
1317
1318ac_tool_prefix=
1319test -n "$host_alias" && ac_tool_prefix=$host_alias-
1320
1321test "$silent" = yes && exec 6>/dev/null
1322
1323
1324ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325ac_ls_di=`ls -di .` &&
1326ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327  as_fn_error $? "working directory cannot be determined"
1328test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329  as_fn_error $? "pwd does not report name of working directory"
1330
1331
1332# Find the source files, if location was not specified.
1333if test -z "$srcdir"; then
1334  ac_srcdir_defaulted=yes
1335  # Try the directory containing this script, then the parent directory.
1336  ac_confdir=`$as_dirname -- "$as_myself" ||
1337$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338	 X"$as_myself" : 'X\(//\)[^/]' \| \
1339	 X"$as_myself" : 'X\(//\)$' \| \
1340	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341printf "%s\n" X"$as_myself" |
1342    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343	    s//\1/
1344	    q
1345	  }
1346	  /^X\(\/\/\)[^/].*/{
1347	    s//\1/
1348	    q
1349	  }
1350	  /^X\(\/\/\)$/{
1351	    s//\1/
1352	    q
1353	  }
1354	  /^X\(\/\).*/{
1355	    s//\1/
1356	    q
1357	  }
1358	  s/.*/./; q'`
1359  srcdir=$ac_confdir
1360  if test ! -r "$srcdir/$ac_unique_file"; then
1361    srcdir=..
1362  fi
1363else
1364  ac_srcdir_defaulted=no
1365fi
1366if test ! -r "$srcdir/$ac_unique_file"; then
1367  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1368  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1369fi
1370ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371ac_abs_confdir=`(
1372	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373	pwd)`
1374# When building in place, set srcdir=.
1375if test "$ac_abs_confdir" = "$ac_pwd"; then
1376  srcdir=.
1377fi
1378# Remove unnecessary trailing slashes from srcdir.
1379# Double slashes in file names in object file debugging info
1380# mess up M-x gdb in Emacs.
1381case $srcdir in
1382*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383esac
1384for ac_var in $ac_precious_vars; do
1385  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1386  eval ac_env_${ac_var}_value=\$${ac_var}
1387  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1388  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389done
1390
1391#
1392# Report the --help message.
1393#
1394if test "$ac_init_help" = "long"; then
1395  # Omit some internal or obsolete options to make the list less imposing.
1396  # This message is too long to be a string in the A/UX 3.1 sh.
1397  cat <<_ACEOF
1398\`configure' configures speexdsp 1.2.1 to adapt to many kinds of systems.
1399
1400Usage: $0 [OPTION]... [VAR=VALUE]...
1401
1402To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403VAR=VALUE.  See below for descriptions of some of the useful variables.
1404
1405Defaults for the options are specified in brackets.
1406
1407Configuration:
1408  -h, --help              display this help and exit
1409      --help=short        display options specific to this package
1410      --help=recursive    display the short help of all the included packages
1411  -V, --version           display version information and exit
1412  -q, --quiet, --silent   do not print \`checking ...' messages
1413      --cache-file=FILE   cache test results in FILE [disabled]
1414  -C, --config-cache      alias for \`--cache-file=config.cache'
1415  -n, --no-create         do not create output files
1416      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1417
1418Installation directories:
1419  --prefix=PREFIX         install architecture-independent files in PREFIX
1420                          [$ac_default_prefix]
1421  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1422                          [PREFIX]
1423
1424By default, \`make install' will install all the files in
1425\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1426an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427for instance \`--prefix=\$HOME'.
1428
1429For better control, use the options below.
1430
1431Fine tuning of the installation directories:
1432  --bindir=DIR            user executables [EPREFIX/bin]
1433  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1434  --libexecdir=DIR        program executables [EPREFIX/libexec]
1435  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1436  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1437  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1438  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1439  --libdir=DIR            object code libraries [EPREFIX/lib]
1440  --includedir=DIR        C header files [PREFIX/include]
1441  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1442  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1443  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1444  --infodir=DIR           info documentation [DATAROOTDIR/info]
1445  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1446  --mandir=DIR            man documentation [DATAROOTDIR/man]
1447  --docdir=DIR            documentation root [DATAROOTDIR/doc/speexdsp]
1448  --htmldir=DIR           html documentation [DOCDIR]
1449  --dvidir=DIR            dvi documentation [DOCDIR]
1450  --pdfdir=DIR            pdf documentation [DOCDIR]
1451  --psdir=DIR             ps documentation [DOCDIR]
1452_ACEOF
1453
1454  cat <<\_ACEOF
1455
1456Program names:
1457  --program-prefix=PREFIX            prepend PREFIX to installed program names
1458  --program-suffix=SUFFIX            append SUFFIX to installed program names
1459  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1460
1461System types:
1462  --build=BUILD     configure for building on BUILD [guessed]
1463  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1464_ACEOF
1465fi
1466
1467if test -n "$ac_init_help"; then
1468  case $ac_init_help in
1469     short | recursive ) echo "Configuration of speexdsp 1.2.1:";;
1470   esac
1471  cat <<\_ACEOF
1472
1473Optional Features:
1474  --disable-option-checking  ignore unrecognized --enable/--with options
1475  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1476  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1477  --enable-silent-rules   less verbose build output (undo: "make V=1")
1478  --disable-silent-rules  verbose build output (undo: "make V=0")
1479  --disable-maintainer-mode
1480                          disable make rules and dependencies not useful (and
1481                          sometimes confusing) to the casual installer
1482  --enable-shared[=PKGS]  build shared libraries [default=yes]
1483  --enable-static[=PKGS]  build static libraries [default=yes]
1484  --enable-fast-install[=PKGS]
1485                          optimize for fast installation [default=yes]
1486  --enable-dependency-tracking
1487                          do not reject slow dependency extractors
1488  --disable-dependency-tracking
1489                          speeds up one-time build
1490  --disable-libtool-lock  avoid locking (might break parallel builds)
1491  --enable-sse            Enable SSE support
1492  --enable-neon           Enable NEON support
1493  --enable-fixed-point    Compile as fixed-point
1494  --disable-float-api     Disable the floating-point API
1495  --disable-examples      Do not build example programs, only the library
1496  --enable-arm4-asm       Make use of ARM4 assembly optimizations
1497  --enable-arm5e-asm      Make use of ARM5E assembly optimizations
1498  --enable-blackfin-asm   Make use of Blackfin assembly optimizations
1499  --enable-fixed-point-debug  Debug fixed-point implementation
1500  --enable-resample-full-sinc-table Resample full SINC table (no interpolation)
1501  --enable-ti-c55x        Enable support for TI C55X DSP
1502
1503Optional Packages:
1504  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1505  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1506  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1507                          both]
1508  --with-aix-soname=aix|svr4|both
1509                          shared library versioning (aka "SONAME") variant to
1510                          provide on AIX, [default=aix].
1511  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1512  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1513                          compiler's sysroot if not specified).
1514  --with-fft=choice       use an alternate FFT implementation. The available
1515                          choices are kiss (default fixed point), smallft
1516                          (default floating point), gpl-fftw3 and
1517                          proprietary-intel-mkl
1518
1519Some influential environment variables:
1520  CC          C compiler command
1521  CFLAGS      C compiler flags
1522  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1523              nonstandard directory <lib dir>
1524  LIBS        libraries to pass to the linker, e.g. -l<library>
1525  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1526              you have headers in a nonstandard directory <include dir>
1527  LT_SYS_LIBRARY_PATH
1528              User-defined run-time library search path.
1529  PKG_CONFIG  path to pkg-config utility
1530  PKG_CONFIG_PATH
1531              directories to add to pkg-config's search path
1532  PKG_CONFIG_LIBDIR
1533              path overriding pkg-config's built-in search path
1534  FFT_CFLAGS  C compiler flags for FFT, overriding pkg-config
1535  FFT_LIBS    linker flags for FFT, overriding pkg-config
1536
1537Use these variables to override the choices made by `configure' or to help
1538it to find libraries and programs with nonstandard names/locations.
1539
1540Report bugs to <speex-dev@xiph.org>.
1541_ACEOF
1542ac_status=$?
1543fi
1544
1545if test "$ac_init_help" = "recursive"; then
1546  # If there are subdirs, report their specific --help.
1547  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1548    test -d "$ac_dir" ||
1549      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550      continue
1551    ac_builddir=.
1552
1553case "$ac_dir" in
1554.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555*)
1556  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1557  # A ".." for each directory in $ac_dir_suffix.
1558  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1559  case $ac_top_builddir_sub in
1560  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562  esac ;;
1563esac
1564ac_abs_top_builddir=$ac_pwd
1565ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566# for backward compatibility:
1567ac_top_builddir=$ac_top_build_prefix
1568
1569case $srcdir in
1570  .)  # We are building in place.
1571    ac_srcdir=.
1572    ac_top_srcdir=$ac_top_builddir_sub
1573    ac_abs_top_srcdir=$ac_pwd ;;
1574  [\\/]* | ?:[\\/]* )  # Absolute name.
1575    ac_srcdir=$srcdir$ac_dir_suffix;
1576    ac_top_srcdir=$srcdir
1577    ac_abs_top_srcdir=$srcdir ;;
1578  *) # Relative name.
1579    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580    ac_top_srcdir=$ac_top_build_prefix$srcdir
1581    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582esac
1583ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584
1585    cd "$ac_dir" || { ac_status=$?; continue; }
1586    # Check for configure.gnu first; this name is used for a wrapper for
1587    # Metaconfig's "Configure" on case-insensitive file systems.
1588    if test -f "$ac_srcdir/configure.gnu"; then
1589      echo &&
1590      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591    elif test -f "$ac_srcdir/configure"; then
1592      echo &&
1593      $SHELL "$ac_srcdir/configure" --help=recursive
1594    else
1595      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596    fi || ac_status=$?
1597    cd "$ac_pwd" || { ac_status=$?; break; }
1598  done
1599fi
1600
1601test -n "$ac_init_help" && exit $ac_status
1602if $ac_init_version; then
1603  cat <<\_ACEOF
1604speexdsp configure 1.2.1
1605generated by GNU Autoconf 2.71
1606
1607Copyright (C) 2021 Free Software Foundation, Inc.
1608This configure script is free software; the Free Software Foundation
1609gives unlimited permission to copy, distribute and modify it.
1610_ACEOF
1611  exit
1612fi
1613
1614## ------------------------ ##
1615## Autoconf initialization. ##
1616## ------------------------ ##
1617
1618# ac_fn_c_try_compile LINENO
1619# --------------------------
1620# Try to compile conftest.$ac_ext, and return whether this succeeded.
1621ac_fn_c_try_compile ()
1622{
1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624  rm -f conftest.$ac_objext conftest.beam
1625  if { { ac_try="$ac_compile"
1626case "(($ac_try" in
1627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628  *) ac_try_echo=$ac_try;;
1629esac
1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631printf "%s\n" "$ac_try_echo"; } >&5
1632  (eval "$ac_compile") 2>conftest.err
1633  ac_status=$?
1634  if test -s conftest.err; then
1635    grep -v '^ *+' conftest.err >conftest.er1
1636    cat conftest.er1 >&5
1637    mv -f conftest.er1 conftest.err
1638  fi
1639  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640  test $ac_status = 0; } && {
1641	 test -z "$ac_c_werror_flag" ||
1642	 test ! -s conftest.err
1643       } && test -s conftest.$ac_objext
1644then :
1645  ac_retval=0
1646else $as_nop
1647  printf "%s\n" "$as_me: failed program was:" >&5
1648sed 's/^/| /' conftest.$ac_ext >&5
1649
1650	ac_retval=1
1651fi
1652  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653  as_fn_set_status $ac_retval
1654
1655} # ac_fn_c_try_compile
1656
1657# ac_fn_c_try_link LINENO
1658# -----------------------
1659# Try to link conftest.$ac_ext, and return whether this succeeded.
1660ac_fn_c_try_link ()
1661{
1662  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1664  if { { ac_try="$ac_link"
1665case "(($ac_try" in
1666  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667  *) ac_try_echo=$ac_try;;
1668esac
1669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670printf "%s\n" "$ac_try_echo"; } >&5
1671  (eval "$ac_link") 2>conftest.err
1672  ac_status=$?
1673  if test -s conftest.err; then
1674    grep -v '^ *+' conftest.err >conftest.er1
1675    cat conftest.er1 >&5
1676    mv -f conftest.er1 conftest.err
1677  fi
1678  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679  test $ac_status = 0; } && {
1680	 test -z "$ac_c_werror_flag" ||
1681	 test ! -s conftest.err
1682       } && test -s conftest$ac_exeext && {
1683	 test "$cross_compiling" = yes ||
1684	 test -x conftest$ac_exeext
1685       }
1686then :
1687  ac_retval=0
1688else $as_nop
1689  printf "%s\n" "$as_me: failed program was:" >&5
1690sed 's/^/| /' conftest.$ac_ext >&5
1691
1692	ac_retval=1
1693fi
1694  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696  # interfere with the next link command; also delete a directory that is
1697  # left behind by Apple's compiler.  We do this before executing the actions.
1698  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700  as_fn_set_status $ac_retval
1701
1702} # ac_fn_c_try_link
1703
1704# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705# -------------------------------------------------------
1706# Tests whether HEADER exists and can be compiled using the include files in
1707# INCLUDES, setting the cache variable VAR accordingly.
1708ac_fn_c_check_header_compile ()
1709{
1710  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712printf %s "checking for $2... " >&6; }
1713if eval test \${$3+y}
1714then :
1715  printf %s "(cached) " >&6
1716else $as_nop
1717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718/* end confdefs.h.  */
1719$4
1720#include <$2>
1721_ACEOF
1722if ac_fn_c_try_compile "$LINENO"
1723then :
1724  eval "$3=yes"
1725else $as_nop
1726  eval "$3=no"
1727fi
1728rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1729fi
1730eval ac_res=\$$3
1731	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732printf "%s\n" "$ac_res" >&6; }
1733  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734
1735} # ac_fn_c_check_header_compile
1736
1737# ac_fn_c_check_func LINENO FUNC VAR
1738# ----------------------------------
1739# Tests whether FUNC exists, setting the cache variable VAR accordingly
1740ac_fn_c_check_func ()
1741{
1742  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744printf %s "checking for $2... " >&6; }
1745if eval test \${$3+y}
1746then :
1747  printf %s "(cached) " >&6
1748else $as_nop
1749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750/* end confdefs.h.  */
1751/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1753#define $2 innocuous_$2
1754
1755/* System header to define __stub macros and hopefully few prototypes,
1756   which can conflict with char $2 (); below.  */
1757
1758#include <limits.h>
1759#undef $2
1760
1761/* Override any GCC internal prototype to avoid an error.
1762   Use char because int might match the return type of a GCC
1763   builtin and then its argument prototype would still apply.  */
1764#ifdef __cplusplus
1765extern "C"
1766#endif
1767char $2 ();
1768/* The GNU C library defines this for functions which it implements
1769    to always fail with ENOSYS.  Some functions are actually named
1770    something starting with __ and the normal name is an alias.  */
1771#if defined __stub_$2 || defined __stub___$2
1772choke me
1773#endif
1774
1775int
1776main (void)
1777{
1778return $2 ();
1779  ;
1780  return 0;
1781}
1782_ACEOF
1783if ac_fn_c_try_link "$LINENO"
1784then :
1785  eval "$3=yes"
1786else $as_nop
1787  eval "$3=no"
1788fi
1789rm -f core conftest.err conftest.$ac_objext conftest.beam \
1790    conftest$ac_exeext conftest.$ac_ext
1791fi
1792eval ac_res=\$$3
1793	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794printf "%s\n" "$ac_res" >&6; }
1795  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796
1797} # ac_fn_c_check_func
1798
1799# ac_fn_c_try_run LINENO
1800# ----------------------
1801# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1802# executables *can* be run.
1803ac_fn_c_try_run ()
1804{
1805  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806  if { { ac_try="$ac_link"
1807case "(($ac_try" in
1808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809  *) ac_try_echo=$ac_try;;
1810esac
1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812printf "%s\n" "$ac_try_echo"; } >&5
1813  (eval "$ac_link") 2>&5
1814  ac_status=$?
1815  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1817  { { case "(($ac_try" in
1818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819  *) ac_try_echo=$ac_try;;
1820esac
1821eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822printf "%s\n" "$ac_try_echo"; } >&5
1823  (eval "$ac_try") 2>&5
1824  ac_status=$?
1825  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826  test $ac_status = 0; }; }
1827then :
1828  ac_retval=0
1829else $as_nop
1830  printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1831       printf "%s\n" "$as_me: failed program was:" >&5
1832sed 's/^/| /' conftest.$ac_ext >&5
1833
1834       ac_retval=$ac_status
1835fi
1836  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838  as_fn_set_status $ac_retval
1839
1840} # ac_fn_c_try_run
1841
1842# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1843# --------------------------------------------
1844# Tries to find the compile-time value of EXPR in a program that includes
1845# INCLUDES, setting VAR accordingly. Returns whether the value could be
1846# computed
1847ac_fn_c_compute_int ()
1848{
1849  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850  if test "$cross_compiling" = yes; then
1851    # Depending upon the size, compute the lo and hi bounds.
1852cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853/* end confdefs.h.  */
1854$4
1855int
1856main (void)
1857{
1858static int test_array [1 - 2 * !(($2) >= 0)];
1859test_array [0] = 0;
1860return test_array [0];
1861
1862  ;
1863  return 0;
1864}
1865_ACEOF
1866if ac_fn_c_try_compile "$LINENO"
1867then :
1868  ac_lo=0 ac_mid=0
1869  while :; do
1870    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871/* end confdefs.h.  */
1872$4
1873int
1874main (void)
1875{
1876static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1877test_array [0] = 0;
1878return test_array [0];
1879
1880  ;
1881  return 0;
1882}
1883_ACEOF
1884if ac_fn_c_try_compile "$LINENO"
1885then :
1886  ac_hi=$ac_mid; break
1887else $as_nop
1888  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1889			if test $ac_lo -le $ac_mid; then
1890			  ac_lo= ac_hi=
1891			  break
1892			fi
1893			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1894fi
1895rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1896  done
1897else $as_nop
1898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h.  */
1900$4
1901int
1902main (void)
1903{
1904static int test_array [1 - 2 * !(($2) < 0)];
1905test_array [0] = 0;
1906return test_array [0];
1907
1908  ;
1909  return 0;
1910}
1911_ACEOF
1912if ac_fn_c_try_compile "$LINENO"
1913then :
1914  ac_hi=-1 ac_mid=-1
1915  while :; do
1916    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917/* end confdefs.h.  */
1918$4
1919int
1920main (void)
1921{
1922static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1923test_array [0] = 0;
1924return test_array [0];
1925
1926  ;
1927  return 0;
1928}
1929_ACEOF
1930if ac_fn_c_try_compile "$LINENO"
1931then :
1932  ac_lo=$ac_mid; break
1933else $as_nop
1934  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1935			if test $ac_mid -le $ac_hi; then
1936			  ac_lo= ac_hi=
1937			  break
1938			fi
1939			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1940fi
1941rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1942  done
1943else $as_nop
1944  ac_lo= ac_hi=
1945fi
1946rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1947fi
1948rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1949# Binary search between lo and hi bounds.
1950while test "x$ac_lo" != "x$ac_hi"; do
1951  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953/* end confdefs.h.  */
1954$4
1955int
1956main (void)
1957{
1958static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1959test_array [0] = 0;
1960return test_array [0];
1961
1962  ;
1963  return 0;
1964}
1965_ACEOF
1966if ac_fn_c_try_compile "$LINENO"
1967then :
1968  ac_hi=$ac_mid
1969else $as_nop
1970  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1971fi
1972rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1973done
1974case $ac_lo in #((
1975?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1976'') ac_retval=1 ;;
1977esac
1978  else
1979    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980/* end confdefs.h.  */
1981$4
1982static long int longval (void) { return $2; }
1983static unsigned long int ulongval (void) { return $2; }
1984#include <stdio.h>
1985#include <stdlib.h>
1986int
1987main (void)
1988{
1989
1990  FILE *f = fopen ("conftest.val", "w");
1991  if (! f)
1992    return 1;
1993  if (($2) < 0)
1994    {
1995      long int i = longval ();
1996      if (i != ($2))
1997	return 1;
1998      fprintf (f, "%ld", i);
1999    }
2000  else
2001    {
2002      unsigned long int i = ulongval ();
2003      if (i != ($2))
2004	return 1;
2005      fprintf (f, "%lu", i);
2006    }
2007  /* Do not output a trailing newline, as this causes \r\n confusion
2008     on some platforms.  */
2009  return ferror (f) || fclose (f) != 0;
2010
2011  ;
2012  return 0;
2013}
2014_ACEOF
2015if ac_fn_c_try_run "$LINENO"
2016then :
2017  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2018else $as_nop
2019  ac_retval=1
2020fi
2021rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2022  conftest.$ac_objext conftest.beam conftest.$ac_ext
2023rm -f conftest.val
2024
2025  fi
2026  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027  as_fn_set_status $ac_retval
2028
2029} # ac_fn_c_compute_int
2030ac_configure_args_raw=
2031for ac_arg
2032do
2033  case $ac_arg in
2034  *\'*)
2035    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2036  esac
2037  as_fn_append ac_configure_args_raw " '$ac_arg'"
2038done
2039
2040case $ac_configure_args_raw in
2041  *$as_nl*)
2042    ac_safe_unquote= ;;
2043  *)
2044    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
2045    ac_unsafe_a="$ac_unsafe_z#~"
2046    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2047    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2048esac
2049
2050cat >config.log <<_ACEOF
2051This file contains any messages produced by compilers while
2052running configure, to aid debugging if configure makes a mistake.
2053
2054It was created by speexdsp $as_me 1.2.1, which was
2055generated by GNU Autoconf 2.71.  Invocation command line was
2056
2057  $ $0$ac_configure_args_raw
2058
2059_ACEOF
2060exec 5>>config.log
2061{
2062cat <<_ASUNAME
2063## --------- ##
2064## Platform. ##
2065## --------- ##
2066
2067hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2068uname -m = `(uname -m) 2>/dev/null || echo unknown`
2069uname -r = `(uname -r) 2>/dev/null || echo unknown`
2070uname -s = `(uname -s) 2>/dev/null || echo unknown`
2071uname -v = `(uname -v) 2>/dev/null || echo unknown`
2072
2073/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2074/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2075
2076/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2077/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2078/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2079/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2080/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2081/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2082/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2083
2084_ASUNAME
2085
2086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087for as_dir in $PATH
2088do
2089  IFS=$as_save_IFS
2090  case $as_dir in #(((
2091    '') as_dir=./ ;;
2092    */) ;;
2093    *) as_dir=$as_dir/ ;;
2094  esac
2095    printf "%s\n" "PATH: $as_dir"
2096  done
2097IFS=$as_save_IFS
2098
2099} >&5
2100
2101cat >&5 <<_ACEOF
2102
2103
2104## ----------- ##
2105## Core tests. ##
2106## ----------- ##
2107
2108_ACEOF
2109
2110
2111# Keep a trace of the command line.
2112# Strip out --no-create and --no-recursion so they do not pile up.
2113# Strip out --silent because we don't want to record it for future runs.
2114# Also quote any args containing shell meta-characters.
2115# Make two passes to allow for proper duplicate-argument suppression.
2116ac_configure_args=
2117ac_configure_args0=
2118ac_configure_args1=
2119ac_must_keep_next=false
2120for ac_pass in 1 2
2121do
2122  for ac_arg
2123  do
2124    case $ac_arg in
2125    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2126    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2127    | -silent | --silent | --silen | --sile | --sil)
2128      continue ;;
2129    *\'*)
2130      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2131    esac
2132    case $ac_pass in
2133    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2134    2)
2135      as_fn_append ac_configure_args1 " '$ac_arg'"
2136      if test $ac_must_keep_next = true; then
2137	ac_must_keep_next=false # Got value, back to normal.
2138      else
2139	case $ac_arg in
2140	  *=* | --config-cache | -C | -disable-* | --disable-* \
2141	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2142	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2143	  | -with-* | --with-* | -without-* | --without-* | --x)
2144	    case "$ac_configure_args0 " in
2145	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2146	    esac
2147	    ;;
2148	  -* ) ac_must_keep_next=true ;;
2149	esac
2150      fi
2151      as_fn_append ac_configure_args " '$ac_arg'"
2152      ;;
2153    esac
2154  done
2155done
2156{ ac_configure_args0=; unset ac_configure_args0;}
2157{ ac_configure_args1=; unset ac_configure_args1;}
2158
2159# When interrupted or exit'd, cleanup temporary files, and complete
2160# config.log.  We remove comments because anyway the quotes in there
2161# would cause problems or look ugly.
2162# WARNING: Use '\'' to represent an apostrophe within the trap.
2163# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2164trap 'exit_status=$?
2165  # Sanitize IFS.
2166  IFS=" ""	$as_nl"
2167  # Save into config.log some information that might help in debugging.
2168  {
2169    echo
2170
2171    printf "%s\n" "## ---------------- ##
2172## Cache variables. ##
2173## ---------------- ##"
2174    echo
2175    # The following way of writing the cache mishandles newlines in values,
2176(
2177  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178    eval ac_val=\$$ac_var
2179    case $ac_val in #(
2180    *${as_nl}*)
2181      case $ac_var in #(
2182      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184      esac
2185      case $ac_var in #(
2186      _ | IFS | as_nl) ;; #(
2187      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188      *) { eval $ac_var=; unset $ac_var;} ;;
2189      esac ;;
2190    esac
2191  done
2192  (set) 2>&1 |
2193    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2194    *${as_nl}ac_space=\ *)
2195      sed -n \
2196	"s/'\''/'\''\\\\'\'''\''/g;
2197	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2198      ;; #(
2199    *)
2200      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2201      ;;
2202    esac |
2203    sort
2204)
2205    echo
2206
2207    printf "%s\n" "## ----------------- ##
2208## Output variables. ##
2209## ----------------- ##"
2210    echo
2211    for ac_var in $ac_subst_vars
2212    do
2213      eval ac_val=\$$ac_var
2214      case $ac_val in
2215      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216      esac
2217      printf "%s\n" "$ac_var='\''$ac_val'\''"
2218    done | sort
2219    echo
2220
2221    if test -n "$ac_subst_files"; then
2222      printf "%s\n" "## ------------------- ##
2223## File substitutions. ##
2224## ------------------- ##"
2225      echo
2226      for ac_var in $ac_subst_files
2227      do
2228	eval ac_val=\$$ac_var
2229	case $ac_val in
2230	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231	esac
2232	printf "%s\n" "$ac_var='\''$ac_val'\''"
2233      done | sort
2234      echo
2235    fi
2236
2237    if test -s confdefs.h; then
2238      printf "%s\n" "## ----------- ##
2239## confdefs.h. ##
2240## ----------- ##"
2241      echo
2242      cat confdefs.h
2243      echo
2244    fi
2245    test "$ac_signal" != 0 &&
2246      printf "%s\n" "$as_me: caught signal $ac_signal"
2247    printf "%s\n" "$as_me: exit $exit_status"
2248  } >&5
2249  rm -f core *.core core.conftest.* &&
2250    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2251    exit $exit_status
2252' 0
2253for ac_signal in 1 2 13 15; do
2254  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255done
2256ac_signal=0
2257
2258# confdefs.h avoids OS command line length limits that DEFS can exceed.
2259rm -f -r conftest* confdefs.h
2260
2261printf "%s\n" "/* confdefs.h */" > confdefs.h
2262
2263# Predefined preprocessor variables.
2264
2265printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2266
2267printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2268
2269printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2270
2271printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2272
2273printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2274
2275printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2276
2277
2278# Let the site file select an alternate cache file if it wants to.
2279# Prefer an explicitly selected file to automatically selected ones.
2280if test -n "$CONFIG_SITE"; then
2281  ac_site_files="$CONFIG_SITE"
2282elif test "x$prefix" != xNONE; then
2283  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2284else
2285  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2286fi
2287
2288for ac_site_file in $ac_site_files
2289do
2290  case $ac_site_file in #(
2291  */*) :
2292     ;; #(
2293  *) :
2294    ac_site_file=./$ac_site_file ;;
2295esac
2296  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2297    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2298printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2299    sed 's/^/| /' "$ac_site_file" >&5
2300    . "$ac_site_file" \
2301      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2303as_fn_error $? "failed to load site script $ac_site_file
2304See \`config.log' for more details" "$LINENO" 5; }
2305  fi
2306done
2307
2308if test -r "$cache_file"; then
2309  # Some versions of bash will fail to source /dev/null (special files
2310  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2311  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2312    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2313printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2314    case $cache_file in
2315      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2316      *)                      . "./$cache_file";;
2317    esac
2318  fi
2319else
2320  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2321printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2322  >$cache_file
2323fi
2324
2325# Test code for whether the C compiler supports C89 (global declarations)
2326ac_c_conftest_c89_globals='
2327/* Does the compiler advertise C89 conformance?
2328   Do not test the value of __STDC__, because some compilers set it to 0
2329   while being otherwise adequately conformant. */
2330#if !defined __STDC__
2331# error "Compiler does not advertise C89 conformance"
2332#endif
2333
2334#include <stddef.h>
2335#include <stdarg.h>
2336struct stat;
2337/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2338struct buf { int x; };
2339struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2340static char *e (p, i)
2341     char **p;
2342     int i;
2343{
2344  return p[i];
2345}
2346static char *f (char * (*g) (char **, int), char **p, ...)
2347{
2348  char *s;
2349  va_list v;
2350  va_start (v,p);
2351  s = g (p, va_arg (v,int));
2352  va_end (v);
2353  return s;
2354}
2355
2356/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2357   function prototypes and stuff, but not \xHH hex character constants.
2358   These do not provoke an error unfortunately, instead are silently treated
2359   as an "x".  The following induces an error, until -std is added to get
2360   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2361   array size at least.  It is necessary to write \x00 == 0 to get something
2362   that is true only with -std.  */
2363int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2364
2365/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2366   inside strings and character constants.  */
2367#define FOO(x) '\''x'\''
2368int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2369
2370int test (int i, double x);
2371struct s1 {int (*f) (int a);};
2372struct s2 {int (*f) (double a);};
2373int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2374               int, int);'
2375
2376# Test code for whether the C compiler supports C89 (body of main).
2377ac_c_conftest_c89_main='
2378ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2379'
2380
2381# Test code for whether the C compiler supports C99 (global declarations)
2382ac_c_conftest_c99_globals='
2383// Does the compiler advertise C99 conformance?
2384#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2385# error "Compiler does not advertise C99 conformance"
2386#endif
2387
2388#include <stdbool.h>
2389extern int puts (const char *);
2390extern int printf (const char *, ...);
2391extern int dprintf (int, const char *, ...);
2392extern void *malloc (size_t);
2393
2394// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2395// dprintf is used instead of fprintf to avoid needing to declare
2396// FILE and stderr.
2397#define debug(...) dprintf (2, __VA_ARGS__)
2398#define showlist(...) puts (#__VA_ARGS__)
2399#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2400static void
2401test_varargs_macros (void)
2402{
2403  int x = 1234;
2404  int y = 5678;
2405  debug ("Flag");
2406  debug ("X = %d\n", x);
2407  showlist (The first, second, and third items.);
2408  report (x>y, "x is %d but y is %d", x, y);
2409}
2410
2411// Check long long types.
2412#define BIG64 18446744073709551615ull
2413#define BIG32 4294967295ul
2414#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2415#if !BIG_OK
2416  #error "your preprocessor is broken"
2417#endif
2418#if BIG_OK
2419#else
2420  #error "your preprocessor is broken"
2421#endif
2422static long long int bignum = -9223372036854775807LL;
2423static unsigned long long int ubignum = BIG64;
2424
2425struct incomplete_array
2426{
2427  int datasize;
2428  double data[];
2429};
2430
2431struct named_init {
2432  int number;
2433  const wchar_t *name;
2434  double average;
2435};
2436
2437typedef const char *ccp;
2438
2439static inline int
2440test_restrict (ccp restrict text)
2441{
2442  // See if C++-style comments work.
2443  // Iterate through items via the restricted pointer.
2444  // Also check for declarations in for loops.
2445  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2446    continue;
2447  return 0;
2448}
2449
2450// Check varargs and va_copy.
2451static bool
2452test_varargs (const char *format, ...)
2453{
2454  va_list args;
2455  va_start (args, format);
2456  va_list args_copy;
2457  va_copy (args_copy, args);
2458
2459  const char *str = "";
2460  int number = 0;
2461  float fnumber = 0;
2462
2463  while (*format)
2464    {
2465      switch (*format++)
2466	{
2467	case '\''s'\'': // string
2468	  str = va_arg (args_copy, const char *);
2469	  break;
2470	case '\''d'\'': // int
2471	  number = va_arg (args_copy, int);
2472	  break;
2473	case '\''f'\'': // float
2474	  fnumber = va_arg (args_copy, double);
2475	  break;
2476	default:
2477	  break;
2478	}
2479    }
2480  va_end (args_copy);
2481  va_end (args);
2482
2483  return *str && number && fnumber;
2484}
2485'
2486
2487# Test code for whether the C compiler supports C99 (body of main).
2488ac_c_conftest_c99_main='
2489  // Check bool.
2490  _Bool success = false;
2491  success |= (argc != 0);
2492
2493  // Check restrict.
2494  if (test_restrict ("String literal") == 0)
2495    success = true;
2496  char *restrict newvar = "Another string";
2497
2498  // Check varargs.
2499  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2500  test_varargs_macros ();
2501
2502  // Check flexible array members.
2503  struct incomplete_array *ia =
2504    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2505  ia->datasize = 10;
2506  for (int i = 0; i < ia->datasize; ++i)
2507    ia->data[i] = i * 1.234;
2508
2509  // Check named initializers.
2510  struct named_init ni = {
2511    .number = 34,
2512    .name = L"Test wide string",
2513    .average = 543.34343,
2514  };
2515
2516  ni.number = 58;
2517
2518  int dynamic_array[ni.number];
2519  dynamic_array[0] = argv[0][0];
2520  dynamic_array[ni.number - 1] = 543;
2521
2522  // work around unused variable warnings
2523  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2524	 || dynamic_array[ni.number - 1] != 543);
2525'
2526
2527# Test code for whether the C compiler supports C11 (global declarations)
2528ac_c_conftest_c11_globals='
2529// Does the compiler advertise C11 conformance?
2530#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2531# error "Compiler does not advertise C11 conformance"
2532#endif
2533
2534// Check _Alignas.
2535char _Alignas (double) aligned_as_double;
2536char _Alignas (0) no_special_alignment;
2537extern char aligned_as_int;
2538char _Alignas (0) _Alignas (int) aligned_as_int;
2539
2540// Check _Alignof.
2541enum
2542{
2543  int_alignment = _Alignof (int),
2544  int_array_alignment = _Alignof (int[100]),
2545  char_alignment = _Alignof (char)
2546};
2547_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2548
2549// Check _Noreturn.
2550int _Noreturn does_not_return (void) { for (;;) continue; }
2551
2552// Check _Static_assert.
2553struct test_static_assert
2554{
2555  int x;
2556  _Static_assert (sizeof (int) <= sizeof (long int),
2557                  "_Static_assert does not work in struct");
2558  long int y;
2559};
2560
2561// Check UTF-8 literals.
2562#define u8 syntax error!
2563char const utf8_literal[] = u8"happens to be ASCII" "another string";
2564
2565// Check duplicate typedefs.
2566typedef long *long_ptr;
2567typedef long int *long_ptr;
2568typedef long_ptr long_ptr;
2569
2570// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2571struct anonymous
2572{
2573  union {
2574    struct { int i; int j; };
2575    struct { int k; long int l; } w;
2576  };
2577  int m;
2578} v1;
2579'
2580
2581# Test code for whether the C compiler supports C11 (body of main).
2582ac_c_conftest_c11_main='
2583  _Static_assert ((offsetof (struct anonymous, i)
2584		   == offsetof (struct anonymous, w.k)),
2585		  "Anonymous union alignment botch");
2586  v1.i = 2;
2587  v1.w.k = 5;
2588  ok |= v1.i != 5;
2589'
2590
2591# Test code for whether the C compiler supports C11 (complete).
2592ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2593${ac_c_conftest_c99_globals}
2594${ac_c_conftest_c11_globals}
2595
2596int
2597main (int argc, char **argv)
2598{
2599  int ok = 0;
2600  ${ac_c_conftest_c89_main}
2601  ${ac_c_conftest_c99_main}
2602  ${ac_c_conftest_c11_main}
2603  return ok;
2604}
2605"
2606
2607# Test code for whether the C compiler supports C99 (complete).
2608ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2609${ac_c_conftest_c99_globals}
2610
2611int
2612main (int argc, char **argv)
2613{
2614  int ok = 0;
2615  ${ac_c_conftest_c89_main}
2616  ${ac_c_conftest_c99_main}
2617  return ok;
2618}
2619"
2620
2621# Test code for whether the C compiler supports C89 (complete).
2622ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2623
2624int
2625main (int argc, char **argv)
2626{
2627  int ok = 0;
2628  ${ac_c_conftest_c89_main}
2629  return ok;
2630}
2631"
2632
2633as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2634as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2635as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2636as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2637as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2638as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2639as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2640as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2641as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2642
2643# Auxiliary files required by this configure script.
2644ac_aux_files="compile ltmain.sh config.guess config.sub missing install-sh"
2645
2646# Locations in which to look for auxiliary files.
2647ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2648
2649# Search for a directory containing all of the required auxiliary files,
2650# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2651# If we don't find one directory that contains all the files we need,
2652# we report the set of missing files from the *first* directory in
2653# $ac_aux_dir_candidates and give up.
2654ac_missing_aux_files=""
2655ac_first_candidate=:
2656printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658as_found=false
2659for as_dir in $ac_aux_dir_candidates
2660do
2661  IFS=$as_save_IFS
2662  case $as_dir in #(((
2663    '') as_dir=./ ;;
2664    */) ;;
2665    *) as_dir=$as_dir/ ;;
2666  esac
2667  as_found=:
2668
2669  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2670  ac_aux_dir_found=yes
2671  ac_install_sh=
2672  for ac_aux in $ac_aux_files
2673  do
2674    # As a special case, if "install-sh" is required, that requirement
2675    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2676    # and $ac_install_sh is set appropriately for whichever one is found.
2677    if test x"$ac_aux" = x"install-sh"
2678    then
2679      if test -f "${as_dir}install-sh"; then
2680        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2681        ac_install_sh="${as_dir}install-sh -c"
2682      elif test -f "${as_dir}install.sh"; then
2683        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2684        ac_install_sh="${as_dir}install.sh -c"
2685      elif test -f "${as_dir}shtool"; then
2686        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2687        ac_install_sh="${as_dir}shtool install -c"
2688      else
2689        ac_aux_dir_found=no
2690        if $ac_first_candidate; then
2691          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2692        else
2693          break
2694        fi
2695      fi
2696    else
2697      if test -f "${as_dir}${ac_aux}"; then
2698        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2699      else
2700        ac_aux_dir_found=no
2701        if $ac_first_candidate; then
2702          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2703        else
2704          break
2705        fi
2706      fi
2707    fi
2708  done
2709  if test "$ac_aux_dir_found" = yes; then
2710    ac_aux_dir="$as_dir"
2711    break
2712  fi
2713  ac_first_candidate=false
2714
2715  as_found=false
2716done
2717IFS=$as_save_IFS
2718if $as_found
2719then :
2720
2721else $as_nop
2722  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2723fi
2724
2725
2726# These three variables are undocumented and unsupported,
2727# and are intended to be withdrawn in a future Autoconf release.
2728# They can cause serious problems if a builder's source tree is in a directory
2729# whose full name contains unusual characters.
2730if test -f "${ac_aux_dir}config.guess"; then
2731  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2732fi
2733if test -f "${ac_aux_dir}config.sub"; then
2734  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2735fi
2736if test -f "$ac_aux_dir/configure"; then
2737  ac_configure="$SHELL ${ac_aux_dir}configure"
2738fi
2739
2740# Check that the precious variables saved in the cache have kept the same
2741# value.
2742ac_cache_corrupted=false
2743for ac_var in $ac_precious_vars; do
2744  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2745  eval ac_new_set=\$ac_env_${ac_var}_set
2746  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2747  eval ac_new_val=\$ac_env_${ac_var}_value
2748  case $ac_old_set,$ac_new_set in
2749    set,)
2750      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2751printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2752      ac_cache_corrupted=: ;;
2753    ,set)
2754      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2755printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2756      ac_cache_corrupted=: ;;
2757    ,);;
2758    *)
2759      if test "x$ac_old_val" != "x$ac_new_val"; then
2760	# differences in whitespace do not lead to failure.
2761	ac_old_val_w=`echo x $ac_old_val`
2762	ac_new_val_w=`echo x $ac_new_val`
2763	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2764	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2765printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2766	  ac_cache_corrupted=:
2767	else
2768	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2769printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2770	  eval $ac_var=\$ac_old_val
2771	fi
2772	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2773printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2774	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2775printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2776      fi;;
2777  esac
2778  # Pass precious variables to config.status.
2779  if test "$ac_new_set" = set; then
2780    case $ac_new_val in
2781    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2782    *) ac_arg=$ac_var=$ac_new_val ;;
2783    esac
2784    case " $ac_configure_args " in
2785      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2786      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2787    esac
2788  fi
2789done
2790if $ac_cache_corrupted; then
2791  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2792printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2793  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2794printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2795  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2796	    and start over" "$LINENO" 5
2797fi
2798## -------------------- ##
2799## Main body of script. ##
2800## -------------------- ##
2801
2802ac_ext=c
2803ac_cpp='$CPP $CPPFLAGS'
2804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807
2808
2809
2810
2811
2812
2813# Check whether --enable-silent-rules was given.
2814if test ${enable_silent_rules+y}
2815then :
2816  enableval=$enable_silent_rules;
2817fi
2818
2819case $enable_silent_rules in # (((
2820  yes) AM_DEFAULT_VERBOSITY=0;;
2821   no) AM_DEFAULT_VERBOSITY=1;;
2822    *) AM_DEFAULT_VERBOSITY=0;;
2823esac
2824am_make=${MAKE-make}
2825{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2826printf %s "checking whether $am_make supports nested variables... " >&6; }
2827if test ${am_cv_make_support_nested_variables+y}
2828then :
2829  printf %s "(cached) " >&6
2830else $as_nop
2831  if printf "%s\n" 'TRUE=$(BAR$(V))
2832BAR0=false
2833BAR1=true
2834V=1
2835am__doit:
2836	@$(TRUE)
2837.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2838  am_cv_make_support_nested_variables=yes
2839else
2840  am_cv_make_support_nested_variables=no
2841fi
2842fi
2843{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2844printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2845if test $am_cv_make_support_nested_variables = yes; then
2846    AM_V='$(V)'
2847  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2848else
2849  AM_V=$AM_DEFAULT_VERBOSITY
2850  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2851fi
2852AM_BACKSLASH='\'
2853
2854
2855
2856SPEEXDSP_LT_CURRENT=6
2857SPEEXDSP_LT_REVISION=2
2858SPEEXDSP_LT_AGE=5
2859
2860
2861
2862
2863
2864
2865am__api_version='1.16'
2866
2867
2868
2869  # Find a good install program.  We prefer a C program (faster),
2870# so one script is as good as another.  But avoid the broken or
2871# incompatible versions:
2872# SysV /etc/install, /usr/sbin/install
2873# SunOS /usr/etc/install
2874# IRIX /sbin/install
2875# AIX /bin/install
2876# AmigaOS /C/install, which installs bootblocks on floppy discs
2877# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2878# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2879# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2880# OS/2's system install, which has a completely different semantic
2881# ./install, which can be erroneously created by make from ./install.sh.
2882# Reject install programs that cannot install multiple files.
2883{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2884printf %s "checking for a BSD-compatible install... " >&6; }
2885if test -z "$INSTALL"; then
2886if test ${ac_cv_path_install+y}
2887then :
2888  printf %s "(cached) " >&6
2889else $as_nop
2890  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891for as_dir in $PATH
2892do
2893  IFS=$as_save_IFS
2894  case $as_dir in #(((
2895    '') as_dir=./ ;;
2896    */) ;;
2897    *) as_dir=$as_dir/ ;;
2898  esac
2899    # Account for fact that we put trailing slashes in our PATH walk.
2900case $as_dir in #((
2901  ./ | /[cC]/* | \
2902  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2903  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2904  /usr/ucb/* ) ;;
2905  *)
2906    # OSF1 and SCO ODT 3.0 have their own names for install.
2907    # Don't use installbsd from OSF since it installs stuff as root
2908    # by default.
2909    for ac_prog in ginstall scoinst install; do
2910      for ac_exec_ext in '' $ac_executable_extensions; do
2911	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2912	  if test $ac_prog = install &&
2913	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2914	    # AIX install.  It has an incompatible calling convention.
2915	    :
2916	  elif test $ac_prog = install &&
2917	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2918	    # program-specific install script used by HP pwplus--don't use.
2919	    :
2920	  else
2921	    rm -rf conftest.one conftest.two conftest.dir
2922	    echo one > conftest.one
2923	    echo two > conftest.two
2924	    mkdir conftest.dir
2925	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2926	      test -s conftest.one && test -s conftest.two &&
2927	      test -s conftest.dir/conftest.one &&
2928	      test -s conftest.dir/conftest.two
2929	    then
2930	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2931	      break 3
2932	    fi
2933	  fi
2934	fi
2935      done
2936    done
2937    ;;
2938esac
2939
2940  done
2941IFS=$as_save_IFS
2942
2943rm -rf conftest.one conftest.two conftest.dir
2944
2945fi
2946  if test ${ac_cv_path_install+y}; then
2947    INSTALL=$ac_cv_path_install
2948  else
2949    # As a last resort, use the slow shell script.  Don't cache a
2950    # value for INSTALL within a source directory, because that will
2951    # break other packages using the cache if that directory is
2952    # removed, or if the value is a relative name.
2953    INSTALL=$ac_install_sh
2954  fi
2955fi
2956{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2957printf "%s\n" "$INSTALL" >&6; }
2958
2959# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2960# It thinks the first close brace ends the variable substitution.
2961test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2962
2963test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2964
2965test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2966
2967{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2968printf %s "checking whether build environment is sane... " >&6; }
2969# Reject unsafe characters in $srcdir or the absolute working directory
2970# name.  Accept space and tab only in the latter.
2971am_lf='
2972'
2973case `pwd` in
2974  *[\\\"\#\$\&\'\`$am_lf]*)
2975    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2976esac
2977case $srcdir in
2978  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2979    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2980esac
2981
2982# Do 'set' in a subshell so we don't clobber the current shell's
2983# arguments.  Must try -L first in case configure is actually a
2984# symlink; some systems play weird games with the mod time of symlinks
2985# (eg FreeBSD returns the mod time of the symlink's containing
2986# directory).
2987if (
2988   am_has_slept=no
2989   for am_try in 1 2; do
2990     echo "timestamp, slept: $am_has_slept" > conftest.file
2991     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2992     if test "$*" = "X"; then
2993	# -L didn't work.
2994	set X `ls -t "$srcdir/configure" conftest.file`
2995     fi
2996     if test "$*" != "X $srcdir/configure conftest.file" \
2997	&& test "$*" != "X conftest.file $srcdir/configure"; then
2998
2999	# If neither matched, then we have a broken ls.  This can happen
3000	# if, for instance, CONFIG_SHELL is bash and it inherits a
3001	# broken ls alias from the environment.  This has actually
3002	# happened.  Such a system could not be considered "sane".
3003	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3004  alias in your environment" "$LINENO" 5
3005     fi
3006     if test "$2" = conftest.file || test $am_try -eq 2; then
3007       break
3008     fi
3009     # Just in case.
3010     sleep 1
3011     am_has_slept=yes
3012   done
3013   test "$2" = conftest.file
3014   )
3015then
3016   # Ok.
3017   :
3018else
3019   as_fn_error $? "newly created file is older than distributed files!
3020Check your system clock" "$LINENO" 5
3021fi
3022{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3023printf "%s\n" "yes" >&6; }
3024# If we didn't sleep, we still need to ensure time stamps of config.status and
3025# generated files are strictly newer.
3026am_sleep_pid=
3027if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3028  ( sleep 1 ) &
3029  am_sleep_pid=$!
3030fi
3031
3032rm -f conftest.file
3033
3034test "$program_prefix" != NONE &&
3035  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3036# Use a double $ so make ignores it.
3037test "$program_suffix" != NONE &&
3038  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3039# Double any \ or $.
3040# By default was `s,x,x', remove it if useless.
3041ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3042program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3043
3044
3045# Expand $ac_aux_dir to an absolute path.
3046am_aux_dir=`cd "$ac_aux_dir" && pwd`
3047
3048
3049  if test x"${MISSING+set}" != xset; then
3050  MISSING="\${SHELL} '$am_aux_dir/missing'"
3051fi
3052# Use eval to expand $SHELL
3053if eval "$MISSING --is-lightweight"; then
3054  am_missing_run="$MISSING "
3055else
3056  am_missing_run=
3057  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3058printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3059fi
3060
3061if test x"${install_sh+set}" != xset; then
3062  case $am_aux_dir in
3063  *\ * | *\	*)
3064    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3065  *)
3066    install_sh="\${SHELL} $am_aux_dir/install-sh"
3067  esac
3068fi
3069
3070# Installed binaries are usually stripped using 'strip' when the user
3071# run "make install-strip".  However 'strip' might not be the right
3072# tool to use in cross-compilation environments, therefore Automake
3073# will honor the 'STRIP' environment variable to overrule this program.
3074if test "$cross_compiling" != no; then
3075  if test -n "$ac_tool_prefix"; then
3076  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3077set dummy ${ac_tool_prefix}strip; ac_word=$2
3078{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079printf %s "checking for $ac_word... " >&6; }
3080if test ${ac_cv_prog_STRIP+y}
3081then :
3082  printf %s "(cached) " >&6
3083else $as_nop
3084  if test -n "$STRIP"; then
3085  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3086else
3087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088for as_dir in $PATH
3089do
3090  IFS=$as_save_IFS
3091  case $as_dir in #(((
3092    '') as_dir=./ ;;
3093    */) ;;
3094    *) as_dir=$as_dir/ ;;
3095  esac
3096    for ac_exec_ext in '' $ac_executable_extensions; do
3097  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3098    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3099    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3100    break 2
3101  fi
3102done
3103  done
3104IFS=$as_save_IFS
3105
3106fi
3107fi
3108STRIP=$ac_cv_prog_STRIP
3109if test -n "$STRIP"; then
3110  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3111printf "%s\n" "$STRIP" >&6; }
3112else
3113  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114printf "%s\n" "no" >&6; }
3115fi
3116
3117
3118fi
3119if test -z "$ac_cv_prog_STRIP"; then
3120  ac_ct_STRIP=$STRIP
3121  # Extract the first word of "strip", so it can be a program name with args.
3122set dummy strip; ac_word=$2
3123{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124printf %s "checking for $ac_word... " >&6; }
3125if test ${ac_cv_prog_ac_ct_STRIP+y}
3126then :
3127  printf %s "(cached) " >&6
3128else $as_nop
3129  if test -n "$ac_ct_STRIP"; then
3130  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3131else
3132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133for as_dir in $PATH
3134do
3135  IFS=$as_save_IFS
3136  case $as_dir in #(((
3137    '') as_dir=./ ;;
3138    */) ;;
3139    *) as_dir=$as_dir/ ;;
3140  esac
3141    for ac_exec_ext in '' $ac_executable_extensions; do
3142  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3143    ac_cv_prog_ac_ct_STRIP="strip"
3144    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3145    break 2
3146  fi
3147done
3148  done
3149IFS=$as_save_IFS
3150
3151fi
3152fi
3153ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3154if test -n "$ac_ct_STRIP"; then
3155  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3156printf "%s\n" "$ac_ct_STRIP" >&6; }
3157else
3158  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159printf "%s\n" "no" >&6; }
3160fi
3161
3162  if test "x$ac_ct_STRIP" = x; then
3163    STRIP=":"
3164  else
3165    case $cross_compiling:$ac_tool_warned in
3166yes:)
3167{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3168printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169ac_tool_warned=yes ;;
3170esac
3171    STRIP=$ac_ct_STRIP
3172  fi
3173else
3174  STRIP="$ac_cv_prog_STRIP"
3175fi
3176
3177fi
3178INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3179
3180
3181  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3182printf %s "checking for a race-free mkdir -p... " >&6; }
3183if test -z "$MKDIR_P"; then
3184  if test ${ac_cv_path_mkdir+y}
3185then :
3186  printf %s "(cached) " >&6
3187else $as_nop
3188  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3190do
3191  IFS=$as_save_IFS
3192  case $as_dir in #(((
3193    '') as_dir=./ ;;
3194    */) ;;
3195    *) as_dir=$as_dir/ ;;
3196  esac
3197    for ac_prog in mkdir gmkdir; do
3198	 for ac_exec_ext in '' $ac_executable_extensions; do
3199	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3200	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3201	     'mkdir ('*'coreutils) '* | \
3202	     'BusyBox '* | \
3203	     'mkdir (fileutils) '4.1*)
3204	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3205	       break 3;;
3206	   esac
3207	 done
3208       done
3209  done
3210IFS=$as_save_IFS
3211
3212fi
3213
3214  test -d ./--version && rmdir ./--version
3215  if test ${ac_cv_path_mkdir+y}; then
3216    MKDIR_P="$ac_cv_path_mkdir -p"
3217  else
3218    # As a last resort, use the slow shell script.  Don't cache a
3219    # value for MKDIR_P within a source directory, because that will
3220    # break other packages using the cache if that directory is
3221    # removed, or if the value is a relative name.
3222    MKDIR_P="$ac_install_sh -d"
3223  fi
3224fi
3225{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3226printf "%s\n" "$MKDIR_P" >&6; }
3227
3228for ac_prog in gawk mawk nawk awk
3229do
3230  # Extract the first word of "$ac_prog", so it can be a program name with args.
3231set dummy $ac_prog; ac_word=$2
3232{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233printf %s "checking for $ac_word... " >&6; }
3234if test ${ac_cv_prog_AWK+y}
3235then :
3236  printf %s "(cached) " >&6
3237else $as_nop
3238  if test -n "$AWK"; then
3239  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3240else
3241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242for as_dir in $PATH
3243do
3244  IFS=$as_save_IFS
3245  case $as_dir in #(((
3246    '') as_dir=./ ;;
3247    */) ;;
3248    *) as_dir=$as_dir/ ;;
3249  esac
3250    for ac_exec_ext in '' $ac_executable_extensions; do
3251  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3252    ac_cv_prog_AWK="$ac_prog"
3253    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257  done
3258IFS=$as_save_IFS
3259
3260fi
3261fi
3262AWK=$ac_cv_prog_AWK
3263if test -n "$AWK"; then
3264  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3265printf "%s\n" "$AWK" >&6; }
3266else
3267  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268printf "%s\n" "no" >&6; }
3269fi
3270
3271
3272  test -n "$AWK" && break
3273done
3274
3275{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3276printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3277set x ${MAKE-make}
3278ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3279if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3280then :
3281  printf %s "(cached) " >&6
3282else $as_nop
3283  cat >conftest.make <<\_ACEOF
3284SHELL = /bin/sh
3285all:
3286	@echo '@@@%%%=$(MAKE)=@@@%%%'
3287_ACEOF
3288# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3289case `${MAKE-make} -f conftest.make 2>/dev/null` in
3290  *@@@%%%=?*=@@@%%%*)
3291    eval ac_cv_prog_make_${ac_make}_set=yes;;
3292  *)
3293    eval ac_cv_prog_make_${ac_make}_set=no;;
3294esac
3295rm -f conftest.make
3296fi
3297if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3298  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3299printf "%s\n" "yes" >&6; }
3300  SET_MAKE=
3301else
3302  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303printf "%s\n" "no" >&6; }
3304  SET_MAKE="MAKE=${MAKE-make}"
3305fi
3306
3307rm -rf .tst 2>/dev/null
3308mkdir .tst 2>/dev/null
3309if test -d .tst; then
3310  am__leading_dot=.
3311else
3312  am__leading_dot=_
3313fi
3314rmdir .tst 2>/dev/null
3315
3316if test "`cd $srcdir && pwd`" != "`pwd`"; then
3317  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3318  # is not polluted with repeated "-I."
3319  am__isrc=' -I$(srcdir)'
3320  # test to see if srcdir already configured
3321  if test -f $srcdir/config.status; then
3322    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3323  fi
3324fi
3325
3326# test whether we have cygpath
3327if test -z "$CYGPATH_W"; then
3328  if (cygpath --version) >/dev/null 2>/dev/null; then
3329    CYGPATH_W='cygpath -w'
3330  else
3331    CYGPATH_W=echo
3332  fi
3333fi
3334
3335
3336# Define the identity of the package.
3337 PACKAGE='speexdsp'
3338 VERSION='1.2.1'
3339
3340
3341# Some tools Automake needs.
3342
3343ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3344
3345
3346AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3347
3348
3349AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3350
3351
3352AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3353
3354
3355MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3356
3357# For better backward compatibility.  To be removed once Automake 1.9.x
3358# dies out for good.  For more background, see:
3359# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3360# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3361mkdir_p='$(MKDIR_P)'
3362
3363# We need awk for the "check" target (and possibly the TAP driver).  The
3364# system "awk" is bad on some platforms.
3365# Always define AMTAR for backward compatibility.  Yes, it's still used
3366# in the wild :-(  We should find a proper way to deprecate it ...
3367AMTAR='$${TAR-tar}'
3368
3369
3370# We'll loop over all known methods to create a tar archive until one works.
3371_am_tools='gnutar  pax cpio none'
3372
3373am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3374
3375
3376
3377
3378
3379# Variables for tags utilities; see am/tags.am
3380if test -z "$CTAGS"; then
3381  CTAGS=ctags
3382fi
3383
3384if test -z "$ETAGS"; then
3385  ETAGS=etags
3386fi
3387
3388if test -z "$CSCOPE"; then
3389  CSCOPE=cscope
3390fi
3391
3392
3393
3394# POSIX will say in a future version that running "rm -f" with no argument
3395# is OK; and we want to be able to make that assumption in our Makefile
3396# recipes.  So use an aggressive probe to check that the usage we want is
3397# actually supported "in the wild" to an acceptable degree.
3398# See automake bug#10828.
3399# To make any issue more visible, cause the running configure to be aborted
3400# by default if the 'rm' program in use doesn't match our expectations; the
3401# user can still override this though.
3402if rm -f && rm -fr && rm -rf; then : OK; else
3403  cat >&2 <<'END'
3404Oops!
3405
3406Your 'rm' program seems unable to run without file operands specified
3407on the command line, even when the '-f' option is present.  This is contrary
3408to the behaviour of most rm programs out there, and not conforming with
3409the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3410
3411Please tell bug-automake@gnu.org about your system, including the value
3412of your $PATH and any error possibly output before this message.  This
3413can help us improve future automake versions.
3414
3415END
3416  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3417    echo 'Configuration will proceed anyway, since you have set the' >&2
3418    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3419    echo >&2
3420  else
3421    cat >&2 <<'END'
3422Aborting the configuration process, to ensure you take notice of the issue.
3423
3424You can download and install GNU coreutils to get an 'rm' implementation
3425that behaves properly: <https://www.gnu.org/software/coreutils/>.
3426
3427If you want to complete the configuration process using your problematic
3428'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3429to "yes", and re-run configure.
3430
3431END
3432    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3433  fi
3434fi
3435
3436
3437{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3438printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3439    # Check whether --enable-maintainer-mode was given.
3440if test ${enable_maintainer_mode+y}
3441then :
3442  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3443else $as_nop
3444  USE_MAINTAINER_MODE=yes
3445fi
3446
3447  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3448printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3449   if test $USE_MAINTAINER_MODE = yes; then
3450  MAINTAINER_MODE_TRUE=
3451  MAINTAINER_MODE_FALSE='#'
3452else
3453  MAINTAINER_MODE_TRUE='#'
3454  MAINTAINER_MODE_FALSE=
3455fi
3456
3457  MAINT=$MAINTAINER_MODE_TRUE
3458
3459
3460
3461
3462
3463  # Make sure we can run config.sub.
3464$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3465  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3466
3467{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3468printf %s "checking build system type... " >&6; }
3469if test ${ac_cv_build+y}
3470then :
3471  printf %s "(cached) " >&6
3472else $as_nop
3473  ac_build_alias=$build_alias
3474test "x$ac_build_alias" = x &&
3475  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3476test "x$ac_build_alias" = x &&
3477  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3478ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3479  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3480
3481fi
3482{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3483printf "%s\n" "$ac_cv_build" >&6; }
3484case $ac_cv_build in
3485*-*-*) ;;
3486*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3487esac
3488build=$ac_cv_build
3489ac_save_IFS=$IFS; IFS='-'
3490set x $ac_cv_build
3491shift
3492build_cpu=$1
3493build_vendor=$2
3494shift; shift
3495# Remember, the first character of IFS is used to create $*,
3496# except with old shells:
3497build_os=$*
3498IFS=$ac_save_IFS
3499case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3500
3501
3502{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3503printf %s "checking host system type... " >&6; }
3504if test ${ac_cv_host+y}
3505then :
3506  printf %s "(cached) " >&6
3507else $as_nop
3508  if test "x$host_alias" = x; then
3509  ac_cv_host=$ac_cv_build
3510else
3511  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3512    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3513fi
3514
3515fi
3516{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3517printf "%s\n" "$ac_cv_host" >&6; }
3518case $ac_cv_host in
3519*-*-*) ;;
3520*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3521esac
3522host=$ac_cv_host
3523ac_save_IFS=$IFS; IFS='-'
3524set x $ac_cv_host
3525shift
3526host_cpu=$1
3527host_vendor=$2
3528shift; shift
3529# Remember, the first character of IFS is used to create $*,
3530# except with old shells:
3531host_os=$*
3532IFS=$ac_save_IFS
3533case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3534
3535
3536enable_win32_dll=yes
3537
3538case $host in
3539*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3540  if test -n "$ac_tool_prefix"; then
3541  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3542set dummy ${ac_tool_prefix}as; ac_word=$2
3543{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544printf %s "checking for $ac_word... " >&6; }
3545if test ${ac_cv_prog_AS+y}
3546then :
3547  printf %s "(cached) " >&6
3548else $as_nop
3549  if test -n "$AS"; then
3550  ac_cv_prog_AS="$AS" # Let the user override the test.
3551else
3552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553for as_dir in $PATH
3554do
3555  IFS=$as_save_IFS
3556  case $as_dir in #(((
3557    '') as_dir=./ ;;
3558    */) ;;
3559    *) as_dir=$as_dir/ ;;
3560  esac
3561    for ac_exec_ext in '' $ac_executable_extensions; do
3562  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3563    ac_cv_prog_AS="${ac_tool_prefix}as"
3564    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3565    break 2
3566  fi
3567done
3568  done
3569IFS=$as_save_IFS
3570
3571fi
3572fi
3573AS=$ac_cv_prog_AS
3574if test -n "$AS"; then
3575  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3576printf "%s\n" "$AS" >&6; }
3577else
3578  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579printf "%s\n" "no" >&6; }
3580fi
3581
3582
3583fi
3584if test -z "$ac_cv_prog_AS"; then
3585  ac_ct_AS=$AS
3586  # Extract the first word of "as", so it can be a program name with args.
3587set dummy as; ac_word=$2
3588{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589printf %s "checking for $ac_word... " >&6; }
3590if test ${ac_cv_prog_ac_ct_AS+y}
3591then :
3592  printf %s "(cached) " >&6
3593else $as_nop
3594  if test -n "$ac_ct_AS"; then
3595  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3596else
3597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598for as_dir in $PATH
3599do
3600  IFS=$as_save_IFS
3601  case $as_dir in #(((
3602    '') as_dir=./ ;;
3603    */) ;;
3604    *) as_dir=$as_dir/ ;;
3605  esac
3606    for ac_exec_ext in '' $ac_executable_extensions; do
3607  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3608    ac_cv_prog_ac_ct_AS="as"
3609    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3610    break 2
3611  fi
3612done
3613  done
3614IFS=$as_save_IFS
3615
3616fi
3617fi
3618ac_ct_AS=$ac_cv_prog_ac_ct_AS
3619if test -n "$ac_ct_AS"; then
3620  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3621printf "%s\n" "$ac_ct_AS" >&6; }
3622else
3623  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624printf "%s\n" "no" >&6; }
3625fi
3626
3627  if test "x$ac_ct_AS" = x; then
3628    AS="false"
3629  else
3630    case $cross_compiling:$ac_tool_warned in
3631yes:)
3632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3633printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3634ac_tool_warned=yes ;;
3635esac
3636    AS=$ac_ct_AS
3637  fi
3638else
3639  AS="$ac_cv_prog_AS"
3640fi
3641
3642  if test -n "$ac_tool_prefix"; then
3643  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3644set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3645{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646printf %s "checking for $ac_word... " >&6; }
3647if test ${ac_cv_prog_DLLTOOL+y}
3648then :
3649  printf %s "(cached) " >&6
3650else $as_nop
3651  if test -n "$DLLTOOL"; then
3652  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3653else
3654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655for as_dir in $PATH
3656do
3657  IFS=$as_save_IFS
3658  case $as_dir in #(((
3659    '') as_dir=./ ;;
3660    */) ;;
3661    *) as_dir=$as_dir/ ;;
3662  esac
3663    for ac_exec_ext in '' $ac_executable_extensions; do
3664  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3665    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3666    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3667    break 2
3668  fi
3669done
3670  done
3671IFS=$as_save_IFS
3672
3673fi
3674fi
3675DLLTOOL=$ac_cv_prog_DLLTOOL
3676if test -n "$DLLTOOL"; then
3677  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3678printf "%s\n" "$DLLTOOL" >&6; }
3679else
3680  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681printf "%s\n" "no" >&6; }
3682fi
3683
3684
3685fi
3686if test -z "$ac_cv_prog_DLLTOOL"; then
3687  ac_ct_DLLTOOL=$DLLTOOL
3688  # Extract the first word of "dlltool", so it can be a program name with args.
3689set dummy dlltool; ac_word=$2
3690{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691printf %s "checking for $ac_word... " >&6; }
3692if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
3693then :
3694  printf %s "(cached) " >&6
3695else $as_nop
3696  if test -n "$ac_ct_DLLTOOL"; then
3697  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3698else
3699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700for as_dir in $PATH
3701do
3702  IFS=$as_save_IFS
3703  case $as_dir in #(((
3704    '') as_dir=./ ;;
3705    */) ;;
3706    *) as_dir=$as_dir/ ;;
3707  esac
3708    for ac_exec_ext in '' $ac_executable_extensions; do
3709  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3710    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3711    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3712    break 2
3713  fi
3714done
3715  done
3716IFS=$as_save_IFS
3717
3718fi
3719fi
3720ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3721if test -n "$ac_ct_DLLTOOL"; then
3722  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3723printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
3724else
3725  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726printf "%s\n" "no" >&6; }
3727fi
3728
3729  if test "x$ac_ct_DLLTOOL" = x; then
3730    DLLTOOL="false"
3731  else
3732    case $cross_compiling:$ac_tool_warned in
3733yes:)
3734{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3735printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3736ac_tool_warned=yes ;;
3737esac
3738    DLLTOOL=$ac_ct_DLLTOOL
3739  fi
3740else
3741  DLLTOOL="$ac_cv_prog_DLLTOOL"
3742fi
3743
3744  if test -n "$ac_tool_prefix"; then
3745  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3746set dummy ${ac_tool_prefix}objdump; ac_word=$2
3747{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748printf %s "checking for $ac_word... " >&6; }
3749if test ${ac_cv_prog_OBJDUMP+y}
3750then :
3751  printf %s "(cached) " >&6
3752else $as_nop
3753  if test -n "$OBJDUMP"; then
3754  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3755else
3756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757for as_dir in $PATH
3758do
3759  IFS=$as_save_IFS
3760  case $as_dir in #(((
3761    '') as_dir=./ ;;
3762    */) ;;
3763    *) as_dir=$as_dir/ ;;
3764  esac
3765    for ac_exec_ext in '' $ac_executable_extensions; do
3766  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3767    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3768    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3769    break 2
3770  fi
3771done
3772  done
3773IFS=$as_save_IFS
3774
3775fi
3776fi
3777OBJDUMP=$ac_cv_prog_OBJDUMP
3778if test -n "$OBJDUMP"; then
3779  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3780printf "%s\n" "$OBJDUMP" >&6; }
3781else
3782  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783printf "%s\n" "no" >&6; }
3784fi
3785
3786
3787fi
3788if test -z "$ac_cv_prog_OBJDUMP"; then
3789  ac_ct_OBJDUMP=$OBJDUMP
3790  # Extract the first word of "objdump", so it can be a program name with args.
3791set dummy objdump; ac_word=$2
3792{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793printf %s "checking for $ac_word... " >&6; }
3794if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
3795then :
3796  printf %s "(cached) " >&6
3797else $as_nop
3798  if test -n "$ac_ct_OBJDUMP"; then
3799  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3800else
3801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802for as_dir in $PATH
3803do
3804  IFS=$as_save_IFS
3805  case $as_dir in #(((
3806    '') as_dir=./ ;;
3807    */) ;;
3808    *) as_dir=$as_dir/ ;;
3809  esac
3810    for ac_exec_ext in '' $ac_executable_extensions; do
3811  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3812    ac_cv_prog_ac_ct_OBJDUMP="objdump"
3813    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3814    break 2
3815  fi
3816done
3817  done
3818IFS=$as_save_IFS
3819
3820fi
3821fi
3822ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3823if test -n "$ac_ct_OBJDUMP"; then
3824  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3825printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
3826else
3827  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828printf "%s\n" "no" >&6; }
3829fi
3830
3831  if test "x$ac_ct_OBJDUMP" = x; then
3832    OBJDUMP="false"
3833  else
3834    case $cross_compiling:$ac_tool_warned in
3835yes:)
3836{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838ac_tool_warned=yes ;;
3839esac
3840    OBJDUMP=$ac_ct_OBJDUMP
3841  fi
3842else
3843  OBJDUMP="$ac_cv_prog_OBJDUMP"
3844fi
3845
3846  ;;
3847esac
3848
3849test -z "$AS" && AS=as
3850
3851
3852
3853
3854
3855test -z "$DLLTOOL" && DLLTOOL=dlltool
3856
3857
3858
3859
3860
3861test -z "$OBJDUMP" && OBJDUMP=objdump
3862
3863
3864
3865
3866
3867case `pwd` in
3868  *\ * | *\	*)
3869    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3870printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3871esac
3872
3873
3874
3875macro_version='2.4.7'
3876macro_revision='2.4.7'
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891ltmain=$ac_aux_dir/ltmain.sh
3892
3893# Backslashify metacharacters that are still active within
3894# double-quoted strings.
3895sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3896
3897# Same as above, but do not quote variable references.
3898double_quote_subst='s/\(["`\\]\)/\\\1/g'
3899
3900# Sed substitution to delay expansion of an escaped shell variable in a
3901# double_quote_subst'ed string.
3902delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3903
3904# Sed substitution to delay expansion of an escaped single quote.
3905delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3906
3907# Sed substitution to avoid accidental globbing in evaled expressions
3908no_glob_subst='s/\*/\\\*/g'
3909
3910ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3911ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3912ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3913
3914{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3915printf %s "checking how to print strings... " >&6; }
3916# Test print first, because it will be a builtin if present.
3917if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3918   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3919  ECHO='print -r --'
3920elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3921  ECHO='printf %s\n'
3922else
3923  # Use this function as a fallback that always works.
3924  func_fallback_echo ()
3925  {
3926    eval 'cat <<_LTECHO_EOF
3927$1
3928_LTECHO_EOF'
3929  }
3930  ECHO='func_fallback_echo'
3931fi
3932
3933# func_echo_all arg...
3934# Invoke $ECHO with all args, space-separated.
3935func_echo_all ()
3936{
3937    $ECHO ""
3938}
3939
3940case $ECHO in
3941  printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3942printf "%s\n" "printf" >&6; } ;;
3943  print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3944printf "%s\n" "print -r" >&6; } ;;
3945  *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3946printf "%s\n" "cat" >&6; } ;;
3947esac
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971DEPDIR="${am__leading_dot}deps"
3972
3973ac_config_commands="$ac_config_commands depfiles"
3974
3975{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3976printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3977cat > confinc.mk << 'END'
3978am__doit:
3979	@echo this is the am__doit target >confinc.out
3980.PHONY: am__doit
3981END
3982am__include="#"
3983am__quote=
3984# BSD make does it like this.
3985echo '.include "confinc.mk" # ignored' > confmf.BSD
3986# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3987echo 'include confinc.mk # ignored' > confmf.GNU
3988_am_result=no
3989for s in GNU BSD; do
3990  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3991   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3992   ac_status=$?
3993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994   (exit $ac_status); }
3995  case $?:`cat confinc.out 2>/dev/null` in #(
3996  '0:this is the am__doit target') :
3997    case $s in #(
3998  BSD) :
3999    am__include='.include' am__quote='"' ;; #(
4000  *) :
4001    am__include='include' am__quote='' ;;
4002esac ;; #(
4003  *) :
4004     ;;
4005esac
4006  if test "$am__include" != "#"; then
4007    _am_result="yes ($s style)"
4008    break
4009  fi
4010done
4011rm -f confinc.* confmf.*
4012{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4013printf "%s\n" "${_am_result}" >&6; }
4014
4015# Check whether --enable-dependency-tracking was given.
4016if test ${enable_dependency_tracking+y}
4017then :
4018  enableval=$enable_dependency_tracking;
4019fi
4020
4021if test "x$enable_dependency_tracking" != xno; then
4022  am_depcomp="$ac_aux_dir/depcomp"
4023  AMDEPBACKSLASH='\'
4024  am__nodep='_no'
4025fi
4026 if test "x$enable_dependency_tracking" != xno; then
4027  AMDEP_TRUE=
4028  AMDEP_FALSE='#'
4029else
4030  AMDEP_TRUE='#'
4031  AMDEP_FALSE=
4032fi
4033
4034
4035ac_ext=c
4036ac_cpp='$CPP $CPPFLAGS'
4037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039ac_compiler_gnu=$ac_cv_c_compiler_gnu
4040if test -n "$ac_tool_prefix"; then
4041  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4042set dummy ${ac_tool_prefix}gcc; ac_word=$2
4043{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044printf %s "checking for $ac_word... " >&6; }
4045if test ${ac_cv_prog_CC+y}
4046then :
4047  printf %s "(cached) " >&6
4048else $as_nop
4049  if test -n "$CC"; then
4050  ac_cv_prog_CC="$CC" # Let the user override the test.
4051else
4052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053for as_dir in $PATH
4054do
4055  IFS=$as_save_IFS
4056  case $as_dir in #(((
4057    '') as_dir=./ ;;
4058    */) ;;
4059    *) as_dir=$as_dir/ ;;
4060  esac
4061    for ac_exec_ext in '' $ac_executable_extensions; do
4062  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4063    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4064    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4065    break 2
4066  fi
4067done
4068  done
4069IFS=$as_save_IFS
4070
4071fi
4072fi
4073CC=$ac_cv_prog_CC
4074if test -n "$CC"; then
4075  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076printf "%s\n" "$CC" >&6; }
4077else
4078  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079printf "%s\n" "no" >&6; }
4080fi
4081
4082
4083fi
4084if test -z "$ac_cv_prog_CC"; then
4085  ac_ct_CC=$CC
4086  # Extract the first word of "gcc", so it can be a program name with args.
4087set dummy gcc; ac_word=$2
4088{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4089printf %s "checking for $ac_word... " >&6; }
4090if test ${ac_cv_prog_ac_ct_CC+y}
4091then :
4092  printf %s "(cached) " >&6
4093else $as_nop
4094  if test -n "$ac_ct_CC"; then
4095  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4096else
4097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098for as_dir in $PATH
4099do
4100  IFS=$as_save_IFS
4101  case $as_dir in #(((
4102    '') as_dir=./ ;;
4103    */) ;;
4104    *) as_dir=$as_dir/ ;;
4105  esac
4106    for ac_exec_ext in '' $ac_executable_extensions; do
4107  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4108    ac_cv_prog_ac_ct_CC="gcc"
4109    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4110    break 2
4111  fi
4112done
4113  done
4114IFS=$as_save_IFS
4115
4116fi
4117fi
4118ac_ct_CC=$ac_cv_prog_ac_ct_CC
4119if test -n "$ac_ct_CC"; then
4120  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4121printf "%s\n" "$ac_ct_CC" >&6; }
4122else
4123  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124printf "%s\n" "no" >&6; }
4125fi
4126
4127  if test "x$ac_ct_CC" = x; then
4128    CC=""
4129  else
4130    case $cross_compiling:$ac_tool_warned in
4131yes:)
4132{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4133printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4134ac_tool_warned=yes ;;
4135esac
4136    CC=$ac_ct_CC
4137  fi
4138else
4139  CC="$ac_cv_prog_CC"
4140fi
4141
4142if test -z "$CC"; then
4143          if test -n "$ac_tool_prefix"; then
4144    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4145set dummy ${ac_tool_prefix}cc; ac_word=$2
4146{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147printf %s "checking for $ac_word... " >&6; }
4148if test ${ac_cv_prog_CC+y}
4149then :
4150  printf %s "(cached) " >&6
4151else $as_nop
4152  if test -n "$CC"; then
4153  ac_cv_prog_CC="$CC" # Let the user override the test.
4154else
4155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156for as_dir in $PATH
4157do
4158  IFS=$as_save_IFS
4159  case $as_dir in #(((
4160    '') as_dir=./ ;;
4161    */) ;;
4162    *) as_dir=$as_dir/ ;;
4163  esac
4164    for ac_exec_ext in '' $ac_executable_extensions; do
4165  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4166    ac_cv_prog_CC="${ac_tool_prefix}cc"
4167    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4168    break 2
4169  fi
4170done
4171  done
4172IFS=$as_save_IFS
4173
4174fi
4175fi
4176CC=$ac_cv_prog_CC
4177if test -n "$CC"; then
4178  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4179printf "%s\n" "$CC" >&6; }
4180else
4181  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182printf "%s\n" "no" >&6; }
4183fi
4184
4185
4186  fi
4187fi
4188if test -z "$CC"; then
4189  # Extract the first word of "cc", so it can be a program name with args.
4190set dummy cc; ac_word=$2
4191{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192printf %s "checking for $ac_word... " >&6; }
4193if test ${ac_cv_prog_CC+y}
4194then :
4195  printf %s "(cached) " >&6
4196else $as_nop
4197  if test -n "$CC"; then
4198  ac_cv_prog_CC="$CC" # Let the user override the test.
4199else
4200  ac_prog_rejected=no
4201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202for as_dir in $PATH
4203do
4204  IFS=$as_save_IFS
4205  case $as_dir in #(((
4206    '') as_dir=./ ;;
4207    */) ;;
4208    *) as_dir=$as_dir/ ;;
4209  esac
4210    for ac_exec_ext in '' $ac_executable_extensions; do
4211  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4212    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4213       ac_prog_rejected=yes
4214       continue
4215     fi
4216    ac_cv_prog_CC="cc"
4217    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4218    break 2
4219  fi
4220done
4221  done
4222IFS=$as_save_IFS
4223
4224if test $ac_prog_rejected = yes; then
4225  # We found a bogon in the path, so make sure we never use it.
4226  set dummy $ac_cv_prog_CC
4227  shift
4228  if test $# != 0; then
4229    # We chose a different compiler from the bogus one.
4230    # However, it has the same basename, so the bogon will be chosen
4231    # first if we set CC to just the basename; use the full file name.
4232    shift
4233    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4234  fi
4235fi
4236fi
4237fi
4238CC=$ac_cv_prog_CC
4239if test -n "$CC"; then
4240  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4241printf "%s\n" "$CC" >&6; }
4242else
4243  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244printf "%s\n" "no" >&6; }
4245fi
4246
4247
4248fi
4249if test -z "$CC"; then
4250  if test -n "$ac_tool_prefix"; then
4251  for ac_prog in cl.exe
4252  do
4253    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4254set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4255{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256printf %s "checking for $ac_word... " >&6; }
4257if test ${ac_cv_prog_CC+y}
4258then :
4259  printf %s "(cached) " >&6
4260else $as_nop
4261  if test -n "$CC"; then
4262  ac_cv_prog_CC="$CC" # Let the user override the test.
4263else
4264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265for as_dir in $PATH
4266do
4267  IFS=$as_save_IFS
4268  case $as_dir in #(((
4269    '') as_dir=./ ;;
4270    */) ;;
4271    *) as_dir=$as_dir/ ;;
4272  esac
4273    for ac_exec_ext in '' $ac_executable_extensions; do
4274  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4275    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4276    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4277    break 2
4278  fi
4279done
4280  done
4281IFS=$as_save_IFS
4282
4283fi
4284fi
4285CC=$ac_cv_prog_CC
4286if test -n "$CC"; then
4287  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288printf "%s\n" "$CC" >&6; }
4289else
4290  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291printf "%s\n" "no" >&6; }
4292fi
4293
4294
4295    test -n "$CC" && break
4296  done
4297fi
4298if test -z "$CC"; then
4299  ac_ct_CC=$CC
4300  for ac_prog in cl.exe
4301do
4302  # Extract the first word of "$ac_prog", so it can be a program name with args.
4303set dummy $ac_prog; ac_word=$2
4304{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305printf %s "checking for $ac_word... " >&6; }
4306if test ${ac_cv_prog_ac_ct_CC+y}
4307then :
4308  printf %s "(cached) " >&6
4309else $as_nop
4310  if test -n "$ac_ct_CC"; then
4311  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4312else
4313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314for as_dir in $PATH
4315do
4316  IFS=$as_save_IFS
4317  case $as_dir in #(((
4318    '') as_dir=./ ;;
4319    */) ;;
4320    *) as_dir=$as_dir/ ;;
4321  esac
4322    for ac_exec_ext in '' $ac_executable_extensions; do
4323  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4324    ac_cv_prog_ac_ct_CC="$ac_prog"
4325    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4326    break 2
4327  fi
4328done
4329  done
4330IFS=$as_save_IFS
4331
4332fi
4333fi
4334ac_ct_CC=$ac_cv_prog_ac_ct_CC
4335if test -n "$ac_ct_CC"; then
4336  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4337printf "%s\n" "$ac_ct_CC" >&6; }
4338else
4339  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340printf "%s\n" "no" >&6; }
4341fi
4342
4343
4344  test -n "$ac_ct_CC" && break
4345done
4346
4347  if test "x$ac_ct_CC" = x; then
4348    CC=""
4349  else
4350    case $cross_compiling:$ac_tool_warned in
4351yes:)
4352{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4353printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4354ac_tool_warned=yes ;;
4355esac
4356    CC=$ac_ct_CC
4357  fi
4358fi
4359
4360fi
4361if test -z "$CC"; then
4362  if test -n "$ac_tool_prefix"; then
4363  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4364set dummy ${ac_tool_prefix}clang; ac_word=$2
4365{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366printf %s "checking for $ac_word... " >&6; }
4367if test ${ac_cv_prog_CC+y}
4368then :
4369  printf %s "(cached) " >&6
4370else $as_nop
4371  if test -n "$CC"; then
4372  ac_cv_prog_CC="$CC" # Let the user override the test.
4373else
4374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375for as_dir in $PATH
4376do
4377  IFS=$as_save_IFS
4378  case $as_dir in #(((
4379    '') as_dir=./ ;;
4380    */) ;;
4381    *) as_dir=$as_dir/ ;;
4382  esac
4383    for ac_exec_ext in '' $ac_executable_extensions; do
4384  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4385    ac_cv_prog_CC="${ac_tool_prefix}clang"
4386    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4387    break 2
4388  fi
4389done
4390  done
4391IFS=$as_save_IFS
4392
4393fi
4394fi
4395CC=$ac_cv_prog_CC
4396if test -n "$CC"; then
4397  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4398printf "%s\n" "$CC" >&6; }
4399else
4400  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401printf "%s\n" "no" >&6; }
4402fi
4403
4404
4405fi
4406if test -z "$ac_cv_prog_CC"; then
4407  ac_ct_CC=$CC
4408  # Extract the first word of "clang", so it can be a program name with args.
4409set dummy clang; ac_word=$2
4410{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411printf %s "checking for $ac_word... " >&6; }
4412if test ${ac_cv_prog_ac_ct_CC+y}
4413then :
4414  printf %s "(cached) " >&6
4415else $as_nop
4416  if test -n "$ac_ct_CC"; then
4417  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4418else
4419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420for as_dir in $PATH
4421do
4422  IFS=$as_save_IFS
4423  case $as_dir in #(((
4424    '') as_dir=./ ;;
4425    */) ;;
4426    *) as_dir=$as_dir/ ;;
4427  esac
4428    for ac_exec_ext in '' $ac_executable_extensions; do
4429  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4430    ac_cv_prog_ac_ct_CC="clang"
4431    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4432    break 2
4433  fi
4434done
4435  done
4436IFS=$as_save_IFS
4437
4438fi
4439fi
4440ac_ct_CC=$ac_cv_prog_ac_ct_CC
4441if test -n "$ac_ct_CC"; then
4442  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4443printf "%s\n" "$ac_ct_CC" >&6; }
4444else
4445  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446printf "%s\n" "no" >&6; }
4447fi
4448
4449  if test "x$ac_ct_CC" = x; then
4450    CC=""
4451  else
4452    case $cross_compiling:$ac_tool_warned in
4453yes:)
4454{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4455printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4456ac_tool_warned=yes ;;
4457esac
4458    CC=$ac_ct_CC
4459  fi
4460else
4461  CC="$ac_cv_prog_CC"
4462fi
4463
4464fi
4465
4466
4467test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4468printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4469as_fn_error $? "no acceptable C compiler found in \$PATH
4470See \`config.log' for more details" "$LINENO" 5; }
4471
4472# Provide some information about the compiler.
4473printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4474set X $ac_compile
4475ac_compiler=$2
4476for ac_option in --version -v -V -qversion -version; do
4477  { { ac_try="$ac_compiler $ac_option >&5"
4478case "(($ac_try" in
4479  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480  *) ac_try_echo=$ac_try;;
4481esac
4482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483printf "%s\n" "$ac_try_echo"; } >&5
4484  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4485  ac_status=$?
4486  if test -s conftest.err; then
4487    sed '10a\
4488... rest of stderr output deleted ...
4489         10q' conftest.err >conftest.er1
4490    cat conftest.er1 >&5
4491  fi
4492  rm -f conftest.er1 conftest.err
4493  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494  test $ac_status = 0; }
4495done
4496
4497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498/* end confdefs.h.  */
4499
4500int
4501main (void)
4502{
4503
4504  ;
4505  return 0;
4506}
4507_ACEOF
4508ac_clean_files_save=$ac_clean_files
4509ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4510# Try to create an executable without -o first, disregard a.out.
4511# It will help us diagnose broken compilers, and finding out an intuition
4512# of exeext.
4513{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4514printf %s "checking whether the C compiler works... " >&6; }
4515ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4516
4517# The possible output files:
4518ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4519
4520ac_rmfiles=
4521for ac_file in $ac_files
4522do
4523  case $ac_file in
4524    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4525    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4526  esac
4527done
4528rm -f $ac_rmfiles
4529
4530if { { ac_try="$ac_link_default"
4531case "(($ac_try" in
4532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533  *) ac_try_echo=$ac_try;;
4534esac
4535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536printf "%s\n" "$ac_try_echo"; } >&5
4537  (eval "$ac_link_default") 2>&5
4538  ac_status=$?
4539  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540  test $ac_status = 0; }
4541then :
4542  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4543# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4544# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4545# so that the user can short-circuit this test for compilers unknown to
4546# Autoconf.
4547for ac_file in $ac_files ''
4548do
4549  test -f "$ac_file" || continue
4550  case $ac_file in
4551    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4552	;;
4553    [ab].out )
4554	# We found the default executable, but exeext='' is most
4555	# certainly right.
4556	break;;
4557    *.* )
4558	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4559	then :; else
4560	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4561	fi
4562	# We set ac_cv_exeext here because the later test for it is not
4563	# safe: cross compilers may not add the suffix if given an `-o'
4564	# argument, so we may need to know it at that point already.
4565	# Even if this section looks crufty: it has the advantage of
4566	# actually working.
4567	break;;
4568    * )
4569	break;;
4570  esac
4571done
4572test "$ac_cv_exeext" = no && ac_cv_exeext=
4573
4574else $as_nop
4575  ac_file=''
4576fi
4577if test -z "$ac_file"
4578then :
4579  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580printf "%s\n" "no" >&6; }
4581printf "%s\n" "$as_me: failed program was:" >&5
4582sed 's/^/| /' conftest.$ac_ext >&5
4583
4584{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4586as_fn_error 77 "C compiler cannot create executables
4587See \`config.log' for more details" "$LINENO" 5; }
4588else $as_nop
4589  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590printf "%s\n" "yes" >&6; }
4591fi
4592{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4593printf %s "checking for C compiler default output file name... " >&6; }
4594{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4595printf "%s\n" "$ac_file" >&6; }
4596ac_exeext=$ac_cv_exeext
4597
4598rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4599ac_clean_files=$ac_clean_files_save
4600{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4601printf %s "checking for suffix of executables... " >&6; }
4602if { { ac_try="$ac_link"
4603case "(($ac_try" in
4604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605  *) ac_try_echo=$ac_try;;
4606esac
4607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608printf "%s\n" "$ac_try_echo"; } >&5
4609  (eval "$ac_link") 2>&5
4610  ac_status=$?
4611  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612  test $ac_status = 0; }
4613then :
4614  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4615# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4616# work properly (i.e., refer to `conftest.exe'), while it won't with
4617# `rm'.
4618for ac_file in conftest.exe conftest conftest.*; do
4619  test -f "$ac_file" || continue
4620  case $ac_file in
4621    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4622    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4623	  break;;
4624    * ) break;;
4625  esac
4626done
4627else $as_nop
4628  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4629printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4630as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4631See \`config.log' for more details" "$LINENO" 5; }
4632fi
4633rm -f conftest conftest$ac_cv_exeext
4634{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4635printf "%s\n" "$ac_cv_exeext" >&6; }
4636
4637rm -f conftest.$ac_ext
4638EXEEXT=$ac_cv_exeext
4639ac_exeext=$EXEEXT
4640cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641/* end confdefs.h.  */
4642#include <stdio.h>
4643int
4644main (void)
4645{
4646FILE *f = fopen ("conftest.out", "w");
4647 return ferror (f) || fclose (f) != 0;
4648
4649  ;
4650  return 0;
4651}
4652_ACEOF
4653ac_clean_files="$ac_clean_files conftest.out"
4654# Check that the compiler produces executables we can run.  If not, either
4655# the compiler is broken, or we cross compile.
4656{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4657printf %s "checking whether we are cross compiling... " >&6; }
4658if test "$cross_compiling" != yes; then
4659  { { ac_try="$ac_link"
4660case "(($ac_try" in
4661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662  *) ac_try_echo=$ac_try;;
4663esac
4664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4665printf "%s\n" "$ac_try_echo"; } >&5
4666  (eval "$ac_link") 2>&5
4667  ac_status=$?
4668  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4669  test $ac_status = 0; }
4670  if { ac_try='./conftest$ac_cv_exeext'
4671  { { case "(($ac_try" in
4672  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673  *) ac_try_echo=$ac_try;;
4674esac
4675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4676printf "%s\n" "$ac_try_echo"; } >&5
4677  (eval "$ac_try") 2>&5
4678  ac_status=$?
4679  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4680  test $ac_status = 0; }; }; then
4681    cross_compiling=no
4682  else
4683    if test "$cross_compiling" = maybe; then
4684	cross_compiling=yes
4685    else
4686	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4687printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4688as_fn_error 77 "cannot run C compiled programs.
4689If you meant to cross compile, use \`--host'.
4690See \`config.log' for more details" "$LINENO" 5; }
4691    fi
4692  fi
4693fi
4694{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4695printf "%s\n" "$cross_compiling" >&6; }
4696
4697rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4698ac_clean_files=$ac_clean_files_save
4699{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4700printf %s "checking for suffix of object files... " >&6; }
4701if test ${ac_cv_objext+y}
4702then :
4703  printf %s "(cached) " >&6
4704else $as_nop
4705  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706/* end confdefs.h.  */
4707
4708int
4709main (void)
4710{
4711
4712  ;
4713  return 0;
4714}
4715_ACEOF
4716rm -f conftest.o conftest.obj
4717if { { ac_try="$ac_compile"
4718case "(($ac_try" in
4719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720  *) ac_try_echo=$ac_try;;
4721esac
4722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4723printf "%s\n" "$ac_try_echo"; } >&5
4724  (eval "$ac_compile") 2>&5
4725  ac_status=$?
4726  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727  test $ac_status = 0; }
4728then :
4729  for ac_file in conftest.o conftest.obj conftest.*; do
4730  test -f "$ac_file" || continue;
4731  case $ac_file in
4732    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4733    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4734       break;;
4735  esac
4736done
4737else $as_nop
4738  printf "%s\n" "$as_me: failed program was:" >&5
4739sed 's/^/| /' conftest.$ac_ext >&5
4740
4741{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4743as_fn_error $? "cannot compute suffix of object files: cannot compile
4744See \`config.log' for more details" "$LINENO" 5; }
4745fi
4746rm -f conftest.$ac_cv_objext conftest.$ac_ext
4747fi
4748{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4749printf "%s\n" "$ac_cv_objext" >&6; }
4750OBJEXT=$ac_cv_objext
4751ac_objext=$OBJEXT
4752{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4753printf %s "checking whether the compiler supports GNU C... " >&6; }
4754if test ${ac_cv_c_compiler_gnu+y}
4755then :
4756  printf %s "(cached) " >&6
4757else $as_nop
4758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759/* end confdefs.h.  */
4760
4761int
4762main (void)
4763{
4764#ifndef __GNUC__
4765       choke me
4766#endif
4767
4768  ;
4769  return 0;
4770}
4771_ACEOF
4772if ac_fn_c_try_compile "$LINENO"
4773then :
4774  ac_compiler_gnu=yes
4775else $as_nop
4776  ac_compiler_gnu=no
4777fi
4778rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4779ac_cv_c_compiler_gnu=$ac_compiler_gnu
4780
4781fi
4782{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4783printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4784ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785
4786if test $ac_compiler_gnu = yes; then
4787  GCC=yes
4788else
4789  GCC=
4790fi
4791ac_test_CFLAGS=${CFLAGS+y}
4792ac_save_CFLAGS=$CFLAGS
4793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4794printf %s "checking whether $CC accepts -g... " >&6; }
4795if test ${ac_cv_prog_cc_g+y}
4796then :
4797  printf %s "(cached) " >&6
4798else $as_nop
4799  ac_save_c_werror_flag=$ac_c_werror_flag
4800   ac_c_werror_flag=yes
4801   ac_cv_prog_cc_g=no
4802   CFLAGS="-g"
4803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804/* end confdefs.h.  */
4805
4806int
4807main (void)
4808{
4809
4810  ;
4811  return 0;
4812}
4813_ACEOF
4814if ac_fn_c_try_compile "$LINENO"
4815then :
4816  ac_cv_prog_cc_g=yes
4817else $as_nop
4818  CFLAGS=""
4819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820/* end confdefs.h.  */
4821
4822int
4823main (void)
4824{
4825
4826  ;
4827  return 0;
4828}
4829_ACEOF
4830if ac_fn_c_try_compile "$LINENO"
4831then :
4832
4833else $as_nop
4834  ac_c_werror_flag=$ac_save_c_werror_flag
4835	 CFLAGS="-g"
4836	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837/* end confdefs.h.  */
4838
4839int
4840main (void)
4841{
4842
4843  ;
4844  return 0;
4845}
4846_ACEOF
4847if ac_fn_c_try_compile "$LINENO"
4848then :
4849  ac_cv_prog_cc_g=yes
4850fi
4851rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4852fi
4853rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4854fi
4855rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4856   ac_c_werror_flag=$ac_save_c_werror_flag
4857fi
4858{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4859printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4860if test $ac_test_CFLAGS; then
4861  CFLAGS=$ac_save_CFLAGS
4862elif test $ac_cv_prog_cc_g = yes; then
4863  if test "$GCC" = yes; then
4864    CFLAGS="-g -O2"
4865  else
4866    CFLAGS="-g"
4867  fi
4868else
4869  if test "$GCC" = yes; then
4870    CFLAGS="-O2"
4871  else
4872    CFLAGS=
4873  fi
4874fi
4875ac_prog_cc_stdc=no
4876if test x$ac_prog_cc_stdc = xno
4877then :
4878  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4879printf %s "checking for $CC option to enable C11 features... " >&6; }
4880if test ${ac_cv_prog_cc_c11+y}
4881then :
4882  printf %s "(cached) " >&6
4883else $as_nop
4884  ac_cv_prog_cc_c11=no
4885ac_save_CC=$CC
4886cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887/* end confdefs.h.  */
4888$ac_c_conftest_c11_program
4889_ACEOF
4890for ac_arg in '' -std=gnu11
4891do
4892  CC="$ac_save_CC $ac_arg"
4893  if ac_fn_c_try_compile "$LINENO"
4894then :
4895  ac_cv_prog_cc_c11=$ac_arg
4896fi
4897rm -f core conftest.err conftest.$ac_objext conftest.beam
4898  test "x$ac_cv_prog_cc_c11" != "xno" && break
4899done
4900rm -f conftest.$ac_ext
4901CC=$ac_save_CC
4902fi
4903
4904if test "x$ac_cv_prog_cc_c11" = xno
4905then :
4906  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4907printf "%s\n" "unsupported" >&6; }
4908else $as_nop
4909  if test "x$ac_cv_prog_cc_c11" = x
4910then :
4911  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4912printf "%s\n" "none needed" >&6; }
4913else $as_nop
4914  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4915printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4916     CC="$CC $ac_cv_prog_cc_c11"
4917fi
4918  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4919  ac_prog_cc_stdc=c11
4920fi
4921fi
4922if test x$ac_prog_cc_stdc = xno
4923then :
4924  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4925printf %s "checking for $CC option to enable C99 features... " >&6; }
4926if test ${ac_cv_prog_cc_c99+y}
4927then :
4928  printf %s "(cached) " >&6
4929else $as_nop
4930  ac_cv_prog_cc_c99=no
4931ac_save_CC=$CC
4932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933/* end confdefs.h.  */
4934$ac_c_conftest_c99_program
4935_ACEOF
4936for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4937do
4938  CC="$ac_save_CC $ac_arg"
4939  if ac_fn_c_try_compile "$LINENO"
4940then :
4941  ac_cv_prog_cc_c99=$ac_arg
4942fi
4943rm -f core conftest.err conftest.$ac_objext conftest.beam
4944  test "x$ac_cv_prog_cc_c99" != "xno" && break
4945done
4946rm -f conftest.$ac_ext
4947CC=$ac_save_CC
4948fi
4949
4950if test "x$ac_cv_prog_cc_c99" = xno
4951then :
4952  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4953printf "%s\n" "unsupported" >&6; }
4954else $as_nop
4955  if test "x$ac_cv_prog_cc_c99" = x
4956then :
4957  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4958printf "%s\n" "none needed" >&6; }
4959else $as_nop
4960  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4961printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4962     CC="$CC $ac_cv_prog_cc_c99"
4963fi
4964  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4965  ac_prog_cc_stdc=c99
4966fi
4967fi
4968if test x$ac_prog_cc_stdc = xno
4969then :
4970  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4971printf %s "checking for $CC option to enable C89 features... " >&6; }
4972if test ${ac_cv_prog_cc_c89+y}
4973then :
4974  printf %s "(cached) " >&6
4975else $as_nop
4976  ac_cv_prog_cc_c89=no
4977ac_save_CC=$CC
4978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979/* end confdefs.h.  */
4980$ac_c_conftest_c89_program
4981_ACEOF
4982for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4983do
4984  CC="$ac_save_CC $ac_arg"
4985  if ac_fn_c_try_compile "$LINENO"
4986then :
4987  ac_cv_prog_cc_c89=$ac_arg
4988fi
4989rm -f core conftest.err conftest.$ac_objext conftest.beam
4990  test "x$ac_cv_prog_cc_c89" != "xno" && break
4991done
4992rm -f conftest.$ac_ext
4993CC=$ac_save_CC
4994fi
4995
4996if test "x$ac_cv_prog_cc_c89" = xno
4997then :
4998  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4999printf "%s\n" "unsupported" >&6; }
5000else $as_nop
5001  if test "x$ac_cv_prog_cc_c89" = x
5002then :
5003  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5004printf "%s\n" "none needed" >&6; }
5005else $as_nop
5006  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5007printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5008     CC="$CC $ac_cv_prog_cc_c89"
5009fi
5010  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5011  ac_prog_cc_stdc=c89
5012fi
5013fi
5014
5015ac_ext=c
5016ac_cpp='$CPP $CPPFLAGS'
5017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019ac_compiler_gnu=$ac_cv_c_compiler_gnu
5020
5021
5022  ac_ext=c
5023ac_cpp='$CPP $CPPFLAGS'
5024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026ac_compiler_gnu=$ac_cv_c_compiler_gnu
5027{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5028printf %s "checking whether $CC understands -c and -o together... " >&6; }
5029if test ${am_cv_prog_cc_c_o+y}
5030then :
5031  printf %s "(cached) " >&6
5032else $as_nop
5033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034/* end confdefs.h.  */
5035
5036int
5037main (void)
5038{
5039
5040  ;
5041  return 0;
5042}
5043_ACEOF
5044  # Make sure it works both with $CC and with simple cc.
5045  # Following AC_PROG_CC_C_O, we do the test twice because some
5046  # compilers refuse to overwrite an existing .o file with -o,
5047  # though they will create one.
5048  am_cv_prog_cc_c_o=yes
5049  for am_i in 1 2; do
5050    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5051   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5052   ac_status=$?
5053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054   (exit $ac_status); } \
5055         && test -f conftest2.$ac_objext; then
5056      : OK
5057    else
5058      am_cv_prog_cc_c_o=no
5059      break
5060    fi
5061  done
5062  rm -f core conftest*
5063  unset am_i
5064fi
5065{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5066printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5067if test "$am_cv_prog_cc_c_o" != yes; then
5068   # Losing compiler, so override with the script.
5069   # FIXME: It is wrong to rewrite CC.
5070   # But if we don't then we get into trouble of one sort or another.
5071   # A longer-term fix would be to have automake use am__CC in this case,
5072   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5073   CC="$am_aux_dir/compile $CC"
5074fi
5075ac_ext=c
5076ac_cpp='$CPP $CPPFLAGS'
5077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080
5081
5082depcc="$CC"   am_compiler_list=
5083
5084{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5085printf %s "checking dependency style of $depcc... " >&6; }
5086if test ${am_cv_CC_dependencies_compiler_type+y}
5087then :
5088  printf %s "(cached) " >&6
5089else $as_nop
5090  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5091  # We make a subdir and do the tests there.  Otherwise we can end up
5092  # making bogus files that we don't know about and never remove.  For
5093  # instance it was reported that on HP-UX the gcc test will end up
5094  # making a dummy file named 'D' -- because '-MD' means "put the output
5095  # in D".
5096  rm -rf conftest.dir
5097  mkdir conftest.dir
5098  # Copy depcomp to subdir because otherwise we won't find it if we're
5099  # using a relative directory.
5100  cp "$am_depcomp" conftest.dir
5101  cd conftest.dir
5102  # We will build objects and dependencies in a subdirectory because
5103  # it helps to detect inapplicable dependency modes.  For instance
5104  # both Tru64's cc and ICC support -MD to output dependencies as a
5105  # side effect of compilation, but ICC will put the dependencies in
5106  # the current directory while Tru64 will put them in the object
5107  # directory.
5108  mkdir sub
5109
5110  am_cv_CC_dependencies_compiler_type=none
5111  if test "$am_compiler_list" = ""; then
5112     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5113  fi
5114  am__universal=false
5115  case " $depcc " in #(
5116     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5117     esac
5118
5119  for depmode in $am_compiler_list; do
5120    # Setup a source with many dependencies, because some compilers
5121    # like to wrap large dependency lists on column 80 (with \), and
5122    # we should not choose a depcomp mode which is confused by this.
5123    #
5124    # We need to recreate these files for each test, as the compiler may
5125    # overwrite some of them when testing with obscure command lines.
5126    # This happens at least with the AIX C compiler.
5127    : > sub/conftest.c
5128    for i in 1 2 3 4 5 6; do
5129      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5130      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5131      # Solaris 10 /bin/sh.
5132      echo '/* dummy */' > sub/conftst$i.h
5133    done
5134    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5135
5136    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5137    # mode.  It turns out that the SunPro C++ compiler does not properly
5138    # handle '-M -o', and we need to detect this.  Also, some Intel
5139    # versions had trouble with output in subdirs.
5140    am__obj=sub/conftest.${OBJEXT-o}
5141    am__minus_obj="-o $am__obj"
5142    case $depmode in
5143    gcc)
5144      # This depmode causes a compiler race in universal mode.
5145      test "$am__universal" = false || continue
5146      ;;
5147    nosideeffect)
5148      # After this tag, mechanisms are not by side-effect, so they'll
5149      # only be used when explicitly requested.
5150      if test "x$enable_dependency_tracking" = xyes; then
5151	continue
5152      else
5153	break
5154      fi
5155      ;;
5156    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5157      # This compiler won't grok '-c -o', but also, the minuso test has
5158      # not run yet.  These depmodes are late enough in the game, and
5159      # so weak that their functioning should not be impacted.
5160      am__obj=conftest.${OBJEXT-o}
5161      am__minus_obj=
5162      ;;
5163    none) break ;;
5164    esac
5165    if depmode=$depmode \
5166       source=sub/conftest.c object=$am__obj \
5167       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5168       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5169         >/dev/null 2>conftest.err &&
5170       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5171       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5172       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5173       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5174      # icc doesn't choke on unknown options, it will just issue warnings
5175      # or remarks (even with -Werror).  So we grep stderr for any message
5176      # that says an option was ignored or not supported.
5177      # When given -MP, icc 7.0 and 7.1 complain thusly:
5178      #   icc: Command line warning: ignoring option '-M'; no argument required
5179      # The diagnosis changed in icc 8.0:
5180      #   icc: Command line remark: option '-MP' not supported
5181      if (grep 'ignoring option' conftest.err ||
5182          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5183        am_cv_CC_dependencies_compiler_type=$depmode
5184        break
5185      fi
5186    fi
5187  done
5188
5189  cd ..
5190  rm -rf conftest.dir
5191else
5192  am_cv_CC_dependencies_compiler_type=none
5193fi
5194
5195fi
5196{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5197printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5198CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5199
5200 if
5201  test "x$enable_dependency_tracking" != xno \
5202  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5203  am__fastdepCC_TRUE=
5204  am__fastdepCC_FALSE='#'
5205else
5206  am__fastdepCC_TRUE='#'
5207  am__fastdepCC_FALSE=
5208fi
5209
5210
5211{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5212printf %s "checking for a sed that does not truncate output... " >&6; }
5213if test ${ac_cv_path_SED+y}
5214then :
5215  printf %s "(cached) " >&6
5216else $as_nop
5217            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5218     for ac_i in 1 2 3 4 5 6 7; do
5219       ac_script="$ac_script$as_nl$ac_script"
5220     done
5221     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5222     { ac_script=; unset ac_script;}
5223     if test -z "$SED"; then
5224  ac_path_SED_found=false
5225  # Loop through the user's path and test for each of PROGNAME-LIST
5226  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227for as_dir in $PATH
5228do
5229  IFS=$as_save_IFS
5230  case $as_dir in #(((
5231    '') as_dir=./ ;;
5232    */) ;;
5233    *) as_dir=$as_dir/ ;;
5234  esac
5235    for ac_prog in sed gsed
5236   do
5237    for ac_exec_ext in '' $ac_executable_extensions; do
5238      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
5239      as_fn_executable_p "$ac_path_SED" || continue
5240# Check for GNU ac_path_SED and select it if it is found.
5241  # Check for GNU $ac_path_SED
5242case `"$ac_path_SED" --version 2>&1` in
5243*GNU*)
5244  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5245*)
5246  ac_count=0
5247  printf %s 0123456789 >"conftest.in"
5248  while :
5249  do
5250    cat "conftest.in" "conftest.in" >"conftest.tmp"
5251    mv "conftest.tmp" "conftest.in"
5252    cp "conftest.in" "conftest.nl"
5253    printf "%s\n" '' >> "conftest.nl"
5254    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5255    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5256    as_fn_arith $ac_count + 1 && ac_count=$as_val
5257    if test $ac_count -gt ${ac_path_SED_max-0}; then
5258      # Best one so far, save it but keep looking for a better one
5259      ac_cv_path_SED="$ac_path_SED"
5260      ac_path_SED_max=$ac_count
5261    fi
5262    # 10*(2^10) chars as input seems more than enough
5263    test $ac_count -gt 10 && break
5264  done
5265  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5266esac
5267
5268      $ac_path_SED_found && break 3
5269    done
5270  done
5271  done
5272IFS=$as_save_IFS
5273  if test -z "$ac_cv_path_SED"; then
5274    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5275  fi
5276else
5277  ac_cv_path_SED=$SED
5278fi
5279
5280fi
5281{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5282printf "%s\n" "$ac_cv_path_SED" >&6; }
5283 SED="$ac_cv_path_SED"
5284  rm -f conftest.sed
5285
5286test -z "$SED" && SED=sed
5287Xsed="$SED -e 1s/^X//"
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5300printf %s "checking for grep that handles long lines and -e... " >&6; }
5301if test ${ac_cv_path_GREP+y}
5302then :
5303  printf %s "(cached) " >&6
5304else $as_nop
5305  if test -z "$GREP"; then
5306  ac_path_GREP_found=false
5307  # Loop through the user's path and test for each of PROGNAME-LIST
5308  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5310do
5311  IFS=$as_save_IFS
5312  case $as_dir in #(((
5313    '') as_dir=./ ;;
5314    */) ;;
5315    *) as_dir=$as_dir/ ;;
5316  esac
5317    for ac_prog in grep ggrep
5318   do
5319    for ac_exec_ext in '' $ac_executable_extensions; do
5320      ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5321      as_fn_executable_p "$ac_path_GREP" || continue
5322# Check for GNU ac_path_GREP and select it if it is found.
5323  # Check for GNU $ac_path_GREP
5324case `"$ac_path_GREP" --version 2>&1` in
5325*GNU*)
5326  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5327*)
5328  ac_count=0
5329  printf %s 0123456789 >"conftest.in"
5330  while :
5331  do
5332    cat "conftest.in" "conftest.in" >"conftest.tmp"
5333    mv "conftest.tmp" "conftest.in"
5334    cp "conftest.in" "conftest.nl"
5335    printf "%s\n" 'GREP' >> "conftest.nl"
5336    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5337    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5338    as_fn_arith $ac_count + 1 && ac_count=$as_val
5339    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5340      # Best one so far, save it but keep looking for a better one
5341      ac_cv_path_GREP="$ac_path_GREP"
5342      ac_path_GREP_max=$ac_count
5343    fi
5344    # 10*(2^10) chars as input seems more than enough
5345    test $ac_count -gt 10 && break
5346  done
5347  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5348esac
5349
5350      $ac_path_GREP_found && break 3
5351    done
5352  done
5353  done
5354IFS=$as_save_IFS
5355  if test -z "$ac_cv_path_GREP"; then
5356    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357  fi
5358else
5359  ac_cv_path_GREP=$GREP
5360fi
5361
5362fi
5363{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5364printf "%s\n" "$ac_cv_path_GREP" >&6; }
5365 GREP="$ac_cv_path_GREP"
5366
5367
5368{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5369printf %s "checking for egrep... " >&6; }
5370if test ${ac_cv_path_EGREP+y}
5371then :
5372  printf %s "(cached) " >&6
5373else $as_nop
5374  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5375   then ac_cv_path_EGREP="$GREP -E"
5376   else
5377     if test -z "$EGREP"; then
5378  ac_path_EGREP_found=false
5379  # Loop through the user's path and test for each of PROGNAME-LIST
5380  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5382do
5383  IFS=$as_save_IFS
5384  case $as_dir in #(((
5385    '') as_dir=./ ;;
5386    */) ;;
5387    *) as_dir=$as_dir/ ;;
5388  esac
5389    for ac_prog in egrep
5390   do
5391    for ac_exec_ext in '' $ac_executable_extensions; do
5392      ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5393      as_fn_executable_p "$ac_path_EGREP" || continue
5394# Check for GNU ac_path_EGREP and select it if it is found.
5395  # Check for GNU $ac_path_EGREP
5396case `"$ac_path_EGREP" --version 2>&1` in
5397*GNU*)
5398  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5399*)
5400  ac_count=0
5401  printf %s 0123456789 >"conftest.in"
5402  while :
5403  do
5404    cat "conftest.in" "conftest.in" >"conftest.tmp"
5405    mv "conftest.tmp" "conftest.in"
5406    cp "conftest.in" "conftest.nl"
5407    printf "%s\n" 'EGREP' >> "conftest.nl"
5408    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5409    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5410    as_fn_arith $ac_count + 1 && ac_count=$as_val
5411    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5412      # Best one so far, save it but keep looking for a better one
5413      ac_cv_path_EGREP="$ac_path_EGREP"
5414      ac_path_EGREP_max=$ac_count
5415    fi
5416    # 10*(2^10) chars as input seems more than enough
5417    test $ac_count -gt 10 && break
5418  done
5419  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420esac
5421
5422      $ac_path_EGREP_found && break 3
5423    done
5424  done
5425  done
5426IFS=$as_save_IFS
5427  if test -z "$ac_cv_path_EGREP"; then
5428    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5429  fi
5430else
5431  ac_cv_path_EGREP=$EGREP
5432fi
5433
5434   fi
5435fi
5436{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5437printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5438 EGREP="$ac_cv_path_EGREP"
5439
5440
5441{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5442printf %s "checking for fgrep... " >&6; }
5443if test ${ac_cv_path_FGREP+y}
5444then :
5445  printf %s "(cached) " >&6
5446else $as_nop
5447  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5448   then ac_cv_path_FGREP="$GREP -F"
5449   else
5450     if test -z "$FGREP"; then
5451  ac_path_FGREP_found=false
5452  # Loop through the user's path and test for each of PROGNAME-LIST
5453  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5455do
5456  IFS=$as_save_IFS
5457  case $as_dir in #(((
5458    '') as_dir=./ ;;
5459    */) ;;
5460    *) as_dir=$as_dir/ ;;
5461  esac
5462    for ac_prog in fgrep
5463   do
5464    for ac_exec_ext in '' $ac_executable_extensions; do
5465      ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5466      as_fn_executable_p "$ac_path_FGREP" || continue
5467# Check for GNU ac_path_FGREP and select it if it is found.
5468  # Check for GNU $ac_path_FGREP
5469case `"$ac_path_FGREP" --version 2>&1` in
5470*GNU*)
5471  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5472*)
5473  ac_count=0
5474  printf %s 0123456789 >"conftest.in"
5475  while :
5476  do
5477    cat "conftest.in" "conftest.in" >"conftest.tmp"
5478    mv "conftest.tmp" "conftest.in"
5479    cp "conftest.in" "conftest.nl"
5480    printf "%s\n" 'FGREP' >> "conftest.nl"
5481    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5482    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5483    as_fn_arith $ac_count + 1 && ac_count=$as_val
5484    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5485      # Best one so far, save it but keep looking for a better one
5486      ac_cv_path_FGREP="$ac_path_FGREP"
5487      ac_path_FGREP_max=$ac_count
5488    fi
5489    # 10*(2^10) chars as input seems more than enough
5490    test $ac_count -gt 10 && break
5491  done
5492  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5493esac
5494
5495      $ac_path_FGREP_found && break 3
5496    done
5497  done
5498  done
5499IFS=$as_save_IFS
5500  if test -z "$ac_cv_path_FGREP"; then
5501    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5502  fi
5503else
5504  ac_cv_path_FGREP=$FGREP
5505fi
5506
5507   fi
5508fi
5509{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5510printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5511 FGREP="$ac_cv_path_FGREP"
5512
5513
5514test -z "$GREP" && GREP=grep
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534# Check whether --with-gnu-ld was given.
5535if test ${with_gnu_ld+y}
5536then :
5537  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5538else $as_nop
5539  with_gnu_ld=no
5540fi
5541
5542ac_prog=ld
5543if test yes = "$GCC"; then
5544  # Check if gcc -print-prog-name=ld gives a path.
5545  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5546printf %s "checking for ld used by $CC... " >&6; }
5547  case $host in
5548  *-*-mingw*)
5549    # gcc leaves a trailing carriage return, which upsets mingw
5550    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5551  *)
5552    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5553  esac
5554  case $ac_prog in
5555    # Accept absolute paths.
5556    [\\/]* | ?:[\\/]*)
5557      re_direlt='/[^/][^/]*/\.\./'
5558      # Canonicalize the pathname of ld
5559      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5560      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5561	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5562      done
5563      test -z "$LD" && LD=$ac_prog
5564      ;;
5565  "")
5566    # If it fails, then pretend we aren't using GCC.
5567    ac_prog=ld
5568    ;;
5569  *)
5570    # If it is relative, then search for the first ld in PATH.
5571    with_gnu_ld=unknown
5572    ;;
5573  esac
5574elif test yes = "$with_gnu_ld"; then
5575  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5576printf %s "checking for GNU ld... " >&6; }
5577else
5578  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5579printf %s "checking for non-GNU ld... " >&6; }
5580fi
5581if test ${lt_cv_path_LD+y}
5582then :
5583  printf %s "(cached) " >&6
5584else $as_nop
5585  if test -z "$LD"; then
5586  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5587  for ac_dir in $PATH; do
5588    IFS=$lt_save_ifs
5589    test -z "$ac_dir" && ac_dir=.
5590    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5591      lt_cv_path_LD=$ac_dir/$ac_prog
5592      # Check to see if the program is GNU ld.  I'd rather use --version,
5593      # but apparently some variants of GNU ld only accept -v.
5594      # Break only if it was the GNU/non-GNU ld that we prefer.
5595      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5596      *GNU* | *'with BFD'*)
5597	test no != "$with_gnu_ld" && break
5598	;;
5599      *)
5600	test yes != "$with_gnu_ld" && break
5601	;;
5602      esac
5603    fi
5604  done
5605  IFS=$lt_save_ifs
5606else
5607  lt_cv_path_LD=$LD # Let the user override the test with a path.
5608fi
5609fi
5610
5611LD=$lt_cv_path_LD
5612if test -n "$LD"; then
5613  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5614printf "%s\n" "$LD" >&6; }
5615else
5616  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617printf "%s\n" "no" >&6; }
5618fi
5619test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5620{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5621printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5622if test ${lt_cv_prog_gnu_ld+y}
5623then :
5624  printf %s "(cached) " >&6
5625else $as_nop
5626  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5627case `$LD -v 2>&1 </dev/null` in
5628*GNU* | *'with BFD'*)
5629  lt_cv_prog_gnu_ld=yes
5630  ;;
5631*)
5632  lt_cv_prog_gnu_ld=no
5633  ;;
5634esac
5635fi
5636{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5637printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5638with_gnu_ld=$lt_cv_prog_gnu_ld
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5649printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5650if test ${lt_cv_path_NM+y}
5651then :
5652  printf %s "(cached) " >&6
5653else $as_nop
5654  if test -n "$NM"; then
5655  # Let the user override the test.
5656  lt_cv_path_NM=$NM
5657else
5658  lt_nm_to_check=${ac_tool_prefix}nm
5659  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5660    lt_nm_to_check="$lt_nm_to_check nm"
5661  fi
5662  for lt_tmp_nm in $lt_nm_to_check; do
5663    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5664    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5665      IFS=$lt_save_ifs
5666      test -z "$ac_dir" && ac_dir=.
5667      tmp_nm=$ac_dir/$lt_tmp_nm
5668      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5669	# Check to see if the nm accepts a BSD-compat flag.
5670	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5671	#   nm: unknown option "B" ignored
5672	# Tru64's nm complains that /dev/null is an invalid object file
5673	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5674	case $build_os in
5675	mingw*) lt_bad_file=conftest.nm/nofile ;;
5676	*) lt_bad_file=/dev/null ;;
5677	esac
5678	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5679	*$lt_bad_file* | *'Invalid file or object type'*)
5680	  lt_cv_path_NM="$tmp_nm -B"
5681	  break 2
5682	  ;;
5683	*)
5684	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5685	  */dev/null*)
5686	    lt_cv_path_NM="$tmp_nm -p"
5687	    break 2
5688	    ;;
5689	  *)
5690	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691	    continue # so that we can try to find one that supports BSD flags
5692	    ;;
5693	  esac
5694	  ;;
5695	esac
5696      fi
5697    done
5698    IFS=$lt_save_ifs
5699  done
5700  : ${lt_cv_path_NM=no}
5701fi
5702fi
5703{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704printf "%s\n" "$lt_cv_path_NM" >&6; }
5705if test no != "$lt_cv_path_NM"; then
5706  NM=$lt_cv_path_NM
5707else
5708  # Didn't find any BSD compatible name lister, look for dumpbin.
5709  if test -n "$DUMPBIN"; then :
5710    # Let the user override the test.
5711  else
5712    if test -n "$ac_tool_prefix"; then
5713  for ac_prog in dumpbin "link -dump"
5714  do
5715    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718printf %s "checking for $ac_word... " >&6; }
5719if test ${ac_cv_prog_DUMPBIN+y}
5720then :
5721  printf %s "(cached) " >&6
5722else $as_nop
5723  if test -n "$DUMPBIN"; then
5724  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5725else
5726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727for as_dir in $PATH
5728do
5729  IFS=$as_save_IFS
5730  case $as_dir in #(((
5731    '') as_dir=./ ;;
5732    */) ;;
5733    *) as_dir=$as_dir/ ;;
5734  esac
5735    for ac_exec_ext in '' $ac_executable_extensions; do
5736  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5737    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5738    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739    break 2
5740  fi
5741done
5742  done
5743IFS=$as_save_IFS
5744
5745fi
5746fi
5747DUMPBIN=$ac_cv_prog_DUMPBIN
5748if test -n "$DUMPBIN"; then
5749  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5750printf "%s\n" "$DUMPBIN" >&6; }
5751else
5752  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753printf "%s\n" "no" >&6; }
5754fi
5755
5756
5757    test -n "$DUMPBIN" && break
5758  done
5759fi
5760if test -z "$DUMPBIN"; then
5761  ac_ct_DUMPBIN=$DUMPBIN
5762  for ac_prog in dumpbin "link -dump"
5763do
5764  # Extract the first word of "$ac_prog", so it can be a program name with args.
5765set dummy $ac_prog; ac_word=$2
5766{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767printf %s "checking for $ac_word... " >&6; }
5768if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5769then :
5770  printf %s "(cached) " >&6
5771else $as_nop
5772  if test -n "$ac_ct_DUMPBIN"; then
5773  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5774else
5775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776for as_dir in $PATH
5777do
5778  IFS=$as_save_IFS
5779  case $as_dir in #(((
5780    '') as_dir=./ ;;
5781    */) ;;
5782    *) as_dir=$as_dir/ ;;
5783  esac
5784    for ac_exec_ext in '' $ac_executable_extensions; do
5785  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5786    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5787    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5788    break 2
5789  fi
5790done
5791  done
5792IFS=$as_save_IFS
5793
5794fi
5795fi
5796ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5797if test -n "$ac_ct_DUMPBIN"; then
5798  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5799printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5800else
5801  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802printf "%s\n" "no" >&6; }
5803fi
5804
5805
5806  test -n "$ac_ct_DUMPBIN" && break
5807done
5808
5809  if test "x$ac_ct_DUMPBIN" = x; then
5810    DUMPBIN=":"
5811  else
5812    case $cross_compiling:$ac_tool_warned in
5813yes:)
5814{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816ac_tool_warned=yes ;;
5817esac
5818    DUMPBIN=$ac_ct_DUMPBIN
5819  fi
5820fi
5821
5822    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5823    *COFF*)
5824      DUMPBIN="$DUMPBIN -symbols -headers"
5825      ;;
5826    *)
5827      DUMPBIN=:
5828      ;;
5829    esac
5830  fi
5831
5832  if test : != "$DUMPBIN"; then
5833    NM=$DUMPBIN
5834  fi
5835fi
5836test -z "$NM" && NM=nm
5837
5838
5839
5840
5841
5842
5843{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5844printf %s "checking the name lister ($NM) interface... " >&6; }
5845if test ${lt_cv_nm_interface+y}
5846then :
5847  printf %s "(cached) " >&6
5848else $as_nop
5849  lt_cv_nm_interface="BSD nm"
5850  echo "int some_variable = 0;" > conftest.$ac_ext
5851  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5852  (eval "$ac_compile" 2>conftest.err)
5853  cat conftest.err >&5
5854  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5855  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5856  cat conftest.err >&5
5857  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5858  cat conftest.out >&5
5859  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5860    lt_cv_nm_interface="MS dumpbin"
5861  fi
5862  rm -f conftest*
5863fi
5864{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5865printf "%s\n" "$lt_cv_nm_interface" >&6; }
5866
5867{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5868printf %s "checking whether ln -s works... " >&6; }
5869LN_S=$as_ln_s
5870if test "$LN_S" = "ln -s"; then
5871  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5872printf "%s\n" "yes" >&6; }
5873else
5874  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5875printf "%s\n" "no, using $LN_S" >&6; }
5876fi
5877
5878# find the maximum length of command line arguments
5879{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5880printf %s "checking the maximum length of command line arguments... " >&6; }
5881if test ${lt_cv_sys_max_cmd_len+y}
5882then :
5883  printf %s "(cached) " >&6
5884else $as_nop
5885    i=0
5886  teststring=ABCD
5887
5888  case $build_os in
5889  msdosdjgpp*)
5890    # On DJGPP, this test can blow up pretty badly due to problems in libc
5891    # (any single argument exceeding 2000 bytes causes a buffer overrun
5892    # during glob expansion).  Even if it were fixed, the result of this
5893    # check would be larger than it should be.
5894    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5895    ;;
5896
5897  gnu*)
5898    # Under GNU Hurd, this test is not required because there is
5899    # no limit to the length of command line arguments.
5900    # Libtool will interpret -1 as no limit whatsoever
5901    lt_cv_sys_max_cmd_len=-1;
5902    ;;
5903
5904  cygwin* | mingw* | cegcc*)
5905    # On Win9x/ME, this test blows up -- it succeeds, but takes
5906    # about 5 minutes as the teststring grows exponentially.
5907    # Worse, since 9x/ME are not pre-emptively multitasking,
5908    # you end up with a "frozen" computer, even though with patience
5909    # the test eventually succeeds (with a max line length of 256k).
5910    # Instead, let's just punt: use the minimum linelength reported by
5911    # all of the supported platforms: 8192 (on NT/2K/XP).
5912    lt_cv_sys_max_cmd_len=8192;
5913    ;;
5914
5915  mint*)
5916    # On MiNT this can take a long time and run out of memory.
5917    lt_cv_sys_max_cmd_len=8192;
5918    ;;
5919
5920  amigaos*)
5921    # On AmigaOS with pdksh, this test takes hours, literally.
5922    # So we just punt and use a minimum line length of 8192.
5923    lt_cv_sys_max_cmd_len=8192;
5924    ;;
5925
5926  bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5927    # This has been around since 386BSD, at least.  Likely further.
5928    if test -x /sbin/sysctl; then
5929      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5930    elif test -x /usr/sbin/sysctl; then
5931      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5932    else
5933      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5934    fi
5935    # And add a safety zone
5936    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5937    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5938    ;;
5939
5940  interix*)
5941    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5942    lt_cv_sys_max_cmd_len=196608
5943    ;;
5944
5945  os2*)
5946    # The test takes a long time on OS/2.
5947    lt_cv_sys_max_cmd_len=8192
5948    ;;
5949
5950  osf*)
5951    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5952    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5953    # nice to cause kernel panics so lets avoid the loop below.
5954    # First set a reasonable default.
5955    lt_cv_sys_max_cmd_len=16384
5956    #
5957    if test -x /sbin/sysconfig; then
5958      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5959        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5960      esac
5961    fi
5962    ;;
5963  sco3.2v5*)
5964    lt_cv_sys_max_cmd_len=102400
5965    ;;
5966  sysv5* | sco5v6* | sysv4.2uw2*)
5967    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5968    if test -n "$kargmax"; then
5969      lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
5970    else
5971      lt_cv_sys_max_cmd_len=32768
5972    fi
5973    ;;
5974  *)
5975    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5976    if test -n "$lt_cv_sys_max_cmd_len" && \
5977       test undefined != "$lt_cv_sys_max_cmd_len"; then
5978      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5979      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5980    else
5981      # Make teststring a little bigger before we do anything with it.
5982      # a 1K string should be a reasonable start.
5983      for i in 1 2 3 4 5 6 7 8; do
5984        teststring=$teststring$teststring
5985      done
5986      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5987      # If test is not a shell built-in, we'll probably end up computing a
5988      # maximum length that is only half of the actual maximum length, but
5989      # we can't tell.
5990      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5991	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5992	      test 17 != "$i" # 1/2 MB should be enough
5993      do
5994        i=`expr $i + 1`
5995        teststring=$teststring$teststring
5996      done
5997      # Only check the string length outside the loop.
5998      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5999      teststring=
6000      # Add a significant safety factor because C++ compilers can tack on
6001      # massive amounts of additional arguments before passing them to the
6002      # linker.  It appears as though 1/2 is a usable value.
6003      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6004    fi
6005    ;;
6006  esac
6007
6008fi
6009
6010if test -n "$lt_cv_sys_max_cmd_len"; then
6011  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6012printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
6013else
6014  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6015printf "%s\n" "none" >&6; }
6016fi
6017max_cmd_len=$lt_cv_sys_max_cmd_len
6018
6019
6020
6021
6022
6023
6024: ${CP="cp -f"}
6025: ${MV="mv -f"}
6026: ${RM="rm -f"}
6027
6028if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6029  lt_unset=unset
6030else
6031  lt_unset=false
6032fi
6033
6034
6035
6036
6037
6038# test EBCDIC or ASCII
6039case `echo X|tr X '\101'` in
6040 A) # ASCII based system
6041    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6042  lt_SP2NL='tr \040 \012'
6043  lt_NL2SP='tr \015\012 \040\040'
6044  ;;
6045 *) # EBCDIC based system
6046  lt_SP2NL='tr \100 \n'
6047  lt_NL2SP='tr \r\n \100\100'
6048  ;;
6049esac
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6060printf %s "checking how to convert $build file names to $host format... " >&6; }
6061if test ${lt_cv_to_host_file_cmd+y}
6062then :
6063  printf %s "(cached) " >&6
6064else $as_nop
6065  case $host in
6066  *-*-mingw* )
6067    case $build in
6068      *-*-mingw* ) # actually msys
6069        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6070        ;;
6071      *-*-cygwin* )
6072        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6073        ;;
6074      * ) # otherwise, assume *nix
6075        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6076        ;;
6077    esac
6078    ;;
6079  *-*-cygwin* )
6080    case $build in
6081      *-*-mingw* ) # actually msys
6082        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6083        ;;
6084      *-*-cygwin* )
6085        lt_cv_to_host_file_cmd=func_convert_file_noop
6086        ;;
6087      * ) # otherwise, assume *nix
6088        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6089        ;;
6090    esac
6091    ;;
6092  * ) # unhandled hosts (and "normal" native builds)
6093    lt_cv_to_host_file_cmd=func_convert_file_noop
6094    ;;
6095esac
6096
6097fi
6098
6099to_host_file_cmd=$lt_cv_to_host_file_cmd
6100{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6101printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6102
6103
6104
6105
6106
6107{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6108printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6109if test ${lt_cv_to_tool_file_cmd+y}
6110then :
6111  printf %s "(cached) " >&6
6112else $as_nop
6113  #assume ordinary cross tools, or native build.
6114lt_cv_to_tool_file_cmd=func_convert_file_noop
6115case $host in
6116  *-*-mingw* )
6117    case $build in
6118      *-*-mingw* ) # actually msys
6119        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6120        ;;
6121    esac
6122    ;;
6123esac
6124
6125fi
6126
6127to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6128{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6129printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6130
6131
6132
6133
6134
6135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6136printf %s "checking for $LD option to reload object files... " >&6; }
6137if test ${lt_cv_ld_reload_flag+y}
6138then :
6139  printf %s "(cached) " >&6
6140else $as_nop
6141  lt_cv_ld_reload_flag='-r'
6142fi
6143{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6144printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
6145reload_flag=$lt_cv_ld_reload_flag
6146case $reload_flag in
6147"" | " "*) ;;
6148*) reload_flag=" $reload_flag" ;;
6149esac
6150reload_cmds='$LD$reload_flag -o $output$reload_objs'
6151case $host_os in
6152  cygwin* | mingw* | pw32* | cegcc*)
6153    if test yes != "$GCC"; then
6154      reload_cmds=false
6155    fi
6156    ;;
6157  darwin*)
6158    if test yes = "$GCC"; then
6159      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6160    else
6161      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6162    fi
6163    ;;
6164esac
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174if test -n "$ac_tool_prefix"; then
6175  # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
6176set dummy ${ac_tool_prefix}file; ac_word=$2
6177{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178printf %s "checking for $ac_word... " >&6; }
6179if test ${ac_cv_prog_FILECMD+y}
6180then :
6181  printf %s "(cached) " >&6
6182else $as_nop
6183  if test -n "$FILECMD"; then
6184  ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
6185else
6186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187for as_dir in $PATH
6188do
6189  IFS=$as_save_IFS
6190  case $as_dir in #(((
6191    '') as_dir=./ ;;
6192    */) ;;
6193    *) as_dir=$as_dir/ ;;
6194  esac
6195    for ac_exec_ext in '' $ac_executable_extensions; do
6196  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6197    ac_cv_prog_FILECMD="${ac_tool_prefix}file"
6198    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6199    break 2
6200  fi
6201done
6202  done
6203IFS=$as_save_IFS
6204
6205fi
6206fi
6207FILECMD=$ac_cv_prog_FILECMD
6208if test -n "$FILECMD"; then
6209  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
6210printf "%s\n" "$FILECMD" >&6; }
6211else
6212  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213printf "%s\n" "no" >&6; }
6214fi
6215
6216
6217fi
6218if test -z "$ac_cv_prog_FILECMD"; then
6219  ac_ct_FILECMD=$FILECMD
6220  # Extract the first word of "file", so it can be a program name with args.
6221set dummy file; ac_word=$2
6222{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223printf %s "checking for $ac_word... " >&6; }
6224if test ${ac_cv_prog_ac_ct_FILECMD+y}
6225then :
6226  printf %s "(cached) " >&6
6227else $as_nop
6228  if test -n "$ac_ct_FILECMD"; then
6229  ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
6230else
6231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232for as_dir in $PATH
6233do
6234  IFS=$as_save_IFS
6235  case $as_dir in #(((
6236    '') as_dir=./ ;;
6237    */) ;;
6238    *) as_dir=$as_dir/ ;;
6239  esac
6240    for ac_exec_ext in '' $ac_executable_extensions; do
6241  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6242    ac_cv_prog_ac_ct_FILECMD="file"
6243    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6244    break 2
6245  fi
6246done
6247  done
6248IFS=$as_save_IFS
6249
6250fi
6251fi
6252ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
6253if test -n "$ac_ct_FILECMD"; then
6254  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
6255printf "%s\n" "$ac_ct_FILECMD" >&6; }
6256else
6257  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258printf "%s\n" "no" >&6; }
6259fi
6260
6261  if test "x$ac_ct_FILECMD" = x; then
6262    FILECMD=":"
6263  else
6264    case $cross_compiling:$ac_tool_warned in
6265yes:)
6266{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268ac_tool_warned=yes ;;
6269esac
6270    FILECMD=$ac_ct_FILECMD
6271  fi
6272else
6273  FILECMD="$ac_cv_prog_FILECMD"
6274fi
6275
6276
6277
6278
6279
6280
6281
6282if test -n "$ac_tool_prefix"; then
6283  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6284set dummy ${ac_tool_prefix}objdump; ac_word=$2
6285{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286printf %s "checking for $ac_word... " >&6; }
6287if test ${ac_cv_prog_OBJDUMP+y}
6288then :
6289  printf %s "(cached) " >&6
6290else $as_nop
6291  if test -n "$OBJDUMP"; then
6292  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6293else
6294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295for as_dir in $PATH
6296do
6297  IFS=$as_save_IFS
6298  case $as_dir in #(((
6299    '') as_dir=./ ;;
6300    */) ;;
6301    *) as_dir=$as_dir/ ;;
6302  esac
6303    for ac_exec_ext in '' $ac_executable_extensions; do
6304  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6305    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6306    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6307    break 2
6308  fi
6309done
6310  done
6311IFS=$as_save_IFS
6312
6313fi
6314fi
6315OBJDUMP=$ac_cv_prog_OBJDUMP
6316if test -n "$OBJDUMP"; then
6317  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6318printf "%s\n" "$OBJDUMP" >&6; }
6319else
6320  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321printf "%s\n" "no" >&6; }
6322fi
6323
6324
6325fi
6326if test -z "$ac_cv_prog_OBJDUMP"; then
6327  ac_ct_OBJDUMP=$OBJDUMP
6328  # Extract the first word of "objdump", so it can be a program name with args.
6329set dummy objdump; ac_word=$2
6330{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6331printf %s "checking for $ac_word... " >&6; }
6332if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6333then :
6334  printf %s "(cached) " >&6
6335else $as_nop
6336  if test -n "$ac_ct_OBJDUMP"; then
6337  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6338else
6339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340for as_dir in $PATH
6341do
6342  IFS=$as_save_IFS
6343  case $as_dir in #(((
6344    '') as_dir=./ ;;
6345    */) ;;
6346    *) as_dir=$as_dir/ ;;
6347  esac
6348    for ac_exec_ext in '' $ac_executable_extensions; do
6349  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6350    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6351    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6352    break 2
6353  fi
6354done
6355  done
6356IFS=$as_save_IFS
6357
6358fi
6359fi
6360ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6361if test -n "$ac_ct_OBJDUMP"; then
6362  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6363printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
6364else
6365  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6366printf "%s\n" "no" >&6; }
6367fi
6368
6369  if test "x$ac_ct_OBJDUMP" = x; then
6370    OBJDUMP="false"
6371  else
6372    case $cross_compiling:$ac_tool_warned in
6373yes:)
6374{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376ac_tool_warned=yes ;;
6377esac
6378    OBJDUMP=$ac_ct_OBJDUMP
6379  fi
6380else
6381  OBJDUMP="$ac_cv_prog_OBJDUMP"
6382fi
6383
6384test -z "$OBJDUMP" && OBJDUMP=objdump
6385
6386
6387
6388
6389
6390
6391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6392printf %s "checking how to recognize dependent libraries... " >&6; }
6393if test ${lt_cv_deplibs_check_method+y}
6394then :
6395  printf %s "(cached) " >&6
6396else $as_nop
6397  lt_cv_file_magic_cmd='$MAGIC_CMD'
6398lt_cv_file_magic_test_file=
6399lt_cv_deplibs_check_method='unknown'
6400# Need to set the preceding variable on all platforms that support
6401# interlibrary dependencies.
6402# 'none' -- dependencies not supported.
6403# 'unknown' -- same as none, but documents that we really don't know.
6404# 'pass_all' -- all dependencies passed with no checks.
6405# 'test_compile' -- check by making test program.
6406# 'file_magic [[regex]]' -- check by looking for files in library path
6407# that responds to the $file_magic_cmd with a given extended regex.
6408# If you have 'file' or equivalent on your system and you're not sure
6409# whether 'pass_all' will *always* work, you probably want this one.
6410
6411case $host_os in
6412aix[4-9]*)
6413  lt_cv_deplibs_check_method=pass_all
6414  ;;
6415
6416beos*)
6417  lt_cv_deplibs_check_method=pass_all
6418  ;;
6419
6420bsdi[45]*)
6421  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6422  lt_cv_file_magic_cmd='$FILECMD -L'
6423  lt_cv_file_magic_test_file=/shlib/libc.so
6424  ;;
6425
6426cygwin*)
6427  # func_win32_libid is a shell function defined in ltmain.sh
6428  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6429  lt_cv_file_magic_cmd='func_win32_libid'
6430  ;;
6431
6432mingw* | pw32*)
6433  # Base MSYS/MinGW do not provide the 'file' command needed by
6434  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6435  # unless we find 'file', for example because we are cross-compiling.
6436  if ( file / ) >/dev/null 2>&1; then
6437    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6438    lt_cv_file_magic_cmd='func_win32_libid'
6439  else
6440    # Keep this pattern in sync with the one in func_win32_libid.
6441    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6442    lt_cv_file_magic_cmd='$OBJDUMP -f'
6443  fi
6444  ;;
6445
6446cegcc*)
6447  # use the weaker test based on 'objdump'. See mingw*.
6448  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6449  lt_cv_file_magic_cmd='$OBJDUMP -f'
6450  ;;
6451
6452darwin* | rhapsody*)
6453  lt_cv_deplibs_check_method=pass_all
6454  ;;
6455
6456freebsd* | dragonfly* | midnightbsd*)
6457  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6458    case $host_cpu in
6459    i*86 )
6460      # Not sure whether the presence of OpenBSD here was a mistake.
6461      # Let's accept both of them until this is cleared up.
6462      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6463      lt_cv_file_magic_cmd=$FILECMD
6464      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6465      ;;
6466    esac
6467  else
6468    lt_cv_deplibs_check_method=pass_all
6469  fi
6470  ;;
6471
6472haiku*)
6473  lt_cv_deplibs_check_method=pass_all
6474  ;;
6475
6476hpux10.20* | hpux11*)
6477  lt_cv_file_magic_cmd=$FILECMD
6478  case $host_cpu in
6479  ia64*)
6480    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6481    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6482    ;;
6483  hppa*64*)
6484    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]'
6485    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6486    ;;
6487  *)
6488    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6489    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6490    ;;
6491  esac
6492  ;;
6493
6494interix[3-9]*)
6495  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6496  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6497  ;;
6498
6499irix5* | irix6* | nonstopux*)
6500  case $LD in
6501  *-32|*"-32 ") libmagic=32-bit;;
6502  *-n32|*"-n32 ") libmagic=N32;;
6503  *-64|*"-64 ") libmagic=64-bit;;
6504  *) libmagic=never-match;;
6505  esac
6506  lt_cv_deplibs_check_method=pass_all
6507  ;;
6508
6509# This must be glibc/ELF.
6510linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6511  lt_cv_deplibs_check_method=pass_all
6512  ;;
6513
6514netbsd* | netbsdelf*-gnu)
6515  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6516    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6517  else
6518    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6519  fi
6520  ;;
6521
6522newos6*)
6523  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6524  lt_cv_file_magic_cmd=$FILECMD
6525  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6526  ;;
6527
6528*nto* | *qnx*)
6529  lt_cv_deplibs_check_method=pass_all
6530  ;;
6531
6532openbsd* | bitrig*)
6533  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6534    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6535  else
6536    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6537  fi
6538  ;;
6539
6540osf3* | osf4* | osf5*)
6541  lt_cv_deplibs_check_method=pass_all
6542  ;;
6543
6544rdos*)
6545  lt_cv_deplibs_check_method=pass_all
6546  ;;
6547
6548solaris*)
6549  lt_cv_deplibs_check_method=pass_all
6550  ;;
6551
6552sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6553  lt_cv_deplibs_check_method=pass_all
6554  ;;
6555
6556sysv4 | sysv4.3*)
6557  case $host_vendor in
6558  motorola)
6559    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]'
6560    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6561    ;;
6562  ncr)
6563    lt_cv_deplibs_check_method=pass_all
6564    ;;
6565  sequent)
6566    lt_cv_file_magic_cmd='/bin/file'
6567    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6568    ;;
6569  sni)
6570    lt_cv_file_magic_cmd='/bin/file'
6571    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6572    lt_cv_file_magic_test_file=/lib/libc.so
6573    ;;
6574  siemens)
6575    lt_cv_deplibs_check_method=pass_all
6576    ;;
6577  pc)
6578    lt_cv_deplibs_check_method=pass_all
6579    ;;
6580  esac
6581  ;;
6582
6583tpf*)
6584  lt_cv_deplibs_check_method=pass_all
6585  ;;
6586os2*)
6587  lt_cv_deplibs_check_method=pass_all
6588  ;;
6589esac
6590
6591fi
6592{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6593printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6594
6595file_magic_glob=
6596want_nocaseglob=no
6597if test "$build" = "$host"; then
6598  case $host_os in
6599  mingw* | pw32*)
6600    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6601      want_nocaseglob=yes
6602    else
6603      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6604    fi
6605    ;;
6606  esac
6607fi
6608
6609file_magic_cmd=$lt_cv_file_magic_cmd
6610deplibs_check_method=$lt_cv_deplibs_check_method
6611test -z "$deplibs_check_method" && deplibs_check_method=unknown
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634if test -n "$ac_tool_prefix"; then
6635  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6636set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6637{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638printf %s "checking for $ac_word... " >&6; }
6639if test ${ac_cv_prog_DLLTOOL+y}
6640then :
6641  printf %s "(cached) " >&6
6642else $as_nop
6643  if test -n "$DLLTOOL"; then
6644  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6645else
6646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647for as_dir in $PATH
6648do
6649  IFS=$as_save_IFS
6650  case $as_dir in #(((
6651    '') as_dir=./ ;;
6652    */) ;;
6653    *) as_dir=$as_dir/ ;;
6654  esac
6655    for ac_exec_ext in '' $ac_executable_extensions; do
6656  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6657    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6658    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6659    break 2
6660  fi
6661done
6662  done
6663IFS=$as_save_IFS
6664
6665fi
6666fi
6667DLLTOOL=$ac_cv_prog_DLLTOOL
6668if test -n "$DLLTOOL"; then
6669  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6670printf "%s\n" "$DLLTOOL" >&6; }
6671else
6672  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673printf "%s\n" "no" >&6; }
6674fi
6675
6676
6677fi
6678if test -z "$ac_cv_prog_DLLTOOL"; then
6679  ac_ct_DLLTOOL=$DLLTOOL
6680  # Extract the first word of "dlltool", so it can be a program name with args.
6681set dummy dlltool; ac_word=$2
6682{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683printf %s "checking for $ac_word... " >&6; }
6684if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6685then :
6686  printf %s "(cached) " >&6
6687else $as_nop
6688  if test -n "$ac_ct_DLLTOOL"; then
6689  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6690else
6691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692for as_dir in $PATH
6693do
6694  IFS=$as_save_IFS
6695  case $as_dir in #(((
6696    '') as_dir=./ ;;
6697    */) ;;
6698    *) as_dir=$as_dir/ ;;
6699  esac
6700    for ac_exec_ext in '' $ac_executable_extensions; do
6701  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6702    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6703    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704    break 2
6705  fi
6706done
6707  done
6708IFS=$as_save_IFS
6709
6710fi
6711fi
6712ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6713if test -n "$ac_ct_DLLTOOL"; then
6714  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6715printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6716else
6717  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718printf "%s\n" "no" >&6; }
6719fi
6720
6721  if test "x$ac_ct_DLLTOOL" = x; then
6722    DLLTOOL="false"
6723  else
6724    case $cross_compiling:$ac_tool_warned in
6725yes:)
6726{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6727printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6728ac_tool_warned=yes ;;
6729esac
6730    DLLTOOL=$ac_ct_DLLTOOL
6731  fi
6732else
6733  DLLTOOL="$ac_cv_prog_DLLTOOL"
6734fi
6735
6736test -z "$DLLTOOL" && DLLTOOL=dlltool
6737
6738
6739
6740
6741
6742
6743
6744{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6745printf %s "checking how to associate runtime and link libraries... " >&6; }
6746if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6747then :
6748  printf %s "(cached) " >&6
6749else $as_nop
6750  lt_cv_sharedlib_from_linklib_cmd='unknown'
6751
6752case $host_os in
6753cygwin* | mingw* | pw32* | cegcc*)
6754  # two different shell functions defined in ltmain.sh;
6755  # decide which one to use based on capabilities of $DLLTOOL
6756  case `$DLLTOOL --help 2>&1` in
6757  *--identify-strict*)
6758    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6759    ;;
6760  *)
6761    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6762    ;;
6763  esac
6764  ;;
6765*)
6766  # fallback: assume linklib IS sharedlib
6767  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6768  ;;
6769esac
6770
6771fi
6772{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6773printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6774sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6775test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6776
6777
6778
6779
6780
6781
6782
6783
6784if test -n "$ac_tool_prefix"; then
6785  for ac_prog in ar
6786  do
6787    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6788set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6789{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790printf %s "checking for $ac_word... " >&6; }
6791if test ${ac_cv_prog_AR+y}
6792then :
6793  printf %s "(cached) " >&6
6794else $as_nop
6795  if test -n "$AR"; then
6796  ac_cv_prog_AR="$AR" # Let the user override the test.
6797else
6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799for as_dir in $PATH
6800do
6801  IFS=$as_save_IFS
6802  case $as_dir in #(((
6803    '') as_dir=./ ;;
6804    */) ;;
6805    *) as_dir=$as_dir/ ;;
6806  esac
6807    for ac_exec_ext in '' $ac_executable_extensions; do
6808  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6809    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6810    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811    break 2
6812  fi
6813done
6814  done
6815IFS=$as_save_IFS
6816
6817fi
6818fi
6819AR=$ac_cv_prog_AR
6820if test -n "$AR"; then
6821  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6822printf "%s\n" "$AR" >&6; }
6823else
6824  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825printf "%s\n" "no" >&6; }
6826fi
6827
6828
6829    test -n "$AR" && break
6830  done
6831fi
6832if test -z "$AR"; then
6833  ac_ct_AR=$AR
6834  for ac_prog in ar
6835do
6836  # Extract the first word of "$ac_prog", so it can be a program name with args.
6837set dummy $ac_prog; ac_word=$2
6838{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6839printf %s "checking for $ac_word... " >&6; }
6840if test ${ac_cv_prog_ac_ct_AR+y}
6841then :
6842  printf %s "(cached) " >&6
6843else $as_nop
6844  if test -n "$ac_ct_AR"; then
6845  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6846else
6847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848for as_dir in $PATH
6849do
6850  IFS=$as_save_IFS
6851  case $as_dir in #(((
6852    '') as_dir=./ ;;
6853    */) ;;
6854    *) as_dir=$as_dir/ ;;
6855  esac
6856    for ac_exec_ext in '' $ac_executable_extensions; do
6857  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6858    ac_cv_prog_ac_ct_AR="$ac_prog"
6859    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6860    break 2
6861  fi
6862done
6863  done
6864IFS=$as_save_IFS
6865
6866fi
6867fi
6868ac_ct_AR=$ac_cv_prog_ac_ct_AR
6869if test -n "$ac_ct_AR"; then
6870  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6871printf "%s\n" "$ac_ct_AR" >&6; }
6872else
6873  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874printf "%s\n" "no" >&6; }
6875fi
6876
6877
6878  test -n "$ac_ct_AR" && break
6879done
6880
6881  if test "x$ac_ct_AR" = x; then
6882    AR="false"
6883  else
6884    case $cross_compiling:$ac_tool_warned in
6885yes:)
6886{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6887printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6888ac_tool_warned=yes ;;
6889esac
6890    AR=$ac_ct_AR
6891  fi
6892fi
6893
6894: ${AR=ar}
6895
6896
6897
6898
6899
6900
6901# Use ARFLAGS variable as AR's operation code to sync the variable naming with
6902# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6903# higher priority because thats what people were doing historically (setting
6904# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6905# variable obsoleted/removed.
6906
6907test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6908lt_ar_flags=$AR_FLAGS
6909
6910
6911
6912
6913
6914
6915# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6916# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6917
6918
6919
6920
6921
6922
6923{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6924printf %s "checking for archiver @FILE support... " >&6; }
6925if test ${lt_cv_ar_at_file+y}
6926then :
6927  printf %s "(cached) " >&6
6928else $as_nop
6929  lt_cv_ar_at_file=no
6930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931/* end confdefs.h.  */
6932
6933int
6934main (void)
6935{
6936
6937  ;
6938  return 0;
6939}
6940_ACEOF
6941if ac_fn_c_try_compile "$LINENO"
6942then :
6943  echo conftest.$ac_objext > conftest.lst
6944      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6945      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6946  (eval $lt_ar_try) 2>&5
6947  ac_status=$?
6948  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6949  test $ac_status = 0; }
6950      if test 0 -eq "$ac_status"; then
6951	# Ensure the archiver fails upon bogus file names.
6952	rm -f conftest.$ac_objext libconftest.a
6953	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6954  (eval $lt_ar_try) 2>&5
6955  ac_status=$?
6956  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6957  test $ac_status = 0; }
6958	if test 0 -ne "$ac_status"; then
6959          lt_cv_ar_at_file=@
6960        fi
6961      fi
6962      rm -f conftest.* libconftest.a
6963
6964fi
6965rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6966
6967fi
6968{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6969printf "%s\n" "$lt_cv_ar_at_file" >&6; }
6970
6971if test no = "$lt_cv_ar_at_file"; then
6972  archiver_list_spec=
6973else
6974  archiver_list_spec=$lt_cv_ar_at_file
6975fi
6976
6977
6978
6979
6980
6981
6982
6983if test -n "$ac_tool_prefix"; then
6984  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6985set dummy ${ac_tool_prefix}strip; ac_word=$2
6986{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987printf %s "checking for $ac_word... " >&6; }
6988if test ${ac_cv_prog_STRIP+y}
6989then :
6990  printf %s "(cached) " >&6
6991else $as_nop
6992  if test -n "$STRIP"; then
6993  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6994else
6995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996for as_dir in $PATH
6997do
6998  IFS=$as_save_IFS
6999  case $as_dir in #(((
7000    '') as_dir=./ ;;
7001    */) ;;
7002    *) as_dir=$as_dir/ ;;
7003  esac
7004    for ac_exec_ext in '' $ac_executable_extensions; do
7005  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7006    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7007    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7008    break 2
7009  fi
7010done
7011  done
7012IFS=$as_save_IFS
7013
7014fi
7015fi
7016STRIP=$ac_cv_prog_STRIP
7017if test -n "$STRIP"; then
7018  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7019printf "%s\n" "$STRIP" >&6; }
7020else
7021  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022printf "%s\n" "no" >&6; }
7023fi
7024
7025
7026fi
7027if test -z "$ac_cv_prog_STRIP"; then
7028  ac_ct_STRIP=$STRIP
7029  # Extract the first word of "strip", so it can be a program name with args.
7030set dummy strip; ac_word=$2
7031{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032printf %s "checking for $ac_word... " >&6; }
7033if test ${ac_cv_prog_ac_ct_STRIP+y}
7034then :
7035  printf %s "(cached) " >&6
7036else $as_nop
7037  if test -n "$ac_ct_STRIP"; then
7038  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7039else
7040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041for as_dir in $PATH
7042do
7043  IFS=$as_save_IFS
7044  case $as_dir in #(((
7045    '') as_dir=./ ;;
7046    */) ;;
7047    *) as_dir=$as_dir/ ;;
7048  esac
7049    for ac_exec_ext in '' $ac_executable_extensions; do
7050  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7051    ac_cv_prog_ac_ct_STRIP="strip"
7052    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7053    break 2
7054  fi
7055done
7056  done
7057IFS=$as_save_IFS
7058
7059fi
7060fi
7061ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7062if test -n "$ac_ct_STRIP"; then
7063  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7064printf "%s\n" "$ac_ct_STRIP" >&6; }
7065else
7066  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067printf "%s\n" "no" >&6; }
7068fi
7069
7070  if test "x$ac_ct_STRIP" = x; then
7071    STRIP=":"
7072  else
7073    case $cross_compiling:$ac_tool_warned in
7074yes:)
7075{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7076printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7077ac_tool_warned=yes ;;
7078esac
7079    STRIP=$ac_ct_STRIP
7080  fi
7081else
7082  STRIP="$ac_cv_prog_STRIP"
7083fi
7084
7085test -z "$STRIP" && STRIP=:
7086
7087
7088
7089
7090
7091
7092if test -n "$ac_tool_prefix"; then
7093  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7094set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7095{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096printf %s "checking for $ac_word... " >&6; }
7097if test ${ac_cv_prog_RANLIB+y}
7098then :
7099  printf %s "(cached) " >&6
7100else $as_nop
7101  if test -n "$RANLIB"; then
7102  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7103else
7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105for as_dir in $PATH
7106do
7107  IFS=$as_save_IFS
7108  case $as_dir in #(((
7109    '') as_dir=./ ;;
7110    */) ;;
7111    *) as_dir=$as_dir/ ;;
7112  esac
7113    for ac_exec_ext in '' $ac_executable_extensions; do
7114  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7115    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7116    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7117    break 2
7118  fi
7119done
7120  done
7121IFS=$as_save_IFS
7122
7123fi
7124fi
7125RANLIB=$ac_cv_prog_RANLIB
7126if test -n "$RANLIB"; then
7127  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7128printf "%s\n" "$RANLIB" >&6; }
7129else
7130  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131printf "%s\n" "no" >&6; }
7132fi
7133
7134
7135fi
7136if test -z "$ac_cv_prog_RANLIB"; then
7137  ac_ct_RANLIB=$RANLIB
7138  # Extract the first word of "ranlib", so it can be a program name with args.
7139set dummy ranlib; ac_word=$2
7140{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141printf %s "checking for $ac_word... " >&6; }
7142if test ${ac_cv_prog_ac_ct_RANLIB+y}
7143then :
7144  printf %s "(cached) " >&6
7145else $as_nop
7146  if test -n "$ac_ct_RANLIB"; then
7147  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7148else
7149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150for as_dir in $PATH
7151do
7152  IFS=$as_save_IFS
7153  case $as_dir in #(((
7154    '') as_dir=./ ;;
7155    */) ;;
7156    *) as_dir=$as_dir/ ;;
7157  esac
7158    for ac_exec_ext in '' $ac_executable_extensions; do
7159  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7160    ac_cv_prog_ac_ct_RANLIB="ranlib"
7161    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7162    break 2
7163  fi
7164done
7165  done
7166IFS=$as_save_IFS
7167
7168fi
7169fi
7170ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7171if test -n "$ac_ct_RANLIB"; then
7172  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7173printf "%s\n" "$ac_ct_RANLIB" >&6; }
7174else
7175  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176printf "%s\n" "no" >&6; }
7177fi
7178
7179  if test "x$ac_ct_RANLIB" = x; then
7180    RANLIB=":"
7181  else
7182    case $cross_compiling:$ac_tool_warned in
7183yes:)
7184{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7185printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7186ac_tool_warned=yes ;;
7187esac
7188    RANLIB=$ac_ct_RANLIB
7189  fi
7190else
7191  RANLIB="$ac_cv_prog_RANLIB"
7192fi
7193
7194test -z "$RANLIB" && RANLIB=:
7195
7196
7197
7198
7199
7200
7201# Determine commands to create old-style static archives.
7202old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7203old_postinstall_cmds='chmod 644 $oldlib'
7204old_postuninstall_cmds=
7205
7206if test -n "$RANLIB"; then
7207  case $host_os in
7208  bitrig* | openbsd*)
7209    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7210    ;;
7211  *)
7212    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7213    ;;
7214  esac
7215  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7216fi
7217
7218case $host_os in
7219  darwin*)
7220    lock_old_archive_extraction=yes ;;
7221  *)
7222    lock_old_archive_extraction=no ;;
7223esac
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263# If no C compiler was specified, use CC.
7264LTCC=${LTCC-"$CC"}
7265
7266# If no C compiler flags were specified, use CFLAGS.
7267LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7268
7269# Allow CC to be a program name with arguments.
7270compiler=$CC
7271
7272
7273# Check for command to grab the raw symbol name followed by C symbol from nm.
7274{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7275printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7276if test ${lt_cv_sys_global_symbol_pipe+y}
7277then :
7278  printf %s "(cached) " >&6
7279else $as_nop
7280
7281# These are sane defaults that work on at least a few old systems.
7282# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7283
7284# Character class describing NM global symbol codes.
7285symcode='[BCDEGRST]'
7286
7287# Regexp to match symbols that can be accessed directly from C.
7288sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7289
7290# Define system-specific variables.
7291case $host_os in
7292aix*)
7293  symcode='[BCDT]'
7294  ;;
7295cygwin* | mingw* | pw32* | cegcc*)
7296  symcode='[ABCDGISTW]'
7297  ;;
7298hpux*)
7299  if test ia64 = "$host_cpu"; then
7300    symcode='[ABCDEGRST]'
7301  fi
7302  ;;
7303irix* | nonstopux*)
7304  symcode='[BCDEGRST]'
7305  ;;
7306osf*)
7307  symcode='[BCDEGQRST]'
7308  ;;
7309solaris*)
7310  symcode='[BDRT]'
7311  ;;
7312sco3.2v5*)
7313  symcode='[DT]'
7314  ;;
7315sysv4.2uw2*)
7316  symcode='[DT]'
7317  ;;
7318sysv5* | sco5v6* | unixware* | OpenUNIX*)
7319  symcode='[ABDT]'
7320  ;;
7321sysv4)
7322  symcode='[DFNSTU]'
7323  ;;
7324esac
7325
7326# If we're using GNU nm, then use its standard symbol codes.
7327case `$NM -V 2>&1` in
7328*GNU* | *'with BFD'*)
7329  symcode='[ABCDGIRSTW]' ;;
7330esac
7331
7332if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7333  # Gets list of data symbols to import.
7334  lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
7335  # Adjust the below global symbol transforms to fixup imported variables.
7336  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7337  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7338  lt_c_name_lib_hook="\
7339  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7340  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7341else
7342  # Disable hooks by default.
7343  lt_cv_sys_global_symbol_to_import=
7344  lt_cdecl_hook=
7345  lt_c_name_hook=
7346  lt_c_name_lib_hook=
7347fi
7348
7349# Transform an extracted symbol line into a proper C declaration.
7350# Some systems (esp. on ia64) link data and code symbols differently,
7351# so use this general approach.
7352lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
7353$lt_cdecl_hook\
7354" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7355" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7356
7357# Transform an extracted symbol line into symbol name and symbol address
7358lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
7359$lt_c_name_hook\
7360" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7361" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7362
7363# Transform an extracted symbol line into symbol name with lib prefix and
7364# symbol address.
7365lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
7366$lt_c_name_lib_hook\
7367" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7368" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7369" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7370
7371# Handle CRLF in mingw tool chain
7372opt_cr=
7373case $build_os in
7374mingw*)
7375  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7376  ;;
7377esac
7378
7379# Try without a prefix underscore, then with it.
7380for ac_symprfx in "" "_"; do
7381
7382  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7383  symxfrm="\\1 $ac_symprfx\\2 \\2"
7384
7385  # Write the raw and C identifiers.
7386  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7387    # Fake it for dumpbin and say T for any non-static function,
7388    # D for any global variable and I for any imported variable.
7389    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7390    # which start with @ or ?.
7391    lt_cv_sys_global_symbol_pipe="$AWK '"\
7392"     {last_section=section; section=\$ 3};"\
7393"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7394"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7395"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7396"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7397"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7398"     \$ 0!~/External *\|/{next};"\
7399"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7400"     {if(hide[section]) next};"\
7401"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7402"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7403"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7404"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7405"     ' prfx=^$ac_symprfx"
7406  else
7407    lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7408  fi
7409  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
7410
7411  # Check to see that the pipe works correctly.
7412  pipe_works=no
7413
7414  rm -f conftest*
7415  cat > conftest.$ac_ext <<_LT_EOF
7416#ifdef __cplusplus
7417extern "C" {
7418#endif
7419char nm_test_var;
7420void nm_test_func(void);
7421void nm_test_func(void){}
7422#ifdef __cplusplus
7423}
7424#endif
7425int main(){nm_test_var='a';nm_test_func();return(0);}
7426_LT_EOF
7427
7428  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7429  (eval $ac_compile) 2>&5
7430  ac_status=$?
7431  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7432  test $ac_status = 0; }; then
7433    # Now try to grab the symbols.
7434    nlist=conftest.nm
7435    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
7436    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
7437      # Try sorting and uniquifying the output.
7438      if sort "$nlist" | uniq > "$nlist"T; then
7439	mv -f "$nlist"T "$nlist"
7440      else
7441	rm -f "$nlist"T
7442      fi
7443
7444      # Make sure that we snagged all the symbols we need.
7445      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7446	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7447	  cat <<_LT_EOF > conftest.$ac_ext
7448/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7449#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7450/* DATA imports from DLLs on WIN32 can't be const, because runtime
7451   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7452# define LT_DLSYM_CONST
7453#elif defined __osf__
7454/* This system does not cope well with relocations in const data.  */
7455# define LT_DLSYM_CONST
7456#else
7457# define LT_DLSYM_CONST const
7458#endif
7459
7460#ifdef __cplusplus
7461extern "C" {
7462#endif
7463
7464_LT_EOF
7465	  # Now generate the symbol file.
7466	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7467
7468	  cat <<_LT_EOF >> conftest.$ac_ext
7469
7470/* The mapping between symbol names and symbols.  */
7471LT_DLSYM_CONST struct {
7472  const char *name;
7473  void       *address;
7474}
7475lt__PROGRAM__LTX_preloaded_symbols[] =
7476{
7477  { "@PROGRAM@", (void *) 0 },
7478_LT_EOF
7479	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7480	  cat <<\_LT_EOF >> conftest.$ac_ext
7481  {0, (void *) 0}
7482};
7483
7484/* This works around a problem in FreeBSD linker */
7485#ifdef FREEBSD_WORKAROUND
7486static const void *lt_preloaded_setup() {
7487  return lt__PROGRAM__LTX_preloaded_symbols;
7488}
7489#endif
7490
7491#ifdef __cplusplus
7492}
7493#endif
7494_LT_EOF
7495	  # Now try linking the two files.
7496	  mv conftest.$ac_objext conftstm.$ac_objext
7497	  lt_globsym_save_LIBS=$LIBS
7498	  lt_globsym_save_CFLAGS=$CFLAGS
7499	  LIBS=conftstm.$ac_objext
7500	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7501	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7502  (eval $ac_link) 2>&5
7503  ac_status=$?
7504  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7505  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7506	    pipe_works=yes
7507	  fi
7508	  LIBS=$lt_globsym_save_LIBS
7509	  CFLAGS=$lt_globsym_save_CFLAGS
7510	else
7511	  echo "cannot find nm_test_func in $nlist" >&5
7512	fi
7513      else
7514	echo "cannot find nm_test_var in $nlist" >&5
7515      fi
7516    else
7517      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7518    fi
7519  else
7520    echo "$progname: failed program was:" >&5
7521    cat conftest.$ac_ext >&5
7522  fi
7523  rm -rf conftest* conftst*
7524
7525  # Do not use the global_symbol_pipe unless it works.
7526  if test yes = "$pipe_works"; then
7527    break
7528  else
7529    lt_cv_sys_global_symbol_pipe=
7530  fi
7531done
7532
7533fi
7534
7535if test -z "$lt_cv_sys_global_symbol_pipe"; then
7536  lt_cv_sys_global_symbol_to_cdecl=
7537fi
7538if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7539  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7540printf "%s\n" "failed" >&6; }
7541else
7542  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7543printf "%s\n" "ok" >&6; }
7544fi
7545
7546# Response file support.
7547if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7548  nm_file_list_spec='@'
7549elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7550  nm_file_list_spec='@'
7551fi
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7590printf %s "checking for sysroot... " >&6; }
7591
7592# Check whether --with-sysroot was given.
7593if test ${with_sysroot+y}
7594then :
7595  withval=$with_sysroot;
7596else $as_nop
7597  with_sysroot=no
7598fi
7599
7600
7601lt_sysroot=
7602case $with_sysroot in #(
7603 yes)
7604   if test yes = "$GCC"; then
7605     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7606   fi
7607   ;; #(
7608 /*)
7609   lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7610   ;; #(
7611 no|'')
7612   ;; #(
7613 *)
7614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7615printf "%s\n" "$with_sysroot" >&6; }
7616   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7617   ;;
7618esac
7619
7620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7621printf "%s\n" "${lt_sysroot:-no}" >&6; }
7622
7623
7624
7625
7626
7627{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7628printf %s "checking for a working dd... " >&6; }
7629if test ${ac_cv_path_lt_DD+y}
7630then :
7631  printf %s "(cached) " >&6
7632else $as_nop
7633  printf 0123456789abcdef0123456789abcdef >conftest.i
7634cat conftest.i conftest.i >conftest2.i
7635: ${lt_DD:=$DD}
7636if test -z "$lt_DD"; then
7637  ac_path_lt_DD_found=false
7638  # Loop through the user's path and test for each of PROGNAME-LIST
7639  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640for as_dir in $PATH
7641do
7642  IFS=$as_save_IFS
7643  case $as_dir in #(((
7644    '') as_dir=./ ;;
7645    */) ;;
7646    *) as_dir=$as_dir/ ;;
7647  esac
7648    for ac_prog in dd
7649   do
7650    for ac_exec_ext in '' $ac_executable_extensions; do
7651      ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7652      as_fn_executable_p "$ac_path_lt_DD" || continue
7653if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7654  cmp -s conftest.i conftest.out \
7655  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7656fi
7657      $ac_path_lt_DD_found && break 3
7658    done
7659  done
7660  done
7661IFS=$as_save_IFS
7662  if test -z "$ac_cv_path_lt_DD"; then
7663    :
7664  fi
7665else
7666  ac_cv_path_lt_DD=$lt_DD
7667fi
7668
7669rm -f conftest.i conftest2.i conftest.out
7670fi
7671{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7672printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7673
7674
7675{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7676printf %s "checking how to truncate binary pipes... " >&6; }
7677if test ${lt_cv_truncate_bin+y}
7678then :
7679  printf %s "(cached) " >&6
7680else $as_nop
7681  printf 0123456789abcdef0123456789abcdef >conftest.i
7682cat conftest.i conftest.i >conftest2.i
7683lt_cv_truncate_bin=
7684if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7685  cmp -s conftest.i conftest.out \
7686  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7687fi
7688rm -f conftest.i conftest2.i conftest.out
7689test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7690fi
7691{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7692printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7693
7694
7695
7696
7697
7698
7699
7700# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7701func_cc_basename ()
7702{
7703    for cc_temp in $*""; do
7704      case $cc_temp in
7705        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7706        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7707        \-*) ;;
7708        *) break;;
7709      esac
7710    done
7711    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7712}
7713
7714# Check whether --enable-libtool-lock was given.
7715if test ${enable_libtool_lock+y}
7716then :
7717  enableval=$enable_libtool_lock;
7718fi
7719
7720test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7721
7722# Some flags need to be propagated to the compiler or linker for good
7723# libtool support.
7724case $host in
7725ia64-*-hpux*)
7726  # Find out what ABI is being produced by ac_compile, and set mode
7727  # options accordingly.
7728  echo 'int i;' > conftest.$ac_ext
7729  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7730  (eval $ac_compile) 2>&5
7731  ac_status=$?
7732  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7733  test $ac_status = 0; }; then
7734    case `$FILECMD conftest.$ac_objext` in
7735      *ELF-32*)
7736	HPUX_IA64_MODE=32
7737	;;
7738      *ELF-64*)
7739	HPUX_IA64_MODE=64
7740	;;
7741    esac
7742  fi
7743  rm -rf conftest*
7744  ;;
7745*-*-irix6*)
7746  # Find out what ABI is being produced by ac_compile, and set linker
7747  # options accordingly.
7748  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7749  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7750  (eval $ac_compile) 2>&5
7751  ac_status=$?
7752  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7753  test $ac_status = 0; }; then
7754    if test yes = "$lt_cv_prog_gnu_ld"; then
7755      case `$FILECMD conftest.$ac_objext` in
7756	*32-bit*)
7757	  LD="${LD-ld} -melf32bsmip"
7758	  ;;
7759	*N32*)
7760	  LD="${LD-ld} -melf32bmipn32"
7761	  ;;
7762	*64-bit*)
7763	  LD="${LD-ld} -melf64bmip"
7764	;;
7765      esac
7766    else
7767      case `$FILECMD conftest.$ac_objext` in
7768	*32-bit*)
7769	  LD="${LD-ld} -32"
7770	  ;;
7771	*N32*)
7772	  LD="${LD-ld} -n32"
7773	  ;;
7774	*64-bit*)
7775	  LD="${LD-ld} -64"
7776	  ;;
7777      esac
7778    fi
7779  fi
7780  rm -rf conftest*
7781  ;;
7782
7783mips64*-*linux*)
7784  # Find out what ABI is being produced by ac_compile, and set linker
7785  # options accordingly.
7786  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7787  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7788  (eval $ac_compile) 2>&5
7789  ac_status=$?
7790  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7791  test $ac_status = 0; }; then
7792    emul=elf
7793    case `$FILECMD conftest.$ac_objext` in
7794      *32-bit*)
7795	emul="${emul}32"
7796	;;
7797      *64-bit*)
7798	emul="${emul}64"
7799	;;
7800    esac
7801    case `$FILECMD conftest.$ac_objext` in
7802      *MSB*)
7803	emul="${emul}btsmip"
7804	;;
7805      *LSB*)
7806	emul="${emul}ltsmip"
7807	;;
7808    esac
7809    case `$FILECMD conftest.$ac_objext` in
7810      *N32*)
7811	emul="${emul}n32"
7812	;;
7813    esac
7814    LD="${LD-ld} -m $emul"
7815  fi
7816  rm -rf conftest*
7817  ;;
7818
7819x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7820s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7821  # Find out what ABI is being produced by ac_compile, and set linker
7822  # options accordingly.  Note that the listed cases only cover the
7823  # situations where additional linker options are needed (such as when
7824  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7825  # vice versa); the common cases where no linker options are needed do
7826  # not appear in the list.
7827  echo 'int i;' > conftest.$ac_ext
7828  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7829  (eval $ac_compile) 2>&5
7830  ac_status=$?
7831  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7832  test $ac_status = 0; }; then
7833    case `$FILECMD conftest.o` in
7834      *32-bit*)
7835	case $host in
7836	  x86_64-*kfreebsd*-gnu)
7837	    LD="${LD-ld} -m elf_i386_fbsd"
7838	    ;;
7839	  x86_64-*linux*)
7840	    case `$FILECMD conftest.o` in
7841	      *x86-64*)
7842		LD="${LD-ld} -m elf32_x86_64"
7843		;;
7844	      *)
7845		LD="${LD-ld} -m elf_i386"
7846		;;
7847	    esac
7848	    ;;
7849	  powerpc64le-*linux*)
7850	    LD="${LD-ld} -m elf32lppclinux"
7851	    ;;
7852	  powerpc64-*linux*)
7853	    LD="${LD-ld} -m elf32ppclinux"
7854	    ;;
7855	  s390x-*linux*)
7856	    LD="${LD-ld} -m elf_s390"
7857	    ;;
7858	  sparc64-*linux*)
7859	    LD="${LD-ld} -m elf32_sparc"
7860	    ;;
7861	esac
7862	;;
7863      *64-bit*)
7864	case $host in
7865	  x86_64-*kfreebsd*-gnu)
7866	    LD="${LD-ld} -m elf_x86_64_fbsd"
7867	    ;;
7868	  x86_64-*linux*)
7869	    LD="${LD-ld} -m elf_x86_64"
7870	    ;;
7871	  powerpcle-*linux*)
7872	    LD="${LD-ld} -m elf64lppc"
7873	    ;;
7874	  powerpc-*linux*)
7875	    LD="${LD-ld} -m elf64ppc"
7876	    ;;
7877	  s390*-*linux*|s390*-*tpf*)
7878	    LD="${LD-ld} -m elf64_s390"
7879	    ;;
7880	  sparc*-*linux*)
7881	    LD="${LD-ld} -m elf64_sparc"
7882	    ;;
7883	esac
7884	;;
7885    esac
7886  fi
7887  rm -rf conftest*
7888  ;;
7889
7890*-*-sco3.2v5*)
7891  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7892  SAVE_CFLAGS=$CFLAGS
7893  CFLAGS="$CFLAGS -belf"
7894  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7895printf %s "checking whether the C compiler needs -belf... " >&6; }
7896if test ${lt_cv_cc_needs_belf+y}
7897then :
7898  printf %s "(cached) " >&6
7899else $as_nop
7900  ac_ext=c
7901ac_cpp='$CPP $CPPFLAGS'
7902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7904ac_compiler_gnu=$ac_cv_c_compiler_gnu
7905
7906     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7907/* end confdefs.h.  */
7908
7909int
7910main (void)
7911{
7912
7913  ;
7914  return 0;
7915}
7916_ACEOF
7917if ac_fn_c_try_link "$LINENO"
7918then :
7919  lt_cv_cc_needs_belf=yes
7920else $as_nop
7921  lt_cv_cc_needs_belf=no
7922fi
7923rm -f core conftest.err conftest.$ac_objext conftest.beam \
7924    conftest$ac_exeext conftest.$ac_ext
7925     ac_ext=c
7926ac_cpp='$CPP $CPPFLAGS'
7927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929ac_compiler_gnu=$ac_cv_c_compiler_gnu
7930
7931fi
7932{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7933printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7934  if test yes != "$lt_cv_cc_needs_belf"; then
7935    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7936    CFLAGS=$SAVE_CFLAGS
7937  fi
7938  ;;
7939*-*solaris*)
7940  # Find out what ABI is being produced by ac_compile, and set linker
7941  # options accordingly.
7942  echo 'int i;' > conftest.$ac_ext
7943  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7944  (eval $ac_compile) 2>&5
7945  ac_status=$?
7946  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7947  test $ac_status = 0; }; then
7948    case `$FILECMD conftest.o` in
7949    *64-bit*)
7950      case $lt_cv_prog_gnu_ld in
7951      yes*)
7952        case $host in
7953        i?86-*-solaris*|x86_64-*-solaris*)
7954          LD="${LD-ld} -m elf_x86_64"
7955          ;;
7956        sparc*-*-solaris*)
7957          LD="${LD-ld} -m elf64_sparc"
7958          ;;
7959        esac
7960        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7961        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7962          LD=${LD-ld}_sol2
7963        fi
7964        ;;
7965      *)
7966	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7967	  LD="${LD-ld} -64"
7968	fi
7969	;;
7970      esac
7971      ;;
7972    esac
7973  fi
7974  rm -rf conftest*
7975  ;;
7976esac
7977
7978need_locks=$enable_libtool_lock
7979
7980if test -n "$ac_tool_prefix"; then
7981  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7982set dummy ${ac_tool_prefix}mt; ac_word=$2
7983{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984printf %s "checking for $ac_word... " >&6; }
7985if test ${ac_cv_prog_MANIFEST_TOOL+y}
7986then :
7987  printf %s "(cached) " >&6
7988else $as_nop
7989  if test -n "$MANIFEST_TOOL"; then
7990  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7991else
7992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993for as_dir in $PATH
7994do
7995  IFS=$as_save_IFS
7996  case $as_dir in #(((
7997    '') as_dir=./ ;;
7998    */) ;;
7999    *) as_dir=$as_dir/ ;;
8000  esac
8001    for ac_exec_ext in '' $ac_executable_extensions; do
8002  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8003    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8004    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8005    break 2
8006  fi
8007done
8008  done
8009IFS=$as_save_IFS
8010
8011fi
8012fi
8013MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8014if test -n "$MANIFEST_TOOL"; then
8015  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8016printf "%s\n" "$MANIFEST_TOOL" >&6; }
8017else
8018  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019printf "%s\n" "no" >&6; }
8020fi
8021
8022
8023fi
8024if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8025  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8026  # Extract the first word of "mt", so it can be a program name with args.
8027set dummy mt; ac_word=$2
8028{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029printf %s "checking for $ac_word... " >&6; }
8030if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
8031then :
8032  printf %s "(cached) " >&6
8033else $as_nop
8034  if test -n "$ac_ct_MANIFEST_TOOL"; then
8035  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8036else
8037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038for as_dir in $PATH
8039do
8040  IFS=$as_save_IFS
8041  case $as_dir in #(((
8042    '') as_dir=./ ;;
8043    */) ;;
8044    *) as_dir=$as_dir/ ;;
8045  esac
8046    for ac_exec_ext in '' $ac_executable_extensions; do
8047  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8048    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8049    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8050    break 2
8051  fi
8052done
8053  done
8054IFS=$as_save_IFS
8055
8056fi
8057fi
8058ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8059if test -n "$ac_ct_MANIFEST_TOOL"; then
8060  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8061printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
8062else
8063  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064printf "%s\n" "no" >&6; }
8065fi
8066
8067  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8068    MANIFEST_TOOL=":"
8069  else
8070    case $cross_compiling:$ac_tool_warned in
8071yes:)
8072{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074ac_tool_warned=yes ;;
8075esac
8076    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8077  fi
8078else
8079  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8080fi
8081
8082test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8083{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8084printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8085if test ${lt_cv_path_mainfest_tool+y}
8086then :
8087  printf %s "(cached) " >&6
8088else $as_nop
8089  lt_cv_path_mainfest_tool=no
8090  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8091  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8092  cat conftest.err >&5
8093  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8094    lt_cv_path_mainfest_tool=yes
8095  fi
8096  rm -f conftest*
8097fi
8098{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8099printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
8100if test yes != "$lt_cv_path_mainfest_tool"; then
8101  MANIFEST_TOOL=:
8102fi
8103
8104
8105
8106
8107
8108
8109  case $host_os in
8110    rhapsody* | darwin*)
8111    if test -n "$ac_tool_prefix"; then
8112  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8113set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8114{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115printf %s "checking for $ac_word... " >&6; }
8116if test ${ac_cv_prog_DSYMUTIL+y}
8117then :
8118  printf %s "(cached) " >&6
8119else $as_nop
8120  if test -n "$DSYMUTIL"; then
8121  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8122else
8123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124for as_dir in $PATH
8125do
8126  IFS=$as_save_IFS
8127  case $as_dir in #(((
8128    '') as_dir=./ ;;
8129    */) ;;
8130    *) as_dir=$as_dir/ ;;
8131  esac
8132    for ac_exec_ext in '' $ac_executable_extensions; do
8133  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8134    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8135    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8136    break 2
8137  fi
8138done
8139  done
8140IFS=$as_save_IFS
8141
8142fi
8143fi
8144DSYMUTIL=$ac_cv_prog_DSYMUTIL
8145if test -n "$DSYMUTIL"; then
8146  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8147printf "%s\n" "$DSYMUTIL" >&6; }
8148else
8149  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150printf "%s\n" "no" >&6; }
8151fi
8152
8153
8154fi
8155if test -z "$ac_cv_prog_DSYMUTIL"; then
8156  ac_ct_DSYMUTIL=$DSYMUTIL
8157  # Extract the first word of "dsymutil", so it can be a program name with args.
8158set dummy dsymutil; ac_word=$2
8159{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160printf %s "checking for $ac_word... " >&6; }
8161if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8162then :
8163  printf %s "(cached) " >&6
8164else $as_nop
8165  if test -n "$ac_ct_DSYMUTIL"; then
8166  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8167else
8168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8169for as_dir in $PATH
8170do
8171  IFS=$as_save_IFS
8172  case $as_dir in #(((
8173    '') as_dir=./ ;;
8174    */) ;;
8175    *) as_dir=$as_dir/ ;;
8176  esac
8177    for ac_exec_ext in '' $ac_executable_extensions; do
8178  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8179    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8180    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8181    break 2
8182  fi
8183done
8184  done
8185IFS=$as_save_IFS
8186
8187fi
8188fi
8189ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8190if test -n "$ac_ct_DSYMUTIL"; then
8191  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8192printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
8193else
8194  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195printf "%s\n" "no" >&6; }
8196fi
8197
8198  if test "x$ac_ct_DSYMUTIL" = x; then
8199    DSYMUTIL=":"
8200  else
8201    case $cross_compiling:$ac_tool_warned in
8202yes:)
8203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8204printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8205ac_tool_warned=yes ;;
8206esac
8207    DSYMUTIL=$ac_ct_DSYMUTIL
8208  fi
8209else
8210  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8211fi
8212
8213    if test -n "$ac_tool_prefix"; then
8214  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8215set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8216{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8217printf %s "checking for $ac_word... " >&6; }
8218if test ${ac_cv_prog_NMEDIT+y}
8219then :
8220  printf %s "(cached) " >&6
8221else $as_nop
8222  if test -n "$NMEDIT"; then
8223  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8224else
8225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226for as_dir in $PATH
8227do
8228  IFS=$as_save_IFS
8229  case $as_dir in #(((
8230    '') as_dir=./ ;;
8231    */) ;;
8232    *) as_dir=$as_dir/ ;;
8233  esac
8234    for ac_exec_ext in '' $ac_executable_extensions; do
8235  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8236    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8237    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8238    break 2
8239  fi
8240done
8241  done
8242IFS=$as_save_IFS
8243
8244fi
8245fi
8246NMEDIT=$ac_cv_prog_NMEDIT
8247if test -n "$NMEDIT"; then
8248  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8249printf "%s\n" "$NMEDIT" >&6; }
8250else
8251  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252printf "%s\n" "no" >&6; }
8253fi
8254
8255
8256fi
8257if test -z "$ac_cv_prog_NMEDIT"; then
8258  ac_ct_NMEDIT=$NMEDIT
8259  # Extract the first word of "nmedit", so it can be a program name with args.
8260set dummy nmedit; ac_word=$2
8261{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262printf %s "checking for $ac_word... " >&6; }
8263if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8264then :
8265  printf %s "(cached) " >&6
8266else $as_nop
8267  if test -n "$ac_ct_NMEDIT"; then
8268  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8269else
8270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271for as_dir in $PATH
8272do
8273  IFS=$as_save_IFS
8274  case $as_dir in #(((
8275    '') as_dir=./ ;;
8276    */) ;;
8277    *) as_dir=$as_dir/ ;;
8278  esac
8279    for ac_exec_ext in '' $ac_executable_extensions; do
8280  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8281    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8282    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8283    break 2
8284  fi
8285done
8286  done
8287IFS=$as_save_IFS
8288
8289fi
8290fi
8291ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8292if test -n "$ac_ct_NMEDIT"; then
8293  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8294printf "%s\n" "$ac_ct_NMEDIT" >&6; }
8295else
8296  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297printf "%s\n" "no" >&6; }
8298fi
8299
8300  if test "x$ac_ct_NMEDIT" = x; then
8301    NMEDIT=":"
8302  else
8303    case $cross_compiling:$ac_tool_warned in
8304yes:)
8305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307ac_tool_warned=yes ;;
8308esac
8309    NMEDIT=$ac_ct_NMEDIT
8310  fi
8311else
8312  NMEDIT="$ac_cv_prog_NMEDIT"
8313fi
8314
8315    if test -n "$ac_tool_prefix"; then
8316  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8317set dummy ${ac_tool_prefix}lipo; ac_word=$2
8318{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8319printf %s "checking for $ac_word... " >&6; }
8320if test ${ac_cv_prog_LIPO+y}
8321then :
8322  printf %s "(cached) " >&6
8323else $as_nop
8324  if test -n "$LIPO"; then
8325  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8326else
8327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328for as_dir in $PATH
8329do
8330  IFS=$as_save_IFS
8331  case $as_dir in #(((
8332    '') as_dir=./ ;;
8333    */) ;;
8334    *) as_dir=$as_dir/ ;;
8335  esac
8336    for ac_exec_ext in '' $ac_executable_extensions; do
8337  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8338    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8339    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8340    break 2
8341  fi
8342done
8343  done
8344IFS=$as_save_IFS
8345
8346fi
8347fi
8348LIPO=$ac_cv_prog_LIPO
8349if test -n "$LIPO"; then
8350  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8351printf "%s\n" "$LIPO" >&6; }
8352else
8353  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354printf "%s\n" "no" >&6; }
8355fi
8356
8357
8358fi
8359if test -z "$ac_cv_prog_LIPO"; then
8360  ac_ct_LIPO=$LIPO
8361  # Extract the first word of "lipo", so it can be a program name with args.
8362set dummy lipo; ac_word=$2
8363{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8364printf %s "checking for $ac_word... " >&6; }
8365if test ${ac_cv_prog_ac_ct_LIPO+y}
8366then :
8367  printf %s "(cached) " >&6
8368else $as_nop
8369  if test -n "$ac_ct_LIPO"; then
8370  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8371else
8372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373for as_dir in $PATH
8374do
8375  IFS=$as_save_IFS
8376  case $as_dir in #(((
8377    '') as_dir=./ ;;
8378    */) ;;
8379    *) as_dir=$as_dir/ ;;
8380  esac
8381    for ac_exec_ext in '' $ac_executable_extensions; do
8382  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8383    ac_cv_prog_ac_ct_LIPO="lipo"
8384    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8385    break 2
8386  fi
8387done
8388  done
8389IFS=$as_save_IFS
8390
8391fi
8392fi
8393ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8394if test -n "$ac_ct_LIPO"; then
8395  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8396printf "%s\n" "$ac_ct_LIPO" >&6; }
8397else
8398  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399printf "%s\n" "no" >&6; }
8400fi
8401
8402  if test "x$ac_ct_LIPO" = x; then
8403    LIPO=":"
8404  else
8405    case $cross_compiling:$ac_tool_warned in
8406yes:)
8407{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8408printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8409ac_tool_warned=yes ;;
8410esac
8411    LIPO=$ac_ct_LIPO
8412  fi
8413else
8414  LIPO="$ac_cv_prog_LIPO"
8415fi
8416
8417    if test -n "$ac_tool_prefix"; then
8418  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8419set dummy ${ac_tool_prefix}otool; ac_word=$2
8420{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8421printf %s "checking for $ac_word... " >&6; }
8422if test ${ac_cv_prog_OTOOL+y}
8423then :
8424  printf %s "(cached) " >&6
8425else $as_nop
8426  if test -n "$OTOOL"; then
8427  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8428else
8429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430for as_dir in $PATH
8431do
8432  IFS=$as_save_IFS
8433  case $as_dir in #(((
8434    '') as_dir=./ ;;
8435    */) ;;
8436    *) as_dir=$as_dir/ ;;
8437  esac
8438    for ac_exec_ext in '' $ac_executable_extensions; do
8439  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8440    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8441    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8442    break 2
8443  fi
8444done
8445  done
8446IFS=$as_save_IFS
8447
8448fi
8449fi
8450OTOOL=$ac_cv_prog_OTOOL
8451if test -n "$OTOOL"; then
8452  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8453printf "%s\n" "$OTOOL" >&6; }
8454else
8455  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456printf "%s\n" "no" >&6; }
8457fi
8458
8459
8460fi
8461if test -z "$ac_cv_prog_OTOOL"; then
8462  ac_ct_OTOOL=$OTOOL
8463  # Extract the first word of "otool", so it can be a program name with args.
8464set dummy otool; ac_word=$2
8465{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466printf %s "checking for $ac_word... " >&6; }
8467if test ${ac_cv_prog_ac_ct_OTOOL+y}
8468then :
8469  printf %s "(cached) " >&6
8470else $as_nop
8471  if test -n "$ac_ct_OTOOL"; then
8472  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8473else
8474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475for as_dir in $PATH
8476do
8477  IFS=$as_save_IFS
8478  case $as_dir in #(((
8479    '') as_dir=./ ;;
8480    */) ;;
8481    *) as_dir=$as_dir/ ;;
8482  esac
8483    for ac_exec_ext in '' $ac_executable_extensions; do
8484  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8485    ac_cv_prog_ac_ct_OTOOL="otool"
8486    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8487    break 2
8488  fi
8489done
8490  done
8491IFS=$as_save_IFS
8492
8493fi
8494fi
8495ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8496if test -n "$ac_ct_OTOOL"; then
8497  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8498printf "%s\n" "$ac_ct_OTOOL" >&6; }
8499else
8500  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501printf "%s\n" "no" >&6; }
8502fi
8503
8504  if test "x$ac_ct_OTOOL" = x; then
8505    OTOOL=":"
8506  else
8507    case $cross_compiling:$ac_tool_warned in
8508yes:)
8509{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8511ac_tool_warned=yes ;;
8512esac
8513    OTOOL=$ac_ct_OTOOL
8514  fi
8515else
8516  OTOOL="$ac_cv_prog_OTOOL"
8517fi
8518
8519    if test -n "$ac_tool_prefix"; then
8520  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8521set dummy ${ac_tool_prefix}otool64; ac_word=$2
8522{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523printf %s "checking for $ac_word... " >&6; }
8524if test ${ac_cv_prog_OTOOL64+y}
8525then :
8526  printf %s "(cached) " >&6
8527else $as_nop
8528  if test -n "$OTOOL64"; then
8529  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8530else
8531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532for as_dir in $PATH
8533do
8534  IFS=$as_save_IFS
8535  case $as_dir in #(((
8536    '') as_dir=./ ;;
8537    */) ;;
8538    *) as_dir=$as_dir/ ;;
8539  esac
8540    for ac_exec_ext in '' $ac_executable_extensions; do
8541  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8542    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8543    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8544    break 2
8545  fi
8546done
8547  done
8548IFS=$as_save_IFS
8549
8550fi
8551fi
8552OTOOL64=$ac_cv_prog_OTOOL64
8553if test -n "$OTOOL64"; then
8554  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8555printf "%s\n" "$OTOOL64" >&6; }
8556else
8557  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8558printf "%s\n" "no" >&6; }
8559fi
8560
8561
8562fi
8563if test -z "$ac_cv_prog_OTOOL64"; then
8564  ac_ct_OTOOL64=$OTOOL64
8565  # Extract the first word of "otool64", so it can be a program name with args.
8566set dummy otool64; ac_word=$2
8567{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8568printf %s "checking for $ac_word... " >&6; }
8569if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8570then :
8571  printf %s "(cached) " >&6
8572else $as_nop
8573  if test -n "$ac_ct_OTOOL64"; then
8574  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8575else
8576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8577for as_dir in $PATH
8578do
8579  IFS=$as_save_IFS
8580  case $as_dir in #(((
8581    '') as_dir=./ ;;
8582    */) ;;
8583    *) as_dir=$as_dir/ ;;
8584  esac
8585    for ac_exec_ext in '' $ac_executable_extensions; do
8586  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8587    ac_cv_prog_ac_ct_OTOOL64="otool64"
8588    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8589    break 2
8590  fi
8591done
8592  done
8593IFS=$as_save_IFS
8594
8595fi
8596fi
8597ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8598if test -n "$ac_ct_OTOOL64"; then
8599  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8600printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8601else
8602  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8603printf "%s\n" "no" >&6; }
8604fi
8605
8606  if test "x$ac_ct_OTOOL64" = x; then
8607    OTOOL64=":"
8608  else
8609    case $cross_compiling:$ac_tool_warned in
8610yes:)
8611{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8612printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8613ac_tool_warned=yes ;;
8614esac
8615    OTOOL64=$ac_ct_OTOOL64
8616  fi
8617else
8618  OTOOL64="$ac_cv_prog_OTOOL64"
8619fi
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8648printf %s "checking for -single_module linker flag... " >&6; }
8649if test ${lt_cv_apple_cc_single_mod+y}
8650then :
8651  printf %s "(cached) " >&6
8652else $as_nop
8653  lt_cv_apple_cc_single_mod=no
8654      if test -z "$LT_MULTI_MODULE"; then
8655	# By default we will add the -single_module flag. You can override
8656	# by either setting the environment variable LT_MULTI_MODULE
8657	# non-empty at configure time, or by adding -multi_module to the
8658	# link flags.
8659	rm -rf libconftest.dylib*
8660	echo "int foo(void){return 1;}" > conftest.c
8661	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8662-dynamiclib -Wl,-single_module conftest.c" >&5
8663	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8664	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8665        _lt_result=$?
8666	# If there is a non-empty error log, and "single_module"
8667	# appears in it, assume the flag caused a linker warning
8668        if test -s conftest.err && $GREP single_module conftest.err; then
8669	  cat conftest.err >&5
8670	# Otherwise, if the output was created with a 0 exit code from
8671	# the compiler, it worked.
8672	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8673	  lt_cv_apple_cc_single_mod=yes
8674	else
8675	  cat conftest.err >&5
8676	fi
8677	rm -rf libconftest.dylib*
8678	rm -f conftest.*
8679      fi
8680fi
8681{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8682printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8683
8684    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8685printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8686if test ${lt_cv_ld_exported_symbols_list+y}
8687then :
8688  printf %s "(cached) " >&6
8689else $as_nop
8690  lt_cv_ld_exported_symbols_list=no
8691      save_LDFLAGS=$LDFLAGS
8692      echo "_main" > conftest.sym
8693      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695/* end confdefs.h.  */
8696
8697int
8698main (void)
8699{
8700
8701  ;
8702  return 0;
8703}
8704_ACEOF
8705if ac_fn_c_try_link "$LINENO"
8706then :
8707  lt_cv_ld_exported_symbols_list=yes
8708else $as_nop
8709  lt_cv_ld_exported_symbols_list=no
8710fi
8711rm -f core conftest.err conftest.$ac_objext conftest.beam \
8712    conftest$ac_exeext conftest.$ac_ext
8713	LDFLAGS=$save_LDFLAGS
8714
8715fi
8716{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8717printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8718
8719    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8720printf %s "checking for -force_load linker flag... " >&6; }
8721if test ${lt_cv_ld_force_load+y}
8722then :
8723  printf %s "(cached) " >&6
8724else $as_nop
8725  lt_cv_ld_force_load=no
8726      cat > conftest.c << _LT_EOF
8727int forced_loaded() { return 2;}
8728_LT_EOF
8729      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8730      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8731      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8732      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8733      echo "$RANLIB libconftest.a" >&5
8734      $RANLIB libconftest.a 2>&5
8735      cat > conftest.c << _LT_EOF
8736int main() { return 0;}
8737_LT_EOF
8738      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8739      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8740      _lt_result=$?
8741      if test -s conftest.err && $GREP force_load conftest.err; then
8742	cat conftest.err >&5
8743      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8744	lt_cv_ld_force_load=yes
8745      else
8746	cat conftest.err >&5
8747      fi
8748        rm -f conftest.err libconftest.a conftest conftest.c
8749        rm -rf conftest.dSYM
8750
8751fi
8752{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8753printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8754    case $host_os in
8755    rhapsody* | darwin1.[012])
8756      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8757    darwin1.*)
8758      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8759    darwin*)
8760      case $MACOSX_DEPLOYMENT_TARGET,$host in
8761        10.[012],*|,*powerpc*-darwin[5-8]*)
8762          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8763        *)
8764          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8765      esac
8766    ;;
8767  esac
8768    if test yes = "$lt_cv_apple_cc_single_mod"; then
8769      _lt_dar_single_mod='$single_module'
8770    fi
8771    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8772      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8773    else
8774      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8775    fi
8776    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8777      _lt_dsymutil='~$DSYMUTIL $lib || :'
8778    else
8779      _lt_dsymutil=
8780    fi
8781    ;;
8782  esac
8783
8784# func_munge_path_list VARIABLE PATH
8785# -----------------------------------
8786# VARIABLE is name of variable containing _space_ separated list of
8787# directories to be munged by the contents of PATH, which is string
8788# having a format:
8789# "DIR[:DIR]:"
8790#       string "DIR[ DIR]" will be prepended to VARIABLE
8791# ":DIR[:DIR]"
8792#       string "DIR[ DIR]" will be appended to VARIABLE
8793# "DIRP[:DIRP]::[DIRA:]DIRA"
8794#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8795#       "DIRA[ DIRA]" will be appended to VARIABLE
8796# "DIR[:DIR]"
8797#       VARIABLE will be replaced by "DIR[ DIR]"
8798func_munge_path_list ()
8799{
8800    case x$2 in
8801    x)
8802        ;;
8803    *:)
8804        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8805        ;;
8806    x:*)
8807        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8808        ;;
8809    *::*)
8810        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8811        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8812        ;;
8813    *)
8814        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8815        ;;
8816    esac
8817}
8818
8819ac_header= ac_cache=
8820for ac_item in $ac_header_c_list
8821do
8822  if test $ac_cache; then
8823    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8824    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8825      printf "%s\n" "#define $ac_item 1" >> confdefs.h
8826    fi
8827    ac_header= ac_cache=
8828  elif test $ac_header; then
8829    ac_cache=$ac_item
8830  else
8831    ac_header=$ac_item
8832  fi
8833done
8834
8835
8836
8837
8838
8839
8840
8841
8842if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8843then :
8844
8845printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8846
8847fi
8848ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8849"
8850if test "x$ac_cv_header_dlfcn_h" = xyes
8851then :
8852  printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8853
8854fi
8855
8856
8857
8858
8859
8860# Set options
8861
8862
8863
8864        enable_dlopen=no
8865
8866
8867
8868            # Check whether --enable-shared was given.
8869if test ${enable_shared+y}
8870then :
8871  enableval=$enable_shared; p=${PACKAGE-default}
8872    case $enableval in
8873    yes) enable_shared=yes ;;
8874    no) enable_shared=no ;;
8875    *)
8876      enable_shared=no
8877      # Look at the argument we got.  We use all the common list separators.
8878      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8879      for pkg in $enableval; do
8880	IFS=$lt_save_ifs
8881	if test "X$pkg" = "X$p"; then
8882	  enable_shared=yes
8883	fi
8884      done
8885      IFS=$lt_save_ifs
8886      ;;
8887    esac
8888else $as_nop
8889  enable_shared=yes
8890fi
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900  # Check whether --enable-static was given.
8901if test ${enable_static+y}
8902then :
8903  enableval=$enable_static; p=${PACKAGE-default}
8904    case $enableval in
8905    yes) enable_static=yes ;;
8906    no) enable_static=no ;;
8907    *)
8908     enable_static=no
8909      # Look at the argument we got.  We use all the common list separators.
8910      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8911      for pkg in $enableval; do
8912	IFS=$lt_save_ifs
8913	if test "X$pkg" = "X$p"; then
8914	  enable_static=yes
8915	fi
8916      done
8917      IFS=$lt_save_ifs
8918      ;;
8919    esac
8920else $as_nop
8921  enable_static=yes
8922fi
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933# Check whether --with-pic was given.
8934if test ${with_pic+y}
8935then :
8936  withval=$with_pic; lt_p=${PACKAGE-default}
8937    case $withval in
8938    yes|no) pic_mode=$withval ;;
8939    *)
8940      pic_mode=default
8941      # Look at the argument we got.  We use all the common list separators.
8942      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8943      for lt_pkg in $withval; do
8944	IFS=$lt_save_ifs
8945	if test "X$lt_pkg" = "X$lt_p"; then
8946	  pic_mode=yes
8947	fi
8948      done
8949      IFS=$lt_save_ifs
8950      ;;
8951    esac
8952else $as_nop
8953  pic_mode=default
8954fi
8955
8956
8957
8958
8959
8960
8961
8962
8963  # Check whether --enable-fast-install was given.
8964if test ${enable_fast_install+y}
8965then :
8966  enableval=$enable_fast_install; p=${PACKAGE-default}
8967    case $enableval in
8968    yes) enable_fast_install=yes ;;
8969    no) enable_fast_install=no ;;
8970    *)
8971      enable_fast_install=no
8972      # Look at the argument we got.  We use all the common list separators.
8973      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8974      for pkg in $enableval; do
8975	IFS=$lt_save_ifs
8976	if test "X$pkg" = "X$p"; then
8977	  enable_fast_install=yes
8978	fi
8979      done
8980      IFS=$lt_save_ifs
8981      ;;
8982    esac
8983else $as_nop
8984  enable_fast_install=yes
8985fi
8986
8987
8988
8989
8990
8991
8992
8993
8994  shared_archive_member_spec=
8995case $host,$enable_shared in
8996power*-*-aix[5-9]*,yes)
8997  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8998printf %s "checking which variant of shared library versioning to provide... " >&6; }
8999
9000# Check whether --with-aix-soname was given.
9001if test ${with_aix_soname+y}
9002then :
9003  withval=$with_aix_soname; case $withval in
9004    aix|svr4|both)
9005      ;;
9006    *)
9007      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9008      ;;
9009    esac
9010    lt_cv_with_aix_soname=$with_aix_soname
9011else $as_nop
9012  if test ${lt_cv_with_aix_soname+y}
9013then :
9014  printf %s "(cached) " >&6
9015else $as_nop
9016  lt_cv_with_aix_soname=aix
9017fi
9018
9019    with_aix_soname=$lt_cv_with_aix_soname
9020fi
9021
9022  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9023printf "%s\n" "$with_aix_soname" >&6; }
9024  if test aix != "$with_aix_soname"; then
9025    # For the AIX way of multilib, we name the shared archive member
9026    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9027    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9028    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9029    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9030    if test 64 = "${OBJECT_MODE-32}"; then
9031      shared_archive_member_spec=shr_64
9032    else
9033      shared_archive_member_spec=shr
9034    fi
9035  fi
9036  ;;
9037*)
9038  with_aix_soname=aix
9039  ;;
9040esac
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051# This can be used to rebuild libtool when needed
9052LIBTOOL_DEPS=$ltmain
9053
9054# Always use our own libtool.
9055LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086test -z "$LN_S" && LN_S="ln -s"
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101if test -n "${ZSH_VERSION+set}"; then
9102   setopt NO_GLOB_SUBST
9103fi
9104
9105{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9106printf %s "checking for objdir... " >&6; }
9107if test ${lt_cv_objdir+y}
9108then :
9109  printf %s "(cached) " >&6
9110else $as_nop
9111  rm -f .libs 2>/dev/null
9112mkdir .libs 2>/dev/null
9113if test -d .libs; then
9114  lt_cv_objdir=.libs
9115else
9116  # MS-DOS does not allow filenames that begin with a dot.
9117  lt_cv_objdir=_libs
9118fi
9119rmdir .libs 2>/dev/null
9120fi
9121{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9122printf "%s\n" "$lt_cv_objdir" >&6; }
9123objdir=$lt_cv_objdir
9124
9125
9126
9127
9128
9129printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
9130
9131
9132
9133
9134case $host_os in
9135aix3*)
9136  # AIX sometimes has problems with the GCC collect2 program.  For some
9137  # reason, if we set the COLLECT_NAMES environment variable, the problems
9138  # vanish in a puff of smoke.
9139  if test set != "${COLLECT_NAMES+set}"; then
9140    COLLECT_NAMES=
9141    export COLLECT_NAMES
9142  fi
9143  ;;
9144esac
9145
9146# Global variables:
9147ofile=libtool
9148can_build_shared=yes
9149
9150# All known linkers require a '.a' archive for static linking (except MSVC and
9151# ICC, which need '.lib').
9152libext=a
9153
9154with_gnu_ld=$lt_cv_prog_gnu_ld
9155
9156old_CC=$CC
9157old_CFLAGS=$CFLAGS
9158
9159# Set sane defaults for various variables
9160test -z "$CC" && CC=cc
9161test -z "$LTCC" && LTCC=$CC
9162test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9163test -z "$LD" && LD=ld
9164test -z "$ac_objext" && ac_objext=o
9165
9166func_cc_basename $compiler
9167cc_basename=$func_cc_basename_result
9168
9169
9170# Only perform the check for file, if the check method requires it
9171test -z "$MAGIC_CMD" && MAGIC_CMD=file
9172case $deplibs_check_method in
9173file_magic*)
9174  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9175    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9176printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9177if test ${lt_cv_path_MAGIC_CMD+y}
9178then :
9179  printf %s "(cached) " >&6
9180else $as_nop
9181  case $MAGIC_CMD in
9182[\\/*] |  ?:[\\/]*)
9183  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9184  ;;
9185*)
9186  lt_save_MAGIC_CMD=$MAGIC_CMD
9187  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9188  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9189  for ac_dir in $ac_dummy; do
9190    IFS=$lt_save_ifs
9191    test -z "$ac_dir" && ac_dir=.
9192    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9193      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9194      if test -n "$file_magic_test_file"; then
9195	case $deplibs_check_method in
9196	"file_magic "*)
9197	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9198	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9199	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9200	    $EGREP "$file_magic_regex" > /dev/null; then
9201	    :
9202	  else
9203	    cat <<_LT_EOF 1>&2
9204
9205*** Warning: the command libtool uses to detect shared libraries,
9206*** $file_magic_cmd, produces output that libtool cannot recognize.
9207*** The result is that libtool may fail to recognize shared libraries
9208*** as such.  This will affect the creation of libtool libraries that
9209*** depend on shared libraries, but programs linked with such libtool
9210*** libraries will work regardless of this problem.  Nevertheless, you
9211*** may want to report the problem to your system manager and/or to
9212*** bug-libtool@gnu.org
9213
9214_LT_EOF
9215	  fi ;;
9216	esac
9217      fi
9218      break
9219    fi
9220  done
9221  IFS=$lt_save_ifs
9222  MAGIC_CMD=$lt_save_MAGIC_CMD
9223  ;;
9224esac
9225fi
9226
9227MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9228if test -n "$MAGIC_CMD"; then
9229  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9230printf "%s\n" "$MAGIC_CMD" >&6; }
9231else
9232  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233printf "%s\n" "no" >&6; }
9234fi
9235
9236
9237
9238
9239
9240if test -z "$lt_cv_path_MAGIC_CMD"; then
9241  if test -n "$ac_tool_prefix"; then
9242    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9243printf %s "checking for file... " >&6; }
9244if test ${lt_cv_path_MAGIC_CMD+y}
9245then :
9246  printf %s "(cached) " >&6
9247else $as_nop
9248  case $MAGIC_CMD in
9249[\\/*] |  ?:[\\/]*)
9250  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9251  ;;
9252*)
9253  lt_save_MAGIC_CMD=$MAGIC_CMD
9254  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9255  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9256  for ac_dir in $ac_dummy; do
9257    IFS=$lt_save_ifs
9258    test -z "$ac_dir" && ac_dir=.
9259    if test -f "$ac_dir/file"; then
9260      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9261      if test -n "$file_magic_test_file"; then
9262	case $deplibs_check_method in
9263	"file_magic "*)
9264	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9265	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9266	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9267	    $EGREP "$file_magic_regex" > /dev/null; then
9268	    :
9269	  else
9270	    cat <<_LT_EOF 1>&2
9271
9272*** Warning: the command libtool uses to detect shared libraries,
9273*** $file_magic_cmd, produces output that libtool cannot recognize.
9274*** The result is that libtool may fail to recognize shared libraries
9275*** as such.  This will affect the creation of libtool libraries that
9276*** depend on shared libraries, but programs linked with such libtool
9277*** libraries will work regardless of this problem.  Nevertheless, you
9278*** may want to report the problem to your system manager and/or to
9279*** bug-libtool@gnu.org
9280
9281_LT_EOF
9282	  fi ;;
9283	esac
9284      fi
9285      break
9286    fi
9287  done
9288  IFS=$lt_save_ifs
9289  MAGIC_CMD=$lt_save_MAGIC_CMD
9290  ;;
9291esac
9292fi
9293
9294MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9295if test -n "$MAGIC_CMD"; then
9296  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9297printf "%s\n" "$MAGIC_CMD" >&6; }
9298else
9299  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300printf "%s\n" "no" >&6; }
9301fi
9302
9303
9304  else
9305    MAGIC_CMD=:
9306  fi
9307fi
9308
9309  fi
9310  ;;
9311esac
9312
9313# Use C for the default configuration in the libtool script
9314
9315lt_save_CC=$CC
9316ac_ext=c
9317ac_cpp='$CPP $CPPFLAGS'
9318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9320ac_compiler_gnu=$ac_cv_c_compiler_gnu
9321
9322
9323# Source file extension for C test sources.
9324ac_ext=c
9325
9326# Object file extension for compiled C test sources.
9327objext=o
9328objext=$objext
9329
9330# Code to be used in simple compile tests
9331lt_simple_compile_test_code="int some_variable = 0;"
9332
9333# Code to be used in simple link tests
9334lt_simple_link_test_code='int main(){return(0);}'
9335
9336
9337
9338
9339
9340
9341
9342# If no C compiler was specified, use CC.
9343LTCC=${LTCC-"$CC"}
9344
9345# If no C compiler flags were specified, use CFLAGS.
9346LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9347
9348# Allow CC to be a program name with arguments.
9349compiler=$CC
9350
9351# Save the default compiler, since it gets overwritten when the other
9352# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9353compiler_DEFAULT=$CC
9354
9355# save warnings/boilerplate of simple test code
9356ac_outfile=conftest.$ac_objext
9357echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9358eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9359_lt_compiler_boilerplate=`cat conftest.err`
9360$RM conftest*
9361
9362ac_outfile=conftest.$ac_objext
9363echo "$lt_simple_link_test_code" >conftest.$ac_ext
9364eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9365_lt_linker_boilerplate=`cat conftest.err`
9366$RM -r conftest*
9367
9368
9369## CAVEAT EMPTOR:
9370## There is no encapsulation within the following macros, do not change
9371## the running order or otherwise move them around unless you know exactly
9372## what you are doing...
9373if test -n "$compiler"; then
9374
9375lt_prog_compiler_no_builtin_flag=
9376
9377if test yes = "$GCC"; then
9378  case $cc_basename in
9379  nvcc*)
9380    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9381  *)
9382    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9383  esac
9384
9385  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9386printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9387if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9388then :
9389  printf %s "(cached) " >&6
9390else $as_nop
9391  lt_cv_prog_compiler_rtti_exceptions=no
9392   ac_outfile=conftest.$ac_objext
9393   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9394   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9395   # Insert the option either (1) after the last *FLAGS variable, or
9396   # (2) before a word containing "conftest.", or (3) at the end.
9397   # Note that $ac_compile itself does not contain backslashes and begins
9398   # with a dollar sign (not a hyphen), so the echo should work correctly.
9399   # The option is referenced via a variable to avoid confusing sed.
9400   lt_compile=`echo "$ac_compile" | $SED \
9401   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9402   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9403   -e 's:$: $lt_compiler_flag:'`
9404   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9405   (eval "$lt_compile" 2>conftest.err)
9406   ac_status=$?
9407   cat conftest.err >&5
9408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409   if (exit $ac_status) && test -s "$ac_outfile"; then
9410     # The compiler can only warn and ignore the option if not recognized
9411     # So say no if there are warnings other than the usual output.
9412     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9413     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9414     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9415       lt_cv_prog_compiler_rtti_exceptions=yes
9416     fi
9417   fi
9418   $RM conftest*
9419
9420fi
9421{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9422printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9423
9424if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9425    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9426else
9427    :
9428fi
9429
9430fi
9431
9432
9433
9434
9435
9436
9437  lt_prog_compiler_wl=
9438lt_prog_compiler_pic=
9439lt_prog_compiler_static=
9440
9441
9442  if test yes = "$GCC"; then
9443    lt_prog_compiler_wl='-Wl,'
9444    lt_prog_compiler_static='-static'
9445
9446    case $host_os in
9447      aix*)
9448      # All AIX code is PIC.
9449      if test ia64 = "$host_cpu"; then
9450	# AIX 5 now supports IA64 processor
9451	lt_prog_compiler_static='-Bstatic'
9452      fi
9453      lt_prog_compiler_pic='-fPIC'
9454      ;;
9455
9456    amigaos*)
9457      case $host_cpu in
9458      powerpc)
9459            # see comment about AmigaOS4 .so support
9460            lt_prog_compiler_pic='-fPIC'
9461        ;;
9462      m68k)
9463            # FIXME: we need at least 68020 code to build shared libraries, but
9464            # adding the '-m68020' flag to GCC prevents building anything better,
9465            # like '-m68040'.
9466            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9467        ;;
9468      esac
9469      ;;
9470
9471    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9472      # PIC is the default for these OSes.
9473      ;;
9474
9475    mingw* | cygwin* | pw32* | os2* | cegcc*)
9476      # This hack is so that the source file can tell whether it is being
9477      # built for inclusion in a dll (and should export symbols for example).
9478      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9479      # (--disable-auto-import) libraries
9480      lt_prog_compiler_pic='-DDLL_EXPORT'
9481      case $host_os in
9482      os2*)
9483	lt_prog_compiler_static='$wl-static'
9484	;;
9485      esac
9486      ;;
9487
9488    darwin* | rhapsody*)
9489      # PIC is the default on this platform
9490      # Common symbols not allowed in MH_DYLIB files
9491      lt_prog_compiler_pic='-fno-common'
9492      ;;
9493
9494    haiku*)
9495      # PIC is the default for Haiku.
9496      # The "-static" flag exists, but is broken.
9497      lt_prog_compiler_static=
9498      ;;
9499
9500    hpux*)
9501      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9502      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9503      # sets the default TLS model and affects inlining.
9504      case $host_cpu in
9505      hppa*64*)
9506	# +Z the default
9507	;;
9508      *)
9509	lt_prog_compiler_pic='-fPIC'
9510	;;
9511      esac
9512      ;;
9513
9514    interix[3-9]*)
9515      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9516      # Instead, we relocate shared libraries at runtime.
9517      ;;
9518
9519    msdosdjgpp*)
9520      # Just because we use GCC doesn't mean we suddenly get shared libraries
9521      # on systems that don't support them.
9522      lt_prog_compiler_can_build_shared=no
9523      enable_shared=no
9524      ;;
9525
9526    *nto* | *qnx*)
9527      # QNX uses GNU C++, but need to define -shared option too, otherwise
9528      # it will coredump.
9529      lt_prog_compiler_pic='-fPIC -shared'
9530      ;;
9531
9532    sysv4*MP*)
9533      if test -d /usr/nec; then
9534	lt_prog_compiler_pic=-Kconform_pic
9535      fi
9536      ;;
9537
9538    *)
9539      lt_prog_compiler_pic='-fPIC'
9540      ;;
9541    esac
9542
9543    case $cc_basename in
9544    nvcc*) # Cuda Compiler Driver 2.2
9545      lt_prog_compiler_wl='-Xlinker '
9546      if test -n "$lt_prog_compiler_pic"; then
9547        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9548      fi
9549      ;;
9550    esac
9551  else
9552    # PORTME Check for flag to pass linker flags through the system compiler.
9553    case $host_os in
9554    aix*)
9555      lt_prog_compiler_wl='-Wl,'
9556      if test ia64 = "$host_cpu"; then
9557	# AIX 5 now supports IA64 processor
9558	lt_prog_compiler_static='-Bstatic'
9559      else
9560	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9561      fi
9562      ;;
9563
9564    darwin* | rhapsody*)
9565      # PIC is the default on this platform
9566      # Common symbols not allowed in MH_DYLIB files
9567      lt_prog_compiler_pic='-fno-common'
9568      case $cc_basename in
9569      nagfor*)
9570        # NAG Fortran compiler
9571        lt_prog_compiler_wl='-Wl,-Wl,,'
9572        lt_prog_compiler_pic='-PIC'
9573        lt_prog_compiler_static='-Bstatic'
9574        ;;
9575      esac
9576      ;;
9577
9578    mingw* | cygwin* | pw32* | os2* | cegcc*)
9579      # This hack is so that the source file can tell whether it is being
9580      # built for inclusion in a dll (and should export symbols for example).
9581      lt_prog_compiler_pic='-DDLL_EXPORT'
9582      case $host_os in
9583      os2*)
9584	lt_prog_compiler_static='$wl-static'
9585	;;
9586      esac
9587      ;;
9588
9589    hpux9* | hpux10* | hpux11*)
9590      lt_prog_compiler_wl='-Wl,'
9591      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9592      # not for PA HP-UX.
9593      case $host_cpu in
9594      hppa*64*|ia64*)
9595	# +Z the default
9596	;;
9597      *)
9598	lt_prog_compiler_pic='+Z'
9599	;;
9600      esac
9601      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9602      lt_prog_compiler_static='$wl-a ${wl}archive'
9603      ;;
9604
9605    irix5* | irix6* | nonstopux*)
9606      lt_prog_compiler_wl='-Wl,'
9607      # PIC (with -KPIC) is the default.
9608      lt_prog_compiler_static='-non_shared'
9609      ;;
9610
9611    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9612      case $cc_basename in
9613      # old Intel for x86_64, which still supported -KPIC.
9614      ecc*)
9615	lt_prog_compiler_wl='-Wl,'
9616	lt_prog_compiler_pic='-KPIC'
9617	lt_prog_compiler_static='-static'
9618        ;;
9619      # flang / f18. f95 an alias for gfortran or flang on Debian
9620      flang* | f18* | f95*)
9621	lt_prog_compiler_wl='-Wl,'
9622	lt_prog_compiler_pic='-fPIC'
9623	lt_prog_compiler_static='-static'
9624        ;;
9625      # icc used to be incompatible with GCC.
9626      # ICC 10 doesn't accept -KPIC any more.
9627      icc* | ifort*)
9628	lt_prog_compiler_wl='-Wl,'
9629	lt_prog_compiler_pic='-fPIC'
9630	lt_prog_compiler_static='-static'
9631        ;;
9632      # Lahey Fortran 8.1.
9633      lf95*)
9634	lt_prog_compiler_wl='-Wl,'
9635	lt_prog_compiler_pic='--shared'
9636	lt_prog_compiler_static='--static'
9637	;;
9638      nagfor*)
9639	# NAG Fortran compiler
9640	lt_prog_compiler_wl='-Wl,-Wl,,'
9641	lt_prog_compiler_pic='-PIC'
9642	lt_prog_compiler_static='-Bstatic'
9643	;;
9644      tcc*)
9645	# Fabrice Bellard et al's Tiny C Compiler
9646	lt_prog_compiler_wl='-Wl,'
9647	lt_prog_compiler_pic='-fPIC'
9648	lt_prog_compiler_static='-static'
9649	;;
9650      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9651        # Portland Group compilers (*not* the Pentium gcc compiler,
9652	# which looks to be a dead project)
9653	lt_prog_compiler_wl='-Wl,'
9654	lt_prog_compiler_pic='-fpic'
9655	lt_prog_compiler_static='-Bstatic'
9656        ;;
9657      ccc*)
9658        lt_prog_compiler_wl='-Wl,'
9659        # All Alpha code is PIC.
9660        lt_prog_compiler_static='-non_shared'
9661        ;;
9662      xl* | bgxl* | bgf* | mpixl*)
9663	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9664	lt_prog_compiler_wl='-Wl,'
9665	lt_prog_compiler_pic='-qpic'
9666	lt_prog_compiler_static='-qstaticlink'
9667	;;
9668      *)
9669	case `$CC -V 2>&1 | $SED 5q` in
9670	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9671	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9672	  lt_prog_compiler_pic='-KPIC'
9673	  lt_prog_compiler_static='-Bstatic'
9674	  lt_prog_compiler_wl=''
9675	  ;;
9676	*Sun\ F* | *Sun*Fortran*)
9677	  lt_prog_compiler_pic='-KPIC'
9678	  lt_prog_compiler_static='-Bstatic'
9679	  lt_prog_compiler_wl='-Qoption ld '
9680	  ;;
9681	*Sun\ C*)
9682	  # Sun C 5.9
9683	  lt_prog_compiler_pic='-KPIC'
9684	  lt_prog_compiler_static='-Bstatic'
9685	  lt_prog_compiler_wl='-Wl,'
9686	  ;;
9687        *Intel*\ [CF]*Compiler*)
9688	  lt_prog_compiler_wl='-Wl,'
9689	  lt_prog_compiler_pic='-fPIC'
9690	  lt_prog_compiler_static='-static'
9691	  ;;
9692	*Portland\ Group*)
9693	  lt_prog_compiler_wl='-Wl,'
9694	  lt_prog_compiler_pic='-fpic'
9695	  lt_prog_compiler_static='-Bstatic'
9696	  ;;
9697	esac
9698	;;
9699      esac
9700      ;;
9701
9702    newsos6)
9703      lt_prog_compiler_pic='-KPIC'
9704      lt_prog_compiler_static='-Bstatic'
9705      ;;
9706
9707    *nto* | *qnx*)
9708      # QNX uses GNU C++, but need to define -shared option too, otherwise
9709      # it will coredump.
9710      lt_prog_compiler_pic='-fPIC -shared'
9711      ;;
9712
9713    osf3* | osf4* | osf5*)
9714      lt_prog_compiler_wl='-Wl,'
9715      # All OSF/1 code is PIC.
9716      lt_prog_compiler_static='-non_shared'
9717      ;;
9718
9719    rdos*)
9720      lt_prog_compiler_static='-non_shared'
9721      ;;
9722
9723    solaris*)
9724      lt_prog_compiler_pic='-KPIC'
9725      lt_prog_compiler_static='-Bstatic'
9726      case $cc_basename in
9727      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9728	lt_prog_compiler_wl='-Qoption ld ';;
9729      *)
9730	lt_prog_compiler_wl='-Wl,';;
9731      esac
9732      ;;
9733
9734    sunos4*)
9735      lt_prog_compiler_wl='-Qoption ld '
9736      lt_prog_compiler_pic='-PIC'
9737      lt_prog_compiler_static='-Bstatic'
9738      ;;
9739
9740    sysv4 | sysv4.2uw2* | sysv4.3*)
9741      lt_prog_compiler_wl='-Wl,'
9742      lt_prog_compiler_pic='-KPIC'
9743      lt_prog_compiler_static='-Bstatic'
9744      ;;
9745
9746    sysv4*MP*)
9747      if test -d /usr/nec; then
9748	lt_prog_compiler_pic='-Kconform_pic'
9749	lt_prog_compiler_static='-Bstatic'
9750      fi
9751      ;;
9752
9753    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9754      lt_prog_compiler_wl='-Wl,'
9755      lt_prog_compiler_pic='-KPIC'
9756      lt_prog_compiler_static='-Bstatic'
9757      ;;
9758
9759    unicos*)
9760      lt_prog_compiler_wl='-Wl,'
9761      lt_prog_compiler_can_build_shared=no
9762      ;;
9763
9764    uts4*)
9765      lt_prog_compiler_pic='-pic'
9766      lt_prog_compiler_static='-Bstatic'
9767      ;;
9768
9769    *)
9770      lt_prog_compiler_can_build_shared=no
9771      ;;
9772    esac
9773  fi
9774
9775case $host_os in
9776  # For platforms that do not support PIC, -DPIC is meaningless:
9777  *djgpp*)
9778    lt_prog_compiler_pic=
9779    ;;
9780  *)
9781    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9782    ;;
9783esac
9784
9785{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9786printf %s "checking for $compiler option to produce PIC... " >&6; }
9787if test ${lt_cv_prog_compiler_pic+y}
9788then :
9789  printf %s "(cached) " >&6
9790else $as_nop
9791  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9792fi
9793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9794printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9795lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9796
9797#
9798# Check to make sure the PIC flag actually works.
9799#
9800if test -n "$lt_prog_compiler_pic"; then
9801  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9802printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9803if test ${lt_cv_prog_compiler_pic_works+y}
9804then :
9805  printf %s "(cached) " >&6
9806else $as_nop
9807  lt_cv_prog_compiler_pic_works=no
9808   ac_outfile=conftest.$ac_objext
9809   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9810   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9811   # Insert the option either (1) after the last *FLAGS variable, or
9812   # (2) before a word containing "conftest.", or (3) at the end.
9813   # Note that $ac_compile itself does not contain backslashes and begins
9814   # with a dollar sign (not a hyphen), so the echo should work correctly.
9815   # The option is referenced via a variable to avoid confusing sed.
9816   lt_compile=`echo "$ac_compile" | $SED \
9817   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9818   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9819   -e 's:$: $lt_compiler_flag:'`
9820   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9821   (eval "$lt_compile" 2>conftest.err)
9822   ac_status=$?
9823   cat conftest.err >&5
9824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825   if (exit $ac_status) && test -s "$ac_outfile"; then
9826     # The compiler can only warn and ignore the option if not recognized
9827     # So say no if there are warnings other than the usual output.
9828     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9829     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9830     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9831       lt_cv_prog_compiler_pic_works=yes
9832     fi
9833   fi
9834   $RM conftest*
9835
9836fi
9837{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9838printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9839
9840if test yes = "$lt_cv_prog_compiler_pic_works"; then
9841    case $lt_prog_compiler_pic in
9842     "" | " "*) ;;
9843     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9844     esac
9845else
9846    lt_prog_compiler_pic=
9847     lt_prog_compiler_can_build_shared=no
9848fi
9849
9850fi
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862#
9863# Check to make sure the static flag actually works.
9864#
9865wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9866{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9867printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9868if test ${lt_cv_prog_compiler_static_works+y}
9869then :
9870  printf %s "(cached) " >&6
9871else $as_nop
9872  lt_cv_prog_compiler_static_works=no
9873   save_LDFLAGS=$LDFLAGS
9874   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9875   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9876   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9877     # The linker can only warn and ignore the option if not recognized
9878     # So say no if there are warnings
9879     if test -s conftest.err; then
9880       # Append any errors to the config.log.
9881       cat conftest.err 1>&5
9882       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9883       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9884       if diff conftest.exp conftest.er2 >/dev/null; then
9885         lt_cv_prog_compiler_static_works=yes
9886       fi
9887     else
9888       lt_cv_prog_compiler_static_works=yes
9889     fi
9890   fi
9891   $RM -r conftest*
9892   LDFLAGS=$save_LDFLAGS
9893
9894fi
9895{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9896printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9897
9898if test yes = "$lt_cv_prog_compiler_static_works"; then
9899    :
9900else
9901    lt_prog_compiler_static=
9902fi
9903
9904
9905
9906
9907
9908
9909
9910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9911printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9912if test ${lt_cv_prog_compiler_c_o+y}
9913then :
9914  printf %s "(cached) " >&6
9915else $as_nop
9916  lt_cv_prog_compiler_c_o=no
9917   $RM -r conftest 2>/dev/null
9918   mkdir conftest
9919   cd conftest
9920   mkdir out
9921   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9922
9923   lt_compiler_flag="-o out/conftest2.$ac_objext"
9924   # Insert the option either (1) after the last *FLAGS variable, or
9925   # (2) before a word containing "conftest.", or (3) at the end.
9926   # Note that $ac_compile itself does not contain backslashes and begins
9927   # with a dollar sign (not a hyphen), so the echo should work correctly.
9928   lt_compile=`echo "$ac_compile" | $SED \
9929   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9930   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9931   -e 's:$: $lt_compiler_flag:'`
9932   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9933   (eval "$lt_compile" 2>out/conftest.err)
9934   ac_status=$?
9935   cat out/conftest.err >&5
9936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9938   then
9939     # The compiler can only warn and ignore the option if not recognized
9940     # So say no if there are warnings
9941     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9942     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9943     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9944       lt_cv_prog_compiler_c_o=yes
9945     fi
9946   fi
9947   chmod u+w . 2>&5
9948   $RM conftest*
9949   # SGI C++ compiler will create directory out/ii_files/ for
9950   # template instantiation
9951   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9952   $RM out/* && rmdir out
9953   cd ..
9954   $RM -r conftest
9955   $RM conftest*
9956
9957fi
9958{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9959printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9960
9961
9962
9963
9964
9965
9966  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9967printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9968if test ${lt_cv_prog_compiler_c_o+y}
9969then :
9970  printf %s "(cached) " >&6
9971else $as_nop
9972  lt_cv_prog_compiler_c_o=no
9973   $RM -r conftest 2>/dev/null
9974   mkdir conftest
9975   cd conftest
9976   mkdir out
9977   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9978
9979   lt_compiler_flag="-o out/conftest2.$ac_objext"
9980   # Insert the option either (1) after the last *FLAGS variable, or
9981   # (2) before a word containing "conftest.", or (3) at the end.
9982   # Note that $ac_compile itself does not contain backslashes and begins
9983   # with a dollar sign (not a hyphen), so the echo should work correctly.
9984   lt_compile=`echo "$ac_compile" | $SED \
9985   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9986   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9987   -e 's:$: $lt_compiler_flag:'`
9988   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9989   (eval "$lt_compile" 2>out/conftest.err)
9990   ac_status=$?
9991   cat out/conftest.err >&5
9992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9994   then
9995     # The compiler can only warn and ignore the option if not recognized
9996     # So say no if there are warnings
9997     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9998     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9999     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10000       lt_cv_prog_compiler_c_o=yes
10001     fi
10002   fi
10003   chmod u+w . 2>&5
10004   $RM conftest*
10005   # SGI C++ compiler will create directory out/ii_files/ for
10006   # template instantiation
10007   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10008   $RM out/* && rmdir out
10009   cd ..
10010   $RM -r conftest
10011   $RM conftest*
10012
10013fi
10014{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10015printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
10016
10017
10018
10019
10020hard_links=nottested
10021if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10022  # do not overwrite the value of need_locks provided by the user
10023  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10024printf %s "checking if we can lock with hard links... " >&6; }
10025  hard_links=yes
10026  $RM conftest*
10027  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10028  touch conftest.a
10029  ln conftest.a conftest.b 2>&5 || hard_links=no
10030  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10031  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10032printf "%s\n" "$hard_links" >&6; }
10033  if test no = "$hard_links"; then
10034    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10035printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10036    need_locks=warn
10037  fi
10038else
10039  need_locks=no
10040fi
10041
10042
10043
10044
10045
10046
10047  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10048printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10049
10050  runpath_var=
10051  allow_undefined_flag=
10052  always_export_symbols=no
10053  archive_cmds=
10054  archive_expsym_cmds=
10055  compiler_needs_object=no
10056  enable_shared_with_static_runtimes=no
10057  export_dynamic_flag_spec=
10058  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10059  hardcode_automatic=no
10060  hardcode_direct=no
10061  hardcode_direct_absolute=no
10062  hardcode_libdir_flag_spec=
10063  hardcode_libdir_separator=
10064  hardcode_minus_L=no
10065  hardcode_shlibpath_var=unsupported
10066  inherit_rpath=no
10067  link_all_deplibs=unknown
10068  module_cmds=
10069  module_expsym_cmds=
10070  old_archive_from_new_cmds=
10071  old_archive_from_expsyms_cmds=
10072  thread_safe_flag_spec=
10073  whole_archive_flag_spec=
10074  # include_expsyms should be a list of space-separated symbols to be *always*
10075  # included in the symbol list
10076  include_expsyms=
10077  # exclude_expsyms can be an extended regexp of symbols to exclude
10078  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10079  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10080  # as well as any symbol that contains 'd'.
10081  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10082  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10083  # platforms (ab)use it in PIC code, but their linkers get confused if
10084  # the symbol is explicitly referenced.  Since portable code cannot
10085  # rely on this symbol name, it's probably fine to never include it in
10086  # preloaded symbol tables.
10087  # Exclude shared library initialization/finalization symbols.
10088  extract_expsyms_cmds=
10089
10090  case $host_os in
10091  cygwin* | mingw* | pw32* | cegcc*)
10092    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
10093    # When not using gcc, we currently assume that we are using
10094    # Microsoft Visual C++ or Intel C++ Compiler.
10095    if test yes != "$GCC"; then
10096      with_gnu_ld=no
10097    fi
10098    ;;
10099  interix*)
10100    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
10101    with_gnu_ld=yes
10102    ;;
10103  openbsd* | bitrig*)
10104    with_gnu_ld=no
10105    ;;
10106  linux* | k*bsd*-gnu | gnu*)
10107    link_all_deplibs=no
10108    ;;
10109  esac
10110
10111  ld_shlibs=yes
10112
10113  # On some targets, GNU ld is compatible enough with the native linker
10114  # that we're better off using the native interface for both.
10115  lt_use_gnu_ld_interface=no
10116  if test yes = "$with_gnu_ld"; then
10117    case $host_os in
10118      aix*)
10119	# The AIX port of GNU ld has always aspired to compatibility
10120	# with the native linker.  However, as the warning in the GNU ld
10121	# block says, versions before 2.19.5* couldn't really create working
10122	# shared libraries, regardless of the interface used.
10123	case `$LD -v 2>&1` in
10124	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10125	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10126	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10127	  *)
10128	    lt_use_gnu_ld_interface=yes
10129	    ;;
10130	esac
10131	;;
10132      *)
10133	lt_use_gnu_ld_interface=yes
10134	;;
10135    esac
10136  fi
10137
10138  if test yes = "$lt_use_gnu_ld_interface"; then
10139    # If archive_cmds runs LD, not CC, wlarc should be empty
10140    wlarc='$wl'
10141
10142    # Set some defaults for GNU ld with shared library support. These
10143    # are reset later if shared libraries are not supported. Putting them
10144    # here allows them to be overridden if necessary.
10145    runpath_var=LD_RUN_PATH
10146    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10147    export_dynamic_flag_spec='$wl--export-dynamic'
10148    # ancient GNU ld didn't support --whole-archive et. al.
10149    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10150      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10151    else
10152      whole_archive_flag_spec=
10153    fi
10154    supports_anon_versioning=no
10155    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
10156      *GNU\ gold*) supports_anon_versioning=yes ;;
10157      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10158      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10159      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10160      *\ 2.11.*) ;; # other 2.11 versions
10161      *) supports_anon_versioning=yes ;;
10162    esac
10163
10164    # See if GNU ld supports shared libraries.
10165    case $host_os in
10166    aix[3-9]*)
10167      # On AIX/PPC, the GNU linker is very broken
10168      if test ia64 != "$host_cpu"; then
10169	ld_shlibs=no
10170	cat <<_LT_EOF 1>&2
10171
10172*** Warning: the GNU linker, at least up to release 2.19, is reported
10173*** to be unable to reliably create shared libraries on AIX.
10174*** Therefore, libtool is disabling shared libraries support.  If you
10175*** really care for shared libraries, you may want to install binutils
10176*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10177*** You will then need to restart the configuration process.
10178
10179_LT_EOF
10180      fi
10181      ;;
10182
10183    amigaos*)
10184      case $host_cpu in
10185      powerpc)
10186            # see comment about AmigaOS4 .so support
10187            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10188            archive_expsym_cmds=''
10189        ;;
10190      m68k)
10191            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)'
10192            hardcode_libdir_flag_spec='-L$libdir'
10193            hardcode_minus_L=yes
10194        ;;
10195      esac
10196      ;;
10197
10198    beos*)
10199      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10200	allow_undefined_flag=unsupported
10201	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10202	# support --undefined.  This deserves some investigation.  FIXME
10203	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10204      else
10205	ld_shlibs=no
10206      fi
10207      ;;
10208
10209    cygwin* | mingw* | pw32* | cegcc*)
10210      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10211      # as there is no search path for DLLs.
10212      hardcode_libdir_flag_spec='-L$libdir'
10213      export_dynamic_flag_spec='$wl--export-all-symbols'
10214      allow_undefined_flag=unsupported
10215      always_export_symbols=no
10216      enable_shared_with_static_runtimes=yes
10217      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'
10218      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10219
10220      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10221        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10222	# If the export-symbols file already is a .def file, use it as
10223	# is; otherwise, prepend EXPORTS...
10224	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10225          cp $export_symbols $output_objdir/$soname.def;
10226        else
10227          echo EXPORTS > $output_objdir/$soname.def;
10228          cat $export_symbols >> $output_objdir/$soname.def;
10229        fi~
10230        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10231      else
10232	ld_shlibs=no
10233      fi
10234      ;;
10235
10236    haiku*)
10237      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10238      link_all_deplibs=yes
10239      ;;
10240
10241    os2*)
10242      hardcode_libdir_flag_spec='-L$libdir'
10243      hardcode_minus_L=yes
10244      allow_undefined_flag=unsupported
10245      shrext_cmds=.dll
10246      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10247	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10248	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10249	$ECHO EXPORTS >> $output_objdir/$libname.def~
10250	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10251	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10252	emximp -o $lib $output_objdir/$libname.def'
10253      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10254	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10255	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10256	$ECHO EXPORTS >> $output_objdir/$libname.def~
10257	prefix_cmds="$SED"~
10258	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10259	  prefix_cmds="$prefix_cmds -e 1d";
10260	fi~
10261	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10262	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10263	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10264	emximp -o $lib $output_objdir/$libname.def'
10265      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10266      enable_shared_with_static_runtimes=yes
10267      file_list_spec='@'
10268      ;;
10269
10270    interix[3-9]*)
10271      hardcode_direct=no
10272      hardcode_shlibpath_var=no
10273      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10274      export_dynamic_flag_spec='$wl-E'
10275      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10276      # Instead, shared libraries are loaded at an image base (0x10000000 by
10277      # default) and relocated if they conflict, which is a slow very memory
10278      # consuming and fragmenting process.  To avoid this, we pick a random,
10279      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10280      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10281      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10282      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'
10283      ;;
10284
10285    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10286      tmp_diet=no
10287      if test linux-dietlibc = "$host_os"; then
10288	case $cc_basename in
10289	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10290	esac
10291      fi
10292      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10293	 && test no = "$tmp_diet"
10294      then
10295	tmp_addflag=' $pic_flag'
10296	tmp_sharedflag='-shared'
10297	case $cc_basename,$host_cpu in
10298        pgcc*)				# Portland Group C compiler
10299	  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'
10300	  tmp_addflag=' $pic_flag'
10301	  ;;
10302	pgf77* | pgf90* | pgf95* | pgfortran*)
10303					# Portland Group f77 and f90 compilers
10304	  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'
10305	  tmp_addflag=' $pic_flag -Mnomain' ;;
10306	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10307	  tmp_addflag=' -i_dynamic' ;;
10308	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10309	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10310	ifc* | ifort*)			# Intel Fortran compiler
10311	  tmp_addflag=' -nofor_main' ;;
10312	lf95*)				# Lahey Fortran 8.1
10313	  whole_archive_flag_spec=
10314	  tmp_sharedflag='--shared' ;;
10315        nagfor*)                        # NAGFOR 5.3
10316          tmp_sharedflag='-Wl,-shared' ;;
10317	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10318	  tmp_sharedflag='-qmkshrobj'
10319	  tmp_addflag= ;;
10320	nvcc*)	# Cuda Compiler Driver 2.2
10321	  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'
10322	  compiler_needs_object=yes
10323	  ;;
10324	esac
10325	case `$CC -V 2>&1 | $SED 5q` in
10326	*Sun\ C*)			# Sun C 5.9
10327	  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'
10328	  compiler_needs_object=yes
10329	  tmp_sharedflag='-G' ;;
10330	*Sun\ F*)			# Sun Fortran 8.3
10331	  tmp_sharedflag='-G' ;;
10332	esac
10333	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10334
10335        if test yes = "$supports_anon_versioning"; then
10336          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10337            cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10338            echo "local: *; };" >> $output_objdir/$libname.ver~
10339            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10340        fi
10341
10342	case $cc_basename in
10343	tcc*)
10344	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10345	  export_dynamic_flag_spec='-rdynamic'
10346	  ;;
10347	xlf* | bgf* | bgxlf* | mpixlf*)
10348	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10349	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10350	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10351	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10352	  if test yes = "$supports_anon_versioning"; then
10353	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10354              cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10355              echo "local: *; };" >> $output_objdir/$libname.ver~
10356              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10357	  fi
10358	  ;;
10359	esac
10360      else
10361        ld_shlibs=no
10362      fi
10363      ;;
10364
10365    netbsd* | netbsdelf*-gnu)
10366      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10367	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10368	wlarc=
10369      else
10370	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10371	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10372      fi
10373      ;;
10374
10375    solaris*)
10376      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10377	ld_shlibs=no
10378	cat <<_LT_EOF 1>&2
10379
10380*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10381*** create shared libraries on Solaris systems.  Therefore, libtool
10382*** is disabling shared libraries support.  We urge you to upgrade GNU
10383*** binutils to release 2.9.1 or newer.  Another option is to modify
10384*** your PATH or compiler configuration so that the native linker is
10385*** used, and then restart.
10386
10387_LT_EOF
10388      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10389	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10390	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10391      else
10392	ld_shlibs=no
10393      fi
10394      ;;
10395
10396    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10397      case `$LD -v 2>&1` in
10398        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10399	ld_shlibs=no
10400	cat <<_LT_EOF 1>&2
10401
10402*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10403*** reliably create shared libraries on SCO systems.  Therefore, libtool
10404*** is disabling shared libraries support.  We urge you to upgrade GNU
10405*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10406*** your PATH or compiler configuration so that the native linker is
10407*** used, and then restart.
10408
10409_LT_EOF
10410	;;
10411	*)
10412	  # For security reasons, it is highly recommended that you always
10413	  # use absolute paths for naming shared libraries, and exclude the
10414	  # DT_RUNPATH tag from executables and libraries.  But doing so
10415	  # requires that you compile everything twice, which is a pain.
10416	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10417	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10418	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10419	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10420	  else
10421	    ld_shlibs=no
10422	  fi
10423	;;
10424      esac
10425      ;;
10426
10427    sunos4*)
10428      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10429      wlarc=
10430      hardcode_direct=yes
10431      hardcode_shlibpath_var=no
10432      ;;
10433
10434    *)
10435      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10436	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10437	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10438      else
10439	ld_shlibs=no
10440      fi
10441      ;;
10442    esac
10443
10444    if test no = "$ld_shlibs"; then
10445      runpath_var=
10446      hardcode_libdir_flag_spec=
10447      export_dynamic_flag_spec=
10448      whole_archive_flag_spec=
10449    fi
10450  else
10451    # PORTME fill in a description of your system's linker (not GNU ld)
10452    case $host_os in
10453    aix3*)
10454      allow_undefined_flag=unsupported
10455      always_export_symbols=yes
10456      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'
10457      # Note: this linker hardcodes the directories in LIBPATH if there
10458      # are no directories specified by -L.
10459      hardcode_minus_L=yes
10460      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10461	# Neither direct hardcoding nor static linking is supported with a
10462	# broken collect2.
10463	hardcode_direct=unsupported
10464      fi
10465      ;;
10466
10467    aix[4-9]*)
10468      if test ia64 = "$host_cpu"; then
10469	# On IA64, the linker does run time linking by default, so we don't
10470	# have to do anything special.
10471	aix_use_runtimelinking=no
10472	exp_sym_flag='-Bexport'
10473	no_entry_flag=
10474      else
10475	# If we're using GNU nm, then we don't want the "-C" option.
10476	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10477	# Without the "-l" option, or with the "-B" option, AIX nm treats
10478	# weak defined symbols like other global defined symbols, whereas
10479	# GNU nm marks them as "W".
10480	# While the 'weak' keyword is ignored in the Export File, we need
10481	# it in the Import File for the 'aix-soname' feature, so we have
10482	# to replace the "-B" option with "-P" for AIX nm.
10483	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10484	  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'
10485	else
10486	  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 == "L") || (\$ 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'
10487	fi
10488	aix_use_runtimelinking=no
10489
10490	# Test if we are trying to use run time linking or normal
10491	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10492	# have runtime linking enabled, and use it for executables.
10493	# For shared libraries, we enable/disable runtime linking
10494	# depending on the kind of the shared library created -
10495	# when "with_aix_soname,aix_use_runtimelinking" is:
10496	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10497	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10498	#            lib.a           static archive
10499	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10500	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10501	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10502	#            lib.a(lib.so.V) shared, rtl:no
10503	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10504	#            lib.a           static archive
10505	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10506	  for ld_flag in $LDFLAGS; do
10507	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10508	    aix_use_runtimelinking=yes
10509	    break
10510	  fi
10511	  done
10512	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10513	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10514	    # so we don't have lib.a shared libs to link our executables.
10515	    # We have to force runtime linking in this case.
10516	    aix_use_runtimelinking=yes
10517	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10518	  fi
10519	  ;;
10520	esac
10521
10522	exp_sym_flag='-bexport'
10523	no_entry_flag='-bnoentry'
10524      fi
10525
10526      # When large executables or shared objects are built, AIX ld can
10527      # have problems creating the table of contents.  If linking a library
10528      # or program results in "error TOC overflow" add -mminimal-toc to
10529      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10530      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10531
10532      archive_cmds=''
10533      hardcode_direct=yes
10534      hardcode_direct_absolute=yes
10535      hardcode_libdir_separator=':'
10536      link_all_deplibs=yes
10537      file_list_spec='$wl-f,'
10538      case $with_aix_soname,$aix_use_runtimelinking in
10539      aix,*) ;; # traditional, no import file
10540      svr4,* | *,yes) # use import file
10541	# The Import File defines what to hardcode.
10542	hardcode_direct=no
10543	hardcode_direct_absolute=no
10544	;;
10545      esac
10546
10547      if test yes = "$GCC"; then
10548	case $host_os in aix4.[012]|aix4.[012].*)
10549	# We only want to do this on AIX 4.2 and lower, the check
10550	# below for broken collect2 doesn't work under 4.3+
10551	  collect2name=`$CC -print-prog-name=collect2`
10552	  if test -f "$collect2name" &&
10553	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10554	  then
10555	  # We have reworked collect2
10556	  :
10557	  else
10558	  # We have old collect2
10559	  hardcode_direct=unsupported
10560	  # It fails to find uninstalled libraries when the uninstalled
10561	  # path is not listed in the libpath.  Setting hardcode_minus_L
10562	  # to unsupported forces relinking
10563	  hardcode_minus_L=yes
10564	  hardcode_libdir_flag_spec='-L$libdir'
10565	  hardcode_libdir_separator=
10566	  fi
10567	  ;;
10568	esac
10569	shared_flag='-shared'
10570	if test yes = "$aix_use_runtimelinking"; then
10571	  shared_flag="$shared_flag "'$wl-G'
10572	fi
10573	# Need to ensure runtime linking is disabled for the traditional
10574	# shared library, or the linker may eventually find shared libraries
10575	# /with/ Import File - we do not want to mix them.
10576	shared_flag_aix='-shared'
10577	shared_flag_svr4='-shared $wl-G'
10578      else
10579	# not using gcc
10580	if test ia64 = "$host_cpu"; then
10581	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10582	# chokes on -Wl,-G. The following line is correct:
10583	  shared_flag='-G'
10584	else
10585	  if test yes = "$aix_use_runtimelinking"; then
10586	    shared_flag='$wl-G'
10587	  else
10588	    shared_flag='$wl-bM:SRE'
10589	  fi
10590	  shared_flag_aix='$wl-bM:SRE'
10591	  shared_flag_svr4='$wl-G'
10592	fi
10593      fi
10594
10595      export_dynamic_flag_spec='$wl-bexpall'
10596      # It seems that -bexpall does not export symbols beginning with
10597      # underscore (_), so it is better to generate a list of symbols to export.
10598      always_export_symbols=yes
10599      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10600	# Warning - without using the other runtime loading flags (-brtl),
10601	# -berok will link without error, but may produce a broken library.
10602	allow_undefined_flag='-berok'
10603        # Determine the default libpath from the value encoded in an
10604        # empty executable.
10605        if test set = "${lt_cv_aix_libpath+set}"; then
10606  aix_libpath=$lt_cv_aix_libpath
10607else
10608  if test ${lt_cv_aix_libpath_+y}
10609then :
10610  printf %s "(cached) " >&6
10611else $as_nop
10612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613/* end confdefs.h.  */
10614
10615int
10616main (void)
10617{
10618
10619  ;
10620  return 0;
10621}
10622_ACEOF
10623if ac_fn_c_try_link "$LINENO"
10624then :
10625
10626  lt_aix_libpath_sed='
10627      /Import File Strings/,/^$/ {
10628	  /^0/ {
10629	      s/^0  *\([^ ]*\) *$/\1/
10630	      p
10631	  }
10632      }'
10633  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10634  # Check for a 64-bit object if we didn't find anything.
10635  if test -z "$lt_cv_aix_libpath_"; then
10636    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10637  fi
10638fi
10639rm -f core conftest.err conftest.$ac_objext conftest.beam \
10640    conftest$ac_exeext conftest.$ac_ext
10641  if test -z "$lt_cv_aix_libpath_"; then
10642    lt_cv_aix_libpath_=/usr/lib:/lib
10643  fi
10644
10645fi
10646
10647  aix_libpath=$lt_cv_aix_libpath_
10648fi
10649
10650        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10651        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
10652      else
10653	if test ia64 = "$host_cpu"; then
10654	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10655	  allow_undefined_flag="-z nodefs"
10656	  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"
10657	else
10658	 # Determine the default libpath from the value encoded in an
10659	 # empty executable.
10660	 if test set = "${lt_cv_aix_libpath+set}"; then
10661  aix_libpath=$lt_cv_aix_libpath
10662else
10663  if test ${lt_cv_aix_libpath_+y}
10664then :
10665  printf %s "(cached) " >&6
10666else $as_nop
10667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668/* end confdefs.h.  */
10669
10670int
10671main (void)
10672{
10673
10674  ;
10675  return 0;
10676}
10677_ACEOF
10678if ac_fn_c_try_link "$LINENO"
10679then :
10680
10681  lt_aix_libpath_sed='
10682      /Import File Strings/,/^$/ {
10683	  /^0/ {
10684	      s/^0  *\([^ ]*\) *$/\1/
10685	      p
10686	  }
10687      }'
10688  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10689  # Check for a 64-bit object if we didn't find anything.
10690  if test -z "$lt_cv_aix_libpath_"; then
10691    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10692  fi
10693fi
10694rm -f core conftest.err conftest.$ac_objext conftest.beam \
10695    conftest$ac_exeext conftest.$ac_ext
10696  if test -z "$lt_cv_aix_libpath_"; then
10697    lt_cv_aix_libpath_=/usr/lib:/lib
10698  fi
10699
10700fi
10701
10702  aix_libpath=$lt_cv_aix_libpath_
10703fi
10704
10705	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10706	  # Warning - without using the other run time loading flags,
10707	  # -berok will link without error, but may produce a broken library.
10708	  no_undefined_flag=' $wl-bernotok'
10709	  allow_undefined_flag=' $wl-berok'
10710	  if test yes = "$with_gnu_ld"; then
10711	    # We only use this code for GNU lds that support --whole-archive.
10712	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10713	  else
10714	    # Exported symbols can be pulled into shared objects from archives
10715	    whole_archive_flag_spec='$convenience'
10716	  fi
10717	  archive_cmds_need_lc=yes
10718	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10719	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10720	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10721	  if test svr4 != "$with_aix_soname"; then
10722	    # This is similar to how AIX traditionally builds its shared libraries.
10723	    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'
10724	  fi
10725	  if test aix != "$with_aix_soname"; then
10726	    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'
10727	  else
10728	    # used by -dlpreopen to get the symbols
10729	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10730	  fi
10731	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10732	fi
10733      fi
10734      ;;
10735
10736    amigaos*)
10737      case $host_cpu in
10738      powerpc)
10739            # see comment about AmigaOS4 .so support
10740            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10741            archive_expsym_cmds=''
10742        ;;
10743      m68k)
10744            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)'
10745            hardcode_libdir_flag_spec='-L$libdir'
10746            hardcode_minus_L=yes
10747        ;;
10748      esac
10749      ;;
10750
10751    bsdi[45]*)
10752      export_dynamic_flag_spec=-rdynamic
10753      ;;
10754
10755    cygwin* | mingw* | pw32* | cegcc*)
10756      # When not using gcc, we currently assume that we are using
10757      # Microsoft Visual C++ or Intel C++ Compiler.
10758      # hardcode_libdir_flag_spec is actually meaningless, as there is
10759      # no search path for DLLs.
10760      case $cc_basename in
10761      cl* | icl*)
10762	# Native MSVC or ICC
10763	hardcode_libdir_flag_spec=' '
10764	allow_undefined_flag=unsupported
10765	always_export_symbols=yes
10766	file_list_spec='@'
10767	# Tell ltmain to make .lib files, not .a files.
10768	libext=lib
10769	# Tell ltmain to make .dll files, not .so files.
10770	shrext_cmds=.dll
10771	# FIXME: Setting linknames here is a bad hack.
10772	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10773	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10774            cp "$export_symbols" "$output_objdir/$soname.def";
10775            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10776          else
10777            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10778          fi~
10779          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10780          linknames='
10781	# The linker will not automatically build a static lib if we build a DLL.
10782	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10783	enable_shared_with_static_runtimes=yes
10784	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10785	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10786	# Don't use ranlib
10787	old_postinstall_cmds='chmod 644 $oldlib'
10788	postlink_cmds='lt_outputfile="@OUTPUT@"~
10789          lt_tool_outputfile="@TOOL_OUTPUT@"~
10790          case $lt_outputfile in
10791            *.exe|*.EXE) ;;
10792            *)
10793              lt_outputfile=$lt_outputfile.exe
10794              lt_tool_outputfile=$lt_tool_outputfile.exe
10795              ;;
10796          esac~
10797          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10798            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10799            $RM "$lt_outputfile.manifest";
10800          fi'
10801	;;
10802      *)
10803	# Assume MSVC and ICC wrapper
10804	hardcode_libdir_flag_spec=' '
10805	allow_undefined_flag=unsupported
10806	# Tell ltmain to make .lib files, not .a files.
10807	libext=lib
10808	# Tell ltmain to make .dll files, not .so files.
10809	shrext_cmds=.dll
10810	# FIXME: Setting linknames here is a bad hack.
10811	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10812	# The linker will automatically build a .lib file if we build a DLL.
10813	old_archive_from_new_cmds='true'
10814	# FIXME: Should let the user specify the lib program.
10815	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10816	enable_shared_with_static_runtimes=yes
10817	;;
10818      esac
10819      ;;
10820
10821    darwin* | rhapsody*)
10822
10823
10824  archive_cmds_need_lc=no
10825  hardcode_direct=no
10826  hardcode_automatic=yes
10827  hardcode_shlibpath_var=unsupported
10828  if test yes = "$lt_cv_ld_force_load"; then
10829    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\"`'
10830
10831  else
10832    whole_archive_flag_spec=''
10833  fi
10834  link_all_deplibs=yes
10835  allow_undefined_flag=$_lt_dar_allow_undefined
10836  case $cc_basename in
10837     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10838     *) _lt_dar_can_shared=$GCC ;;
10839  esac
10840  if test yes = "$_lt_dar_can_shared"; then
10841    output_verbose_link_cmd=func_echo_all
10842    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10843    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10844    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"
10845    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"
10846
10847  else
10848  ld_shlibs=no
10849  fi
10850
10851      ;;
10852
10853    dgux*)
10854      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10855      hardcode_libdir_flag_spec='-L$libdir'
10856      hardcode_shlibpath_var=no
10857      ;;
10858
10859    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10860    # support.  Future versions do this automatically, but an explicit c++rt0.o
10861    # does not break anything, and helps significantly (at the cost of a little
10862    # extra space).
10863    freebsd2.2*)
10864      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10865      hardcode_libdir_flag_spec='-R$libdir'
10866      hardcode_direct=yes
10867      hardcode_shlibpath_var=no
10868      ;;
10869
10870    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10871    freebsd2.*)
10872      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10873      hardcode_direct=yes
10874      hardcode_minus_L=yes
10875      hardcode_shlibpath_var=no
10876      ;;
10877
10878    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10879    freebsd* | dragonfly* | midnightbsd*)
10880      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10881      hardcode_libdir_flag_spec='-R$libdir'
10882      hardcode_direct=yes
10883      hardcode_shlibpath_var=no
10884      ;;
10885
10886    hpux9*)
10887      if test yes = "$GCC"; then
10888	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'
10889      else
10890	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'
10891      fi
10892      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10893      hardcode_libdir_separator=:
10894      hardcode_direct=yes
10895
10896      # hardcode_minus_L: Not really in the search PATH,
10897      # but as the default location of the library.
10898      hardcode_minus_L=yes
10899      export_dynamic_flag_spec='$wl-E'
10900      ;;
10901
10902    hpux10*)
10903      if test yes,no = "$GCC,$with_gnu_ld"; then
10904	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10905      else
10906	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10907      fi
10908      if test no = "$with_gnu_ld"; then
10909	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10910	hardcode_libdir_separator=:
10911	hardcode_direct=yes
10912	hardcode_direct_absolute=yes
10913	export_dynamic_flag_spec='$wl-E'
10914	# hardcode_minus_L: Not really in the search PATH,
10915	# but as the default location of the library.
10916	hardcode_minus_L=yes
10917      fi
10918      ;;
10919
10920    hpux11*)
10921      if test yes,no = "$GCC,$with_gnu_ld"; then
10922	case $host_cpu in
10923	hppa*64*)
10924	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10925	  ;;
10926	ia64*)
10927	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10928	  ;;
10929	*)
10930	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10931	  ;;
10932	esac
10933      else
10934	case $host_cpu in
10935	hppa*64*)
10936	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10937	  ;;
10938	ia64*)
10939	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10940	  ;;
10941	*)
10942
10943	  # Older versions of the 11.00 compiler do not understand -b yet
10944	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10945	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10946printf %s "checking if $CC understands -b... " >&6; }
10947if test ${lt_cv_prog_compiler__b+y}
10948then :
10949  printf %s "(cached) " >&6
10950else $as_nop
10951  lt_cv_prog_compiler__b=no
10952   save_LDFLAGS=$LDFLAGS
10953   LDFLAGS="$LDFLAGS -b"
10954   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10955   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10956     # The linker can only warn and ignore the option if not recognized
10957     # So say no if there are warnings
10958     if test -s conftest.err; then
10959       # Append any errors to the config.log.
10960       cat conftest.err 1>&5
10961       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10962       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10963       if diff conftest.exp conftest.er2 >/dev/null; then
10964         lt_cv_prog_compiler__b=yes
10965       fi
10966     else
10967       lt_cv_prog_compiler__b=yes
10968     fi
10969   fi
10970   $RM -r conftest*
10971   LDFLAGS=$save_LDFLAGS
10972
10973fi
10974{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10975printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10976
10977if test yes = "$lt_cv_prog_compiler__b"; then
10978    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10979else
10980    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10981fi
10982
10983	  ;;
10984	esac
10985      fi
10986      if test no = "$with_gnu_ld"; then
10987	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10988	hardcode_libdir_separator=:
10989
10990	case $host_cpu in
10991	hppa*64*|ia64*)
10992	  hardcode_direct=no
10993	  hardcode_shlibpath_var=no
10994	  ;;
10995	*)
10996	  hardcode_direct=yes
10997	  hardcode_direct_absolute=yes
10998	  export_dynamic_flag_spec='$wl-E'
10999
11000	  # hardcode_minus_L: Not really in the search PATH,
11001	  # but as the default location of the library.
11002	  hardcode_minus_L=yes
11003	  ;;
11004	esac
11005      fi
11006      ;;
11007
11008    irix5* | irix6* | nonstopux*)
11009      if test yes = "$GCC"; then
11010	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'
11011	# Try to use the -exported_symbol ld option, if it does not
11012	# work, assume that -exports_file does not work either and
11013	# implicitly export all symbols.
11014	# This should be the same for all languages, so no per-tag cache variable.
11015	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11016printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11017if test ${lt_cv_irix_exported_symbol+y}
11018then :
11019  printf %s "(cached) " >&6
11020else $as_nop
11021  save_LDFLAGS=$LDFLAGS
11022	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11023	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024/* end confdefs.h.  */
11025int foo (void) { return 0; }
11026_ACEOF
11027if ac_fn_c_try_link "$LINENO"
11028then :
11029  lt_cv_irix_exported_symbol=yes
11030else $as_nop
11031  lt_cv_irix_exported_symbol=no
11032fi
11033rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034    conftest$ac_exeext conftest.$ac_ext
11035           LDFLAGS=$save_LDFLAGS
11036fi
11037{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11038printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
11039	if test yes = "$lt_cv_irix_exported_symbol"; then
11040          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'
11041	fi
11042	link_all_deplibs=no
11043      else
11044	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'
11045	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'
11046      fi
11047      archive_cmds_need_lc='no'
11048      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11049      hardcode_libdir_separator=:
11050      inherit_rpath=yes
11051      link_all_deplibs=yes
11052      ;;
11053
11054    linux*)
11055      case $cc_basename in
11056      tcc*)
11057	# Fabrice Bellard et al's Tiny C Compiler
11058	ld_shlibs=yes
11059	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11060	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11061	;;
11062      esac
11063      ;;
11064
11065    netbsd* | netbsdelf*-gnu)
11066      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11067	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11068      else
11069	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11070      fi
11071      hardcode_libdir_flag_spec='-R$libdir'
11072      hardcode_direct=yes
11073      hardcode_shlibpath_var=no
11074      ;;
11075
11076    newsos6)
11077      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11078      hardcode_direct=yes
11079      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11080      hardcode_libdir_separator=:
11081      hardcode_shlibpath_var=no
11082      ;;
11083
11084    *nto* | *qnx*)
11085      ;;
11086
11087    openbsd* | bitrig*)
11088      if test -f /usr/libexec/ld.so; then
11089	hardcode_direct=yes
11090	hardcode_shlibpath_var=no
11091	hardcode_direct_absolute=yes
11092	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11093	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11094	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11095	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11096	  export_dynamic_flag_spec='$wl-E'
11097	else
11098	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11099	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11100	fi
11101      else
11102	ld_shlibs=no
11103      fi
11104      ;;
11105
11106    os2*)
11107      hardcode_libdir_flag_spec='-L$libdir'
11108      hardcode_minus_L=yes
11109      allow_undefined_flag=unsupported
11110      shrext_cmds=.dll
11111      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11112	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11113	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11114	$ECHO EXPORTS >> $output_objdir/$libname.def~
11115	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11116	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11117	emximp -o $lib $output_objdir/$libname.def'
11118      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11119	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11120	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11121	$ECHO EXPORTS >> $output_objdir/$libname.def~
11122	prefix_cmds="$SED"~
11123	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11124	  prefix_cmds="$prefix_cmds -e 1d";
11125	fi~
11126	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11127	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11128	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11129	emximp -o $lib $output_objdir/$libname.def'
11130      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11131      enable_shared_with_static_runtimes=yes
11132      file_list_spec='@'
11133      ;;
11134
11135    osf3*)
11136      if test yes = "$GCC"; then
11137	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11138	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'
11139      else
11140	allow_undefined_flag=' -expect_unresolved \*'
11141	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'
11142      fi
11143      archive_cmds_need_lc='no'
11144      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11145      hardcode_libdir_separator=:
11146      ;;
11147
11148    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11149      if test yes = "$GCC"; then
11150	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11151	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'
11152	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11153      else
11154	allow_undefined_flag=' -expect_unresolved \*'
11155	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'
11156	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~
11157          $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'
11158
11159	# Both c and cxx compiler support -rpath directly
11160	hardcode_libdir_flag_spec='-rpath $libdir'
11161      fi
11162      archive_cmds_need_lc='no'
11163      hardcode_libdir_separator=:
11164      ;;
11165
11166    solaris*)
11167      no_undefined_flag=' -z defs'
11168      if test yes = "$GCC"; then
11169	wlarc='$wl'
11170	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11171	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11172          $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'
11173      else
11174	case `$CC -V 2>&1` in
11175	*"Compilers 5.0"*)
11176	  wlarc=''
11177	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11178	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11179            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11180	  ;;
11181	*)
11182	  wlarc='$wl'
11183	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11184	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11185            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11186	  ;;
11187	esac
11188      fi
11189      hardcode_libdir_flag_spec='-R$libdir'
11190      hardcode_shlibpath_var=no
11191      case $host_os in
11192      solaris2.[0-5] | solaris2.[0-5].*) ;;
11193      *)
11194	# The compiler driver will combine and reorder linker options,
11195	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11196	# but is careful enough not to reorder.
11197	# Supported since Solaris 2.6 (maybe 2.5.1?)
11198	if test yes = "$GCC"; then
11199	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11200	else
11201	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11202	fi
11203	;;
11204      esac
11205      link_all_deplibs=yes
11206      ;;
11207
11208    sunos4*)
11209      if test sequent = "$host_vendor"; then
11210	# Use $CC to link under sequent, because it throws in some extra .o
11211	# files that make .init and .fini sections work.
11212	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11213      else
11214	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11215      fi
11216      hardcode_libdir_flag_spec='-L$libdir'
11217      hardcode_direct=yes
11218      hardcode_minus_L=yes
11219      hardcode_shlibpath_var=no
11220      ;;
11221
11222    sysv4)
11223      case $host_vendor in
11224	sni)
11225	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11226	  hardcode_direct=yes # is this really true???
11227	;;
11228	siemens)
11229	  ## LD is ld it makes a PLAMLIB
11230	  ## CC just makes a GrossModule.
11231	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11232	  reload_cmds='$CC -r -o $output$reload_objs'
11233	  hardcode_direct=no
11234        ;;
11235	motorola)
11236	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11237	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11238	;;
11239      esac
11240      runpath_var='LD_RUN_PATH'
11241      hardcode_shlibpath_var=no
11242      ;;
11243
11244    sysv4.3*)
11245      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246      hardcode_shlibpath_var=no
11247      export_dynamic_flag_spec='-Bexport'
11248      ;;
11249
11250    sysv4*MP*)
11251      if test -d /usr/nec; then
11252	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11253	hardcode_shlibpath_var=no
11254	runpath_var=LD_RUN_PATH
11255	hardcode_runpath_var=yes
11256	ld_shlibs=yes
11257      fi
11258      ;;
11259
11260    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11261      no_undefined_flag='$wl-z,text'
11262      archive_cmds_need_lc=no
11263      hardcode_shlibpath_var=no
11264      runpath_var='LD_RUN_PATH'
11265
11266      if test yes = "$GCC"; then
11267	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11269      else
11270	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11271	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11272      fi
11273      ;;
11274
11275    sysv5* | sco3.2v5* | sco5v6*)
11276      # Note: We CANNOT use -z defs as we might desire, because we do not
11277      # link with -lc, and that would cause any symbols used from libc to
11278      # always be unresolved, which means just about no library would
11279      # ever link correctly.  If we're not using GNU ld we use -z text
11280      # though, which does catch some bad symbols but isn't as heavy-handed
11281      # as -z defs.
11282      no_undefined_flag='$wl-z,text'
11283      allow_undefined_flag='$wl-z,nodefs'
11284      archive_cmds_need_lc=no
11285      hardcode_shlibpath_var=no
11286      hardcode_libdir_flag_spec='$wl-R,$libdir'
11287      hardcode_libdir_separator=':'
11288      link_all_deplibs=yes
11289      export_dynamic_flag_spec='$wl-Bexport'
11290      runpath_var='LD_RUN_PATH'
11291
11292      if test yes = "$GCC"; then
11293	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11295      else
11296	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11297	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11298      fi
11299      ;;
11300
11301    uts4*)
11302      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11303      hardcode_libdir_flag_spec='-L$libdir'
11304      hardcode_shlibpath_var=no
11305      ;;
11306
11307    *)
11308      ld_shlibs=no
11309      ;;
11310    esac
11311
11312    if test sni = "$host_vendor"; then
11313      case $host in
11314      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11315	export_dynamic_flag_spec='$wl-Blargedynsym'
11316	;;
11317      esac
11318    fi
11319  fi
11320
11321{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11322printf "%s\n" "$ld_shlibs" >&6; }
11323test no = "$ld_shlibs" && can_build_shared=no
11324
11325with_gnu_ld=$with_gnu_ld
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341#
11342# Do we need to explicitly link libc?
11343#
11344case "x$archive_cmds_need_lc" in
11345x|xyes)
11346  # Assume -lc should be added
11347  archive_cmds_need_lc=yes
11348
11349  if test yes,yes = "$GCC,$enable_shared"; then
11350    case $archive_cmds in
11351    *'~'*)
11352      # FIXME: we may have to deal with multi-command sequences.
11353      ;;
11354    '$CC '*)
11355      # Test whether the compiler implicitly links with -lc since on some
11356      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11357      # to ld, don't add -lc before -lgcc.
11358      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11359printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11360if test ${lt_cv_archive_cmds_need_lc+y}
11361then :
11362  printf %s "(cached) " >&6
11363else $as_nop
11364  $RM conftest*
11365	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11366
11367	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11368  (eval $ac_compile) 2>&5
11369  ac_status=$?
11370  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11371  test $ac_status = 0; } 2>conftest.err; then
11372	  soname=conftest
11373	  lib=conftest
11374	  libobjs=conftest.$ac_objext
11375	  deplibs=
11376	  wl=$lt_prog_compiler_wl
11377	  pic_flag=$lt_prog_compiler_pic
11378	  compiler_flags=-v
11379	  linker_flags=-v
11380	  verstring=
11381	  output_objdir=.
11382	  libname=conftest
11383	  lt_save_allow_undefined_flag=$allow_undefined_flag
11384	  allow_undefined_flag=
11385	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11386  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11387  ac_status=$?
11388  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11389  test $ac_status = 0; }
11390	  then
11391	    lt_cv_archive_cmds_need_lc=no
11392	  else
11393	    lt_cv_archive_cmds_need_lc=yes
11394	  fi
11395	  allow_undefined_flag=$lt_save_allow_undefined_flag
11396	else
11397	  cat conftest.err 1>&5
11398	fi
11399	$RM conftest*
11400
11401fi
11402{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11403printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
11404      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11405      ;;
11406    esac
11407  fi
11408  ;;
11409esac
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11563printf %s "checking dynamic linker characteristics... " >&6; }
11564
11565if test yes = "$GCC"; then
11566  case $host_os in
11567    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11568    *) lt_awk_arg='/^libraries:/' ;;
11569  esac
11570  case $host_os in
11571    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11572    *) lt_sed_strip_eq='s|=/|/|g' ;;
11573  esac
11574  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11575  case $lt_search_path_spec in
11576  *\;*)
11577    # if the path contains ";" then we assume it to be the separator
11578    # otherwise default to the standard path separator (i.e. ":") - it is
11579    # assumed that no part of a normal pathname contains ";" but that should
11580    # okay in the real world where ";" in dirpaths is itself problematic.
11581    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11582    ;;
11583  *)
11584    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11585    ;;
11586  esac
11587  # Ok, now we have the path, separated by spaces, we can step through it
11588  # and add multilib dir if necessary...
11589  lt_tmp_lt_search_path_spec=
11590  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11591  # ...but if some path component already ends with the multilib dir we assume
11592  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11593  case "$lt_multi_os_dir; $lt_search_path_spec " in
11594  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11595    lt_multi_os_dir=
11596    ;;
11597  esac
11598  for lt_sys_path in $lt_search_path_spec; do
11599    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11600      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11601    elif test -n "$lt_multi_os_dir"; then
11602      test -d "$lt_sys_path" && \
11603	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11604    fi
11605  done
11606  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11607BEGIN {RS = " "; FS = "/|\n";} {
11608  lt_foo = "";
11609  lt_count = 0;
11610  for (lt_i = NF; lt_i > 0; lt_i--) {
11611    if ($lt_i != "" && $lt_i != ".") {
11612      if ($lt_i == "..") {
11613        lt_count++;
11614      } else {
11615        if (lt_count == 0) {
11616          lt_foo = "/" $lt_i lt_foo;
11617        } else {
11618          lt_count--;
11619        }
11620      }
11621    }
11622  }
11623  if (lt_foo != "") { lt_freq[lt_foo]++; }
11624  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11625}'`
11626  # AWK program above erroneously prepends '/' to C:/dos/paths
11627  # for these hosts.
11628  case $host_os in
11629    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11630      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11631  esac
11632  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11633else
11634  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11635fi
11636library_names_spec=
11637libname_spec='lib$name'
11638soname_spec=
11639shrext_cmds=.so
11640postinstall_cmds=
11641postuninstall_cmds=
11642finish_cmds=
11643finish_eval=
11644shlibpath_var=
11645shlibpath_overrides_runpath=unknown
11646version_type=none
11647dynamic_linker="$host_os ld.so"
11648sys_lib_dlsearch_path_spec="/lib /usr/lib"
11649need_lib_prefix=unknown
11650hardcode_into_libs=no
11651
11652# when you set need_version to no, make sure it does not cause -set_version
11653# flags to be left without arguments
11654need_version=unknown
11655
11656
11657
11658case $host_os in
11659aix3*)
11660  version_type=linux # correct to gnu/linux during the next big refactor
11661  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11662  shlibpath_var=LIBPATH
11663
11664  # AIX 3 has no versioning support, so we append a major version to the name.
11665  soname_spec='$libname$release$shared_ext$major'
11666  ;;
11667
11668aix[4-9]*)
11669  version_type=linux # correct to gnu/linux during the next big refactor
11670  need_lib_prefix=no
11671  need_version=no
11672  hardcode_into_libs=yes
11673  if test ia64 = "$host_cpu"; then
11674    # AIX 5 supports IA64
11675    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11676    shlibpath_var=LD_LIBRARY_PATH
11677  else
11678    # With GCC up to 2.95.x, collect2 would create an import file
11679    # for dependence libraries.  The import file would start with
11680    # the line '#! .'.  This would cause the generated library to
11681    # depend on '.', always an invalid library.  This was fixed in
11682    # development snapshots of GCC prior to 3.0.
11683    case $host_os in
11684      aix4 | aix4.[01] | aix4.[01].*)
11685      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11686	   echo ' yes '
11687	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11688	:
11689      else
11690	can_build_shared=no
11691      fi
11692      ;;
11693    esac
11694    # Using Import Files as archive members, it is possible to support
11695    # filename-based versioning of shared library archives on AIX. While
11696    # this would work for both with and without runtime linking, it will
11697    # prevent static linking of such archives. So we do filename-based
11698    # shared library versioning with .so extension only, which is used
11699    # when both runtime linking and shared linking is enabled.
11700    # Unfortunately, runtime linking may impact performance, so we do
11701    # not want this to be the default eventually. Also, we use the
11702    # versioned .so libs for executables only if there is the -brtl
11703    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11704    # To allow for filename-based versioning support, we need to create
11705    # libNAME.so.V as an archive file, containing:
11706    # *) an Import File, referring to the versioned filename of the
11707    #    archive as well as the shared archive member, telling the
11708    #    bitwidth (32 or 64) of that shared object, and providing the
11709    #    list of exported symbols of that shared object, eventually
11710    #    decorated with the 'weak' keyword
11711    # *) the shared object with the F_LOADONLY flag set, to really avoid
11712    #    it being seen by the linker.
11713    # At run time we better use the real file rather than another symlink,
11714    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11715
11716    case $with_aix_soname,$aix_use_runtimelinking in
11717    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11718    # soname into executable. Probably we can add versioning support to
11719    # collect2, so additional links can be useful in future.
11720    aix,yes) # traditional libtool
11721      dynamic_linker='AIX unversionable lib.so'
11722      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11723      # instead of lib<name>.a to let people know that these are not
11724      # typical AIX shared libraries.
11725      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11726      ;;
11727    aix,no) # traditional AIX only
11728      dynamic_linker='AIX lib.a(lib.so.V)'
11729      # We preserve .a as extension for shared libraries through AIX4.2
11730      # and later when we are not doing run time linking.
11731      library_names_spec='$libname$release.a $libname.a'
11732      soname_spec='$libname$release$shared_ext$major'
11733      ;;
11734    svr4,*) # full svr4 only
11735      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11736      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11737      # We do not specify a path in Import Files, so LIBPATH fires.
11738      shlibpath_overrides_runpath=yes
11739      ;;
11740    *,yes) # both, prefer svr4
11741      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11742      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11743      # unpreferred sharedlib libNAME.a needs extra handling
11744      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"'
11745      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"'
11746      # We do not specify a path in Import Files, so LIBPATH fires.
11747      shlibpath_overrides_runpath=yes
11748      ;;
11749    *,no) # both, prefer aix
11750      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11751      library_names_spec='$libname$release.a $libname.a'
11752      soname_spec='$libname$release$shared_ext$major'
11753      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11754      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)'
11755      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"'
11756      ;;
11757    esac
11758    shlibpath_var=LIBPATH
11759  fi
11760  ;;
11761
11762amigaos*)
11763  case $host_cpu in
11764  powerpc)
11765    # Since July 2007 AmigaOS4 officially supports .so libraries.
11766    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11767    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11768    ;;
11769  m68k)
11770    library_names_spec='$libname.ixlibrary $libname.a'
11771    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11772    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'
11773    ;;
11774  esac
11775  ;;
11776
11777beos*)
11778  library_names_spec='$libname$shared_ext'
11779  dynamic_linker="$host_os ld.so"
11780  shlibpath_var=LIBRARY_PATH
11781  ;;
11782
11783bsdi[45]*)
11784  version_type=linux # correct to gnu/linux during the next big refactor
11785  need_version=no
11786  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11787  soname_spec='$libname$release$shared_ext$major'
11788  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11789  shlibpath_var=LD_LIBRARY_PATH
11790  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11791  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11792  # the default ld.so.conf also contains /usr/contrib/lib and
11793  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11794  # libtool to hard-code these into programs
11795  ;;
11796
11797cygwin* | mingw* | pw32* | cegcc*)
11798  version_type=windows
11799  shrext_cmds=.dll
11800  need_version=no
11801  need_lib_prefix=no
11802
11803  case $GCC,$cc_basename in
11804  yes,*)
11805    # gcc
11806    library_names_spec='$libname.dll.a'
11807    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11808    postinstall_cmds='base_file=`basename \$file`~
11809      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11810      dldir=$destdir/`dirname \$dlpath`~
11811      test -d \$dldir || mkdir -p \$dldir~
11812      $install_prog $dir/$dlname \$dldir/$dlname~
11813      chmod a+x \$dldir/$dlname~
11814      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11815        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11816      fi'
11817    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11818      dlpath=$dir/\$dldll~
11819       $RM \$dlpath'
11820    shlibpath_overrides_runpath=yes
11821
11822    case $host_os in
11823    cygwin*)
11824      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11825      soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11826
11827      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11828      ;;
11829    mingw* | cegcc*)
11830      # MinGW DLLs use traditional 'lib' prefix
11831      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11832      ;;
11833    pw32*)
11834      # pw32 DLLs use 'pw' prefix rather than 'lib'
11835      library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11836      ;;
11837    esac
11838    dynamic_linker='Win32 ld.exe'
11839    ;;
11840
11841  *,cl* | *,icl*)
11842    # Native MSVC or ICC
11843    libname_spec='$name'
11844    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11845    library_names_spec='$libname.dll.lib'
11846
11847    case $build_os in
11848    mingw*)
11849      sys_lib_search_path_spec=
11850      lt_save_ifs=$IFS
11851      IFS=';'
11852      for lt_path in $LIB
11853      do
11854        IFS=$lt_save_ifs
11855        # Let DOS variable expansion print the short 8.3 style file name.
11856        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11857        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11858      done
11859      IFS=$lt_save_ifs
11860      # Convert to MSYS style.
11861      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11862      ;;
11863    cygwin*)
11864      # Convert to unix form, then to dos form, then back to unix form
11865      # but this time dos style (no spaces!) so that the unix form looks
11866      # like /cygdrive/c/PROGRA~1:/cygdr...
11867      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11868      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11869      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11870      ;;
11871    *)
11872      sys_lib_search_path_spec=$LIB
11873      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11874        # It is most probably a Windows format PATH.
11875        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11876      else
11877        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11878      fi
11879      # FIXME: find the short name or the path components, as spaces are
11880      # common. (e.g. "Program Files" -> "PROGRA~1")
11881      ;;
11882    esac
11883
11884    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11885    postinstall_cmds='base_file=`basename \$file`~
11886      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11887      dldir=$destdir/`dirname \$dlpath`~
11888      test -d \$dldir || mkdir -p \$dldir~
11889      $install_prog $dir/$dlname \$dldir/$dlname'
11890    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11891      dlpath=$dir/\$dldll~
11892       $RM \$dlpath'
11893    shlibpath_overrides_runpath=yes
11894    dynamic_linker='Win32 link.exe'
11895    ;;
11896
11897  *)
11898    # Assume MSVC and ICC wrapper
11899    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11900    dynamic_linker='Win32 ld.exe'
11901    ;;
11902  esac
11903  # FIXME: first we should search . and the directory the executable is in
11904  shlibpath_var=PATH
11905  ;;
11906
11907darwin* | rhapsody*)
11908  dynamic_linker="$host_os dyld"
11909  version_type=darwin
11910  need_lib_prefix=no
11911  need_version=no
11912  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11913  soname_spec='$libname$release$major$shared_ext'
11914  shlibpath_overrides_runpath=yes
11915  shlibpath_var=DYLD_LIBRARY_PATH
11916  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11917
11918  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11919  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11920  ;;
11921
11922dgux*)
11923  version_type=linux # correct to gnu/linux during the next big refactor
11924  need_lib_prefix=no
11925  need_version=no
11926  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11927  soname_spec='$libname$release$shared_ext$major'
11928  shlibpath_var=LD_LIBRARY_PATH
11929  ;;
11930
11931freebsd* | dragonfly* | midnightbsd*)
11932  # DragonFly does not have aout.  When/if they implement a new
11933  # versioning mechanism, adjust this.
11934  if test -x /usr/bin/objformat; then
11935    objformat=`/usr/bin/objformat`
11936  else
11937    case $host_os in
11938    freebsd[23].*) objformat=aout ;;
11939    *) objformat=elf ;;
11940    esac
11941  fi
11942  version_type=freebsd-$objformat
11943  case $version_type in
11944    freebsd-elf*)
11945      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11946      soname_spec='$libname$release$shared_ext$major'
11947      need_version=no
11948      need_lib_prefix=no
11949      ;;
11950    freebsd-*)
11951      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11952      need_version=yes
11953      ;;
11954  esac
11955  shlibpath_var=LD_LIBRARY_PATH
11956  case $host_os in
11957  freebsd2.*)
11958    shlibpath_overrides_runpath=yes
11959    ;;
11960  freebsd3.[01]* | freebsdelf3.[01]*)
11961    shlibpath_overrides_runpath=yes
11962    hardcode_into_libs=yes
11963    ;;
11964  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11965  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11966    shlibpath_overrides_runpath=no
11967    hardcode_into_libs=yes
11968    ;;
11969  *) # from 4.6 on, and DragonFly
11970    shlibpath_overrides_runpath=yes
11971    hardcode_into_libs=yes
11972    ;;
11973  esac
11974  ;;
11975
11976haiku*)
11977  version_type=linux # correct to gnu/linux during the next big refactor
11978  need_lib_prefix=no
11979  need_version=no
11980  dynamic_linker="$host_os runtime_loader"
11981  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11982  soname_spec='$libname$release$shared_ext$major'
11983  shlibpath_var=LIBRARY_PATH
11984  shlibpath_overrides_runpath=no
11985  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11986  hardcode_into_libs=yes
11987  ;;
11988
11989hpux9* | hpux10* | hpux11*)
11990  # Give a soname corresponding to the major version so that dld.sl refuses to
11991  # link against other versions.
11992  version_type=sunos
11993  need_lib_prefix=no
11994  need_version=no
11995  case $host_cpu in
11996  ia64*)
11997    shrext_cmds='.so'
11998    hardcode_into_libs=yes
11999    dynamic_linker="$host_os dld.so"
12000    shlibpath_var=LD_LIBRARY_PATH
12001    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12002    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12003    soname_spec='$libname$release$shared_ext$major'
12004    if test 32 = "$HPUX_IA64_MODE"; then
12005      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12006      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12007    else
12008      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12009      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12010    fi
12011    ;;
12012  hppa*64*)
12013    shrext_cmds='.sl'
12014    hardcode_into_libs=yes
12015    dynamic_linker="$host_os dld.sl"
12016    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12017    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12018    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12019    soname_spec='$libname$release$shared_ext$major'
12020    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12021    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12022    ;;
12023  *)
12024    shrext_cmds='.sl'
12025    dynamic_linker="$host_os dld.sl"
12026    shlibpath_var=SHLIB_PATH
12027    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12028    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12029    soname_spec='$libname$release$shared_ext$major'
12030    ;;
12031  esac
12032  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12033  postinstall_cmds='chmod 555 $lib'
12034  # or fails outright, so override atomically:
12035  install_override_mode=555
12036  ;;
12037
12038interix[3-9]*)
12039  version_type=linux # correct to gnu/linux during the next big refactor
12040  need_lib_prefix=no
12041  need_version=no
12042  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12043  soname_spec='$libname$release$shared_ext$major'
12044  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12045  shlibpath_var=LD_LIBRARY_PATH
12046  shlibpath_overrides_runpath=no
12047  hardcode_into_libs=yes
12048  ;;
12049
12050irix5* | irix6* | nonstopux*)
12051  case $host_os in
12052    nonstopux*) version_type=nonstopux ;;
12053    *)
12054	if test yes = "$lt_cv_prog_gnu_ld"; then
12055		version_type=linux # correct to gnu/linux during the next big refactor
12056	else
12057		version_type=irix
12058	fi ;;
12059  esac
12060  need_lib_prefix=no
12061  need_version=no
12062  soname_spec='$libname$release$shared_ext$major'
12063  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12064  case $host_os in
12065  irix5* | nonstopux*)
12066    libsuff= shlibsuff=
12067    ;;
12068  *)
12069    case $LD in # libtool.m4 will add one of these switches to LD
12070    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12071      libsuff= shlibsuff= libmagic=32-bit;;
12072    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12073      libsuff=32 shlibsuff=N32 libmagic=N32;;
12074    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12075      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12076    *) libsuff= shlibsuff= libmagic=never-match;;
12077    esac
12078    ;;
12079  esac
12080  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12081  shlibpath_overrides_runpath=no
12082  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12083  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12084  hardcode_into_libs=yes
12085  ;;
12086
12087# No shared lib support for Linux oldld, aout, or coff.
12088linux*oldld* | linux*aout* | linux*coff*)
12089  dynamic_linker=no
12090  ;;
12091
12092linux*android*)
12093  version_type=none # Android doesn't support versioned libraries.
12094  need_lib_prefix=no
12095  need_version=no
12096  library_names_spec='$libname$release$shared_ext'
12097  soname_spec='$libname$release$shared_ext'
12098  finish_cmds=
12099  shlibpath_var=LD_LIBRARY_PATH
12100  shlibpath_overrides_runpath=yes
12101
12102  # This implies no fast_install, which is unacceptable.
12103  # Some rework will be needed to allow for fast_install
12104  # before this can be enabled.
12105  hardcode_into_libs=yes
12106
12107  dynamic_linker='Android linker'
12108  # Don't embed -rpath directories since the linker doesn't support them.
12109  hardcode_libdir_flag_spec='-L$libdir'
12110  ;;
12111
12112# This must be glibc/ELF.
12113linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12114  version_type=linux # correct to gnu/linux during the next big refactor
12115  need_lib_prefix=no
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 -n $libdir'
12120  shlibpath_var=LD_LIBRARY_PATH
12121  shlibpath_overrides_runpath=no
12122
12123  # Some binutils ld are patched to set DT_RUNPATH
12124  if test ${lt_cv_shlibpath_overrides_runpath+y}
12125then :
12126  printf %s "(cached) " >&6
12127else $as_nop
12128  lt_cv_shlibpath_overrides_runpath=no
12129    save_LDFLAGS=$LDFLAGS
12130    save_libdir=$libdir
12131    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12132	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12133    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134/* end confdefs.h.  */
12135
12136int
12137main (void)
12138{
12139
12140  ;
12141  return 0;
12142}
12143_ACEOF
12144if ac_fn_c_try_link "$LINENO"
12145then :
12146  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12147then :
12148  lt_cv_shlibpath_overrides_runpath=yes
12149fi
12150fi
12151rm -f core conftest.err conftest.$ac_objext conftest.beam \
12152    conftest$ac_exeext conftest.$ac_ext
12153    LDFLAGS=$save_LDFLAGS
12154    libdir=$save_libdir
12155
12156fi
12157
12158  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12159
12160  # This implies no fast_install, which is unacceptable.
12161  # Some rework will be needed to allow for fast_install
12162  # before this can be enabled.
12163  hardcode_into_libs=yes
12164
12165  # Ideally, we could use ldconfig to report *all* directores which are
12166  # searched for libraries, however this is still not possible.  Aside from not
12167  # being certain /sbin/ldconfig is available, command
12168  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12169  # even though it is searched at run-time.  Try to do the best guess by
12170  # appending ld.so.conf contents (and includes) to the search path.
12171  if test -f /etc/ld.so.conf; then
12172    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' ' '`
12173    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12174  fi
12175
12176  # We used to test for /lib/ld.so.1 and disable shared libraries on
12177  # powerpc, because MkLinux only supported shared libraries with the
12178  # GNU dynamic linker.  Since this was broken with cross compilers,
12179  # most powerpc-linux boxes support dynamic linking these days and
12180  # people can always --disable-shared, the test was removed, and we
12181  # assume the GNU/Linux dynamic linker is in use.
12182  dynamic_linker='GNU/Linux ld.so'
12183  ;;
12184
12185netbsdelf*-gnu)
12186  version_type=linux
12187  need_lib_prefix=no
12188  need_version=no
12189  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12190  soname_spec='${libname}${release}${shared_ext}$major'
12191  shlibpath_var=LD_LIBRARY_PATH
12192  shlibpath_overrides_runpath=no
12193  hardcode_into_libs=yes
12194  dynamic_linker='NetBSD ld.elf_so'
12195  ;;
12196
12197netbsd*)
12198  version_type=sunos
12199  need_lib_prefix=no
12200  need_version=no
12201  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12202    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12203    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12204    dynamic_linker='NetBSD (a.out) ld.so'
12205  else
12206    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12207    soname_spec='$libname$release$shared_ext$major'
12208    dynamic_linker='NetBSD ld.elf_so'
12209  fi
12210  shlibpath_var=LD_LIBRARY_PATH
12211  shlibpath_overrides_runpath=yes
12212  hardcode_into_libs=yes
12213  ;;
12214
12215newsos6)
12216  version_type=linux # correct to gnu/linux during the next big refactor
12217  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12218  shlibpath_var=LD_LIBRARY_PATH
12219  shlibpath_overrides_runpath=yes
12220  ;;
12221
12222*nto* | *qnx*)
12223  version_type=qnx
12224  need_lib_prefix=no
12225  need_version=no
12226  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12227  soname_spec='$libname$release$shared_ext$major'
12228  shlibpath_var=LD_LIBRARY_PATH
12229  shlibpath_overrides_runpath=no
12230  hardcode_into_libs=yes
12231  dynamic_linker='ldqnx.so'
12232  ;;
12233
12234openbsd* | bitrig*)
12235  version_type=sunos
12236  sys_lib_dlsearch_path_spec=/usr/lib
12237  need_lib_prefix=no
12238  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12239    need_version=no
12240  else
12241    need_version=yes
12242  fi
12243  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12244  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12245  shlibpath_var=LD_LIBRARY_PATH
12246  shlibpath_overrides_runpath=yes
12247  ;;
12248
12249os2*)
12250  libname_spec='$name'
12251  version_type=windows
12252  shrext_cmds=.dll
12253  need_version=no
12254  need_lib_prefix=no
12255  # OS/2 can only load a DLL with a base name of 8 characters or less.
12256  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12257    v=$($ECHO $release$versuffix | tr -d .-);
12258    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12259    $ECHO $n$v`$shared_ext'
12260  library_names_spec='${libname}_dll.$libext'
12261  dynamic_linker='OS/2 ld.exe'
12262  shlibpath_var=BEGINLIBPATH
12263  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12264  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12265  postinstall_cmds='base_file=`basename \$file`~
12266    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12267    dldir=$destdir/`dirname \$dlpath`~
12268    test -d \$dldir || mkdir -p \$dldir~
12269    $install_prog $dir/$dlname \$dldir/$dlname~
12270    chmod a+x \$dldir/$dlname~
12271    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12272      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12273    fi'
12274  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12275    dlpath=$dir/\$dldll~
12276    $RM \$dlpath'
12277  ;;
12278
12279osf3* | osf4* | osf5*)
12280  version_type=osf
12281  need_lib_prefix=no
12282  need_version=no
12283  soname_spec='$libname$release$shared_ext$major'
12284  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12285  shlibpath_var=LD_LIBRARY_PATH
12286  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12287  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12288  ;;
12289
12290rdos*)
12291  dynamic_linker=no
12292  ;;
12293
12294solaris*)
12295  version_type=linux # correct to gnu/linux during the next big refactor
12296  need_lib_prefix=no
12297  need_version=no
12298  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12299  soname_spec='$libname$release$shared_ext$major'
12300  shlibpath_var=LD_LIBRARY_PATH
12301  shlibpath_overrides_runpath=yes
12302  hardcode_into_libs=yes
12303  # ldd complains unless libraries are executable
12304  postinstall_cmds='chmod +x $lib'
12305  ;;
12306
12307sunos4*)
12308  version_type=sunos
12309  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12310  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12311  shlibpath_var=LD_LIBRARY_PATH
12312  shlibpath_overrides_runpath=yes
12313  if test yes = "$with_gnu_ld"; then
12314    need_lib_prefix=no
12315  fi
12316  need_version=yes
12317  ;;
12318
12319sysv4 | sysv4.3*)
12320  version_type=linux # correct to gnu/linux during the next big refactor
12321  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12322  soname_spec='$libname$release$shared_ext$major'
12323  shlibpath_var=LD_LIBRARY_PATH
12324  case $host_vendor in
12325    sni)
12326      shlibpath_overrides_runpath=no
12327      need_lib_prefix=no
12328      runpath_var=LD_RUN_PATH
12329      ;;
12330    siemens)
12331      need_lib_prefix=no
12332      ;;
12333    motorola)
12334      need_lib_prefix=no
12335      need_version=no
12336      shlibpath_overrides_runpath=no
12337      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12338      ;;
12339  esac
12340  ;;
12341
12342sysv4*MP*)
12343  if test -d /usr/nec; then
12344    version_type=linux # correct to gnu/linux during the next big refactor
12345    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12346    soname_spec='$libname$shared_ext.$major'
12347    shlibpath_var=LD_LIBRARY_PATH
12348  fi
12349  ;;
12350
12351sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12352  version_type=sco
12353  need_lib_prefix=no
12354  need_version=no
12355  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12356  soname_spec='$libname$release$shared_ext$major'
12357  shlibpath_var=LD_LIBRARY_PATH
12358  shlibpath_overrides_runpath=yes
12359  hardcode_into_libs=yes
12360  if test yes = "$with_gnu_ld"; then
12361    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12362  else
12363    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12364    case $host_os in
12365      sco3.2v5*)
12366        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12367	;;
12368    esac
12369  fi
12370  sys_lib_dlsearch_path_spec='/usr/lib'
12371  ;;
12372
12373tpf*)
12374  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12375  version_type=linux # correct to gnu/linux during the next big refactor
12376  need_lib_prefix=no
12377  need_version=no
12378  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12379  shlibpath_var=LD_LIBRARY_PATH
12380  shlibpath_overrides_runpath=no
12381  hardcode_into_libs=yes
12382  ;;
12383
12384uts4*)
12385  version_type=linux # correct to gnu/linux during the next big refactor
12386  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12387  soname_spec='$libname$release$shared_ext$major'
12388  shlibpath_var=LD_LIBRARY_PATH
12389  ;;
12390
12391*)
12392  dynamic_linker=no
12393  ;;
12394esac
12395{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12396printf "%s\n" "$dynamic_linker" >&6; }
12397test no = "$dynamic_linker" && can_build_shared=no
12398
12399variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12400if test yes = "$GCC"; then
12401  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12402fi
12403
12404if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12405  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12406fi
12407
12408if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12409  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12410fi
12411
12412# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12413configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12414
12415# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12416func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12417
12418# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12419configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12518printf %s "checking how to hardcode library paths into programs... " >&6; }
12519hardcode_action=
12520if test -n "$hardcode_libdir_flag_spec" ||
12521   test -n "$runpath_var" ||
12522   test yes = "$hardcode_automatic"; then
12523
12524  # We can hardcode non-existent directories.
12525  if test no != "$hardcode_direct" &&
12526     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12527     # have to relink, otherwise we might link with an installed library
12528     # when we should be linking with a yet-to-be-installed one
12529     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12530     test no != "$hardcode_minus_L"; then
12531    # Linking always hardcodes the temporary library directory.
12532    hardcode_action=relink
12533  else
12534    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12535    hardcode_action=immediate
12536  fi
12537else
12538  # We cannot hardcode anything, or else we can only hardcode existing
12539  # directories.
12540  hardcode_action=unsupported
12541fi
12542{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12543printf "%s\n" "$hardcode_action" >&6; }
12544
12545if test relink = "$hardcode_action" ||
12546   test yes = "$inherit_rpath"; then
12547  # Fast installation is not supported
12548  enable_fast_install=no
12549elif test yes = "$shlibpath_overrides_runpath" ||
12550     test no = "$enable_shared"; then
12551  # Fast installation is not necessary
12552  enable_fast_install=needless
12553fi
12554
12555
12556
12557
12558
12559
12560  if test yes != "$enable_dlopen"; then
12561  enable_dlopen=unknown
12562  enable_dlopen_self=unknown
12563  enable_dlopen_self_static=unknown
12564else
12565  lt_cv_dlopen=no
12566  lt_cv_dlopen_libs=
12567
12568  case $host_os in
12569  beos*)
12570    lt_cv_dlopen=load_add_on
12571    lt_cv_dlopen_libs=
12572    lt_cv_dlopen_self=yes
12573    ;;
12574
12575  mingw* | pw32* | cegcc*)
12576    lt_cv_dlopen=LoadLibrary
12577    lt_cv_dlopen_libs=
12578    ;;
12579
12580  cygwin*)
12581    lt_cv_dlopen=dlopen
12582    lt_cv_dlopen_libs=
12583    ;;
12584
12585  darwin*)
12586    # if libdl is installed we need to link against it
12587    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12588printf %s "checking for dlopen in -ldl... " >&6; }
12589if test ${ac_cv_lib_dl_dlopen+y}
12590then :
12591  printf %s "(cached) " >&6
12592else $as_nop
12593  ac_check_lib_save_LIBS=$LIBS
12594LIBS="-ldl  $LIBS"
12595cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596/* end confdefs.h.  */
12597
12598/* Override any GCC internal prototype to avoid an error.
12599   Use char because int might match the return type of a GCC
12600   builtin and then its argument prototype would still apply.  */
12601char dlopen ();
12602int
12603main (void)
12604{
12605return dlopen ();
12606  ;
12607  return 0;
12608}
12609_ACEOF
12610if ac_fn_c_try_link "$LINENO"
12611then :
12612  ac_cv_lib_dl_dlopen=yes
12613else $as_nop
12614  ac_cv_lib_dl_dlopen=no
12615fi
12616rm -f core conftest.err conftest.$ac_objext conftest.beam \
12617    conftest$ac_exeext conftest.$ac_ext
12618LIBS=$ac_check_lib_save_LIBS
12619fi
12620{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12621printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12622if test "x$ac_cv_lib_dl_dlopen" = xyes
12623then :
12624  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12625else $as_nop
12626
12627    lt_cv_dlopen=dyld
12628    lt_cv_dlopen_libs=
12629    lt_cv_dlopen_self=yes
12630
12631fi
12632
12633    ;;
12634
12635  tpf*)
12636    # Don't try to run any link tests for TPF.  We know it's impossible
12637    # because TPF is a cross-compiler, and we know how we open DSOs.
12638    lt_cv_dlopen=dlopen
12639    lt_cv_dlopen_libs=
12640    lt_cv_dlopen_self=no
12641    ;;
12642
12643  *)
12644    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12645if test "x$ac_cv_func_shl_load" = xyes
12646then :
12647  lt_cv_dlopen=shl_load
12648else $as_nop
12649  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12650printf %s "checking for shl_load in -ldld... " >&6; }
12651if test ${ac_cv_lib_dld_shl_load+y}
12652then :
12653  printf %s "(cached) " >&6
12654else $as_nop
12655  ac_check_lib_save_LIBS=$LIBS
12656LIBS="-ldld  $LIBS"
12657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658/* end confdefs.h.  */
12659
12660/* Override any GCC internal prototype to avoid an error.
12661   Use char because int might match the return type of a GCC
12662   builtin and then its argument prototype would still apply.  */
12663char shl_load ();
12664int
12665main (void)
12666{
12667return shl_load ();
12668  ;
12669  return 0;
12670}
12671_ACEOF
12672if ac_fn_c_try_link "$LINENO"
12673then :
12674  ac_cv_lib_dld_shl_load=yes
12675else $as_nop
12676  ac_cv_lib_dld_shl_load=no
12677fi
12678rm -f core conftest.err conftest.$ac_objext conftest.beam \
12679    conftest$ac_exeext conftest.$ac_ext
12680LIBS=$ac_check_lib_save_LIBS
12681fi
12682{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12683printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12684if test "x$ac_cv_lib_dld_shl_load" = xyes
12685then :
12686  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12687else $as_nop
12688  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12689if test "x$ac_cv_func_dlopen" = xyes
12690then :
12691  lt_cv_dlopen=dlopen
12692else $as_nop
12693  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12694printf %s "checking for dlopen in -ldl... " >&6; }
12695if test ${ac_cv_lib_dl_dlopen+y}
12696then :
12697  printf %s "(cached) " >&6
12698else $as_nop
12699  ac_check_lib_save_LIBS=$LIBS
12700LIBS="-ldl  $LIBS"
12701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702/* end confdefs.h.  */
12703
12704/* Override any GCC internal prototype to avoid an error.
12705   Use char because int might match the return type of a GCC
12706   builtin and then its argument prototype would still apply.  */
12707char dlopen ();
12708int
12709main (void)
12710{
12711return dlopen ();
12712  ;
12713  return 0;
12714}
12715_ACEOF
12716if ac_fn_c_try_link "$LINENO"
12717then :
12718  ac_cv_lib_dl_dlopen=yes
12719else $as_nop
12720  ac_cv_lib_dl_dlopen=no
12721fi
12722rm -f core conftest.err conftest.$ac_objext conftest.beam \
12723    conftest$ac_exeext conftest.$ac_ext
12724LIBS=$ac_check_lib_save_LIBS
12725fi
12726{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12727printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12728if test "x$ac_cv_lib_dl_dlopen" = xyes
12729then :
12730  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12731else $as_nop
12732  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12733printf %s "checking for dlopen in -lsvld... " >&6; }
12734if test ${ac_cv_lib_svld_dlopen+y}
12735then :
12736  printf %s "(cached) " >&6
12737else $as_nop
12738  ac_check_lib_save_LIBS=$LIBS
12739LIBS="-lsvld  $LIBS"
12740cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741/* end confdefs.h.  */
12742
12743/* Override any GCC internal prototype to avoid an error.
12744   Use char because int might match the return type of a GCC
12745   builtin and then its argument prototype would still apply.  */
12746char dlopen ();
12747int
12748main (void)
12749{
12750return dlopen ();
12751  ;
12752  return 0;
12753}
12754_ACEOF
12755if ac_fn_c_try_link "$LINENO"
12756then :
12757  ac_cv_lib_svld_dlopen=yes
12758else $as_nop
12759  ac_cv_lib_svld_dlopen=no
12760fi
12761rm -f core conftest.err conftest.$ac_objext conftest.beam \
12762    conftest$ac_exeext conftest.$ac_ext
12763LIBS=$ac_check_lib_save_LIBS
12764fi
12765{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12766printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12767if test "x$ac_cv_lib_svld_dlopen" = xyes
12768then :
12769  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12770else $as_nop
12771  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12772printf %s "checking for dld_link in -ldld... " >&6; }
12773if test ${ac_cv_lib_dld_dld_link+y}
12774then :
12775  printf %s "(cached) " >&6
12776else $as_nop
12777  ac_check_lib_save_LIBS=$LIBS
12778LIBS="-ldld  $LIBS"
12779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12780/* end confdefs.h.  */
12781
12782/* Override any GCC internal prototype to avoid an error.
12783   Use char because int might match the return type of a GCC
12784   builtin and then its argument prototype would still apply.  */
12785char dld_link ();
12786int
12787main (void)
12788{
12789return dld_link ();
12790  ;
12791  return 0;
12792}
12793_ACEOF
12794if ac_fn_c_try_link "$LINENO"
12795then :
12796  ac_cv_lib_dld_dld_link=yes
12797else $as_nop
12798  ac_cv_lib_dld_dld_link=no
12799fi
12800rm -f core conftest.err conftest.$ac_objext conftest.beam \
12801    conftest$ac_exeext conftest.$ac_ext
12802LIBS=$ac_check_lib_save_LIBS
12803fi
12804{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12805printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12806if test "x$ac_cv_lib_dld_dld_link" = xyes
12807then :
12808  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12809fi
12810
12811
12812fi
12813
12814
12815fi
12816
12817
12818fi
12819
12820
12821fi
12822
12823
12824fi
12825
12826    ;;
12827  esac
12828
12829  if test no = "$lt_cv_dlopen"; then
12830    enable_dlopen=no
12831  else
12832    enable_dlopen=yes
12833  fi
12834
12835  case $lt_cv_dlopen in
12836  dlopen)
12837    save_CPPFLAGS=$CPPFLAGS
12838    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12839
12840    save_LDFLAGS=$LDFLAGS
12841    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12842
12843    save_LIBS=$LIBS
12844    LIBS="$lt_cv_dlopen_libs $LIBS"
12845
12846    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12847printf %s "checking whether a program can dlopen itself... " >&6; }
12848if test ${lt_cv_dlopen_self+y}
12849then :
12850  printf %s "(cached) " >&6
12851else $as_nop
12852  	  if test yes = "$cross_compiling"; then :
12853  lt_cv_dlopen_self=cross
12854else
12855  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12856  lt_status=$lt_dlunknown
12857  cat > conftest.$ac_ext <<_LT_EOF
12858#line $LINENO "configure"
12859#include "confdefs.h"
12860
12861#if HAVE_DLFCN_H
12862#include <dlfcn.h>
12863#endif
12864
12865#include <stdio.h>
12866
12867#ifdef RTLD_GLOBAL
12868#  define LT_DLGLOBAL		RTLD_GLOBAL
12869#else
12870#  ifdef DL_GLOBAL
12871#    define LT_DLGLOBAL		DL_GLOBAL
12872#  else
12873#    define LT_DLGLOBAL		0
12874#  endif
12875#endif
12876
12877/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12878   find out it does not work in some platform. */
12879#ifndef LT_DLLAZY_OR_NOW
12880#  ifdef RTLD_LAZY
12881#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12882#  else
12883#    ifdef DL_LAZY
12884#      define LT_DLLAZY_OR_NOW		DL_LAZY
12885#    else
12886#      ifdef RTLD_NOW
12887#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12888#      else
12889#        ifdef DL_NOW
12890#          define LT_DLLAZY_OR_NOW	DL_NOW
12891#        else
12892#          define LT_DLLAZY_OR_NOW	0
12893#        endif
12894#      endif
12895#    endif
12896#  endif
12897#endif
12898
12899/* When -fvisibility=hidden is used, assume the code has been annotated
12900   correspondingly for the symbols needed.  */
12901#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12902int fnord () __attribute__((visibility("default")));
12903#endif
12904
12905int fnord () { return 42; }
12906int main ()
12907{
12908  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12909  int status = $lt_dlunknown;
12910
12911  if (self)
12912    {
12913      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12914      else
12915        {
12916	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12917          else puts (dlerror ());
12918	}
12919      /* dlclose (self); */
12920    }
12921  else
12922    puts (dlerror ());
12923
12924  return status;
12925}
12926_LT_EOF
12927  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12928  (eval $ac_link) 2>&5
12929  ac_status=$?
12930  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12931  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12932    (./conftest; exit; ) >&5 2>/dev/null
12933    lt_status=$?
12934    case x$lt_status in
12935      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12936      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12937      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12938    esac
12939  else :
12940    # compilation failed
12941    lt_cv_dlopen_self=no
12942  fi
12943fi
12944rm -fr conftest*
12945
12946
12947fi
12948{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12949printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12950
12951    if test yes = "$lt_cv_dlopen_self"; then
12952      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12953      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12954printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12955if test ${lt_cv_dlopen_self_static+y}
12956then :
12957  printf %s "(cached) " >&6
12958else $as_nop
12959  	  if test yes = "$cross_compiling"; then :
12960  lt_cv_dlopen_self_static=cross
12961else
12962  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12963  lt_status=$lt_dlunknown
12964  cat > conftest.$ac_ext <<_LT_EOF
12965#line $LINENO "configure"
12966#include "confdefs.h"
12967
12968#if HAVE_DLFCN_H
12969#include <dlfcn.h>
12970#endif
12971
12972#include <stdio.h>
12973
12974#ifdef RTLD_GLOBAL
12975#  define LT_DLGLOBAL		RTLD_GLOBAL
12976#else
12977#  ifdef DL_GLOBAL
12978#    define LT_DLGLOBAL		DL_GLOBAL
12979#  else
12980#    define LT_DLGLOBAL		0
12981#  endif
12982#endif
12983
12984/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12985   find out it does not work in some platform. */
12986#ifndef LT_DLLAZY_OR_NOW
12987#  ifdef RTLD_LAZY
12988#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12989#  else
12990#    ifdef DL_LAZY
12991#      define LT_DLLAZY_OR_NOW		DL_LAZY
12992#    else
12993#      ifdef RTLD_NOW
12994#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12995#      else
12996#        ifdef DL_NOW
12997#          define LT_DLLAZY_OR_NOW	DL_NOW
12998#        else
12999#          define LT_DLLAZY_OR_NOW	0
13000#        endif
13001#      endif
13002#    endif
13003#  endif
13004#endif
13005
13006/* When -fvisibility=hidden is used, assume the code has been annotated
13007   correspondingly for the symbols needed.  */
13008#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13009int fnord () __attribute__((visibility("default")));
13010#endif
13011
13012int fnord () { return 42; }
13013int main ()
13014{
13015  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13016  int status = $lt_dlunknown;
13017
13018  if (self)
13019    {
13020      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13021      else
13022        {
13023	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13024          else puts (dlerror ());
13025	}
13026      /* dlclose (self); */
13027    }
13028  else
13029    puts (dlerror ());
13030
13031  return status;
13032}
13033_LT_EOF
13034  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13035  (eval $ac_link) 2>&5
13036  ac_status=$?
13037  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13038  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13039    (./conftest; exit; ) >&5 2>/dev/null
13040    lt_status=$?
13041    case x$lt_status in
13042      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13043      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13044      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13045    esac
13046  else :
13047    # compilation failed
13048    lt_cv_dlopen_self_static=no
13049  fi
13050fi
13051rm -fr conftest*
13052
13053
13054fi
13055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13056printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
13057    fi
13058
13059    CPPFLAGS=$save_CPPFLAGS
13060    LDFLAGS=$save_LDFLAGS
13061    LIBS=$save_LIBS
13062    ;;
13063  esac
13064
13065  case $lt_cv_dlopen_self in
13066  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13067  *) enable_dlopen_self=unknown ;;
13068  esac
13069
13070  case $lt_cv_dlopen_self_static in
13071  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13072  *) enable_dlopen_self_static=unknown ;;
13073  esac
13074fi
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092striplib=
13093old_striplib=
13094{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13095printf %s "checking whether stripping libraries is possible... " >&6; }
13096if test -z "$STRIP"; then
13097  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098printf "%s\n" "no" >&6; }
13099else
13100  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13101    old_striplib="$STRIP --strip-debug"
13102    striplib="$STRIP --strip-unneeded"
13103    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13104printf "%s\n" "yes" >&6; }
13105  else
13106    case $host_os in
13107    darwin*)
13108      # FIXME - insert some real tests, host_os isn't really good enough
13109      striplib="$STRIP -x"
13110      old_striplib="$STRIP -S"
13111      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13112printf "%s\n" "yes" >&6; }
13113      ;;
13114    freebsd*)
13115      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
13116        old_striplib="$STRIP --strip-debug"
13117        striplib="$STRIP --strip-unneeded"
13118        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13119printf "%s\n" "yes" >&6; }
13120      else
13121        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13122printf "%s\n" "no" >&6; }
13123      fi
13124      ;;
13125    *)
13126      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127printf "%s\n" "no" >&6; }
13128      ;;
13129    esac
13130  fi
13131fi
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144  # Report what library types will actually be built
13145  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13146printf %s "checking if libtool supports shared libraries... " >&6; }
13147  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13148printf "%s\n" "$can_build_shared" >&6; }
13149
13150  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13151printf %s "checking whether to build shared libraries... " >&6; }
13152  test no = "$can_build_shared" && enable_shared=no
13153
13154  # On AIX, shared libraries and static libraries use the same namespace, and
13155  # are all built from PIC.
13156  case $host_os in
13157  aix3*)
13158    test yes = "$enable_shared" && enable_static=no
13159    if test -n "$RANLIB"; then
13160      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13161      postinstall_cmds='$RANLIB $lib'
13162    fi
13163    ;;
13164
13165  aix[4-9]*)
13166    if test ia64 != "$host_cpu"; then
13167      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13168      yes,aix,yes) ;;			# shared object as lib.so file only
13169      yes,svr4,*) ;;			# shared object as lib.so archive member only
13170      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13171      esac
13172    fi
13173    ;;
13174  esac
13175  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13176printf "%s\n" "$enable_shared" >&6; }
13177
13178  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13179printf %s "checking whether to build static libraries... " >&6; }
13180  # Make sure either enable_shared or enable_static is yes.
13181  test yes = "$enable_shared" || enable_static=yes
13182  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13183printf "%s\n" "$enable_static" >&6; }
13184
13185
13186
13187
13188fi
13189ac_ext=c
13190ac_cpp='$CPP $CPPFLAGS'
13191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193ac_compiler_gnu=$ac_cv_c_compiler_gnu
13194
13195CC=$lt_save_CC
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211        ac_config_commands="$ac_config_commands libtool"
13212
13213
13214
13215
13216# Only expand once:
13217
13218
13219
13220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13221printf %s "checking whether byte ordering is bigendian... " >&6; }
13222if test ${ac_cv_c_bigendian+y}
13223then :
13224  printf %s "(cached) " >&6
13225else $as_nop
13226  ac_cv_c_bigendian=unknown
13227    # See if we're dealing with a universal compiler.
13228    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229/* end confdefs.h.  */
13230#ifndef __APPLE_CC__
13231	       not a universal capable compiler
13232	     #endif
13233	     typedef int dummy;
13234
13235_ACEOF
13236if ac_fn_c_try_compile "$LINENO"
13237then :
13238
13239	# Check for potential -arch flags.  It is not universal unless
13240	# there are at least two -arch flags with different values.
13241	ac_arch=
13242	ac_prev=
13243	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13244	 if test -n "$ac_prev"; then
13245	   case $ac_word in
13246	     i?86 | x86_64 | ppc | ppc64)
13247	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13248		 ac_arch=$ac_word
13249	       else
13250		 ac_cv_c_bigendian=universal
13251		 break
13252	       fi
13253	       ;;
13254	   esac
13255	   ac_prev=
13256	 elif test "x$ac_word" = "x-arch"; then
13257	   ac_prev=arch
13258	 fi
13259       done
13260fi
13261rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13262    if test $ac_cv_c_bigendian = unknown; then
13263      # See if sys/param.h defines the BYTE_ORDER macro.
13264      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265/* end confdefs.h.  */
13266#include <sys/types.h>
13267	     #include <sys/param.h>
13268
13269int
13270main (void)
13271{
13272#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13273		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13274		     && LITTLE_ENDIAN)
13275	      bogus endian macros
13276	     #endif
13277
13278  ;
13279  return 0;
13280}
13281_ACEOF
13282if ac_fn_c_try_compile "$LINENO"
13283then :
13284  # It does; now see whether it defined to BIG_ENDIAN or not.
13285	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286/* end confdefs.h.  */
13287#include <sys/types.h>
13288		#include <sys/param.h>
13289
13290int
13291main (void)
13292{
13293#if BYTE_ORDER != BIG_ENDIAN
13294		 not big endian
13295		#endif
13296
13297  ;
13298  return 0;
13299}
13300_ACEOF
13301if ac_fn_c_try_compile "$LINENO"
13302then :
13303  ac_cv_c_bigendian=yes
13304else $as_nop
13305  ac_cv_c_bigendian=no
13306fi
13307rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13308fi
13309rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13310    fi
13311    if test $ac_cv_c_bigendian = unknown; then
13312      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13313      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314/* end confdefs.h.  */
13315#include <limits.h>
13316
13317int
13318main (void)
13319{
13320#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13321	      bogus endian macros
13322	     #endif
13323
13324  ;
13325  return 0;
13326}
13327_ACEOF
13328if ac_fn_c_try_compile "$LINENO"
13329then :
13330  # It does; now see whether it defined to _BIG_ENDIAN or not.
13331	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13332/* end confdefs.h.  */
13333#include <limits.h>
13334
13335int
13336main (void)
13337{
13338#ifndef _BIG_ENDIAN
13339		 not big endian
13340		#endif
13341
13342  ;
13343  return 0;
13344}
13345_ACEOF
13346if ac_fn_c_try_compile "$LINENO"
13347then :
13348  ac_cv_c_bigendian=yes
13349else $as_nop
13350  ac_cv_c_bigendian=no
13351fi
13352rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13353fi
13354rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13355    fi
13356    if test $ac_cv_c_bigendian = unknown; then
13357      # Compile a test program.
13358      if test "$cross_compiling" = yes
13359then :
13360  # Try to guess by grepping values from an object file.
13361	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362/* end confdefs.h.  */
13363unsigned short int ascii_mm[] =
13364		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13365		unsigned short int ascii_ii[] =
13366		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13367		int use_ascii (int i) {
13368		  return ascii_mm[i] + ascii_ii[i];
13369		}
13370		unsigned short int ebcdic_ii[] =
13371		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13372		unsigned short int ebcdic_mm[] =
13373		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13374		int use_ebcdic (int i) {
13375		  return ebcdic_mm[i] + ebcdic_ii[i];
13376		}
13377		extern int foo;
13378
13379int
13380main (void)
13381{
13382return use_ascii (foo) == use_ebcdic (foo);
13383  ;
13384  return 0;
13385}
13386_ACEOF
13387if ac_fn_c_try_compile "$LINENO"
13388then :
13389  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13390	      ac_cv_c_bigendian=yes
13391	    fi
13392	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13393	      if test "$ac_cv_c_bigendian" = unknown; then
13394		ac_cv_c_bigendian=no
13395	      else
13396		# finding both strings is unlikely to happen, but who knows?
13397		ac_cv_c_bigendian=unknown
13398	      fi
13399	    fi
13400fi
13401rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13402else $as_nop
13403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404/* end confdefs.h.  */
13405$ac_includes_default
13406int
13407main (void)
13408{
13409
13410	     /* Are we little or big endian?  From Harbison&Steele.  */
13411	     union
13412	     {
13413	       long int l;
13414	       char c[sizeof (long int)];
13415	     } u;
13416	     u.l = 1;
13417	     return u.c[sizeof (long int) - 1] == 1;
13418
13419  ;
13420  return 0;
13421}
13422_ACEOF
13423if ac_fn_c_try_run "$LINENO"
13424then :
13425  ac_cv_c_bigendian=no
13426else $as_nop
13427  ac_cv_c_bigendian=yes
13428fi
13429rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13430  conftest.$ac_objext conftest.beam conftest.$ac_ext
13431fi
13432
13433    fi
13434fi
13435{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13436printf "%s\n" "$ac_cv_c_bigendian" >&6; }
13437 case $ac_cv_c_bigendian in #(
13438   yes)
13439     printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
13440;; #(
13441   no)
13442      ;; #(
13443   universal)
13444
13445printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13446
13447     ;; #(
13448   *)
13449     as_fn_error $? "unknown endianness
13450 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13451 esac
13452
13453{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13454printf %s "checking for an ANSI C-conforming const... " >&6; }
13455if test ${ac_cv_c_const+y}
13456then :
13457  printf %s "(cached) " >&6
13458else $as_nop
13459  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13460/* end confdefs.h.  */
13461
13462int
13463main (void)
13464{
13465
13466#ifndef __cplusplus
13467  /* Ultrix mips cc rejects this sort of thing.  */
13468  typedef int charset[2];
13469  const charset cs = { 0, 0 };
13470  /* SunOS 4.1.1 cc rejects this.  */
13471  char const *const *pcpcc;
13472  char **ppc;
13473  /* NEC SVR4.0.2 mips cc rejects this.  */
13474  struct point {int x, y;};
13475  static struct point const zero = {0,0};
13476  /* IBM XL C 1.02.0.0 rejects this.
13477     It does not let you subtract one const X* pointer from another in
13478     an arm of an if-expression whose if-part is not a constant
13479     expression */
13480  const char *g = "string";
13481  pcpcc = &g + (g ? g-g : 0);
13482  /* HPUX 7.0 cc rejects these. */
13483  ++pcpcc;
13484  ppc = (char**) pcpcc;
13485  pcpcc = (char const *const *) ppc;
13486  { /* SCO 3.2v4 cc rejects this sort of thing.  */
13487    char tx;
13488    char *t = &tx;
13489    char const *s = 0 ? (char *) 0 : (char const *) 0;
13490
13491    *t++ = 0;
13492    if (s) return 0;
13493  }
13494  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13495    int x[] = {25, 17};
13496    const int *foo = &x[0];
13497    ++foo;
13498  }
13499  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13500    typedef const int *iptr;
13501    iptr p = 0;
13502    ++p;
13503  }
13504  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
13505       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13506    struct s { int j; const int *ap[3]; } bx;
13507    struct s *b = &bx; b->j = 5;
13508  }
13509  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13510    const int foo = 10;
13511    if (!foo) return 0;
13512  }
13513  return !cs[0] && !zero.x;
13514#endif
13515
13516  ;
13517  return 0;
13518}
13519_ACEOF
13520if ac_fn_c_try_compile "$LINENO"
13521then :
13522  ac_cv_c_const=yes
13523else $as_nop
13524  ac_cv_c_const=no
13525fi
13526rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13527fi
13528{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13529printf "%s\n" "$ac_cv_c_const" >&6; }
13530if test $ac_cv_c_const = no; then
13531
13532printf "%s\n" "#define const /**/" >>confdefs.h
13533
13534fi
13535
13536{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13537printf %s "checking for inline... " >&6; }
13538if test ${ac_cv_c_inline+y}
13539then :
13540  printf %s "(cached) " >&6
13541else $as_nop
13542  ac_cv_c_inline=no
13543for ac_kw in inline __inline__ __inline; do
13544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545/* end confdefs.h.  */
13546#ifndef __cplusplus
13547typedef int foo_t;
13548static $ac_kw foo_t static_foo (void) {return 0; }
13549$ac_kw foo_t foo (void) {return 0; }
13550#endif
13551
13552_ACEOF
13553if ac_fn_c_try_compile "$LINENO"
13554then :
13555  ac_cv_c_inline=$ac_kw
13556fi
13557rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13558  test "$ac_cv_c_inline" != no && break
13559done
13560
13561fi
13562{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13563printf "%s\n" "$ac_cv_c_inline" >&6; }
13564
13565case $ac_cv_c_inline in
13566  inline | yes) ;;
13567  *)
13568    case $ac_cv_c_inline in
13569      no) ac_val=;;
13570      *) ac_val=$ac_cv_c_inline;;
13571    esac
13572    cat >>confdefs.h <<_ACEOF
13573#ifndef __cplusplus
13574#define inline $ac_val
13575#endif
13576_ACEOF
13577    ;;
13578esac
13579
13580{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
13581printf %s "checking for C/C++ restrict keyword... " >&6; }
13582if test ${ac_cv_c_restrict+y}
13583then :
13584  printf %s "(cached) " >&6
13585else $as_nop
13586  ac_cv_c_restrict=no
13587   # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see:
13588   # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html
13589   # Put 'restrict' last, because C++ lacks it.
13590   for ac_kw in __restrict__ __restrict _Restrict restrict; do
13591     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592/* end confdefs.h.  */
13593typedef int *int_ptr;
13594	   int foo (int_ptr $ac_kw ip) { return ip[0]; }
13595	   int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
13596	   int bar (int ip[$ac_kw]) { return ip[0]; }
13597
13598int
13599main (void)
13600{
13601int s[1];
13602	   int *$ac_kw t = s;
13603	   t[0] = 0;
13604	   return foo (t) + bar (t);
13605
13606  ;
13607  return 0;
13608}
13609_ACEOF
13610if ac_fn_c_try_compile "$LINENO"
13611then :
13612  ac_cv_c_restrict=$ac_kw
13613fi
13614rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13615     test "$ac_cv_c_restrict" != no && break
13616   done
13617
13618fi
13619{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
13620printf "%s\n" "$ac_cv_c_restrict" >&6; }
13621
13622 case $ac_cv_c_restrict in
13623   restrict) ;;
13624   no) printf "%s\n" "#define restrict /**/" >>confdefs.h
13625 ;;
13626   *)  printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h
13627 ;;
13628 esac
13629
13630
13631
13632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C99 variable-size arrays" >&5
13633printf %s "checking for C99 variable-size arrays... " >&6; }
13634cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635/* end confdefs.h.  */
13636
13637int
13638main (void)
13639{
13640
13641int foo;
13642foo = 10;
13643int array[foo];
13644
13645  ;
13646  return 0;
13647}
13648_ACEOF
13649if ac_fn_c_try_compile "$LINENO"
13650then :
13651  has_var_arrays=yes;
13652printf "%s\n" "#define VAR_ARRAYS /**/" >>confdefs.h
13653
13654
13655else $as_nop
13656  has_var_arrays=no
13657
13658fi
13659rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13660{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_var_arrays" >&5
13661printf "%s\n" "$has_var_arrays" >&6; }
13662
13663{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSE in current arch/CFLAGS" >&5
13664printf %s "checking for SSE in current arch/CFLAGS... " >&6; }
13665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666/* end confdefs.h.  */
13667
13668
13669#include <xmmintrin.h>
13670__m128 testfunc(float *a, float *b) {
13671  return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
13672}
13673
13674int
13675main (void)
13676{
13677
13678  ;
13679  return 0;
13680}
13681_ACEOF
13682if ac_fn_c_try_link "$LINENO"
13683then :
13684
13685has_sse=yes
13686
13687else $as_nop
13688
13689has_sse=no
13690
13691
13692fi
13693rm -f core conftest.err conftest.$ac_objext conftest.beam \
13694    conftest$ac_exeext conftest.$ac_ext
13695{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_sse" >&5
13696printf "%s\n" "$has_sse" >&6; }
13697
13698{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSE2 in current arch/CFLAGS" >&5
13699printf %s "checking for SSE2 in current arch/CFLAGS... " >&6; }
13700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701/* end confdefs.h.  */
13702
13703
13704#include <emmintrin.h>
13705__m128d testfunc(double *a, double *b) {
13706  return _mm_add_pd(_mm_loadu_pd(a), _mm_loadu_pd(b));
13707}
13708
13709int
13710main (void)
13711{
13712
13713  ;
13714  return 0;
13715}
13716_ACEOF
13717if ac_fn_c_try_link "$LINENO"
13718then :
13719
13720has_sse2=yes
13721
13722else $as_nop
13723
13724has_sse2=no
13725
13726
13727fi
13728rm -f core conftest.err conftest.$ac_objext conftest.beam \
13729    conftest$ac_exeext conftest.$ac_ext
13730{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_sse2" >&5
13731printf "%s\n" "$has_sse2" >&6; }
13732
13733{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NEON in current arch/CFLAGS" >&5
13734printf %s "checking for NEON in current arch/CFLAGS... " >&6; }
13735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736/* end confdefs.h.  */
13737
13738
13739#include <arm_neon.h>
13740int32x4_t testfunc(int16_t *a, int16_t *b) {
13741      return vmull_s16(vld1_s16(a), vld1_s16(b));
13742}
13743
13744int
13745main (void)
13746{
13747
13748  ;
13749  return 0;
13750}
13751_ACEOF
13752if ac_fn_c_try_link "$LINENO"
13753then :
13754
13755has_neon=yes
13756
13757else $as_nop
13758
13759has_neon=no
13760
13761
13762fi
13763rm -f core conftest.err conftest.$ac_objext conftest.beam \
13764    conftest$ac_exeext conftest.$ac_ext
13765{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_neon" >&5
13766printf "%s\n" "$has_neon" >&6; }
13767
13768SAVE_CFLAGS="$CFLAGS"
13769CFLAGS="$CFLAGS -fvisibility=hidden"
13770{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF visibility" >&5
13771printf %s "checking for ELF visibility... " >&6; }
13772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773/* end confdefs.h.  */
13774
13775
13776#pragma GCC visibility push(hidden)
13777__attribute__((visibility("default")))
13778int var=10;
13779
13780int
13781main (void)
13782{
13783
13784  ;
13785  return 0;
13786}
13787_ACEOF
13788if ac_fn_c_try_compile "$LINENO"
13789then :
13790
13791has_visibility=yes
13792
13793printf "%s\n" "#define EXPORT __attribute__((visibility(\"default\")))" >>confdefs.h
13794
13795
13796else $as_nop
13797
13798has_visibility=no
13799
13800printf "%s\n" "#define EXPORT /**/" >>confdefs.h
13801
13802CFLAGS="$SAVE_CFLAGS"
13803
13804
13805fi
13806rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13807{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $has_visibility" >&5
13808printf "%s\n" "$has_visibility" >&6; }
13809
13810ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13811if test "x$ac_cv_header_sys_soundcard_h" = xyes
13812then :
13813  printf "%s\n" "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
13814
13815fi
13816ac_fn_c_check_header_compile "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
13817if test "x$ac_cv_header_sys_audioio_h" = xyes
13818then :
13819  printf "%s\n" "#define HAVE_SYS_AUDIOIO_H 1" >>confdefs.h
13820
13821fi
13822
13823
13824
13825
13826LIBM=
13827case $host in
13828*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
13829  # These system don't have libm, or don't need it
13830  ;;
13831*-ncr-sysv4.3*)
13832  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13833printf %s "checking for _mwvalidcheckl in -lmw... " >&6; }
13834if test ${ac_cv_lib_mw__mwvalidcheckl+y}
13835then :
13836  printf %s "(cached) " >&6
13837else $as_nop
13838  ac_check_lib_save_LIBS=$LIBS
13839LIBS="-lmw  $LIBS"
13840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841/* end confdefs.h.  */
13842
13843/* Override any GCC internal prototype to avoid an error.
13844   Use char because int might match the return type of a GCC
13845   builtin and then its argument prototype would still apply.  */
13846char _mwvalidcheckl ();
13847int
13848main (void)
13849{
13850return _mwvalidcheckl ();
13851  ;
13852  return 0;
13853}
13854_ACEOF
13855if ac_fn_c_try_link "$LINENO"
13856then :
13857  ac_cv_lib_mw__mwvalidcheckl=yes
13858else $as_nop
13859  ac_cv_lib_mw__mwvalidcheckl=no
13860fi
13861rm -f core conftest.err conftest.$ac_objext conftest.beam \
13862    conftest$ac_exeext conftest.$ac_ext
13863LIBS=$ac_check_lib_save_LIBS
13864fi
13865{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13866printf "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13867if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
13868then :
13869  LIBM=-lmw
13870fi
13871
13872  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13873printf %s "checking for cos in -lm... " >&6; }
13874if test ${ac_cv_lib_m_cos+y}
13875then :
13876  printf %s "(cached) " >&6
13877else $as_nop
13878  ac_check_lib_save_LIBS=$LIBS
13879LIBS="-lm  $LIBS"
13880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881/* end confdefs.h.  */
13882
13883/* Override any GCC internal prototype to avoid an error.
13884   Use char because int might match the return type of a GCC
13885   builtin and then its argument prototype would still apply.  */
13886char cos ();
13887int
13888main (void)
13889{
13890return cos ();
13891  ;
13892  return 0;
13893}
13894_ACEOF
13895if ac_fn_c_try_link "$LINENO"
13896then :
13897  ac_cv_lib_m_cos=yes
13898else $as_nop
13899  ac_cv_lib_m_cos=no
13900fi
13901rm -f core conftest.err conftest.$ac_objext conftest.beam \
13902    conftest$ac_exeext conftest.$ac_ext
13903LIBS=$ac_check_lib_save_LIBS
13904fi
13905{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13906printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
13907if test "x$ac_cv_lib_m_cos" = xyes
13908then :
13909  LIBM="$LIBM -lm"
13910fi
13911
13912  ;;
13913*)
13914  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13915printf %s "checking for cos in -lm... " >&6; }
13916if test ${ac_cv_lib_m_cos+y}
13917then :
13918  printf %s "(cached) " >&6
13919else $as_nop
13920  ac_check_lib_save_LIBS=$LIBS
13921LIBS="-lm  $LIBS"
13922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923/* end confdefs.h.  */
13924
13925/* Override any GCC internal prototype to avoid an error.
13926   Use char because int might match the return type of a GCC
13927   builtin and then its argument prototype would still apply.  */
13928char cos ();
13929int
13930main (void)
13931{
13932return cos ();
13933  ;
13934  return 0;
13935}
13936_ACEOF
13937if ac_fn_c_try_link "$LINENO"
13938then :
13939  ac_cv_lib_m_cos=yes
13940else $as_nop
13941  ac_cv_lib_m_cos=no
13942fi
13943rm -f core conftest.err conftest.$ac_objext conftest.beam \
13944    conftest$ac_exeext conftest.$ac_ext
13945LIBS=$ac_check_lib_save_LIBS
13946fi
13947{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13948printf "%s\n" "$ac_cv_lib_m_cos" >&6; }
13949if test "x$ac_cv_lib_m_cos" = xyes
13950then :
13951  LIBM=-lm
13952fi
13953
13954  ;;
13955esac
13956
13957
13958
13959
13960# Check whether --enable-sse was given.
13961if test ${enable_sse+y}
13962then :
13963  enableval=$enable_sse;
13964if test "x$enableval" != xno; then
13965has_sse=yes
13966has_sse2=yes
13967CFLAGS="$CFLAGS -O3 -msse -msse2"
13968else
13969has_sse=no
13970has_sse2=no
13971fi
13972
13973fi
13974
13975
13976# Check whether --enable-neon was given.
13977if test ${enable_neon+y}
13978then :
13979  enableval=$enable_neon;
13980if test "x$enableval" != xno; then
13981has_neon=yes
13982case "$host" in #(
13983  arm*) :
13984    CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon"
13985 ;; #(
13986  *) :
13987     ;;
13988esac
13989else
13990has_neon=no
13991fi
13992
13993fi
13994
13995
13996
13997FFT=smallft
13998
13999# Check whether --enable-fixed-point was given.
14000if test ${enable_fixed_point+y}
14001then :
14002  enableval=$enable_fixed_point; if test "$enableval" = yes; then
14003  FFT=kiss
14004  has_sse=no
14005
14006printf "%s\n" "#define FIXED_POINT /**/" >>confdefs.h
14007
14008else
14009
14010printf "%s\n" "#define FLOATING_POINT /**/" >>confdefs.h
14011
14012fi
14013else $as_nop
14014
14015printf "%s\n" "#define FLOATING_POINT /**/" >>confdefs.h
14016
14017fi
14018
14019
14020if test "$has_sse" = yes; then
14021
14022printf "%s\n" "#define USE_SSE /**/" >>confdefs.h
14023
14024fi
14025
14026if test "$has_neon" = yes; then
14027
14028printf "%s\n" "#define USE_NEON /**/" >>confdefs.h
14029
14030fi
14031
14032if test "$has_sse2" = yes; then
14033
14034printf "%s\n" "#define USE_SSE2 /**/" >>confdefs.h
14035
14036fi
14037
14038# Check whether --enable-float-api was given.
14039if test ${enable_float_api+y}
14040then :
14041  enableval=$enable_float_api; if test "$enableval" = no; then
14042
14043printf "%s\n" "#define DISABLE_FLOAT_API /**/" >>confdefs.h
14044
14045fi
14046fi
14047
14048
14049# Check whether --enable-examples was given.
14050if test ${enable_examples+y}
14051then :
14052  enableval=$enable_examples;
14053fi
14054
14055if test "$enableval" != no; then
14056   if true; then
14057  BUILD_EXAMPLES_TRUE=
14058  BUILD_EXAMPLES_FALSE='#'
14059else
14060  BUILD_EXAMPLES_TRUE='#'
14061  BUILD_EXAMPLES_FALSE=
14062fi
14063
14064else
14065   if false; then
14066  BUILD_EXAMPLES_TRUE=
14067  BUILD_EXAMPLES_FALSE='#'
14068else
14069  BUILD_EXAMPLES_TRUE='#'
14070  BUILD_EXAMPLES_FALSE=
14071fi
14072
14073fi
14074
14075# Check whether --enable-arm4-asm was given.
14076if test ${enable_arm4_asm+y}
14077then :
14078  enableval=$enable_arm4_asm; if test "$enableval" = yes; then
14079
14080printf "%s\n" "#define ARM4_ASM /**/" >>confdefs.h
14081
14082fi
14083fi
14084
14085
14086# Check whether --enable-arm5e-asm was given.
14087if test ${enable_arm5e_asm+y}
14088then :
14089  enableval=$enable_arm5e_asm; if test "$enableval" = yes; then
14090
14091printf "%s\n" "#define ARM5E_ASM /**/" >>confdefs.h
14092
14093fi
14094fi
14095
14096
14097# Check whether --enable-blackfin-asm was given.
14098if test ${enable_blackfin_asm+y}
14099then :
14100  enableval=$enable_blackfin_asm; if test "$enableval" = yes; then
14101
14102printf "%s\n" "#define BFIN_ASM /**/" >>confdefs.h
14103
14104fi
14105fi
14106
14107case $host_os in
14108  uclinux) LDFLAGS="-Wl,-elf2flt=-s100000 $LDFLAGS";;
14109esac
14110
14111# Check whether --enable-fixed-point-debug was given.
14112if test ${enable_fixed_point_debug+y}
14113then :
14114  enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then
14115
14116printf "%s\n" "#define FIXED_DEBUG /**/" >>confdefs.h
14117
14118fi
14119fi
14120
14121
14122# Check whether --enable-resample-full-sinc-table was given.
14123if test ${enable_resample_full_sinc_table+y}
14124then :
14125  enableval=$enable_resample_full_sinc_table; if test "$enableval" = yes; then
14126
14127printf "%s\n" "#define RESAMPLE_FULL_SINC_TABLE /**/" >>confdefs.h
14128
14129fi
14130fi
14131
14132
14133# Check whether --enable-ti-c55x was given.
14134if test ${enable_ti_c55x+y}
14135then :
14136  enableval=$enable_ti_c55x; if test "$enableval" = yes; then
14137  has_char16=yes;
14138
14139printf "%s\n" "#define TI_C55X /**/" >>confdefs.h
14140
14141fi
14142fi
14143
14144
14145
14146# Check whether --with-fft was given.
14147if test ${with_fft+y}
14148then :
14149  withval=$with_fft; FFT=$withval
14150
14151fi
14152
14153
14154FFT_PKGCONFIG=
14155
14156
14157
14158
14159
14160
14161
14162if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14163	if test -n "$ac_tool_prefix"; then
14164  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14165set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14166{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14167printf %s "checking for $ac_word... " >&6; }
14168if test ${ac_cv_path_PKG_CONFIG+y}
14169then :
14170  printf %s "(cached) " >&6
14171else $as_nop
14172  case $PKG_CONFIG in
14173  [\\/]* | ?:[\\/]*)
14174  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14175  ;;
14176  *)
14177  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14178for as_dir in $PATH
14179do
14180  IFS=$as_save_IFS
14181  case $as_dir in #(((
14182    '') as_dir=./ ;;
14183    */) ;;
14184    *) as_dir=$as_dir/ ;;
14185  esac
14186    for ac_exec_ext in '' $ac_executable_extensions; do
14187  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14188    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
14189    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14190    break 2
14191  fi
14192done
14193  done
14194IFS=$as_save_IFS
14195
14196  ;;
14197esac
14198fi
14199PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14200if test -n "$PKG_CONFIG"; then
14201  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14202printf "%s\n" "$PKG_CONFIG" >&6; }
14203else
14204  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205printf "%s\n" "no" >&6; }
14206fi
14207
14208
14209fi
14210if test -z "$ac_cv_path_PKG_CONFIG"; then
14211  ac_pt_PKG_CONFIG=$PKG_CONFIG
14212  # Extract the first word of "pkg-config", so it can be a program name with args.
14213set dummy pkg-config; ac_word=$2
14214{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14215printf %s "checking for $ac_word... " >&6; }
14216if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
14217then :
14218  printf %s "(cached) " >&6
14219else $as_nop
14220  case $ac_pt_PKG_CONFIG in
14221  [\\/]* | ?:[\\/]*)
14222  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14223  ;;
14224  *)
14225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226for as_dir in $PATH
14227do
14228  IFS=$as_save_IFS
14229  case $as_dir in #(((
14230    '') as_dir=./ ;;
14231    */) ;;
14232    *) as_dir=$as_dir/ ;;
14233  esac
14234    for ac_exec_ext in '' $ac_executable_extensions; do
14235  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
14236    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
14237    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14238    break 2
14239  fi
14240done
14241  done
14242IFS=$as_save_IFS
14243
14244  ;;
14245esac
14246fi
14247ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14248if test -n "$ac_pt_PKG_CONFIG"; then
14249  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14250printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
14251else
14252  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253printf "%s\n" "no" >&6; }
14254fi
14255
14256  if test "x$ac_pt_PKG_CONFIG" = x; then
14257    PKG_CONFIG=""
14258  else
14259    case $cross_compiling:$ac_tool_warned in
14260yes:)
14261{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14262printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14263ac_tool_warned=yes ;;
14264esac
14265    PKG_CONFIG=$ac_pt_PKG_CONFIG
14266  fi
14267else
14268  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14269fi
14270
14271fi
14272if test -n "$PKG_CONFIG"; then
14273	_pkg_min_version=0.9.0
14274	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14275printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14276	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14277		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14278printf "%s\n" "yes" >&6; }
14279	else
14280		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14281printf "%s\n" "no" >&6; }
14282		PKG_CONFIG=""
14283	fi
14284fi
14285case $FFT in #(
14286  kiss) :
14287
14288
14289printf "%s\n" "#define USE_KISS_FFT /**/" >>confdefs.h
14290
14291  ;; #(
14292  smallft) :
14293
14294
14295printf "%s\n" "#define USE_SMALLFT /**/" >>confdefs.h
14296
14297  ;; #(
14298  gpl-fftw3) :
14299
14300
14301printf "%s\n" "#define USE_GPL_FFTW3 /**/" >>confdefs.h
14302
14303
14304pkg_failed=no
14305{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5
14306printf %s "checking for fftw3f... " >&6; }
14307
14308if test -n "$FFT_CFLAGS"; then
14309    pkg_cv_FFT_CFLAGS="$FFT_CFLAGS"
14310 elif test -n "$PKG_CONFIG"; then
14311    if test -n "$PKG_CONFIG" && \
14312    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5
14313  ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
14314  ac_status=$?
14315  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14316  test $ac_status = 0; }; then
14317  pkg_cv_FFT_CFLAGS=`$PKG_CONFIG --cflags "fftw3f" 2>/dev/null`
14318		      test "x$?" != "x0" && pkg_failed=yes
14319else
14320  pkg_failed=yes
14321fi
14322 else
14323    pkg_failed=untried
14324fi
14325if test -n "$FFT_LIBS"; then
14326    pkg_cv_FFT_LIBS="$FFT_LIBS"
14327 elif test -n "$PKG_CONFIG"; then
14328    if test -n "$PKG_CONFIG" && \
14329    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5
14330  ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
14331  ac_status=$?
14332  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14333  test $ac_status = 0; }; then
14334  pkg_cv_FFT_LIBS=`$PKG_CONFIG --libs "fftw3f" 2>/dev/null`
14335		      test "x$?" != "x0" && pkg_failed=yes
14336else
14337  pkg_failed=yes
14338fi
14339 else
14340    pkg_failed=untried
14341fi
14342
14343
14344
14345if test $pkg_failed = yes; then
14346        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347printf "%s\n" "no" >&6; }
14348
14349if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14350        _pkg_short_errors_supported=yes
14351else
14352        _pkg_short_errors_supported=no
14353fi
14354        if test $_pkg_short_errors_supported = yes; then
14355	        FFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3f" 2>&1`
14356        else
14357	        FFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3f" 2>&1`
14358        fi
14359	# Put the nasty error message in config.log where it belongs
14360	echo "$FFT_PKG_ERRORS" >&5
14361
14362	as_fn_error $? "Package requirements (fftw3f) were not met:
14363
14364$FFT_PKG_ERRORS
14365
14366Consider adjusting the PKG_CONFIG_PATH environment variable if you
14367installed software in a non-standard prefix.
14368
14369Alternatively, you may set the environment variables FFT_CFLAGS
14370and FFT_LIBS to avoid the need to call pkg-config.
14371See the pkg-config man page for more details." "$LINENO" 5
14372elif test $pkg_failed = untried; then
14373        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14374printf "%s\n" "no" >&6; }
14375	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14376printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14377as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14378is in your PATH or set the PKG_CONFIG environment variable to the full
14379path to pkg-config.
14380
14381Alternatively, you may set the environment variables FFT_CFLAGS
14382and FFT_LIBS to avoid the need to call pkg-config.
14383See the pkg-config man page for more details.
14384
14385To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14386See \`config.log' for more details" "$LINENO" 5; }
14387else
14388	FFT_CFLAGS=$pkg_cv_FFT_CFLAGS
14389	FFT_LIBS=$pkg_cv_FFT_LIBS
14390        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14391printf "%s\n" "yes" >&6; }
14392
14393fi
14394  ;; #(
14395  proprietary-intel-mkl) :
14396
14397
14398printf "%s\n" "#define USE_INTEL_MKL /**/" >>confdefs.h
14399
14400  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for valid MKL" >&5
14401printf %s "checking for valid MKL... " >&6; }
14402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403/* end confdefs.h.  */
14404
14405
14406#include <mkl.h>
14407void func() {
14408  DFTI_DESCRIPTOR_HANDLE h;
14409  MKL_LONG result=DftiCreateDescriptor(&h, DFTI_SINGLE, DFTI_REAL, 0);
14410}
14411int
14412main (void)
14413{
14414
14415  ;
14416  return 0;
14417}
14418_ACEOF
14419if ac_fn_c_try_link "$LINENO"
14420then :
14421  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14422printf "%s\n" "yes" >&6; }
14423else $as_nop
14424  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14425printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14426as_fn_error $? "Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
14427See \`config.log' for more details" "$LINENO" 5; }
14428
14429fi
14430rm -f core conftest.err conftest.$ac_objext conftest.beam \
14431    conftest$ac_exeext conftest.$ac_ext
14432  ;; #(
14433  *) :
14434    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14435printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14436as_fn_error $? "Unknown FFT $FFT specified for --with-fft
14437See \`config.log' for more details" "$LINENO" 5; }
14438 ;;
14439esac
14440 if test "$FFT" = "kiss"; then
14441  BUILD_KISS_FFT_TRUE=
14442  BUILD_KISS_FFT_FALSE='#'
14443else
14444  BUILD_KISS_FFT_TRUE='#'
14445  BUILD_KISS_FFT_FALSE=
14446fi
14447
14448 if test "$FFT" = "smallft"; then
14449  BUILD_SMALLFT_TRUE=
14450  BUILD_SMALLFT_FALSE='#'
14451else
14452  BUILD_SMALLFT_TRUE='#'
14453  BUILD_SMALLFT_FALSE=
14454fi
14455
14456
14457
14458
14459# The cast to long int works around a bug in the HP C Compiler
14460# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14461# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14462# This bug is HP SR number 8606223364.
14463{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5
14464printf %s "checking size of int16_t... " >&6; }
14465if test ${ac_cv_sizeof_int16_t+y}
14466then :
14467  printf %s "(cached) " >&6
14468else $as_nop
14469  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t"        "$ac_includes_default"
14470then :
14471
14472else $as_nop
14473  if test "$ac_cv_type_int16_t" = yes; then
14474     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14475printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14476as_fn_error 77 "cannot compute sizeof (int16_t)
14477See \`config.log' for more details" "$LINENO" 5; }
14478   else
14479     ac_cv_sizeof_int16_t=0
14480   fi
14481fi
14482
14483fi
14484{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5
14485printf "%s\n" "$ac_cv_sizeof_int16_t" >&6; }
14486
14487
14488
14489printf "%s\n" "#define SIZEOF_INT16_T $ac_cv_sizeof_int16_t" >>confdefs.h
14490
14491
14492# The cast to long int works around a bug in the HP C Compiler
14493# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14494# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14495# This bug is HP SR number 8606223364.
14496{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5
14497printf %s "checking size of uint16_t... " >&6; }
14498if test ${ac_cv_sizeof_uint16_t+y}
14499then :
14500  printf %s "(cached) " >&6
14501else $as_nop
14502  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t"        "$ac_includes_default"
14503then :
14504
14505else $as_nop
14506  if test "$ac_cv_type_uint16_t" = yes; then
14507     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14508printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14509as_fn_error 77 "cannot compute sizeof (uint16_t)
14510See \`config.log' for more details" "$LINENO" 5; }
14511   else
14512     ac_cv_sizeof_uint16_t=0
14513   fi
14514fi
14515
14516fi
14517{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5
14518printf "%s\n" "$ac_cv_sizeof_uint16_t" >&6; }
14519
14520
14521
14522printf "%s\n" "#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t" >>confdefs.h
14523
14524
14525# The cast to long int works around a bug in the HP C Compiler
14526# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14527# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14528# This bug is HP SR number 8606223364.
14529{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of u_int16_t" >&5
14530printf %s "checking size of u_int16_t... " >&6; }
14531if test ${ac_cv_sizeof_u_int16_t+y}
14532then :
14533  printf %s "(cached) " >&6
14534else $as_nop
14535  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int16_t))" "ac_cv_sizeof_u_int16_t"        "$ac_includes_default"
14536then :
14537
14538else $as_nop
14539  if test "$ac_cv_type_u_int16_t" = yes; then
14540     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14541printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14542as_fn_error 77 "cannot compute sizeof (u_int16_t)
14543See \`config.log' for more details" "$LINENO" 5; }
14544   else
14545     ac_cv_sizeof_u_int16_t=0
14546   fi
14547fi
14548
14549fi
14550{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int16_t" >&5
14551printf "%s\n" "$ac_cv_sizeof_u_int16_t" >&6; }
14552
14553
14554
14555printf "%s\n" "#define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t" >>confdefs.h
14556
14557
14558# The cast to long int works around a bug in the HP C Compiler
14559# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14560# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14561# This bug is HP SR number 8606223364.
14562{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5
14563printf %s "checking size of int32_t... " >&6; }
14564if test ${ac_cv_sizeof_int32_t+y}
14565then :
14566  printf %s "(cached) " >&6
14567else $as_nop
14568  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t"        "$ac_includes_default"
14569then :
14570
14571else $as_nop
14572  if test "$ac_cv_type_int32_t" = yes; then
14573     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14574printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14575as_fn_error 77 "cannot compute sizeof (int32_t)
14576See \`config.log' for more details" "$LINENO" 5; }
14577   else
14578     ac_cv_sizeof_int32_t=0
14579   fi
14580fi
14581
14582fi
14583{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5
14584printf "%s\n" "$ac_cv_sizeof_int32_t" >&6; }
14585
14586
14587
14588printf "%s\n" "#define SIZEOF_INT32_T $ac_cv_sizeof_int32_t" >>confdefs.h
14589
14590
14591# The cast to long int works around a bug in the HP C Compiler
14592# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14593# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14594# This bug is HP SR number 8606223364.
14595{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5
14596printf %s "checking size of uint32_t... " >&6; }
14597if test ${ac_cv_sizeof_uint32_t+y}
14598then :
14599  printf %s "(cached) " >&6
14600else $as_nop
14601  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t"        "$ac_includes_default"
14602then :
14603
14604else $as_nop
14605  if test "$ac_cv_type_uint32_t" = yes; then
14606     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14607printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14608as_fn_error 77 "cannot compute sizeof (uint32_t)
14609See \`config.log' for more details" "$LINENO" 5; }
14610   else
14611     ac_cv_sizeof_uint32_t=0
14612   fi
14613fi
14614
14615fi
14616{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5
14617printf "%s\n" "$ac_cv_sizeof_uint32_t" >&6; }
14618
14619
14620
14621printf "%s\n" "#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t" >>confdefs.h
14622
14623
14624# The cast to long int works around a bug in the HP C Compiler
14625# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14626# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14627# This bug is HP SR number 8606223364.
14628{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of u_int32_t" >&5
14629printf %s "checking size of u_int32_t... " >&6; }
14630if test ${ac_cv_sizeof_u_int32_t+y}
14631then :
14632  printf %s "(cached) " >&6
14633else $as_nop
14634  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int32_t))" "ac_cv_sizeof_u_int32_t"        "$ac_includes_default"
14635then :
14636
14637else $as_nop
14638  if test "$ac_cv_type_u_int32_t" = yes; then
14639     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14640printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14641as_fn_error 77 "cannot compute sizeof (u_int32_t)
14642See \`config.log' for more details" "$LINENO" 5; }
14643   else
14644     ac_cv_sizeof_u_int32_t=0
14645   fi
14646fi
14647
14648fi
14649{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int32_t" >&5
14650printf "%s\n" "$ac_cv_sizeof_u_int32_t" >&6; }
14651
14652
14653
14654printf "%s\n" "#define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t" >>confdefs.h
14655
14656
14657# The cast to long int works around a bug in the HP C Compiler
14658# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14659# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14660# This bug is HP SR number 8606223364.
14661{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14662printf %s "checking size of short... " >&6; }
14663if test ${ac_cv_sizeof_short+y}
14664then :
14665  printf %s "(cached) " >&6
14666else $as_nop
14667  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"
14668then :
14669
14670else $as_nop
14671  if test "$ac_cv_type_short" = yes; then
14672     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14673printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14674as_fn_error 77 "cannot compute sizeof (short)
14675See \`config.log' for more details" "$LINENO" 5; }
14676   else
14677     ac_cv_sizeof_short=0
14678   fi
14679fi
14680
14681fi
14682{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14683printf "%s\n" "$ac_cv_sizeof_short" >&6; }
14684
14685
14686
14687printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
14688
14689
14690# The cast to long int works around a bug in the HP C Compiler
14691# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14692# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14693# This bug is HP SR number 8606223364.
14694{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14695printf %s "checking size of int... " >&6; }
14696if test ${ac_cv_sizeof_int+y}
14697then :
14698  printf %s "(cached) " >&6
14699else $as_nop
14700  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"
14701then :
14702
14703else $as_nop
14704  if test "$ac_cv_type_int" = yes; then
14705     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14706printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14707as_fn_error 77 "cannot compute sizeof (int)
14708See \`config.log' for more details" "$LINENO" 5; }
14709   else
14710     ac_cv_sizeof_int=0
14711   fi
14712fi
14713
14714fi
14715{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14716printf "%s\n" "$ac_cv_sizeof_int" >&6; }
14717
14718
14719
14720printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
14721
14722
14723# The cast to long int works around a bug in the HP C Compiler
14724# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14725# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14726# This bug is HP SR number 8606223364.
14727{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14728printf %s "checking size of long... " >&6; }
14729if test ${ac_cv_sizeof_long+y}
14730then :
14731  printf %s "(cached) " >&6
14732else $as_nop
14733  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
14734then :
14735
14736else $as_nop
14737  if test "$ac_cv_type_long" = yes; then
14738     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14739printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14740as_fn_error 77 "cannot compute sizeof (long)
14741See \`config.log' for more details" "$LINENO" 5; }
14742   else
14743     ac_cv_sizeof_long=0
14744   fi
14745fi
14746
14747fi
14748{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14749printf "%s\n" "$ac_cv_sizeof_long" >&6; }
14750
14751
14752
14753printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
14754
14755
14756
14757if test "$has_char16" = "yes"
14758then :
14759
14760   SIZEOF16=1
14761   SIZEOF32=2
14762
14763else $as_nop
14764
14765   SIZEOF16=2
14766   SIZEOF32=4
14767
14768fi
14769
14770case $SIZEOF16 in
14771    $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
14772    $ac_cv_sizeof_short) SIZE16="short";;
14773    $ac_cv_sizeof_int) SIZE16="int";;
14774esac
14775
14776case $SIZEOF16 in
14777    $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
14778    $ac_cv_sizeof_u_int16_t) USIZE16="u_int16_t";;
14779    $ac_cv_sizeof_short) USIZE16="unsigned short";;
14780    $ac_cv_sizeof_int) USIZE16="unsigned int";;
14781esac
14782
14783case $SIZEOF32 in
14784    $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
14785    $ac_cv_sizeof_int) SIZE32="int";;
14786    $ac_cv_sizeof_long) SIZE32="long";;
14787    $ac_cv_sizeof_short) SIZE32="short";;
14788esac
14789
14790case $SIZEOF32 in
14791    $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
14792    $ac_cv_sizeof_u_int32_t) USIZE32="u_int32_t";;
14793    $ac_cv_sizeof_short) USIZE32="unsigned short";;
14794    $ac_cv_sizeof_int) USIZE32="unsigned int";;
14795    $ac_cv_sizeof_long) USIZE32="unsigned long";;
14796esac
14797
14798if test -z "$SIZE16"
14799then :
14800  as_fn_error $? "No 16 bit type found on this platform!" "$LINENO" 5
14801fi
14802if test -z "$SIZE32"
14803then :
14804  as_fn_error $? "No 32 bit type found on this platform!" "$LINENO" 5
14805fi
14806if test -z "$USIZE16"
14807then :
14808  as_fn_error $? "No unsigned 16 bit type found on this platform!" "$LINENO" 5
14809fi
14810if test -z "$USIZE32"
14811then :
14812  as_fn_error $? "No unsigned 32 bit type found on this platform!" "$LINENO" 5
14813fi
14814
14815
14816
14817
14818
14819
14820if test "$ac_cv_header_stdint_h" = "yes"
14821then :
14822  INCLUDE_STDINT="#include <stdint.h>"
14823elif test "$ac_cv_header_inttypes_h" = "yes"
14824then :
14825  INCLUDE_STDINT="#include <inttypes.h>"
14826elif test "$ac_cv_header_sys_types_h" = "yes"
14827then :
14828  INCLUDE_STDINT="#include <sys/types.h>"
14829fi
14830
14831
14832
14833ac_config_files="$ac_config_files Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec include/Makefile include/speex/Makefile speexdsp.pc win32/Makefile win32/libspeexdsp/Makefile symbian/Makefile win32/VS2003/Makefile win32/VS2003/libspeexdsp/Makefile win32/VS2003/tests/Makefile win32/VS2005/Makefile win32/VS2005/libspeexdsp/Makefile win32/VS2005/tests/Makefile win32/VS2008/Makefile win32/VS2008/libspeexdsp/Makefile win32/VS2008/tests/Makefile include/speex/speexdsp_config_types.h ti/Makefile ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile ti/speex_C64_test/Makefile"
14834
14835
14836ac_config_headers="$ac_config_headers config.h"
14837
14838
14839cat >confcache <<\_ACEOF
14840# This file is a shell script that caches the results of configure
14841# tests run on this system so they can be shared between configure
14842# scripts and configure runs, see configure's option --config-cache.
14843# It is not useful on other systems.  If it contains results you don't
14844# want to keep, you may remove or edit it.
14845#
14846# config.status only pays attention to the cache file if you give it
14847# the --recheck option to rerun configure.
14848#
14849# `ac_cv_env_foo' variables (set or unset) will be overridden when
14850# loading this file, other *unset* `ac_cv_foo' will be assigned the
14851# following values.
14852
14853_ACEOF
14854
14855# The following way of writing the cache mishandles newlines in values,
14856# but we know of no workaround that is simple, portable, and efficient.
14857# So, we kill variables containing newlines.
14858# Ultrix sh set writes to stderr and can't be redirected directly,
14859# and sets the high bit in the cache file unless we assign to the vars.
14860(
14861  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14862    eval ac_val=\$$ac_var
14863    case $ac_val in #(
14864    *${as_nl}*)
14865      case $ac_var in #(
14866      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14867printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14868      esac
14869      case $ac_var in #(
14870      _ | IFS | as_nl) ;; #(
14871      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14872      *) { eval $ac_var=; unset $ac_var;} ;;
14873      esac ;;
14874    esac
14875  done
14876
14877  (set) 2>&1 |
14878    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14879    *${as_nl}ac_space=\ *)
14880      # `set' does not quote correctly, so add quotes: double-quote
14881      # substitution turns \\\\ into \\, and sed turns \\ into \.
14882      sed -n \
14883	"s/'/'\\\\''/g;
14884	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14885      ;; #(
14886    *)
14887      # `set' quotes correctly as required by POSIX, so do not add quotes.
14888      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14889      ;;
14890    esac |
14891    sort
14892) |
14893  sed '
14894     /^ac_cv_env_/b end
14895     t clear
14896     :clear
14897     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
14898     t end
14899     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14900     :end' >>confcache
14901if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14902  if test -w "$cache_file"; then
14903    if test "x$cache_file" != "x/dev/null"; then
14904      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14905printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
14906      if test ! -f "$cache_file" || test -h "$cache_file"; then
14907	cat confcache >"$cache_file"
14908      else
14909        case $cache_file in #(
14910        */* | ?:*)
14911	  mv -f confcache "$cache_file"$$ &&
14912	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14913        *)
14914	  mv -f confcache "$cache_file" ;;
14915	esac
14916      fi
14917    fi
14918  else
14919    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14920printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
14921  fi
14922fi
14923rm -f confcache
14924
14925test "x$prefix" = xNONE && prefix=$ac_default_prefix
14926# Let make expand exec_prefix.
14927test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14928
14929DEFS=-DHAVE_CONFIG_H
14930
14931ac_libobjs=
14932ac_ltlibobjs=
14933U=
14934for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14935  # 1. Remove the extension, and $U if already installed.
14936  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14937  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
14938  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14939  #    will be set to the directory where LIBOBJS objects are built.
14940  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14941  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14942done
14943LIBOBJS=$ac_libobjs
14944
14945LTLIBOBJS=$ac_ltlibobjs
14946
14947
14948{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14949printf %s "checking that generated files are newer than configure... " >&6; }
14950   if test -n "$am_sleep_pid"; then
14951     # Hide warnings about reused PIDs.
14952     wait $am_sleep_pid 2>/dev/null
14953   fi
14954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
14955printf "%s\n" "done" >&6; }
14956 if test -n "$EXEEXT"; then
14957  am__EXEEXT_TRUE=
14958  am__EXEEXT_FALSE='#'
14959else
14960  am__EXEEXT_TRUE='#'
14961  am__EXEEXT_FALSE=
14962fi
14963
14964if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14965  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14966Usually this means the macro was only invoked conditionally." "$LINENO" 5
14967fi
14968if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14969  as_fn_error $? "conditional \"AMDEP\" was never defined.
14970Usually this means the macro was only invoked conditionally." "$LINENO" 5
14971fi
14972if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14973  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14974Usually this means the macro was only invoked conditionally." "$LINENO" 5
14975fi
14976
14977if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
14978  as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
14979Usually this means the macro was only invoked conditionally." "$LINENO" 5
14980fi
14981if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
14982  as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
14983Usually this means the macro was only invoked conditionally." "$LINENO" 5
14984fi
14985if test -z "${BUILD_KISS_FFT_TRUE}" && test -z "${BUILD_KISS_FFT_FALSE}"; then
14986  as_fn_error $? "conditional \"BUILD_KISS_FFT\" was never defined.
14987Usually this means the macro was only invoked conditionally." "$LINENO" 5
14988fi
14989if test -z "${BUILD_SMALLFT_TRUE}" && test -z "${BUILD_SMALLFT_FALSE}"; then
14990  as_fn_error $? "conditional \"BUILD_SMALLFT\" was never defined.
14991Usually this means the macro was only invoked conditionally." "$LINENO" 5
14992fi
14993
14994: "${CONFIG_STATUS=./config.status}"
14995ac_write_fail=0
14996ac_clean_files_save=$ac_clean_files
14997ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14998{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14999printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
15000as_write_fail=0
15001cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15002#! $SHELL
15003# Generated by $as_me.
15004# Run this file to recreate the current configuration.
15005# Compiler output produced by configure, useful for debugging
15006# configure, is in config.log if it exists.
15007
15008debug=false
15009ac_cs_recheck=false
15010ac_cs_silent=false
15011
15012SHELL=\${CONFIG_SHELL-$SHELL}
15013export SHELL
15014_ASEOF
15015cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15016## -------------------- ##
15017## M4sh Initialization. ##
15018## -------------------- ##
15019
15020# Be more Bourne compatible
15021DUALCASE=1; export DUALCASE # for MKS sh
15022as_nop=:
15023if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
15024then :
15025  emulate sh
15026  NULLCMD=:
15027  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15028  # is contrary to our usage.  Disable this feature.
15029  alias -g '${1+"$@"}'='"$@"'
15030  setopt NO_GLOB_SUBST
15031else $as_nop
15032  case `(set -o) 2>/dev/null` in #(
15033  *posix*) :
15034    set -o posix ;; #(
15035  *) :
15036     ;;
15037esac
15038fi
15039
15040
15041
15042# Reset variables that may have inherited troublesome values from
15043# the environment.
15044
15045# IFS needs to be set, to space, tab, and newline, in precisely that order.
15046# (If _AS_PATH_WALK were called with IFS unset, it would have the
15047# side effect of setting IFS to empty, thus disabling word splitting.)
15048# Quoting is to prevent editors from complaining about space-tab.
15049as_nl='
15050'
15051export as_nl
15052IFS=" ""	$as_nl"
15053
15054PS1='$ '
15055PS2='> '
15056PS4='+ '
15057
15058# Ensure predictable behavior from utilities with locale-dependent output.
15059LC_ALL=C
15060export LC_ALL
15061LANGUAGE=C
15062export LANGUAGE
15063
15064# We cannot yet rely on "unset" to work, but we need these variables
15065# to be unset--not just set to an empty or harmless value--now, to
15066# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
15067# also avoids known problems related to "unset" and subshell syntax
15068# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15069for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
15070do eval test \${$as_var+y} \
15071  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15072done
15073
15074# Ensure that fds 0, 1, and 2 are open.
15075if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
15076if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
15077if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
15078
15079# The user is always right.
15080if ${PATH_SEPARATOR+false} :; then
15081  PATH_SEPARATOR=:
15082  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15083    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15084      PATH_SEPARATOR=';'
15085  }
15086fi
15087
15088
15089# Find who we are.  Look in the path if we contain no directory separator.
15090as_myself=
15091case $0 in #((
15092  *[\\/]* ) as_myself=$0 ;;
15093  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15094for as_dir in $PATH
15095do
15096  IFS=$as_save_IFS
15097  case $as_dir in #(((
15098    '') as_dir=./ ;;
15099    */) ;;
15100    *) as_dir=$as_dir/ ;;
15101  esac
15102    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
15103  done
15104IFS=$as_save_IFS
15105
15106     ;;
15107esac
15108# We did not find ourselves, most probably we were run as `sh COMMAND'
15109# in which case we are not to be found in the path.
15110if test "x$as_myself" = x; then
15111  as_myself=$0
15112fi
15113if test ! -f "$as_myself"; then
15114  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15115  exit 1
15116fi
15117
15118
15119
15120# as_fn_error STATUS ERROR [LINENO LOG_FD]
15121# ----------------------------------------
15122# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15123# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15124# script with STATUS, using 1 if that was 0.
15125as_fn_error ()
15126{
15127  as_status=$1; test $as_status -eq 0 && as_status=1
15128  if test "$4"; then
15129    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15130    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15131  fi
15132  printf "%s\n" "$as_me: error: $2" >&2
15133  as_fn_exit $as_status
15134} # as_fn_error
15135
15136
15137
15138# as_fn_set_status STATUS
15139# -----------------------
15140# Set $? to STATUS, without forking.
15141as_fn_set_status ()
15142{
15143  return $1
15144} # as_fn_set_status
15145
15146# as_fn_exit STATUS
15147# -----------------
15148# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15149as_fn_exit ()
15150{
15151  set +e
15152  as_fn_set_status $1
15153  exit $1
15154} # as_fn_exit
15155
15156# as_fn_unset VAR
15157# ---------------
15158# Portably unset VAR.
15159as_fn_unset ()
15160{
15161  { eval $1=; unset $1;}
15162}
15163as_unset=as_fn_unset
15164
15165# as_fn_append VAR VALUE
15166# ----------------------
15167# Append the text in VALUE to the end of the definition contained in VAR. Take
15168# advantage of any shell optimizations that allow amortized linear growth over
15169# repeated appends, instead of the typical quadratic growth present in naive
15170# implementations.
15171if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
15172then :
15173  eval 'as_fn_append ()
15174  {
15175    eval $1+=\$2
15176  }'
15177else $as_nop
15178  as_fn_append ()
15179  {
15180    eval $1=\$$1\$2
15181  }
15182fi # as_fn_append
15183
15184# as_fn_arith ARG...
15185# ------------------
15186# Perform arithmetic evaluation on the ARGs, and store the result in the
15187# global $as_val. Take advantage of shells that can avoid forks. The arguments
15188# must be portable across $(()) and expr.
15189if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
15190then :
15191  eval 'as_fn_arith ()
15192  {
15193    as_val=$(( $* ))
15194  }'
15195else $as_nop
15196  as_fn_arith ()
15197  {
15198    as_val=`expr "$@" || test $? -eq 1`
15199  }
15200fi # as_fn_arith
15201
15202
15203if expr a : '\(a\)' >/dev/null 2>&1 &&
15204   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15205  as_expr=expr
15206else
15207  as_expr=false
15208fi
15209
15210if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15211  as_basename=basename
15212else
15213  as_basename=false
15214fi
15215
15216if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15217  as_dirname=dirname
15218else
15219  as_dirname=false
15220fi
15221
15222as_me=`$as_basename -- "$0" ||
15223$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15224	 X"$0" : 'X\(//\)$' \| \
15225	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15226printf "%s\n" X/"$0" |
15227    sed '/^.*\/\([^/][^/]*\)\/*$/{
15228	    s//\1/
15229	    q
15230	  }
15231	  /^X\/\(\/\/\)$/{
15232	    s//\1/
15233	    q
15234	  }
15235	  /^X\/\(\/\).*/{
15236	    s//\1/
15237	    q
15238	  }
15239	  s/.*/./; q'`
15240
15241# Avoid depending upon Character Ranges.
15242as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15243as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15244as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15245as_cr_digits='0123456789'
15246as_cr_alnum=$as_cr_Letters$as_cr_digits
15247
15248
15249# Determine whether it's possible to make 'echo' print without a newline.
15250# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15251# for compatibility with existing Makefiles.
15252ECHO_C= ECHO_N= ECHO_T=
15253case `echo -n x` in #(((((
15254-n*)
15255  case `echo 'xy\c'` in
15256  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15257  xy)  ECHO_C='\c';;
15258  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15259       ECHO_T='	';;
15260  esac;;
15261*)
15262  ECHO_N='-n';;
15263esac
15264
15265# For backward compatibility with old third-party macros, we provide
15266# the shell variables $as_echo and $as_echo_n.  New code should use
15267# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15268as_echo='printf %s\n'
15269as_echo_n='printf %s'
15270
15271rm -f conf$$ conf$$.exe conf$$.file
15272if test -d conf$$.dir; then
15273  rm -f conf$$.dir/conf$$.file
15274else
15275  rm -f conf$$.dir
15276  mkdir conf$$.dir 2>/dev/null
15277fi
15278if (echo >conf$$.file) 2>/dev/null; then
15279  if ln -s conf$$.file conf$$ 2>/dev/null; then
15280    as_ln_s='ln -s'
15281    # ... but there are two gotchas:
15282    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15283    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15284    # In both cases, we have to default to `cp -pR'.
15285    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15286      as_ln_s='cp -pR'
15287  elif ln conf$$.file conf$$ 2>/dev/null; then
15288    as_ln_s=ln
15289  else
15290    as_ln_s='cp -pR'
15291  fi
15292else
15293  as_ln_s='cp -pR'
15294fi
15295rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15296rmdir conf$$.dir 2>/dev/null
15297
15298
15299# as_fn_mkdir_p
15300# -------------
15301# Create "$as_dir" as a directory, including parents if necessary.
15302as_fn_mkdir_p ()
15303{
15304
15305  case $as_dir in #(
15306  -*) as_dir=./$as_dir;;
15307  esac
15308  test -d "$as_dir" || eval $as_mkdir_p || {
15309    as_dirs=
15310    while :; do
15311      case $as_dir in #(
15312      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15313      *) as_qdir=$as_dir;;
15314      esac
15315      as_dirs="'$as_qdir' $as_dirs"
15316      as_dir=`$as_dirname -- "$as_dir" ||
15317$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15318	 X"$as_dir" : 'X\(//\)[^/]' \| \
15319	 X"$as_dir" : 'X\(//\)$' \| \
15320	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15321printf "%s\n" X"$as_dir" |
15322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15323	    s//\1/
15324	    q
15325	  }
15326	  /^X\(\/\/\)[^/].*/{
15327	    s//\1/
15328	    q
15329	  }
15330	  /^X\(\/\/\)$/{
15331	    s//\1/
15332	    q
15333	  }
15334	  /^X\(\/\).*/{
15335	    s//\1/
15336	    q
15337	  }
15338	  s/.*/./; q'`
15339      test -d "$as_dir" && break
15340    done
15341    test -z "$as_dirs" || eval "mkdir $as_dirs"
15342  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15343
15344
15345} # as_fn_mkdir_p
15346if mkdir -p . 2>/dev/null; then
15347  as_mkdir_p='mkdir -p "$as_dir"'
15348else
15349  test -d ./-p && rmdir ./-p
15350  as_mkdir_p=false
15351fi
15352
15353
15354# as_fn_executable_p FILE
15355# -----------------------
15356# Test if FILE is an executable regular file.
15357as_fn_executable_p ()
15358{
15359  test -f "$1" && test -x "$1"
15360} # as_fn_executable_p
15361as_test_x='test -x'
15362as_executable_p=as_fn_executable_p
15363
15364# Sed expression to map a string onto a valid CPP name.
15365as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15366
15367# Sed expression to map a string onto a valid variable name.
15368as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15369
15370
15371exec 6>&1
15372## ----------------------------------- ##
15373## Main body of $CONFIG_STATUS script. ##
15374## ----------------------------------- ##
15375_ASEOF
15376test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15377
15378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15379# Save the log message, to keep $0 and so on meaningful, and to
15380# report actual input values of CONFIG_FILES etc. instead of their
15381# values after options handling.
15382ac_log="
15383This file was extended by speexdsp $as_me 1.2.1, which was
15384generated by GNU Autoconf 2.71.  Invocation command line was
15385
15386  CONFIG_FILES    = $CONFIG_FILES
15387  CONFIG_HEADERS  = $CONFIG_HEADERS
15388  CONFIG_LINKS    = $CONFIG_LINKS
15389  CONFIG_COMMANDS = $CONFIG_COMMANDS
15390  $ $0 $@
15391
15392on `(hostname || uname -n) 2>/dev/null | sed 1q`
15393"
15394
15395_ACEOF
15396
15397case $ac_config_files in *"
15398"*) set x $ac_config_files; shift; ac_config_files=$*;;
15399esac
15400
15401case $ac_config_headers in *"
15402"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15403esac
15404
15405
15406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15407# Files that config.status was made for.
15408config_files="$ac_config_files"
15409config_headers="$ac_config_headers"
15410config_commands="$ac_config_commands"
15411
15412_ACEOF
15413
15414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15415ac_cs_usage="\
15416\`$as_me' instantiates files and other configuration actions
15417from templates according to the current configuration.  Unless the files
15418and actions are specified as TAGs, all are instantiated by default.
15419
15420Usage: $0 [OPTION]... [TAG]...
15421
15422  -h, --help       print this help, then exit
15423  -V, --version    print version number and configuration settings, then exit
15424      --config     print configuration, then exit
15425  -q, --quiet, --silent
15426                   do not print progress messages
15427  -d, --debug      don't remove temporary files
15428      --recheck    update $as_me by reconfiguring in the same conditions
15429      --file=FILE[:TEMPLATE]
15430                   instantiate the configuration file FILE
15431      --header=FILE[:TEMPLATE]
15432                   instantiate the configuration header FILE
15433
15434Configuration files:
15435$config_files
15436
15437Configuration headers:
15438$config_headers
15439
15440Configuration commands:
15441$config_commands
15442
15443Report bugs to <speex-dev@xiph.org>."
15444
15445_ACEOF
15446ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
15447ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
15448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15449ac_cs_config='$ac_cs_config_escaped'
15450ac_cs_version="\\
15451speexdsp config.status 1.2.1
15452configured by $0, generated by GNU Autoconf 2.71,
15453  with options \\"\$ac_cs_config\\"
15454
15455Copyright (C) 2021 Free Software Foundation, Inc.
15456This config.status script is free software; the Free Software Foundation
15457gives unlimited permission to copy, distribute and modify it."
15458
15459ac_pwd='$ac_pwd'
15460srcdir='$srcdir'
15461INSTALL='$INSTALL'
15462MKDIR_P='$MKDIR_P'
15463AWK='$AWK'
15464test -n "\$AWK" || AWK=awk
15465_ACEOF
15466
15467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15468# The default lists apply if the user does not specify any file.
15469ac_need_defaults=:
15470while test $# != 0
15471do
15472  case $1 in
15473  --*=?*)
15474    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15475    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15476    ac_shift=:
15477    ;;
15478  --*=)
15479    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15480    ac_optarg=
15481    ac_shift=:
15482    ;;
15483  *)
15484    ac_option=$1
15485    ac_optarg=$2
15486    ac_shift=shift
15487    ;;
15488  esac
15489
15490  case $ac_option in
15491  # Handling of the options.
15492  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15493    ac_cs_recheck=: ;;
15494  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15495    printf "%s\n" "$ac_cs_version"; exit ;;
15496  --config | --confi | --conf | --con | --co | --c )
15497    printf "%s\n" "$ac_cs_config"; exit ;;
15498  --debug | --debu | --deb | --de | --d | -d )
15499    debug=: ;;
15500  --file | --fil | --fi | --f )
15501    $ac_shift
15502    case $ac_optarg in
15503    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15504    '') as_fn_error $? "missing file argument" ;;
15505    esac
15506    as_fn_append CONFIG_FILES " '$ac_optarg'"
15507    ac_need_defaults=false;;
15508  --header | --heade | --head | --hea )
15509    $ac_shift
15510    case $ac_optarg in
15511    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15512    esac
15513    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15514    ac_need_defaults=false;;
15515  --he | --h)
15516    # Conflict between --help and --header
15517    as_fn_error $? "ambiguous option: \`$1'
15518Try \`$0 --help' for more information.";;
15519  --help | --hel | -h )
15520    printf "%s\n" "$ac_cs_usage"; exit ;;
15521  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15522  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15523    ac_cs_silent=: ;;
15524
15525  # This is an error.
15526  -*) as_fn_error $? "unrecognized option: \`$1'
15527Try \`$0 --help' for more information." ;;
15528
15529  *) as_fn_append ac_config_targets " $1"
15530     ac_need_defaults=false ;;
15531
15532  esac
15533  shift
15534done
15535
15536ac_configure_extra_args=
15537
15538if $ac_cs_silent; then
15539  exec 6>/dev/null
15540  ac_configure_extra_args="$ac_configure_extra_args --silent"
15541fi
15542
15543_ACEOF
15544cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15545if \$ac_cs_recheck; then
15546  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15547  shift
15548  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
15549  CONFIG_SHELL='$SHELL'
15550  export CONFIG_SHELL
15551  exec "\$@"
15552fi
15553
15554_ACEOF
15555cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15556exec 5>>config.log
15557{
15558  echo
15559  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15560## Running $as_me. ##
15561_ASBOX
15562  printf "%s\n" "$ac_log"
15563} >&5
15564
15565_ACEOF
15566cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15567#
15568# INIT-COMMANDS
15569#
15570AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15571
15572
15573# The HP-UX ksh and POSIX shell print the target directory to stdout
15574# if CDPATH is set.
15575(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15576
15577sed_quote_subst='$sed_quote_subst'
15578double_quote_subst='$double_quote_subst'
15579delay_variable_subst='$delay_variable_subst'
15580AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15581DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15582OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15583macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15584macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15585enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15586enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15587pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15588enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15589shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15590SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15591ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15592PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15593host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15594host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15595host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15596build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15597build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15598build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15599SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15600Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15601GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15602EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15603FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15604LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15605NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15606LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15607max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15608ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15609exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15610lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15611lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15612lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15613lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15614lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15615reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15616reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15617FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
15618deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15619file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15620file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15621want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15622sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15623AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15624lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
15625AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15626archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15627STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15628RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15629old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15630old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15631old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15632lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15633CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15634CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15635compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15636GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15637lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15638lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15639lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15640lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15641lt_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"`'
15642lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15643nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15644lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15645lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15646objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15647MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15648lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15649lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15650lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15651lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15652lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15653need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15654MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15655DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15656NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15657LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15658OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15659OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15660libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15661shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15662extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15663archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15664enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15665export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15666whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15667compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15668old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15669old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15670archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15671archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15672module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15673module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15674with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15675allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15676no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15677hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15678hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15679hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15680hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15681hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15682hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15683hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15684inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15685link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15686always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15687export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15688exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15689include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15690prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15691postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15692file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15693variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15694need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15695need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15696version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15697runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15698shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15699shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15700libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15701library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15702soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15703install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15704postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15705postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15706finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15707finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15708hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15709sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15710configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15711configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15712hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15713enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15714enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15715enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15716old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15717striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15718
15719LTCC='$LTCC'
15720LTCFLAGS='$LTCFLAGS'
15721compiler='$compiler_DEFAULT'
15722
15723# A function that is used when there is no print builtin or printf.
15724func_fallback_echo ()
15725{
15726  eval 'cat <<_LTECHO_EOF
15727\$1
15728_LTECHO_EOF'
15729}
15730
15731# Quote evaled strings.
15732for var in AS \
15733DLLTOOL \
15734OBJDUMP \
15735SHELL \
15736ECHO \
15737PATH_SEPARATOR \
15738SED \
15739GREP \
15740EGREP \
15741FGREP \
15742LD \
15743NM \
15744LN_S \
15745lt_SP2NL \
15746lt_NL2SP \
15747reload_flag \
15748FILECMD \
15749deplibs_check_method \
15750file_magic_cmd \
15751file_magic_glob \
15752want_nocaseglob \
15753sharedlib_from_linklib_cmd \
15754AR \
15755archiver_list_spec \
15756STRIP \
15757RANLIB \
15758CC \
15759CFLAGS \
15760compiler \
15761lt_cv_sys_global_symbol_pipe \
15762lt_cv_sys_global_symbol_to_cdecl \
15763lt_cv_sys_global_symbol_to_import \
15764lt_cv_sys_global_symbol_to_c_name_address \
15765lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15766lt_cv_nm_interface \
15767nm_file_list_spec \
15768lt_cv_truncate_bin \
15769lt_prog_compiler_no_builtin_flag \
15770lt_prog_compiler_pic \
15771lt_prog_compiler_wl \
15772lt_prog_compiler_static \
15773lt_cv_prog_compiler_c_o \
15774need_locks \
15775MANIFEST_TOOL \
15776DSYMUTIL \
15777NMEDIT \
15778LIPO \
15779OTOOL \
15780OTOOL64 \
15781shrext_cmds \
15782export_dynamic_flag_spec \
15783whole_archive_flag_spec \
15784compiler_needs_object \
15785with_gnu_ld \
15786allow_undefined_flag \
15787no_undefined_flag \
15788hardcode_libdir_flag_spec \
15789hardcode_libdir_separator \
15790exclude_expsyms \
15791include_expsyms \
15792file_list_spec \
15793variables_saved_for_relink \
15794libname_spec \
15795library_names_spec \
15796soname_spec \
15797install_override_mode \
15798finish_eval \
15799old_striplib \
15800striplib; do
15801    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15802    *[\\\\\\\`\\"\\\$]*)
15803      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15804      ;;
15805    *)
15806      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15807      ;;
15808    esac
15809done
15810
15811# Double-quote double-evaled strings.
15812for var in reload_cmds \
15813old_postinstall_cmds \
15814old_postuninstall_cmds \
15815old_archive_cmds \
15816extract_expsyms_cmds \
15817old_archive_from_new_cmds \
15818old_archive_from_expsyms_cmds \
15819archive_cmds \
15820archive_expsym_cmds \
15821module_cmds \
15822module_expsym_cmds \
15823export_symbols_cmds \
15824prelink_cmds \
15825postlink_cmds \
15826postinstall_cmds \
15827postuninstall_cmds \
15828finish_cmds \
15829sys_lib_search_path_spec \
15830configure_time_dlsearch_path \
15831configure_time_lt_sys_library_path; do
15832    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15833    *[\\\\\\\`\\"\\\$]*)
15834      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15835      ;;
15836    *)
15837      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15838      ;;
15839    esac
15840done
15841
15842ac_aux_dir='$ac_aux_dir'
15843
15844# See if we are running on zsh, and set the options that allow our
15845# commands through without removal of \ escapes INIT.
15846if test -n "\${ZSH_VERSION+set}"; then
15847   setopt NO_GLOB_SUBST
15848fi
15849
15850
15851    PACKAGE='$PACKAGE'
15852    VERSION='$VERSION'
15853    RM='$RM'
15854    ofile='$ofile'
15855
15856
15857
15858
15859_ACEOF
15860
15861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15862
15863# Handling of arguments.
15864for ac_config_target in $ac_config_targets
15865do
15866  case $ac_config_target in
15867    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15868    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15869    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15870    "libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES libspeexdsp/Makefile" ;;
15871    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15872    "SpeexDSP.spec") CONFIG_FILES="$CONFIG_FILES SpeexDSP.spec" ;;
15873    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15874    "include/speex/Makefile") CONFIG_FILES="$CONFIG_FILES include/speex/Makefile" ;;
15875    "speexdsp.pc") CONFIG_FILES="$CONFIG_FILES speexdsp.pc" ;;
15876    "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
15877    "win32/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/libspeexdsp/Makefile" ;;
15878    "symbian/Makefile") CONFIG_FILES="$CONFIG_FILES symbian/Makefile" ;;
15879    "win32/VS2003/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/Makefile" ;;
15880    "win32/VS2003/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeexdsp/Makefile" ;;
15881    "win32/VS2003/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/tests/Makefile" ;;
15882    "win32/VS2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/Makefile" ;;
15883    "win32/VS2005/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeexdsp/Makefile" ;;
15884    "win32/VS2005/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/tests/Makefile" ;;
15885    "win32/VS2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/Makefile" ;;
15886    "win32/VS2008/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeexdsp/Makefile" ;;
15887    "win32/VS2008/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/tests/Makefile" ;;
15888    "include/speex/speexdsp_config_types.h") CONFIG_FILES="$CONFIG_FILES include/speex/speexdsp_config_types.h" ;;
15889    "ti/Makefile") CONFIG_FILES="$CONFIG_FILES ti/Makefile" ;;
15890    "ti/speex_C54_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C54_test/Makefile" ;;
15891    "ti/speex_C55_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C55_test/Makefile" ;;
15892    "ti/speex_C64_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C64_test/Makefile" ;;
15893    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15894
15895  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15896  esac
15897done
15898
15899
15900# If the user did not use the arguments to specify the items to instantiate,
15901# then the envvar interface is used.  Set only those that are not.
15902# We use the long form for the default assignment because of an extremely
15903# bizarre bug on SunOS 4.1.3.
15904if $ac_need_defaults; then
15905  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
15906  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
15907  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
15908fi
15909
15910# Have a temporary directory for convenience.  Make it in the build tree
15911# simply because there is no reason against having it here, and in addition,
15912# creating and moving files from /tmp can sometimes cause problems.
15913# Hook for its removal unless debugging.
15914# Note that there is a small window in which the directory will not be cleaned:
15915# after its creation but before its name has been assigned to `$tmp'.
15916$debug ||
15917{
15918  tmp= ac_tmp=
15919  trap 'exit_status=$?
15920  : "${ac_tmp:=$tmp}"
15921  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15922' 0
15923  trap 'as_fn_exit 1' 1 2 13 15
15924}
15925# Create a (secure) tmp directory for tmp files.
15926
15927{
15928  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15929  test -d "$tmp"
15930}  ||
15931{
15932  tmp=./conf$$-$RANDOM
15933  (umask 077 && mkdir "$tmp")
15934} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15935ac_tmp=$tmp
15936
15937# Set up the scripts for CONFIG_FILES section.
15938# No need to generate them if there are no CONFIG_FILES.
15939# This happens for instance with `./config.status config.h'.
15940if test -n "$CONFIG_FILES"; then
15941
15942
15943ac_cr=`echo X | tr X '\015'`
15944# On cygwin, bash can eat \r inside `` if the user requested igncr.
15945# But we know of no other shell where ac_cr would be empty at this
15946# point, so we can use a bashism as a fallback.
15947if test "x$ac_cr" = x; then
15948  eval ac_cr=\$\'\\r\'
15949fi
15950ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15951if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15952  ac_cs_awk_cr='\\r'
15953else
15954  ac_cs_awk_cr=$ac_cr
15955fi
15956
15957echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15958_ACEOF
15959
15960
15961{
15962  echo "cat >conf$$subs.awk <<_ACEOF" &&
15963  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15964  echo "_ACEOF"
15965} >conf$$subs.sh ||
15966  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15967ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15968ac_delim='%!_!# '
15969for ac_last_try in false false false false false :; do
15970  . ./conf$$subs.sh ||
15971    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15972
15973  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15974  if test $ac_delim_n = $ac_delim_num; then
15975    break
15976  elif $ac_last_try; then
15977    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15978  else
15979    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15980  fi
15981done
15982rm -f conf$$subs.sh
15983
15984cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15985cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15986_ACEOF
15987sed -n '
15988h
15989s/^/S["/; s/!.*/"]=/
15990p
15991g
15992s/^[^!]*!//
15993:repl
15994t repl
15995s/'"$ac_delim"'$//
15996t delim
15997:nl
15998h
15999s/\(.\{148\}\)..*/\1/
16000t more1
16001s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16002p
16003n
16004b repl
16005:more1
16006s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16007p
16008g
16009s/.\{148\}//
16010t nl
16011:delim
16012h
16013s/\(.\{148\}\)..*/\1/
16014t more2
16015s/["\\]/\\&/g; s/^/"/; s/$/"/
16016p
16017b
16018:more2
16019s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16020p
16021g
16022s/.\{148\}//
16023t delim
16024' <conf$$subs.awk | sed '
16025/^[^""]/{
16026  N
16027  s/\n//
16028}
16029' >>$CONFIG_STATUS || ac_write_fail=1
16030rm -f conf$$subs.awk
16031cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16032_ACAWK
16033cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16034  for (key in S) S_is_set[key] = 1
16035  FS = ""
16036
16037}
16038{
16039  line = $ 0
16040  nfields = split(line, field, "@")
16041  substed = 0
16042  len = length(field[1])
16043  for (i = 2; i < nfields; i++) {
16044    key = field[i]
16045    keylen = length(key)
16046    if (S_is_set[key]) {
16047      value = S[key]
16048      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16049      len += length(value) + length(field[++i])
16050      substed = 1
16051    } else
16052      len += 1 + keylen
16053  }
16054
16055  print line
16056}
16057
16058_ACAWK
16059_ACEOF
16060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16061if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16062  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16063else
16064  cat
16065fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16066  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16067_ACEOF
16068
16069# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16070# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16071# trailing colons and then remove the whole line if VPATH becomes empty
16072# (actually we leave an empty line to preserve line numbers).
16073if test "x$srcdir" = x.; then
16074  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16075h
16076s///
16077s/^/:/
16078s/[	 ]*$/:/
16079s/:\$(srcdir):/:/g
16080s/:\${srcdir}:/:/g
16081s/:@srcdir@:/:/g
16082s/^:*//
16083s/:*$//
16084x
16085s/\(=[	 ]*\).*/\1/
16086G
16087s/\n//
16088s/^[^=]*=[	 ]*$//
16089}'
16090fi
16091
16092cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16093fi # test -n "$CONFIG_FILES"
16094
16095# Set up the scripts for CONFIG_HEADERS section.
16096# No need to generate them if there are no CONFIG_HEADERS.
16097# This happens for instance with `./config.status Makefile'.
16098if test -n "$CONFIG_HEADERS"; then
16099cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16100BEGIN {
16101_ACEOF
16102
16103# Transform confdefs.h into an awk script `defines.awk', embedded as
16104# here-document in config.status, that substitutes the proper values into
16105# config.h.in to produce config.h.
16106
16107# Create a delimiter string that does not exist in confdefs.h, to ease
16108# handling of long lines.
16109ac_delim='%!_!# '
16110for ac_last_try in false false :; do
16111  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16112  if test -z "$ac_tt"; then
16113    break
16114  elif $ac_last_try; then
16115    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16116  else
16117    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16118  fi
16119done
16120
16121# For the awk script, D is an array of macro values keyed by name,
16122# likewise P contains macro parameters if any.  Preserve backslash
16123# newline sequences.
16124
16125ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16126sed -n '
16127s/.\{148\}/&'"$ac_delim"'/g
16128t rset
16129:rset
16130s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16131t def
16132d
16133:def
16134s/\\$//
16135t bsnl
16136s/["\\]/\\&/g
16137s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16138D["\1"]=" \3"/p
16139s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16140d
16141:bsnl
16142s/["\\]/\\&/g
16143s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16144D["\1"]=" \3\\\\\\n"\\/p
16145t cont
16146s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16147t cont
16148d
16149:cont
16150n
16151s/.\{148\}/&'"$ac_delim"'/g
16152t clear
16153:clear
16154s/\\$//
16155t bsnlc
16156s/["\\]/\\&/g; s/^/"/; s/$/"/p
16157d
16158:bsnlc
16159s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16160b cont
16161' <confdefs.h | sed '
16162s/'"$ac_delim"'/"\\\
16163"/g' >>$CONFIG_STATUS || ac_write_fail=1
16164
16165cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16166  for (key in D) D_is_set[key] = 1
16167  FS = ""
16168}
16169/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16170  line = \$ 0
16171  split(line, arg, " ")
16172  if (arg[1] == "#") {
16173    defundef = arg[2]
16174    mac1 = arg[3]
16175  } else {
16176    defundef = substr(arg[1], 2)
16177    mac1 = arg[2]
16178  }
16179  split(mac1, mac2, "(") #)
16180  macro = mac2[1]
16181  prefix = substr(line, 1, index(line, defundef) - 1)
16182  if (D_is_set[macro]) {
16183    # Preserve the white space surrounding the "#".
16184    print prefix "define", macro P[macro] D[macro]
16185    next
16186  } else {
16187    # Replace #undef with comments.  This is necessary, for example,
16188    # in the case of _POSIX_SOURCE, which is predefined and required
16189    # on some systems where configure will not decide to define it.
16190    if (defundef == "undef") {
16191      print "/*", prefix defundef, macro, "*/"
16192      next
16193    }
16194  }
16195}
16196{ print }
16197_ACAWK
16198_ACEOF
16199cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16200  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16201fi # test -n "$CONFIG_HEADERS"
16202
16203
16204eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16205shift
16206for ac_tag
16207do
16208  case $ac_tag in
16209  :[FHLC]) ac_mode=$ac_tag; continue;;
16210  esac
16211  case $ac_mode$ac_tag in
16212  :[FHL]*:*);;
16213  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16214  :[FH]-) ac_tag=-:-;;
16215  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16216  esac
16217  ac_save_IFS=$IFS
16218  IFS=:
16219  set x $ac_tag
16220  IFS=$ac_save_IFS
16221  shift
16222  ac_file=$1
16223  shift
16224
16225  case $ac_mode in
16226  :L) ac_source=$1;;
16227  :[FH])
16228    ac_file_inputs=
16229    for ac_f
16230    do
16231      case $ac_f in
16232      -) ac_f="$ac_tmp/stdin";;
16233      *) # Look for the file first in the build tree, then in the source tree
16234	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16235	 # because $ac_f cannot contain `:'.
16236	 test -f "$ac_f" ||
16237	   case $ac_f in
16238	   [\\/$]*) false;;
16239	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16240	   esac ||
16241	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16242      esac
16243      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16244      as_fn_append ac_file_inputs " '$ac_f'"
16245    done
16246
16247    # Let's still pretend it is `configure' which instantiates (i.e., don't
16248    # use $as_me), people would be surprised to read:
16249    #    /* config.h.  Generated by config.status.  */
16250    configure_input='Generated from '`
16251	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16252	`' by configure.'
16253    if test x"$ac_file" != x-; then
16254      configure_input="$ac_file.  $configure_input"
16255      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16256printf "%s\n" "$as_me: creating $ac_file" >&6;}
16257    fi
16258    # Neutralize special characters interpreted by sed in replacement strings.
16259    case $configure_input in #(
16260    *\&* | *\|* | *\\* )
16261       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
16262       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16263    *) ac_sed_conf_input=$configure_input;;
16264    esac
16265
16266    case $ac_tag in
16267    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16268      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16269    esac
16270    ;;
16271  esac
16272
16273  ac_dir=`$as_dirname -- "$ac_file" ||
16274$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16275	 X"$ac_file" : 'X\(//\)[^/]' \| \
16276	 X"$ac_file" : 'X\(//\)$' \| \
16277	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16278printf "%s\n" X"$ac_file" |
16279    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16280	    s//\1/
16281	    q
16282	  }
16283	  /^X\(\/\/\)[^/].*/{
16284	    s//\1/
16285	    q
16286	  }
16287	  /^X\(\/\/\)$/{
16288	    s//\1/
16289	    q
16290	  }
16291	  /^X\(\/\).*/{
16292	    s//\1/
16293	    q
16294	  }
16295	  s/.*/./; q'`
16296  as_dir="$ac_dir"; as_fn_mkdir_p
16297  ac_builddir=.
16298
16299case "$ac_dir" in
16300.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16301*)
16302  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
16303  # A ".." for each directory in $ac_dir_suffix.
16304  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16305  case $ac_top_builddir_sub in
16306  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16307  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16308  esac ;;
16309esac
16310ac_abs_top_builddir=$ac_pwd
16311ac_abs_builddir=$ac_pwd$ac_dir_suffix
16312# for backward compatibility:
16313ac_top_builddir=$ac_top_build_prefix
16314
16315case $srcdir in
16316  .)  # We are building in place.
16317    ac_srcdir=.
16318    ac_top_srcdir=$ac_top_builddir_sub
16319    ac_abs_top_srcdir=$ac_pwd ;;
16320  [\\/]* | ?:[\\/]* )  # Absolute name.
16321    ac_srcdir=$srcdir$ac_dir_suffix;
16322    ac_top_srcdir=$srcdir
16323    ac_abs_top_srcdir=$srcdir ;;
16324  *) # Relative name.
16325    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16326    ac_top_srcdir=$ac_top_build_prefix$srcdir
16327    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16328esac
16329ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16330
16331
16332  case $ac_mode in
16333  :F)
16334  #
16335  # CONFIG_FILE
16336  #
16337
16338  case $INSTALL in
16339  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16340  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16341  esac
16342  ac_MKDIR_P=$MKDIR_P
16343  case $MKDIR_P in
16344  [\\/$]* | ?:[\\/]* ) ;;
16345  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16346  esac
16347_ACEOF
16348
16349cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16350# If the template does not know about datarootdir, expand it.
16351# FIXME: This hack should be removed a few years after 2.60.
16352ac_datarootdir_hack=; ac_datarootdir_seen=
16353ac_sed_dataroot='
16354/datarootdir/ {
16355  p
16356  q
16357}
16358/@datadir@/p
16359/@docdir@/p
16360/@infodir@/p
16361/@localedir@/p
16362/@mandir@/p'
16363case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16364*datarootdir*) ac_datarootdir_seen=yes;;
16365*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16366  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16367printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16368_ACEOF
16369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16370  ac_datarootdir_hack='
16371  s&@datadir@&$datadir&g
16372  s&@docdir@&$docdir&g
16373  s&@infodir@&$infodir&g
16374  s&@localedir@&$localedir&g
16375  s&@mandir@&$mandir&g
16376  s&\\\${datarootdir}&$datarootdir&g' ;;
16377esac
16378_ACEOF
16379
16380# Neutralize VPATH when `$srcdir' = `.'.
16381# Shell code in configure.ac might set extrasub.
16382# FIXME: do we really want to maintain this feature?
16383cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16384ac_sed_extra="$ac_vpsub
16385$extrasub
16386_ACEOF
16387cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16388:t
16389/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16390s|@configure_input@|$ac_sed_conf_input|;t t
16391s&@top_builddir@&$ac_top_builddir_sub&;t t
16392s&@top_build_prefix@&$ac_top_build_prefix&;t t
16393s&@srcdir@&$ac_srcdir&;t t
16394s&@abs_srcdir@&$ac_abs_srcdir&;t t
16395s&@top_srcdir@&$ac_top_srcdir&;t t
16396s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16397s&@builddir@&$ac_builddir&;t t
16398s&@abs_builddir@&$ac_abs_builddir&;t t
16399s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16400s&@INSTALL@&$ac_INSTALL&;t t
16401s&@MKDIR_P@&$ac_MKDIR_P&;t t
16402$ac_datarootdir_hack
16403"
16404eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16405  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16406
16407test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16408  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16409  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16410      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16411  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16412which seems to be undefined.  Please make sure it is defined" >&5
16413printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16414which seems to be undefined.  Please make sure it is defined" >&2;}
16415
16416  rm -f "$ac_tmp/stdin"
16417  case $ac_file in
16418  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16419  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16420  esac \
16421  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16422 ;;
16423  :H)
16424  #
16425  # CONFIG_HEADER
16426  #
16427  if test x"$ac_file" != x-; then
16428    {
16429      printf "%s\n" "/* $configure_input  */" >&1 \
16430      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16431    } >"$ac_tmp/config.h" \
16432      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16433    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16434      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16435printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
16436    else
16437      rm -f "$ac_file"
16438      mv "$ac_tmp/config.h" "$ac_file" \
16439	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16440    fi
16441  else
16442    printf "%s\n" "/* $configure_input  */" >&1 \
16443      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16444      || as_fn_error $? "could not create -" "$LINENO" 5
16445  fi
16446# Compute "$ac_file"'s index in $config_headers.
16447_am_arg="$ac_file"
16448_am_stamp_count=1
16449for _am_header in $config_headers :; do
16450  case $_am_header in
16451    $_am_arg | $_am_arg:* )
16452      break ;;
16453    * )
16454      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16455  esac
16456done
16457echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16458$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16459	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16460	 X"$_am_arg" : 'X\(//\)$' \| \
16461	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16462printf "%s\n" X"$_am_arg" |
16463    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16464	    s//\1/
16465	    q
16466	  }
16467	  /^X\(\/\/\)[^/].*/{
16468	    s//\1/
16469	    q
16470	  }
16471	  /^X\(\/\/\)$/{
16472	    s//\1/
16473	    q
16474	  }
16475	  /^X\(\/\).*/{
16476	    s//\1/
16477	    q
16478	  }
16479	  s/.*/./; q'`/stamp-h$_am_stamp_count
16480 ;;
16481
16482  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16483printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
16484 ;;
16485  esac
16486
16487
16488  case $ac_file$ac_mode in
16489    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16490  # Older Autoconf quotes --file arguments for eval, but not when files
16491  # are listed without --file.  Let's play safe and only enable the eval
16492  # if we detect the quoting.
16493  # TODO: see whether this extra hack can be removed once we start
16494  # requiring Autoconf 2.70 or later.
16495  case $CONFIG_FILES in #(
16496  *\'*) :
16497    eval set x "$CONFIG_FILES" ;; #(
16498  *) :
16499    set x $CONFIG_FILES ;; #(
16500  *) :
16501     ;;
16502esac
16503  shift
16504  # Used to flag and report bootstrapping failures.
16505  am_rc=0
16506  for am_mf
16507  do
16508    # Strip MF so we end up with the name of the file.
16509    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
16510    # Check whether this is an Automake generated Makefile which includes
16511    # dependency-tracking related rules and includes.
16512    # Grep'ing the whole file directly is not great: AIX grep has a line
16513    # limit of 2048, but all sed's we know have understand at least 4000.
16514    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16515      || continue
16516    am_dirpart=`$as_dirname -- "$am_mf" ||
16517$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16518	 X"$am_mf" : 'X\(//\)[^/]' \| \
16519	 X"$am_mf" : 'X\(//\)$' \| \
16520	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16521printf "%s\n" X"$am_mf" |
16522    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16523	    s//\1/
16524	    q
16525	  }
16526	  /^X\(\/\/\)[^/].*/{
16527	    s//\1/
16528	    q
16529	  }
16530	  /^X\(\/\/\)$/{
16531	    s//\1/
16532	    q
16533	  }
16534	  /^X\(\/\).*/{
16535	    s//\1/
16536	    q
16537	  }
16538	  s/.*/./; q'`
16539    am_filepart=`$as_basename -- "$am_mf" ||
16540$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16541	 X"$am_mf" : 'X\(//\)$' \| \
16542	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16543printf "%s\n" X/"$am_mf" |
16544    sed '/^.*\/\([^/][^/]*\)\/*$/{
16545	    s//\1/
16546	    q
16547	  }
16548	  /^X\/\(\/\/\)$/{
16549	    s//\1/
16550	    q
16551	  }
16552	  /^X\/\(\/\).*/{
16553	    s//\1/
16554	    q
16555	  }
16556	  s/.*/./; q'`
16557    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16558      && sed -e '/# am--include-marker/d' "$am_filepart" \
16559        | $MAKE -f - am--depfiles" >&5
16560   (cd "$am_dirpart" \
16561      && sed -e '/# am--include-marker/d' "$am_filepart" \
16562        | $MAKE -f - am--depfiles) >&5 2>&5
16563   ac_status=$?
16564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565   (exit $ac_status); } || am_rc=$?
16566  done
16567  if test $am_rc -ne 0; then
16568    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16569printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16570as_fn_error $? "Something went wrong bootstrapping makefile fragments
16571    for automatic dependency tracking.  If GNU make was not used, consider
16572    re-running the configure script with MAKE=\"gmake\" (or whatever is
16573    necessary).  You can also try re-running configure with the
16574    '--disable-dependency-tracking' option to at least be able to build
16575    the package (albeit without support for automatic dependency tracking).
16576See \`config.log' for more details" "$LINENO" 5; }
16577  fi
16578  { am_dirpart=; unset am_dirpart;}
16579  { am_filepart=; unset am_filepart;}
16580  { am_mf=; unset am_mf;}
16581  { am_rc=; unset am_rc;}
16582  rm -f conftest-deps.mk
16583}
16584 ;;
16585    "libtool":C)
16586
16587    # See if we are running on zsh, and set the options that allow our
16588    # commands through without removal of \ escapes.
16589    if test -n "${ZSH_VERSION+set}"; then
16590      setopt NO_GLOB_SUBST
16591    fi
16592
16593    cfgfile=${ofile}T
16594    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16595    $RM "$cfgfile"
16596
16597    cat <<_LT_EOF >> "$cfgfile"
16598#! $SHELL
16599# Generated automatically by $as_me ($PACKAGE) $VERSION
16600# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16601
16602# Provide generalized library-building support services.
16603# Written by Gordon Matzigkeit, 1996
16604
16605# Copyright (C) 2014 Free Software Foundation, Inc.
16606# This is free software; see the source for copying conditions.  There is NO
16607# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16608
16609# GNU Libtool is free software; you can redistribute it and/or modify
16610# it under the terms of the GNU General Public License as published by
16611# the Free Software Foundation; either version 2 of of the License, or
16612# (at your option) any later version.
16613#
16614# As a special exception to the GNU General Public License, if you
16615# distribute this file as part of a program or library that is built
16616# using GNU Libtool, you may include this file under the  same
16617# distribution terms that you use for the rest of that program.
16618#
16619# GNU Libtool is distributed in the hope that it will be useful, but
16620# WITHOUT ANY WARRANTY; without even the implied warranty of
16621# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16622# GNU General Public License for more details.
16623#
16624# You should have received a copy of the GNU General Public License
16625# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16626
16627
16628# The names of the tagged configurations supported by this script.
16629available_tags=''
16630
16631# Configured defaults for sys_lib_dlsearch_path munging.
16632: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16633
16634# ### BEGIN LIBTOOL CONFIG
16635
16636# Assembler program.
16637AS=$lt_AS
16638
16639# DLL creation program.
16640DLLTOOL=$lt_DLLTOOL
16641
16642# Object dumper program.
16643OBJDUMP=$lt_OBJDUMP
16644
16645# Which release of libtool.m4 was used?
16646macro_version=$macro_version
16647macro_revision=$macro_revision
16648
16649# Whether or not to build shared libraries.
16650build_libtool_libs=$enable_shared
16651
16652# Whether or not to build static libraries.
16653build_old_libs=$enable_static
16654
16655# What type of objects to build.
16656pic_mode=$pic_mode
16657
16658# Whether or not to optimize for fast installation.
16659fast_install=$enable_fast_install
16660
16661# Shared archive member basename,for filename based shared library versioning on AIX.
16662shared_archive_member_spec=$shared_archive_member_spec
16663
16664# Shell to use when invoking shell scripts.
16665SHELL=$lt_SHELL
16666
16667# An echo program that protects backslashes.
16668ECHO=$lt_ECHO
16669
16670# The PATH separator for the build system.
16671PATH_SEPARATOR=$lt_PATH_SEPARATOR
16672
16673# The host system.
16674host_alias=$host_alias
16675host=$host
16676host_os=$host_os
16677
16678# The build system.
16679build_alias=$build_alias
16680build=$build
16681build_os=$build_os
16682
16683# A sed program that does not truncate output.
16684SED=$lt_SED
16685
16686# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16687Xsed="\$SED -e 1s/^X//"
16688
16689# A grep program that handles long lines.
16690GREP=$lt_GREP
16691
16692# An ERE matcher.
16693EGREP=$lt_EGREP
16694
16695# A literal string matcher.
16696FGREP=$lt_FGREP
16697
16698# A BSD- or MS-compatible name lister.
16699NM=$lt_NM
16700
16701# Whether we need soft or hard links.
16702LN_S=$lt_LN_S
16703
16704# What is the maximum length of a command?
16705max_cmd_len=$max_cmd_len
16706
16707# Object file suffix (normally "o").
16708objext=$ac_objext
16709
16710# Executable file suffix (normally "").
16711exeext=$exeext
16712
16713# whether the shell understands "unset".
16714lt_unset=$lt_unset
16715
16716# turn spaces into newlines.
16717SP2NL=$lt_lt_SP2NL
16718
16719# turn newlines into spaces.
16720NL2SP=$lt_lt_NL2SP
16721
16722# convert \$build file names to \$host format.
16723to_host_file_cmd=$lt_cv_to_host_file_cmd
16724
16725# convert \$build files to toolchain format.
16726to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16727
16728# A file(cmd) program that detects file types.
16729FILECMD=$lt_FILECMD
16730
16731# Method to check whether dependent libraries are shared objects.
16732deplibs_check_method=$lt_deplibs_check_method
16733
16734# Command to use when deplibs_check_method = "file_magic".
16735file_magic_cmd=$lt_file_magic_cmd
16736
16737# How to find potential files when deplibs_check_method = "file_magic".
16738file_magic_glob=$lt_file_magic_glob
16739
16740# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16741want_nocaseglob=$lt_want_nocaseglob
16742
16743# Command to associate shared and link libraries.
16744sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16745
16746# The archiver.
16747AR=$lt_AR
16748
16749# Flags to create an archive (by configure).
16750lt_ar_flags=$lt_ar_flags
16751
16752# Flags to create an archive.
16753AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16754
16755# How to feed a file listing to the archiver.
16756archiver_list_spec=$lt_archiver_list_spec
16757
16758# A symbol stripping program.
16759STRIP=$lt_STRIP
16760
16761# Commands used to install an old-style archive.
16762RANLIB=$lt_RANLIB
16763old_postinstall_cmds=$lt_old_postinstall_cmds
16764old_postuninstall_cmds=$lt_old_postuninstall_cmds
16765
16766# Whether to use a lock for old archive extraction.
16767lock_old_archive_extraction=$lock_old_archive_extraction
16768
16769# A C compiler.
16770LTCC=$lt_CC
16771
16772# LTCC compiler flags.
16773LTCFLAGS=$lt_CFLAGS
16774
16775# Take the output of nm and produce a listing of raw symbols and C names.
16776global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16777
16778# Transform the output of nm in a proper C declaration.
16779global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16780
16781# Transform the output of nm into a list of symbols to manually relocate.
16782global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16783
16784# Transform the output of nm in a C name address pair.
16785global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16786
16787# Transform the output of nm in a C name address pair when lib prefix is needed.
16788global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16789
16790# The name lister interface.
16791nm_interface=$lt_lt_cv_nm_interface
16792
16793# Specify filename containing input files for \$NM.
16794nm_file_list_spec=$lt_nm_file_list_spec
16795
16796# The root where to search for dependent libraries,and where our libraries should be installed.
16797lt_sysroot=$lt_sysroot
16798
16799# Command to truncate a binary pipe.
16800lt_truncate_bin=$lt_lt_cv_truncate_bin
16801
16802# The name of the directory that contains temporary libtool files.
16803objdir=$objdir
16804
16805# Used to examine libraries when file_magic_cmd begins with "file".
16806MAGIC_CMD=$MAGIC_CMD
16807
16808# Must we lock files when doing compilation?
16809need_locks=$lt_need_locks
16810
16811# Manifest tool.
16812MANIFEST_TOOL=$lt_MANIFEST_TOOL
16813
16814# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16815DSYMUTIL=$lt_DSYMUTIL
16816
16817# Tool to change global to local symbols on Mac OS X.
16818NMEDIT=$lt_NMEDIT
16819
16820# Tool to manipulate fat objects and archives on Mac OS X.
16821LIPO=$lt_LIPO
16822
16823# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16824OTOOL=$lt_OTOOL
16825
16826# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16827OTOOL64=$lt_OTOOL64
16828
16829# Old archive suffix (normally "a").
16830libext=$libext
16831
16832# Shared library suffix (normally ".so").
16833shrext_cmds=$lt_shrext_cmds
16834
16835# The commands to extract the exported symbol list from a shared archive.
16836extract_expsyms_cmds=$lt_extract_expsyms_cmds
16837
16838# Variables whose values should be saved in libtool wrapper scripts and
16839# restored at link time.
16840variables_saved_for_relink=$lt_variables_saved_for_relink
16841
16842# Do we need the "lib" prefix for modules?
16843need_lib_prefix=$need_lib_prefix
16844
16845# Do we need a version for libraries?
16846need_version=$need_version
16847
16848# Library versioning type.
16849version_type=$version_type
16850
16851# Shared library runtime path variable.
16852runpath_var=$runpath_var
16853
16854# Shared library path variable.
16855shlibpath_var=$shlibpath_var
16856
16857# Is shlibpath searched before the hard-coded library search path?
16858shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16859
16860# Format of library name prefix.
16861libname_spec=$lt_libname_spec
16862
16863# List of archive names.  First name is the real one, the rest are links.
16864# The last name is the one that the linker finds with -lNAME
16865library_names_spec=$lt_library_names_spec
16866
16867# The coded name of the library, if different from the real name.
16868soname_spec=$lt_soname_spec
16869
16870# Permission mode override for installation of shared libraries.
16871install_override_mode=$lt_install_override_mode
16872
16873# Command to use after installation of a shared archive.
16874postinstall_cmds=$lt_postinstall_cmds
16875
16876# Command to use after uninstallation of a shared archive.
16877postuninstall_cmds=$lt_postuninstall_cmds
16878
16879# Commands used to finish a libtool library installation in a directory.
16880finish_cmds=$lt_finish_cmds
16881
16882# As "finish_cmds", except a single script fragment to be evaled but
16883# not shown.
16884finish_eval=$lt_finish_eval
16885
16886# Whether we should hardcode library paths into libraries.
16887hardcode_into_libs=$hardcode_into_libs
16888
16889# Compile-time system search path for libraries.
16890sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16891
16892# Detected run-time system search path for libraries.
16893sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16894
16895# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16896configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16897
16898# Whether dlopen is supported.
16899dlopen_support=$enable_dlopen
16900
16901# Whether dlopen of programs is supported.
16902dlopen_self=$enable_dlopen_self
16903
16904# Whether dlopen of statically linked programs is supported.
16905dlopen_self_static=$enable_dlopen_self_static
16906
16907# Commands to strip libraries.
16908old_striplib=$lt_old_striplib
16909striplib=$lt_striplib
16910
16911
16912# The linker used to build libraries.
16913LD=$lt_LD
16914
16915# How to create reloadable object files.
16916reload_flag=$lt_reload_flag
16917reload_cmds=$lt_reload_cmds
16918
16919# Commands used to build an old-style archive.
16920old_archive_cmds=$lt_old_archive_cmds
16921
16922# A language specific compiler.
16923CC=$lt_compiler
16924
16925# Is the compiler the GNU compiler?
16926with_gcc=$GCC
16927
16928# Compiler flag to turn off builtin functions.
16929no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16930
16931# Additional compiler flags for building library objects.
16932pic_flag=$lt_lt_prog_compiler_pic
16933
16934# How to pass a linker flag through the compiler.
16935wl=$lt_lt_prog_compiler_wl
16936
16937# Compiler flag to prevent dynamic linking.
16938link_static_flag=$lt_lt_prog_compiler_static
16939
16940# Does compiler simultaneously support -c and -o options?
16941compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16942
16943# Whether or not to add -lc for building shared libraries.
16944build_libtool_need_lc=$archive_cmds_need_lc
16945
16946# Whether or not to disallow shared libs when runtime libs are static.
16947allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16948
16949# Compiler flag to allow reflexive dlopens.
16950export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16951
16952# Compiler flag to generate shared objects directly from archives.
16953whole_archive_flag_spec=$lt_whole_archive_flag_spec
16954
16955# Whether the compiler copes with passing no objects directly.
16956compiler_needs_object=$lt_compiler_needs_object
16957
16958# Create an old-style archive from a shared archive.
16959old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16960
16961# Create a temporary old-style archive to link instead of a shared archive.
16962old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16963
16964# Commands used to build a shared archive.
16965archive_cmds=$lt_archive_cmds
16966archive_expsym_cmds=$lt_archive_expsym_cmds
16967
16968# Commands used to build a loadable module if different from building
16969# a shared archive.
16970module_cmds=$lt_module_cmds
16971module_expsym_cmds=$lt_module_expsym_cmds
16972
16973# Whether we are building with GNU ld or not.
16974with_gnu_ld=$lt_with_gnu_ld
16975
16976# Flag that allows shared libraries with undefined symbols to be built.
16977allow_undefined_flag=$lt_allow_undefined_flag
16978
16979# Flag that enforces no undefined symbols.
16980no_undefined_flag=$lt_no_undefined_flag
16981
16982# Flag to hardcode \$libdir into a binary during linking.
16983# This must work even if \$libdir does not exist
16984hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16985
16986# Whether we need a single "-rpath" flag with a separated argument.
16987hardcode_libdir_separator=$lt_hardcode_libdir_separator
16988
16989# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16990# DIR into the resulting binary.
16991hardcode_direct=$hardcode_direct
16992
16993# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16994# DIR into the resulting binary and the resulting library dependency is
16995# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16996# library is relocated.
16997hardcode_direct_absolute=$hardcode_direct_absolute
16998
16999# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17000# into the resulting binary.
17001hardcode_minus_L=$hardcode_minus_L
17002
17003# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17004# into the resulting binary.
17005hardcode_shlibpath_var=$hardcode_shlibpath_var
17006
17007# Set to "yes" if building a shared library automatically hardcodes DIR
17008# into the library and all subsequent libraries and executables linked
17009# against it.
17010hardcode_automatic=$hardcode_automatic
17011
17012# Set to yes if linker adds runtime paths of dependent libraries
17013# to runtime path list.
17014inherit_rpath=$inherit_rpath
17015
17016# Whether libtool must link a program against all its dependency libraries.
17017link_all_deplibs=$link_all_deplibs
17018
17019# Set to "yes" if exported symbols are required.
17020always_export_symbols=$always_export_symbols
17021
17022# The commands to list exported symbols.
17023export_symbols_cmds=$lt_export_symbols_cmds
17024
17025# Symbols that should not be listed in the preloaded symbols.
17026exclude_expsyms=$lt_exclude_expsyms
17027
17028# Symbols that must always be exported.
17029include_expsyms=$lt_include_expsyms
17030
17031# Commands necessary for linking programs (against libraries) with templates.
17032prelink_cmds=$lt_prelink_cmds
17033
17034# Commands necessary for finishing linking programs.
17035postlink_cmds=$lt_postlink_cmds
17036
17037# Specify filename containing input files.
17038file_list_spec=$lt_file_list_spec
17039
17040# How to hardcode a shared library path into an executable.
17041hardcode_action=$hardcode_action
17042
17043# ### END LIBTOOL CONFIG
17044
17045_LT_EOF
17046
17047    cat <<'_LT_EOF' >> "$cfgfile"
17048
17049# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17050
17051# func_munge_path_list VARIABLE PATH
17052# -----------------------------------
17053# VARIABLE is name of variable containing _space_ separated list of
17054# directories to be munged by the contents of PATH, which is string
17055# having a format:
17056# "DIR[:DIR]:"
17057#       string "DIR[ DIR]" will be prepended to VARIABLE
17058# ":DIR[:DIR]"
17059#       string "DIR[ DIR]" will be appended to VARIABLE
17060# "DIRP[:DIRP]::[DIRA:]DIRA"
17061#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17062#       "DIRA[ DIRA]" will be appended to VARIABLE
17063# "DIR[:DIR]"
17064#       VARIABLE will be replaced by "DIR[ DIR]"
17065func_munge_path_list ()
17066{
17067    case x$2 in
17068    x)
17069        ;;
17070    *:)
17071        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17072        ;;
17073    x:*)
17074        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17075        ;;
17076    *::*)
17077        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17078        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17079        ;;
17080    *)
17081        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17082        ;;
17083    esac
17084}
17085
17086
17087# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17088func_cc_basename ()
17089{
17090    for cc_temp in $*""; do
17091      case $cc_temp in
17092        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17093        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17094        \-*) ;;
17095        *) break;;
17096      esac
17097    done
17098    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17099}
17100
17101
17102# ### END FUNCTIONS SHARED WITH CONFIGURE
17103
17104_LT_EOF
17105
17106  case $host_os in
17107  aix3*)
17108    cat <<\_LT_EOF >> "$cfgfile"
17109# AIX sometimes has problems with the GCC collect2 program.  For some
17110# reason, if we set the COLLECT_NAMES environment variable, the problems
17111# vanish in a puff of smoke.
17112if test set != "${COLLECT_NAMES+set}"; then
17113  COLLECT_NAMES=
17114  export COLLECT_NAMES
17115fi
17116_LT_EOF
17117    ;;
17118  esac
17119
17120
17121
17122ltmain=$ac_aux_dir/ltmain.sh
17123
17124
17125  # We use sed instead of cat because bash on DJGPP gets confused if
17126  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17127  # text mode, it properly converts lines to CR/LF.  This bash problem
17128  # is reportedly fixed, but why not run on old versions too?
17129  $SED '$q' "$ltmain" >> "$cfgfile" \
17130     || (rm -f "$cfgfile"; exit 1)
17131
17132   mv -f "$cfgfile" "$ofile" ||
17133    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17134  chmod +x "$ofile"
17135
17136 ;;
17137
17138  esac
17139done # for ac_tag
17140
17141
17142as_fn_exit 0
17143_ACEOF
17144ac_clean_files=$ac_clean_files_save
17145
17146test $ac_write_fail = 0 ||
17147  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17148
17149
17150# configure is writing to config.log, and then calls config.status.
17151# config.status does its own redirection, appending to config.log.
17152# Unfortunately, on DOS this fails, as config.log is still kept open
17153# by configure, so config.status won't be able to write to it; its
17154# output is simply discarded.  So we exec the FD to /dev/null,
17155# effectively closing config.log, so it can be properly (re)opened and
17156# appended to by config.status.  When coming back to configure, we
17157# need to make the FD available again.
17158if test "$no_create" != yes; then
17159  ac_cs_success=:
17160  ac_config_status_args=
17161  test "$silent" = yes &&
17162    ac_config_status_args="$ac_config_status_args --quiet"
17163  exec 5>/dev/null
17164  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17165  exec 5>>config.log
17166  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17167  # would make configure fail if this is the last instruction.
17168  $ac_cs_success || as_fn_exit 1
17169fi
17170if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17171  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17172printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17173fi
17174
17175
17176echo "Type \"make; make install\" to compile and install Speex";
17177
17178