1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for WhySynth 20120903.
4#
5# Report bugs to <musound-at-jps-dot-net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    PATH=/empty FPATH=/empty; export PATH FPATH
183    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185test \$(( 1 + 1 )) = 2 || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: musound-at-jps-dot-net about your system, including any
251$0: error possibly output before this message. Then install
252$0: a modern shell, or manually run the script under such a
253$0: shell if you do have one."
254  fi
255  exit 1
256fi
257fi
258fi
259SHELL=${CONFIG_SHELL-/bin/sh}
260export SHELL
261# Unset more variables known to interfere with behavior of common tools.
262CLICOLOR_FORCE= GREP_OPTIONS=
263unset CLICOLOR_FORCE GREP_OPTIONS
264
265## --------------------- ##
266## M4sh Shell Functions. ##
267## --------------------- ##
268# as_fn_unset VAR
269# ---------------
270# Portably unset VAR.
271as_fn_unset ()
272{
273  { eval $1=; unset $1;}
274}
275as_unset=as_fn_unset
276
277# as_fn_set_status STATUS
278# -----------------------
279# Set $? to STATUS, without forking.
280as_fn_set_status ()
281{
282  return $1
283} # as_fn_set_status
284
285# as_fn_exit STATUS
286# -----------------
287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288as_fn_exit ()
289{
290  set +e
291  as_fn_set_status $1
292  exit $1
293} # as_fn_exit
294
295# as_fn_mkdir_p
296# -------------
297# Create "$as_dir" as a directory, including parents if necessary.
298as_fn_mkdir_p ()
299{
300
301  case $as_dir in #(
302  -*) as_dir=./$as_dir;;
303  esac
304  test -d "$as_dir" || eval $as_mkdir_p || {
305    as_dirs=
306    while :; do
307      case $as_dir in #(
308      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309      *) as_qdir=$as_dir;;
310      esac
311      as_dirs="'$as_qdir' $as_dirs"
312      as_dir=`$as_dirname -- "$as_dir" ||
313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314	 X"$as_dir" : 'X\(//\)[^/]' \| \
315	 X"$as_dir" : 'X\(//\)$' \| \
316	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317$as_echo X"$as_dir" |
318    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319	    s//\1/
320	    q
321	  }
322	  /^X\(\/\/\)[^/].*/{
323	    s//\1/
324	    q
325	  }
326	  /^X\(\/\/\)$/{
327	    s//\1/
328	    q
329	  }
330	  /^X\(\/\).*/{
331	    s//\1/
332	    q
333	  }
334	  s/.*/./; q'`
335      test -d "$as_dir" && break
336    done
337    test -z "$as_dirs" || eval "mkdir $as_dirs"
338  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341} # as_fn_mkdir_p
342# as_fn_append VAR VALUE
343# ----------------------
344# Append the text in VALUE to the end of the definition contained in VAR. Take
345# advantage of any shell optimizations that allow amortized linear growth over
346# repeated appends, instead of the typical quadratic growth present in naive
347# implementations.
348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349  eval 'as_fn_append ()
350  {
351    eval $1+=\$2
352  }'
353else
354  as_fn_append ()
355  {
356    eval $1=\$$1\$2
357  }
358fi # as_fn_append
359
360# as_fn_arith ARG...
361# ------------------
362# Perform arithmetic evaluation on the ARGs, and store the result in the
363# global $as_val. Take advantage of shells that can avoid forks. The arguments
364# must be portable across $(()) and expr.
365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366  eval 'as_fn_arith ()
367  {
368    as_val=$(( $* ))
369  }'
370else
371  as_fn_arith ()
372  {
373    as_val=`expr "$@" || test $? -eq 1`
374  }
375fi # as_fn_arith
376
377
378# as_fn_error STATUS ERROR [LINENO LOG_FD]
379# ----------------------------------------
380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382# script with STATUS, using 1 if that was 0.
383as_fn_error ()
384{
385  as_status=$1; test $as_status -eq 0 && as_status=1
386  if test "$4"; then
387    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389  fi
390  $as_echo "$as_me: error: $2" >&2
391  as_fn_exit $as_status
392} # as_fn_error
393
394if expr a : '\(a\)' >/dev/null 2>&1 &&
395   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396  as_expr=expr
397else
398  as_expr=false
399fi
400
401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402  as_basename=basename
403else
404  as_basename=false
405fi
406
407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408  as_dirname=dirname
409else
410  as_dirname=false
411fi
412
413as_me=`$as_basename -- "$0" ||
414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415	 X"$0" : 'X\(//\)$' \| \
416	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417$as_echo X/"$0" |
418    sed '/^.*\/\([^/][^/]*\)\/*$/{
419	    s//\1/
420	    q
421	  }
422	  /^X\/\(\/\/\)$/{
423	    s//\1/
424	    q
425	  }
426	  /^X\/\(\/\).*/{
427	    s//\1/
428	    q
429	  }
430	  s/.*/./; q'`
431
432# Avoid depending upon Character Ranges.
433as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436as_cr_digits='0123456789'
437as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445  sed -n '
446    p
447    /[$]LINENO/=
448  ' <$as_myself |
449    sed '
450      s/[$]LINENO.*/&-/
451      t lineno
452      b
453      :lineno
454      N
455      :loop
456      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457      t loop
458      s/-\n.*//
459    ' >$as_me.lineno &&
460  chmod +x "$as_me.lineno" ||
461    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463  # Don't try to exec as it changes $[0], causing all sort of problems
464  # (the dirname of $[0] is not the place where we might find the
465  # original and so on.  Autoconf is especially sensitive to this).
466  . "./$as_me.lineno"
467  # Exit status is that of the last command.
468  exit
469}
470
471ECHO_C= ECHO_N= ECHO_T=
472case `echo -n x` in #(((((
473-n*)
474  case `echo 'xy\c'` in
475  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
476  xy)  ECHO_C='\c';;
477  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478       ECHO_T='	';;
479  esac;;
480*)
481  ECHO_N='-n';;
482esac
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486  rm -f conf$$.dir/conf$$.file
487else
488  rm -f conf$$.dir
489  mkdir conf$$.dir 2>/dev/null
490fi
491if (echo >conf$$.file) 2>/dev/null; then
492  if ln -s conf$$.file conf$$ 2>/dev/null; then
493    as_ln_s='ln -s'
494    # ... but there are two gotchas:
495    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497    # In both cases, we have to default to `cp -p'.
498    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499      as_ln_s='cp -p'
500  elif ln conf$$.file conf$$ 2>/dev/null; then
501    as_ln_s=ln
502  else
503    as_ln_s='cp -p'
504  fi
505else
506  as_ln_s='cp -p'
507fi
508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509rmdir conf$$.dir 2>/dev/null
510
511if mkdir -p . 2>/dev/null; then
512  as_mkdir_p='mkdir -p "$as_dir"'
513else
514  test -d ./-p && rmdir ./-p
515  as_mkdir_p=false
516fi
517
518if test -x / >/dev/null 2>&1; then
519  as_test_x='test -x'
520else
521  if ls -dL / >/dev/null 2>&1; then
522    as_ls_L_option=L
523  else
524    as_ls_L_option=
525  fi
526  as_test_x='
527    eval sh -c '\''
528      if test -d "$1"; then
529	test -d "$1/.";
530      else
531	case $1 in #(
532	-*)set "./$1";;
533	esac;
534	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535	???[sx]*):;;*)false;;esac;fi
536    '\'' sh
537  '
538fi
539as_executable_p=$as_test_x
540
541# Sed expression to map a string onto a valid CPP name.
542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544# Sed expression to map a string onto a valid variable name.
545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550test -n "$DJDIR" || exec 7<&0 </dev/null
551exec 6>&1
552
553# Name of the host.
554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555# so uname gets run too.
556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558#
559# Initializations.
560#
561ac_default_prefix=/usr/local
562ac_clean_files=
563ac_config_libobj_dir=.
564LIBOBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
569
570# Identity of this package.
571PACKAGE_NAME='WhySynth'
572PACKAGE_TARNAME='whysynth'
573PACKAGE_VERSION='20120903'
574PACKAGE_STRING='WhySynth 20120903'
575PACKAGE_BUGREPORT='musound-at-jps-dot-net'
576PACKAGE_URL=''
577
578ac_unique_file="src/whysynth.h"
579# Factoring default headers for most tests.
580ac_includes_default="\
581#include <stdio.h>
582#ifdef HAVE_SYS_TYPES_H
583# include <sys/types.h>
584#endif
585#ifdef HAVE_SYS_STAT_H
586# include <sys/stat.h>
587#endif
588#ifdef STDC_HEADERS
589# include <stdlib.h>
590# include <stddef.h>
591#else
592# ifdef HAVE_STDLIB_H
593#  include <stdlib.h>
594# endif
595#endif
596#ifdef HAVE_STRING_H
597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598#  include <memory.h>
599# endif
600# include <string.h>
601#endif
602#ifdef HAVE_STRINGS_H
603# include <strings.h>
604#endif
605#ifdef HAVE_INTTYPES_H
606# include <inttypes.h>
607#endif
608#ifdef HAVE_STDINT_H
609# include <stdint.h>
610#endif
611#ifdef HAVE_UNISTD_H
612# include <unistd.h>
613#endif"
614
615ac_subst_vars='am__EXEEXT_FALSE
616am__EXEEXT_TRUE
617LTLIBOBJS
618LIBOBJS
619DARWIN_FALSE
620DARWIN_TRUE
621ALSA_LIBS
622ALSA_CFLAGS
623BUILD_GUI_FALSE
624BUILD_GUI_TRUE
625GTK_LIBS
626GTK_CFLAGS
627GUI_LIBS
628GUI_CFLAGS
629PLUGIN_LIBS
630PLUGIN_CFLAGS
631COMMON_LIBS
632COMMON_CFLAGS
633PKG_CONFIG_LIBDIR
634PKG_CONFIG_PATH
635PKG_CONFIG
636CPP
637OTOOL64
638OTOOL
639LIPO
640NMEDIT
641DSYMUTIL
642MANIFEST_TOOL
643RANLIB
644ac_ct_AR
645AR
646DLLTOOL
647OBJDUMP
648LN_S
649NM
650ac_ct_DUMPBIN
651DUMPBIN
652LD
653FGREP
654EGREP
655GREP
656SED
657host_os
658host_vendor
659host_cpu
660host
661build_os
662build_vendor
663build_cpu
664build
665LIBTOOL
666am__fastdepCC_FALSE
667am__fastdepCC_TRUE
668CCDEPMODE
669AMDEPBACKSLASH
670AMDEP_FALSE
671AMDEP_TRUE
672am__quote
673am__include
674DEPDIR
675OBJEXT
676EXEEXT
677ac_ct_CC
678CPPFLAGS
679LDFLAGS
680CFLAGS
681CC
682am__untar
683am__tar
684AMTAR
685am__leading_dot
686SET_MAKE
687AWK
688mkdir_p
689MKDIR_P
690INSTALL_STRIP_PROGRAM
691STRIP
692install_sh
693MAKEINFO
694AUTOHEADER
695AUTOMAKE
696AUTOCONF
697ACLOCAL
698VERSION
699PACKAGE
700CYGPATH_W
701am__isrc
702INSTALL_DATA
703INSTALL_SCRIPT
704INSTALL_PROGRAM
705target_alias
706host_alias
707build_alias
708LIBS
709ECHO_T
710ECHO_N
711ECHO_C
712DEFS
713mandir
714localedir
715libdir
716psdir
717pdfdir
718dvidir
719htmldir
720infodir
721docdir
722oldincludedir
723includedir
724localstatedir
725sharedstatedir
726sysconfdir
727datadir
728datarootdir
729libexecdir
730sbindir
731bindir
732program_transform_name
733prefix
734exec_prefix
735PACKAGE_URL
736PACKAGE_BUGREPORT
737PACKAGE_STRING
738PACKAGE_VERSION
739PACKAGE_TARNAME
740PACKAGE_NAME
741PATH_SEPARATOR
742SHELL'
743ac_subst_files=''
744ac_user_opts='
745enable_option_checking
746enable_dependency_tracking
747enable_static
748enable_shared
749with_pic
750enable_fast_install
751with_gnu_ld
752with_sysroot
753enable_libtool_lock
754enable_gtktest
755enable_developer
756'
757      ac_precious_vars='build_alias
758host_alias
759target_alias
760CC
761CFLAGS
762LDFLAGS
763LIBS
764CPPFLAGS
765CPP
766PKG_CONFIG
767PKG_CONFIG_PATH
768PKG_CONFIG_LIBDIR
769COMMON_CFLAGS
770COMMON_LIBS
771PLUGIN_CFLAGS
772PLUGIN_LIBS
773GUI_CFLAGS
774GUI_LIBS
775ALSA_CFLAGS
776ALSA_LIBS'
777
778
779# Initialize some variables set by options.
780ac_init_help=
781ac_init_version=false
782ac_unrecognized_opts=
783ac_unrecognized_sep=
784# The variables have the same names as the options, with
785# dashes changed to underlines.
786cache_file=/dev/null
787exec_prefix=NONE
788no_create=
789no_recursion=
790prefix=NONE
791program_prefix=NONE
792program_suffix=NONE
793program_transform_name=s,x,x,
794silent=
795site=
796srcdir=
797verbose=
798x_includes=NONE
799x_libraries=NONE
800
801# Installation directory options.
802# These are left unexpanded so users can "make install exec_prefix=/foo"
803# and all the variables that are supposed to be based on exec_prefix
804# by default will actually change.
805# Use braces instead of parens because sh, perl, etc. also accept them.
806# (The list follows the same order as the GNU Coding Standards.)
807bindir='${exec_prefix}/bin'
808sbindir='${exec_prefix}/sbin'
809libexecdir='${exec_prefix}/libexec'
810datarootdir='${prefix}/share'
811datadir='${datarootdir}'
812sysconfdir='${prefix}/etc'
813sharedstatedir='${prefix}/com'
814localstatedir='${prefix}/var'
815includedir='${prefix}/include'
816oldincludedir='/usr/include'
817docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818infodir='${datarootdir}/info'
819htmldir='${docdir}'
820dvidir='${docdir}'
821pdfdir='${docdir}'
822psdir='${docdir}'
823libdir='${exec_prefix}/lib'
824localedir='${datarootdir}/locale'
825mandir='${datarootdir}/man'
826
827ac_prev=
828ac_dashdash=
829for ac_option
830do
831  # If the previous option needs an argument, assign it.
832  if test -n "$ac_prev"; then
833    eval $ac_prev=\$ac_option
834    ac_prev=
835    continue
836  fi
837
838  case $ac_option in
839  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840  *=)   ac_optarg= ;;
841  *)    ac_optarg=yes ;;
842  esac
843
844  # Accept the important Cygnus configure options, so we can diagnose typos.
845
846  case $ac_dashdash$ac_option in
847  --)
848    ac_dashdash=yes ;;
849
850  -bindir | --bindir | --bindi | --bind | --bin | --bi)
851    ac_prev=bindir ;;
852  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853    bindir=$ac_optarg ;;
854
855  -build | --build | --buil | --bui | --bu)
856    ac_prev=build_alias ;;
857  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858    build_alias=$ac_optarg ;;
859
860  -cache-file | --cache-file | --cache-fil | --cache-fi \
861  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862    ac_prev=cache_file ;;
863  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865    cache_file=$ac_optarg ;;
866
867  --config-cache | -C)
868    cache_file=config.cache ;;
869
870  -datadir | --datadir | --datadi | --datad)
871    ac_prev=datadir ;;
872  -datadir=* | --datadir=* | --datadi=* | --datad=*)
873    datadir=$ac_optarg ;;
874
875  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876  | --dataroo | --dataro | --datar)
877    ac_prev=datarootdir ;;
878  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880    datarootdir=$ac_optarg ;;
881
882  -disable-* | --disable-*)
883    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884    # Reject names that are not valid shell variable names.
885    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886      as_fn_error $? "invalid feature name: $ac_useropt"
887    ac_useropt_orig=$ac_useropt
888    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889    case $ac_user_opts in
890      *"
891"enable_$ac_useropt"
892"*) ;;
893      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894	 ac_unrecognized_sep=', ';;
895    esac
896    eval enable_$ac_useropt=no ;;
897
898  -docdir | --docdir | --docdi | --doc | --do)
899    ac_prev=docdir ;;
900  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901    docdir=$ac_optarg ;;
902
903  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
904    ac_prev=dvidir ;;
905  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906    dvidir=$ac_optarg ;;
907
908  -enable-* | --enable-*)
909    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910    # Reject names that are not valid shell variable names.
911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912      as_fn_error $? "invalid feature name: $ac_useropt"
913    ac_useropt_orig=$ac_useropt
914    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915    case $ac_user_opts in
916      *"
917"enable_$ac_useropt"
918"*) ;;
919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920	 ac_unrecognized_sep=', ';;
921    esac
922    eval enable_$ac_useropt=\$ac_optarg ;;
923
924  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926  | --exec | --exe | --ex)
927    ac_prev=exec_prefix ;;
928  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930  | --exec=* | --exe=* | --ex=*)
931    exec_prefix=$ac_optarg ;;
932
933  -gas | --gas | --ga | --g)
934    # Obsolete; use --with-gas.
935    with_gas=yes ;;
936
937  -help | --help | --hel | --he | -h)
938    ac_init_help=long ;;
939  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940    ac_init_help=recursive ;;
941  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942    ac_init_help=short ;;
943
944  -host | --host | --hos | --ho)
945    ac_prev=host_alias ;;
946  -host=* | --host=* | --hos=* | --ho=*)
947    host_alias=$ac_optarg ;;
948
949  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950    ac_prev=htmldir ;;
951  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952  | --ht=*)
953    htmldir=$ac_optarg ;;
954
955  -includedir | --includedir | --includedi | --included | --include \
956  | --includ | --inclu | --incl | --inc)
957    ac_prev=includedir ;;
958  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959  | --includ=* | --inclu=* | --incl=* | --inc=*)
960    includedir=$ac_optarg ;;
961
962  -infodir | --infodir | --infodi | --infod | --info | --inf)
963    ac_prev=infodir ;;
964  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965    infodir=$ac_optarg ;;
966
967  -libdir | --libdir | --libdi | --libd)
968    ac_prev=libdir ;;
969  -libdir=* | --libdir=* | --libdi=* | --libd=*)
970    libdir=$ac_optarg ;;
971
972  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973  | --libexe | --libex | --libe)
974    ac_prev=libexecdir ;;
975  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976  | --libexe=* | --libex=* | --libe=*)
977    libexecdir=$ac_optarg ;;
978
979  -localedir | --localedir | --localedi | --localed | --locale)
980    ac_prev=localedir ;;
981  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982    localedir=$ac_optarg ;;
983
984  -localstatedir | --localstatedir | --localstatedi | --localstated \
985  | --localstate | --localstat | --localsta | --localst | --locals)
986    ac_prev=localstatedir ;;
987  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989    localstatedir=$ac_optarg ;;
990
991  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992    ac_prev=mandir ;;
993  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994    mandir=$ac_optarg ;;
995
996  -nfp | --nfp | --nf)
997    # Obsolete; use --without-fp.
998    with_fp=no ;;
999
1000  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001  | --no-cr | --no-c | -n)
1002    no_create=yes ;;
1003
1004  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006    no_recursion=yes ;;
1007
1008  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010  | --oldin | --oldi | --old | --ol | --o)
1011    ac_prev=oldincludedir ;;
1012  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015    oldincludedir=$ac_optarg ;;
1016
1017  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018    ac_prev=prefix ;;
1019  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020    prefix=$ac_optarg ;;
1021
1022  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023  | --program-pre | --program-pr | --program-p)
1024    ac_prev=program_prefix ;;
1025  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027    program_prefix=$ac_optarg ;;
1028
1029  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030  | --program-suf | --program-su | --program-s)
1031    ac_prev=program_suffix ;;
1032  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034    program_suffix=$ac_optarg ;;
1035
1036  -program-transform-name | --program-transform-name \
1037  | --program-transform-nam | --program-transform-na \
1038  | --program-transform-n | --program-transform- \
1039  | --program-transform | --program-transfor \
1040  | --program-transfo | --program-transf \
1041  | --program-trans | --program-tran \
1042  | --progr-tra | --program-tr | --program-t)
1043    ac_prev=program_transform_name ;;
1044  -program-transform-name=* | --program-transform-name=* \
1045  | --program-transform-nam=* | --program-transform-na=* \
1046  | --program-transform-n=* | --program-transform-=* \
1047  | --program-transform=* | --program-transfor=* \
1048  | --program-transfo=* | --program-transf=* \
1049  | --program-trans=* | --program-tran=* \
1050  | --progr-tra=* | --program-tr=* | --program-t=*)
1051    program_transform_name=$ac_optarg ;;
1052
1053  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054    ac_prev=pdfdir ;;
1055  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056    pdfdir=$ac_optarg ;;
1057
1058  -psdir | --psdir | --psdi | --psd | --ps)
1059    ac_prev=psdir ;;
1060  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061    psdir=$ac_optarg ;;
1062
1063  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064  | -silent | --silent | --silen | --sile | --sil)
1065    silent=yes ;;
1066
1067  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068    ac_prev=sbindir ;;
1069  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070  | --sbi=* | --sb=*)
1071    sbindir=$ac_optarg ;;
1072
1073  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075  | --sharedst | --shareds | --shared | --share | --shar \
1076  | --sha | --sh)
1077    ac_prev=sharedstatedir ;;
1078  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081  | --sha=* | --sh=*)
1082    sharedstatedir=$ac_optarg ;;
1083
1084  -site | --site | --sit)
1085    ac_prev=site ;;
1086  -site=* | --site=* | --sit=*)
1087    site=$ac_optarg ;;
1088
1089  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090    ac_prev=srcdir ;;
1091  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092    srcdir=$ac_optarg ;;
1093
1094  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095  | --syscon | --sysco | --sysc | --sys | --sy)
1096    ac_prev=sysconfdir ;;
1097  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099    sysconfdir=$ac_optarg ;;
1100
1101  -target | --target | --targe | --targ | --tar | --ta | --t)
1102    ac_prev=target_alias ;;
1103  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104    target_alias=$ac_optarg ;;
1105
1106  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107    verbose=yes ;;
1108
1109  -version | --version | --versio | --versi | --vers | -V)
1110    ac_init_version=: ;;
1111
1112  -with-* | --with-*)
1113    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114    # Reject names that are not valid shell variable names.
1115    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116      as_fn_error $? "invalid package name: $ac_useropt"
1117    ac_useropt_orig=$ac_useropt
1118    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119    case $ac_user_opts in
1120      *"
1121"with_$ac_useropt"
1122"*) ;;
1123      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124	 ac_unrecognized_sep=', ';;
1125    esac
1126    eval with_$ac_useropt=\$ac_optarg ;;
1127
1128  -without-* | --without-*)
1129    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130    # Reject names that are not valid shell variable names.
1131    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132      as_fn_error $? "invalid package name: $ac_useropt"
1133    ac_useropt_orig=$ac_useropt
1134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135    case $ac_user_opts in
1136      *"
1137"with_$ac_useropt"
1138"*) ;;
1139      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140	 ac_unrecognized_sep=', ';;
1141    esac
1142    eval with_$ac_useropt=no ;;
1143
1144  --x)
1145    # Obsolete; use --with-x.
1146    with_x=yes ;;
1147
1148  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149  | --x-incl | --x-inc | --x-in | --x-i)
1150    ac_prev=x_includes ;;
1151  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153    x_includes=$ac_optarg ;;
1154
1155  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157    ac_prev=x_libraries ;;
1158  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160    x_libraries=$ac_optarg ;;
1161
1162  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1163Try \`$0 --help' for more information"
1164    ;;
1165
1166  *=*)
1167    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168    # Reject names that are not valid shell variable names.
1169    case $ac_envvar in #(
1170      '' | [0-9]* | *[!_$as_cr_alnum]* )
1171      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1172    esac
1173    eval $ac_envvar=\$ac_optarg
1174    export $ac_envvar ;;
1175
1176  *)
1177    # FIXME: should be removed in autoconf 3.0.
1178    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182    ;;
1183
1184  esac
1185done
1186
1187if test -n "$ac_prev"; then
1188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189  as_fn_error $? "missing argument to $ac_option"
1190fi
1191
1192if test -n "$ac_unrecognized_opts"; then
1193  case $enable_option_checking in
1194    no) ;;
1195    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1196    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197  esac
1198fi
1199
1200# Check all directory arguments for consistency.
1201for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202		datadir sysconfdir sharedstatedir localstatedir includedir \
1203		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204		libdir localedir mandir
1205do
1206  eval ac_val=\$$ac_var
1207  # Remove trailing slashes.
1208  case $ac_val in
1209    */ )
1210      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211      eval $ac_var=\$ac_val;;
1212  esac
1213  # Be sure to have absolute directory names.
1214  case $ac_val in
1215    [\\/$]* | ?:[\\/]* )  continue;;
1216    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217  esac
1218  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219done
1220
1221# There might be people who depend on the old broken behavior: `$host'
1222# used to hold the argument of --host etc.
1223# FIXME: To remove some day.
1224build=$build_alias
1225host=$host_alias
1226target=$target_alias
1227
1228# FIXME: To remove some day.
1229if test "x$host_alias" != x; then
1230  if test "x$build_alias" = x; then
1231    cross_compiling=maybe
1232    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1233    If a cross compiler is detected then cross compile mode will be used" >&2
1234  elif test "x$build_alias" != "x$host_alias"; then
1235    cross_compiling=yes
1236  fi
1237fi
1238
1239ac_tool_prefix=
1240test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242test "$silent" = yes && exec 6>/dev/null
1243
1244
1245ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246ac_ls_di=`ls -di .` &&
1247ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248  as_fn_error $? "working directory cannot be determined"
1249test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250  as_fn_error $? "pwd does not report name of working directory"
1251
1252
1253# Find the source files, if location was not specified.
1254if test -z "$srcdir"; then
1255  ac_srcdir_defaulted=yes
1256  # Try the directory containing this script, then the parent directory.
1257  ac_confdir=`$as_dirname -- "$as_myself" ||
1258$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259	 X"$as_myself" : 'X\(//\)[^/]' \| \
1260	 X"$as_myself" : 'X\(//\)$' \| \
1261	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262$as_echo X"$as_myself" |
1263    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264	    s//\1/
1265	    q
1266	  }
1267	  /^X\(\/\/\)[^/].*/{
1268	    s//\1/
1269	    q
1270	  }
1271	  /^X\(\/\/\)$/{
1272	    s//\1/
1273	    q
1274	  }
1275	  /^X\(\/\).*/{
1276	    s//\1/
1277	    q
1278	  }
1279	  s/.*/./; q'`
1280  srcdir=$ac_confdir
1281  if test ! -r "$srcdir/$ac_unique_file"; then
1282    srcdir=..
1283  fi
1284else
1285  ac_srcdir_defaulted=no
1286fi
1287if test ! -r "$srcdir/$ac_unique_file"; then
1288  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1290fi
1291ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292ac_abs_confdir=`(
1293	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294	pwd)`
1295# When building in place, set srcdir=.
1296if test "$ac_abs_confdir" = "$ac_pwd"; then
1297  srcdir=.
1298fi
1299# Remove unnecessary trailing slashes from srcdir.
1300# Double slashes in file names in object file debugging info
1301# mess up M-x gdb in Emacs.
1302case $srcdir in
1303*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304esac
1305for ac_var in $ac_precious_vars; do
1306  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307  eval ac_env_${ac_var}_value=\$${ac_var}
1308  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310done
1311
1312#
1313# Report the --help message.
1314#
1315if test "$ac_init_help" = "long"; then
1316  # Omit some internal or obsolete options to make the list less imposing.
1317  # This message is too long to be a string in the A/UX 3.1 sh.
1318  cat <<_ACEOF
1319\`configure' configures WhySynth 20120903 to adapt to many kinds of systems.
1320
1321Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324VAR=VALUE.  See below for descriptions of some of the useful variables.
1325
1326Defaults for the options are specified in brackets.
1327
1328Configuration:
1329  -h, --help              display this help and exit
1330      --help=short        display options specific to this package
1331      --help=recursive    display the short help of all the included packages
1332  -V, --version           display version information and exit
1333  -q, --quiet, --silent   do not print \`checking ...' messages
1334      --cache-file=FILE   cache test results in FILE [disabled]
1335  -C, --config-cache      alias for \`--cache-file=config.cache'
1336  -n, --no-create         do not create output files
1337      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1338
1339Installation directories:
1340  --prefix=PREFIX         install architecture-independent files in PREFIX
1341                          [$ac_default_prefix]
1342  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1343                          [PREFIX]
1344
1345By default, \`make install' will install all the files in
1346\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1347an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348for instance \`--prefix=\$HOME'.
1349
1350For better control, use the options below.
1351
1352Fine tuning of the installation directories:
1353  --bindir=DIR            user executables [EPREFIX/bin]
1354  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1355  --libexecdir=DIR        program executables [EPREFIX/libexec]
1356  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1357  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1358  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1359  --libdir=DIR            object code libraries [EPREFIX/lib]
1360  --includedir=DIR        C header files [PREFIX/include]
1361  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1362  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1363  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1364  --infodir=DIR           info documentation [DATAROOTDIR/info]
1365  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1366  --mandir=DIR            man documentation [DATAROOTDIR/man]
1367  --docdir=DIR            documentation root [DATAROOTDIR/doc/whysynth]
1368  --htmldir=DIR           html documentation [DOCDIR]
1369  --dvidir=DIR            dvi documentation [DOCDIR]
1370  --pdfdir=DIR            pdf documentation [DOCDIR]
1371  --psdir=DIR             ps documentation [DOCDIR]
1372_ACEOF
1373
1374  cat <<\_ACEOF
1375
1376Program names:
1377  --program-prefix=PREFIX            prepend PREFIX to installed program names
1378  --program-suffix=SUFFIX            append SUFFIX to installed program names
1379  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1380
1381System types:
1382  --build=BUILD     configure for building on BUILD [guessed]
1383  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1384_ACEOF
1385fi
1386
1387if test -n "$ac_init_help"; then
1388  case $ac_init_help in
1389     short | recursive ) echo "Configuration of WhySynth 20120903:";;
1390   esac
1391  cat <<\_ACEOF
1392
1393Optional Features:
1394  --disable-option-checking  ignore unrecognized --enable/--with options
1395  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1396  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1397  --disable-dependency-tracking  speeds up one-time build
1398  --enable-dependency-tracking   do not reject slow dependency extractors
1399  --enable-static[=PKGS]  build static libraries [default=no]
1400  --enable-shared[=PKGS]  build shared libraries [default=yes]
1401  --enable-fast-install[=PKGS]
1402                          optimize for fast installation [default=yes]
1403  --disable-libtool-lock  avoid locking (might break parallel builds)
1404  --disable-gtktest       do not try to compile and run a test GTK+ program
1405  --enable-developer      enable developer functions, default=no
1406
1407Optional Packages:
1408  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1409  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1410  --with-pic              try to use only PIC/non-PIC objects [default=use
1411                          both]
1412  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1413  --with-sysroot=DIR Search for dependent libraries within DIR
1414                        (or the compiler's sysroot if not specified).
1415
1416Some influential environment variables:
1417  CC          C compiler command
1418  CFLAGS      C compiler flags
1419  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1420              nonstandard directory <lib dir>
1421  LIBS        libraries to pass to the linker, e.g. -l<library>
1422  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423              you have headers in a nonstandard directory <include dir>
1424  CPP         C preprocessor
1425  PKG_CONFIG  path to pkg-config utility
1426  PKG_CONFIG_PATH
1427              directories to add to pkg-config's search path
1428  PKG_CONFIG_LIBDIR
1429              path overriding pkg-config's built-in search path
1430  COMMON_CFLAGS
1431              C compiler flags for COMMON, overriding pkg-config
1432  COMMON_LIBS linker flags for COMMON, overriding pkg-config
1433  PLUGIN_CFLAGS
1434              C compiler flags for PLUGIN, overriding pkg-config
1435  PLUGIN_LIBS linker flags for PLUGIN, overriding pkg-config
1436  GUI_CFLAGS  C compiler flags for GUI, overriding pkg-config
1437  GUI_LIBS    linker flags for GUI, overriding pkg-config
1438  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1439  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1440
1441Use these variables to override the choices made by `configure' or to help
1442it to find libraries and programs with nonstandard names/locations.
1443
1444Report bugs to <musound-at-jps-dot-net>.
1445_ACEOF
1446ac_status=$?
1447fi
1448
1449if test "$ac_init_help" = "recursive"; then
1450  # If there are subdirs, report their specific --help.
1451  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452    test -d "$ac_dir" ||
1453      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1454      continue
1455    ac_builddir=.
1456
1457case "$ac_dir" in
1458.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459*)
1460  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1461  # A ".." for each directory in $ac_dir_suffix.
1462  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1463  case $ac_top_builddir_sub in
1464  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1466  esac ;;
1467esac
1468ac_abs_top_builddir=$ac_pwd
1469ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470# for backward compatibility:
1471ac_top_builddir=$ac_top_build_prefix
1472
1473case $srcdir in
1474  .)  # We are building in place.
1475    ac_srcdir=.
1476    ac_top_srcdir=$ac_top_builddir_sub
1477    ac_abs_top_srcdir=$ac_pwd ;;
1478  [\\/]* | ?:[\\/]* )  # Absolute name.
1479    ac_srcdir=$srcdir$ac_dir_suffix;
1480    ac_top_srcdir=$srcdir
1481    ac_abs_top_srcdir=$srcdir ;;
1482  *) # Relative name.
1483    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484    ac_top_srcdir=$ac_top_build_prefix$srcdir
1485    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1486esac
1487ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1488
1489    cd "$ac_dir" || { ac_status=$?; continue; }
1490    # Check for guested configure.
1491    if test -f "$ac_srcdir/configure.gnu"; then
1492      echo &&
1493      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494    elif test -f "$ac_srcdir/configure"; then
1495      echo &&
1496      $SHELL "$ac_srcdir/configure" --help=recursive
1497    else
1498      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1499    fi || ac_status=$?
1500    cd "$ac_pwd" || { ac_status=$?; break; }
1501  done
1502fi
1503
1504test -n "$ac_init_help" && exit $ac_status
1505if $ac_init_version; then
1506  cat <<\_ACEOF
1507WhySynth configure 20120903
1508generated by GNU Autoconf 2.68
1509
1510Copyright (C) 2010 Free Software Foundation, Inc.
1511This configure script is free software; the Free Software Foundation
1512gives unlimited permission to copy, distribute and modify it.
1513_ACEOF
1514  exit
1515fi
1516
1517## ------------------------ ##
1518## Autoconf initialization. ##
1519## ------------------------ ##
1520
1521# ac_fn_c_try_compile LINENO
1522# --------------------------
1523# Try to compile conftest.$ac_ext, and return whether this succeeded.
1524ac_fn_c_try_compile ()
1525{
1526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527  rm -f conftest.$ac_objext
1528  if { { ac_try="$ac_compile"
1529case "(($ac_try" in
1530  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1531  *) ac_try_echo=$ac_try;;
1532esac
1533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534$as_echo "$ac_try_echo"; } >&5
1535  (eval "$ac_compile") 2>conftest.err
1536  ac_status=$?
1537  if test -s conftest.err; then
1538    grep -v '^ *+' conftest.err >conftest.er1
1539    cat conftest.er1 >&5
1540    mv -f conftest.er1 conftest.err
1541  fi
1542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543  test $ac_status = 0; } && {
1544	 test -z "$ac_c_werror_flag" ||
1545	 test ! -s conftest.err
1546       } && test -s conftest.$ac_objext; then :
1547  ac_retval=0
1548else
1549  $as_echo "$as_me: failed program was:" >&5
1550sed 's/^/| /' conftest.$ac_ext >&5
1551
1552	ac_retval=1
1553fi
1554  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555  as_fn_set_status $ac_retval
1556
1557} # ac_fn_c_try_compile
1558
1559# ac_fn_c_try_link LINENO
1560# -----------------------
1561# Try to link conftest.$ac_ext, and return whether this succeeded.
1562ac_fn_c_try_link ()
1563{
1564  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565  rm -f conftest.$ac_objext conftest$ac_exeext
1566  if { { ac_try="$ac_link"
1567case "(($ac_try" in
1568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569  *) ac_try_echo=$ac_try;;
1570esac
1571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572$as_echo "$ac_try_echo"; } >&5
1573  (eval "$ac_link") 2>conftest.err
1574  ac_status=$?
1575  if test -s conftest.err; then
1576    grep -v '^ *+' conftest.err >conftest.er1
1577    cat conftest.er1 >&5
1578    mv -f conftest.er1 conftest.err
1579  fi
1580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581  test $ac_status = 0; } && {
1582	 test -z "$ac_c_werror_flag" ||
1583	 test ! -s conftest.err
1584       } && test -s conftest$ac_exeext && {
1585	 test "$cross_compiling" = yes ||
1586	 $as_test_x conftest$ac_exeext
1587       }; then :
1588  ac_retval=0
1589else
1590  $as_echo "$as_me: failed program was:" >&5
1591sed 's/^/| /' conftest.$ac_ext >&5
1592
1593	ac_retval=1
1594fi
1595  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1596  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1597  # interfere with the next link command; also delete a directory that is
1598  # left behind by Apple's compiler.  We do this before executing the actions.
1599  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601  as_fn_set_status $ac_retval
1602
1603} # ac_fn_c_try_link
1604
1605# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606# -------------------------------------------------------
1607# Tests whether HEADER exists and can be compiled using the include files in
1608# INCLUDES, setting the cache variable VAR accordingly.
1609ac_fn_c_check_header_compile ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613$as_echo_n "checking for $2... " >&6; }
1614if eval \${$3+:} false; then :
1615  $as_echo_n "(cached) " >&6
1616else
1617  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618/* end confdefs.h.  */
1619$4
1620#include <$2>
1621_ACEOF
1622if ac_fn_c_try_compile "$LINENO"; then :
1623  eval "$3=yes"
1624else
1625  eval "$3=no"
1626fi
1627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1628fi
1629eval ac_res=\$$3
1630	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631$as_echo "$ac_res" >&6; }
1632  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633
1634} # ac_fn_c_check_header_compile
1635
1636# ac_fn_c_try_cpp LINENO
1637# ----------------------
1638# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1639ac_fn_c_try_cpp ()
1640{
1641  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642  if { { ac_try="$ac_cpp conftest.$ac_ext"
1643case "(($ac_try" in
1644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645  *) ac_try_echo=$ac_try;;
1646esac
1647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648$as_echo "$ac_try_echo"; } >&5
1649  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650  ac_status=$?
1651  if test -s conftest.err; then
1652    grep -v '^ *+' conftest.err >conftest.er1
1653    cat conftest.er1 >&5
1654    mv -f conftest.er1 conftest.err
1655  fi
1656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657  test $ac_status = 0; } > conftest.i && {
1658	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659	 test ! -s conftest.err
1660       }; then :
1661  ac_retval=0
1662else
1663  $as_echo "$as_me: failed program was:" >&5
1664sed 's/^/| /' conftest.$ac_ext >&5
1665
1666    ac_retval=1
1667fi
1668  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669  as_fn_set_status $ac_retval
1670
1671} # ac_fn_c_try_cpp
1672
1673# ac_fn_c_try_run LINENO
1674# ----------------------
1675# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676# that executables *can* be run.
1677ac_fn_c_try_run ()
1678{
1679  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680  if { { ac_try="$ac_link"
1681case "(($ac_try" in
1682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683  *) ac_try_echo=$ac_try;;
1684esac
1685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686$as_echo "$ac_try_echo"; } >&5
1687  (eval "$ac_link") 2>&5
1688  ac_status=$?
1689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1691  { { case "(($ac_try" in
1692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693  *) ac_try_echo=$ac_try;;
1694esac
1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696$as_echo "$ac_try_echo"; } >&5
1697  (eval "$ac_try") 2>&5
1698  ac_status=$?
1699  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700  test $ac_status = 0; }; }; then :
1701  ac_retval=0
1702else
1703  $as_echo "$as_me: program exited with status $ac_status" >&5
1704       $as_echo "$as_me: failed program was:" >&5
1705sed 's/^/| /' conftest.$ac_ext >&5
1706
1707       ac_retval=$ac_status
1708fi
1709  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711  as_fn_set_status $ac_retval
1712
1713} # ac_fn_c_try_run
1714
1715# ac_fn_c_check_func LINENO FUNC VAR
1716# ----------------------------------
1717# Tests whether FUNC exists, setting the cache variable VAR accordingly
1718ac_fn_c_check_func ()
1719{
1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722$as_echo_n "checking for $2... " >&6; }
1723if eval \${$3+:} false; then :
1724  $as_echo_n "(cached) " >&6
1725else
1726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727/* end confdefs.h.  */
1728/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1730#define $2 innocuous_$2
1731
1732/* System header to define __stub macros and hopefully few prototypes,
1733    which can conflict with char $2 (); below.
1734    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735    <limits.h> exists even on freestanding compilers.  */
1736
1737#ifdef __STDC__
1738# include <limits.h>
1739#else
1740# include <assert.h>
1741#endif
1742
1743#undef $2
1744
1745/* Override any GCC internal prototype to avoid an error.
1746   Use char because int might match the return type of a GCC
1747   builtin and then its argument prototype would still apply.  */
1748#ifdef __cplusplus
1749extern "C"
1750#endif
1751char $2 ();
1752/* The GNU C library defines this for functions which it implements
1753    to always fail with ENOSYS.  Some functions are actually named
1754    something starting with __ and the normal name is an alias.  */
1755#if defined __stub_$2 || defined __stub___$2
1756choke me
1757#endif
1758
1759int
1760main ()
1761{
1762return $2 ();
1763  ;
1764  return 0;
1765}
1766_ACEOF
1767if ac_fn_c_try_link "$LINENO"; then :
1768  eval "$3=yes"
1769else
1770  eval "$3=no"
1771fi
1772rm -f core conftest.err conftest.$ac_objext \
1773    conftest$ac_exeext conftest.$ac_ext
1774fi
1775eval ac_res=\$$3
1776	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777$as_echo "$ac_res" >&6; }
1778  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779
1780} # ac_fn_c_check_func
1781
1782# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1783# -------------------------------------------------------
1784# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1785# the include files in INCLUDES and setting the cache variable VAR
1786# accordingly.
1787ac_fn_c_check_header_mongrel ()
1788{
1789  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790  if eval \${$3+:} false; then :
1791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792$as_echo_n "checking for $2... " >&6; }
1793if eval \${$3+:} false; then :
1794  $as_echo_n "(cached) " >&6
1795fi
1796eval ac_res=\$$3
1797	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798$as_echo "$ac_res" >&6; }
1799else
1800  # Is the header compilable?
1801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1802$as_echo_n "checking $2 usability... " >&6; }
1803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805$4
1806#include <$2>
1807_ACEOF
1808if ac_fn_c_try_compile "$LINENO"; then :
1809  ac_header_compiler=yes
1810else
1811  ac_header_compiler=no
1812fi
1813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1815$as_echo "$ac_header_compiler" >&6; }
1816
1817# Is the header present?
1818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1819$as_echo_n "checking $2 presence... " >&6; }
1820cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821/* end confdefs.h.  */
1822#include <$2>
1823_ACEOF
1824if ac_fn_c_try_cpp "$LINENO"; then :
1825  ac_header_preproc=yes
1826else
1827  ac_header_preproc=no
1828fi
1829rm -f conftest.err conftest.i conftest.$ac_ext
1830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1831$as_echo "$ac_header_preproc" >&6; }
1832
1833# So?  What about this header?
1834case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1835  yes:no: )
1836    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1837$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1838    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1839$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840    ;;
1841  no:yes:* )
1842    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1843$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1844    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1845$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1846    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1847$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1848    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1849$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1850    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1851$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852( $as_echo "## ------------------------------------- ##
1853## Report this to musound-at-jps-dot-net ##
1854## ------------------------------------- ##"
1855     ) | sed "s/^/$as_me: WARNING:     /" >&2
1856    ;;
1857esac
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  eval "$3=\$ac_header_compiler"
1864fi
1865eval ac_res=\$$3
1866	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867$as_echo "$ac_res" >&6; }
1868fi
1869  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
1871} # ac_fn_c_check_header_mongrel
1872cat >config.log <<_ACEOF
1873This file contains any messages produced by compilers while
1874running configure, to aid debugging if configure makes a mistake.
1875
1876It was created by WhySynth $as_me 20120903, which was
1877generated by GNU Autoconf 2.68.  Invocation command line was
1878
1879  $ $0 $@
1880
1881_ACEOF
1882exec 5>>config.log
1883{
1884cat <<_ASUNAME
1885## --------- ##
1886## Platform. ##
1887## --------- ##
1888
1889hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1890uname -m = `(uname -m) 2>/dev/null || echo unknown`
1891uname -r = `(uname -r) 2>/dev/null || echo unknown`
1892uname -s = `(uname -s) 2>/dev/null || echo unknown`
1893uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894
1895/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1896/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1897
1898/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1899/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1900/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1901/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1902/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1903/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1904/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1905
1906_ASUNAME
1907
1908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909for as_dir in $PATH
1910do
1911  IFS=$as_save_IFS
1912  test -z "$as_dir" && as_dir=.
1913    $as_echo "PATH: $as_dir"
1914  done
1915IFS=$as_save_IFS
1916
1917} >&5
1918
1919cat >&5 <<_ACEOF
1920
1921
1922## ----------- ##
1923## Core tests. ##
1924## ----------- ##
1925
1926_ACEOF
1927
1928
1929# Keep a trace of the command line.
1930# Strip out --no-create and --no-recursion so they do not pile up.
1931# Strip out --silent because we don't want to record it for future runs.
1932# Also quote any args containing shell meta-characters.
1933# Make two passes to allow for proper duplicate-argument suppression.
1934ac_configure_args=
1935ac_configure_args0=
1936ac_configure_args1=
1937ac_must_keep_next=false
1938for ac_pass in 1 2
1939do
1940  for ac_arg
1941  do
1942    case $ac_arg in
1943    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945    | -silent | --silent | --silen | --sile | --sil)
1946      continue ;;
1947    *\'*)
1948      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949    esac
1950    case $ac_pass in
1951    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952    2)
1953      as_fn_append ac_configure_args1 " '$ac_arg'"
1954      if test $ac_must_keep_next = true; then
1955	ac_must_keep_next=false # Got value, back to normal.
1956      else
1957	case $ac_arg in
1958	  *=* | --config-cache | -C | -disable-* | --disable-* \
1959	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961	  | -with-* | --with-* | -without-* | --without-* | --x)
1962	    case "$ac_configure_args0 " in
1963	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964	    esac
1965	    ;;
1966	  -* ) ac_must_keep_next=true ;;
1967	esac
1968      fi
1969      as_fn_append ac_configure_args " '$ac_arg'"
1970      ;;
1971    esac
1972  done
1973done
1974{ ac_configure_args0=; unset ac_configure_args0;}
1975{ ac_configure_args1=; unset ac_configure_args1;}
1976
1977# When interrupted or exit'd, cleanup temporary files, and complete
1978# config.log.  We remove comments because anyway the quotes in there
1979# would cause problems or look ugly.
1980# WARNING: Use '\'' to represent an apostrophe within the trap.
1981# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982trap 'exit_status=$?
1983  # Save into config.log some information that might help in debugging.
1984  {
1985    echo
1986
1987    $as_echo "## ---------------- ##
1988## Cache variables. ##
1989## ---------------- ##"
1990    echo
1991    # The following way of writing the cache mishandles newlines in values,
1992(
1993  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994    eval ac_val=\$$ac_var
1995    case $ac_val in #(
1996    *${as_nl}*)
1997      case $ac_var in #(
1998      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2000      esac
2001      case $ac_var in #(
2002      _ | IFS | as_nl) ;; #(
2003      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004      *) { eval $ac_var=; unset $ac_var;} ;;
2005      esac ;;
2006    esac
2007  done
2008  (set) 2>&1 |
2009    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010    *${as_nl}ac_space=\ *)
2011      sed -n \
2012	"s/'\''/'\''\\\\'\'''\''/g;
2013	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2014      ;; #(
2015    *)
2016      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017      ;;
2018    esac |
2019    sort
2020)
2021    echo
2022
2023    $as_echo "## ----------------- ##
2024## Output variables. ##
2025## ----------------- ##"
2026    echo
2027    for ac_var in $ac_subst_vars
2028    do
2029      eval ac_val=\$$ac_var
2030      case $ac_val in
2031      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032      esac
2033      $as_echo "$ac_var='\''$ac_val'\''"
2034    done | sort
2035    echo
2036
2037    if test -n "$ac_subst_files"; then
2038      $as_echo "## ------------------- ##
2039## File substitutions. ##
2040## ------------------- ##"
2041      echo
2042      for ac_var in $ac_subst_files
2043      do
2044	eval ac_val=\$$ac_var
2045	case $ac_val in
2046	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047	esac
2048	$as_echo "$ac_var='\''$ac_val'\''"
2049      done | sort
2050      echo
2051    fi
2052
2053    if test -s confdefs.h; then
2054      $as_echo "## ----------- ##
2055## confdefs.h. ##
2056## ----------- ##"
2057      echo
2058      cat confdefs.h
2059      echo
2060    fi
2061    test "$ac_signal" != 0 &&
2062      $as_echo "$as_me: caught signal $ac_signal"
2063    $as_echo "$as_me: exit $exit_status"
2064  } >&5
2065  rm -f core *.core core.conftest.* &&
2066    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067    exit $exit_status
2068' 0
2069for ac_signal in 1 2 13 15; do
2070  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2071done
2072ac_signal=0
2073
2074# confdefs.h avoids OS command line length limits that DEFS can exceed.
2075rm -f -r conftest* confdefs.h
2076
2077$as_echo "/* confdefs.h */" > confdefs.h
2078
2079# Predefined preprocessor variables.
2080
2081cat >>confdefs.h <<_ACEOF
2082#define PACKAGE_NAME "$PACKAGE_NAME"
2083_ACEOF
2084
2085cat >>confdefs.h <<_ACEOF
2086#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087_ACEOF
2088
2089cat >>confdefs.h <<_ACEOF
2090#define PACKAGE_VERSION "$PACKAGE_VERSION"
2091_ACEOF
2092
2093cat >>confdefs.h <<_ACEOF
2094#define PACKAGE_STRING "$PACKAGE_STRING"
2095_ACEOF
2096
2097cat >>confdefs.h <<_ACEOF
2098#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099_ACEOF
2100
2101cat >>confdefs.h <<_ACEOF
2102#define PACKAGE_URL "$PACKAGE_URL"
2103_ACEOF
2104
2105
2106# Let the site file select an alternate cache file if it wants to.
2107# Prefer an explicitly selected file to automatically selected ones.
2108ac_site_file1=NONE
2109ac_site_file2=NONE
2110if test -n "$CONFIG_SITE"; then
2111  # We do not want a PATH search for config.site.
2112  case $CONFIG_SITE in #((
2113    -*)  ac_site_file1=./$CONFIG_SITE;;
2114    */*) ac_site_file1=$CONFIG_SITE;;
2115    *)   ac_site_file1=./$CONFIG_SITE;;
2116  esac
2117elif test "x$prefix" != xNONE; then
2118  ac_site_file1=$prefix/share/config.site
2119  ac_site_file2=$prefix/etc/config.site
2120else
2121  ac_site_file1=$ac_default_prefix/share/config.site
2122  ac_site_file2=$ac_default_prefix/etc/config.site
2123fi
2124for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2125do
2126  test "x$ac_site_file" = xNONE && continue
2127  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2128    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2130    sed 's/^/| /' "$ac_site_file" >&5
2131    . "$ac_site_file" \
2132      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134as_fn_error $? "failed to load site script $ac_site_file
2135See \`config.log' for more details" "$LINENO" 5; }
2136  fi
2137done
2138
2139if test -r "$cache_file"; then
2140  # Some versions of bash will fail to source /dev/null (special files
2141  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2142  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2143    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144$as_echo "$as_me: loading cache $cache_file" >&6;}
2145    case $cache_file in
2146      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147      *)                      . "./$cache_file";;
2148    esac
2149  fi
2150else
2151  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152$as_echo "$as_me: creating cache $cache_file" >&6;}
2153  >$cache_file
2154fi
2155
2156# Check that the precious variables saved in the cache have kept the same
2157# value.
2158ac_cache_corrupted=false
2159for ac_var in $ac_precious_vars; do
2160  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161  eval ac_new_set=\$ac_env_${ac_var}_set
2162  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163  eval ac_new_val=\$ac_env_${ac_var}_value
2164  case $ac_old_set,$ac_new_set in
2165    set,)
2166      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168      ac_cache_corrupted=: ;;
2169    ,set)
2170      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172      ac_cache_corrupted=: ;;
2173    ,);;
2174    *)
2175      if test "x$ac_old_val" != "x$ac_new_val"; then
2176	# differences in whitespace do not lead to failure.
2177	ac_old_val_w=`echo x $ac_old_val`
2178	ac_new_val_w=`echo x $ac_new_val`
2179	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182	  ac_cache_corrupted=:
2183	else
2184	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186	  eval $ac_var=\$ac_old_val
2187	fi
2188	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2189$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2190	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2191$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2192      fi;;
2193  esac
2194  # Pass precious variables to config.status.
2195  if test "$ac_new_set" = set; then
2196    case $ac_new_val in
2197    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198    *) ac_arg=$ac_var=$ac_new_val ;;
2199    esac
2200    case " $ac_configure_args " in
2201      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2202      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2203    esac
2204  fi
2205done
2206if $ac_cache_corrupted; then
2207  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2212fi
2213## -------------------- ##
2214## Main body of script. ##
2215## -------------------- ##
2216
2217ac_ext=c
2218ac_cpp='$CPP $CPPFLAGS'
2219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222
2223
2224
2225
2226am__api_version='1.11'
2227
2228ac_aux_dir=
2229for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2230  if test -f "$ac_dir/install-sh"; then
2231    ac_aux_dir=$ac_dir
2232    ac_install_sh="$ac_aux_dir/install-sh -c"
2233    break
2234  elif test -f "$ac_dir/install.sh"; then
2235    ac_aux_dir=$ac_dir
2236    ac_install_sh="$ac_aux_dir/install.sh -c"
2237    break
2238  elif test -f "$ac_dir/shtool"; then
2239    ac_aux_dir=$ac_dir
2240    ac_install_sh="$ac_aux_dir/shtool install -c"
2241    break
2242  fi
2243done
2244if test -z "$ac_aux_dir"; then
2245  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2246fi
2247
2248# These three variables are undocumented and unsupported,
2249# and are intended to be withdrawn in a future Autoconf release.
2250# They can cause serious problems if a builder's source tree is in a directory
2251# whose full name contains unusual characters.
2252ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2253ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2254ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2255
2256
2257# Find a good install program.  We prefer a C program (faster),
2258# so one script is as good as another.  But avoid the broken or
2259# incompatible versions:
2260# SysV /etc/install, /usr/sbin/install
2261# SunOS /usr/etc/install
2262# IRIX /sbin/install
2263# AIX /bin/install
2264# AmigaOS /C/install, which installs bootblocks on floppy discs
2265# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2266# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2267# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2268# OS/2's system install, which has a completely different semantic
2269# ./install, which can be erroneously created by make from ./install.sh.
2270# Reject install programs that cannot install multiple files.
2271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2272$as_echo_n "checking for a BSD-compatible install... " >&6; }
2273if test -z "$INSTALL"; then
2274if ${ac_cv_path_install+:} false; then :
2275  $as_echo_n "(cached) " >&6
2276else
2277  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278for as_dir in $PATH
2279do
2280  IFS=$as_save_IFS
2281  test -z "$as_dir" && as_dir=.
2282    # Account for people who put trailing slashes in PATH elements.
2283case $as_dir/ in #((
2284  ./ | .// | /[cC]/* | \
2285  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2286  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2287  /usr/ucb/* ) ;;
2288  *)
2289    # OSF1 and SCO ODT 3.0 have their own names for install.
2290    # Don't use installbsd from OSF since it installs stuff as root
2291    # by default.
2292    for ac_prog in ginstall scoinst install; do
2293      for ac_exec_ext in '' $ac_executable_extensions; do
2294	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2295	  if test $ac_prog = install &&
2296	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297	    # AIX install.  It has an incompatible calling convention.
2298	    :
2299	  elif test $ac_prog = install &&
2300	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2301	    # program-specific install script used by HP pwplus--don't use.
2302	    :
2303	  else
2304	    rm -rf conftest.one conftest.two conftest.dir
2305	    echo one > conftest.one
2306	    echo two > conftest.two
2307	    mkdir conftest.dir
2308	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2309	      test -s conftest.one && test -s conftest.two &&
2310	      test -s conftest.dir/conftest.one &&
2311	      test -s conftest.dir/conftest.two
2312	    then
2313	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314	      break 3
2315	    fi
2316	  fi
2317	fi
2318      done
2319    done
2320    ;;
2321esac
2322
2323  done
2324IFS=$as_save_IFS
2325
2326rm -rf conftest.one conftest.two conftest.dir
2327
2328fi
2329  if test "${ac_cv_path_install+set}" = set; then
2330    INSTALL=$ac_cv_path_install
2331  else
2332    # As a last resort, use the slow shell script.  Don't cache a
2333    # value for INSTALL within a source directory, because that will
2334    # break other packages using the cache if that directory is
2335    # removed, or if the value is a relative name.
2336    INSTALL=$ac_install_sh
2337  fi
2338fi
2339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2340$as_echo "$INSTALL" >&6; }
2341
2342# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2343# It thinks the first close brace ends the variable substitution.
2344test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2345
2346test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2347
2348test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2349
2350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2351$as_echo_n "checking whether build environment is sane... " >&6; }
2352# Just in case
2353sleep 1
2354echo timestamp > conftest.file
2355# Reject unsafe characters in $srcdir or the absolute working directory
2356# name.  Accept space and tab only in the latter.
2357am_lf='
2358'
2359case `pwd` in
2360  *[\\\"\#\$\&\'\`$am_lf]*)
2361    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2362esac
2363case $srcdir in
2364  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2365    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2366esac
2367
2368# Do `set' in a subshell so we don't clobber the current shell's
2369# arguments.  Must try -L first in case configure is actually a
2370# symlink; some systems play weird games with the mod time of symlinks
2371# (eg FreeBSD returns the mod time of the symlink's containing
2372# directory).
2373if (
2374   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2375   if test "$*" = "X"; then
2376      # -L didn't work.
2377      set X `ls -t "$srcdir/configure" conftest.file`
2378   fi
2379   rm -f conftest.file
2380   if test "$*" != "X $srcdir/configure conftest.file" \
2381      && test "$*" != "X conftest.file $srcdir/configure"; then
2382
2383      # If neither matched, then we have a broken ls.  This can happen
2384      # if, for instance, CONFIG_SHELL is bash and it inherits a
2385      # broken ls alias from the environment.  This has actually
2386      # happened.  Such a system could not be considered "sane".
2387      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2388alias in your environment" "$LINENO" 5
2389   fi
2390
2391   test "$2" = conftest.file
2392   )
2393then
2394   # Ok.
2395   :
2396else
2397   as_fn_error $? "newly created file is older than distributed files!
2398Check your system clock" "$LINENO" 5
2399fi
2400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2401$as_echo "yes" >&6; }
2402test "$program_prefix" != NONE &&
2403  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2404# Use a double $ so make ignores it.
2405test "$program_suffix" != NONE &&
2406  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2407# Double any \ or $.
2408# By default was `s,x,x', remove it if useless.
2409ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2410program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2411
2412# expand $ac_aux_dir to an absolute path
2413am_aux_dir=`cd $ac_aux_dir && pwd`
2414
2415if test x"${MISSING+set}" != xset; then
2416  case $am_aux_dir in
2417  *\ * | *\	*)
2418    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2419  *)
2420    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2421  esac
2422fi
2423# Use eval to expand $SHELL
2424if eval "$MISSING --run true"; then
2425  am_missing_run="$MISSING --run "
2426else
2427  am_missing_run=
2428  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2429$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2430fi
2431
2432if test x"${install_sh}" != xset; then
2433  case $am_aux_dir in
2434  *\ * | *\	*)
2435    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2436  *)
2437    install_sh="\${SHELL} $am_aux_dir/install-sh"
2438  esac
2439fi
2440
2441# Installed binaries are usually stripped using `strip' when the user
2442# run `make install-strip'.  However `strip' might not be the right
2443# tool to use in cross-compilation environments, therefore Automake
2444# will honor the `STRIP' environment variable to overrule this program.
2445if test "$cross_compiling" != no; then
2446  if test -n "$ac_tool_prefix"; then
2447  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2448set dummy ${ac_tool_prefix}strip; ac_word=$2
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450$as_echo_n "checking for $ac_word... " >&6; }
2451if ${ac_cv_prog_STRIP+:} false; then :
2452  $as_echo_n "(cached) " >&6
2453else
2454  if test -n "$STRIP"; then
2455  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2456else
2457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458for as_dir in $PATH
2459do
2460  IFS=$as_save_IFS
2461  test -z "$as_dir" && as_dir=.
2462    for ac_exec_ext in '' $ac_executable_extensions; do
2463  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466    break 2
2467  fi
2468done
2469  done
2470IFS=$as_save_IFS
2471
2472fi
2473fi
2474STRIP=$ac_cv_prog_STRIP
2475if test -n "$STRIP"; then
2476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2477$as_echo "$STRIP" >&6; }
2478else
2479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480$as_echo "no" >&6; }
2481fi
2482
2483
2484fi
2485if test -z "$ac_cv_prog_STRIP"; then
2486  ac_ct_STRIP=$STRIP
2487  # Extract the first word of "strip", so it can be a program name with args.
2488set dummy strip; ac_word=$2
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490$as_echo_n "checking for $ac_word... " >&6; }
2491if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2492  $as_echo_n "(cached) " >&6
2493else
2494  if test -n "$ac_ct_STRIP"; then
2495  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2496else
2497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498for as_dir in $PATH
2499do
2500  IFS=$as_save_IFS
2501  test -z "$as_dir" && as_dir=.
2502    for ac_exec_ext in '' $ac_executable_extensions; do
2503  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504    ac_cv_prog_ac_ct_STRIP="strip"
2505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506    break 2
2507  fi
2508done
2509  done
2510IFS=$as_save_IFS
2511
2512fi
2513fi
2514ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2515if test -n "$ac_ct_STRIP"; then
2516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2517$as_echo "$ac_ct_STRIP" >&6; }
2518else
2519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520$as_echo "no" >&6; }
2521fi
2522
2523  if test "x$ac_ct_STRIP" = x; then
2524    STRIP=":"
2525  else
2526    case $cross_compiling:$ac_tool_warned in
2527yes:)
2528{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530ac_tool_warned=yes ;;
2531esac
2532    STRIP=$ac_ct_STRIP
2533  fi
2534else
2535  STRIP="$ac_cv_prog_STRIP"
2536fi
2537
2538fi
2539INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2540
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2542$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2543if test -z "$MKDIR_P"; then
2544  if ${ac_cv_path_mkdir+:} false; then :
2545  $as_echo_n "(cached) " >&6
2546else
2547  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2549do
2550  IFS=$as_save_IFS
2551  test -z "$as_dir" && as_dir=.
2552    for ac_prog in mkdir gmkdir; do
2553	 for ac_exec_ext in '' $ac_executable_extensions; do
2554	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2555	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2556	     'mkdir (GNU coreutils) '* | \
2557	     'mkdir (coreutils) '* | \
2558	     'mkdir (fileutils) '4.1*)
2559	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2560	       break 3;;
2561	   esac
2562	 done
2563       done
2564  done
2565IFS=$as_save_IFS
2566
2567fi
2568
2569  test -d ./--version && rmdir ./--version
2570  if test "${ac_cv_path_mkdir+set}" = set; then
2571    MKDIR_P="$ac_cv_path_mkdir -p"
2572  else
2573    # As a last resort, use the slow shell script.  Don't cache a
2574    # value for MKDIR_P within a source directory, because that will
2575    # break other packages using the cache if that directory is
2576    # removed, or if the value is a relative name.
2577    MKDIR_P="$ac_install_sh -d"
2578  fi
2579fi
2580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2581$as_echo "$MKDIR_P" >&6; }
2582
2583mkdir_p="$MKDIR_P"
2584case $mkdir_p in
2585  [\\/$]* | ?:[\\/]*) ;;
2586  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2587esac
2588
2589for ac_prog in gawk mawk nawk awk
2590do
2591  # Extract the first word of "$ac_prog", so it can be a program name with args.
2592set dummy $ac_prog; ac_word=$2
2593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2594$as_echo_n "checking for $ac_word... " >&6; }
2595if ${ac_cv_prog_AWK+:} false; then :
2596  $as_echo_n "(cached) " >&6
2597else
2598  if test -n "$AWK"; then
2599  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2600else
2601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602for as_dir in $PATH
2603do
2604  IFS=$as_save_IFS
2605  test -z "$as_dir" && as_dir=.
2606    for ac_exec_ext in '' $ac_executable_extensions; do
2607  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608    ac_cv_prog_AWK="$ac_prog"
2609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2610    break 2
2611  fi
2612done
2613  done
2614IFS=$as_save_IFS
2615
2616fi
2617fi
2618AWK=$ac_cv_prog_AWK
2619if test -n "$AWK"; then
2620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2621$as_echo "$AWK" >&6; }
2622else
2623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2624$as_echo "no" >&6; }
2625fi
2626
2627
2628  test -n "$AWK" && break
2629done
2630
2631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2632$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2633set x ${MAKE-make}
2634ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2635if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2636  $as_echo_n "(cached) " >&6
2637else
2638  cat >conftest.make <<\_ACEOF
2639SHELL = /bin/sh
2640all:
2641	@echo '@@@%%%=$(MAKE)=@@@%%%'
2642_ACEOF
2643# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2644case `${MAKE-make} -f conftest.make 2>/dev/null` in
2645  *@@@%%%=?*=@@@%%%*)
2646    eval ac_cv_prog_make_${ac_make}_set=yes;;
2647  *)
2648    eval ac_cv_prog_make_${ac_make}_set=no;;
2649esac
2650rm -f conftest.make
2651fi
2652if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2654$as_echo "yes" >&6; }
2655  SET_MAKE=
2656else
2657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658$as_echo "no" >&6; }
2659  SET_MAKE="MAKE=${MAKE-make}"
2660fi
2661
2662rm -rf .tst 2>/dev/null
2663mkdir .tst 2>/dev/null
2664if test -d .tst; then
2665  am__leading_dot=.
2666else
2667  am__leading_dot=_
2668fi
2669rmdir .tst 2>/dev/null
2670
2671if test "`cd $srcdir && pwd`" != "`pwd`"; then
2672  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2673  # is not polluted with repeated "-I."
2674  am__isrc=' -I$(srcdir)'
2675  # test to see if srcdir already configured
2676  if test -f $srcdir/config.status; then
2677    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2678  fi
2679fi
2680
2681# test whether we have cygpath
2682if test -z "$CYGPATH_W"; then
2683  if (cygpath --version) >/dev/null 2>/dev/null; then
2684    CYGPATH_W='cygpath -w'
2685  else
2686    CYGPATH_W=echo
2687  fi
2688fi
2689
2690
2691# Define the identity of the package.
2692 PACKAGE='whysynth'
2693 VERSION='20120903'
2694
2695
2696cat >>confdefs.h <<_ACEOF
2697#define PACKAGE "$PACKAGE"
2698_ACEOF
2699
2700
2701cat >>confdefs.h <<_ACEOF
2702#define VERSION "$VERSION"
2703_ACEOF
2704
2705# Some tools Automake needs.
2706
2707ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2708
2709
2710AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2711
2712
2713AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2714
2715
2716AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2717
2718
2719MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2720
2721# We need awk for the "check" target.  The system "awk" is bad on
2722# some platforms.
2723# Always define AMTAR for backward compatibility.
2724
2725AMTAR=${AMTAR-"${am_missing_run}tar"}
2726
2727am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2728
2729
2730
2731
2732
2733ac_config_headers="$ac_config_headers config.h"
2734
2735
2736ac_ext=c
2737ac_cpp='$CPP $CPPFLAGS'
2738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741if test -n "$ac_tool_prefix"; then
2742  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2743set dummy ${ac_tool_prefix}gcc; ac_word=$2
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745$as_echo_n "checking for $ac_word... " >&6; }
2746if ${ac_cv_prog_CC+:} false; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  if test -n "$CC"; then
2750  ac_cv_prog_CC="$CC" # Let the user override the test.
2751else
2752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753for as_dir in $PATH
2754do
2755  IFS=$as_save_IFS
2756  test -z "$as_dir" && as_dir=.
2757    for ac_exec_ext in '' $ac_executable_extensions; do
2758  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761    break 2
2762  fi
2763done
2764  done
2765IFS=$as_save_IFS
2766
2767fi
2768fi
2769CC=$ac_cv_prog_CC
2770if test -n "$CC"; then
2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2772$as_echo "$CC" >&6; }
2773else
2774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775$as_echo "no" >&6; }
2776fi
2777
2778
2779fi
2780if test -z "$ac_cv_prog_CC"; then
2781  ac_ct_CC=$CC
2782  # Extract the first word of "gcc", so it can be a program name with args.
2783set dummy gcc; ac_word=$2
2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785$as_echo_n "checking for $ac_word... " >&6; }
2786if ${ac_cv_prog_ac_ct_CC+:} false; then :
2787  $as_echo_n "(cached) " >&6
2788else
2789  if test -n "$ac_ct_CC"; then
2790  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2791else
2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793for as_dir in $PATH
2794do
2795  IFS=$as_save_IFS
2796  test -z "$as_dir" && as_dir=.
2797    for ac_exec_ext in '' $ac_executable_extensions; do
2798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799    ac_cv_prog_ac_ct_CC="gcc"
2800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801    break 2
2802  fi
2803done
2804  done
2805IFS=$as_save_IFS
2806
2807fi
2808fi
2809ac_ct_CC=$ac_cv_prog_ac_ct_CC
2810if test -n "$ac_ct_CC"; then
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2812$as_echo "$ac_ct_CC" >&6; }
2813else
2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815$as_echo "no" >&6; }
2816fi
2817
2818  if test "x$ac_ct_CC" = x; then
2819    CC=""
2820  else
2821    case $cross_compiling:$ac_tool_warned in
2822yes:)
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2825ac_tool_warned=yes ;;
2826esac
2827    CC=$ac_ct_CC
2828  fi
2829else
2830  CC="$ac_cv_prog_CC"
2831fi
2832
2833if test -z "$CC"; then
2834          if test -n "$ac_tool_prefix"; then
2835    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2836set dummy ${ac_tool_prefix}cc; ac_word=$2
2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838$as_echo_n "checking for $ac_word... " >&6; }
2839if ${ac_cv_prog_CC+:} false; then :
2840  $as_echo_n "(cached) " >&6
2841else
2842  if test -n "$CC"; then
2843  ac_cv_prog_CC="$CC" # Let the user override the test.
2844else
2845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846for as_dir in $PATH
2847do
2848  IFS=$as_save_IFS
2849  test -z "$as_dir" && as_dir=.
2850    for ac_exec_ext in '' $ac_executable_extensions; do
2851  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852    ac_cv_prog_CC="${ac_tool_prefix}cc"
2853    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854    break 2
2855  fi
2856done
2857  done
2858IFS=$as_save_IFS
2859
2860fi
2861fi
2862CC=$ac_cv_prog_CC
2863if test -n "$CC"; then
2864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865$as_echo "$CC" >&6; }
2866else
2867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868$as_echo "no" >&6; }
2869fi
2870
2871
2872  fi
2873fi
2874if test -z "$CC"; then
2875  # Extract the first word of "cc", so it can be a program name with args.
2876set dummy cc; ac_word=$2
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878$as_echo_n "checking for $ac_word... " >&6; }
2879if ${ac_cv_prog_CC+:} false; then :
2880  $as_echo_n "(cached) " >&6
2881else
2882  if test -n "$CC"; then
2883  ac_cv_prog_CC="$CC" # Let the user override the test.
2884else
2885  ac_prog_rejected=no
2886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887for as_dir in $PATH
2888do
2889  IFS=$as_save_IFS
2890  test -z "$as_dir" && as_dir=.
2891    for ac_exec_ext in '' $ac_executable_extensions; do
2892  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2894       ac_prog_rejected=yes
2895       continue
2896     fi
2897    ac_cv_prog_CC="cc"
2898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899    break 2
2900  fi
2901done
2902  done
2903IFS=$as_save_IFS
2904
2905if test $ac_prog_rejected = yes; then
2906  # We found a bogon in the path, so make sure we never use it.
2907  set dummy $ac_cv_prog_CC
2908  shift
2909  if test $# != 0; then
2910    # We chose a different compiler from the bogus one.
2911    # However, it has the same basename, so the bogon will be chosen
2912    # first if we set CC to just the basename; use the full file name.
2913    shift
2914    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2915  fi
2916fi
2917fi
2918fi
2919CC=$ac_cv_prog_CC
2920if test -n "$CC"; then
2921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922$as_echo "$CC" >&6; }
2923else
2924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925$as_echo "no" >&6; }
2926fi
2927
2928
2929fi
2930if test -z "$CC"; then
2931  if test -n "$ac_tool_prefix"; then
2932  for ac_prog in cl.exe
2933  do
2934    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2935set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937$as_echo_n "checking for $ac_word... " >&6; }
2938if ${ac_cv_prog_CC+:} false; then :
2939  $as_echo_n "(cached) " >&6
2940else
2941  if test -n "$CC"; then
2942  ac_cv_prog_CC="$CC" # Let the user override the test.
2943else
2944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945for as_dir in $PATH
2946do
2947  IFS=$as_save_IFS
2948  test -z "$as_dir" && as_dir=.
2949    for ac_exec_ext in '' $ac_executable_extensions; do
2950  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2952    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953    break 2
2954  fi
2955done
2956  done
2957IFS=$as_save_IFS
2958
2959fi
2960fi
2961CC=$ac_cv_prog_CC
2962if test -n "$CC"; then
2963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964$as_echo "$CC" >&6; }
2965else
2966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967$as_echo "no" >&6; }
2968fi
2969
2970
2971    test -n "$CC" && break
2972  done
2973fi
2974if test -z "$CC"; then
2975  ac_ct_CC=$CC
2976  for ac_prog in cl.exe
2977do
2978  # Extract the first word of "$ac_prog", so it can be a program name with args.
2979set dummy $ac_prog; ac_word=$2
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981$as_echo_n "checking for $ac_word... " >&6; }
2982if ${ac_cv_prog_ac_ct_CC+:} false; then :
2983  $as_echo_n "(cached) " >&6
2984else
2985  if test -n "$ac_ct_CC"; then
2986  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2987else
2988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989for as_dir in $PATH
2990do
2991  IFS=$as_save_IFS
2992  test -z "$as_dir" && as_dir=.
2993    for ac_exec_ext in '' $ac_executable_extensions; do
2994  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995    ac_cv_prog_ac_ct_CC="$ac_prog"
2996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997    break 2
2998  fi
2999done
3000  done
3001IFS=$as_save_IFS
3002
3003fi
3004fi
3005ac_ct_CC=$ac_cv_prog_ac_ct_CC
3006if test -n "$ac_ct_CC"; then
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3008$as_echo "$ac_ct_CC" >&6; }
3009else
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011$as_echo "no" >&6; }
3012fi
3013
3014
3015  test -n "$ac_ct_CC" && break
3016done
3017
3018  if test "x$ac_ct_CC" = x; then
3019    CC=""
3020  else
3021    case $cross_compiling:$ac_tool_warned in
3022yes:)
3023{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3025ac_tool_warned=yes ;;
3026esac
3027    CC=$ac_ct_CC
3028  fi
3029fi
3030
3031fi
3032
3033
3034test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036as_fn_error $? "no acceptable C compiler found in \$PATH
3037See \`config.log' for more details" "$LINENO" 5; }
3038
3039# Provide some information about the compiler.
3040$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3041set X $ac_compile
3042ac_compiler=$2
3043for ac_option in --version -v -V -qversion; do
3044  { { ac_try="$ac_compiler $ac_option >&5"
3045case "(($ac_try" in
3046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047  *) ac_try_echo=$ac_try;;
3048esac
3049eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050$as_echo "$ac_try_echo"; } >&5
3051  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3052  ac_status=$?
3053  if test -s conftest.err; then
3054    sed '10a\
3055... rest of stderr output deleted ...
3056         10q' conftest.err >conftest.er1
3057    cat conftest.er1 >&5
3058  fi
3059  rm -f conftest.er1 conftest.err
3060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061  test $ac_status = 0; }
3062done
3063
3064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065/* end confdefs.h.  */
3066
3067int
3068main ()
3069{
3070
3071  ;
3072  return 0;
3073}
3074_ACEOF
3075ac_clean_files_save=$ac_clean_files
3076ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3077# Try to create an executable without -o first, disregard a.out.
3078# It will help us diagnose broken compilers, and finding out an intuition
3079# of exeext.
3080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3081$as_echo_n "checking whether the C compiler works... " >&6; }
3082ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3083
3084# The possible output files:
3085ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3086
3087ac_rmfiles=
3088for ac_file in $ac_files
3089do
3090  case $ac_file in
3091    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3092    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3093  esac
3094done
3095rm -f $ac_rmfiles
3096
3097if { { ac_try="$ac_link_default"
3098case "(($ac_try" in
3099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100  *) ac_try_echo=$ac_try;;
3101esac
3102eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103$as_echo "$ac_try_echo"; } >&5
3104  (eval "$ac_link_default") 2>&5
3105  ac_status=$?
3106  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107  test $ac_status = 0; }; then :
3108  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3109# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3110# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3111# so that the user can short-circuit this test for compilers unknown to
3112# Autoconf.
3113for ac_file in $ac_files ''
3114do
3115  test -f "$ac_file" || continue
3116  case $ac_file in
3117    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3118	;;
3119    [ab].out )
3120	# We found the default executable, but exeext='' is most
3121	# certainly right.
3122	break;;
3123    *.* )
3124	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3125	then :; else
3126	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127	fi
3128	# We set ac_cv_exeext here because the later test for it is not
3129	# safe: cross compilers may not add the suffix if given an `-o'
3130	# argument, so we may need to know it at that point already.
3131	# Even if this section looks crufty: it has the advantage of
3132	# actually working.
3133	break;;
3134    * )
3135	break;;
3136  esac
3137done
3138test "$ac_cv_exeext" = no && ac_cv_exeext=
3139
3140else
3141  ac_file=''
3142fi
3143if test -z "$ac_file"; then :
3144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145$as_echo "no" >&6; }
3146$as_echo "$as_me: failed program was:" >&5
3147sed 's/^/| /' conftest.$ac_ext >&5
3148
3149{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151as_fn_error 77 "C compiler cannot create executables
3152See \`config.log' for more details" "$LINENO" 5; }
3153else
3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155$as_echo "yes" >&6; }
3156fi
3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3158$as_echo_n "checking for C compiler default output file name... " >&6; }
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3160$as_echo "$ac_file" >&6; }
3161ac_exeext=$ac_cv_exeext
3162
3163rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3164ac_clean_files=$ac_clean_files_save
3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3166$as_echo_n "checking for suffix of executables... " >&6; }
3167if { { ac_try="$ac_link"
3168case "(($ac_try" in
3169  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170  *) ac_try_echo=$ac_try;;
3171esac
3172eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173$as_echo "$ac_try_echo"; } >&5
3174  (eval "$ac_link") 2>&5
3175  ac_status=$?
3176  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177  test $ac_status = 0; }; then :
3178  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3179# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3180# work properly (i.e., refer to `conftest.exe'), while it won't with
3181# `rm'.
3182for ac_file in conftest.exe conftest conftest.*; do
3183  test -f "$ac_file" || continue
3184  case $ac_file in
3185    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3186    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3187	  break;;
3188    * ) break;;
3189  esac
3190done
3191else
3192  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3195See \`config.log' for more details" "$LINENO" 5; }
3196fi
3197rm -f conftest conftest$ac_cv_exeext
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3199$as_echo "$ac_cv_exeext" >&6; }
3200
3201rm -f conftest.$ac_ext
3202EXEEXT=$ac_cv_exeext
3203ac_exeext=$EXEEXT
3204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205/* end confdefs.h.  */
3206#include <stdio.h>
3207int
3208main ()
3209{
3210FILE *f = fopen ("conftest.out", "w");
3211 return ferror (f) || fclose (f) != 0;
3212
3213  ;
3214  return 0;
3215}
3216_ACEOF
3217ac_clean_files="$ac_clean_files conftest.out"
3218# Check that the compiler produces executables we can run.  If not, either
3219# the compiler is broken, or we cross compile.
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3221$as_echo_n "checking whether we are cross compiling... " >&6; }
3222if test "$cross_compiling" != yes; then
3223  { { ac_try="$ac_link"
3224case "(($ac_try" in
3225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226  *) ac_try_echo=$ac_try;;
3227esac
3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229$as_echo "$ac_try_echo"; } >&5
3230  (eval "$ac_link") 2>&5
3231  ac_status=$?
3232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233  test $ac_status = 0; }
3234  if { ac_try='./conftest$ac_cv_exeext'
3235  { { case "(($ac_try" in
3236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237  *) ac_try_echo=$ac_try;;
3238esac
3239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240$as_echo "$ac_try_echo"; } >&5
3241  (eval "$ac_try") 2>&5
3242  ac_status=$?
3243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244  test $ac_status = 0; }; }; then
3245    cross_compiling=no
3246  else
3247    if test "$cross_compiling" = maybe; then
3248	cross_compiling=yes
3249    else
3250	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252as_fn_error $? "cannot run C compiled programs.
3253If you meant to cross compile, use \`--host'.
3254See \`config.log' for more details" "$LINENO" 5; }
3255    fi
3256  fi
3257fi
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3259$as_echo "$cross_compiling" >&6; }
3260
3261rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3262ac_clean_files=$ac_clean_files_save
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3264$as_echo_n "checking for suffix of object files... " >&6; }
3265if ${ac_cv_objext+:} false; then :
3266  $as_echo_n "(cached) " >&6
3267else
3268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269/* end confdefs.h.  */
3270
3271int
3272main ()
3273{
3274
3275  ;
3276  return 0;
3277}
3278_ACEOF
3279rm -f conftest.o conftest.obj
3280if { { ac_try="$ac_compile"
3281case "(($ac_try" in
3282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283  *) ac_try_echo=$ac_try;;
3284esac
3285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286$as_echo "$ac_try_echo"; } >&5
3287  (eval "$ac_compile") 2>&5
3288  ac_status=$?
3289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290  test $ac_status = 0; }; then :
3291  for ac_file in conftest.o conftest.obj conftest.*; do
3292  test -f "$ac_file" || continue;
3293  case $ac_file in
3294    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3295    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3296       break;;
3297  esac
3298done
3299else
3300  $as_echo "$as_me: failed program was:" >&5
3301sed 's/^/| /' conftest.$ac_ext >&5
3302
3303{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305as_fn_error $? "cannot compute suffix of object files: cannot compile
3306See \`config.log' for more details" "$LINENO" 5; }
3307fi
3308rm -f conftest.$ac_cv_objext conftest.$ac_ext
3309fi
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3311$as_echo "$ac_cv_objext" >&6; }
3312OBJEXT=$ac_cv_objext
3313ac_objext=$OBJEXT
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3315$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3316if ${ac_cv_c_compiler_gnu+:} false; then :
3317  $as_echo_n "(cached) " >&6
3318else
3319  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320/* end confdefs.h.  */
3321
3322int
3323main ()
3324{
3325#ifndef __GNUC__
3326       choke me
3327#endif
3328
3329  ;
3330  return 0;
3331}
3332_ACEOF
3333if ac_fn_c_try_compile "$LINENO"; then :
3334  ac_compiler_gnu=yes
3335else
3336  ac_compiler_gnu=no
3337fi
3338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339ac_cv_c_compiler_gnu=$ac_compiler_gnu
3340
3341fi
3342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3343$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3344if test $ac_compiler_gnu = yes; then
3345  GCC=yes
3346else
3347  GCC=
3348fi
3349ac_test_CFLAGS=${CFLAGS+set}
3350ac_save_CFLAGS=$CFLAGS
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3352$as_echo_n "checking whether $CC accepts -g... " >&6; }
3353if ${ac_cv_prog_cc_g+:} false; then :
3354  $as_echo_n "(cached) " >&6
3355else
3356  ac_save_c_werror_flag=$ac_c_werror_flag
3357   ac_c_werror_flag=yes
3358   ac_cv_prog_cc_g=no
3359   CFLAGS="-g"
3360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361/* end confdefs.h.  */
3362
3363int
3364main ()
3365{
3366
3367  ;
3368  return 0;
3369}
3370_ACEOF
3371if ac_fn_c_try_compile "$LINENO"; then :
3372  ac_cv_prog_cc_g=yes
3373else
3374  CFLAGS=""
3375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376/* end confdefs.h.  */
3377
3378int
3379main ()
3380{
3381
3382  ;
3383  return 0;
3384}
3385_ACEOF
3386if ac_fn_c_try_compile "$LINENO"; then :
3387
3388else
3389  ac_c_werror_flag=$ac_save_c_werror_flag
3390	 CFLAGS="-g"
3391	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392/* end confdefs.h.  */
3393
3394int
3395main ()
3396{
3397
3398  ;
3399  return 0;
3400}
3401_ACEOF
3402if ac_fn_c_try_compile "$LINENO"; then :
3403  ac_cv_prog_cc_g=yes
3404fi
3405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406fi
3407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3408fi
3409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410   ac_c_werror_flag=$ac_save_c_werror_flag
3411fi
3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3413$as_echo "$ac_cv_prog_cc_g" >&6; }
3414if test "$ac_test_CFLAGS" = set; then
3415  CFLAGS=$ac_save_CFLAGS
3416elif test $ac_cv_prog_cc_g = yes; then
3417  if test "$GCC" = yes; then
3418    CFLAGS="-g -O2"
3419  else
3420    CFLAGS="-g"
3421  fi
3422else
3423  if test "$GCC" = yes; then
3424    CFLAGS="-O2"
3425  else
3426    CFLAGS=
3427  fi
3428fi
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3430$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3431if ${ac_cv_prog_cc_c89+:} false; then :
3432  $as_echo_n "(cached) " >&6
3433else
3434  ac_cv_prog_cc_c89=no
3435ac_save_CC=$CC
3436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437/* end confdefs.h.  */
3438#include <stdarg.h>
3439#include <stdio.h>
3440#include <sys/types.h>
3441#include <sys/stat.h>
3442/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3443struct buf { int x; };
3444FILE * (*rcsopen) (struct buf *, struct stat *, int);
3445static char *e (p, i)
3446     char **p;
3447     int i;
3448{
3449  return p[i];
3450}
3451static char *f (char * (*g) (char **, int), char **p, ...)
3452{
3453  char *s;
3454  va_list v;
3455  va_start (v,p);
3456  s = g (p, va_arg (v,int));
3457  va_end (v);
3458  return s;
3459}
3460
3461/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3462   function prototypes and stuff, but not '\xHH' hex character constants.
3463   These don't provoke an error unfortunately, instead are silently treated
3464   as 'x'.  The following induces an error, until -std is added to get
3465   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3466   array size at least.  It's necessary to write '\x00'==0 to get something
3467   that's true only with -std.  */
3468int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3469
3470/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3471   inside strings and character constants.  */
3472#define FOO(x) 'x'
3473int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3474
3475int test (int i, double x);
3476struct s1 {int (*f) (int a);};
3477struct s2 {int (*f) (double a);};
3478int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3479int argc;
3480char **argv;
3481int
3482main ()
3483{
3484return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3485  ;
3486  return 0;
3487}
3488_ACEOF
3489for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3490	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3491do
3492  CC="$ac_save_CC $ac_arg"
3493  if ac_fn_c_try_compile "$LINENO"; then :
3494  ac_cv_prog_cc_c89=$ac_arg
3495fi
3496rm -f core conftest.err conftest.$ac_objext
3497  test "x$ac_cv_prog_cc_c89" != "xno" && break
3498done
3499rm -f conftest.$ac_ext
3500CC=$ac_save_CC
3501
3502fi
3503# AC_CACHE_VAL
3504case "x$ac_cv_prog_cc_c89" in
3505  x)
3506    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3507$as_echo "none needed" >&6; } ;;
3508  xno)
3509    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3510$as_echo "unsupported" >&6; } ;;
3511  *)
3512    CC="$CC $ac_cv_prog_cc_c89"
3513    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3514$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3515esac
3516if test "x$ac_cv_prog_cc_c89" != xno; then :
3517
3518fi
3519
3520ac_ext=c
3521ac_cpp='$CPP $CPPFLAGS'
3522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524ac_compiler_gnu=$ac_cv_c_compiler_gnu
3525DEPDIR="${am__leading_dot}deps"
3526
3527ac_config_commands="$ac_config_commands depfiles"
3528
3529
3530am_make=${MAKE-make}
3531cat > confinc << 'END'
3532am__doit:
3533	@echo this is the am__doit target
3534.PHONY: am__doit
3535END
3536# If we don't find an include directive, just comment out the code.
3537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3538$as_echo_n "checking for style of include used by $am_make... " >&6; }
3539am__include="#"
3540am__quote=
3541_am_result=none
3542# First try GNU make style include.
3543echo "include confinc" > confmf
3544# Ignore all kinds of additional output from `make'.
3545case `$am_make -s -f confmf 2> /dev/null` in #(
3546*the\ am__doit\ target*)
3547  am__include=include
3548  am__quote=
3549  _am_result=GNU
3550  ;;
3551esac
3552# Now try BSD make style include.
3553if test "$am__include" = "#"; then
3554   echo '.include "confinc"' > confmf
3555   case `$am_make -s -f confmf 2> /dev/null` in #(
3556   *the\ am__doit\ target*)
3557     am__include=.include
3558     am__quote="\""
3559     _am_result=BSD
3560     ;;
3561   esac
3562fi
3563
3564
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3566$as_echo "$_am_result" >&6; }
3567rm -f confinc confmf
3568
3569# Check whether --enable-dependency-tracking was given.
3570if test "${enable_dependency_tracking+set}" = set; then :
3571  enableval=$enable_dependency_tracking;
3572fi
3573
3574if test "x$enable_dependency_tracking" != xno; then
3575  am_depcomp="$ac_aux_dir/depcomp"
3576  AMDEPBACKSLASH='\'
3577fi
3578 if test "x$enable_dependency_tracking" != xno; then
3579  AMDEP_TRUE=
3580  AMDEP_FALSE='#'
3581else
3582  AMDEP_TRUE='#'
3583  AMDEP_FALSE=
3584fi
3585
3586
3587
3588depcc="$CC"   am_compiler_list=
3589
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3591$as_echo_n "checking dependency style of $depcc... " >&6; }
3592if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3593  $as_echo_n "(cached) " >&6
3594else
3595  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3596  # We make a subdir and do the tests there.  Otherwise we can end up
3597  # making bogus files that we don't know about and never remove.  For
3598  # instance it was reported that on HP-UX the gcc test will end up
3599  # making a dummy file named `D' -- because `-MD' means `put the output
3600  # in D'.
3601  mkdir conftest.dir
3602  # Copy depcomp to subdir because otherwise we won't find it if we're
3603  # using a relative directory.
3604  cp "$am_depcomp" conftest.dir
3605  cd conftest.dir
3606  # We will build objects and dependencies in a subdirectory because
3607  # it helps to detect inapplicable dependency modes.  For instance
3608  # both Tru64's cc and ICC support -MD to output dependencies as a
3609  # side effect of compilation, but ICC will put the dependencies in
3610  # the current directory while Tru64 will put them in the object
3611  # directory.
3612  mkdir sub
3613
3614  am_cv_CC_dependencies_compiler_type=none
3615  if test "$am_compiler_list" = ""; then
3616     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3617  fi
3618  am__universal=false
3619  case " $depcc " in #(
3620     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3621     esac
3622
3623  for depmode in $am_compiler_list; do
3624    # Setup a source with many dependencies, because some compilers
3625    # like to wrap large dependency lists on column 80 (with \), and
3626    # we should not choose a depcomp mode which is confused by this.
3627    #
3628    # We need to recreate these files for each test, as the compiler may
3629    # overwrite some of them when testing with obscure command lines.
3630    # This happens at least with the AIX C compiler.
3631    : > sub/conftest.c
3632    for i in 1 2 3 4 5 6; do
3633      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3634      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3635      # Solaris 8's {/usr,}/bin/sh.
3636      touch sub/conftst$i.h
3637    done
3638    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3639
3640    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3641    # mode.  It turns out that the SunPro C++ compiler does not properly
3642    # handle `-M -o', and we need to detect this.  Also, some Intel
3643    # versions had trouble with output in subdirs
3644    am__obj=sub/conftest.${OBJEXT-o}
3645    am__minus_obj="-o $am__obj"
3646    case $depmode in
3647    gcc)
3648      # This depmode causes a compiler race in universal mode.
3649      test "$am__universal" = false || continue
3650      ;;
3651    nosideeffect)
3652      # after this tag, mechanisms are not by side-effect, so they'll
3653      # only be used when explicitly requested
3654      if test "x$enable_dependency_tracking" = xyes; then
3655	continue
3656      else
3657	break
3658      fi
3659      ;;
3660    msvisualcpp | msvcmsys)
3661      # This compiler won't grok `-c -o', but also, the minuso test has
3662      # not run yet.  These depmodes are late enough in the game, and
3663      # so weak that their functioning should not be impacted.
3664      am__obj=conftest.${OBJEXT-o}
3665      am__minus_obj=
3666      ;;
3667    none) break ;;
3668    esac
3669    if depmode=$depmode \
3670       source=sub/conftest.c object=$am__obj \
3671       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3672       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3673         >/dev/null 2>conftest.err &&
3674       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3675       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3676       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3677       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3678      # icc doesn't choke on unknown options, it will just issue warnings
3679      # or remarks (even with -Werror).  So we grep stderr for any message
3680      # that says an option was ignored or not supported.
3681      # When given -MP, icc 7.0 and 7.1 complain thusly:
3682      #   icc: Command line warning: ignoring option '-M'; no argument required
3683      # The diagnosis changed in icc 8.0:
3684      #   icc: Command line remark: option '-MP' not supported
3685      if (grep 'ignoring option' conftest.err ||
3686          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3687        am_cv_CC_dependencies_compiler_type=$depmode
3688        break
3689      fi
3690    fi
3691  done
3692
3693  cd ..
3694  rm -rf conftest.dir
3695else
3696  am_cv_CC_dependencies_compiler_type=none
3697fi
3698
3699fi
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3701$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3702CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3703
3704 if
3705  test "x$enable_dependency_tracking" != xno \
3706  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3707  am__fastdepCC_TRUE=
3708  am__fastdepCC_FALSE='#'
3709else
3710  am__fastdepCC_TRUE='#'
3711  am__fastdepCC_FALSE=
3712fi
3713
3714
3715
3716# Check whether --enable-static was given.
3717if test "${enable_static+set}" = set; then :
3718  enableval=$enable_static; p=${PACKAGE-default}
3719    case $enableval in
3720    yes) enable_static=yes ;;
3721    no) enable_static=no ;;
3722    *)
3723     enable_static=no
3724      # Look at the argument we got.  We use all the common list separators.
3725      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3726      for pkg in $enableval; do
3727	IFS="$lt_save_ifs"
3728	if test "X$pkg" = "X$p"; then
3729	  enable_static=yes
3730	fi
3731      done
3732      IFS="$lt_save_ifs"
3733      ;;
3734    esac
3735else
3736  enable_static=no
3737fi
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747# Check whether --enable-shared was given.
3748if test "${enable_shared+set}" = set; then :
3749  enableval=$enable_shared; p=${PACKAGE-default}
3750    case $enableval in
3751    yes) enable_shared=yes ;;
3752    no) enable_shared=no ;;
3753    *)
3754      enable_shared=no
3755      # Look at the argument we got.  We use all the common list separators.
3756      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3757      for pkg in $enableval; do
3758	IFS="$lt_save_ifs"
3759	if test "X$pkg" = "X$p"; then
3760	  enable_shared=yes
3761	fi
3762      done
3763      IFS="$lt_save_ifs"
3764      ;;
3765    esac
3766else
3767  enable_shared=yes
3768fi
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778enable_dlopen=yes
3779
3780
3781
3782case `pwd` in
3783  *\ * | *\	*)
3784    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3785$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3786esac
3787
3788
3789
3790macro_version='2.4'
3791macro_revision='1.3293'
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805ltmain="$ac_aux_dir/ltmain.sh"
3806
3807# Make sure we can run config.sub.
3808$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3809  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3810
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3812$as_echo_n "checking build system type... " >&6; }
3813if ${ac_cv_build+:} false; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  ac_build_alias=$build_alias
3817test "x$ac_build_alias" = x &&
3818  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3819test "x$ac_build_alias" = x &&
3820  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3821ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3822  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3823
3824fi
3825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3826$as_echo "$ac_cv_build" >&6; }
3827case $ac_cv_build in
3828*-*-*) ;;
3829*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3830esac
3831build=$ac_cv_build
3832ac_save_IFS=$IFS; IFS='-'
3833set x $ac_cv_build
3834shift
3835build_cpu=$1
3836build_vendor=$2
3837shift; shift
3838# Remember, the first character of IFS is used to create $*,
3839# except with old shells:
3840build_os=$*
3841IFS=$ac_save_IFS
3842case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3843
3844
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3846$as_echo_n "checking host system type... " >&6; }
3847if ${ac_cv_host+:} false; then :
3848  $as_echo_n "(cached) " >&6
3849else
3850  if test "x$host_alias" = x; then
3851  ac_cv_host=$ac_cv_build
3852else
3853  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3854    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3855fi
3856
3857fi
3858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3859$as_echo "$ac_cv_host" >&6; }
3860case $ac_cv_host in
3861*-*-*) ;;
3862*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3863esac
3864host=$ac_cv_host
3865ac_save_IFS=$IFS; IFS='-'
3866set x $ac_cv_host
3867shift
3868host_cpu=$1
3869host_vendor=$2
3870shift; shift
3871# Remember, the first character of IFS is used to create $*,
3872# except with old shells:
3873host_os=$*
3874IFS=$ac_save_IFS
3875case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3876
3877
3878# Backslashify metacharacters that are still active within
3879# double-quoted strings.
3880sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3881
3882# Same as above, but do not quote variable references.
3883double_quote_subst='s/\(["`\\]\)/\\\1/g'
3884
3885# Sed substitution to delay expansion of an escaped shell variable in a
3886# double_quote_subst'ed string.
3887delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3888
3889# Sed substitution to delay expansion of an escaped single quote.
3890delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3891
3892# Sed substitution to avoid accidental globbing in evaled expressions
3893no_glob_subst='s/\*/\\\*/g'
3894
3895ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3896ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3897ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3898
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3900$as_echo_n "checking how to print strings... " >&6; }
3901# Test print first, because it will be a builtin if present.
3902if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3903   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3904  ECHO='print -r --'
3905elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3906  ECHO='printf %s\n'
3907else
3908  # Use this function as a fallback that always works.
3909  func_fallback_echo ()
3910  {
3911    eval 'cat <<_LTECHO_EOF
3912$1
3913_LTECHO_EOF'
3914  }
3915  ECHO='func_fallback_echo'
3916fi
3917
3918# func_echo_all arg...
3919# Invoke $ECHO with all args, space-separated.
3920func_echo_all ()
3921{
3922    $ECHO ""
3923}
3924
3925case "$ECHO" in
3926  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3927$as_echo "printf" >&6; } ;;
3928  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3929$as_echo "print -r" >&6; } ;;
3930  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3931$as_echo "cat" >&6; } ;;
3932esac
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3948$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3949if ${ac_cv_path_SED+:} false; then :
3950  $as_echo_n "(cached) " >&6
3951else
3952            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3953     for ac_i in 1 2 3 4 5 6 7; do
3954       ac_script="$ac_script$as_nl$ac_script"
3955     done
3956     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3957     { ac_script=; unset ac_script;}
3958     if test -z "$SED"; then
3959  ac_path_SED_found=false
3960  # Loop through the user's path and test for each of PROGNAME-LIST
3961  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962for as_dir in $PATH
3963do
3964  IFS=$as_save_IFS
3965  test -z "$as_dir" && as_dir=.
3966    for ac_prog in sed gsed; do
3967    for ac_exec_ext in '' $ac_executable_extensions; do
3968      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3969      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3970# Check for GNU ac_path_SED and select it if it is found.
3971  # Check for GNU $ac_path_SED
3972case `"$ac_path_SED" --version 2>&1` in
3973*GNU*)
3974  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3975*)
3976  ac_count=0
3977  $as_echo_n 0123456789 >"conftest.in"
3978  while :
3979  do
3980    cat "conftest.in" "conftest.in" >"conftest.tmp"
3981    mv "conftest.tmp" "conftest.in"
3982    cp "conftest.in" "conftest.nl"
3983    $as_echo '' >> "conftest.nl"
3984    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3985    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3986    as_fn_arith $ac_count + 1 && ac_count=$as_val
3987    if test $ac_count -gt ${ac_path_SED_max-0}; then
3988      # Best one so far, save it but keep looking for a better one
3989      ac_cv_path_SED="$ac_path_SED"
3990      ac_path_SED_max=$ac_count
3991    fi
3992    # 10*(2^10) chars as input seems more than enough
3993    test $ac_count -gt 10 && break
3994  done
3995  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3996esac
3997
3998      $ac_path_SED_found && break 3
3999    done
4000  done
4001  done
4002IFS=$as_save_IFS
4003  if test -z "$ac_cv_path_SED"; then
4004    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4005  fi
4006else
4007  ac_cv_path_SED=$SED
4008fi
4009
4010fi
4011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4012$as_echo "$ac_cv_path_SED" >&6; }
4013 SED="$ac_cv_path_SED"
4014  rm -f conftest.sed
4015
4016test -z "$SED" && SED=sed
4017Xsed="$SED -e 1s/^X//"
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4030$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4031if ${ac_cv_path_GREP+:} false; then :
4032  $as_echo_n "(cached) " >&6
4033else
4034  if test -z "$GREP"; then
4035  ac_path_GREP_found=false
4036  # Loop through the user's path and test for each of PROGNAME-LIST
4037  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4039do
4040  IFS=$as_save_IFS
4041  test -z "$as_dir" && as_dir=.
4042    for ac_prog in grep ggrep; do
4043    for ac_exec_ext in '' $ac_executable_extensions; do
4044      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4045      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4046# Check for GNU ac_path_GREP and select it if it is found.
4047  # Check for GNU $ac_path_GREP
4048case `"$ac_path_GREP" --version 2>&1` in
4049*GNU*)
4050  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4051*)
4052  ac_count=0
4053  $as_echo_n 0123456789 >"conftest.in"
4054  while :
4055  do
4056    cat "conftest.in" "conftest.in" >"conftest.tmp"
4057    mv "conftest.tmp" "conftest.in"
4058    cp "conftest.in" "conftest.nl"
4059    $as_echo 'GREP' >> "conftest.nl"
4060    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4061    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4062    as_fn_arith $ac_count + 1 && ac_count=$as_val
4063    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4064      # Best one so far, save it but keep looking for a better one
4065      ac_cv_path_GREP="$ac_path_GREP"
4066      ac_path_GREP_max=$ac_count
4067    fi
4068    # 10*(2^10) chars as input seems more than enough
4069    test $ac_count -gt 10 && break
4070  done
4071  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4072esac
4073
4074      $ac_path_GREP_found && break 3
4075    done
4076  done
4077  done
4078IFS=$as_save_IFS
4079  if test -z "$ac_cv_path_GREP"; then
4080    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4081  fi
4082else
4083  ac_cv_path_GREP=$GREP
4084fi
4085
4086fi
4087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4088$as_echo "$ac_cv_path_GREP" >&6; }
4089 GREP="$ac_cv_path_GREP"
4090
4091
4092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4093$as_echo_n "checking for egrep... " >&6; }
4094if ${ac_cv_path_EGREP+:} false; then :
4095  $as_echo_n "(cached) " >&6
4096else
4097  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4098   then ac_cv_path_EGREP="$GREP -E"
4099   else
4100     if test -z "$EGREP"; then
4101  ac_path_EGREP_found=false
4102  # Loop through the user's path and test for each of PROGNAME-LIST
4103  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4105do
4106  IFS=$as_save_IFS
4107  test -z "$as_dir" && as_dir=.
4108    for ac_prog in egrep; do
4109    for ac_exec_ext in '' $ac_executable_extensions; do
4110      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4111      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4112# Check for GNU ac_path_EGREP and select it if it is found.
4113  # Check for GNU $ac_path_EGREP
4114case `"$ac_path_EGREP" --version 2>&1` in
4115*GNU*)
4116  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4117*)
4118  ac_count=0
4119  $as_echo_n 0123456789 >"conftest.in"
4120  while :
4121  do
4122    cat "conftest.in" "conftest.in" >"conftest.tmp"
4123    mv "conftest.tmp" "conftest.in"
4124    cp "conftest.in" "conftest.nl"
4125    $as_echo 'EGREP' >> "conftest.nl"
4126    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4127    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4128    as_fn_arith $ac_count + 1 && ac_count=$as_val
4129    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4130      # Best one so far, save it but keep looking for a better one
4131      ac_cv_path_EGREP="$ac_path_EGREP"
4132      ac_path_EGREP_max=$ac_count
4133    fi
4134    # 10*(2^10) chars as input seems more than enough
4135    test $ac_count -gt 10 && break
4136  done
4137  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4138esac
4139
4140      $ac_path_EGREP_found && break 3
4141    done
4142  done
4143  done
4144IFS=$as_save_IFS
4145  if test -z "$ac_cv_path_EGREP"; then
4146    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4147  fi
4148else
4149  ac_cv_path_EGREP=$EGREP
4150fi
4151
4152   fi
4153fi
4154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4155$as_echo "$ac_cv_path_EGREP" >&6; }
4156 EGREP="$ac_cv_path_EGREP"
4157
4158
4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4160$as_echo_n "checking for fgrep... " >&6; }
4161if ${ac_cv_path_FGREP+:} false; then :
4162  $as_echo_n "(cached) " >&6
4163else
4164  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4165   then ac_cv_path_FGREP="$GREP -F"
4166   else
4167     if test -z "$FGREP"; then
4168  ac_path_FGREP_found=false
4169  # Loop through the user's path and test for each of PROGNAME-LIST
4170  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4172do
4173  IFS=$as_save_IFS
4174  test -z "$as_dir" && as_dir=.
4175    for ac_prog in fgrep; do
4176    for ac_exec_ext in '' $ac_executable_extensions; do
4177      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4178      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4179# Check for GNU ac_path_FGREP and select it if it is found.
4180  # Check for GNU $ac_path_FGREP
4181case `"$ac_path_FGREP" --version 2>&1` in
4182*GNU*)
4183  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4184*)
4185  ac_count=0
4186  $as_echo_n 0123456789 >"conftest.in"
4187  while :
4188  do
4189    cat "conftest.in" "conftest.in" >"conftest.tmp"
4190    mv "conftest.tmp" "conftest.in"
4191    cp "conftest.in" "conftest.nl"
4192    $as_echo 'FGREP' >> "conftest.nl"
4193    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4194    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4195    as_fn_arith $ac_count + 1 && ac_count=$as_val
4196    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4197      # Best one so far, save it but keep looking for a better one
4198      ac_cv_path_FGREP="$ac_path_FGREP"
4199      ac_path_FGREP_max=$ac_count
4200    fi
4201    # 10*(2^10) chars as input seems more than enough
4202    test $ac_count -gt 10 && break
4203  done
4204  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4205esac
4206
4207      $ac_path_FGREP_found && break 3
4208    done
4209  done
4210  done
4211IFS=$as_save_IFS
4212  if test -z "$ac_cv_path_FGREP"; then
4213    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4214  fi
4215else
4216  ac_cv_path_FGREP=$FGREP
4217fi
4218
4219   fi
4220fi
4221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4222$as_echo "$ac_cv_path_FGREP" >&6; }
4223 FGREP="$ac_cv_path_FGREP"
4224
4225
4226test -z "$GREP" && GREP=grep
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246# Check whether --with-gnu-ld was given.
4247if test "${with_gnu_ld+set}" = set; then :
4248  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4249else
4250  with_gnu_ld=no
4251fi
4252
4253ac_prog=ld
4254if test "$GCC" = yes; then
4255  # Check if gcc -print-prog-name=ld gives a path.
4256  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4257$as_echo_n "checking for ld used by $CC... " >&6; }
4258  case $host in
4259  *-*-mingw*)
4260    # gcc leaves a trailing carriage return which upsets mingw
4261    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4262  *)
4263    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4264  esac
4265  case $ac_prog in
4266    # Accept absolute paths.
4267    [\\/]* | ?:[\\/]*)
4268      re_direlt='/[^/][^/]*/\.\./'
4269      # Canonicalize the pathname of ld
4270      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4271      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4272	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4273      done
4274      test -z "$LD" && LD="$ac_prog"
4275      ;;
4276  "")
4277    # If it fails, then pretend we aren't using GCC.
4278    ac_prog=ld
4279    ;;
4280  *)
4281    # If it is relative, then search for the first ld in PATH.
4282    with_gnu_ld=unknown
4283    ;;
4284  esac
4285elif test "$with_gnu_ld" = yes; then
4286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4287$as_echo_n "checking for GNU ld... " >&6; }
4288else
4289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4290$as_echo_n "checking for non-GNU ld... " >&6; }
4291fi
4292if ${lt_cv_path_LD+:} false; then :
4293  $as_echo_n "(cached) " >&6
4294else
4295  if test -z "$LD"; then
4296  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4297  for ac_dir in $PATH; do
4298    IFS="$lt_save_ifs"
4299    test -z "$ac_dir" && ac_dir=.
4300    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4301      lt_cv_path_LD="$ac_dir/$ac_prog"
4302      # Check to see if the program is GNU ld.  I'd rather use --version,
4303      # but apparently some variants of GNU ld only accept -v.
4304      # Break only if it was the GNU/non-GNU ld that we prefer.
4305      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4306      *GNU* | *'with BFD'*)
4307	test "$with_gnu_ld" != no && break
4308	;;
4309      *)
4310	test "$with_gnu_ld" != yes && break
4311	;;
4312      esac
4313    fi
4314  done
4315  IFS="$lt_save_ifs"
4316else
4317  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4318fi
4319fi
4320
4321LD="$lt_cv_path_LD"
4322if test -n "$LD"; then
4323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4324$as_echo "$LD" >&6; }
4325else
4326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327$as_echo "no" >&6; }
4328fi
4329test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4331$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4332if ${lt_cv_prog_gnu_ld+:} false; then :
4333  $as_echo_n "(cached) " >&6
4334else
4335  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4336case `$LD -v 2>&1 </dev/null` in
4337*GNU* | *'with BFD'*)
4338  lt_cv_prog_gnu_ld=yes
4339  ;;
4340*)
4341  lt_cv_prog_gnu_ld=no
4342  ;;
4343esac
4344fi
4345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4346$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4347with_gnu_ld=$lt_cv_prog_gnu_ld
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4358$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4359if ${lt_cv_path_NM+:} false; then :
4360  $as_echo_n "(cached) " >&6
4361else
4362  if test -n "$NM"; then
4363  # Let the user override the test.
4364  lt_cv_path_NM="$NM"
4365else
4366  lt_nm_to_check="${ac_tool_prefix}nm"
4367  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4368    lt_nm_to_check="$lt_nm_to_check nm"
4369  fi
4370  for lt_tmp_nm in $lt_nm_to_check; do
4371    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4372    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4373      IFS="$lt_save_ifs"
4374      test -z "$ac_dir" && ac_dir=.
4375      tmp_nm="$ac_dir/$lt_tmp_nm"
4376      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4377	# Check to see if the nm accepts a BSD-compat flag.
4378	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4379	#   nm: unknown option "B" ignored
4380	# Tru64's nm complains that /dev/null is an invalid object file
4381	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4382	*/dev/null* | *'Invalid file or object type'*)
4383	  lt_cv_path_NM="$tmp_nm -B"
4384	  break
4385	  ;;
4386	*)
4387	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4388	  */dev/null*)
4389	    lt_cv_path_NM="$tmp_nm -p"
4390	    break
4391	    ;;
4392	  *)
4393	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4394	    continue # so that we can try to find one that supports BSD flags
4395	    ;;
4396	  esac
4397	  ;;
4398	esac
4399      fi
4400    done
4401    IFS="$lt_save_ifs"
4402  done
4403  : ${lt_cv_path_NM=no}
4404fi
4405fi
4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4407$as_echo "$lt_cv_path_NM" >&6; }
4408if test "$lt_cv_path_NM" != "no"; then
4409  NM="$lt_cv_path_NM"
4410else
4411  # Didn't find any BSD compatible name lister, look for dumpbin.
4412  if test -n "$DUMPBIN"; then :
4413    # Let the user override the test.
4414  else
4415    if test -n "$ac_tool_prefix"; then
4416  for ac_prog in dumpbin "link -dump"
4417  do
4418    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4419set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421$as_echo_n "checking for $ac_word... " >&6; }
4422if ${ac_cv_prog_DUMPBIN+:} false; then :
4423  $as_echo_n "(cached) " >&6
4424else
4425  if test -n "$DUMPBIN"; then
4426  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4427else
4428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429for as_dir in $PATH
4430do
4431  IFS=$as_save_IFS
4432  test -z "$as_dir" && as_dir=.
4433    for ac_exec_ext in '' $ac_executable_extensions; do
4434  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4435    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4437    break 2
4438  fi
4439done
4440  done
4441IFS=$as_save_IFS
4442
4443fi
4444fi
4445DUMPBIN=$ac_cv_prog_DUMPBIN
4446if test -n "$DUMPBIN"; then
4447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4448$as_echo "$DUMPBIN" >&6; }
4449else
4450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451$as_echo "no" >&6; }
4452fi
4453
4454
4455    test -n "$DUMPBIN" && break
4456  done
4457fi
4458if test -z "$DUMPBIN"; then
4459  ac_ct_DUMPBIN=$DUMPBIN
4460  for ac_prog in dumpbin "link -dump"
4461do
4462  # Extract the first word of "$ac_prog", so it can be a program name with args.
4463set dummy $ac_prog; ac_word=$2
4464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465$as_echo_n "checking for $ac_word... " >&6; }
4466if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4467  $as_echo_n "(cached) " >&6
4468else
4469  if test -n "$ac_ct_DUMPBIN"; then
4470  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4471else
4472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473for as_dir in $PATH
4474do
4475  IFS=$as_save_IFS
4476  test -z "$as_dir" && as_dir=.
4477    for ac_exec_ext in '' $ac_executable_extensions; do
4478  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4479    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481    break 2
4482  fi
4483done
4484  done
4485IFS=$as_save_IFS
4486
4487fi
4488fi
4489ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4490if test -n "$ac_ct_DUMPBIN"; then
4491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4492$as_echo "$ac_ct_DUMPBIN" >&6; }
4493else
4494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495$as_echo "no" >&6; }
4496fi
4497
4498
4499  test -n "$ac_ct_DUMPBIN" && break
4500done
4501
4502  if test "x$ac_ct_DUMPBIN" = x; then
4503    DUMPBIN=":"
4504  else
4505    case $cross_compiling:$ac_tool_warned in
4506yes:)
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509ac_tool_warned=yes ;;
4510esac
4511    DUMPBIN=$ac_ct_DUMPBIN
4512  fi
4513fi
4514
4515    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4516    *COFF*)
4517      DUMPBIN="$DUMPBIN -symbols"
4518      ;;
4519    *)
4520      DUMPBIN=:
4521      ;;
4522    esac
4523  fi
4524
4525  if test "$DUMPBIN" != ":"; then
4526    NM="$DUMPBIN"
4527  fi
4528fi
4529test -z "$NM" && NM=nm
4530
4531
4532
4533
4534
4535
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4537$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4538if ${lt_cv_nm_interface+:} false; then :
4539  $as_echo_n "(cached) " >&6
4540else
4541  lt_cv_nm_interface="BSD nm"
4542  echo "int some_variable = 0;" > conftest.$ac_ext
4543  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4544  (eval "$ac_compile" 2>conftest.err)
4545  cat conftest.err >&5
4546  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4547  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4548  cat conftest.err >&5
4549  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4550  cat conftest.out >&5
4551  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4552    lt_cv_nm_interface="MS dumpbin"
4553  fi
4554  rm -f conftest*
4555fi
4556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4557$as_echo "$lt_cv_nm_interface" >&6; }
4558
4559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4560$as_echo_n "checking whether ln -s works... " >&6; }
4561LN_S=$as_ln_s
4562if test "$LN_S" = "ln -s"; then
4563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4564$as_echo "yes" >&6; }
4565else
4566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4567$as_echo "no, using $LN_S" >&6; }
4568fi
4569
4570# find the maximum length of command line arguments
4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4572$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4573if ${lt_cv_sys_max_cmd_len+:} false; then :
4574  $as_echo_n "(cached) " >&6
4575else
4576    i=0
4577  teststring="ABCD"
4578
4579  case $build_os in
4580  msdosdjgpp*)
4581    # On DJGPP, this test can blow up pretty badly due to problems in libc
4582    # (any single argument exceeding 2000 bytes causes a buffer overrun
4583    # during glob expansion).  Even if it were fixed, the result of this
4584    # check would be larger than it should be.
4585    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4586    ;;
4587
4588  gnu*)
4589    # Under GNU Hurd, this test is not required because there is
4590    # no limit to the length of command line arguments.
4591    # Libtool will interpret -1 as no limit whatsoever
4592    lt_cv_sys_max_cmd_len=-1;
4593    ;;
4594
4595  cygwin* | mingw* | cegcc*)
4596    # On Win9x/ME, this test blows up -- it succeeds, but takes
4597    # about 5 minutes as the teststring grows exponentially.
4598    # Worse, since 9x/ME are not pre-emptively multitasking,
4599    # you end up with a "frozen" computer, even though with patience
4600    # the test eventually succeeds (with a max line length of 256k).
4601    # Instead, let's just punt: use the minimum linelength reported by
4602    # all of the supported platforms: 8192 (on NT/2K/XP).
4603    lt_cv_sys_max_cmd_len=8192;
4604    ;;
4605
4606  mint*)
4607    # On MiNT this can take a long time and run out of memory.
4608    lt_cv_sys_max_cmd_len=8192;
4609    ;;
4610
4611  amigaos*)
4612    # On AmigaOS with pdksh, this test takes hours, literally.
4613    # So we just punt and use a minimum line length of 8192.
4614    lt_cv_sys_max_cmd_len=8192;
4615    ;;
4616
4617  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4618    # This has been around since 386BSD, at least.  Likely further.
4619    if test -x /sbin/sysctl; then
4620      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4621    elif test -x /usr/sbin/sysctl; then
4622      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4623    else
4624      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4625    fi
4626    # And add a safety zone
4627    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4628    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4629    ;;
4630
4631  interix*)
4632    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4633    lt_cv_sys_max_cmd_len=196608
4634    ;;
4635
4636  osf*)
4637    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4638    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4639    # nice to cause kernel panics so lets avoid the loop below.
4640    # First set a reasonable default.
4641    lt_cv_sys_max_cmd_len=16384
4642    #
4643    if test -x /sbin/sysconfig; then
4644      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4645        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4646      esac
4647    fi
4648    ;;
4649  sco3.2v5*)
4650    lt_cv_sys_max_cmd_len=102400
4651    ;;
4652  sysv5* | sco5v6* | sysv4.2uw2*)
4653    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4654    if test -n "$kargmax"; then
4655      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4656    else
4657      lt_cv_sys_max_cmd_len=32768
4658    fi
4659    ;;
4660  *)
4661    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4662    if test -n "$lt_cv_sys_max_cmd_len"; then
4663      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4664      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4665    else
4666      # Make teststring a little bigger before we do anything with it.
4667      # a 1K string should be a reasonable start.
4668      for i in 1 2 3 4 5 6 7 8 ; do
4669        teststring=$teststring$teststring
4670      done
4671      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4672      # If test is not a shell built-in, we'll probably end up computing a
4673      # maximum length that is only half of the actual maximum length, but
4674      # we can't tell.
4675      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4676	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4677	      test $i != 17 # 1/2 MB should be enough
4678      do
4679        i=`expr $i + 1`
4680        teststring=$teststring$teststring
4681      done
4682      # Only check the string length outside the loop.
4683      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4684      teststring=
4685      # Add a significant safety factor because C++ compilers can tack on
4686      # massive amounts of additional arguments before passing them to the
4687      # linker.  It appears as though 1/2 is a usable value.
4688      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4689    fi
4690    ;;
4691  esac
4692
4693fi
4694
4695if test -n $lt_cv_sys_max_cmd_len ; then
4696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4697$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4698else
4699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4700$as_echo "none" >&6; }
4701fi
4702max_cmd_len=$lt_cv_sys_max_cmd_len
4703
4704
4705
4706
4707
4708
4709: ${CP="cp -f"}
4710: ${MV="mv -f"}
4711: ${RM="rm -f"}
4712
4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4714$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4715# Try some XSI features
4716xsi_shell=no
4717( _lt_dummy="a/b/c"
4718  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4719      = c,a/b,b/c, \
4720    && eval 'test $(( 1 + 1 )) -eq 2 \
4721    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4722  && xsi_shell=yes
4723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4724$as_echo "$xsi_shell" >&6; }
4725
4726
4727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4728$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4729lt_shell_append=no
4730( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4731    >/dev/null 2>&1 \
4732  && lt_shell_append=yes
4733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4734$as_echo "$lt_shell_append" >&6; }
4735
4736
4737if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4738  lt_unset=unset
4739else
4740  lt_unset=false
4741fi
4742
4743
4744
4745
4746
4747# test EBCDIC or ASCII
4748case `echo X|tr X '\101'` in
4749 A) # ASCII based system
4750    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4751  lt_SP2NL='tr \040 \012'
4752  lt_NL2SP='tr \015\012 \040\040'
4753  ;;
4754 *) # EBCDIC based system
4755  lt_SP2NL='tr \100 \n'
4756  lt_NL2SP='tr \r\n \100\100'
4757  ;;
4758esac
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4769$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4770if ${lt_cv_to_host_file_cmd+:} false; then :
4771  $as_echo_n "(cached) " >&6
4772else
4773  case $host in
4774  *-*-mingw* )
4775    case $build in
4776      *-*-mingw* ) # actually msys
4777        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4778        ;;
4779      *-*-cygwin* )
4780        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4781        ;;
4782      * ) # otherwise, assume *nix
4783        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4784        ;;
4785    esac
4786    ;;
4787  *-*-cygwin* )
4788    case $build in
4789      *-*-mingw* ) # actually msys
4790        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4791        ;;
4792      *-*-cygwin* )
4793        lt_cv_to_host_file_cmd=func_convert_file_noop
4794        ;;
4795      * ) # otherwise, assume *nix
4796        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4797        ;;
4798    esac
4799    ;;
4800  * ) # unhandled hosts (and "normal" native builds)
4801    lt_cv_to_host_file_cmd=func_convert_file_noop
4802    ;;
4803esac
4804
4805fi
4806
4807to_host_file_cmd=$lt_cv_to_host_file_cmd
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4809$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4810
4811
4812
4813
4814
4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4816$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4817if ${lt_cv_to_tool_file_cmd+:} false; then :
4818  $as_echo_n "(cached) " >&6
4819else
4820  #assume ordinary cross tools, or native build.
4821lt_cv_to_tool_file_cmd=func_convert_file_noop
4822case $host in
4823  *-*-mingw* )
4824    case $build in
4825      *-*-mingw* ) # actually msys
4826        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4827        ;;
4828    esac
4829    ;;
4830esac
4831
4832fi
4833
4834to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4836$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4837
4838
4839
4840
4841
4842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4843$as_echo_n "checking for $LD option to reload object files... " >&6; }
4844if ${lt_cv_ld_reload_flag+:} false; then :
4845  $as_echo_n "(cached) " >&6
4846else
4847  lt_cv_ld_reload_flag='-r'
4848fi
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4850$as_echo "$lt_cv_ld_reload_flag" >&6; }
4851reload_flag=$lt_cv_ld_reload_flag
4852case $reload_flag in
4853"" | " "*) ;;
4854*) reload_flag=" $reload_flag" ;;
4855esac
4856reload_cmds='$LD$reload_flag -o $output$reload_objs'
4857case $host_os in
4858  cygwin* | mingw* | pw32* | cegcc*)
4859    if test "$GCC" != yes; then
4860      reload_cmds=false
4861    fi
4862    ;;
4863  darwin*)
4864    if test "$GCC" = yes; then
4865      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4866    else
4867      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4868    fi
4869    ;;
4870esac
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880if test -n "$ac_tool_prefix"; then
4881  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4882set dummy ${ac_tool_prefix}objdump; ac_word=$2
4883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884$as_echo_n "checking for $ac_word... " >&6; }
4885if ${ac_cv_prog_OBJDUMP+:} false; then :
4886  $as_echo_n "(cached) " >&6
4887else
4888  if test -n "$OBJDUMP"; then
4889  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4890else
4891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892for as_dir in $PATH
4893do
4894  IFS=$as_save_IFS
4895  test -z "$as_dir" && as_dir=.
4896    for ac_exec_ext in '' $ac_executable_extensions; do
4897  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900    break 2
4901  fi
4902done
4903  done
4904IFS=$as_save_IFS
4905
4906fi
4907fi
4908OBJDUMP=$ac_cv_prog_OBJDUMP
4909if test -n "$OBJDUMP"; then
4910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4911$as_echo "$OBJDUMP" >&6; }
4912else
4913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914$as_echo "no" >&6; }
4915fi
4916
4917
4918fi
4919if test -z "$ac_cv_prog_OBJDUMP"; then
4920  ac_ct_OBJDUMP=$OBJDUMP
4921  # Extract the first word of "objdump", so it can be a program name with args.
4922set dummy objdump; ac_word=$2
4923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924$as_echo_n "checking for $ac_word... " >&6; }
4925if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4926  $as_echo_n "(cached) " >&6
4927else
4928  if test -n "$ac_ct_OBJDUMP"; then
4929  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4930else
4931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932for as_dir in $PATH
4933do
4934  IFS=$as_save_IFS
4935  test -z "$as_dir" && as_dir=.
4936    for ac_exec_ext in '' $ac_executable_extensions; do
4937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940    break 2
4941  fi
4942done
4943  done
4944IFS=$as_save_IFS
4945
4946fi
4947fi
4948ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4949if test -n "$ac_ct_OBJDUMP"; then
4950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4951$as_echo "$ac_ct_OBJDUMP" >&6; }
4952else
4953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954$as_echo "no" >&6; }
4955fi
4956
4957  if test "x$ac_ct_OBJDUMP" = x; then
4958    OBJDUMP="false"
4959  else
4960    case $cross_compiling:$ac_tool_warned in
4961yes:)
4962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964ac_tool_warned=yes ;;
4965esac
4966    OBJDUMP=$ac_ct_OBJDUMP
4967  fi
4968else
4969  OBJDUMP="$ac_cv_prog_OBJDUMP"
4970fi
4971
4972test -z "$OBJDUMP" && OBJDUMP=objdump
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4983$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4984if ${lt_cv_deplibs_check_method+:} false; then :
4985  $as_echo_n "(cached) " >&6
4986else
4987  lt_cv_file_magic_cmd='$MAGIC_CMD'
4988lt_cv_file_magic_test_file=
4989lt_cv_deplibs_check_method='unknown'
4990# Need to set the preceding variable on all platforms that support
4991# interlibrary dependencies.
4992# 'none' -- dependencies not supported.
4993# `unknown' -- same as none, but documents that we really don't know.
4994# 'pass_all' -- all dependencies passed with no checks.
4995# 'test_compile' -- check by making test program.
4996# 'file_magic [[regex]]' -- check by looking for files in library path
4997# which responds to the $file_magic_cmd with a given extended regex.
4998# If you have `file' or equivalent on your system and you're not sure
4999# whether `pass_all' will *always* work, you probably want this one.
5000
5001case $host_os in
5002aix[4-9]*)
5003  lt_cv_deplibs_check_method=pass_all
5004  ;;
5005
5006beos*)
5007  lt_cv_deplibs_check_method=pass_all
5008  ;;
5009
5010bsdi[45]*)
5011  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5012  lt_cv_file_magic_cmd='/usr/bin/file -L'
5013  lt_cv_file_magic_test_file=/shlib/libc.so
5014  ;;
5015
5016cygwin*)
5017  # func_win32_libid is a shell function defined in ltmain.sh
5018  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5019  lt_cv_file_magic_cmd='func_win32_libid'
5020  ;;
5021
5022mingw* | pw32*)
5023  # Base MSYS/MinGW do not provide the 'file' command needed by
5024  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5025  # unless we find 'file', for example because we are cross-compiling.
5026  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5027  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5028    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5029    lt_cv_file_magic_cmd='func_win32_libid'
5030  else
5031    # Keep this pattern in sync with the one in func_win32_libid.
5032    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5033    lt_cv_file_magic_cmd='$OBJDUMP -f'
5034  fi
5035  ;;
5036
5037cegcc*)
5038  # use the weaker test based on 'objdump'. See mingw*.
5039  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5040  lt_cv_file_magic_cmd='$OBJDUMP -f'
5041  ;;
5042
5043darwin* | rhapsody*)
5044  lt_cv_deplibs_check_method=pass_all
5045  ;;
5046
5047freebsd* | dragonfly*)
5048  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5049    case $host_cpu in
5050    i*86 )
5051      # Not sure whether the presence of OpenBSD here was a mistake.
5052      # Let's accept both of them until this is cleared up.
5053      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5054      lt_cv_file_magic_cmd=/usr/bin/file
5055      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5056      ;;
5057    esac
5058  else
5059    lt_cv_deplibs_check_method=pass_all
5060  fi
5061  ;;
5062
5063gnu*)
5064  lt_cv_deplibs_check_method=pass_all
5065  ;;
5066
5067haiku*)
5068  lt_cv_deplibs_check_method=pass_all
5069  ;;
5070
5071hpux10.20* | hpux11*)
5072  lt_cv_file_magic_cmd=/usr/bin/file
5073  case $host_cpu in
5074  ia64*)
5075    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5076    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5077    ;;
5078  hppa*64*)
5079    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]'
5080    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5081    ;;
5082  *)
5083    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5084    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5085    ;;
5086  esac
5087  ;;
5088
5089interix[3-9]*)
5090  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5091  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5092  ;;
5093
5094irix5* | irix6* | nonstopux*)
5095  case $LD in
5096  *-32|*"-32 ") libmagic=32-bit;;
5097  *-n32|*"-n32 ") libmagic=N32;;
5098  *-64|*"-64 ") libmagic=64-bit;;
5099  *) libmagic=never-match;;
5100  esac
5101  lt_cv_deplibs_check_method=pass_all
5102  ;;
5103
5104# This must be Linux ELF.
5105linux* | k*bsd*-gnu | kopensolaris*-gnu)
5106  lt_cv_deplibs_check_method=pass_all
5107  ;;
5108
5109netbsd*)
5110  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5111    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5112  else
5113    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5114  fi
5115  ;;
5116
5117newos6*)
5118  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5119  lt_cv_file_magic_cmd=/usr/bin/file
5120  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5121  ;;
5122
5123*nto* | *qnx*)
5124  lt_cv_deplibs_check_method=pass_all
5125  ;;
5126
5127openbsd*)
5128  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5129    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5130  else
5131    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5132  fi
5133  ;;
5134
5135osf3* | osf4* | osf5*)
5136  lt_cv_deplibs_check_method=pass_all
5137  ;;
5138
5139rdos*)
5140  lt_cv_deplibs_check_method=pass_all
5141  ;;
5142
5143solaris*)
5144  lt_cv_deplibs_check_method=pass_all
5145  ;;
5146
5147sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5148  lt_cv_deplibs_check_method=pass_all
5149  ;;
5150
5151sysv4 | sysv4.3*)
5152  case $host_vendor in
5153  motorola)
5154    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]'
5155    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5156    ;;
5157  ncr)
5158    lt_cv_deplibs_check_method=pass_all
5159    ;;
5160  sequent)
5161    lt_cv_file_magic_cmd='/bin/file'
5162    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5163    ;;
5164  sni)
5165    lt_cv_file_magic_cmd='/bin/file'
5166    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5167    lt_cv_file_magic_test_file=/lib/libc.so
5168    ;;
5169  siemens)
5170    lt_cv_deplibs_check_method=pass_all
5171    ;;
5172  pc)
5173    lt_cv_deplibs_check_method=pass_all
5174    ;;
5175  esac
5176  ;;
5177
5178tpf*)
5179  lt_cv_deplibs_check_method=pass_all
5180  ;;
5181esac
5182
5183fi
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5185$as_echo "$lt_cv_deplibs_check_method" >&6; }
5186
5187file_magic_glob=
5188want_nocaseglob=no
5189if test "$build" = "$host"; then
5190  case $host_os in
5191  mingw* | pw32*)
5192    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5193      want_nocaseglob=yes
5194    else
5195      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5196    fi
5197    ;;
5198  esac
5199fi
5200
5201file_magic_cmd=$lt_cv_file_magic_cmd
5202deplibs_check_method=$lt_cv_deplibs_check_method
5203test -z "$deplibs_check_method" && deplibs_check_method=unknown
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226if test -n "$ac_tool_prefix"; then
5227  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5228set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230$as_echo_n "checking for $ac_word... " >&6; }
5231if ${ac_cv_prog_DLLTOOL+:} false; then :
5232  $as_echo_n "(cached) " >&6
5233else
5234  if test -n "$DLLTOOL"; then
5235  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5236else
5237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238for as_dir in $PATH
5239do
5240  IFS=$as_save_IFS
5241  test -z "$as_dir" && as_dir=.
5242    for ac_exec_ext in '' $ac_executable_extensions; do
5243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246    break 2
5247  fi
5248done
5249  done
5250IFS=$as_save_IFS
5251
5252fi
5253fi
5254DLLTOOL=$ac_cv_prog_DLLTOOL
5255if test -n "$DLLTOOL"; then
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5257$as_echo "$DLLTOOL" >&6; }
5258else
5259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260$as_echo "no" >&6; }
5261fi
5262
5263
5264fi
5265if test -z "$ac_cv_prog_DLLTOOL"; then
5266  ac_ct_DLLTOOL=$DLLTOOL
5267  # Extract the first word of "dlltool", so it can be a program name with args.
5268set dummy dlltool; ac_word=$2
5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270$as_echo_n "checking for $ac_word... " >&6; }
5271if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5272  $as_echo_n "(cached) " >&6
5273else
5274  if test -n "$ac_ct_DLLTOOL"; then
5275  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5276else
5277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278for as_dir in $PATH
5279do
5280  IFS=$as_save_IFS
5281  test -z "$as_dir" && as_dir=.
5282    for ac_exec_ext in '' $ac_executable_extensions; do
5283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286    break 2
5287  fi
5288done
5289  done
5290IFS=$as_save_IFS
5291
5292fi
5293fi
5294ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5295if test -n "$ac_ct_DLLTOOL"; then
5296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5297$as_echo "$ac_ct_DLLTOOL" >&6; }
5298else
5299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300$as_echo "no" >&6; }
5301fi
5302
5303  if test "x$ac_ct_DLLTOOL" = x; then
5304    DLLTOOL="false"
5305  else
5306    case $cross_compiling:$ac_tool_warned in
5307yes:)
5308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310ac_tool_warned=yes ;;
5311esac
5312    DLLTOOL=$ac_ct_DLLTOOL
5313  fi
5314else
5315  DLLTOOL="$ac_cv_prog_DLLTOOL"
5316fi
5317
5318test -z "$DLLTOOL" && DLLTOOL=dlltool
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5330$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5331if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334  lt_cv_sharedlib_from_linklib_cmd='unknown'
5335
5336case $host_os in
5337cygwin* | mingw* | pw32* | cegcc*)
5338  # two different shell functions defined in ltmain.sh
5339  # decide which to use based on capabilities of $DLLTOOL
5340  case `$DLLTOOL --help 2>&1` in
5341  *--identify-strict*)
5342    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5343    ;;
5344  *)
5345    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5346    ;;
5347  esac
5348  ;;
5349*)
5350  # fallback: assume linklib IS sharedlib
5351  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5352  ;;
5353esac
5354
5355fi
5356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5357$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5358sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5359test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5360
5361
5362
5363
5364
5365
5366
5367
5368if test -n "$ac_tool_prefix"; then
5369  for ac_prog in ar
5370  do
5371    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5372set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374$as_echo_n "checking for $ac_word... " >&6; }
5375if ${ac_cv_prog_AR+:} false; then :
5376  $as_echo_n "(cached) " >&6
5377else
5378  if test -n "$AR"; then
5379  ac_cv_prog_AR="$AR" # Let the user override the test.
5380else
5381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382for as_dir in $PATH
5383do
5384  IFS=$as_save_IFS
5385  test -z "$as_dir" && as_dir=.
5386    for ac_exec_ext in '' $ac_executable_extensions; do
5387  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390    break 2
5391  fi
5392done
5393  done
5394IFS=$as_save_IFS
5395
5396fi
5397fi
5398AR=$ac_cv_prog_AR
5399if test -n "$AR"; then
5400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5401$as_echo "$AR" >&6; }
5402else
5403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404$as_echo "no" >&6; }
5405fi
5406
5407
5408    test -n "$AR" && break
5409  done
5410fi
5411if test -z "$AR"; then
5412  ac_ct_AR=$AR
5413  for ac_prog in ar
5414do
5415  # Extract the first word of "$ac_prog", so it can be a program name with args.
5416set dummy $ac_prog; ac_word=$2
5417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418$as_echo_n "checking for $ac_word... " >&6; }
5419if ${ac_cv_prog_ac_ct_AR+:} false; then :
5420  $as_echo_n "(cached) " >&6
5421else
5422  if test -n "$ac_ct_AR"; then
5423  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5424else
5425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426for as_dir in $PATH
5427do
5428  IFS=$as_save_IFS
5429  test -z "$as_dir" && as_dir=.
5430    for ac_exec_ext in '' $ac_executable_extensions; do
5431  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5432    ac_cv_prog_ac_ct_AR="$ac_prog"
5433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434    break 2
5435  fi
5436done
5437  done
5438IFS=$as_save_IFS
5439
5440fi
5441fi
5442ac_ct_AR=$ac_cv_prog_ac_ct_AR
5443if test -n "$ac_ct_AR"; then
5444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5445$as_echo "$ac_ct_AR" >&6; }
5446else
5447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448$as_echo "no" >&6; }
5449fi
5450
5451
5452  test -n "$ac_ct_AR" && break
5453done
5454
5455  if test "x$ac_ct_AR" = x; then
5456    AR="false"
5457  else
5458    case $cross_compiling:$ac_tool_warned in
5459yes:)
5460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462ac_tool_warned=yes ;;
5463esac
5464    AR=$ac_ct_AR
5465  fi
5466fi
5467
5468: ${AR=ar}
5469: ${AR_FLAGS=cru}
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5482$as_echo_n "checking for archiver @FILE support... " >&6; }
5483if ${lt_cv_ar_at_file+:} false; then :
5484  $as_echo_n "(cached) " >&6
5485else
5486  lt_cv_ar_at_file=no
5487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488/* end confdefs.h.  */
5489
5490int
5491main ()
5492{
5493
5494  ;
5495  return 0;
5496}
5497_ACEOF
5498if ac_fn_c_try_compile "$LINENO"; then :
5499  echo conftest.$ac_objext > conftest.lst
5500      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5501      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5502  (eval $lt_ar_try) 2>&5
5503  ac_status=$?
5504  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5505  test $ac_status = 0; }
5506      if test "$ac_status" -eq 0; then
5507	# Ensure the archiver fails upon bogus file names.
5508	rm -f conftest.$ac_objext libconftest.a
5509	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5510  (eval $lt_ar_try) 2>&5
5511  ac_status=$?
5512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5513  test $ac_status = 0; }
5514	if test "$ac_status" -ne 0; then
5515          lt_cv_ar_at_file=@
5516        fi
5517      fi
5518      rm -f conftest.* libconftest.a
5519
5520fi
5521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5522
5523fi
5524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5525$as_echo "$lt_cv_ar_at_file" >&6; }
5526
5527if test "x$lt_cv_ar_at_file" = xno; then
5528  archiver_list_spec=
5529else
5530  archiver_list_spec=$lt_cv_ar_at_file
5531fi
5532
5533
5534
5535
5536
5537
5538
5539if test -n "$ac_tool_prefix"; then
5540  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5541set dummy ${ac_tool_prefix}strip; ac_word=$2
5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543$as_echo_n "checking for $ac_word... " >&6; }
5544if ${ac_cv_prog_STRIP+:} false; then :
5545  $as_echo_n "(cached) " >&6
5546else
5547  if test -n "$STRIP"; then
5548  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5549else
5550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551for as_dir in $PATH
5552do
5553  IFS=$as_save_IFS
5554  test -z "$as_dir" && as_dir=.
5555    for ac_exec_ext in '' $ac_executable_extensions; do
5556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5558    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559    break 2
5560  fi
5561done
5562  done
5563IFS=$as_save_IFS
5564
5565fi
5566fi
5567STRIP=$ac_cv_prog_STRIP
5568if test -n "$STRIP"; then
5569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5570$as_echo "$STRIP" >&6; }
5571else
5572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573$as_echo "no" >&6; }
5574fi
5575
5576
5577fi
5578if test -z "$ac_cv_prog_STRIP"; then
5579  ac_ct_STRIP=$STRIP
5580  # Extract the first word of "strip", so it can be a program name with args.
5581set dummy strip; ac_word=$2
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583$as_echo_n "checking for $ac_word... " >&6; }
5584if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  if test -n "$ac_ct_STRIP"; then
5588  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5589else
5590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591for as_dir in $PATH
5592do
5593  IFS=$as_save_IFS
5594  test -z "$as_dir" && as_dir=.
5595    for ac_exec_ext in '' $ac_executable_extensions; do
5596  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597    ac_cv_prog_ac_ct_STRIP="strip"
5598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599    break 2
5600  fi
5601done
5602  done
5603IFS=$as_save_IFS
5604
5605fi
5606fi
5607ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5608if test -n "$ac_ct_STRIP"; then
5609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5610$as_echo "$ac_ct_STRIP" >&6; }
5611else
5612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613$as_echo "no" >&6; }
5614fi
5615
5616  if test "x$ac_ct_STRIP" = x; then
5617    STRIP=":"
5618  else
5619    case $cross_compiling:$ac_tool_warned in
5620yes:)
5621{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623ac_tool_warned=yes ;;
5624esac
5625    STRIP=$ac_ct_STRIP
5626  fi
5627else
5628  STRIP="$ac_cv_prog_STRIP"
5629fi
5630
5631test -z "$STRIP" && STRIP=:
5632
5633
5634
5635
5636
5637
5638if test -n "$ac_tool_prefix"; then
5639  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5640set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642$as_echo_n "checking for $ac_word... " >&6; }
5643if ${ac_cv_prog_RANLIB+:} false; then :
5644  $as_echo_n "(cached) " >&6
5645else
5646  if test -n "$RANLIB"; then
5647  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5648else
5649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650for as_dir in $PATH
5651do
5652  IFS=$as_save_IFS
5653  test -z "$as_dir" && as_dir=.
5654    for ac_exec_ext in '' $ac_executable_extensions; do
5655  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658    break 2
5659  fi
5660done
5661  done
5662IFS=$as_save_IFS
5663
5664fi
5665fi
5666RANLIB=$ac_cv_prog_RANLIB
5667if test -n "$RANLIB"; then
5668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5669$as_echo "$RANLIB" >&6; }
5670else
5671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672$as_echo "no" >&6; }
5673fi
5674
5675
5676fi
5677if test -z "$ac_cv_prog_RANLIB"; then
5678  ac_ct_RANLIB=$RANLIB
5679  # Extract the first word of "ranlib", so it can be a program name with args.
5680set dummy ranlib; ac_word=$2
5681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682$as_echo_n "checking for $ac_word... " >&6; }
5683if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5684  $as_echo_n "(cached) " >&6
5685else
5686  if test -n "$ac_ct_RANLIB"; then
5687  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5688else
5689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690for as_dir in $PATH
5691do
5692  IFS=$as_save_IFS
5693  test -z "$as_dir" && as_dir=.
5694    for ac_exec_ext in '' $ac_executable_extensions; do
5695  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696    ac_cv_prog_ac_ct_RANLIB="ranlib"
5697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698    break 2
5699  fi
5700done
5701  done
5702IFS=$as_save_IFS
5703
5704fi
5705fi
5706ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5707if test -n "$ac_ct_RANLIB"; then
5708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5709$as_echo "$ac_ct_RANLIB" >&6; }
5710else
5711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712$as_echo "no" >&6; }
5713fi
5714
5715  if test "x$ac_ct_RANLIB" = x; then
5716    RANLIB=":"
5717  else
5718    case $cross_compiling:$ac_tool_warned in
5719yes:)
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722ac_tool_warned=yes ;;
5723esac
5724    RANLIB=$ac_ct_RANLIB
5725  fi
5726else
5727  RANLIB="$ac_cv_prog_RANLIB"
5728fi
5729
5730test -z "$RANLIB" && RANLIB=:
5731
5732
5733
5734
5735
5736
5737# Determine commands to create old-style static archives.
5738old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5739old_postinstall_cmds='chmod 644 $oldlib'
5740old_postuninstall_cmds=
5741
5742if test -n "$RANLIB"; then
5743  case $host_os in
5744  openbsd*)
5745    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5746    ;;
5747  *)
5748    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5749    ;;
5750  esac
5751  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5752fi
5753
5754case $host_os in
5755  darwin*)
5756    lock_old_archive_extraction=yes ;;
5757  *)
5758    lock_old_archive_extraction=no ;;
5759esac
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799# If no C compiler was specified, use CC.
5800LTCC=${LTCC-"$CC"}
5801
5802# If no C compiler flags were specified, use CFLAGS.
5803LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5804
5805# Allow CC to be a program name with arguments.
5806compiler=$CC
5807
5808
5809# Check for command to grab the raw symbol name followed by C symbol from nm.
5810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5811$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5812if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5813  $as_echo_n "(cached) " >&6
5814else
5815
5816# These are sane defaults that work on at least a few old systems.
5817# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5818
5819# Character class describing NM global symbol codes.
5820symcode='[BCDEGRST]'
5821
5822# Regexp to match symbols that can be accessed directly from C.
5823sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5824
5825# Define system-specific variables.
5826case $host_os in
5827aix*)
5828  symcode='[BCDT]'
5829  ;;
5830cygwin* | mingw* | pw32* | cegcc*)
5831  symcode='[ABCDGISTW]'
5832  ;;
5833hpux*)
5834  if test "$host_cpu" = ia64; then
5835    symcode='[ABCDEGRST]'
5836  fi
5837  ;;
5838irix* | nonstopux*)
5839  symcode='[BCDEGRST]'
5840  ;;
5841osf*)
5842  symcode='[BCDEGQRST]'
5843  ;;
5844solaris*)
5845  symcode='[BDRT]'
5846  ;;
5847sco3.2v5*)
5848  symcode='[DT]'
5849  ;;
5850sysv4.2uw2*)
5851  symcode='[DT]'
5852  ;;
5853sysv5* | sco5v6* | unixware* | OpenUNIX*)
5854  symcode='[ABDT]'
5855  ;;
5856sysv4)
5857  symcode='[DFNSTU]'
5858  ;;
5859esac
5860
5861# If we're using GNU nm, then use its standard symbol codes.
5862case `$NM -V 2>&1` in
5863*GNU* | *'with BFD'*)
5864  symcode='[ABCDGIRSTW]' ;;
5865esac
5866
5867# Transform an extracted symbol line into a proper C declaration.
5868# Some systems (esp. on ia64) link data and code symbols differently,
5869# so use this general approach.
5870lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5871
5872# Transform an extracted symbol line into symbol name and symbol address
5873lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5874lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5875
5876# Handle CRLF in mingw tool chain
5877opt_cr=
5878case $build_os in
5879mingw*)
5880  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5881  ;;
5882esac
5883
5884# Try without a prefix underscore, then with it.
5885for ac_symprfx in "" "_"; do
5886
5887  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5888  symxfrm="\\1 $ac_symprfx\\2 \\2"
5889
5890  # Write the raw and C identifiers.
5891  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5892    # Fake it for dumpbin and say T for any non-static function
5893    # and D for any global variable.
5894    # Also find C++ and __fastcall symbols from MSVC++,
5895    # which start with @ or ?.
5896    lt_cv_sys_global_symbol_pipe="$AWK '"\
5897"     {last_section=section; section=\$ 3};"\
5898"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5899"     \$ 0!~/External *\|/{next};"\
5900"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5901"     {if(hide[section]) next};"\
5902"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5903"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5904"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5905"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5906"     ' prfx=^$ac_symprfx"
5907  else
5908    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5909  fi
5910  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5911
5912  # Check to see that the pipe works correctly.
5913  pipe_works=no
5914
5915  rm -f conftest*
5916  cat > conftest.$ac_ext <<_LT_EOF
5917#ifdef __cplusplus
5918extern "C" {
5919#endif
5920char nm_test_var;
5921void nm_test_func(void);
5922void nm_test_func(void){}
5923#ifdef __cplusplus
5924}
5925#endif
5926int main(){nm_test_var='a';nm_test_func();return(0);}
5927_LT_EOF
5928
5929  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5930  (eval $ac_compile) 2>&5
5931  ac_status=$?
5932  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5933  test $ac_status = 0; }; then
5934    # Now try to grab the symbols.
5935    nlist=conftest.nm
5936    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5937  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5938  ac_status=$?
5939  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5940  test $ac_status = 0; } && test -s "$nlist"; then
5941      # Try sorting and uniquifying the output.
5942      if sort "$nlist" | uniq > "$nlist"T; then
5943	mv -f "$nlist"T "$nlist"
5944      else
5945	rm -f "$nlist"T
5946      fi
5947
5948      # Make sure that we snagged all the symbols we need.
5949      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5950	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5951	  cat <<_LT_EOF > conftest.$ac_ext
5952/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5953#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5954/* DATA imports from DLLs on WIN32 con't be const, because runtime
5955   relocations are performed -- see ld's documentation on pseudo-relocs.  */
5956# define LT_DLSYM_CONST
5957#elif defined(__osf__)
5958/* This system does not cope well with relocations in const data.  */
5959# define LT_DLSYM_CONST
5960#else
5961# define LT_DLSYM_CONST const
5962#endif
5963
5964#ifdef __cplusplus
5965extern "C" {
5966#endif
5967
5968_LT_EOF
5969	  # Now generate the symbol file.
5970	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5971
5972	  cat <<_LT_EOF >> conftest.$ac_ext
5973
5974/* The mapping between symbol names and symbols.  */
5975LT_DLSYM_CONST struct {
5976  const char *name;
5977  void       *address;
5978}
5979lt__PROGRAM__LTX_preloaded_symbols[] =
5980{
5981  { "@PROGRAM@", (void *) 0 },
5982_LT_EOF
5983	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5984	  cat <<\_LT_EOF >> conftest.$ac_ext
5985  {0, (void *) 0}
5986};
5987
5988/* This works around a problem in FreeBSD linker */
5989#ifdef FREEBSD_WORKAROUND
5990static const void *lt_preloaded_setup() {
5991  return lt__PROGRAM__LTX_preloaded_symbols;
5992}
5993#endif
5994
5995#ifdef __cplusplus
5996}
5997#endif
5998_LT_EOF
5999	  # Now try linking the two files.
6000	  mv conftest.$ac_objext conftstm.$ac_objext
6001	  lt_globsym_save_LIBS=$LIBS
6002	  lt_globsym_save_CFLAGS=$CFLAGS
6003	  LIBS="conftstm.$ac_objext"
6004	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6005	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6006  (eval $ac_link) 2>&5
6007  ac_status=$?
6008  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6009  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6010	    pipe_works=yes
6011	  fi
6012	  LIBS=$lt_globsym_save_LIBS
6013	  CFLAGS=$lt_globsym_save_CFLAGS
6014	else
6015	  echo "cannot find nm_test_func in $nlist" >&5
6016	fi
6017      else
6018	echo "cannot find nm_test_var in $nlist" >&5
6019      fi
6020    else
6021      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6022    fi
6023  else
6024    echo "$progname: failed program was:" >&5
6025    cat conftest.$ac_ext >&5
6026  fi
6027  rm -rf conftest* conftst*
6028
6029  # Do not use the global_symbol_pipe unless it works.
6030  if test "$pipe_works" = yes; then
6031    break
6032  else
6033    lt_cv_sys_global_symbol_pipe=
6034  fi
6035done
6036
6037fi
6038
6039if test -z "$lt_cv_sys_global_symbol_pipe"; then
6040  lt_cv_sys_global_symbol_to_cdecl=
6041fi
6042if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6044$as_echo "failed" >&6; }
6045else
6046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6047$as_echo "ok" >&6; }
6048fi
6049
6050# Response file support.
6051if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6052  nm_file_list_spec='@'
6053elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6054  nm_file_list_spec='@'
6055fi
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6084$as_echo_n "checking for sysroot... " >&6; }
6085
6086# Check whether --with-sysroot was given.
6087if test "${with_sysroot+set}" = set; then :
6088  withval=$with_sysroot;
6089else
6090  with_sysroot=no
6091fi
6092
6093
6094lt_sysroot=
6095case ${with_sysroot} in #(
6096 yes)
6097   if test "$GCC" = yes; then
6098     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6099   fi
6100   ;; #(
6101 /*)
6102   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6103   ;; #(
6104 no|'')
6105   ;; #(
6106 *)
6107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6108$as_echo "${with_sysroot}" >&6; }
6109   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6110   ;;
6111esac
6112
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6114$as_echo "${lt_sysroot:-no}" >&6; }
6115
6116
6117
6118
6119
6120# Check whether --enable-libtool-lock was given.
6121if test "${enable_libtool_lock+set}" = set; then :
6122  enableval=$enable_libtool_lock;
6123fi
6124
6125test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6126
6127# Some flags need to be propagated to the compiler or linker for good
6128# libtool support.
6129case $host in
6130ia64-*-hpux*)
6131  # Find out which ABI we are using.
6132  echo 'int i;' > conftest.$ac_ext
6133  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6134  (eval $ac_compile) 2>&5
6135  ac_status=$?
6136  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6137  test $ac_status = 0; }; then
6138    case `/usr/bin/file conftest.$ac_objext` in
6139      *ELF-32*)
6140	HPUX_IA64_MODE="32"
6141	;;
6142      *ELF-64*)
6143	HPUX_IA64_MODE="64"
6144	;;
6145    esac
6146  fi
6147  rm -rf conftest*
6148  ;;
6149*-*-irix6*)
6150  # Find out which ABI we are using.
6151  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6152  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6153  (eval $ac_compile) 2>&5
6154  ac_status=$?
6155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156  test $ac_status = 0; }; then
6157    if test "$lt_cv_prog_gnu_ld" = yes; then
6158      case `/usr/bin/file conftest.$ac_objext` in
6159	*32-bit*)
6160	  LD="${LD-ld} -melf32bsmip"
6161	  ;;
6162	*N32*)
6163	  LD="${LD-ld} -melf32bmipn32"
6164	  ;;
6165	*64-bit*)
6166	  LD="${LD-ld} -melf64bmip"
6167	;;
6168      esac
6169    else
6170      case `/usr/bin/file conftest.$ac_objext` in
6171	*32-bit*)
6172	  LD="${LD-ld} -32"
6173	  ;;
6174	*N32*)
6175	  LD="${LD-ld} -n32"
6176	  ;;
6177	*64-bit*)
6178	  LD="${LD-ld} -64"
6179	  ;;
6180      esac
6181    fi
6182  fi
6183  rm -rf conftest*
6184  ;;
6185
6186x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6187s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6188  # Find out which ABI we are using.
6189  echo 'int i;' > conftest.$ac_ext
6190  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6191  (eval $ac_compile) 2>&5
6192  ac_status=$?
6193  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6194  test $ac_status = 0; }; then
6195    case `/usr/bin/file conftest.o` in
6196      *32-bit*)
6197	case $host in
6198	  x86_64-*kfreebsd*-gnu)
6199	    LD="${LD-ld} -m elf_i386_fbsd"
6200	    ;;
6201	  x86_64-*linux*)
6202	    LD="${LD-ld} -m elf_i386"
6203	    ;;
6204	  ppc64-*linux*|powerpc64-*linux*)
6205	    LD="${LD-ld} -m elf32ppclinux"
6206	    ;;
6207	  s390x-*linux*)
6208	    LD="${LD-ld} -m elf_s390"
6209	    ;;
6210	  sparc64-*linux*)
6211	    LD="${LD-ld} -m elf32_sparc"
6212	    ;;
6213	esac
6214	;;
6215      *64-bit*)
6216	case $host in
6217	  x86_64-*kfreebsd*-gnu)
6218	    LD="${LD-ld} -m elf_x86_64_fbsd"
6219	    ;;
6220	  x86_64-*linux*)
6221	    LD="${LD-ld} -m elf_x86_64"
6222	    ;;
6223	  ppc*-*linux*|powerpc*-*linux*)
6224	    LD="${LD-ld} -m elf64ppc"
6225	    ;;
6226	  s390*-*linux*|s390*-*tpf*)
6227	    LD="${LD-ld} -m elf64_s390"
6228	    ;;
6229	  sparc*-*linux*)
6230	    LD="${LD-ld} -m elf64_sparc"
6231	    ;;
6232	esac
6233	;;
6234    esac
6235  fi
6236  rm -rf conftest*
6237  ;;
6238
6239*-*-sco3.2v5*)
6240  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6241  SAVE_CFLAGS="$CFLAGS"
6242  CFLAGS="$CFLAGS -belf"
6243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6244$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6245if ${lt_cv_cc_needs_belf+:} false; then :
6246  $as_echo_n "(cached) " >&6
6247else
6248  ac_ext=c
6249ac_cpp='$CPP $CPPFLAGS'
6250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6252ac_compiler_gnu=$ac_cv_c_compiler_gnu
6253
6254     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255/* end confdefs.h.  */
6256
6257int
6258main ()
6259{
6260
6261  ;
6262  return 0;
6263}
6264_ACEOF
6265if ac_fn_c_try_link "$LINENO"; then :
6266  lt_cv_cc_needs_belf=yes
6267else
6268  lt_cv_cc_needs_belf=no
6269fi
6270rm -f core conftest.err conftest.$ac_objext \
6271    conftest$ac_exeext conftest.$ac_ext
6272     ac_ext=c
6273ac_cpp='$CPP $CPPFLAGS'
6274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6276ac_compiler_gnu=$ac_cv_c_compiler_gnu
6277
6278fi
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6280$as_echo "$lt_cv_cc_needs_belf" >&6; }
6281  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6282    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6283    CFLAGS="$SAVE_CFLAGS"
6284  fi
6285  ;;
6286sparc*-*solaris*)
6287  # Find out which ABI we are using.
6288  echo 'int i;' > conftest.$ac_ext
6289  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6290  (eval $ac_compile) 2>&5
6291  ac_status=$?
6292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293  test $ac_status = 0; }; then
6294    case `/usr/bin/file conftest.o` in
6295    *64-bit*)
6296      case $lt_cv_prog_gnu_ld in
6297      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6298      *)
6299	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6300	  LD="${LD-ld} -64"
6301	fi
6302	;;
6303      esac
6304      ;;
6305    esac
6306  fi
6307  rm -rf conftest*
6308  ;;
6309esac
6310
6311need_locks="$enable_libtool_lock"
6312
6313if test -n "$ac_tool_prefix"; then
6314  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6315set dummy ${ac_tool_prefix}mt; ac_word=$2
6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317$as_echo_n "checking for $ac_word... " >&6; }
6318if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6319  $as_echo_n "(cached) " >&6
6320else
6321  if test -n "$MANIFEST_TOOL"; then
6322  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6323else
6324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325for as_dir in $PATH
6326do
6327  IFS=$as_save_IFS
6328  test -z "$as_dir" && as_dir=.
6329    for ac_exec_ext in '' $ac_executable_extensions; do
6330  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6332    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333    break 2
6334  fi
6335done
6336  done
6337IFS=$as_save_IFS
6338
6339fi
6340fi
6341MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6342if test -n "$MANIFEST_TOOL"; then
6343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6344$as_echo "$MANIFEST_TOOL" >&6; }
6345else
6346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347$as_echo "no" >&6; }
6348fi
6349
6350
6351fi
6352if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6353  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6354  # Extract the first word of "mt", so it can be a program name with args.
6355set dummy mt; ac_word=$2
6356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6357$as_echo_n "checking for $ac_word... " >&6; }
6358if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6359  $as_echo_n "(cached) " >&6
6360else
6361  if test -n "$ac_ct_MANIFEST_TOOL"; then
6362  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6363else
6364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365for as_dir in $PATH
6366do
6367  IFS=$as_save_IFS
6368  test -z "$as_dir" && as_dir=.
6369    for ac_exec_ext in '' $ac_executable_extensions; do
6370  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6372    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373    break 2
6374  fi
6375done
6376  done
6377IFS=$as_save_IFS
6378
6379fi
6380fi
6381ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6382if test -n "$ac_ct_MANIFEST_TOOL"; then
6383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6384$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6385else
6386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6387$as_echo "no" >&6; }
6388fi
6389
6390  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6391    MANIFEST_TOOL=":"
6392  else
6393    case $cross_compiling:$ac_tool_warned in
6394yes:)
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6396$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6397ac_tool_warned=yes ;;
6398esac
6399    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6400  fi
6401else
6402  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6403fi
6404
6405test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6407$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6408if ${lt_cv_path_mainfest_tool+:} false; then :
6409  $as_echo_n "(cached) " >&6
6410else
6411  lt_cv_path_mainfest_tool=no
6412  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6413  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6414  cat conftest.err >&5
6415  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6416    lt_cv_path_mainfest_tool=yes
6417  fi
6418  rm -f conftest*
6419fi
6420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6421$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6422if test "x$lt_cv_path_mainfest_tool" != xyes; then
6423  MANIFEST_TOOL=:
6424fi
6425
6426
6427
6428
6429
6430
6431  case $host_os in
6432    rhapsody* | darwin*)
6433    if test -n "$ac_tool_prefix"; then
6434  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6435set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437$as_echo_n "checking for $ac_word... " >&6; }
6438if ${ac_cv_prog_DSYMUTIL+:} false; then :
6439  $as_echo_n "(cached) " >&6
6440else
6441  if test -n "$DSYMUTIL"; then
6442  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6443else
6444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445for as_dir in $PATH
6446do
6447  IFS=$as_save_IFS
6448  test -z "$as_dir" && as_dir=.
6449    for ac_exec_ext in '' $ac_executable_extensions; do
6450  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6452    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453    break 2
6454  fi
6455done
6456  done
6457IFS=$as_save_IFS
6458
6459fi
6460fi
6461DSYMUTIL=$ac_cv_prog_DSYMUTIL
6462if test -n "$DSYMUTIL"; then
6463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6464$as_echo "$DSYMUTIL" >&6; }
6465else
6466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467$as_echo "no" >&6; }
6468fi
6469
6470
6471fi
6472if test -z "$ac_cv_prog_DSYMUTIL"; then
6473  ac_ct_DSYMUTIL=$DSYMUTIL
6474  # Extract the first word of "dsymutil", so it can be a program name with args.
6475set dummy dsymutil; ac_word=$2
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6477$as_echo_n "checking for $ac_word... " >&6; }
6478if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6479  $as_echo_n "(cached) " >&6
6480else
6481  if test -n "$ac_ct_DSYMUTIL"; then
6482  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6483else
6484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485for as_dir in $PATH
6486do
6487  IFS=$as_save_IFS
6488  test -z "$as_dir" && as_dir=.
6489    for ac_exec_ext in '' $ac_executable_extensions; do
6490  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6491    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493    break 2
6494  fi
6495done
6496  done
6497IFS=$as_save_IFS
6498
6499fi
6500fi
6501ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6502if test -n "$ac_ct_DSYMUTIL"; then
6503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6504$as_echo "$ac_ct_DSYMUTIL" >&6; }
6505else
6506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6507$as_echo "no" >&6; }
6508fi
6509
6510  if test "x$ac_ct_DSYMUTIL" = x; then
6511    DSYMUTIL=":"
6512  else
6513    case $cross_compiling:$ac_tool_warned in
6514yes:)
6515{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6516$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6517ac_tool_warned=yes ;;
6518esac
6519    DSYMUTIL=$ac_ct_DSYMUTIL
6520  fi
6521else
6522  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6523fi
6524
6525    if test -n "$ac_tool_prefix"; then
6526  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6527set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529$as_echo_n "checking for $ac_word... " >&6; }
6530if ${ac_cv_prog_NMEDIT+:} false; then :
6531  $as_echo_n "(cached) " >&6
6532else
6533  if test -n "$NMEDIT"; then
6534  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6535else
6536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537for as_dir in $PATH
6538do
6539  IFS=$as_save_IFS
6540  test -z "$as_dir" && as_dir=.
6541    for ac_exec_ext in '' $ac_executable_extensions; do
6542  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545    break 2
6546  fi
6547done
6548  done
6549IFS=$as_save_IFS
6550
6551fi
6552fi
6553NMEDIT=$ac_cv_prog_NMEDIT
6554if test -n "$NMEDIT"; then
6555  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6556$as_echo "$NMEDIT" >&6; }
6557else
6558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559$as_echo "no" >&6; }
6560fi
6561
6562
6563fi
6564if test -z "$ac_cv_prog_NMEDIT"; then
6565  ac_ct_NMEDIT=$NMEDIT
6566  # Extract the first word of "nmedit", so it can be a program name with args.
6567set dummy nmedit; ac_word=$2
6568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569$as_echo_n "checking for $ac_word... " >&6; }
6570if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6571  $as_echo_n "(cached) " >&6
6572else
6573  if test -n "$ac_ct_NMEDIT"; then
6574  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6575else
6576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577for as_dir in $PATH
6578do
6579  IFS=$as_save_IFS
6580  test -z "$as_dir" && as_dir=.
6581    for ac_exec_ext in '' $ac_executable_extensions; do
6582  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6583    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585    break 2
6586  fi
6587done
6588  done
6589IFS=$as_save_IFS
6590
6591fi
6592fi
6593ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6594if test -n "$ac_ct_NMEDIT"; then
6595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6596$as_echo "$ac_ct_NMEDIT" >&6; }
6597else
6598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599$as_echo "no" >&6; }
6600fi
6601
6602  if test "x$ac_ct_NMEDIT" = x; then
6603    NMEDIT=":"
6604  else
6605    case $cross_compiling:$ac_tool_warned in
6606yes:)
6607{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6608$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6609ac_tool_warned=yes ;;
6610esac
6611    NMEDIT=$ac_ct_NMEDIT
6612  fi
6613else
6614  NMEDIT="$ac_cv_prog_NMEDIT"
6615fi
6616
6617    if test -n "$ac_tool_prefix"; then
6618  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6619set dummy ${ac_tool_prefix}lipo; ac_word=$2
6620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621$as_echo_n "checking for $ac_word... " >&6; }
6622if ${ac_cv_prog_LIPO+:} false; then :
6623  $as_echo_n "(cached) " >&6
6624else
6625  if test -n "$LIPO"; then
6626  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6627else
6628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629for as_dir in $PATH
6630do
6631  IFS=$as_save_IFS
6632  test -z "$as_dir" && as_dir=.
6633    for ac_exec_ext in '' $ac_executable_extensions; do
6634  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637    break 2
6638  fi
6639done
6640  done
6641IFS=$as_save_IFS
6642
6643fi
6644fi
6645LIPO=$ac_cv_prog_LIPO
6646if test -n "$LIPO"; then
6647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6648$as_echo "$LIPO" >&6; }
6649else
6650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651$as_echo "no" >&6; }
6652fi
6653
6654
6655fi
6656if test -z "$ac_cv_prog_LIPO"; then
6657  ac_ct_LIPO=$LIPO
6658  # Extract the first word of "lipo", so it can be a program name with args.
6659set dummy lipo; ac_word=$2
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661$as_echo_n "checking for $ac_word... " >&6; }
6662if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6663  $as_echo_n "(cached) " >&6
6664else
6665  if test -n "$ac_ct_LIPO"; then
6666  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6667else
6668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669for as_dir in $PATH
6670do
6671  IFS=$as_save_IFS
6672  test -z "$as_dir" && as_dir=.
6673    for ac_exec_ext in '' $ac_executable_extensions; do
6674  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675    ac_cv_prog_ac_ct_LIPO="lipo"
6676    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677    break 2
6678  fi
6679done
6680  done
6681IFS=$as_save_IFS
6682
6683fi
6684fi
6685ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6686if test -n "$ac_ct_LIPO"; then
6687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6688$as_echo "$ac_ct_LIPO" >&6; }
6689else
6690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691$as_echo "no" >&6; }
6692fi
6693
6694  if test "x$ac_ct_LIPO" = x; then
6695    LIPO=":"
6696  else
6697    case $cross_compiling:$ac_tool_warned in
6698yes:)
6699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701ac_tool_warned=yes ;;
6702esac
6703    LIPO=$ac_ct_LIPO
6704  fi
6705else
6706  LIPO="$ac_cv_prog_LIPO"
6707fi
6708
6709    if test -n "$ac_tool_prefix"; then
6710  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6711set dummy ${ac_tool_prefix}otool; ac_word=$2
6712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713$as_echo_n "checking for $ac_word... " >&6; }
6714if ${ac_cv_prog_OTOOL+:} false; then :
6715  $as_echo_n "(cached) " >&6
6716else
6717  if test -n "$OTOOL"; then
6718  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6719else
6720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721for as_dir in $PATH
6722do
6723  IFS=$as_save_IFS
6724  test -z "$as_dir" && as_dir=.
6725    for ac_exec_ext in '' $ac_executable_extensions; do
6726  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6727    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729    break 2
6730  fi
6731done
6732  done
6733IFS=$as_save_IFS
6734
6735fi
6736fi
6737OTOOL=$ac_cv_prog_OTOOL
6738if test -n "$OTOOL"; then
6739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6740$as_echo "$OTOOL" >&6; }
6741else
6742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743$as_echo "no" >&6; }
6744fi
6745
6746
6747fi
6748if test -z "$ac_cv_prog_OTOOL"; then
6749  ac_ct_OTOOL=$OTOOL
6750  # Extract the first word of "otool", so it can be a program name with args.
6751set dummy otool; ac_word=$2
6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753$as_echo_n "checking for $ac_word... " >&6; }
6754if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6755  $as_echo_n "(cached) " >&6
6756else
6757  if test -n "$ac_ct_OTOOL"; then
6758  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6759else
6760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761for as_dir in $PATH
6762do
6763  IFS=$as_save_IFS
6764  test -z "$as_dir" && as_dir=.
6765    for ac_exec_ext in '' $ac_executable_extensions; do
6766  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6767    ac_cv_prog_ac_ct_OTOOL="otool"
6768    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769    break 2
6770  fi
6771done
6772  done
6773IFS=$as_save_IFS
6774
6775fi
6776fi
6777ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6778if test -n "$ac_ct_OTOOL"; then
6779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6780$as_echo "$ac_ct_OTOOL" >&6; }
6781else
6782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783$as_echo "no" >&6; }
6784fi
6785
6786  if test "x$ac_ct_OTOOL" = x; then
6787    OTOOL=":"
6788  else
6789    case $cross_compiling:$ac_tool_warned in
6790yes:)
6791{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793ac_tool_warned=yes ;;
6794esac
6795    OTOOL=$ac_ct_OTOOL
6796  fi
6797else
6798  OTOOL="$ac_cv_prog_OTOOL"
6799fi
6800
6801    if test -n "$ac_tool_prefix"; then
6802  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6803set dummy ${ac_tool_prefix}otool64; ac_word=$2
6804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805$as_echo_n "checking for $ac_word... " >&6; }
6806if ${ac_cv_prog_OTOOL64+:} false; then :
6807  $as_echo_n "(cached) " >&6
6808else
6809  if test -n "$OTOOL64"; then
6810  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6811else
6812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813for as_dir in $PATH
6814do
6815  IFS=$as_save_IFS
6816  test -z "$as_dir" && as_dir=.
6817    for ac_exec_ext in '' $ac_executable_extensions; do
6818  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6820    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821    break 2
6822  fi
6823done
6824  done
6825IFS=$as_save_IFS
6826
6827fi
6828fi
6829OTOOL64=$ac_cv_prog_OTOOL64
6830if test -n "$OTOOL64"; then
6831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6832$as_echo "$OTOOL64" >&6; }
6833else
6834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835$as_echo "no" >&6; }
6836fi
6837
6838
6839fi
6840if test -z "$ac_cv_prog_OTOOL64"; then
6841  ac_ct_OTOOL64=$OTOOL64
6842  # Extract the first word of "otool64", so it can be a program name with args.
6843set dummy otool64; ac_word=$2
6844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845$as_echo_n "checking for $ac_word... " >&6; }
6846if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6847  $as_echo_n "(cached) " >&6
6848else
6849  if test -n "$ac_ct_OTOOL64"; then
6850  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6851else
6852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853for as_dir in $PATH
6854do
6855  IFS=$as_save_IFS
6856  test -z "$as_dir" && as_dir=.
6857    for ac_exec_ext in '' $ac_executable_extensions; do
6858  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859    ac_cv_prog_ac_ct_OTOOL64="otool64"
6860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861    break 2
6862  fi
6863done
6864  done
6865IFS=$as_save_IFS
6866
6867fi
6868fi
6869ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6870if test -n "$ac_ct_OTOOL64"; then
6871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6872$as_echo "$ac_ct_OTOOL64" >&6; }
6873else
6874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875$as_echo "no" >&6; }
6876fi
6877
6878  if test "x$ac_ct_OTOOL64" = x; then
6879    OTOOL64=":"
6880  else
6881    case $cross_compiling:$ac_tool_warned in
6882yes:)
6883{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885ac_tool_warned=yes ;;
6886esac
6887    OTOOL64=$ac_ct_OTOOL64
6888  fi
6889else
6890  OTOOL64="$ac_cv_prog_OTOOL64"
6891fi
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6920$as_echo_n "checking for -single_module linker flag... " >&6; }
6921if ${lt_cv_apple_cc_single_mod+:} false; then :
6922  $as_echo_n "(cached) " >&6
6923else
6924  lt_cv_apple_cc_single_mod=no
6925      if test -z "${LT_MULTI_MODULE}"; then
6926	# By default we will add the -single_module flag. You can override
6927	# by either setting the environment variable LT_MULTI_MODULE
6928	# non-empty at configure time, or by adding -multi_module to the
6929	# link flags.
6930	rm -rf libconftest.dylib*
6931	echo "int foo(void){return 1;}" > conftest.c
6932	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6933-dynamiclib -Wl,-single_module conftest.c" >&5
6934	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6935	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6936        _lt_result=$?
6937	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6938	  lt_cv_apple_cc_single_mod=yes
6939	else
6940	  cat conftest.err >&5
6941	fi
6942	rm -rf libconftest.dylib*
6943	rm -f conftest.*
6944      fi
6945fi
6946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6947$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6948    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6949$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6950if ${lt_cv_ld_exported_symbols_list+:} false; then :
6951  $as_echo_n "(cached) " >&6
6952else
6953  lt_cv_ld_exported_symbols_list=no
6954      save_LDFLAGS=$LDFLAGS
6955      echo "_main" > conftest.sym
6956      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958/* end confdefs.h.  */
6959
6960int
6961main ()
6962{
6963
6964  ;
6965  return 0;
6966}
6967_ACEOF
6968if ac_fn_c_try_link "$LINENO"; then :
6969  lt_cv_ld_exported_symbols_list=yes
6970else
6971  lt_cv_ld_exported_symbols_list=no
6972fi
6973rm -f core conftest.err conftest.$ac_objext \
6974    conftest$ac_exeext conftest.$ac_ext
6975	LDFLAGS="$save_LDFLAGS"
6976
6977fi
6978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6979$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6980    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6981$as_echo_n "checking for -force_load linker flag... " >&6; }
6982if ${lt_cv_ld_force_load+:} false; then :
6983  $as_echo_n "(cached) " >&6
6984else
6985  lt_cv_ld_force_load=no
6986      cat > conftest.c << _LT_EOF
6987int forced_loaded() { return 2;}
6988_LT_EOF
6989      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6990      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6991      echo "$AR cru libconftest.a conftest.o" >&5
6992      $AR cru libconftest.a conftest.o 2>&5
6993      echo "$RANLIB libconftest.a" >&5
6994      $RANLIB libconftest.a 2>&5
6995      cat > conftest.c << _LT_EOF
6996int main() { return 0;}
6997_LT_EOF
6998      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6999      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7000      _lt_result=$?
7001      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7002	lt_cv_ld_force_load=yes
7003      else
7004	cat conftest.err >&5
7005      fi
7006        rm -f conftest.err libconftest.a conftest conftest.c
7007        rm -rf conftest.dSYM
7008
7009fi
7010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7011$as_echo "$lt_cv_ld_force_load" >&6; }
7012    case $host_os in
7013    rhapsody* | darwin1.[012])
7014      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7015    darwin1.*)
7016      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7017    darwin*) # darwin 5.x on
7018      # if running on 10.5 or later, the deployment target defaults
7019      # to the OS version, if on x86, and 10.4, the deployment
7020      # target defaults to 10.4. Don't you love it?
7021      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7022	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7023	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7024	10.[012]*)
7025	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7026	10.*)
7027	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7028      esac
7029    ;;
7030  esac
7031    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7032      _lt_dar_single_mod='$single_module'
7033    fi
7034    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7035      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7036    else
7037      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7038    fi
7039    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7040      _lt_dsymutil='~$DSYMUTIL $lib || :'
7041    else
7042      _lt_dsymutil=
7043    fi
7044    ;;
7045  esac
7046
7047ac_ext=c
7048ac_cpp='$CPP $CPPFLAGS'
7049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7051ac_compiler_gnu=$ac_cv_c_compiler_gnu
7052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7053$as_echo_n "checking how to run the C preprocessor... " >&6; }
7054# On Suns, sometimes $CPP names a directory.
7055if test -n "$CPP" && test -d "$CPP"; then
7056  CPP=
7057fi
7058if test -z "$CPP"; then
7059  if ${ac_cv_prog_CPP+:} false; then :
7060  $as_echo_n "(cached) " >&6
7061else
7062      # Double quotes because CPP needs to be expanded
7063    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7064    do
7065      ac_preproc_ok=false
7066for ac_c_preproc_warn_flag in '' yes
7067do
7068  # Use a header file that comes with gcc, so configuring glibc
7069  # with a fresh cross-compiler works.
7070  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7071  # <limits.h> exists even on freestanding compilers.
7072  # On the NeXT, cc -E runs the code through the compiler's parser,
7073  # not just through cpp. "Syntax error" is here to catch this case.
7074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075/* end confdefs.h.  */
7076#ifdef __STDC__
7077# include <limits.h>
7078#else
7079# include <assert.h>
7080#endif
7081		     Syntax error
7082_ACEOF
7083if ac_fn_c_try_cpp "$LINENO"; then :
7084
7085else
7086  # Broken: fails on valid input.
7087continue
7088fi
7089rm -f conftest.err conftest.i conftest.$ac_ext
7090
7091  # OK, works on sane cases.  Now check whether nonexistent headers
7092  # can be detected and how.
7093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094/* end confdefs.h.  */
7095#include <ac_nonexistent.h>
7096_ACEOF
7097if ac_fn_c_try_cpp "$LINENO"; then :
7098  # Broken: success on invalid input.
7099continue
7100else
7101  # Passes both tests.
7102ac_preproc_ok=:
7103break
7104fi
7105rm -f conftest.err conftest.i conftest.$ac_ext
7106
7107done
7108# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7109rm -f conftest.i conftest.err conftest.$ac_ext
7110if $ac_preproc_ok; then :
7111  break
7112fi
7113
7114    done
7115    ac_cv_prog_CPP=$CPP
7116
7117fi
7118  CPP=$ac_cv_prog_CPP
7119else
7120  ac_cv_prog_CPP=$CPP
7121fi
7122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7123$as_echo "$CPP" >&6; }
7124ac_preproc_ok=false
7125for ac_c_preproc_warn_flag in '' yes
7126do
7127  # Use a header file that comes with gcc, so configuring glibc
7128  # with a fresh cross-compiler works.
7129  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7130  # <limits.h> exists even on freestanding compilers.
7131  # On the NeXT, cc -E runs the code through the compiler's parser,
7132  # not just through cpp. "Syntax error" is here to catch this case.
7133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134/* end confdefs.h.  */
7135#ifdef __STDC__
7136# include <limits.h>
7137#else
7138# include <assert.h>
7139#endif
7140		     Syntax error
7141_ACEOF
7142if ac_fn_c_try_cpp "$LINENO"; then :
7143
7144else
7145  # Broken: fails on valid input.
7146continue
7147fi
7148rm -f conftest.err conftest.i conftest.$ac_ext
7149
7150  # OK, works on sane cases.  Now check whether nonexistent headers
7151  # can be detected and how.
7152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7153/* end confdefs.h.  */
7154#include <ac_nonexistent.h>
7155_ACEOF
7156if ac_fn_c_try_cpp "$LINENO"; then :
7157  # Broken: success on invalid input.
7158continue
7159else
7160  # Passes both tests.
7161ac_preproc_ok=:
7162break
7163fi
7164rm -f conftest.err conftest.i conftest.$ac_ext
7165
7166done
7167# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7168rm -f conftest.i conftest.err conftest.$ac_ext
7169if $ac_preproc_ok; then :
7170
7171else
7172  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7174as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7175See \`config.log' for more details" "$LINENO" 5; }
7176fi
7177
7178ac_ext=c
7179ac_cpp='$CPP $CPPFLAGS'
7180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7182ac_compiler_gnu=$ac_cv_c_compiler_gnu
7183
7184
7185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7186$as_echo_n "checking for ANSI C header files... " >&6; }
7187if ${ac_cv_header_stdc+:} false; then :
7188  $as_echo_n "(cached) " >&6
7189else
7190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191/* end confdefs.h.  */
7192#include <stdlib.h>
7193#include <stdarg.h>
7194#include <string.h>
7195#include <float.h>
7196
7197int
7198main ()
7199{
7200
7201  ;
7202  return 0;
7203}
7204_ACEOF
7205if ac_fn_c_try_compile "$LINENO"; then :
7206  ac_cv_header_stdc=yes
7207else
7208  ac_cv_header_stdc=no
7209fi
7210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7211
7212if test $ac_cv_header_stdc = yes; then
7213  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215/* end confdefs.h.  */
7216#include <string.h>
7217
7218_ACEOF
7219if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7220  $EGREP "memchr" >/dev/null 2>&1; then :
7221
7222else
7223  ac_cv_header_stdc=no
7224fi
7225rm -f conftest*
7226
7227fi
7228
7229if test $ac_cv_header_stdc = yes; then
7230  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7231  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232/* end confdefs.h.  */
7233#include <stdlib.h>
7234
7235_ACEOF
7236if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7237  $EGREP "free" >/dev/null 2>&1; then :
7238
7239else
7240  ac_cv_header_stdc=no
7241fi
7242rm -f conftest*
7243
7244fi
7245
7246if test $ac_cv_header_stdc = yes; then
7247  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7248  if test "$cross_compiling" = yes; then :
7249  :
7250else
7251  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7252/* end confdefs.h.  */
7253#include <ctype.h>
7254#include <stdlib.h>
7255#if ((' ' & 0x0FF) == 0x020)
7256# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7257# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7258#else
7259# define ISLOWER(c) \
7260		   (('a' <= (c) && (c) <= 'i') \
7261		     || ('j' <= (c) && (c) <= 'r') \
7262		     || ('s' <= (c) && (c) <= 'z'))
7263# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7264#endif
7265
7266#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7267int
7268main ()
7269{
7270  int i;
7271  for (i = 0; i < 256; i++)
7272    if (XOR (islower (i), ISLOWER (i))
7273	|| toupper (i) != TOUPPER (i))
7274      return 2;
7275  return 0;
7276}
7277_ACEOF
7278if ac_fn_c_try_run "$LINENO"; then :
7279
7280else
7281  ac_cv_header_stdc=no
7282fi
7283rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7284  conftest.$ac_objext conftest.beam conftest.$ac_ext
7285fi
7286
7287fi
7288fi
7289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7290$as_echo "$ac_cv_header_stdc" >&6; }
7291if test $ac_cv_header_stdc = yes; then
7292
7293$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7294
7295fi
7296
7297# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7298for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7299		  inttypes.h stdint.h unistd.h
7300do :
7301  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7302ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7303"
7304if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7305  cat >>confdefs.h <<_ACEOF
7306#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7307_ACEOF
7308
7309fi
7310
7311done
7312
7313
7314for ac_header in dlfcn.h
7315do :
7316  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7317"
7318if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7319  cat >>confdefs.h <<_ACEOF
7320#define HAVE_DLFCN_H 1
7321_ACEOF
7322
7323fi
7324
7325done
7326
7327
7328
7329
7330
7331# Set options
7332
7333
7334
7335
7336  enable_win32_dll=no
7337
7338
7339
7340
7341
7342# Check whether --with-pic was given.
7343if test "${with_pic+set}" = set; then :
7344  withval=$with_pic; pic_mode="$withval"
7345else
7346  pic_mode=default
7347fi
7348
7349
7350test -z "$pic_mode" && pic_mode=default
7351
7352
7353
7354
7355
7356
7357
7358  # Check whether --enable-fast-install was given.
7359if test "${enable_fast_install+set}" = set; then :
7360  enableval=$enable_fast_install; p=${PACKAGE-default}
7361    case $enableval in
7362    yes) enable_fast_install=yes ;;
7363    no) enable_fast_install=no ;;
7364    *)
7365      enable_fast_install=no
7366      # Look at the argument we got.  We use all the common list separators.
7367      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7368      for pkg in $enableval; do
7369	IFS="$lt_save_ifs"
7370	if test "X$pkg" = "X$p"; then
7371	  enable_fast_install=yes
7372	fi
7373      done
7374      IFS="$lt_save_ifs"
7375      ;;
7376    esac
7377else
7378  enable_fast_install=yes
7379fi
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391# This can be used to rebuild libtool when needed
7392LIBTOOL_DEPS="$ltmain"
7393
7394# Always use our own libtool.
7395LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422test -z "$LN_S" && LN_S="ln -s"
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437if test -n "${ZSH_VERSION+set}" ; then
7438   setopt NO_GLOB_SUBST
7439fi
7440
7441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7442$as_echo_n "checking for objdir... " >&6; }
7443if ${lt_cv_objdir+:} false; then :
7444  $as_echo_n "(cached) " >&6
7445else
7446  rm -f .libs 2>/dev/null
7447mkdir .libs 2>/dev/null
7448if test -d .libs; then
7449  lt_cv_objdir=.libs
7450else
7451  # MS-DOS does not allow filenames that begin with a dot.
7452  lt_cv_objdir=_libs
7453fi
7454rmdir .libs 2>/dev/null
7455fi
7456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7457$as_echo "$lt_cv_objdir" >&6; }
7458objdir=$lt_cv_objdir
7459
7460
7461
7462
7463
7464cat >>confdefs.h <<_ACEOF
7465#define LT_OBJDIR "$lt_cv_objdir/"
7466_ACEOF
7467
7468
7469
7470
7471case $host_os in
7472aix3*)
7473  # AIX sometimes has problems with the GCC collect2 program.  For some
7474  # reason, if we set the COLLECT_NAMES environment variable, the problems
7475  # vanish in a puff of smoke.
7476  if test "X${COLLECT_NAMES+set}" != Xset; then
7477    COLLECT_NAMES=
7478    export COLLECT_NAMES
7479  fi
7480  ;;
7481esac
7482
7483# Global variables:
7484ofile=libtool
7485can_build_shared=yes
7486
7487# All known linkers require a `.a' archive for static linking (except MSVC,
7488# which needs '.lib').
7489libext=a
7490
7491with_gnu_ld="$lt_cv_prog_gnu_ld"
7492
7493old_CC="$CC"
7494old_CFLAGS="$CFLAGS"
7495
7496# Set sane defaults for various variables
7497test -z "$CC" && CC=cc
7498test -z "$LTCC" && LTCC=$CC
7499test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7500test -z "$LD" && LD=ld
7501test -z "$ac_objext" && ac_objext=o
7502
7503for cc_temp in $compiler""; do
7504  case $cc_temp in
7505    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7506    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7507    \-*) ;;
7508    *) break;;
7509  esac
7510done
7511cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7512
7513
7514# Only perform the check for file, if the check method requires it
7515test -z "$MAGIC_CMD" && MAGIC_CMD=file
7516case $deplibs_check_method in
7517file_magic*)
7518  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7519    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7520$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7521if ${lt_cv_path_MAGIC_CMD+:} false; then :
7522  $as_echo_n "(cached) " >&6
7523else
7524  case $MAGIC_CMD in
7525[\\/*] |  ?:[\\/]*)
7526  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7527  ;;
7528*)
7529  lt_save_MAGIC_CMD="$MAGIC_CMD"
7530  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7531  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7532  for ac_dir in $ac_dummy; do
7533    IFS="$lt_save_ifs"
7534    test -z "$ac_dir" && ac_dir=.
7535    if test -f $ac_dir/${ac_tool_prefix}file; then
7536      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7537      if test -n "$file_magic_test_file"; then
7538	case $deplibs_check_method in
7539	"file_magic "*)
7540	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7541	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7542	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7543	    $EGREP "$file_magic_regex" > /dev/null; then
7544	    :
7545	  else
7546	    cat <<_LT_EOF 1>&2
7547
7548*** Warning: the command libtool uses to detect shared libraries,
7549*** $file_magic_cmd, produces output that libtool cannot recognize.
7550*** The result is that libtool may fail to recognize shared libraries
7551*** as such.  This will affect the creation of libtool libraries that
7552*** depend on shared libraries, but programs linked with such libtool
7553*** libraries will work regardless of this problem.  Nevertheless, you
7554*** may want to report the problem to your system manager and/or to
7555*** bug-libtool@gnu.org
7556
7557_LT_EOF
7558	  fi ;;
7559	esac
7560      fi
7561      break
7562    fi
7563  done
7564  IFS="$lt_save_ifs"
7565  MAGIC_CMD="$lt_save_MAGIC_CMD"
7566  ;;
7567esac
7568fi
7569
7570MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7571if test -n "$MAGIC_CMD"; then
7572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7573$as_echo "$MAGIC_CMD" >&6; }
7574else
7575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576$as_echo "no" >&6; }
7577fi
7578
7579
7580
7581
7582
7583if test -z "$lt_cv_path_MAGIC_CMD"; then
7584  if test -n "$ac_tool_prefix"; then
7585    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7586$as_echo_n "checking for file... " >&6; }
7587if ${lt_cv_path_MAGIC_CMD+:} false; then :
7588  $as_echo_n "(cached) " >&6
7589else
7590  case $MAGIC_CMD in
7591[\\/*] |  ?:[\\/]*)
7592  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7593  ;;
7594*)
7595  lt_save_MAGIC_CMD="$MAGIC_CMD"
7596  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7597  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7598  for ac_dir in $ac_dummy; do
7599    IFS="$lt_save_ifs"
7600    test -z "$ac_dir" && ac_dir=.
7601    if test -f $ac_dir/file; then
7602      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7603      if test -n "$file_magic_test_file"; then
7604	case $deplibs_check_method in
7605	"file_magic "*)
7606	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7607	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7608	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7609	    $EGREP "$file_magic_regex" > /dev/null; then
7610	    :
7611	  else
7612	    cat <<_LT_EOF 1>&2
7613
7614*** Warning: the command libtool uses to detect shared libraries,
7615*** $file_magic_cmd, produces output that libtool cannot recognize.
7616*** The result is that libtool may fail to recognize shared libraries
7617*** as such.  This will affect the creation of libtool libraries that
7618*** depend on shared libraries, but programs linked with such libtool
7619*** libraries will work regardless of this problem.  Nevertheless, you
7620*** may want to report the problem to your system manager and/or to
7621*** bug-libtool@gnu.org
7622
7623_LT_EOF
7624	  fi ;;
7625	esac
7626      fi
7627      break
7628    fi
7629  done
7630  IFS="$lt_save_ifs"
7631  MAGIC_CMD="$lt_save_MAGIC_CMD"
7632  ;;
7633esac
7634fi
7635
7636MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7637if test -n "$MAGIC_CMD"; then
7638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7639$as_echo "$MAGIC_CMD" >&6; }
7640else
7641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642$as_echo "no" >&6; }
7643fi
7644
7645
7646  else
7647    MAGIC_CMD=:
7648  fi
7649fi
7650
7651  fi
7652  ;;
7653esac
7654
7655# Use C for the default configuration in the libtool script
7656
7657lt_save_CC="$CC"
7658ac_ext=c
7659ac_cpp='$CPP $CPPFLAGS'
7660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7662ac_compiler_gnu=$ac_cv_c_compiler_gnu
7663
7664
7665# Source file extension for C test sources.
7666ac_ext=c
7667
7668# Object file extension for compiled C test sources.
7669objext=o
7670objext=$objext
7671
7672# Code to be used in simple compile tests
7673lt_simple_compile_test_code="int some_variable = 0;"
7674
7675# Code to be used in simple link tests
7676lt_simple_link_test_code='int main(){return(0);}'
7677
7678
7679
7680
7681
7682
7683
7684# If no C compiler was specified, use CC.
7685LTCC=${LTCC-"$CC"}
7686
7687# If no C compiler flags were specified, use CFLAGS.
7688LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7689
7690# Allow CC to be a program name with arguments.
7691compiler=$CC
7692
7693# Save the default compiler, since it gets overwritten when the other
7694# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7695compiler_DEFAULT=$CC
7696
7697# save warnings/boilerplate of simple test code
7698ac_outfile=conftest.$ac_objext
7699echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7700eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7701_lt_compiler_boilerplate=`cat conftest.err`
7702$RM conftest*
7703
7704ac_outfile=conftest.$ac_objext
7705echo "$lt_simple_link_test_code" >conftest.$ac_ext
7706eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7707_lt_linker_boilerplate=`cat conftest.err`
7708$RM -r conftest*
7709
7710
7711if test -n "$compiler"; then
7712
7713lt_prog_compiler_no_builtin_flag=
7714
7715if test "$GCC" = yes; then
7716  case $cc_basename in
7717  nvcc*)
7718    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7719  *)
7720    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7721  esac
7722
7723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7724$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7725if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7726  $as_echo_n "(cached) " >&6
7727else
7728  lt_cv_prog_compiler_rtti_exceptions=no
7729   ac_outfile=conftest.$ac_objext
7730   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7731   lt_compiler_flag="-fno-rtti -fno-exceptions"
7732   # Insert the option either (1) after the last *FLAGS variable, or
7733   # (2) before a word containing "conftest.", or (3) at the end.
7734   # Note that $ac_compile itself does not contain backslashes and begins
7735   # with a dollar sign (not a hyphen), so the echo should work correctly.
7736   # The option is referenced via a variable to avoid confusing sed.
7737   lt_compile=`echo "$ac_compile" | $SED \
7738   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7739   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7740   -e 's:$: $lt_compiler_flag:'`
7741   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7742   (eval "$lt_compile" 2>conftest.err)
7743   ac_status=$?
7744   cat conftest.err >&5
7745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746   if (exit $ac_status) && test -s "$ac_outfile"; then
7747     # The compiler can only warn and ignore the option if not recognized
7748     # So say no if there are warnings other than the usual output.
7749     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7750     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7751     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7752       lt_cv_prog_compiler_rtti_exceptions=yes
7753     fi
7754   fi
7755   $RM conftest*
7756
7757fi
7758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7759$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7760
7761if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7762    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7763else
7764    :
7765fi
7766
7767fi
7768
7769
7770
7771
7772
7773
7774  lt_prog_compiler_wl=
7775lt_prog_compiler_pic=
7776lt_prog_compiler_static=
7777
7778
7779  if test "$GCC" = yes; then
7780    lt_prog_compiler_wl='-Wl,'
7781    lt_prog_compiler_static='-static'
7782
7783    case $host_os in
7784      aix*)
7785      # All AIX code is PIC.
7786      if test "$host_cpu" = ia64; then
7787	# AIX 5 now supports IA64 processor
7788	lt_prog_compiler_static='-Bstatic'
7789      fi
7790      ;;
7791
7792    amigaos*)
7793      case $host_cpu in
7794      powerpc)
7795            # see comment about AmigaOS4 .so support
7796            lt_prog_compiler_pic='-fPIC'
7797        ;;
7798      m68k)
7799            # FIXME: we need at least 68020 code to build shared libraries, but
7800            # adding the `-m68020' flag to GCC prevents building anything better,
7801            # like `-m68040'.
7802            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7803        ;;
7804      esac
7805      ;;
7806
7807    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7808      # PIC is the default for these OSes.
7809      ;;
7810
7811    mingw* | cygwin* | pw32* | os2* | cegcc*)
7812      # This hack is so that the source file can tell whether it is being
7813      # built for inclusion in a dll (and should export symbols for example).
7814      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7815      # (--disable-auto-import) libraries
7816      lt_prog_compiler_pic='-DDLL_EXPORT'
7817      ;;
7818
7819    darwin* | rhapsody*)
7820      # PIC is the default on this platform
7821      # Common symbols not allowed in MH_DYLIB files
7822      lt_prog_compiler_pic='-fno-common'
7823      ;;
7824
7825    haiku*)
7826      # PIC is the default for Haiku.
7827      # The "-static" flag exists, but is broken.
7828      lt_prog_compiler_static=
7829      ;;
7830
7831    hpux*)
7832      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7833      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7834      # sets the default TLS model and affects inlining.
7835      case $host_cpu in
7836      hppa*64*)
7837	# +Z the default
7838	;;
7839      *)
7840	lt_prog_compiler_pic='-fPIC'
7841	;;
7842      esac
7843      ;;
7844
7845    interix[3-9]*)
7846      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7847      # Instead, we relocate shared libraries at runtime.
7848      ;;
7849
7850    msdosdjgpp*)
7851      # Just because we use GCC doesn't mean we suddenly get shared libraries
7852      # on systems that don't support them.
7853      lt_prog_compiler_can_build_shared=no
7854      enable_shared=no
7855      ;;
7856
7857    *nto* | *qnx*)
7858      # QNX uses GNU C++, but need to define -shared option too, otherwise
7859      # it will coredump.
7860      lt_prog_compiler_pic='-fPIC -shared'
7861      ;;
7862
7863    sysv4*MP*)
7864      if test -d /usr/nec; then
7865	lt_prog_compiler_pic=-Kconform_pic
7866      fi
7867      ;;
7868
7869    *)
7870      lt_prog_compiler_pic='-fPIC'
7871      ;;
7872    esac
7873
7874    case $cc_basename in
7875    nvcc*) # Cuda Compiler Driver 2.2
7876      lt_prog_compiler_wl='-Xlinker '
7877      lt_prog_compiler_pic='-Xcompiler -fPIC'
7878      ;;
7879    esac
7880  else
7881    # PORTME Check for flag to pass linker flags through the system compiler.
7882    case $host_os in
7883    aix*)
7884      lt_prog_compiler_wl='-Wl,'
7885      if test "$host_cpu" = ia64; then
7886	# AIX 5 now supports IA64 processor
7887	lt_prog_compiler_static='-Bstatic'
7888      else
7889	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7890      fi
7891      ;;
7892
7893    mingw* | cygwin* | pw32* | os2* | cegcc*)
7894      # This hack is so that the source file can tell whether it is being
7895      # built for inclusion in a dll (and should export symbols for example).
7896      lt_prog_compiler_pic='-DDLL_EXPORT'
7897      ;;
7898
7899    hpux9* | hpux10* | hpux11*)
7900      lt_prog_compiler_wl='-Wl,'
7901      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7902      # not for PA HP-UX.
7903      case $host_cpu in
7904      hppa*64*|ia64*)
7905	# +Z the default
7906	;;
7907      *)
7908	lt_prog_compiler_pic='+Z'
7909	;;
7910      esac
7911      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7912      lt_prog_compiler_static='${wl}-a ${wl}archive'
7913      ;;
7914
7915    irix5* | irix6* | nonstopux*)
7916      lt_prog_compiler_wl='-Wl,'
7917      # PIC (with -KPIC) is the default.
7918      lt_prog_compiler_static='-non_shared'
7919      ;;
7920
7921    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7922      case $cc_basename in
7923      # old Intel for x86_64 which still supported -KPIC.
7924      ecc*)
7925	lt_prog_compiler_wl='-Wl,'
7926	lt_prog_compiler_pic='-KPIC'
7927	lt_prog_compiler_static='-static'
7928        ;;
7929      # icc used to be incompatible with GCC.
7930      # ICC 10 doesn't accept -KPIC any more.
7931      icc* | ifort*)
7932	lt_prog_compiler_wl='-Wl,'
7933	lt_prog_compiler_pic='-fPIC'
7934	lt_prog_compiler_static='-static'
7935        ;;
7936      # Lahey Fortran 8.1.
7937      lf95*)
7938	lt_prog_compiler_wl='-Wl,'
7939	lt_prog_compiler_pic='--shared'
7940	lt_prog_compiler_static='--static'
7941	;;
7942      nagfor*)
7943	# NAG Fortran compiler
7944	lt_prog_compiler_wl='-Wl,-Wl,,'
7945	lt_prog_compiler_pic='-PIC'
7946	lt_prog_compiler_static='-Bstatic'
7947	;;
7948      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7949        # Portland Group compilers (*not* the Pentium gcc compiler,
7950	# which looks to be a dead project)
7951	lt_prog_compiler_wl='-Wl,'
7952	lt_prog_compiler_pic='-fpic'
7953	lt_prog_compiler_static='-Bstatic'
7954        ;;
7955      ccc*)
7956        lt_prog_compiler_wl='-Wl,'
7957        # All Alpha code is PIC.
7958        lt_prog_compiler_static='-non_shared'
7959        ;;
7960      xl* | bgxl* | bgf* | mpixl*)
7961	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7962	lt_prog_compiler_wl='-Wl,'
7963	lt_prog_compiler_pic='-qpic'
7964	lt_prog_compiler_static='-qstaticlink'
7965	;;
7966      *)
7967	case `$CC -V 2>&1 | sed 5q` in
7968	*Sun\ F* | *Sun*Fortran*)
7969	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7970	  lt_prog_compiler_pic='-KPIC'
7971	  lt_prog_compiler_static='-Bstatic'
7972	  lt_prog_compiler_wl=''
7973	  ;;
7974	*Sun\ C*)
7975	  # Sun C 5.9
7976	  lt_prog_compiler_pic='-KPIC'
7977	  lt_prog_compiler_static='-Bstatic'
7978	  lt_prog_compiler_wl='-Wl,'
7979	  ;;
7980	esac
7981	;;
7982      esac
7983      ;;
7984
7985    newsos6)
7986      lt_prog_compiler_pic='-KPIC'
7987      lt_prog_compiler_static='-Bstatic'
7988      ;;
7989
7990    *nto* | *qnx*)
7991      # QNX uses GNU C++, but need to define -shared option too, otherwise
7992      # it will coredump.
7993      lt_prog_compiler_pic='-fPIC -shared'
7994      ;;
7995
7996    osf3* | osf4* | osf5*)
7997      lt_prog_compiler_wl='-Wl,'
7998      # All OSF/1 code is PIC.
7999      lt_prog_compiler_static='-non_shared'
8000      ;;
8001
8002    rdos*)
8003      lt_prog_compiler_static='-non_shared'
8004      ;;
8005
8006    solaris*)
8007      lt_prog_compiler_pic='-KPIC'
8008      lt_prog_compiler_static='-Bstatic'
8009      case $cc_basename in
8010      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8011	lt_prog_compiler_wl='-Qoption ld ';;
8012      *)
8013	lt_prog_compiler_wl='-Wl,';;
8014      esac
8015      ;;
8016
8017    sunos4*)
8018      lt_prog_compiler_wl='-Qoption ld '
8019      lt_prog_compiler_pic='-PIC'
8020      lt_prog_compiler_static='-Bstatic'
8021      ;;
8022
8023    sysv4 | sysv4.2uw2* | sysv4.3*)
8024      lt_prog_compiler_wl='-Wl,'
8025      lt_prog_compiler_pic='-KPIC'
8026      lt_prog_compiler_static='-Bstatic'
8027      ;;
8028
8029    sysv4*MP*)
8030      if test -d /usr/nec ;then
8031	lt_prog_compiler_pic='-Kconform_pic'
8032	lt_prog_compiler_static='-Bstatic'
8033      fi
8034      ;;
8035
8036    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8037      lt_prog_compiler_wl='-Wl,'
8038      lt_prog_compiler_pic='-KPIC'
8039      lt_prog_compiler_static='-Bstatic'
8040      ;;
8041
8042    unicos*)
8043      lt_prog_compiler_wl='-Wl,'
8044      lt_prog_compiler_can_build_shared=no
8045      ;;
8046
8047    uts4*)
8048      lt_prog_compiler_pic='-pic'
8049      lt_prog_compiler_static='-Bstatic'
8050      ;;
8051
8052    *)
8053      lt_prog_compiler_can_build_shared=no
8054      ;;
8055    esac
8056  fi
8057
8058case $host_os in
8059  # For platforms which do not support PIC, -DPIC is meaningless:
8060  *djgpp*)
8061    lt_prog_compiler_pic=
8062    ;;
8063  *)
8064    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8065    ;;
8066esac
8067
8068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8069$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8070if ${lt_cv_prog_compiler_pic+:} false; then :
8071  $as_echo_n "(cached) " >&6
8072else
8073  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8074fi
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8076$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8077lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8078
8079#
8080# Check to make sure the PIC flag actually works.
8081#
8082if test -n "$lt_prog_compiler_pic"; then
8083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8084$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8085if ${lt_cv_prog_compiler_pic_works+:} false; then :
8086  $as_echo_n "(cached) " >&6
8087else
8088  lt_cv_prog_compiler_pic_works=no
8089   ac_outfile=conftest.$ac_objext
8090   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8091   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8092   # Insert the option either (1) after the last *FLAGS variable, or
8093   # (2) before a word containing "conftest.", or (3) at the end.
8094   # Note that $ac_compile itself does not contain backslashes and begins
8095   # with a dollar sign (not a hyphen), so the echo should work correctly.
8096   # The option is referenced via a variable to avoid confusing sed.
8097   lt_compile=`echo "$ac_compile" | $SED \
8098   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8099   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8100   -e 's:$: $lt_compiler_flag:'`
8101   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8102   (eval "$lt_compile" 2>conftest.err)
8103   ac_status=$?
8104   cat conftest.err >&5
8105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106   if (exit $ac_status) && test -s "$ac_outfile"; then
8107     # The compiler can only warn and ignore the option if not recognized
8108     # So say no if there are warnings other than the usual output.
8109     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8110     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8111     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8112       lt_cv_prog_compiler_pic_works=yes
8113     fi
8114   fi
8115   $RM conftest*
8116
8117fi
8118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8119$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8120
8121if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8122    case $lt_prog_compiler_pic in
8123     "" | " "*) ;;
8124     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8125     esac
8126else
8127    lt_prog_compiler_pic=
8128     lt_prog_compiler_can_build_shared=no
8129fi
8130
8131fi
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143#
8144# Check to make sure the static flag actually works.
8145#
8146wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8148$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8149if ${lt_cv_prog_compiler_static_works+:} false; then :
8150  $as_echo_n "(cached) " >&6
8151else
8152  lt_cv_prog_compiler_static_works=no
8153   save_LDFLAGS="$LDFLAGS"
8154   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8155   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8156   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8157     # The linker can only warn and ignore the option if not recognized
8158     # So say no if there are warnings
8159     if test -s conftest.err; then
8160       # Append any errors to the config.log.
8161       cat conftest.err 1>&5
8162       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8163       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8164       if diff conftest.exp conftest.er2 >/dev/null; then
8165         lt_cv_prog_compiler_static_works=yes
8166       fi
8167     else
8168       lt_cv_prog_compiler_static_works=yes
8169     fi
8170   fi
8171   $RM -r conftest*
8172   LDFLAGS="$save_LDFLAGS"
8173
8174fi
8175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8176$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8177
8178if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8179    :
8180else
8181    lt_prog_compiler_static=
8182fi
8183
8184
8185
8186
8187
8188
8189
8190  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8191$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8192if ${lt_cv_prog_compiler_c_o+:} false; then :
8193  $as_echo_n "(cached) " >&6
8194else
8195  lt_cv_prog_compiler_c_o=no
8196   $RM -r conftest 2>/dev/null
8197   mkdir conftest
8198   cd conftest
8199   mkdir out
8200   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8201
8202   lt_compiler_flag="-o out/conftest2.$ac_objext"
8203   # Insert the option either (1) after the last *FLAGS variable, or
8204   # (2) before a word containing "conftest.", or (3) at the end.
8205   # Note that $ac_compile itself does not contain backslashes and begins
8206   # with a dollar sign (not a hyphen), so the echo should work correctly.
8207   lt_compile=`echo "$ac_compile" | $SED \
8208   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8209   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8210   -e 's:$: $lt_compiler_flag:'`
8211   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8212   (eval "$lt_compile" 2>out/conftest.err)
8213   ac_status=$?
8214   cat out/conftest.err >&5
8215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8217   then
8218     # The compiler can only warn and ignore the option if not recognized
8219     # So say no if there are warnings
8220     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8221     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8222     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8223       lt_cv_prog_compiler_c_o=yes
8224     fi
8225   fi
8226   chmod u+w . 2>&5
8227   $RM conftest*
8228   # SGI C++ compiler will create directory out/ii_files/ for
8229   # template instantiation
8230   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8231   $RM out/* && rmdir out
8232   cd ..
8233   $RM -r conftest
8234   $RM conftest*
8235
8236fi
8237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8238$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8239
8240
8241
8242
8243
8244
8245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8246$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8247if ${lt_cv_prog_compiler_c_o+:} false; then :
8248  $as_echo_n "(cached) " >&6
8249else
8250  lt_cv_prog_compiler_c_o=no
8251   $RM -r conftest 2>/dev/null
8252   mkdir conftest
8253   cd conftest
8254   mkdir out
8255   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8256
8257   lt_compiler_flag="-o out/conftest2.$ac_objext"
8258   # Insert the option either (1) after the last *FLAGS variable, or
8259   # (2) before a word containing "conftest.", or (3) at the end.
8260   # Note that $ac_compile itself does not contain backslashes and begins
8261   # with a dollar sign (not a hyphen), so the echo should work correctly.
8262   lt_compile=`echo "$ac_compile" | $SED \
8263   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8264   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8265   -e 's:$: $lt_compiler_flag:'`
8266   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8267   (eval "$lt_compile" 2>out/conftest.err)
8268   ac_status=$?
8269   cat out/conftest.err >&5
8270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8272   then
8273     # The compiler can only warn and ignore the option if not recognized
8274     # So say no if there are warnings
8275     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8276     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8277     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8278       lt_cv_prog_compiler_c_o=yes
8279     fi
8280   fi
8281   chmod u+w . 2>&5
8282   $RM conftest*
8283   # SGI C++ compiler will create directory out/ii_files/ for
8284   # template instantiation
8285   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8286   $RM out/* && rmdir out
8287   cd ..
8288   $RM -r conftest
8289   $RM conftest*
8290
8291fi
8292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8293$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8294
8295
8296
8297
8298hard_links="nottested"
8299if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8300  # do not overwrite the value of need_locks provided by the user
8301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8302$as_echo_n "checking if we can lock with hard links... " >&6; }
8303  hard_links=yes
8304  $RM conftest*
8305  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8306  touch conftest.a
8307  ln conftest.a conftest.b 2>&5 || hard_links=no
8308  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8310$as_echo "$hard_links" >&6; }
8311  if test "$hard_links" = no; then
8312    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8313$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8314    need_locks=warn
8315  fi
8316else
8317  need_locks=no
8318fi
8319
8320
8321
8322
8323
8324
8325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8326$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8327
8328  runpath_var=
8329  allow_undefined_flag=
8330  always_export_symbols=no
8331  archive_cmds=
8332  archive_expsym_cmds=
8333  compiler_needs_object=no
8334  enable_shared_with_static_runtimes=no
8335  export_dynamic_flag_spec=
8336  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8337  hardcode_automatic=no
8338  hardcode_direct=no
8339  hardcode_direct_absolute=no
8340  hardcode_libdir_flag_spec=
8341  hardcode_libdir_flag_spec_ld=
8342  hardcode_libdir_separator=
8343  hardcode_minus_L=no
8344  hardcode_shlibpath_var=unsupported
8345  inherit_rpath=no
8346  link_all_deplibs=unknown
8347  module_cmds=
8348  module_expsym_cmds=
8349  old_archive_from_new_cmds=
8350  old_archive_from_expsyms_cmds=
8351  thread_safe_flag_spec=
8352  whole_archive_flag_spec=
8353  # include_expsyms should be a list of space-separated symbols to be *always*
8354  # included in the symbol list
8355  include_expsyms=
8356  # exclude_expsyms can be an extended regexp of symbols to exclude
8357  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8358  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8359  # as well as any symbol that contains `d'.
8360  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8361  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8362  # platforms (ab)use it in PIC code, but their linkers get confused if
8363  # the symbol is explicitly referenced.  Since portable code cannot
8364  # rely on this symbol name, it's probably fine to never include it in
8365  # preloaded symbol tables.
8366  # Exclude shared library initialization/finalization symbols.
8367  extract_expsyms_cmds=
8368
8369  case $host_os in
8370  cygwin* | mingw* | pw32* | cegcc*)
8371    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8372    # When not using gcc, we currently assume that we are using
8373    # Microsoft Visual C++.
8374    if test "$GCC" != yes; then
8375      with_gnu_ld=no
8376    fi
8377    ;;
8378  interix*)
8379    # we just hope/assume this is gcc and not c89 (= MSVC++)
8380    with_gnu_ld=yes
8381    ;;
8382  openbsd*)
8383    with_gnu_ld=no
8384    ;;
8385  esac
8386
8387  ld_shlibs=yes
8388
8389  # On some targets, GNU ld is compatible enough with the native linker
8390  # that we're better off using the native interface for both.
8391  lt_use_gnu_ld_interface=no
8392  if test "$with_gnu_ld" = yes; then
8393    case $host_os in
8394      aix*)
8395	# The AIX port of GNU ld has always aspired to compatibility
8396	# with the native linker.  However, as the warning in the GNU ld
8397	# block says, versions before 2.19.5* couldn't really create working
8398	# shared libraries, regardless of the interface used.
8399	case `$LD -v 2>&1` in
8400	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8401	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8402	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8403	  *)
8404	    lt_use_gnu_ld_interface=yes
8405	    ;;
8406	esac
8407	;;
8408      *)
8409	lt_use_gnu_ld_interface=yes
8410	;;
8411    esac
8412  fi
8413
8414  if test "$lt_use_gnu_ld_interface" = yes; then
8415    # If archive_cmds runs LD, not CC, wlarc should be empty
8416    wlarc='${wl}'
8417
8418    # Set some defaults for GNU ld with shared library support. These
8419    # are reset later if shared libraries are not supported. Putting them
8420    # here allows them to be overridden if necessary.
8421    runpath_var=LD_RUN_PATH
8422    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8423    export_dynamic_flag_spec='${wl}--export-dynamic'
8424    # ancient GNU ld didn't support --whole-archive et. al.
8425    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8426      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8427    else
8428      whole_archive_flag_spec=
8429    fi
8430    supports_anon_versioning=no
8431    case `$LD -v 2>&1` in
8432      *GNU\ gold*) supports_anon_versioning=yes ;;
8433      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8434      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8435      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8436      *\ 2.11.*) ;; # other 2.11 versions
8437      *) supports_anon_versioning=yes ;;
8438    esac
8439
8440    # See if GNU ld supports shared libraries.
8441    case $host_os in
8442    aix[3-9]*)
8443      # On AIX/PPC, the GNU linker is very broken
8444      if test "$host_cpu" != ia64; then
8445	ld_shlibs=no
8446	cat <<_LT_EOF 1>&2
8447
8448*** Warning: the GNU linker, at least up to release 2.19, is reported
8449*** to be unable to reliably create shared libraries on AIX.
8450*** Therefore, libtool is disabling shared libraries support.  If you
8451*** really care for shared libraries, you may want to install binutils
8452*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8453*** You will then need to restart the configuration process.
8454
8455_LT_EOF
8456      fi
8457      ;;
8458
8459    amigaos*)
8460      case $host_cpu in
8461      powerpc)
8462            # see comment about AmigaOS4 .so support
8463            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8464            archive_expsym_cmds=''
8465        ;;
8466      m68k)
8467            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)'
8468            hardcode_libdir_flag_spec='-L$libdir'
8469            hardcode_minus_L=yes
8470        ;;
8471      esac
8472      ;;
8473
8474    beos*)
8475      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8476	allow_undefined_flag=unsupported
8477	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8478	# support --undefined.  This deserves some investigation.  FIXME
8479	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8480      else
8481	ld_shlibs=no
8482      fi
8483      ;;
8484
8485    cygwin* | mingw* | pw32* | cegcc*)
8486      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8487      # as there is no search path for DLLs.
8488      hardcode_libdir_flag_spec='-L$libdir'
8489      export_dynamic_flag_spec='${wl}--export-all-symbols'
8490      allow_undefined_flag=unsupported
8491      always_export_symbols=no
8492      enable_shared_with_static_runtimes=yes
8493      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'
8494      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8495
8496      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8497        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8498	# If the export-symbols file already is a .def file (1st line
8499	# is EXPORTS), use it as is; otherwise, prepend...
8500	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8501	  cp $export_symbols $output_objdir/$soname.def;
8502	else
8503	  echo EXPORTS > $output_objdir/$soname.def;
8504	  cat $export_symbols >> $output_objdir/$soname.def;
8505	fi~
8506	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8507      else
8508	ld_shlibs=no
8509      fi
8510      ;;
8511
8512    haiku*)
8513      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8514      link_all_deplibs=yes
8515      ;;
8516
8517    interix[3-9]*)
8518      hardcode_direct=no
8519      hardcode_shlibpath_var=no
8520      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8521      export_dynamic_flag_spec='${wl}-E'
8522      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8523      # Instead, shared libraries are loaded at an image base (0x10000000 by
8524      # default) and relocated if they conflict, which is a slow very memory
8525      # consuming and fragmenting process.  To avoid this, we pick a random,
8526      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8527      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8528      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8529      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'
8530      ;;
8531
8532    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8533      tmp_diet=no
8534      if test "$host_os" = linux-dietlibc; then
8535	case $cc_basename in
8536	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8537	esac
8538      fi
8539      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8540	 && test "$tmp_diet" = no
8541      then
8542	tmp_addflag=' $pic_flag'
8543	tmp_sharedflag='-shared'
8544	case $cc_basename,$host_cpu in
8545        pgcc*)				# Portland Group C compiler
8546	  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'
8547	  tmp_addflag=' $pic_flag'
8548	  ;;
8549	pgf77* | pgf90* | pgf95* | pgfortran*)
8550					# Portland Group f77 and f90 compilers
8551	  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'
8552	  tmp_addflag=' $pic_flag -Mnomain' ;;
8553	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8554	  tmp_addflag=' -i_dynamic' ;;
8555	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8556	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8557	ifc* | ifort*)			# Intel Fortran compiler
8558	  tmp_addflag=' -nofor_main' ;;
8559	lf95*)				# Lahey Fortran 8.1
8560	  whole_archive_flag_spec=
8561	  tmp_sharedflag='--shared' ;;
8562	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8563	  tmp_sharedflag='-qmkshrobj'
8564	  tmp_addflag= ;;
8565	nvcc*)	# Cuda Compiler Driver 2.2
8566	  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'
8567	  compiler_needs_object=yes
8568	  ;;
8569	esac
8570	case `$CC -V 2>&1 | sed 5q` in
8571	*Sun\ C*)			# Sun C 5.9
8572	  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'
8573	  compiler_needs_object=yes
8574	  tmp_sharedflag='-G' ;;
8575	*Sun\ F*)			# Sun Fortran 8.3
8576	  tmp_sharedflag='-G' ;;
8577	esac
8578	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8579
8580        if test "x$supports_anon_versioning" = xyes; then
8581          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8582	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8583	    echo "local: *; };" >> $output_objdir/$libname.ver~
8584	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8585        fi
8586
8587	case $cc_basename in
8588	xlf* | bgf* | bgxlf* | mpixlf*)
8589	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8590	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8591	  hardcode_libdir_flag_spec=
8592	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8593	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8594	  if test "x$supports_anon_versioning" = xyes; then
8595	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8596	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8597	      echo "local: *; };" >> $output_objdir/$libname.ver~
8598	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8599	  fi
8600	  ;;
8601	esac
8602      else
8603        ld_shlibs=no
8604      fi
8605      ;;
8606
8607    netbsd*)
8608      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8609	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8610	wlarc=
8611      else
8612	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8613	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8614      fi
8615      ;;
8616
8617    solaris*)
8618      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8619	ld_shlibs=no
8620	cat <<_LT_EOF 1>&2
8621
8622*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8623*** create shared libraries on Solaris systems.  Therefore, libtool
8624*** is disabling shared libraries support.  We urge you to upgrade GNU
8625*** binutils to release 2.9.1 or newer.  Another option is to modify
8626*** your PATH or compiler configuration so that the native linker is
8627*** used, and then restart.
8628
8629_LT_EOF
8630      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8631	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8632	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8633      else
8634	ld_shlibs=no
8635      fi
8636      ;;
8637
8638    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8639      case `$LD -v 2>&1` in
8640        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8641	ld_shlibs=no
8642	cat <<_LT_EOF 1>&2
8643
8644*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8645*** reliably create shared libraries on SCO systems.  Therefore, libtool
8646*** is disabling shared libraries support.  We urge you to upgrade GNU
8647*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8648*** your PATH or compiler configuration so that the native linker is
8649*** used, and then restart.
8650
8651_LT_EOF
8652	;;
8653	*)
8654	  # For security reasons, it is highly recommended that you always
8655	  # use absolute paths for naming shared libraries, and exclude the
8656	  # DT_RUNPATH tag from executables and libraries.  But doing so
8657	  # requires that you compile everything twice, which is a pain.
8658	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8659	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8660	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8661	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8662	  else
8663	    ld_shlibs=no
8664	  fi
8665	;;
8666      esac
8667      ;;
8668
8669    sunos4*)
8670      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8671      wlarc=
8672      hardcode_direct=yes
8673      hardcode_shlibpath_var=no
8674      ;;
8675
8676    *)
8677      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8678	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8679	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8680      else
8681	ld_shlibs=no
8682      fi
8683      ;;
8684    esac
8685
8686    if test "$ld_shlibs" = no; then
8687      runpath_var=
8688      hardcode_libdir_flag_spec=
8689      export_dynamic_flag_spec=
8690      whole_archive_flag_spec=
8691    fi
8692  else
8693    # PORTME fill in a description of your system's linker (not GNU ld)
8694    case $host_os in
8695    aix3*)
8696      allow_undefined_flag=unsupported
8697      always_export_symbols=yes
8698      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'
8699      # Note: this linker hardcodes the directories in LIBPATH if there
8700      # are no directories specified by -L.
8701      hardcode_minus_L=yes
8702      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8703	# Neither direct hardcoding nor static linking is supported with a
8704	# broken collect2.
8705	hardcode_direct=unsupported
8706      fi
8707      ;;
8708
8709    aix[4-9]*)
8710      if test "$host_cpu" = ia64; then
8711	# On IA64, the linker does run time linking by default, so we don't
8712	# have to do anything special.
8713	aix_use_runtimelinking=no
8714	exp_sym_flag='-Bexport'
8715	no_entry_flag=""
8716      else
8717	# If we're using GNU nm, then we don't want the "-C" option.
8718	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8719	# Also, AIX nm treats weak defined symbols like other global
8720	# defined symbols, whereas GNU nm marks them as "W".
8721	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8722	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8723	else
8724	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8725	fi
8726	aix_use_runtimelinking=no
8727
8728	# Test if we are trying to use run time linking or normal
8729	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8730	# need to do runtime linking.
8731	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8732	  for ld_flag in $LDFLAGS; do
8733	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8734	    aix_use_runtimelinking=yes
8735	    break
8736	  fi
8737	  done
8738	  ;;
8739	esac
8740
8741	exp_sym_flag='-bexport'
8742	no_entry_flag='-bnoentry'
8743      fi
8744
8745      # When large executables or shared objects are built, AIX ld can
8746      # have problems creating the table of contents.  If linking a library
8747      # or program results in "error TOC overflow" add -mminimal-toc to
8748      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8749      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8750
8751      archive_cmds=''
8752      hardcode_direct=yes
8753      hardcode_direct_absolute=yes
8754      hardcode_libdir_separator=':'
8755      link_all_deplibs=yes
8756      file_list_spec='${wl}-f,'
8757
8758      if test "$GCC" = yes; then
8759	case $host_os in aix4.[012]|aix4.[012].*)
8760	# We only want to do this on AIX 4.2 and lower, the check
8761	# below for broken collect2 doesn't work under 4.3+
8762	  collect2name=`${CC} -print-prog-name=collect2`
8763	  if test -f "$collect2name" &&
8764	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8765	  then
8766	  # We have reworked collect2
8767	  :
8768	  else
8769	  # We have old collect2
8770	  hardcode_direct=unsupported
8771	  # It fails to find uninstalled libraries when the uninstalled
8772	  # path is not listed in the libpath.  Setting hardcode_minus_L
8773	  # to unsupported forces relinking
8774	  hardcode_minus_L=yes
8775	  hardcode_libdir_flag_spec='-L$libdir'
8776	  hardcode_libdir_separator=
8777	  fi
8778	  ;;
8779	esac
8780	shared_flag='-shared'
8781	if test "$aix_use_runtimelinking" = yes; then
8782	  shared_flag="$shared_flag "'${wl}-G'
8783	fi
8784      else
8785	# not using gcc
8786	if test "$host_cpu" = ia64; then
8787	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8788	# chokes on -Wl,-G. The following line is correct:
8789	  shared_flag='-G'
8790	else
8791	  if test "$aix_use_runtimelinking" = yes; then
8792	    shared_flag='${wl}-G'
8793	  else
8794	    shared_flag='${wl}-bM:SRE'
8795	  fi
8796	fi
8797      fi
8798
8799      export_dynamic_flag_spec='${wl}-bexpall'
8800      # It seems that -bexpall does not export symbols beginning with
8801      # underscore (_), so it is better to generate a list of symbols to export.
8802      always_export_symbols=yes
8803      if test "$aix_use_runtimelinking" = yes; then
8804	# Warning - without using the other runtime loading flags (-brtl),
8805	# -berok will link without error, but may produce a broken library.
8806	allow_undefined_flag='-berok'
8807        # Determine the default libpath from the value encoded in an
8808        # empty executable.
8809        if test "${lt_cv_aix_libpath+set}" = set; then
8810  aix_libpath=$lt_cv_aix_libpath
8811else
8812  if ${lt_cv_aix_libpath_+:} false; then :
8813  $as_echo_n "(cached) " >&6
8814else
8815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816/* end confdefs.h.  */
8817
8818int
8819main ()
8820{
8821
8822  ;
8823  return 0;
8824}
8825_ACEOF
8826if ac_fn_c_try_link "$LINENO"; then :
8827
8828  lt_aix_libpath_sed='
8829      /Import File Strings/,/^$/ {
8830	  /^0/ {
8831	      s/^0  *\([^ ]*\) *$/\1/
8832	      p
8833	  }
8834      }'
8835  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8836  # Check for a 64-bit object if we didn't find anything.
8837  if test -z "$lt_cv_aix_libpath_"; then
8838    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8839  fi
8840fi
8841rm -f core conftest.err conftest.$ac_objext \
8842    conftest$ac_exeext conftest.$ac_ext
8843  if test -z "$lt_cv_aix_libpath_"; then
8844    lt_cv_aix_libpath_="/usr/lib:/lib"
8845  fi
8846
8847fi
8848
8849  aix_libpath=$lt_cv_aix_libpath_
8850fi
8851
8852        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8853        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8854      else
8855	if test "$host_cpu" = ia64; then
8856	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8857	  allow_undefined_flag="-z nodefs"
8858	  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"
8859	else
8860	 # Determine the default libpath from the value encoded in an
8861	 # empty executable.
8862	 if test "${lt_cv_aix_libpath+set}" = set; then
8863  aix_libpath=$lt_cv_aix_libpath
8864else
8865  if ${lt_cv_aix_libpath_+:} false; then :
8866  $as_echo_n "(cached) " >&6
8867else
8868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869/* end confdefs.h.  */
8870
8871int
8872main ()
8873{
8874
8875  ;
8876  return 0;
8877}
8878_ACEOF
8879if ac_fn_c_try_link "$LINENO"; then :
8880
8881  lt_aix_libpath_sed='
8882      /Import File Strings/,/^$/ {
8883	  /^0/ {
8884	      s/^0  *\([^ ]*\) *$/\1/
8885	      p
8886	  }
8887      }'
8888  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8889  # Check for a 64-bit object if we didn't find anything.
8890  if test -z "$lt_cv_aix_libpath_"; then
8891    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8892  fi
8893fi
8894rm -f core conftest.err conftest.$ac_objext \
8895    conftest$ac_exeext conftest.$ac_ext
8896  if test -z "$lt_cv_aix_libpath_"; then
8897    lt_cv_aix_libpath_="/usr/lib:/lib"
8898  fi
8899
8900fi
8901
8902  aix_libpath=$lt_cv_aix_libpath_
8903fi
8904
8905	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8906	  # Warning - without using the other run time loading flags,
8907	  # -berok will link without error, but may produce a broken library.
8908	  no_undefined_flag=' ${wl}-bernotok'
8909	  allow_undefined_flag=' ${wl}-berok'
8910	  if test "$with_gnu_ld" = yes; then
8911	    # We only use this code for GNU lds that support --whole-archive.
8912	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8913	  else
8914	    # Exported symbols can be pulled into shared objects from archives
8915	    whole_archive_flag_spec='$convenience'
8916	  fi
8917	  archive_cmds_need_lc=yes
8918	  # This is similar to how AIX traditionally builds its shared libraries.
8919	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8920	fi
8921      fi
8922      ;;
8923
8924    amigaos*)
8925      case $host_cpu in
8926      powerpc)
8927            # see comment about AmigaOS4 .so support
8928            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929            archive_expsym_cmds=''
8930        ;;
8931      m68k)
8932            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)'
8933            hardcode_libdir_flag_spec='-L$libdir'
8934            hardcode_minus_L=yes
8935        ;;
8936      esac
8937      ;;
8938
8939    bsdi[45]*)
8940      export_dynamic_flag_spec=-rdynamic
8941      ;;
8942
8943    cygwin* | mingw* | pw32* | cegcc*)
8944      # When not using gcc, we currently assume that we are using
8945      # Microsoft Visual C++.
8946      # hardcode_libdir_flag_spec is actually meaningless, as there is
8947      # no search path for DLLs.
8948      case $cc_basename in
8949      cl*)
8950	# Native MSVC
8951	hardcode_libdir_flag_spec=' '
8952	allow_undefined_flag=unsupported
8953	always_export_symbols=yes
8954	file_list_spec='@'
8955	# Tell ltmain to make .lib files, not .a files.
8956	libext=lib
8957	# Tell ltmain to make .dll files, not .so files.
8958	shrext_cmds=".dll"
8959	# FIXME: Setting linknames here is a bad hack.
8960	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8961	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8962	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8963	  else
8964	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8965	  fi~
8966	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8967	  linknames='
8968	# The linker will not automatically build a static lib if we build a DLL.
8969	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8970	enable_shared_with_static_runtimes=yes
8971	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8972	# Don't use ranlib
8973	old_postinstall_cmds='chmod 644 $oldlib'
8974	postlink_cmds='lt_outputfile="@OUTPUT@"~
8975	  lt_tool_outputfile="@TOOL_OUTPUT@"~
8976	  case $lt_outputfile in
8977	    *.exe|*.EXE) ;;
8978	    *)
8979	      lt_outputfile="$lt_outputfile.exe"
8980	      lt_tool_outputfile="$lt_tool_outputfile.exe"
8981	      ;;
8982	  esac~
8983	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8984	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8985	    $RM "$lt_outputfile.manifest";
8986	  fi'
8987	;;
8988      *)
8989	# Assume MSVC wrapper
8990	hardcode_libdir_flag_spec=' '
8991	allow_undefined_flag=unsupported
8992	# Tell ltmain to make .lib files, not .a files.
8993	libext=lib
8994	# Tell ltmain to make .dll files, not .so files.
8995	shrext_cmds=".dll"
8996	# FIXME: Setting linknames here is a bad hack.
8997	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8998	# The linker will automatically build a .lib file if we build a DLL.
8999	old_archive_from_new_cmds='true'
9000	# FIXME: Should let the user specify the lib program.
9001	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9002	enable_shared_with_static_runtimes=yes
9003	;;
9004      esac
9005      ;;
9006
9007    darwin* | rhapsody*)
9008
9009
9010  archive_cmds_need_lc=no
9011  hardcode_direct=no
9012  hardcode_automatic=yes
9013  hardcode_shlibpath_var=unsupported
9014  if test "$lt_cv_ld_force_load" = "yes"; then
9015    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\"`'
9016  else
9017    whole_archive_flag_spec=''
9018  fi
9019  link_all_deplibs=yes
9020  allow_undefined_flag="$_lt_dar_allow_undefined"
9021  case $cc_basename in
9022     ifort*) _lt_dar_can_shared=yes ;;
9023     *) _lt_dar_can_shared=$GCC ;;
9024  esac
9025  if test "$_lt_dar_can_shared" = "yes"; then
9026    output_verbose_link_cmd=func_echo_all
9027    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9028    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9029    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}"
9030    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}"
9031
9032  else
9033  ld_shlibs=no
9034  fi
9035
9036      ;;
9037
9038    dgux*)
9039      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9040      hardcode_libdir_flag_spec='-L$libdir'
9041      hardcode_shlibpath_var=no
9042      ;;
9043
9044    freebsd1*)
9045      ld_shlibs=no
9046      ;;
9047
9048    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9049    # support.  Future versions do this automatically, but an explicit c++rt0.o
9050    # does not break anything, and helps significantly (at the cost of a little
9051    # extra space).
9052    freebsd2.2*)
9053      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9054      hardcode_libdir_flag_spec='-R$libdir'
9055      hardcode_direct=yes
9056      hardcode_shlibpath_var=no
9057      ;;
9058
9059    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9060    freebsd2*)
9061      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9062      hardcode_direct=yes
9063      hardcode_minus_L=yes
9064      hardcode_shlibpath_var=no
9065      ;;
9066
9067    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9068    freebsd* | dragonfly*)
9069      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9070      hardcode_libdir_flag_spec='-R$libdir'
9071      hardcode_direct=yes
9072      hardcode_shlibpath_var=no
9073      ;;
9074
9075    hpux9*)
9076      if test "$GCC" = yes; then
9077	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9078      else
9079	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9080      fi
9081      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9082      hardcode_libdir_separator=:
9083      hardcode_direct=yes
9084
9085      # hardcode_minus_L: Not really in the search PATH,
9086      # but as the default location of the library.
9087      hardcode_minus_L=yes
9088      export_dynamic_flag_spec='${wl}-E'
9089      ;;
9090
9091    hpux10*)
9092      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9093	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9094      else
9095	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9096      fi
9097      if test "$with_gnu_ld" = no; then
9098	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9099	hardcode_libdir_flag_spec_ld='+b $libdir'
9100	hardcode_libdir_separator=:
9101	hardcode_direct=yes
9102	hardcode_direct_absolute=yes
9103	export_dynamic_flag_spec='${wl}-E'
9104	# hardcode_minus_L: Not really in the search PATH,
9105	# but as the default location of the library.
9106	hardcode_minus_L=yes
9107      fi
9108      ;;
9109
9110    hpux11*)
9111      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9112	case $host_cpu in
9113	hppa*64*)
9114	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9115	  ;;
9116	ia64*)
9117	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9118	  ;;
9119	*)
9120	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9121	  ;;
9122	esac
9123      else
9124	case $host_cpu in
9125	hppa*64*)
9126	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9127	  ;;
9128	ia64*)
9129	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9130	  ;;
9131	*)
9132
9133	  # Older versions of the 11.00 compiler do not understand -b yet
9134	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9135	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9136$as_echo_n "checking if $CC understands -b... " >&6; }
9137if ${lt_cv_prog_compiler__b+:} false; then :
9138  $as_echo_n "(cached) " >&6
9139else
9140  lt_cv_prog_compiler__b=no
9141   save_LDFLAGS="$LDFLAGS"
9142   LDFLAGS="$LDFLAGS -b"
9143   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9144   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9145     # The linker can only warn and ignore the option if not recognized
9146     # So say no if there are warnings
9147     if test -s conftest.err; then
9148       # Append any errors to the config.log.
9149       cat conftest.err 1>&5
9150       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9151       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9152       if diff conftest.exp conftest.er2 >/dev/null; then
9153         lt_cv_prog_compiler__b=yes
9154       fi
9155     else
9156       lt_cv_prog_compiler__b=yes
9157     fi
9158   fi
9159   $RM -r conftest*
9160   LDFLAGS="$save_LDFLAGS"
9161
9162fi
9163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9164$as_echo "$lt_cv_prog_compiler__b" >&6; }
9165
9166if test x"$lt_cv_prog_compiler__b" = xyes; then
9167    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9168else
9169    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9170fi
9171
9172	  ;;
9173	esac
9174      fi
9175      if test "$with_gnu_ld" = no; then
9176	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9177	hardcode_libdir_separator=:
9178
9179	case $host_cpu in
9180	hppa*64*|ia64*)
9181	  hardcode_direct=no
9182	  hardcode_shlibpath_var=no
9183	  ;;
9184	*)
9185	  hardcode_direct=yes
9186	  hardcode_direct_absolute=yes
9187	  export_dynamic_flag_spec='${wl}-E'
9188
9189	  # hardcode_minus_L: Not really in the search PATH,
9190	  # but as the default location of the library.
9191	  hardcode_minus_L=yes
9192	  ;;
9193	esac
9194      fi
9195      ;;
9196
9197    irix5* | irix6* | nonstopux*)
9198      if test "$GCC" = yes; then
9199	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'
9200	# Try to use the -exported_symbol ld option, if it does not
9201	# work, assume that -exports_file does not work either and
9202	# implicitly export all symbols.
9203	# This should be the same for all languages, so no per-tag cache variable.
9204	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9205$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9206if ${lt_cv_irix_exported_symbol+:} false; then :
9207  $as_echo_n "(cached) " >&6
9208else
9209  save_LDFLAGS="$LDFLAGS"
9210	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9211	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212/* end confdefs.h.  */
9213int foo (void) { return 0; }
9214_ACEOF
9215if ac_fn_c_try_link "$LINENO"; then :
9216  lt_cv_irix_exported_symbol=yes
9217else
9218  lt_cv_irix_exported_symbol=no
9219fi
9220rm -f core conftest.err conftest.$ac_objext \
9221    conftest$ac_exeext conftest.$ac_ext
9222           LDFLAGS="$save_LDFLAGS"
9223fi
9224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9225$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9226	if test "$lt_cv_irix_exported_symbol" = yes; then
9227          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'
9228	fi
9229      else
9230	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'
9231	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'
9232      fi
9233      archive_cmds_need_lc='no'
9234      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9235      hardcode_libdir_separator=:
9236      inherit_rpath=yes
9237      link_all_deplibs=yes
9238      ;;
9239
9240    netbsd*)
9241      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9242	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9243      else
9244	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9245      fi
9246      hardcode_libdir_flag_spec='-R$libdir'
9247      hardcode_direct=yes
9248      hardcode_shlibpath_var=no
9249      ;;
9250
9251    newsos6)
9252      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9253      hardcode_direct=yes
9254      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255      hardcode_libdir_separator=:
9256      hardcode_shlibpath_var=no
9257      ;;
9258
9259    *nto* | *qnx*)
9260      ;;
9261
9262    openbsd*)
9263      if test -f /usr/libexec/ld.so; then
9264	hardcode_direct=yes
9265	hardcode_shlibpath_var=no
9266	hardcode_direct_absolute=yes
9267	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9268	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9269	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9270	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271	  export_dynamic_flag_spec='${wl}-E'
9272	else
9273	  case $host_os in
9274	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9275	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9276	     hardcode_libdir_flag_spec='-R$libdir'
9277	     ;;
9278	   *)
9279	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9280	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9281	     ;;
9282	  esac
9283	fi
9284      else
9285	ld_shlibs=no
9286      fi
9287      ;;
9288
9289    os2*)
9290      hardcode_libdir_flag_spec='-L$libdir'
9291      hardcode_minus_L=yes
9292      allow_undefined_flag=unsupported
9293      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9294      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9295      ;;
9296
9297    osf3*)
9298      if test "$GCC" = yes; then
9299	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9300	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'
9301      else
9302	allow_undefined_flag=' -expect_unresolved \*'
9303	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'
9304      fi
9305      archive_cmds_need_lc='no'
9306      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9307      hardcode_libdir_separator=:
9308      ;;
9309
9310    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9311      if test "$GCC" = yes; then
9312	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9313	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'
9314	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9315      else
9316	allow_undefined_flag=' -expect_unresolved \*'
9317	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'
9318	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~
9319	$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'
9320
9321	# Both c and cxx compiler support -rpath directly
9322	hardcode_libdir_flag_spec='-rpath $libdir'
9323      fi
9324      archive_cmds_need_lc='no'
9325      hardcode_libdir_separator=:
9326      ;;
9327
9328    solaris*)
9329      no_undefined_flag=' -z defs'
9330      if test "$GCC" = yes; then
9331	wlarc='${wl}'
9332	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9333	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9334	  $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'
9335      else
9336	case `$CC -V 2>&1` in
9337	*"Compilers 5.0"*)
9338	  wlarc=''
9339	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9341	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9342	  ;;
9343	*)
9344	  wlarc='${wl}'
9345	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9346	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9347	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9348	  ;;
9349	esac
9350      fi
9351      hardcode_libdir_flag_spec='-R$libdir'
9352      hardcode_shlibpath_var=no
9353      case $host_os in
9354      solaris2.[0-5] | solaris2.[0-5].*) ;;
9355      *)
9356	# The compiler driver will combine and reorder linker options,
9357	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9358	# but is careful enough not to reorder.
9359	# Supported since Solaris 2.6 (maybe 2.5.1?)
9360	if test "$GCC" = yes; then
9361	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9362	else
9363	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9364	fi
9365	;;
9366      esac
9367      link_all_deplibs=yes
9368      ;;
9369
9370    sunos4*)
9371      if test "x$host_vendor" = xsequent; then
9372	# Use $CC to link under sequent, because it throws in some extra .o
9373	# files that make .init and .fini sections work.
9374	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9375      else
9376	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9377      fi
9378      hardcode_libdir_flag_spec='-L$libdir'
9379      hardcode_direct=yes
9380      hardcode_minus_L=yes
9381      hardcode_shlibpath_var=no
9382      ;;
9383
9384    sysv4)
9385      case $host_vendor in
9386	sni)
9387	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9388	  hardcode_direct=yes # is this really true???
9389	;;
9390	siemens)
9391	  ## LD is ld it makes a PLAMLIB
9392	  ## CC just makes a GrossModule.
9393	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9394	  reload_cmds='$CC -r -o $output$reload_objs'
9395	  hardcode_direct=no
9396        ;;
9397	motorola)
9398	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9399	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9400	;;
9401      esac
9402      runpath_var='LD_RUN_PATH'
9403      hardcode_shlibpath_var=no
9404      ;;
9405
9406    sysv4.3*)
9407      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9408      hardcode_shlibpath_var=no
9409      export_dynamic_flag_spec='-Bexport'
9410      ;;
9411
9412    sysv4*MP*)
9413      if test -d /usr/nec; then
9414	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415	hardcode_shlibpath_var=no
9416	runpath_var=LD_RUN_PATH
9417	hardcode_runpath_var=yes
9418	ld_shlibs=yes
9419      fi
9420      ;;
9421
9422    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9423      no_undefined_flag='${wl}-z,text'
9424      archive_cmds_need_lc=no
9425      hardcode_shlibpath_var=no
9426      runpath_var='LD_RUN_PATH'
9427
9428      if test "$GCC" = yes; then
9429	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9430	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9431      else
9432	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9433	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9434      fi
9435      ;;
9436
9437    sysv5* | sco3.2v5* | sco5v6*)
9438      # Note: We can NOT use -z defs as we might desire, because we do not
9439      # link with -lc, and that would cause any symbols used from libc to
9440      # always be unresolved, which means just about no library would
9441      # ever link correctly.  If we're not using GNU ld we use -z text
9442      # though, which does catch some bad symbols but isn't as heavy-handed
9443      # as -z defs.
9444      no_undefined_flag='${wl}-z,text'
9445      allow_undefined_flag='${wl}-z,nodefs'
9446      archive_cmds_need_lc=no
9447      hardcode_shlibpath_var=no
9448      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9449      hardcode_libdir_separator=':'
9450      link_all_deplibs=yes
9451      export_dynamic_flag_spec='${wl}-Bexport'
9452      runpath_var='LD_RUN_PATH'
9453
9454      if test "$GCC" = yes; then
9455	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9456	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9457      else
9458	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9459	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9460      fi
9461      ;;
9462
9463    uts4*)
9464      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465      hardcode_libdir_flag_spec='-L$libdir'
9466      hardcode_shlibpath_var=no
9467      ;;
9468
9469    *)
9470      ld_shlibs=no
9471      ;;
9472    esac
9473
9474    if test x$host_vendor = xsni; then
9475      case $host in
9476      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9477	export_dynamic_flag_spec='${wl}-Blargedynsym'
9478	;;
9479      esac
9480    fi
9481  fi
9482
9483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9484$as_echo "$ld_shlibs" >&6; }
9485test "$ld_shlibs" = no && can_build_shared=no
9486
9487with_gnu_ld=$with_gnu_ld
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503#
9504# Do we need to explicitly link libc?
9505#
9506case "x$archive_cmds_need_lc" in
9507x|xyes)
9508  # Assume -lc should be added
9509  archive_cmds_need_lc=yes
9510
9511  if test "$enable_shared" = yes && test "$GCC" = yes; then
9512    case $archive_cmds in
9513    *'~'*)
9514      # FIXME: we may have to deal with multi-command sequences.
9515      ;;
9516    '$CC '*)
9517      # Test whether the compiler implicitly links with -lc since on some
9518      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9519      # to ld, don't add -lc before -lgcc.
9520      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9521$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9522if ${lt_cv_archive_cmds_need_lc+:} false; then :
9523  $as_echo_n "(cached) " >&6
9524else
9525  $RM conftest*
9526	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9527
9528	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9529  (eval $ac_compile) 2>&5
9530  ac_status=$?
9531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9532  test $ac_status = 0; } 2>conftest.err; then
9533	  soname=conftest
9534	  lib=conftest
9535	  libobjs=conftest.$ac_objext
9536	  deplibs=
9537	  wl=$lt_prog_compiler_wl
9538	  pic_flag=$lt_prog_compiler_pic
9539	  compiler_flags=-v
9540	  linker_flags=-v
9541	  verstring=
9542	  output_objdir=.
9543	  libname=conftest
9544	  lt_save_allow_undefined_flag=$allow_undefined_flag
9545	  allow_undefined_flag=
9546	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9547  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9548  ac_status=$?
9549  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9550  test $ac_status = 0; }
9551	  then
9552	    lt_cv_archive_cmds_need_lc=no
9553	  else
9554	    lt_cv_archive_cmds_need_lc=yes
9555	  fi
9556	  allow_undefined_flag=$lt_save_allow_undefined_flag
9557	else
9558	  cat conftest.err 1>&5
9559	fi
9560	$RM conftest*
9561
9562fi
9563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9564$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9565      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9566      ;;
9567    esac
9568  fi
9569  ;;
9570esac
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9729$as_echo_n "checking dynamic linker characteristics... " >&6; }
9730
9731if test "$GCC" = yes; then
9732  case $host_os in
9733    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9734    *) lt_awk_arg="/^libraries:/" ;;
9735  esac
9736  case $host_os in
9737    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9738    *) lt_sed_strip_eq="s,=/,/,g" ;;
9739  esac
9740  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9741  case $lt_search_path_spec in
9742  *\;*)
9743    # if the path contains ";" then we assume it to be the separator
9744    # otherwise default to the standard path separator (i.e. ":") - it is
9745    # assumed that no part of a normal pathname contains ";" but that should
9746    # okay in the real world where ";" in dirpaths is itself problematic.
9747    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9748    ;;
9749  *)
9750    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9751    ;;
9752  esac
9753  # Ok, now we have the path, separated by spaces, we can step through it
9754  # and add multilib dir if necessary.
9755  lt_tmp_lt_search_path_spec=
9756  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9757  for lt_sys_path in $lt_search_path_spec; do
9758    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9759      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9760    else
9761      test -d "$lt_sys_path" && \
9762	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9763    fi
9764  done
9765  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9766BEGIN {RS=" "; FS="/|\n";} {
9767  lt_foo="";
9768  lt_count=0;
9769  for (lt_i = NF; lt_i > 0; lt_i--) {
9770    if ($lt_i != "" && $lt_i != ".") {
9771      if ($lt_i == "..") {
9772        lt_count++;
9773      } else {
9774        if (lt_count == 0) {
9775          lt_foo="/" $lt_i lt_foo;
9776        } else {
9777          lt_count--;
9778        }
9779      }
9780    }
9781  }
9782  if (lt_foo != "") { lt_freq[lt_foo]++; }
9783  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9784}'`
9785  # AWK program above erroneously prepends '/' to C:/dos/paths
9786  # for these hosts.
9787  case $host_os in
9788    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9789      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9790  esac
9791  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9792else
9793  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9794fi
9795library_names_spec=
9796libname_spec='lib$name'
9797soname_spec=
9798shrext_cmds=".so"
9799postinstall_cmds=
9800postuninstall_cmds=
9801finish_cmds=
9802finish_eval=
9803shlibpath_var=
9804shlibpath_overrides_runpath=unknown
9805version_type=none
9806dynamic_linker="$host_os ld.so"
9807sys_lib_dlsearch_path_spec="/lib /usr/lib"
9808need_lib_prefix=unknown
9809hardcode_into_libs=no
9810
9811# when you set need_version to no, make sure it does not cause -set_version
9812# flags to be left without arguments
9813need_version=unknown
9814
9815case $host_os in
9816aix3*)
9817  version_type=linux
9818  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9819  shlibpath_var=LIBPATH
9820
9821  # AIX 3 has no versioning support, so we append a major version to the name.
9822  soname_spec='${libname}${release}${shared_ext}$major'
9823  ;;
9824
9825aix[4-9]*)
9826  version_type=linux
9827  need_lib_prefix=no
9828  need_version=no
9829  hardcode_into_libs=yes
9830  if test "$host_cpu" = ia64; then
9831    # AIX 5 supports IA64
9832    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9833    shlibpath_var=LD_LIBRARY_PATH
9834  else
9835    # With GCC up to 2.95.x, collect2 would create an import file
9836    # for dependence libraries.  The import file would start with
9837    # the line `#! .'.  This would cause the generated library to
9838    # depend on `.', always an invalid library.  This was fixed in
9839    # development snapshots of GCC prior to 3.0.
9840    case $host_os in
9841      aix4 | aix4.[01] | aix4.[01].*)
9842      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9843	   echo ' yes '
9844	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9845	:
9846      else
9847	can_build_shared=no
9848      fi
9849      ;;
9850    esac
9851    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9852    # soname into executable. Probably we can add versioning support to
9853    # collect2, so additional links can be useful in future.
9854    if test "$aix_use_runtimelinking" = yes; then
9855      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9856      # instead of lib<name>.a to let people know that these are not
9857      # typical AIX shared libraries.
9858      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859    else
9860      # We preserve .a as extension for shared libraries through AIX4.2
9861      # and later when we are not doing run time linking.
9862      library_names_spec='${libname}${release}.a $libname.a'
9863      soname_spec='${libname}${release}${shared_ext}$major'
9864    fi
9865    shlibpath_var=LIBPATH
9866  fi
9867  ;;
9868
9869amigaos*)
9870  case $host_cpu in
9871  powerpc)
9872    # Since July 2007 AmigaOS4 officially supports .so libraries.
9873    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9874    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9875    ;;
9876  m68k)
9877    library_names_spec='$libname.ixlibrary $libname.a'
9878    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9879    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
9880    ;;
9881  esac
9882  ;;
9883
9884beos*)
9885  library_names_spec='${libname}${shared_ext}'
9886  dynamic_linker="$host_os ld.so"
9887  shlibpath_var=LIBRARY_PATH
9888  ;;
9889
9890bsdi[45]*)
9891  version_type=linux
9892  need_version=no
9893  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9894  soname_spec='${libname}${release}${shared_ext}$major'
9895  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9896  shlibpath_var=LD_LIBRARY_PATH
9897  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9898  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9899  # the default ld.so.conf also contains /usr/contrib/lib and
9900  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9901  # libtool to hard-code these into programs
9902  ;;
9903
9904cygwin* | mingw* | pw32* | cegcc*)
9905  version_type=windows
9906  shrext_cmds=".dll"
9907  need_version=no
9908  need_lib_prefix=no
9909
9910  case $GCC,$cc_basename in
9911  yes,*)
9912    # gcc
9913    library_names_spec='$libname.dll.a'
9914    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9915    postinstall_cmds='base_file=`basename \${file}`~
9916      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9917      dldir=$destdir/`dirname \$dlpath`~
9918      test -d \$dldir || mkdir -p \$dldir~
9919      $install_prog $dir/$dlname \$dldir/$dlname~
9920      chmod a+x \$dldir/$dlname~
9921      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9922        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9923      fi'
9924    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9925      dlpath=$dir/\$dldll~
9926       $RM \$dlpath'
9927    shlibpath_overrides_runpath=yes
9928
9929    case $host_os in
9930    cygwin*)
9931      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9932      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9933
9934      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9935      ;;
9936    mingw* | cegcc*)
9937      # MinGW DLLs use traditional 'lib' prefix
9938      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9939      ;;
9940    pw32*)
9941      # pw32 DLLs use 'pw' prefix rather than 'lib'
9942      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9943      ;;
9944    esac
9945    dynamic_linker='Win32 ld.exe'
9946    ;;
9947
9948  *,cl*)
9949    # Native MSVC
9950    libname_spec='$name'
9951    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9952    library_names_spec='${libname}.dll.lib'
9953
9954    case $build_os in
9955    mingw*)
9956      sys_lib_search_path_spec=
9957      lt_save_ifs=$IFS
9958      IFS=';'
9959      for lt_path in $LIB
9960      do
9961        IFS=$lt_save_ifs
9962        # Let DOS variable expansion print the short 8.3 style file name.
9963        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9964        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9965      done
9966      IFS=$lt_save_ifs
9967      # Convert to MSYS style.
9968      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9969      ;;
9970    cygwin*)
9971      # Convert to unix form, then to dos form, then back to unix form
9972      # but this time dos style (no spaces!) so that the unix form looks
9973      # like /cygdrive/c/PROGRA~1:/cygdr...
9974      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9975      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9976      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9977      ;;
9978    *)
9979      sys_lib_search_path_spec="$LIB"
9980      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9981        # It is most probably a Windows format PATH.
9982        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9983      else
9984        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9985      fi
9986      # FIXME: find the short name or the path components, as spaces are
9987      # common. (e.g. "Program Files" -> "PROGRA~1")
9988      ;;
9989    esac
9990
9991    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9992    postinstall_cmds='base_file=`basename \${file}`~
9993      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9994      dldir=$destdir/`dirname \$dlpath`~
9995      test -d \$dldir || mkdir -p \$dldir~
9996      $install_prog $dir/$dlname \$dldir/$dlname'
9997    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9998      dlpath=$dir/\$dldll~
9999       $RM \$dlpath'
10000    shlibpath_overrides_runpath=yes
10001    dynamic_linker='Win32 link.exe'
10002    ;;
10003
10004  *)
10005    # Assume MSVC wrapper
10006    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10007    dynamic_linker='Win32 ld.exe'
10008    ;;
10009  esac
10010  # FIXME: first we should search . and the directory the executable is in
10011  shlibpath_var=PATH
10012  ;;
10013
10014darwin* | rhapsody*)
10015  dynamic_linker="$host_os dyld"
10016  version_type=darwin
10017  need_lib_prefix=no
10018  need_version=no
10019  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10020  soname_spec='${libname}${release}${major}$shared_ext'
10021  shlibpath_overrides_runpath=yes
10022  shlibpath_var=DYLD_LIBRARY_PATH
10023  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10024
10025  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10026  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10027  ;;
10028
10029dgux*)
10030  version_type=linux
10031  need_lib_prefix=no
10032  need_version=no
10033  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10034  soname_spec='${libname}${release}${shared_ext}$major'
10035  shlibpath_var=LD_LIBRARY_PATH
10036  ;;
10037
10038freebsd1*)
10039  dynamic_linker=no
10040  ;;
10041
10042freebsd* | dragonfly*)
10043  # DragonFly does not have aout.  When/if they implement a new
10044  # versioning mechanism, adjust this.
10045  if test -x /usr/bin/objformat; then
10046    objformat=`/usr/bin/objformat`
10047  else
10048    case $host_os in
10049    freebsd[123]*) objformat=aout ;;
10050    *) objformat=elf ;;
10051    esac
10052  fi
10053  version_type=freebsd-$objformat
10054  case $version_type in
10055    freebsd-elf*)
10056      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10057      need_version=no
10058      need_lib_prefix=no
10059      ;;
10060    freebsd-*)
10061      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10062      need_version=yes
10063      ;;
10064  esac
10065  shlibpath_var=LD_LIBRARY_PATH
10066  case $host_os in
10067  freebsd2*)
10068    shlibpath_overrides_runpath=yes
10069    ;;
10070  freebsd3.[01]* | freebsdelf3.[01]*)
10071    shlibpath_overrides_runpath=yes
10072    hardcode_into_libs=yes
10073    ;;
10074  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10075  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10076    shlibpath_overrides_runpath=no
10077    hardcode_into_libs=yes
10078    ;;
10079  *) # from 4.6 on, and DragonFly
10080    shlibpath_overrides_runpath=yes
10081    hardcode_into_libs=yes
10082    ;;
10083  esac
10084  ;;
10085
10086gnu*)
10087  version_type=linux
10088  need_lib_prefix=no
10089  need_version=no
10090  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10091  soname_spec='${libname}${release}${shared_ext}$major'
10092  shlibpath_var=LD_LIBRARY_PATH
10093  hardcode_into_libs=yes
10094  ;;
10095
10096haiku*)
10097  version_type=linux
10098  need_lib_prefix=no
10099  need_version=no
10100  dynamic_linker="$host_os runtime_loader"
10101  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10102  soname_spec='${libname}${release}${shared_ext}$major'
10103  shlibpath_var=LIBRARY_PATH
10104  shlibpath_overrides_runpath=yes
10105  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10106  hardcode_into_libs=yes
10107  ;;
10108
10109hpux9* | hpux10* | hpux11*)
10110  # Give a soname corresponding to the major version so that dld.sl refuses to
10111  # link against other versions.
10112  version_type=sunos
10113  need_lib_prefix=no
10114  need_version=no
10115  case $host_cpu in
10116  ia64*)
10117    shrext_cmds='.so'
10118    hardcode_into_libs=yes
10119    dynamic_linker="$host_os dld.so"
10120    shlibpath_var=LD_LIBRARY_PATH
10121    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10122    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123    soname_spec='${libname}${release}${shared_ext}$major'
10124    if test "X$HPUX_IA64_MODE" = X32; then
10125      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10126    else
10127      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10128    fi
10129    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10130    ;;
10131  hppa*64*)
10132    shrext_cmds='.sl'
10133    hardcode_into_libs=yes
10134    dynamic_linker="$host_os dld.sl"
10135    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10136    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10137    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138    soname_spec='${libname}${release}${shared_ext}$major'
10139    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10140    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10141    ;;
10142  *)
10143    shrext_cmds='.sl'
10144    dynamic_linker="$host_os dld.sl"
10145    shlibpath_var=SHLIB_PATH
10146    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10147    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148    soname_spec='${libname}${release}${shared_ext}$major'
10149    ;;
10150  esac
10151  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10152  postinstall_cmds='chmod 555 $lib'
10153  # or fails outright, so override atomically:
10154  install_override_mode=555
10155  ;;
10156
10157interix[3-9]*)
10158  version_type=linux
10159  need_lib_prefix=no
10160  need_version=no
10161  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10162  soname_spec='${libname}${release}${shared_ext}$major'
10163  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10164  shlibpath_var=LD_LIBRARY_PATH
10165  shlibpath_overrides_runpath=no
10166  hardcode_into_libs=yes
10167  ;;
10168
10169irix5* | irix6* | nonstopux*)
10170  case $host_os in
10171    nonstopux*) version_type=nonstopux ;;
10172    *)
10173	if test "$lt_cv_prog_gnu_ld" = yes; then
10174		version_type=linux
10175	else
10176		version_type=irix
10177	fi ;;
10178  esac
10179  need_lib_prefix=no
10180  need_version=no
10181  soname_spec='${libname}${release}${shared_ext}$major'
10182  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10183  case $host_os in
10184  irix5* | nonstopux*)
10185    libsuff= shlibsuff=
10186    ;;
10187  *)
10188    case $LD in # libtool.m4 will add one of these switches to LD
10189    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10190      libsuff= shlibsuff= libmagic=32-bit;;
10191    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10192      libsuff=32 shlibsuff=N32 libmagic=N32;;
10193    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10194      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10195    *) libsuff= shlibsuff= libmagic=never-match;;
10196    esac
10197    ;;
10198  esac
10199  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10200  shlibpath_overrides_runpath=no
10201  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10202  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10203  hardcode_into_libs=yes
10204  ;;
10205
10206# No shared lib support for Linux oldld, aout, or coff.
10207linux*oldld* | linux*aout* | linux*coff*)
10208  dynamic_linker=no
10209  ;;
10210
10211# This must be Linux ELF.
10212linux* | k*bsd*-gnu | kopensolaris*-gnu)
10213  version_type=linux
10214  need_lib_prefix=no
10215  need_version=no
10216  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217  soname_spec='${libname}${release}${shared_ext}$major'
10218  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10219  shlibpath_var=LD_LIBRARY_PATH
10220  shlibpath_overrides_runpath=no
10221
10222  # Some binutils ld are patched to set DT_RUNPATH
10223  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10224  $as_echo_n "(cached) " >&6
10225else
10226  lt_cv_shlibpath_overrides_runpath=no
10227    save_LDFLAGS=$LDFLAGS
10228    save_libdir=$libdir
10229    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10230	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10231    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232/* end confdefs.h.  */
10233
10234int
10235main ()
10236{
10237
10238  ;
10239  return 0;
10240}
10241_ACEOF
10242if ac_fn_c_try_link "$LINENO"; then :
10243  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10244  lt_cv_shlibpath_overrides_runpath=yes
10245fi
10246fi
10247rm -f core conftest.err conftest.$ac_objext \
10248    conftest$ac_exeext conftest.$ac_ext
10249    LDFLAGS=$save_LDFLAGS
10250    libdir=$save_libdir
10251
10252fi
10253
10254  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10255
10256  # This implies no fast_install, which is unacceptable.
10257  # Some rework will be needed to allow for fast_install
10258  # before this can be enabled.
10259  hardcode_into_libs=yes
10260
10261  # Append ld.so.conf contents to the search path
10262  if test -f /etc/ld.so.conf; then
10263    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' ' '`
10264    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10265  fi
10266
10267  # We used to test for /lib/ld.so.1 and disable shared libraries on
10268  # powerpc, because MkLinux only supported shared libraries with the
10269  # GNU dynamic linker.  Since this was broken with cross compilers,
10270  # most powerpc-linux boxes support dynamic linking these days and
10271  # people can always --disable-shared, the test was removed, and we
10272  # assume the GNU/Linux dynamic linker is in use.
10273  dynamic_linker='GNU/Linux ld.so'
10274  ;;
10275
10276netbsd*)
10277  version_type=sunos
10278  need_lib_prefix=no
10279  need_version=no
10280  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10281    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10282    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10283    dynamic_linker='NetBSD (a.out) ld.so'
10284  else
10285    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10286    soname_spec='${libname}${release}${shared_ext}$major'
10287    dynamic_linker='NetBSD ld.elf_so'
10288  fi
10289  shlibpath_var=LD_LIBRARY_PATH
10290  shlibpath_overrides_runpath=yes
10291  hardcode_into_libs=yes
10292  ;;
10293
10294newsos6)
10295  version_type=linux
10296  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297  shlibpath_var=LD_LIBRARY_PATH
10298  shlibpath_overrides_runpath=yes
10299  ;;
10300
10301*nto* | *qnx*)
10302  version_type=qnx
10303  need_lib_prefix=no
10304  need_version=no
10305  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306  soname_spec='${libname}${release}${shared_ext}$major'
10307  shlibpath_var=LD_LIBRARY_PATH
10308  shlibpath_overrides_runpath=no
10309  hardcode_into_libs=yes
10310  dynamic_linker='ldqnx.so'
10311  ;;
10312
10313openbsd*)
10314  version_type=sunos
10315  sys_lib_dlsearch_path_spec="/usr/lib"
10316  need_lib_prefix=no
10317  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10318  case $host_os in
10319    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10320    *)				need_version=no  ;;
10321  esac
10322  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10323  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10324  shlibpath_var=LD_LIBRARY_PATH
10325  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10326    case $host_os in
10327      openbsd2.[89] | openbsd2.[89].*)
10328	shlibpath_overrides_runpath=no
10329	;;
10330      *)
10331	shlibpath_overrides_runpath=yes
10332	;;
10333      esac
10334  else
10335    shlibpath_overrides_runpath=yes
10336  fi
10337  ;;
10338
10339os2*)
10340  libname_spec='$name'
10341  shrext_cmds=".dll"
10342  need_lib_prefix=no
10343  library_names_spec='$libname${shared_ext} $libname.a'
10344  dynamic_linker='OS/2 ld.exe'
10345  shlibpath_var=LIBPATH
10346  ;;
10347
10348osf3* | osf4* | osf5*)
10349  version_type=osf
10350  need_lib_prefix=no
10351  need_version=no
10352  soname_spec='${libname}${release}${shared_ext}$major'
10353  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354  shlibpath_var=LD_LIBRARY_PATH
10355  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10356  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10357  ;;
10358
10359rdos*)
10360  dynamic_linker=no
10361  ;;
10362
10363solaris*)
10364  version_type=linux
10365  need_lib_prefix=no
10366  need_version=no
10367  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10368  soname_spec='${libname}${release}${shared_ext}$major'
10369  shlibpath_var=LD_LIBRARY_PATH
10370  shlibpath_overrides_runpath=yes
10371  hardcode_into_libs=yes
10372  # ldd complains unless libraries are executable
10373  postinstall_cmds='chmod +x $lib'
10374  ;;
10375
10376sunos4*)
10377  version_type=sunos
10378  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10379  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10380  shlibpath_var=LD_LIBRARY_PATH
10381  shlibpath_overrides_runpath=yes
10382  if test "$with_gnu_ld" = yes; then
10383    need_lib_prefix=no
10384  fi
10385  need_version=yes
10386  ;;
10387
10388sysv4 | sysv4.3*)
10389  version_type=linux
10390  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10391  soname_spec='${libname}${release}${shared_ext}$major'
10392  shlibpath_var=LD_LIBRARY_PATH
10393  case $host_vendor in
10394    sni)
10395      shlibpath_overrides_runpath=no
10396      need_lib_prefix=no
10397      runpath_var=LD_RUN_PATH
10398      ;;
10399    siemens)
10400      need_lib_prefix=no
10401      ;;
10402    motorola)
10403      need_lib_prefix=no
10404      need_version=no
10405      shlibpath_overrides_runpath=no
10406      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10407      ;;
10408  esac
10409  ;;
10410
10411sysv4*MP*)
10412  if test -d /usr/nec ;then
10413    version_type=linux
10414    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10415    soname_spec='$libname${shared_ext}.$major'
10416    shlibpath_var=LD_LIBRARY_PATH
10417  fi
10418  ;;
10419
10420sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10421  version_type=freebsd-elf
10422  need_lib_prefix=no
10423  need_version=no
10424  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10425  soname_spec='${libname}${release}${shared_ext}$major'
10426  shlibpath_var=LD_LIBRARY_PATH
10427  shlibpath_overrides_runpath=yes
10428  hardcode_into_libs=yes
10429  if test "$with_gnu_ld" = yes; then
10430    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10431  else
10432    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10433    case $host_os in
10434      sco3.2v5*)
10435        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10436	;;
10437    esac
10438  fi
10439  sys_lib_dlsearch_path_spec='/usr/lib'
10440  ;;
10441
10442tpf*)
10443  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10444  version_type=linux
10445  need_lib_prefix=no
10446  need_version=no
10447  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448  shlibpath_var=LD_LIBRARY_PATH
10449  shlibpath_overrides_runpath=no
10450  hardcode_into_libs=yes
10451  ;;
10452
10453uts4*)
10454  version_type=linux
10455  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456  soname_spec='${libname}${release}${shared_ext}$major'
10457  shlibpath_var=LD_LIBRARY_PATH
10458  ;;
10459
10460*)
10461  dynamic_linker=no
10462  ;;
10463esac
10464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10465$as_echo "$dynamic_linker" >&6; }
10466test "$dynamic_linker" = no && can_build_shared=no
10467
10468variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10469if test "$GCC" = yes; then
10470  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10471fi
10472
10473if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10474  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10475fi
10476if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10477  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10478fi
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10572$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10573hardcode_action=
10574if test -n "$hardcode_libdir_flag_spec" ||
10575   test -n "$runpath_var" ||
10576   test "X$hardcode_automatic" = "Xyes" ; then
10577
10578  # We can hardcode non-existent directories.
10579  if test "$hardcode_direct" != no &&
10580     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10581     # have to relink, otherwise we might link with an installed library
10582     # when we should be linking with a yet-to-be-installed one
10583     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10584     test "$hardcode_minus_L" != no; then
10585    # Linking always hardcodes the temporary library directory.
10586    hardcode_action=relink
10587  else
10588    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10589    hardcode_action=immediate
10590  fi
10591else
10592  # We cannot hardcode anything, or else we can only hardcode existing
10593  # directories.
10594  hardcode_action=unsupported
10595fi
10596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10597$as_echo "$hardcode_action" >&6; }
10598
10599if test "$hardcode_action" = relink ||
10600   test "$inherit_rpath" = yes; then
10601  # Fast installation is not supported
10602  enable_fast_install=no
10603elif test "$shlibpath_overrides_runpath" = yes ||
10604     test "$enable_shared" = no; then
10605  # Fast installation is not necessary
10606  enable_fast_install=needless
10607fi
10608
10609
10610
10611
10612
10613
10614  if test "x$enable_dlopen" != xyes; then
10615  enable_dlopen=unknown
10616  enable_dlopen_self=unknown
10617  enable_dlopen_self_static=unknown
10618else
10619  lt_cv_dlopen=no
10620  lt_cv_dlopen_libs=
10621
10622  case $host_os in
10623  beos*)
10624    lt_cv_dlopen="load_add_on"
10625    lt_cv_dlopen_libs=
10626    lt_cv_dlopen_self=yes
10627    ;;
10628
10629  mingw* | pw32* | cegcc*)
10630    lt_cv_dlopen="LoadLibrary"
10631    lt_cv_dlopen_libs=
10632    ;;
10633
10634  cygwin*)
10635    lt_cv_dlopen="dlopen"
10636    lt_cv_dlopen_libs=
10637    ;;
10638
10639  darwin*)
10640  # if libdl is installed we need to link against it
10641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10642$as_echo_n "checking for dlopen in -ldl... " >&6; }
10643if ${ac_cv_lib_dl_dlopen+:} false; then :
10644  $as_echo_n "(cached) " >&6
10645else
10646  ac_check_lib_save_LIBS=$LIBS
10647LIBS="-ldl  $LIBS"
10648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649/* end confdefs.h.  */
10650
10651/* Override any GCC internal prototype to avoid an error.
10652   Use char because int might match the return type of a GCC
10653   builtin and then its argument prototype would still apply.  */
10654#ifdef __cplusplus
10655extern "C"
10656#endif
10657char dlopen ();
10658int
10659main ()
10660{
10661return dlopen ();
10662  ;
10663  return 0;
10664}
10665_ACEOF
10666if ac_fn_c_try_link "$LINENO"; then :
10667  ac_cv_lib_dl_dlopen=yes
10668else
10669  ac_cv_lib_dl_dlopen=no
10670fi
10671rm -f core conftest.err conftest.$ac_objext \
10672    conftest$ac_exeext conftest.$ac_ext
10673LIBS=$ac_check_lib_save_LIBS
10674fi
10675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10676$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10677if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10678  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10679else
10680
10681    lt_cv_dlopen="dyld"
10682    lt_cv_dlopen_libs=
10683    lt_cv_dlopen_self=yes
10684
10685fi
10686
10687    ;;
10688
10689  *)
10690    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10691if test "x$ac_cv_func_shl_load" = xyes; then :
10692  lt_cv_dlopen="shl_load"
10693else
10694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10695$as_echo_n "checking for shl_load in -ldld... " >&6; }
10696if ${ac_cv_lib_dld_shl_load+:} false; then :
10697  $as_echo_n "(cached) " >&6
10698else
10699  ac_check_lib_save_LIBS=$LIBS
10700LIBS="-ldld  $LIBS"
10701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702/* end confdefs.h.  */
10703
10704/* Override any GCC internal prototype to avoid an error.
10705   Use char because int might match the return type of a GCC
10706   builtin and then its argument prototype would still apply.  */
10707#ifdef __cplusplus
10708extern "C"
10709#endif
10710char shl_load ();
10711int
10712main ()
10713{
10714return shl_load ();
10715  ;
10716  return 0;
10717}
10718_ACEOF
10719if ac_fn_c_try_link "$LINENO"; then :
10720  ac_cv_lib_dld_shl_load=yes
10721else
10722  ac_cv_lib_dld_shl_load=no
10723fi
10724rm -f core conftest.err conftest.$ac_objext \
10725    conftest$ac_exeext conftest.$ac_ext
10726LIBS=$ac_check_lib_save_LIBS
10727fi
10728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10729$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10730if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10731  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10732else
10733  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10734if test "x$ac_cv_func_dlopen" = xyes; then :
10735  lt_cv_dlopen="dlopen"
10736else
10737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10738$as_echo_n "checking for dlopen in -ldl... " >&6; }
10739if ${ac_cv_lib_dl_dlopen+:} false; then :
10740  $as_echo_n "(cached) " >&6
10741else
10742  ac_check_lib_save_LIBS=$LIBS
10743LIBS="-ldl  $LIBS"
10744cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745/* end confdefs.h.  */
10746
10747/* Override any GCC internal prototype to avoid an error.
10748   Use char because int might match the return type of a GCC
10749   builtin and then its argument prototype would still apply.  */
10750#ifdef __cplusplus
10751extern "C"
10752#endif
10753char dlopen ();
10754int
10755main ()
10756{
10757return dlopen ();
10758  ;
10759  return 0;
10760}
10761_ACEOF
10762if ac_fn_c_try_link "$LINENO"; then :
10763  ac_cv_lib_dl_dlopen=yes
10764else
10765  ac_cv_lib_dl_dlopen=no
10766fi
10767rm -f core conftest.err conftest.$ac_objext \
10768    conftest$ac_exeext conftest.$ac_ext
10769LIBS=$ac_check_lib_save_LIBS
10770fi
10771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10772$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10773if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10774  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10775else
10776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10777$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10778if ${ac_cv_lib_svld_dlopen+:} false; then :
10779  $as_echo_n "(cached) " >&6
10780else
10781  ac_check_lib_save_LIBS=$LIBS
10782LIBS="-lsvld  $LIBS"
10783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784/* end confdefs.h.  */
10785
10786/* Override any GCC internal prototype to avoid an error.
10787   Use char because int might match the return type of a GCC
10788   builtin and then its argument prototype would still apply.  */
10789#ifdef __cplusplus
10790extern "C"
10791#endif
10792char dlopen ();
10793int
10794main ()
10795{
10796return dlopen ();
10797  ;
10798  return 0;
10799}
10800_ACEOF
10801if ac_fn_c_try_link "$LINENO"; then :
10802  ac_cv_lib_svld_dlopen=yes
10803else
10804  ac_cv_lib_svld_dlopen=no
10805fi
10806rm -f core conftest.err conftest.$ac_objext \
10807    conftest$ac_exeext conftest.$ac_ext
10808LIBS=$ac_check_lib_save_LIBS
10809fi
10810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10811$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10812if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10813  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10814else
10815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10816$as_echo_n "checking for dld_link in -ldld... " >&6; }
10817if ${ac_cv_lib_dld_dld_link+:} false; then :
10818  $as_echo_n "(cached) " >&6
10819else
10820  ac_check_lib_save_LIBS=$LIBS
10821LIBS="-ldld  $LIBS"
10822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823/* end confdefs.h.  */
10824
10825/* Override any GCC internal prototype to avoid an error.
10826   Use char because int might match the return type of a GCC
10827   builtin and then its argument prototype would still apply.  */
10828#ifdef __cplusplus
10829extern "C"
10830#endif
10831char dld_link ();
10832int
10833main ()
10834{
10835return dld_link ();
10836  ;
10837  return 0;
10838}
10839_ACEOF
10840if ac_fn_c_try_link "$LINENO"; then :
10841  ac_cv_lib_dld_dld_link=yes
10842else
10843  ac_cv_lib_dld_dld_link=no
10844fi
10845rm -f core conftest.err conftest.$ac_objext \
10846    conftest$ac_exeext conftest.$ac_ext
10847LIBS=$ac_check_lib_save_LIBS
10848fi
10849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10850$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10851if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10852  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10853fi
10854
10855
10856fi
10857
10858
10859fi
10860
10861
10862fi
10863
10864
10865fi
10866
10867
10868fi
10869
10870    ;;
10871  esac
10872
10873  if test "x$lt_cv_dlopen" != xno; then
10874    enable_dlopen=yes
10875  else
10876    enable_dlopen=no
10877  fi
10878
10879  case $lt_cv_dlopen in
10880  dlopen)
10881    save_CPPFLAGS="$CPPFLAGS"
10882    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10883
10884    save_LDFLAGS="$LDFLAGS"
10885    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10886
10887    save_LIBS="$LIBS"
10888    LIBS="$lt_cv_dlopen_libs $LIBS"
10889
10890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10891$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10892if ${lt_cv_dlopen_self+:} false; then :
10893  $as_echo_n "(cached) " >&6
10894else
10895  	  if test "$cross_compiling" = yes; then :
10896  lt_cv_dlopen_self=cross
10897else
10898  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10899  lt_status=$lt_dlunknown
10900  cat > conftest.$ac_ext <<_LT_EOF
10901#line $LINENO "configure"
10902#include "confdefs.h"
10903
10904#if HAVE_DLFCN_H
10905#include <dlfcn.h>
10906#endif
10907
10908#include <stdio.h>
10909
10910#ifdef RTLD_GLOBAL
10911#  define LT_DLGLOBAL		RTLD_GLOBAL
10912#else
10913#  ifdef DL_GLOBAL
10914#    define LT_DLGLOBAL		DL_GLOBAL
10915#  else
10916#    define LT_DLGLOBAL		0
10917#  endif
10918#endif
10919
10920/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10921   find out it does not work in some platform. */
10922#ifndef LT_DLLAZY_OR_NOW
10923#  ifdef RTLD_LAZY
10924#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10925#  else
10926#    ifdef DL_LAZY
10927#      define LT_DLLAZY_OR_NOW		DL_LAZY
10928#    else
10929#      ifdef RTLD_NOW
10930#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10931#      else
10932#        ifdef DL_NOW
10933#          define LT_DLLAZY_OR_NOW	DL_NOW
10934#        else
10935#          define LT_DLLAZY_OR_NOW	0
10936#        endif
10937#      endif
10938#    endif
10939#  endif
10940#endif
10941
10942/* When -fvisbility=hidden is used, assume the code has been annotated
10943   correspondingly for the symbols needed.  */
10944#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10945int fnord () __attribute__((visibility("default")));
10946#endif
10947
10948int fnord () { return 42; }
10949int main ()
10950{
10951  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10952  int status = $lt_dlunknown;
10953
10954  if (self)
10955    {
10956      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10957      else
10958        {
10959	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10960          else puts (dlerror ());
10961	}
10962      /* dlclose (self); */
10963    }
10964  else
10965    puts (dlerror ());
10966
10967  return status;
10968}
10969_LT_EOF
10970  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10971  (eval $ac_link) 2>&5
10972  ac_status=$?
10973  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10974  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10975    (./conftest; exit; ) >&5 2>/dev/null
10976    lt_status=$?
10977    case x$lt_status in
10978      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10979      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10980      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10981    esac
10982  else :
10983    # compilation failed
10984    lt_cv_dlopen_self=no
10985  fi
10986fi
10987rm -fr conftest*
10988
10989
10990fi
10991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10992$as_echo "$lt_cv_dlopen_self" >&6; }
10993
10994    if test "x$lt_cv_dlopen_self" = xyes; then
10995      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10996      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10997$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10998if ${lt_cv_dlopen_self_static+:} false; then :
10999  $as_echo_n "(cached) " >&6
11000else
11001  	  if test "$cross_compiling" = yes; then :
11002  lt_cv_dlopen_self_static=cross
11003else
11004  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11005  lt_status=$lt_dlunknown
11006  cat > conftest.$ac_ext <<_LT_EOF
11007#line $LINENO "configure"
11008#include "confdefs.h"
11009
11010#if HAVE_DLFCN_H
11011#include <dlfcn.h>
11012#endif
11013
11014#include <stdio.h>
11015
11016#ifdef RTLD_GLOBAL
11017#  define LT_DLGLOBAL		RTLD_GLOBAL
11018#else
11019#  ifdef DL_GLOBAL
11020#    define LT_DLGLOBAL		DL_GLOBAL
11021#  else
11022#    define LT_DLGLOBAL		0
11023#  endif
11024#endif
11025
11026/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11027   find out it does not work in some platform. */
11028#ifndef LT_DLLAZY_OR_NOW
11029#  ifdef RTLD_LAZY
11030#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11031#  else
11032#    ifdef DL_LAZY
11033#      define LT_DLLAZY_OR_NOW		DL_LAZY
11034#    else
11035#      ifdef RTLD_NOW
11036#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11037#      else
11038#        ifdef DL_NOW
11039#          define LT_DLLAZY_OR_NOW	DL_NOW
11040#        else
11041#          define LT_DLLAZY_OR_NOW	0
11042#        endif
11043#      endif
11044#    endif
11045#  endif
11046#endif
11047
11048/* When -fvisbility=hidden is used, assume the code has been annotated
11049   correspondingly for the symbols needed.  */
11050#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11051int fnord () __attribute__((visibility("default")));
11052#endif
11053
11054int fnord () { return 42; }
11055int main ()
11056{
11057  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11058  int status = $lt_dlunknown;
11059
11060  if (self)
11061    {
11062      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11063      else
11064        {
11065	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11066          else puts (dlerror ());
11067	}
11068      /* dlclose (self); */
11069    }
11070  else
11071    puts (dlerror ());
11072
11073  return status;
11074}
11075_LT_EOF
11076  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11077  (eval $ac_link) 2>&5
11078  ac_status=$?
11079  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11080  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11081    (./conftest; exit; ) >&5 2>/dev/null
11082    lt_status=$?
11083    case x$lt_status in
11084      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11085      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11086      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11087    esac
11088  else :
11089    # compilation failed
11090    lt_cv_dlopen_self_static=no
11091  fi
11092fi
11093rm -fr conftest*
11094
11095
11096fi
11097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11098$as_echo "$lt_cv_dlopen_self_static" >&6; }
11099    fi
11100
11101    CPPFLAGS="$save_CPPFLAGS"
11102    LDFLAGS="$save_LDFLAGS"
11103    LIBS="$save_LIBS"
11104    ;;
11105  esac
11106
11107  case $lt_cv_dlopen_self in
11108  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11109  *) enable_dlopen_self=unknown ;;
11110  esac
11111
11112  case $lt_cv_dlopen_self_static in
11113  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11114  *) enable_dlopen_self_static=unknown ;;
11115  esac
11116fi
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134striplib=
11135old_striplib=
11136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11137$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11138if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11139  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11140  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11142$as_echo "yes" >&6; }
11143else
11144# FIXME - insert some real tests, host_os isn't really good enough
11145  case $host_os in
11146  darwin*)
11147    if test -n "$STRIP" ; then
11148      striplib="$STRIP -x"
11149      old_striplib="$STRIP -S"
11150      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11151$as_echo "yes" >&6; }
11152    else
11153      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154$as_echo "no" >&6; }
11155    fi
11156    ;;
11157  *)
11158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11159$as_echo "no" >&6; }
11160    ;;
11161  esac
11162fi
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175  # Report which library types will actually be built
11176  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11177$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11179$as_echo "$can_build_shared" >&6; }
11180
11181  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11182$as_echo_n "checking whether to build shared libraries... " >&6; }
11183  test "$can_build_shared" = "no" && enable_shared=no
11184
11185  # On AIX, shared libraries and static libraries use the same namespace, and
11186  # are all built from PIC.
11187  case $host_os in
11188  aix3*)
11189    test "$enable_shared" = yes && enable_static=no
11190    if test -n "$RANLIB"; then
11191      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11192      postinstall_cmds='$RANLIB $lib'
11193    fi
11194    ;;
11195
11196  aix[4-9]*)
11197    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11198      test "$enable_shared" = yes && enable_static=no
11199    fi
11200    ;;
11201  esac
11202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11203$as_echo "$enable_shared" >&6; }
11204
11205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11206$as_echo_n "checking whether to build static libraries... " >&6; }
11207  # Make sure either enable_shared or enable_static is yes.
11208  test "$enable_shared" = yes || enable_static=yes
11209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11210$as_echo "$enable_static" >&6; }
11211
11212
11213
11214
11215fi
11216ac_ext=c
11217ac_cpp='$CPP $CPPFLAGS'
11218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11220ac_compiler_gnu=$ac_cv_c_compiler_gnu
11221
11222CC="$lt_save_CC"
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236        ac_config_commands="$ac_config_commands libtool"
11237
11238
11239
11240
11241# Only expand once:
11242
11243
11244
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11246$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11247if ${ac_cv_c_bigendian+:} false; then :
11248  $as_echo_n "(cached) " >&6
11249else
11250  ac_cv_c_bigendian=unknown
11251    # See if we're dealing with a universal compiler.
11252    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253/* end confdefs.h.  */
11254#ifndef __APPLE_CC__
11255	       not a universal capable compiler
11256	     #endif
11257	     typedef int dummy;
11258
11259_ACEOF
11260if ac_fn_c_try_compile "$LINENO"; then :
11261
11262	# Check for potential -arch flags.  It is not universal unless
11263	# there are at least two -arch flags with different values.
11264	ac_arch=
11265	ac_prev=
11266	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11267	 if test -n "$ac_prev"; then
11268	   case $ac_word in
11269	     i?86 | x86_64 | ppc | ppc64)
11270	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11271		 ac_arch=$ac_word
11272	       else
11273		 ac_cv_c_bigendian=universal
11274		 break
11275	       fi
11276	       ;;
11277	   esac
11278	   ac_prev=
11279	 elif test "x$ac_word" = "x-arch"; then
11280	   ac_prev=arch
11281	 fi
11282       done
11283fi
11284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11285    if test $ac_cv_c_bigendian = unknown; then
11286      # See if sys/param.h defines the BYTE_ORDER macro.
11287      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288/* end confdefs.h.  */
11289#include <sys/types.h>
11290	     #include <sys/param.h>
11291
11292int
11293main ()
11294{
11295#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11296		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11297		     && LITTLE_ENDIAN)
11298	      bogus endian macros
11299	     #endif
11300
11301  ;
11302  return 0;
11303}
11304_ACEOF
11305if ac_fn_c_try_compile "$LINENO"; then :
11306  # It does; now see whether it defined to BIG_ENDIAN or not.
11307	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308/* end confdefs.h.  */
11309#include <sys/types.h>
11310		#include <sys/param.h>
11311
11312int
11313main ()
11314{
11315#if BYTE_ORDER != BIG_ENDIAN
11316		 not big endian
11317		#endif
11318
11319  ;
11320  return 0;
11321}
11322_ACEOF
11323if ac_fn_c_try_compile "$LINENO"; then :
11324  ac_cv_c_bigendian=yes
11325else
11326  ac_cv_c_bigendian=no
11327fi
11328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11329fi
11330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11331    fi
11332    if test $ac_cv_c_bigendian = unknown; then
11333      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11334      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335/* end confdefs.h.  */
11336#include <limits.h>
11337
11338int
11339main ()
11340{
11341#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11342	      bogus endian macros
11343	     #endif
11344
11345  ;
11346  return 0;
11347}
11348_ACEOF
11349if ac_fn_c_try_compile "$LINENO"; then :
11350  # It does; now see whether it defined to _BIG_ENDIAN or not.
11351	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352/* end confdefs.h.  */
11353#include <limits.h>
11354
11355int
11356main ()
11357{
11358#ifndef _BIG_ENDIAN
11359		 not big endian
11360		#endif
11361
11362  ;
11363  return 0;
11364}
11365_ACEOF
11366if ac_fn_c_try_compile "$LINENO"; then :
11367  ac_cv_c_bigendian=yes
11368else
11369  ac_cv_c_bigendian=no
11370fi
11371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11372fi
11373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11374    fi
11375    if test $ac_cv_c_bigendian = unknown; then
11376      # Compile a test program.
11377      if test "$cross_compiling" = yes; then :
11378  # Try to guess by grepping values from an object file.
11379	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380/* end confdefs.h.  */
11381short int ascii_mm[] =
11382		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11383		short int ascii_ii[] =
11384		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11385		int use_ascii (int i) {
11386		  return ascii_mm[i] + ascii_ii[i];
11387		}
11388		short int ebcdic_ii[] =
11389		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11390		short int ebcdic_mm[] =
11391		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11392		int use_ebcdic (int i) {
11393		  return ebcdic_mm[i] + ebcdic_ii[i];
11394		}
11395		extern int foo;
11396
11397int
11398main ()
11399{
11400return use_ascii (foo) == use_ebcdic (foo);
11401  ;
11402  return 0;
11403}
11404_ACEOF
11405if ac_fn_c_try_compile "$LINENO"; then :
11406  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11407	      ac_cv_c_bigendian=yes
11408	    fi
11409	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11410	      if test "$ac_cv_c_bigendian" = unknown; then
11411		ac_cv_c_bigendian=no
11412	      else
11413		# finding both strings is unlikely to happen, but who knows?
11414		ac_cv_c_bigendian=unknown
11415	      fi
11416	    fi
11417fi
11418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11419else
11420  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421/* end confdefs.h.  */
11422$ac_includes_default
11423int
11424main ()
11425{
11426
11427	     /* Are we little or big endian?  From Harbison&Steele.  */
11428	     union
11429	     {
11430	       long int l;
11431	       char c[sizeof (long int)];
11432	     } u;
11433	     u.l = 1;
11434	     return u.c[sizeof (long int) - 1] == 1;
11435
11436  ;
11437  return 0;
11438}
11439_ACEOF
11440if ac_fn_c_try_run "$LINENO"; then :
11441  ac_cv_c_bigendian=no
11442else
11443  ac_cv_c_bigendian=yes
11444fi
11445rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11446  conftest.$ac_objext conftest.beam conftest.$ac_ext
11447fi
11448
11449    fi
11450fi
11451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11452$as_echo "$ac_cv_c_bigendian" >&6; }
11453 case $ac_cv_c_bigendian in #(
11454   yes)
11455     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11456;; #(
11457   no)
11458      ;; #(
11459   universal)
11460
11461$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11462
11463     ;; #(
11464   *)
11465     as_fn_error $? "unknown endianness
11466 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11467 esac
11468
11469
11470for ac_header in ladspa.h
11471do :
11472  ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
11473if test "x$ac_cv_header_ladspa_h" = xyes; then :
11474  cat >>confdefs.h <<_ACEOF
11475#define HAVE_LADSPA_H 1
11476_ACEOF
11477
11478fi
11479
11480done
11481
11482
11483
11484
11485
11486
11487
11488if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11489	if test -n "$ac_tool_prefix"; then
11490  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11491set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11493$as_echo_n "checking for $ac_word... " >&6; }
11494if ${ac_cv_path_PKG_CONFIG+:} false; then :
11495  $as_echo_n "(cached) " >&6
11496else
11497  case $PKG_CONFIG in
11498  [\\/]* | ?:[\\/]*)
11499  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11500  ;;
11501  *)
11502  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11503for as_dir in $PATH
11504do
11505  IFS=$as_save_IFS
11506  test -z "$as_dir" && as_dir=.
11507    for ac_exec_ext in '' $ac_executable_extensions; do
11508  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11509    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11511    break 2
11512  fi
11513done
11514  done
11515IFS=$as_save_IFS
11516
11517  ;;
11518esac
11519fi
11520PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11521if test -n "$PKG_CONFIG"; then
11522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11523$as_echo "$PKG_CONFIG" >&6; }
11524else
11525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526$as_echo "no" >&6; }
11527fi
11528
11529
11530fi
11531if test -z "$ac_cv_path_PKG_CONFIG"; then
11532  ac_pt_PKG_CONFIG=$PKG_CONFIG
11533  # Extract the first word of "pkg-config", so it can be a program name with args.
11534set dummy pkg-config; ac_word=$2
11535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11536$as_echo_n "checking for $ac_word... " >&6; }
11537if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11538  $as_echo_n "(cached) " >&6
11539else
11540  case $ac_pt_PKG_CONFIG in
11541  [\\/]* | ?:[\\/]*)
11542  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11543  ;;
11544  *)
11545  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546for as_dir in $PATH
11547do
11548  IFS=$as_save_IFS
11549  test -z "$as_dir" && as_dir=.
11550    for ac_exec_ext in '' $ac_executable_extensions; do
11551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11552    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11553    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11554    break 2
11555  fi
11556done
11557  done
11558IFS=$as_save_IFS
11559
11560  ;;
11561esac
11562fi
11563ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11564if test -n "$ac_pt_PKG_CONFIG"; then
11565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11566$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11567else
11568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11569$as_echo "no" >&6; }
11570fi
11571
11572  if test "x$ac_pt_PKG_CONFIG" = x; then
11573    PKG_CONFIG=""
11574  else
11575    case $cross_compiling:$ac_tool_warned in
11576yes:)
11577{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11578$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11579ac_tool_warned=yes ;;
11580esac
11581    PKG_CONFIG=$ac_pt_PKG_CONFIG
11582  fi
11583else
11584  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11585fi
11586
11587fi
11588if test -n "$PKG_CONFIG"; then
11589	_pkg_min_version=0.9.0
11590	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11591$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11592	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11593		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11594$as_echo "yes" >&6; }
11595	else
11596		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11597$as_echo "no" >&6; }
11598		PKG_CONFIG=""
11599	fi
11600fi
11601
11602pkg_failed=no
11603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMMON" >&5
11604$as_echo_n "checking for COMMON... " >&6; }
11605
11606if test -n "$COMMON_CFLAGS"; then
11607    pkg_cv_COMMON_CFLAGS="$COMMON_CFLAGS"
11608 elif test -n "$PKG_CONFIG"; then
11609    if test -n "$PKG_CONFIG" && \
11610    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dssi >= 0.9\""; } >&5
11611  ($PKG_CONFIG --exists --print-errors "dssi >= 0.9") 2>&5
11612  ac_status=$?
11613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11614  test $ac_status = 0; }; then
11615  pkg_cv_COMMON_CFLAGS=`$PKG_CONFIG --cflags "dssi >= 0.9" 2>/dev/null`
11616else
11617  pkg_failed=yes
11618fi
11619 else
11620    pkg_failed=untried
11621fi
11622if test -n "$COMMON_LIBS"; then
11623    pkg_cv_COMMON_LIBS="$COMMON_LIBS"
11624 elif test -n "$PKG_CONFIG"; then
11625    if test -n "$PKG_CONFIG" && \
11626    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dssi >= 0.9\""; } >&5
11627  ($PKG_CONFIG --exists --print-errors "dssi >= 0.9") 2>&5
11628  ac_status=$?
11629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11630  test $ac_status = 0; }; then
11631  pkg_cv_COMMON_LIBS=`$PKG_CONFIG --libs "dssi >= 0.9" 2>/dev/null`
11632else
11633  pkg_failed=yes
11634fi
11635 else
11636    pkg_failed=untried
11637fi
11638
11639
11640
11641if test $pkg_failed = yes; then
11642   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11643$as_echo "no" >&6; }
11644
11645if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11646        _pkg_short_errors_supported=yes
11647else
11648        _pkg_short_errors_supported=no
11649fi
11650        if test $_pkg_short_errors_supported = yes; then
11651	        COMMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dssi >= 0.9" 2>&1`
11652        else
11653	        COMMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "dssi >= 0.9" 2>&1`
11654        fi
11655	# Put the nasty error message in config.log where it belongs
11656	echo "$COMMON_PKG_ERRORS" >&5
11657
11658	as_fn_error $? "Package requirements (dssi >= 0.9) were not met:
11659
11660$COMMON_PKG_ERRORS
11661
11662Consider adjusting the PKG_CONFIG_PATH environment variable if you
11663installed software in a non-standard prefix.
11664
11665Alternatively, you may set the environment variables COMMON_CFLAGS
11666and COMMON_LIBS to avoid the need to call pkg-config.
11667See the pkg-config man page for more details." "$LINENO" 5
11668elif test $pkg_failed = untried; then
11669     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11670$as_echo "no" >&6; }
11671	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11673as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11674is in your PATH or set the PKG_CONFIG environment variable to the full
11675path to pkg-config.
11676
11677Alternatively, you may set the environment variables COMMON_CFLAGS
11678and COMMON_LIBS to avoid the need to call pkg-config.
11679See the pkg-config man page for more details.
11680
11681To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11682See \`config.log' for more details" "$LINENO" 5; }
11683else
11684	COMMON_CFLAGS=$pkg_cv_COMMON_CFLAGS
11685	COMMON_LIBS=$pkg_cv_COMMON_LIBS
11686        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11687$as_echo "yes" >&6; }
11688
11689fi
11690
11691pkg_failed=no
11692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PLUGIN" >&5
11693$as_echo_n "checking for PLUGIN... " >&6; }
11694
11695if test -n "$PLUGIN_CFLAGS"; then
11696    pkg_cv_PLUGIN_CFLAGS="$PLUGIN_CFLAGS"
11697 elif test -n "$PKG_CONFIG"; then
11698    if test -n "$PKG_CONFIG" && \
11699    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0.1\""; } >&5
11700  ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0.1") 2>&5
11701  ac_status=$?
11702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11703  test $ac_status = 0; }; then
11704  pkg_cv_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "fftw3f >= 3.0.1" 2>/dev/null`
11705else
11706  pkg_failed=yes
11707fi
11708 else
11709    pkg_failed=untried
11710fi
11711if test -n "$PLUGIN_LIBS"; then
11712    pkg_cv_PLUGIN_LIBS="$PLUGIN_LIBS"
11713 elif test -n "$PKG_CONFIG"; then
11714    if test -n "$PKG_CONFIG" && \
11715    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f >= 3.0.1\""; } >&5
11716  ($PKG_CONFIG --exists --print-errors "fftw3f >= 3.0.1") 2>&5
11717  ac_status=$?
11718  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11719  test $ac_status = 0; }; then
11720  pkg_cv_PLUGIN_LIBS=`$PKG_CONFIG --libs "fftw3f >= 3.0.1" 2>/dev/null`
11721else
11722  pkg_failed=yes
11723fi
11724 else
11725    pkg_failed=untried
11726fi
11727
11728
11729
11730if test $pkg_failed = yes; then
11731   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11732$as_echo "no" >&6; }
11733
11734if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11735        _pkg_short_errors_supported=yes
11736else
11737        _pkg_short_errors_supported=no
11738fi
11739        if test $_pkg_short_errors_supported = yes; then
11740	        PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fftw3f >= 3.0.1" 2>&1`
11741        else
11742	        PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "fftw3f >= 3.0.1" 2>&1`
11743        fi
11744	# Put the nasty error message in config.log where it belongs
11745	echo "$PLUGIN_PKG_ERRORS" >&5
11746
11747	as_fn_error $? "Package requirements (fftw3f >= 3.0.1) were not met:
11748
11749$PLUGIN_PKG_ERRORS
11750
11751Consider adjusting the PKG_CONFIG_PATH environment variable if you
11752installed software in a non-standard prefix.
11753
11754Alternatively, you may set the environment variables PLUGIN_CFLAGS
11755and PLUGIN_LIBS to avoid the need to call pkg-config.
11756See the pkg-config man page for more details." "$LINENO" 5
11757elif test $pkg_failed = untried; then
11758     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759$as_echo "no" >&6; }
11760	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11762as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11763is in your PATH or set the PKG_CONFIG environment variable to the full
11764path to pkg-config.
11765
11766Alternatively, you may set the environment variables PLUGIN_CFLAGS
11767and PLUGIN_LIBS to avoid the need to call pkg-config.
11768See the pkg-config man page for more details.
11769
11770To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11771See \`config.log' for more details" "$LINENO" 5; }
11772else
11773	PLUGIN_CFLAGS=$pkg_cv_PLUGIN_CFLAGS
11774	PLUGIN_LIBS=$pkg_cv_PLUGIN_LIBS
11775        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11776$as_echo "yes" >&6; }
11777
11778fi
11779
11780pkg_failed=no
11781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI" >&5
11782$as_echo_n "checking for GUI... " >&6; }
11783
11784if test -n "$GUI_CFLAGS"; then
11785    pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
11786 elif test -n "$PKG_CONFIG"; then
11787    if test -n "$PKG_CONFIG" && \
11788    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
11789  ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
11790  ac_status=$?
11791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11792  test $ac_status = 0; }; then
11793  pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "liblo >= 0.12" 2>/dev/null`
11794else
11795  pkg_failed=yes
11796fi
11797 else
11798    pkg_failed=untried
11799fi
11800if test -n "$GUI_LIBS"; then
11801    pkg_cv_GUI_LIBS="$GUI_LIBS"
11802 elif test -n "$PKG_CONFIG"; then
11803    if test -n "$PKG_CONFIG" && \
11804    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
11805  ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
11806  ac_status=$?
11807  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11808  test $ac_status = 0; }; then
11809  pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "liblo >= 0.12" 2>/dev/null`
11810else
11811  pkg_failed=yes
11812fi
11813 else
11814    pkg_failed=untried
11815fi
11816
11817
11818
11819if test $pkg_failed = yes; then
11820   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11821$as_echo "no" >&6; }
11822
11823if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11824        _pkg_short_errors_supported=yes
11825else
11826        _pkg_short_errors_supported=no
11827fi
11828        if test $_pkg_short_errors_supported = yes; then
11829	        GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "liblo >= 0.12" 2>&1`
11830        else
11831	        GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "liblo >= 0.12" 2>&1`
11832        fi
11833	# Put the nasty error message in config.log where it belongs
11834	echo "$GUI_PKG_ERRORS" >&5
11835
11836	as_fn_error $? "Package requirements (liblo >= 0.12) were not met:
11837
11838$GUI_PKG_ERRORS
11839
11840Consider adjusting the PKG_CONFIG_PATH environment variable if you
11841installed software in a non-standard prefix.
11842
11843Alternatively, you may set the environment variables GUI_CFLAGS
11844and GUI_LIBS to avoid the need to call pkg-config.
11845See the pkg-config man page for more details." "$LINENO" 5
11846elif test $pkg_failed = untried; then
11847     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848$as_echo "no" >&6; }
11849	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11851as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11852is in your PATH or set the PKG_CONFIG environment variable to the full
11853path to pkg-config.
11854
11855Alternatively, you may set the environment variables GUI_CFLAGS
11856and GUI_LIBS to avoid the need to call pkg-config.
11857See the pkg-config man page for more details.
11858
11859To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11860See \`config.log' for more details" "$LINENO" 5; }
11861else
11862	GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
11863	GUI_LIBS=$pkg_cv_GUI_LIBS
11864        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11865$as_echo "yes" >&6; }
11866
11867fi
11868
11869with_gtk=no
11870# Check whether --enable-gtktest was given.
11871if test "${enable_gtktest+set}" = set; then :
11872  enableval=$enable_gtktest;
11873else
11874  enable_gtktest=yes
11875fi
11876
11877
11878  pkg_config_args=gtk+-2.0
11879  for module in .
11880  do
11881      case "$module" in
11882         gthread)
11883             pkg_config_args="$pkg_config_args gthread-2.0"
11884         ;;
11885      esac
11886  done
11887
11888  no_gtk=""
11889
11890  # Extract the first word of "pkg-config", so it can be a program name with args.
11891set dummy pkg-config; ac_word=$2
11892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11893$as_echo_n "checking for $ac_word... " >&6; }
11894if ${ac_cv_path_PKG_CONFIG+:} false; then :
11895  $as_echo_n "(cached) " >&6
11896else
11897  case $PKG_CONFIG in
11898  [\\/]* | ?:[\\/]*)
11899  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11900  ;;
11901  *)
11902  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11903for as_dir in $PATH
11904do
11905  IFS=$as_save_IFS
11906  test -z "$as_dir" && as_dir=.
11907    for ac_exec_ext in '' $ac_executable_extensions; do
11908  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11909    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11910    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11911    break 2
11912  fi
11913done
11914  done
11915IFS=$as_save_IFS
11916
11917  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11918  ;;
11919esac
11920fi
11921PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11922if test -n "$PKG_CONFIG"; then
11923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11924$as_echo "$PKG_CONFIG" >&6; }
11925else
11926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927$as_echo "no" >&6; }
11928fi
11929
11930
11931
11932  if test x$PKG_CONFIG != xno ; then
11933    if pkg-config --atleast-pkgconfig-version 0.7 ; then
11934      :
11935    else
11936      echo "*** pkg-config too old; version 0.7 or better required."
11937      no_gtk=yes
11938      PKG_CONFIG=no
11939    fi
11940  else
11941    no_gtk=yes
11942  fi
11943
11944  min_gtk_version=2.4.0
11945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
11946$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
11947
11948  if test x$PKG_CONFIG != xno ; then
11949    ## don't try to run the test against uninstalled libtool libs
11950    if $PKG_CONFIG --uninstalled $pkg_config_args; then
11951	  echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11952	  enable_gtktest=no
11953    fi
11954
11955    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11956	  :
11957    else
11958	  no_gtk=yes
11959    fi
11960  fi
11961
11962  if test x"$no_gtk" = x ; then
11963    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
11964    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
11965    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11966           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11967    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11968           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11969    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
11970           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11971    if test "x$enable_gtktest" = "xyes" ; then
11972      ac_save_CFLAGS="$CFLAGS"
11973      ac_save_LIBS="$LIBS"
11974      CFLAGS="$CFLAGS $GTK_CFLAGS"
11975      LIBS="$GTK_LIBS $LIBS"
11976      rm -f conf.gtktest
11977      if test "$cross_compiling" = yes; then :
11978  echo $ac_n "cross compiling; assumed OK... $ac_c"
11979else
11980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981/* end confdefs.h.  */
11982
11983#include <gtk/gtk.h>
11984#include <stdio.h>
11985#include <stdlib.h>
11986
11987int
11988main ()
11989{
11990  int major, minor, micro;
11991  char *tmp_version;
11992
11993  fclose (fopen ("conf.gtktest", "w"));
11994
11995  /* HP/UX 9 (%@#!) writes to sscanf strings */
11996  tmp_version = g_strdup("$min_gtk_version");
11997  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
11998     printf("%s, bad version string\n", "$min_gtk_version");
11999     exit(1);
12000   }
12001
12002  if ((gtk_major_version != $gtk_config_major_version) ||
12003      (gtk_minor_version != $gtk_config_minor_version) ||
12004      (gtk_micro_version != $gtk_config_micro_version))
12005    {
12006      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12007             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12008             gtk_major_version, gtk_minor_version, gtk_micro_version);
12009      printf ("*** was found! If pkg-config was correct, then it is best\n");
12010      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12011      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12012      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12013      printf("*** required on your system.\n");
12014      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12015      printf("*** to point to the correct configuration files\n");
12016    }
12017  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12018	   (gtk_minor_version != GTK_MINOR_VERSION) ||
12019           (gtk_micro_version != GTK_MICRO_VERSION))
12020    {
12021      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12022	     GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12023      printf("*** library (version %d.%d.%d)\n",
12024	     gtk_major_version, gtk_minor_version, gtk_micro_version);
12025    }
12026  else
12027    {
12028      if ((gtk_major_version > major) ||
12029        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12030        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12031      {
12032        return 0;
12033       }
12034     else
12035      {
12036        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12037               gtk_major_version, gtk_minor_version, gtk_micro_version);
12038        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12039	       major, minor, micro);
12040        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12041        printf("***\n");
12042        printf("*** If you have already installed a sufficiently new version, this error\n");
12043        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12044        printf("*** being found. The easiest way to fix this is to remove the old version\n");
12045        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12046        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12047        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12048        printf("*** so that the correct libraries are found at run-time))\n");
12049      }
12050    }
12051  return 1;
12052}
12053
12054_ACEOF
12055if ac_fn_c_try_run "$LINENO"; then :
12056
12057else
12058  no_gtk=yes
12059fi
12060rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12061  conftest.$ac_objext conftest.beam conftest.$ac_ext
12062fi
12063
12064       CFLAGS="$ac_save_CFLAGS"
12065       LIBS="$ac_save_LIBS"
12066     fi
12067  fi
12068  if test "x$no_gtk" = x ; then
12069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
12070$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
12071     with_gtk='yes'
12072  else
12073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12074$as_echo "no" >&6; }
12075     if test "$PKG_CONFIG" = "no" ; then
12076       echo "*** A new enough version of pkg-config was not found."
12077       echo "*** See http://pkgconfig.sourceforge.net"
12078     else
12079       if test -f conf.gtktest ; then
12080        :
12081       else
12082          echo "*** Could not run GTK+ test program, checking why..."
12083	  ac_save_CFLAGS="$CFLAGS"
12084	  ac_save_LIBS="$LIBS"
12085          CFLAGS="$CFLAGS $GTK_CFLAGS"
12086          LIBS="$LIBS $GTK_LIBS"
12087          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088/* end confdefs.h.  */
12089
12090#include <gtk/gtk.h>
12091#include <stdio.h>
12092
12093int
12094main ()
12095{
12096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12097  ;
12098  return 0;
12099}
12100_ACEOF
12101if ac_fn_c_try_link "$LINENO"; then :
12102   echo "*** The test program compiled, but did not run. This usually means"
12103          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12104          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12105          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12106          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
12107          echo "*** is required on your system"
12108	  echo "***"
12109          echo "*** If you have an old version installed, it is best to remove it, although"
12110          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12111else
12112   echo "*** The test program failed to compile or link. See the file config.log for the"
12113          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12114fi
12115rm -f core conftest.err conftest.$ac_objext \
12116    conftest$ac_exeext conftest.$ac_ext
12117          CFLAGS="$ac_save_CFLAGS"
12118          LIBS="$ac_save_LIBS"
12119       fi
12120     fi
12121     GTK_CFLAGS=""
12122     GTK_LIBS=""
12123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GUI will not be built; GTK+ 2.4 or later needed" >&5
12124$as_echo "$as_me: WARNING: GUI will not be built; GTK+ 2.4 or later needed" >&2;}
12125  fi
12126
12127
12128  rm -f conf.gtktest
12129
12130 if test "x${with_gtk}" != 'xno'; then
12131  BUILD_GUI_TRUE=
12132  BUILD_GUI_FALSE='#'
12133else
12134  BUILD_GUI_TRUE='#'
12135  BUILD_GUI_FALSE=
12136fi
12137
12138
12139# Check whether --enable-developer was given.
12140if test "${enable_developer+set}" = set; then :
12141  enableval=$enable_developer;  if test $enableval = "yes"; then
12142
12143$as_echo "#define DEVELOPER 1" >>confdefs.h
12144
12145                fi
12146fi
12147
12148
12149case "${host_os}" in
12150darwin*)
12151  darwin=yes
12152
12153pkg_failed=no
12154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12155$as_echo_n "checking for ALSA... " >&6; }
12156
12157if test -n "$ALSA_CFLAGS"; then
12158    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12159 elif test -n "$PKG_CONFIG"; then
12160    if test -n "$PKG_CONFIG" && \
12161    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12162  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12163  ac_status=$?
12164  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12165  test $ac_status = 0; }; then
12166  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
12167else
12168  pkg_failed=yes
12169fi
12170 else
12171    pkg_failed=untried
12172fi
12173if test -n "$ALSA_LIBS"; then
12174    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12175 elif test -n "$PKG_CONFIG"; then
12176    if test -n "$PKG_CONFIG" && \
12177    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12178  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12179  ac_status=$?
12180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12181  test $ac_status = 0; }; then
12182  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
12183else
12184  pkg_failed=yes
12185fi
12186 else
12187    pkg_failed=untried
12188fi
12189
12190
12191
12192if test $pkg_failed = yes; then
12193   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194$as_echo "no" >&6; }
12195
12196if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12197        _pkg_short_errors_supported=yes
12198else
12199        _pkg_short_errors_supported=no
12200fi
12201        if test $_pkg_short_errors_supported = yes; then
12202	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdssialsacompat" 2>&1`
12203        else
12204	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdssialsacompat" 2>&1`
12205        fi
12206	# Put the nasty error message in config.log where it belongs
12207	echo "$ALSA_PKG_ERRORS" >&5
12208
12209	as_fn_error $? "Package requirements (libdssialsacompat) were not met:
12210
12211$ALSA_PKG_ERRORS
12212
12213Consider adjusting the PKG_CONFIG_PATH environment variable if you
12214installed software in a non-standard prefix.
12215
12216Alternatively, you may set the environment variables ALSA_CFLAGS
12217and ALSA_LIBS to avoid the need to call pkg-config.
12218See the pkg-config man page for more details." "$LINENO" 5
12219elif test $pkg_failed = untried; then
12220     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221$as_echo "no" >&6; }
12222	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12223$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12224as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12225is in your PATH or set the PKG_CONFIG environment variable to the full
12226path to pkg-config.
12227
12228Alternatively, you may set the environment variables ALSA_CFLAGS
12229and ALSA_LIBS to avoid the need to call pkg-config.
12230See the pkg-config man page for more details.
12231
12232To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12233See \`config.log' for more details" "$LINENO" 5; }
12234else
12235	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12236	ALSA_LIBS=$pkg_cv_ALSA_LIBS
12237        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12238$as_echo "yes" >&6; }
12239
12240fi
12241  ;;
12242freebsd*)
12243  darwin=no
12244
12245pkg_failed=no
12246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12247$as_echo_n "checking for ALSA... " >&6; }
12248
12249if test -n "$ALSA_CFLAGS"; then
12250    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12251 elif test -n "$PKG_CONFIG"; then
12252    if test -n "$PKG_CONFIG" && \
12253    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12254  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12255  ac_status=$?
12256  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12257  test $ac_status = 0; }; then
12258  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
12259else
12260  pkg_failed=yes
12261fi
12262 else
12263    pkg_failed=untried
12264fi
12265if test -n "$ALSA_LIBS"; then
12266    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12267 elif test -n "$PKG_CONFIG"; then
12268    if test -n "$PKG_CONFIG" && \
12269    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12270  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12271  ac_status=$?
12272  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273  test $ac_status = 0; }; then
12274  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
12275else
12276  pkg_failed=yes
12277fi
12278 else
12279    pkg_failed=untried
12280fi
12281
12282
12283
12284if test $pkg_failed = yes; then
12285   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286$as_echo "no" >&6; }
12287
12288if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12289        _pkg_short_errors_supported=yes
12290else
12291        _pkg_short_errors_supported=no
12292fi
12293        if test $_pkg_short_errors_supported = yes; then
12294	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdssialsacompat" 2>&1`
12295        else
12296	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdssialsacompat" 2>&1`
12297        fi
12298	# Put the nasty error message in config.log where it belongs
12299	echo "$ALSA_PKG_ERRORS" >&5
12300
12301	as_fn_error $? "Package requirements (libdssialsacompat) were not met:
12302
12303$ALSA_PKG_ERRORS
12304
12305Consider adjusting the PKG_CONFIG_PATH environment variable if you
12306installed software in a non-standard prefix.
12307
12308Alternatively, you may set the environment variables ALSA_CFLAGS
12309and ALSA_LIBS to avoid the need to call pkg-config.
12310See the pkg-config man page for more details." "$LINENO" 5
12311elif test $pkg_failed = untried; then
12312     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313$as_echo "no" >&6; }
12314	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12316as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12317is in your PATH or set the PKG_CONFIG environment variable to the full
12318path to pkg-config.
12319
12320Alternatively, you may set the environment variables ALSA_CFLAGS
12321and ALSA_LIBS to avoid the need to call pkg-config.
12322See the pkg-config man page for more details.
12323
12324To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12325See \`config.log' for more details" "$LINENO" 5; }
12326else
12327	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12328	ALSA_LIBS=$pkg_cv_ALSA_LIBS
12329        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12330$as_echo "yes" >&6; }
12331
12332fi
12333  ;;
12334*)
12335  darwin=no
12336
12337pkg_failed=no
12338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12339$as_echo_n "checking for ALSA... " >&6; }
12340
12341if test -n "$ALSA_CFLAGS"; then
12342    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12343 elif test -n "$PKG_CONFIG"; then
12344    if test -n "$PKG_CONFIG" && \
12345    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
12346  ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
12347  ac_status=$?
12348  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12349  test $ac_status = 0; }; then
12350  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
12351else
12352  pkg_failed=yes
12353fi
12354 else
12355    pkg_failed=untried
12356fi
12357if test -n "$ALSA_LIBS"; then
12358    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12359 elif test -n "$PKG_CONFIG"; then
12360    if test -n "$PKG_CONFIG" && \
12361    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
12362  ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
12363  ac_status=$?
12364  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12365  test $ac_status = 0; }; then
12366  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
12367else
12368  pkg_failed=yes
12369fi
12370 else
12371    pkg_failed=untried
12372fi
12373
12374
12375
12376if test $pkg_failed = yes; then
12377   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378$as_echo "no" >&6; }
12379
12380if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12381        _pkg_short_errors_supported=yes
12382else
12383        _pkg_short_errors_supported=no
12384fi
12385        if test $_pkg_short_errors_supported = yes; then
12386	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
12387        else
12388	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
12389        fi
12390	# Put the nasty error message in config.log where it belongs
12391	echo "$ALSA_PKG_ERRORS" >&5
12392
12393	as_fn_error $? "Package requirements (alsa) were not met:
12394
12395$ALSA_PKG_ERRORS
12396
12397Consider adjusting the PKG_CONFIG_PATH environment variable if you
12398installed software in a non-standard prefix.
12399
12400Alternatively, you may set the environment variables ALSA_CFLAGS
12401and ALSA_LIBS to avoid the need to call pkg-config.
12402See the pkg-config man page for more details." "$LINENO" 5
12403elif test $pkg_failed = untried; then
12404     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405$as_echo "no" >&6; }
12406	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12407$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12408as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12409is in your PATH or set the PKG_CONFIG environment variable to the full
12410path to pkg-config.
12411
12412Alternatively, you may set the environment variables ALSA_CFLAGS
12413and ALSA_LIBS to avoid the need to call pkg-config.
12414See the pkg-config man page for more details.
12415
12416To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12417See \`config.log' for more details" "$LINENO" 5; }
12418else
12419	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12420	ALSA_LIBS=$pkg_cv_ALSA_LIBS
12421        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12422$as_echo "yes" >&6; }
12423
12424fi
12425  ;;
12426esac
12427 if test x$darwin = xyes; then
12428  DARWIN_TRUE=
12429  DARWIN_FALSE='#'
12430else
12431  DARWIN_TRUE='#'
12432  DARWIN_FALSE=
12433fi
12434
12435
12436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for newlocale in xlocale.h" >&5
12437$as_echo_n "checking for newlocale in xlocale.h... " >&6; }
12438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439/* end confdefs.h.  */
12440
12441    #include <xlocale.h>
12442
12443int
12444main ()
12445{
12446newlocale(LC_ALL_MASK, "C", NULL)
12447  ;
12448  return 0;
12449}
12450_ACEOF
12451if ac_fn_c_try_compile "$LINENO"; then :
12452  use_xlocale=yes
12453else
12454  use_xlocale=no
12455fi
12456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12457if test "$use_xlocale" = "yes"; then
12458
12459$as_echo "#define THREAD_LOCALE_XLOCALE_H 1" >>confdefs.h
12460
12461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12462$as_echo "yes" >&6; }
12463else
12464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465$as_echo "no" >&6; }
12466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for newlocale in locale.h" >&5
12467$as_echo_n "checking for newlocale in locale.h... " >&6; }
12468  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469/* end confdefs.h.  */
12470
12471      #define _XOPEN_SOURCE 700
12472      #define _GNU_SOURCE
12473      #include <locale.h>
12474
12475int
12476main ()
12477{
12478newlocale(LC_ALL_MASK, "C", NULL)
12479  ;
12480  return 0;
12481}
12482_ACEOF
12483if ac_fn_c_try_compile "$LINENO"; then :
12484  use_locale=yes
12485else
12486  use_locale=no
12487fi
12488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12489  if test "$use_locale" = "yes"; then
12490
12491$as_echo "#define THREAD_LOCALE_LOCALE_H 1" >>confdefs.h
12492
12493    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12494$as_echo "yes" >&6; }
12495  else
12496    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: newlocale()/uselocale() not found, patch loading may fail in non-C locales" >&5
12497$as_echo "$as_me: WARNING: newlocale()/uselocale() not found, patch loading may fail in non-C locales" >&2;}
12498    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499$as_echo "no" >&6; }
12500  fi
12501fi
12502
12503CFLAGS="$CFLAGS $ALSA_CFLAGS $COMMON_CFLAGS"
12504LDFLAGS="$LDFLAGS $ALSA_LIBS $COMMON_LIBS"
12505if test "x$GCC" = "xyes"; then
12506  case " $CFLAGS " in
12507  *[\ \	]-Wall[\ \	]*) ;;
12508  *) CFLAGS="$CFLAGS -Wall" ;;
12509  esac
12510  case " $CFLAGS " in
12511  *[\ \	]-O[1-9][\ \	]*) ;;
12512  *) CFLAGS="$CFLAGS -O2" ;;
12513  esac
12514  case " $CFLAGS " in
12515  *[\ \	]-ffast-math[\ \	]*) ;;
12516  *)  PLUGIN_CFLAGS="$PLUGIN_CFLAGS -fomit-frame-pointer -funroll-loops -finline-functions -ffast-math"
12517      # add '-finline-limit=...' only for GCC 3.x and 4.x:
12518      case `$CC -dumpversion 2>/dev/null` in
12519      # these --params are also in 3.4.6, but not in 3.3.6
12520      4.*) PLUGIN_CFLAGS="$PLUGIN_CFLAGS  --param large-function-growth=4900 --param inline-unit-growth=900" ;;
12521      3.*) PLUGIN_CFLAGS="$PLUGIN_CFLAGS " ;;
12522      esac
12523      if test "x$enable_developer" = "xyes"; then
12524        PLUGIN_CFLAGS="$PLUGIN_CFLAGS -Winline"
12525      fi ;;
12526  esac
12527fi
12528
12529
12530
12531
12532
12533ac_config_files="$ac_config_files Makefile src/Makefile"
12534
12535cat >confcache <<\_ACEOF
12536# This file is a shell script that caches the results of configure
12537# tests run on this system so they can be shared between configure
12538# scripts and configure runs, see configure's option --config-cache.
12539# It is not useful on other systems.  If it contains results you don't
12540# want to keep, you may remove or edit it.
12541#
12542# config.status only pays attention to the cache file if you give it
12543# the --recheck option to rerun configure.
12544#
12545# `ac_cv_env_foo' variables (set or unset) will be overridden when
12546# loading this file, other *unset* `ac_cv_foo' will be assigned the
12547# following values.
12548
12549_ACEOF
12550
12551# The following way of writing the cache mishandles newlines in values,
12552# but we know of no workaround that is simple, portable, and efficient.
12553# So, we kill variables containing newlines.
12554# Ultrix sh set writes to stderr and can't be redirected directly,
12555# and sets the high bit in the cache file unless we assign to the vars.
12556(
12557  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12558    eval ac_val=\$$ac_var
12559    case $ac_val in #(
12560    *${as_nl}*)
12561      case $ac_var in #(
12562      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12563$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12564      esac
12565      case $ac_var in #(
12566      _ | IFS | as_nl) ;; #(
12567      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12568      *) { eval $ac_var=; unset $ac_var;} ;;
12569      esac ;;
12570    esac
12571  done
12572
12573  (set) 2>&1 |
12574    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12575    *${as_nl}ac_space=\ *)
12576      # `set' does not quote correctly, so add quotes: double-quote
12577      # substitution turns \\\\ into \\, and sed turns \\ into \.
12578      sed -n \
12579	"s/'/'\\\\''/g;
12580	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12581      ;; #(
12582    *)
12583      # `set' quotes correctly as required by POSIX, so do not add quotes.
12584      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12585      ;;
12586    esac |
12587    sort
12588) |
12589  sed '
12590     /^ac_cv_env_/b end
12591     t clear
12592     :clear
12593     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12594     t end
12595     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12596     :end' >>confcache
12597if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12598  if test -w "$cache_file"; then
12599    if test "x$cache_file" != "x/dev/null"; then
12600      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12601$as_echo "$as_me: updating cache $cache_file" >&6;}
12602      if test ! -f "$cache_file" || test -h "$cache_file"; then
12603	cat confcache >"$cache_file"
12604      else
12605        case $cache_file in #(
12606        */* | ?:*)
12607	  mv -f confcache "$cache_file"$$ &&
12608	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12609        *)
12610	  mv -f confcache "$cache_file" ;;
12611	esac
12612      fi
12613    fi
12614  else
12615    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12616$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12617  fi
12618fi
12619rm -f confcache
12620
12621test "x$prefix" = xNONE && prefix=$ac_default_prefix
12622# Let make expand exec_prefix.
12623test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12624
12625DEFS=-DHAVE_CONFIG_H
12626
12627ac_libobjs=
12628ac_ltlibobjs=
12629U=
12630for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12631  # 1. Remove the extension, and $U if already installed.
12632  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12633  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12634  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12635  #    will be set to the directory where LIBOBJS objects are built.
12636  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12637  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12638done
12639LIBOBJS=$ac_libobjs
12640
12641LTLIBOBJS=$ac_ltlibobjs
12642
12643
12644 if test -n "$EXEEXT"; then
12645  am__EXEEXT_TRUE=
12646  am__EXEEXT_FALSE='#'
12647else
12648  am__EXEEXT_TRUE='#'
12649  am__EXEEXT_FALSE=
12650fi
12651
12652if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12653  as_fn_error $? "conditional \"AMDEP\" was never defined.
12654Usually this means the macro was only invoked conditionally." "$LINENO" 5
12655fi
12656if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12657  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12658Usually this means the macro was only invoked conditionally." "$LINENO" 5
12659fi
12660
12661if test -z "${BUILD_GUI_TRUE}" && test -z "${BUILD_GUI_FALSE}"; then
12662  as_fn_error $? "conditional \"BUILD_GUI\" was never defined.
12663Usually this means the macro was only invoked conditionally." "$LINENO" 5
12664fi
12665if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
12666  as_fn_error $? "conditional \"DARWIN\" was never defined.
12667Usually this means the macro was only invoked conditionally." "$LINENO" 5
12668fi
12669
12670: "${CONFIG_STATUS=./config.status}"
12671ac_write_fail=0
12672ac_clean_files_save=$ac_clean_files
12673ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12674{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12675$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12676as_write_fail=0
12677cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12678#! $SHELL
12679# Generated by $as_me.
12680# Run this file to recreate the current configuration.
12681# Compiler output produced by configure, useful for debugging
12682# configure, is in config.log if it exists.
12683
12684debug=false
12685ac_cs_recheck=false
12686ac_cs_silent=false
12687
12688SHELL=\${CONFIG_SHELL-$SHELL}
12689export SHELL
12690_ASEOF
12691cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12692## -------------------- ##
12693## M4sh Initialization. ##
12694## -------------------- ##
12695
12696# Be more Bourne compatible
12697DUALCASE=1; export DUALCASE # for MKS sh
12698if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12699  emulate sh
12700  NULLCMD=:
12701  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12702  # is contrary to our usage.  Disable this feature.
12703  alias -g '${1+"$@"}'='"$@"'
12704  setopt NO_GLOB_SUBST
12705else
12706  case `(set -o) 2>/dev/null` in #(
12707  *posix*) :
12708    set -o posix ;; #(
12709  *) :
12710     ;;
12711esac
12712fi
12713
12714
12715as_nl='
12716'
12717export as_nl
12718# Printing a long string crashes Solaris 7 /usr/bin/printf.
12719as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12720as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12721as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12722# Prefer a ksh shell builtin over an external printf program on Solaris,
12723# but without wasting forks for bash or zsh.
12724if test -z "$BASH_VERSION$ZSH_VERSION" \
12725    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12726  as_echo='print -r --'
12727  as_echo_n='print -rn --'
12728elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12729  as_echo='printf %s\n'
12730  as_echo_n='printf %s'
12731else
12732  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12733    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12734    as_echo_n='/usr/ucb/echo -n'
12735  else
12736    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12737    as_echo_n_body='eval
12738      arg=$1;
12739      case $arg in #(
12740      *"$as_nl"*)
12741	expr "X$arg" : "X\\(.*\\)$as_nl";
12742	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12743      esac;
12744      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12745    '
12746    export as_echo_n_body
12747    as_echo_n='sh -c $as_echo_n_body as_echo'
12748  fi
12749  export as_echo_body
12750  as_echo='sh -c $as_echo_body as_echo'
12751fi
12752
12753# The user is always right.
12754if test "${PATH_SEPARATOR+set}" != set; then
12755  PATH_SEPARATOR=:
12756  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12757    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12758      PATH_SEPARATOR=';'
12759  }
12760fi
12761
12762
12763# IFS
12764# We need space, tab and new line, in precisely that order.  Quoting is
12765# there to prevent editors from complaining about space-tab.
12766# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12767# splitting by setting IFS to empty value.)
12768IFS=" ""	$as_nl"
12769
12770# Find who we are.  Look in the path if we contain no directory separator.
12771as_myself=
12772case $0 in #((
12773  *[\\/]* ) as_myself=$0 ;;
12774  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12775for as_dir in $PATH
12776do
12777  IFS=$as_save_IFS
12778  test -z "$as_dir" && as_dir=.
12779    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12780  done
12781IFS=$as_save_IFS
12782
12783     ;;
12784esac
12785# We did not find ourselves, most probably we were run as `sh COMMAND'
12786# in which case we are not to be found in the path.
12787if test "x$as_myself" = x; then
12788  as_myself=$0
12789fi
12790if test ! -f "$as_myself"; then
12791  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12792  exit 1
12793fi
12794
12795# Unset variables that we do not need and which cause bugs (e.g. in
12796# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12797# suppresses any "Segmentation fault" message there.  '((' could
12798# trigger a bug in pdksh 5.2.14.
12799for as_var in BASH_ENV ENV MAIL MAILPATH
12800do eval test x\${$as_var+set} = xset \
12801  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12802done
12803PS1='$ '
12804PS2='> '
12805PS4='+ '
12806
12807# NLS nuisances.
12808LC_ALL=C
12809export LC_ALL
12810LANGUAGE=C
12811export LANGUAGE
12812
12813# CDPATH.
12814(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12815
12816
12817# as_fn_error STATUS ERROR [LINENO LOG_FD]
12818# ----------------------------------------
12819# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12820# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12821# script with STATUS, using 1 if that was 0.
12822as_fn_error ()
12823{
12824  as_status=$1; test $as_status -eq 0 && as_status=1
12825  if test "$4"; then
12826    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12827    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12828  fi
12829  $as_echo "$as_me: error: $2" >&2
12830  as_fn_exit $as_status
12831} # as_fn_error
12832
12833
12834# as_fn_set_status STATUS
12835# -----------------------
12836# Set $? to STATUS, without forking.
12837as_fn_set_status ()
12838{
12839  return $1
12840} # as_fn_set_status
12841
12842# as_fn_exit STATUS
12843# -----------------
12844# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12845as_fn_exit ()
12846{
12847  set +e
12848  as_fn_set_status $1
12849  exit $1
12850} # as_fn_exit
12851
12852# as_fn_unset VAR
12853# ---------------
12854# Portably unset VAR.
12855as_fn_unset ()
12856{
12857  { eval $1=; unset $1;}
12858}
12859as_unset=as_fn_unset
12860# as_fn_append VAR VALUE
12861# ----------------------
12862# Append the text in VALUE to the end of the definition contained in VAR. Take
12863# advantage of any shell optimizations that allow amortized linear growth over
12864# repeated appends, instead of the typical quadratic growth present in naive
12865# implementations.
12866if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12867  eval 'as_fn_append ()
12868  {
12869    eval $1+=\$2
12870  }'
12871else
12872  as_fn_append ()
12873  {
12874    eval $1=\$$1\$2
12875  }
12876fi # as_fn_append
12877
12878# as_fn_arith ARG...
12879# ------------------
12880# Perform arithmetic evaluation on the ARGs, and store the result in the
12881# global $as_val. Take advantage of shells that can avoid forks. The arguments
12882# must be portable across $(()) and expr.
12883if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12884  eval 'as_fn_arith ()
12885  {
12886    as_val=$(( $* ))
12887  }'
12888else
12889  as_fn_arith ()
12890  {
12891    as_val=`expr "$@" || test $? -eq 1`
12892  }
12893fi # as_fn_arith
12894
12895
12896if expr a : '\(a\)' >/dev/null 2>&1 &&
12897   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12898  as_expr=expr
12899else
12900  as_expr=false
12901fi
12902
12903if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12904  as_basename=basename
12905else
12906  as_basename=false
12907fi
12908
12909if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12910  as_dirname=dirname
12911else
12912  as_dirname=false
12913fi
12914
12915as_me=`$as_basename -- "$0" ||
12916$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12917	 X"$0" : 'X\(//\)$' \| \
12918	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12919$as_echo X/"$0" |
12920    sed '/^.*\/\([^/][^/]*\)\/*$/{
12921	    s//\1/
12922	    q
12923	  }
12924	  /^X\/\(\/\/\)$/{
12925	    s//\1/
12926	    q
12927	  }
12928	  /^X\/\(\/\).*/{
12929	    s//\1/
12930	    q
12931	  }
12932	  s/.*/./; q'`
12933
12934# Avoid depending upon Character Ranges.
12935as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12936as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12937as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12938as_cr_digits='0123456789'
12939as_cr_alnum=$as_cr_Letters$as_cr_digits
12940
12941ECHO_C= ECHO_N= ECHO_T=
12942case `echo -n x` in #(((((
12943-n*)
12944  case `echo 'xy\c'` in
12945  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
12946  xy)  ECHO_C='\c';;
12947  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12948       ECHO_T='	';;
12949  esac;;
12950*)
12951  ECHO_N='-n';;
12952esac
12953
12954rm -f conf$$ conf$$.exe conf$$.file
12955if test -d conf$$.dir; then
12956  rm -f conf$$.dir/conf$$.file
12957else
12958  rm -f conf$$.dir
12959  mkdir conf$$.dir 2>/dev/null
12960fi
12961if (echo >conf$$.file) 2>/dev/null; then
12962  if ln -s conf$$.file conf$$ 2>/dev/null; then
12963    as_ln_s='ln -s'
12964    # ... but there are two gotchas:
12965    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12966    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12967    # In both cases, we have to default to `cp -p'.
12968    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12969      as_ln_s='cp -p'
12970  elif ln conf$$.file conf$$ 2>/dev/null; then
12971    as_ln_s=ln
12972  else
12973    as_ln_s='cp -p'
12974  fi
12975else
12976  as_ln_s='cp -p'
12977fi
12978rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12979rmdir conf$$.dir 2>/dev/null
12980
12981
12982# as_fn_mkdir_p
12983# -------------
12984# Create "$as_dir" as a directory, including parents if necessary.
12985as_fn_mkdir_p ()
12986{
12987
12988  case $as_dir in #(
12989  -*) as_dir=./$as_dir;;
12990  esac
12991  test -d "$as_dir" || eval $as_mkdir_p || {
12992    as_dirs=
12993    while :; do
12994      case $as_dir in #(
12995      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12996      *) as_qdir=$as_dir;;
12997      esac
12998      as_dirs="'$as_qdir' $as_dirs"
12999      as_dir=`$as_dirname -- "$as_dir" ||
13000$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13001	 X"$as_dir" : 'X\(//\)[^/]' \| \
13002	 X"$as_dir" : 'X\(//\)$' \| \
13003	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13004$as_echo X"$as_dir" |
13005    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13006	    s//\1/
13007	    q
13008	  }
13009	  /^X\(\/\/\)[^/].*/{
13010	    s//\1/
13011	    q
13012	  }
13013	  /^X\(\/\/\)$/{
13014	    s//\1/
13015	    q
13016	  }
13017	  /^X\(\/\).*/{
13018	    s//\1/
13019	    q
13020	  }
13021	  s/.*/./; q'`
13022      test -d "$as_dir" && break
13023    done
13024    test -z "$as_dirs" || eval "mkdir $as_dirs"
13025  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13026
13027
13028} # as_fn_mkdir_p
13029if mkdir -p . 2>/dev/null; then
13030  as_mkdir_p='mkdir -p "$as_dir"'
13031else
13032  test -d ./-p && rmdir ./-p
13033  as_mkdir_p=false
13034fi
13035
13036if test -x / >/dev/null 2>&1; then
13037  as_test_x='test -x'
13038else
13039  if ls -dL / >/dev/null 2>&1; then
13040    as_ls_L_option=L
13041  else
13042    as_ls_L_option=
13043  fi
13044  as_test_x='
13045    eval sh -c '\''
13046      if test -d "$1"; then
13047	test -d "$1/.";
13048      else
13049	case $1 in #(
13050	-*)set "./$1";;
13051	esac;
13052	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13053	???[sx]*):;;*)false;;esac;fi
13054    '\'' sh
13055  '
13056fi
13057as_executable_p=$as_test_x
13058
13059# Sed expression to map a string onto a valid CPP name.
13060as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13061
13062# Sed expression to map a string onto a valid variable name.
13063as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13064
13065
13066exec 6>&1
13067## ----------------------------------- ##
13068## Main body of $CONFIG_STATUS script. ##
13069## ----------------------------------- ##
13070_ASEOF
13071test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13072
13073cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13074# Save the log message, to keep $0 and so on meaningful, and to
13075# report actual input values of CONFIG_FILES etc. instead of their
13076# values after options handling.
13077ac_log="
13078This file was extended by WhySynth $as_me 20120903, which was
13079generated by GNU Autoconf 2.68.  Invocation command line was
13080
13081  CONFIG_FILES    = $CONFIG_FILES
13082  CONFIG_HEADERS  = $CONFIG_HEADERS
13083  CONFIG_LINKS    = $CONFIG_LINKS
13084  CONFIG_COMMANDS = $CONFIG_COMMANDS
13085  $ $0 $@
13086
13087on `(hostname || uname -n) 2>/dev/null | sed 1q`
13088"
13089
13090_ACEOF
13091
13092case $ac_config_files in *"
13093"*) set x $ac_config_files; shift; ac_config_files=$*;;
13094esac
13095
13096case $ac_config_headers in *"
13097"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13098esac
13099
13100
13101cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13102# Files that config.status was made for.
13103config_files="$ac_config_files"
13104config_headers="$ac_config_headers"
13105config_commands="$ac_config_commands"
13106
13107_ACEOF
13108
13109cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13110ac_cs_usage="\
13111\`$as_me' instantiates files and other configuration actions
13112from templates according to the current configuration.  Unless the files
13113and actions are specified as TAGs, all are instantiated by default.
13114
13115Usage: $0 [OPTION]... [TAG]...
13116
13117  -h, --help       print this help, then exit
13118  -V, --version    print version number and configuration settings, then exit
13119      --config     print configuration, then exit
13120  -q, --quiet, --silent
13121                   do not print progress messages
13122  -d, --debug      don't remove temporary files
13123      --recheck    update $as_me by reconfiguring in the same conditions
13124      --file=FILE[:TEMPLATE]
13125                   instantiate the configuration file FILE
13126      --header=FILE[:TEMPLATE]
13127                   instantiate the configuration header FILE
13128
13129Configuration files:
13130$config_files
13131
13132Configuration headers:
13133$config_headers
13134
13135Configuration commands:
13136$config_commands
13137
13138Report bugs to <musound-at-jps-dot-net>."
13139
13140_ACEOF
13141cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13142ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13143ac_cs_version="\\
13144WhySynth config.status 20120903
13145configured by $0, generated by GNU Autoconf 2.68,
13146  with options \\"\$ac_cs_config\\"
13147
13148Copyright (C) 2010 Free Software Foundation, Inc.
13149This config.status script is free software; the Free Software Foundation
13150gives unlimited permission to copy, distribute and modify it."
13151
13152ac_pwd='$ac_pwd'
13153srcdir='$srcdir'
13154INSTALL='$INSTALL'
13155MKDIR_P='$MKDIR_P'
13156AWK='$AWK'
13157test -n "\$AWK" || AWK=awk
13158_ACEOF
13159
13160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13161# The default lists apply if the user does not specify any file.
13162ac_need_defaults=:
13163while test $# != 0
13164do
13165  case $1 in
13166  --*=?*)
13167    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13168    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13169    ac_shift=:
13170    ;;
13171  --*=)
13172    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13173    ac_optarg=
13174    ac_shift=:
13175    ;;
13176  *)
13177    ac_option=$1
13178    ac_optarg=$2
13179    ac_shift=shift
13180    ;;
13181  esac
13182
13183  case $ac_option in
13184  # Handling of the options.
13185  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13186    ac_cs_recheck=: ;;
13187  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13188    $as_echo "$ac_cs_version"; exit ;;
13189  --config | --confi | --conf | --con | --co | --c )
13190    $as_echo "$ac_cs_config"; exit ;;
13191  --debug | --debu | --deb | --de | --d | -d )
13192    debug=: ;;
13193  --file | --fil | --fi | --f )
13194    $ac_shift
13195    case $ac_optarg in
13196    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13197    '') as_fn_error $? "missing file argument" ;;
13198    esac
13199    as_fn_append CONFIG_FILES " '$ac_optarg'"
13200    ac_need_defaults=false;;
13201  --header | --heade | --head | --hea )
13202    $ac_shift
13203    case $ac_optarg in
13204    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13205    esac
13206    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13207    ac_need_defaults=false;;
13208  --he | --h)
13209    # Conflict between --help and --header
13210    as_fn_error $? "ambiguous option: \`$1'
13211Try \`$0 --help' for more information.";;
13212  --help | --hel | -h )
13213    $as_echo "$ac_cs_usage"; exit ;;
13214  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13215  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13216    ac_cs_silent=: ;;
13217
13218  # This is an error.
13219  -*) as_fn_error $? "unrecognized option: \`$1'
13220Try \`$0 --help' for more information." ;;
13221
13222  *) as_fn_append ac_config_targets " $1"
13223     ac_need_defaults=false ;;
13224
13225  esac
13226  shift
13227done
13228
13229ac_configure_extra_args=
13230
13231if $ac_cs_silent; then
13232  exec 6>/dev/null
13233  ac_configure_extra_args="$ac_configure_extra_args --silent"
13234fi
13235
13236_ACEOF
13237cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13238if \$ac_cs_recheck; then
13239  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13240  shift
13241  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13242  CONFIG_SHELL='$SHELL'
13243  export CONFIG_SHELL
13244  exec "\$@"
13245fi
13246
13247_ACEOF
13248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13249exec 5>>config.log
13250{
13251  echo
13252  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13253## Running $as_me. ##
13254_ASBOX
13255  $as_echo "$ac_log"
13256} >&5
13257
13258_ACEOF
13259cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13260#
13261# INIT-COMMANDS
13262#
13263AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13264
13265
13266# The HP-UX ksh and POSIX shell print the target directory to stdout
13267# if CDPATH is set.
13268(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13269
13270sed_quote_subst='$sed_quote_subst'
13271double_quote_subst='$double_quote_subst'
13272delay_variable_subst='$delay_variable_subst'
13273enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13274enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13275macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13276macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13277pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13278enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13279SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13280ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13281host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13282host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13283host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13284build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13285build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13286build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13287SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13288Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13289GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13290EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13291FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13292LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13293NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13294LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13295max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13296ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13297exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13298lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13299lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13300lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13301lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13302lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13303reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13304reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13305OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13306deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13307file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13308file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13309want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13310DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13311sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13312AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13313AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13314archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13315STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13316RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13317old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13318old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13319old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13320lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13321CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13322CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13323compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13324GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13325lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13326lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13327lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13328lt_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"`'
13329nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13330lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13331objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13332MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13333lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13334lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13335lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13336lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13337lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13338need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13339MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13340DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13341NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13342LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13343OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13344OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13345libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13346shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13347extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13348archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13349enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13350export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13351whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13352compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13353old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13354old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13355archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13356archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13357module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13358module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13359with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13360allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13361no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13362hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13363hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13364hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13365hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13366hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13367hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13368hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13369hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13370inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13371link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13372always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13373export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13374exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13375include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13376prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13377postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13378file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13379variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13380need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13381need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13382version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13383runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13384shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13385shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13386libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13387library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13388soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13389install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13390postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13391postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13392finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13393finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13394hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13395sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13396sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13397hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13398enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13399enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13400enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13401old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13402striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13403
13404LTCC='$LTCC'
13405LTCFLAGS='$LTCFLAGS'
13406compiler='$compiler_DEFAULT'
13407
13408# A function that is used when there is no print builtin or printf.
13409func_fallback_echo ()
13410{
13411  eval 'cat <<_LTECHO_EOF
13412\$1
13413_LTECHO_EOF'
13414}
13415
13416# Quote evaled strings.
13417for var in SHELL \
13418ECHO \
13419SED \
13420GREP \
13421EGREP \
13422FGREP \
13423LD \
13424NM \
13425LN_S \
13426lt_SP2NL \
13427lt_NL2SP \
13428reload_flag \
13429OBJDUMP \
13430deplibs_check_method \
13431file_magic_cmd \
13432file_magic_glob \
13433want_nocaseglob \
13434DLLTOOL \
13435sharedlib_from_linklib_cmd \
13436AR \
13437AR_FLAGS \
13438archiver_list_spec \
13439STRIP \
13440RANLIB \
13441CC \
13442CFLAGS \
13443compiler \
13444lt_cv_sys_global_symbol_pipe \
13445lt_cv_sys_global_symbol_to_cdecl \
13446lt_cv_sys_global_symbol_to_c_name_address \
13447lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13448nm_file_list_spec \
13449lt_prog_compiler_no_builtin_flag \
13450lt_prog_compiler_pic \
13451lt_prog_compiler_wl \
13452lt_prog_compiler_static \
13453lt_cv_prog_compiler_c_o \
13454need_locks \
13455MANIFEST_TOOL \
13456DSYMUTIL \
13457NMEDIT \
13458LIPO \
13459OTOOL \
13460OTOOL64 \
13461shrext_cmds \
13462export_dynamic_flag_spec \
13463whole_archive_flag_spec \
13464compiler_needs_object \
13465with_gnu_ld \
13466allow_undefined_flag \
13467no_undefined_flag \
13468hardcode_libdir_flag_spec \
13469hardcode_libdir_flag_spec_ld \
13470hardcode_libdir_separator \
13471exclude_expsyms \
13472include_expsyms \
13473file_list_spec \
13474variables_saved_for_relink \
13475libname_spec \
13476library_names_spec \
13477soname_spec \
13478install_override_mode \
13479finish_eval \
13480old_striplib \
13481striplib; do
13482    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13483    *[\\\\\\\`\\"\\\$]*)
13484      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13485      ;;
13486    *)
13487      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13488      ;;
13489    esac
13490done
13491
13492# Double-quote double-evaled strings.
13493for var in reload_cmds \
13494old_postinstall_cmds \
13495old_postuninstall_cmds \
13496old_archive_cmds \
13497extract_expsyms_cmds \
13498old_archive_from_new_cmds \
13499old_archive_from_expsyms_cmds \
13500archive_cmds \
13501archive_expsym_cmds \
13502module_cmds \
13503module_expsym_cmds \
13504export_symbols_cmds \
13505prelink_cmds \
13506postlink_cmds \
13507postinstall_cmds \
13508postuninstall_cmds \
13509finish_cmds \
13510sys_lib_search_path_spec \
13511sys_lib_dlsearch_path_spec; do
13512    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13513    *[\\\\\\\`\\"\\\$]*)
13514      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13515      ;;
13516    *)
13517      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13518      ;;
13519    esac
13520done
13521
13522ac_aux_dir='$ac_aux_dir'
13523xsi_shell='$xsi_shell'
13524lt_shell_append='$lt_shell_append'
13525
13526# See if we are running on zsh, and set the options which allow our
13527# commands through without removal of \ escapes INIT.
13528if test -n "\${ZSH_VERSION+set}" ; then
13529   setopt NO_GLOB_SUBST
13530fi
13531
13532
13533    PACKAGE='$PACKAGE'
13534    VERSION='$VERSION'
13535    TIMESTAMP='$TIMESTAMP'
13536    RM='$RM'
13537    ofile='$ofile'
13538
13539
13540
13541
13542_ACEOF
13543
13544cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13545
13546# Handling of arguments.
13547for ac_config_target in $ac_config_targets
13548do
13549  case $ac_config_target in
13550    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13551    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13552    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13553    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13554    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13555
13556  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13557  esac
13558done
13559
13560
13561# If the user did not use the arguments to specify the items to instantiate,
13562# then the envvar interface is used.  Set only those that are not.
13563# We use the long form for the default assignment because of an extremely
13564# bizarre bug on SunOS 4.1.3.
13565if $ac_need_defaults; then
13566  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13567  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13568  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13569fi
13570
13571# Have a temporary directory for convenience.  Make it in the build tree
13572# simply because there is no reason against having it here, and in addition,
13573# creating and moving files from /tmp can sometimes cause problems.
13574# Hook for its removal unless debugging.
13575# Note that there is a small window in which the directory will not be cleaned:
13576# after its creation but before its name has been assigned to `$tmp'.
13577$debug ||
13578{
13579  tmp= ac_tmp=
13580  trap 'exit_status=$?
13581  : "${ac_tmp:=$tmp}"
13582  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13583' 0
13584  trap 'as_fn_exit 1' 1 2 13 15
13585}
13586# Create a (secure) tmp directory for tmp files.
13587
13588{
13589  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13590  test -d "$tmp"
13591}  ||
13592{
13593  tmp=./conf$$-$RANDOM
13594  (umask 077 && mkdir "$tmp")
13595} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13596ac_tmp=$tmp
13597
13598# Set up the scripts for CONFIG_FILES section.
13599# No need to generate them if there are no CONFIG_FILES.
13600# This happens for instance with `./config.status config.h'.
13601if test -n "$CONFIG_FILES"; then
13602
13603
13604ac_cr=`echo X | tr X '\015'`
13605# On cygwin, bash can eat \r inside `` if the user requested igncr.
13606# But we know of no other shell where ac_cr would be empty at this
13607# point, so we can use a bashism as a fallback.
13608if test "x$ac_cr" = x; then
13609  eval ac_cr=\$\'\\r\'
13610fi
13611ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13612if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13613  ac_cs_awk_cr='\\r'
13614else
13615  ac_cs_awk_cr=$ac_cr
13616fi
13617
13618echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13619_ACEOF
13620
13621
13622{
13623  echo "cat >conf$$subs.awk <<_ACEOF" &&
13624  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13625  echo "_ACEOF"
13626} >conf$$subs.sh ||
13627  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13628ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13629ac_delim='%!_!# '
13630for ac_last_try in false false false false false :; do
13631  . ./conf$$subs.sh ||
13632    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13633
13634  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13635  if test $ac_delim_n = $ac_delim_num; then
13636    break
13637  elif $ac_last_try; then
13638    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13639  else
13640    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13641  fi
13642done
13643rm -f conf$$subs.sh
13644
13645cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13646cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13647_ACEOF
13648sed -n '
13649h
13650s/^/S["/; s/!.*/"]=/
13651p
13652g
13653s/^[^!]*!//
13654:repl
13655t repl
13656s/'"$ac_delim"'$//
13657t delim
13658:nl
13659h
13660s/\(.\{148\}\)..*/\1/
13661t more1
13662s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13663p
13664n
13665b repl
13666:more1
13667s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13668p
13669g
13670s/.\{148\}//
13671t nl
13672:delim
13673h
13674s/\(.\{148\}\)..*/\1/
13675t more2
13676s/["\\]/\\&/g; s/^/"/; s/$/"/
13677p
13678b
13679:more2
13680s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13681p
13682g
13683s/.\{148\}//
13684t delim
13685' <conf$$subs.awk | sed '
13686/^[^""]/{
13687  N
13688  s/\n//
13689}
13690' >>$CONFIG_STATUS || ac_write_fail=1
13691rm -f conf$$subs.awk
13692cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13693_ACAWK
13694cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13695  for (key in S) S_is_set[key] = 1
13696  FS = ""
13697
13698}
13699{
13700  line = $ 0
13701  nfields = split(line, field, "@")
13702  substed = 0
13703  len = length(field[1])
13704  for (i = 2; i < nfields; i++) {
13705    key = field[i]
13706    keylen = length(key)
13707    if (S_is_set[key]) {
13708      value = S[key]
13709      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13710      len += length(value) + length(field[++i])
13711      substed = 1
13712    } else
13713      len += 1 + keylen
13714  }
13715
13716  print line
13717}
13718
13719_ACAWK
13720_ACEOF
13721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13722if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13723  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13724else
13725  cat
13726fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13727  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13728_ACEOF
13729
13730# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13731# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13732# trailing colons and then remove the whole line if VPATH becomes empty
13733# (actually we leave an empty line to preserve line numbers).
13734if test "x$srcdir" = x.; then
13735  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13736h
13737s///
13738s/^/:/
13739s/[	 ]*$/:/
13740s/:\$(srcdir):/:/g
13741s/:\${srcdir}:/:/g
13742s/:@srcdir@:/:/g
13743s/^:*//
13744s/:*$//
13745x
13746s/\(=[	 ]*\).*/\1/
13747G
13748s/\n//
13749s/^[^=]*=[	 ]*$//
13750}'
13751fi
13752
13753cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13754fi # test -n "$CONFIG_FILES"
13755
13756# Set up the scripts for CONFIG_HEADERS section.
13757# No need to generate them if there are no CONFIG_HEADERS.
13758# This happens for instance with `./config.status Makefile'.
13759if test -n "$CONFIG_HEADERS"; then
13760cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13761BEGIN {
13762_ACEOF
13763
13764# Transform confdefs.h into an awk script `defines.awk', embedded as
13765# here-document in config.status, that substitutes the proper values into
13766# config.h.in to produce config.h.
13767
13768# Create a delimiter string that does not exist in confdefs.h, to ease
13769# handling of long lines.
13770ac_delim='%!_!# '
13771for ac_last_try in false false :; do
13772  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13773  if test -z "$ac_tt"; then
13774    break
13775  elif $ac_last_try; then
13776    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13777  else
13778    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13779  fi
13780done
13781
13782# For the awk script, D is an array of macro values keyed by name,
13783# likewise P contains macro parameters if any.  Preserve backslash
13784# newline sequences.
13785
13786ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13787sed -n '
13788s/.\{148\}/&'"$ac_delim"'/g
13789t rset
13790:rset
13791s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13792t def
13793d
13794:def
13795s/\\$//
13796t bsnl
13797s/["\\]/\\&/g
13798s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13799D["\1"]=" \3"/p
13800s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13801d
13802:bsnl
13803s/["\\]/\\&/g
13804s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13805D["\1"]=" \3\\\\\\n"\\/p
13806t cont
13807s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13808t cont
13809d
13810:cont
13811n
13812s/.\{148\}/&'"$ac_delim"'/g
13813t clear
13814:clear
13815s/\\$//
13816t bsnlc
13817s/["\\]/\\&/g; s/^/"/; s/$/"/p
13818d
13819:bsnlc
13820s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13821b cont
13822' <confdefs.h | sed '
13823s/'"$ac_delim"'/"\\\
13824"/g' >>$CONFIG_STATUS || ac_write_fail=1
13825
13826cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13827  for (key in D) D_is_set[key] = 1
13828  FS = ""
13829}
13830/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13831  line = \$ 0
13832  split(line, arg, " ")
13833  if (arg[1] == "#") {
13834    defundef = arg[2]
13835    mac1 = arg[3]
13836  } else {
13837    defundef = substr(arg[1], 2)
13838    mac1 = arg[2]
13839  }
13840  split(mac1, mac2, "(") #)
13841  macro = mac2[1]
13842  prefix = substr(line, 1, index(line, defundef) - 1)
13843  if (D_is_set[macro]) {
13844    # Preserve the white space surrounding the "#".
13845    print prefix "define", macro P[macro] D[macro]
13846    next
13847  } else {
13848    # Replace #undef with comments.  This is necessary, for example,
13849    # in the case of _POSIX_SOURCE, which is predefined and required
13850    # on some systems where configure will not decide to define it.
13851    if (defundef == "undef") {
13852      print "/*", prefix defundef, macro, "*/"
13853      next
13854    }
13855  }
13856}
13857{ print }
13858_ACAWK
13859_ACEOF
13860cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13861  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13862fi # test -n "$CONFIG_HEADERS"
13863
13864
13865eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13866shift
13867for ac_tag
13868do
13869  case $ac_tag in
13870  :[FHLC]) ac_mode=$ac_tag; continue;;
13871  esac
13872  case $ac_mode$ac_tag in
13873  :[FHL]*:*);;
13874  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13875  :[FH]-) ac_tag=-:-;;
13876  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13877  esac
13878  ac_save_IFS=$IFS
13879  IFS=:
13880  set x $ac_tag
13881  IFS=$ac_save_IFS
13882  shift
13883  ac_file=$1
13884  shift
13885
13886  case $ac_mode in
13887  :L) ac_source=$1;;
13888  :[FH])
13889    ac_file_inputs=
13890    for ac_f
13891    do
13892      case $ac_f in
13893      -) ac_f="$ac_tmp/stdin";;
13894      *) # Look for the file first in the build tree, then in the source tree
13895	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13896	 # because $ac_f cannot contain `:'.
13897	 test -f "$ac_f" ||
13898	   case $ac_f in
13899	   [\\/$]*) false;;
13900	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13901	   esac ||
13902	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13903      esac
13904      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13905      as_fn_append ac_file_inputs " '$ac_f'"
13906    done
13907
13908    # Let's still pretend it is `configure' which instantiates (i.e., don't
13909    # use $as_me), people would be surprised to read:
13910    #    /* config.h.  Generated by config.status.  */
13911    configure_input='Generated from '`
13912	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13913	`' by configure.'
13914    if test x"$ac_file" != x-; then
13915      configure_input="$ac_file.  $configure_input"
13916      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13917$as_echo "$as_me: creating $ac_file" >&6;}
13918    fi
13919    # Neutralize special characters interpreted by sed in replacement strings.
13920    case $configure_input in #(
13921    *\&* | *\|* | *\\* )
13922       ac_sed_conf_input=`$as_echo "$configure_input" |
13923       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13924    *) ac_sed_conf_input=$configure_input;;
13925    esac
13926
13927    case $ac_tag in
13928    *:-:* | *:-) cat >"$ac_tmp/stdin" \
13929      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13930    esac
13931    ;;
13932  esac
13933
13934  ac_dir=`$as_dirname -- "$ac_file" ||
13935$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13936	 X"$ac_file" : 'X\(//\)[^/]' \| \
13937	 X"$ac_file" : 'X\(//\)$' \| \
13938	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13939$as_echo X"$ac_file" |
13940    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13941	    s//\1/
13942	    q
13943	  }
13944	  /^X\(\/\/\)[^/].*/{
13945	    s//\1/
13946	    q
13947	  }
13948	  /^X\(\/\/\)$/{
13949	    s//\1/
13950	    q
13951	  }
13952	  /^X\(\/\).*/{
13953	    s//\1/
13954	    q
13955	  }
13956	  s/.*/./; q'`
13957  as_dir="$ac_dir"; as_fn_mkdir_p
13958  ac_builddir=.
13959
13960case "$ac_dir" in
13961.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13962*)
13963  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13964  # A ".." for each directory in $ac_dir_suffix.
13965  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13966  case $ac_top_builddir_sub in
13967  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13968  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13969  esac ;;
13970esac
13971ac_abs_top_builddir=$ac_pwd
13972ac_abs_builddir=$ac_pwd$ac_dir_suffix
13973# for backward compatibility:
13974ac_top_builddir=$ac_top_build_prefix
13975
13976case $srcdir in
13977  .)  # We are building in place.
13978    ac_srcdir=.
13979    ac_top_srcdir=$ac_top_builddir_sub
13980    ac_abs_top_srcdir=$ac_pwd ;;
13981  [\\/]* | ?:[\\/]* )  # Absolute name.
13982    ac_srcdir=$srcdir$ac_dir_suffix;
13983    ac_top_srcdir=$srcdir
13984    ac_abs_top_srcdir=$srcdir ;;
13985  *) # Relative name.
13986    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13987    ac_top_srcdir=$ac_top_build_prefix$srcdir
13988    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13989esac
13990ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13991
13992
13993  case $ac_mode in
13994  :F)
13995  #
13996  # CONFIG_FILE
13997  #
13998
13999  case $INSTALL in
14000  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14001  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14002  esac
14003  ac_MKDIR_P=$MKDIR_P
14004  case $MKDIR_P in
14005  [\\/$]* | ?:[\\/]* ) ;;
14006  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14007  esac
14008_ACEOF
14009
14010cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14011# If the template does not know about datarootdir, expand it.
14012# FIXME: This hack should be removed a few years after 2.60.
14013ac_datarootdir_hack=; ac_datarootdir_seen=
14014ac_sed_dataroot='
14015/datarootdir/ {
14016  p
14017  q
14018}
14019/@datadir@/p
14020/@docdir@/p
14021/@infodir@/p
14022/@localedir@/p
14023/@mandir@/p'
14024case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14025*datarootdir*) ac_datarootdir_seen=yes;;
14026*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14027  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14028$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14029_ACEOF
14030cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14031  ac_datarootdir_hack='
14032  s&@datadir@&$datadir&g
14033  s&@docdir@&$docdir&g
14034  s&@infodir@&$infodir&g
14035  s&@localedir@&$localedir&g
14036  s&@mandir@&$mandir&g
14037  s&\\\${datarootdir}&$datarootdir&g' ;;
14038esac
14039_ACEOF
14040
14041# Neutralize VPATH when `$srcdir' = `.'.
14042# Shell code in configure.ac might set extrasub.
14043# FIXME: do we really want to maintain this feature?
14044cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14045ac_sed_extra="$ac_vpsub
14046$extrasub
14047_ACEOF
14048cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14049:t
14050/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14051s|@configure_input@|$ac_sed_conf_input|;t t
14052s&@top_builddir@&$ac_top_builddir_sub&;t t
14053s&@top_build_prefix@&$ac_top_build_prefix&;t t
14054s&@srcdir@&$ac_srcdir&;t t
14055s&@abs_srcdir@&$ac_abs_srcdir&;t t
14056s&@top_srcdir@&$ac_top_srcdir&;t t
14057s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14058s&@builddir@&$ac_builddir&;t t
14059s&@abs_builddir@&$ac_abs_builddir&;t t
14060s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14061s&@INSTALL@&$ac_INSTALL&;t t
14062s&@MKDIR_P@&$ac_MKDIR_P&;t t
14063$ac_datarootdir_hack
14064"
14065eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14066  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14067
14068test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14069  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14070  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14071      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14072  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14073which seems to be undefined.  Please make sure it is defined" >&5
14074$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14075which seems to be undefined.  Please make sure it is defined" >&2;}
14076
14077  rm -f "$ac_tmp/stdin"
14078  case $ac_file in
14079  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14080  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14081  esac \
14082  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14083 ;;
14084  :H)
14085  #
14086  # CONFIG_HEADER
14087  #
14088  if test x"$ac_file" != x-; then
14089    {
14090      $as_echo "/* $configure_input  */" \
14091      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14092    } >"$ac_tmp/config.h" \
14093      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14094    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14095      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14096$as_echo "$as_me: $ac_file is unchanged" >&6;}
14097    else
14098      rm -f "$ac_file"
14099      mv "$ac_tmp/config.h" "$ac_file" \
14100	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14101    fi
14102  else
14103    $as_echo "/* $configure_input  */" \
14104      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14105      || as_fn_error $? "could not create -" "$LINENO" 5
14106  fi
14107# Compute "$ac_file"'s index in $config_headers.
14108_am_arg="$ac_file"
14109_am_stamp_count=1
14110for _am_header in $config_headers :; do
14111  case $_am_header in
14112    $_am_arg | $_am_arg:* )
14113      break ;;
14114    * )
14115      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14116  esac
14117done
14118echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14119$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14120	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14121	 X"$_am_arg" : 'X\(//\)$' \| \
14122	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14123$as_echo X"$_am_arg" |
14124    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14125	    s//\1/
14126	    q
14127	  }
14128	  /^X\(\/\/\)[^/].*/{
14129	    s//\1/
14130	    q
14131	  }
14132	  /^X\(\/\/\)$/{
14133	    s//\1/
14134	    q
14135	  }
14136	  /^X\(\/\).*/{
14137	    s//\1/
14138	    q
14139	  }
14140	  s/.*/./; q'`/stamp-h$_am_stamp_count
14141 ;;
14142
14143  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14144$as_echo "$as_me: executing $ac_file commands" >&6;}
14145 ;;
14146  esac
14147
14148
14149  case $ac_file$ac_mode in
14150    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14151  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14152  # are listed without --file.  Let's play safe and only enable the eval
14153  # if we detect the quoting.
14154  case $CONFIG_FILES in
14155  *\'*) eval set x "$CONFIG_FILES" ;;
14156  *)   set x $CONFIG_FILES ;;
14157  esac
14158  shift
14159  for mf
14160  do
14161    # Strip MF so we end up with the name of the file.
14162    mf=`echo "$mf" | sed -e 's/:.*$//'`
14163    # Check whether this is an Automake generated Makefile or not.
14164    # We used to match only the files named `Makefile.in', but
14165    # some people rename them; so instead we look at the file content.
14166    # Grep'ing the first line is not enough: some people post-process
14167    # each Makefile.in and add a new line on top of each file to say so.
14168    # Grep'ing the whole file is not good either: AIX grep has a line
14169    # limit of 2048, but all sed's we know have understand at least 4000.
14170    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14171      dirpart=`$as_dirname -- "$mf" ||
14172$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14173	 X"$mf" : 'X\(//\)[^/]' \| \
14174	 X"$mf" : 'X\(//\)$' \| \
14175	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14176$as_echo X"$mf" |
14177    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14178	    s//\1/
14179	    q
14180	  }
14181	  /^X\(\/\/\)[^/].*/{
14182	    s//\1/
14183	    q
14184	  }
14185	  /^X\(\/\/\)$/{
14186	    s//\1/
14187	    q
14188	  }
14189	  /^X\(\/\).*/{
14190	    s//\1/
14191	    q
14192	  }
14193	  s/.*/./; q'`
14194    else
14195      continue
14196    fi
14197    # Extract the definition of DEPDIR, am__include, and am__quote
14198    # from the Makefile without running `make'.
14199    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14200    test -z "$DEPDIR" && continue
14201    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14202    test -z "am__include" && continue
14203    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14204    # When using ansi2knr, U may be empty or an underscore; expand it
14205    U=`sed -n 's/^U = //p' < "$mf"`
14206    # Find all dependency output files, they are included files with
14207    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14208    # simplest approach to changing $(DEPDIR) to its actual value in the
14209    # expansion.
14210    for file in `sed -n "
14211      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14212	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14213      # Make sure the directory exists.
14214      test -f "$dirpart/$file" && continue
14215      fdir=`$as_dirname -- "$file" ||
14216$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14217	 X"$file" : 'X\(//\)[^/]' \| \
14218	 X"$file" : 'X\(//\)$' \| \
14219	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14220$as_echo X"$file" |
14221    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14222	    s//\1/
14223	    q
14224	  }
14225	  /^X\(\/\/\)[^/].*/{
14226	    s//\1/
14227	    q
14228	  }
14229	  /^X\(\/\/\)$/{
14230	    s//\1/
14231	    q
14232	  }
14233	  /^X\(\/\).*/{
14234	    s//\1/
14235	    q
14236	  }
14237	  s/.*/./; q'`
14238      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14239      # echo "creating $dirpart/$file"
14240      echo '# dummy' > "$dirpart/$file"
14241    done
14242  done
14243}
14244 ;;
14245    "libtool":C)
14246
14247    # See if we are running on zsh, and set the options which allow our
14248    # commands through without removal of \ escapes.
14249    if test -n "${ZSH_VERSION+set}" ; then
14250      setopt NO_GLOB_SUBST
14251    fi
14252
14253    cfgfile="${ofile}T"
14254    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14255    $RM "$cfgfile"
14256
14257    cat <<_LT_EOF >> "$cfgfile"
14258#! $SHELL
14259
14260# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14261# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14262# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14263# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14264#
14265#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14266#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14267#                 Inc.
14268#   Written by Gordon Matzigkeit, 1996
14269#
14270#   This file is part of GNU Libtool.
14271#
14272# GNU Libtool is free software; you can redistribute it and/or
14273# modify it under the terms of the GNU General Public License as
14274# published by the Free Software Foundation; either version 2 of
14275# the License, or (at your option) any later version.
14276#
14277# As a special exception to the GNU General Public License,
14278# if you distribute this file as part of a program or library that
14279# is built using GNU Libtool, you may include this file under the
14280# same distribution terms that you use for the rest of that program.
14281#
14282# GNU Libtool is distributed in the hope that it will be useful,
14283# but WITHOUT ANY WARRANTY; without even the implied warranty of
14284# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14285# GNU General Public License for more details.
14286#
14287# You should have received a copy of the GNU General Public License
14288# along with GNU Libtool; see the file COPYING.  If not, a copy
14289# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14290# obtained by writing to the Free Software Foundation, Inc.,
14291# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14292
14293
14294# The names of the tagged configurations supported by this script.
14295available_tags=""
14296
14297# ### BEGIN LIBTOOL CONFIG
14298
14299# Whether or not to build static libraries.
14300build_old_libs=$enable_static
14301
14302# Whether or not to build shared libraries.
14303build_libtool_libs=$enable_shared
14304
14305# Which release of libtool.m4 was used?
14306macro_version=$macro_version
14307macro_revision=$macro_revision
14308
14309# What type of objects to build.
14310pic_mode=$pic_mode
14311
14312# Whether or not to optimize for fast installation.
14313fast_install=$enable_fast_install
14314
14315# Shell to use when invoking shell scripts.
14316SHELL=$lt_SHELL
14317
14318# An echo program that protects backslashes.
14319ECHO=$lt_ECHO
14320
14321# The host system.
14322host_alias=$host_alias
14323host=$host
14324host_os=$host_os
14325
14326# The build system.
14327build_alias=$build_alias
14328build=$build
14329build_os=$build_os
14330
14331# A sed program that does not truncate output.
14332SED=$lt_SED
14333
14334# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14335Xsed="\$SED -e 1s/^X//"
14336
14337# A grep program that handles long lines.
14338GREP=$lt_GREP
14339
14340# An ERE matcher.
14341EGREP=$lt_EGREP
14342
14343# A literal string matcher.
14344FGREP=$lt_FGREP
14345
14346# A BSD- or MS-compatible name lister.
14347NM=$lt_NM
14348
14349# Whether we need soft or hard links.
14350LN_S=$lt_LN_S
14351
14352# What is the maximum length of a command?
14353max_cmd_len=$max_cmd_len
14354
14355# Object file suffix (normally "o").
14356objext=$ac_objext
14357
14358# Executable file suffix (normally "").
14359exeext=$exeext
14360
14361# whether the shell understands "unset".
14362lt_unset=$lt_unset
14363
14364# turn spaces into newlines.
14365SP2NL=$lt_lt_SP2NL
14366
14367# turn newlines into spaces.
14368NL2SP=$lt_lt_NL2SP
14369
14370# convert \$build file names to \$host format.
14371to_host_file_cmd=$lt_cv_to_host_file_cmd
14372
14373# convert \$build files to toolchain format.
14374to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14375
14376# An object symbol dumper.
14377OBJDUMP=$lt_OBJDUMP
14378
14379# Method to check whether dependent libraries are shared objects.
14380deplibs_check_method=$lt_deplibs_check_method
14381
14382# Command to use when deplibs_check_method = "file_magic".
14383file_magic_cmd=$lt_file_magic_cmd
14384
14385# How to find potential files when deplibs_check_method = "file_magic".
14386file_magic_glob=$lt_file_magic_glob
14387
14388# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14389want_nocaseglob=$lt_want_nocaseglob
14390
14391# DLL creation program.
14392DLLTOOL=$lt_DLLTOOL
14393
14394# Command to associate shared and link libraries.
14395sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14396
14397# The archiver.
14398AR=$lt_AR
14399
14400# Flags to create an archive.
14401AR_FLAGS=$lt_AR_FLAGS
14402
14403# How to feed a file listing to the archiver.
14404archiver_list_spec=$lt_archiver_list_spec
14405
14406# A symbol stripping program.
14407STRIP=$lt_STRIP
14408
14409# Commands used to install an old-style archive.
14410RANLIB=$lt_RANLIB
14411old_postinstall_cmds=$lt_old_postinstall_cmds
14412old_postuninstall_cmds=$lt_old_postuninstall_cmds
14413
14414# Whether to use a lock for old archive extraction.
14415lock_old_archive_extraction=$lock_old_archive_extraction
14416
14417# A C compiler.
14418LTCC=$lt_CC
14419
14420# LTCC compiler flags.
14421LTCFLAGS=$lt_CFLAGS
14422
14423# Take the output of nm and produce a listing of raw symbols and C names.
14424global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14425
14426# Transform the output of nm in a proper C declaration.
14427global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14428
14429# Transform the output of nm in a C name address pair.
14430global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14431
14432# Transform the output of nm in a C name address pair when lib prefix is needed.
14433global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14434
14435# Specify filename containing input files for \$NM.
14436nm_file_list_spec=$lt_nm_file_list_spec
14437
14438# The root where to search for dependent libraries,and in which our libraries should be installed.
14439lt_sysroot=$lt_sysroot
14440
14441# The name of the directory that contains temporary libtool files.
14442objdir=$objdir
14443
14444# Used to examine libraries when file_magic_cmd begins with "file".
14445MAGIC_CMD=$MAGIC_CMD
14446
14447# Must we lock files when doing compilation?
14448need_locks=$lt_need_locks
14449
14450# Manifest tool.
14451MANIFEST_TOOL=$lt_MANIFEST_TOOL
14452
14453# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14454DSYMUTIL=$lt_DSYMUTIL
14455
14456# Tool to change global to local symbols on Mac OS X.
14457NMEDIT=$lt_NMEDIT
14458
14459# Tool to manipulate fat objects and archives on Mac OS X.
14460LIPO=$lt_LIPO
14461
14462# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14463OTOOL=$lt_OTOOL
14464
14465# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14466OTOOL64=$lt_OTOOL64
14467
14468# Old archive suffix (normally "a").
14469libext=$libext
14470
14471# Shared library suffix (normally ".so").
14472shrext_cmds=$lt_shrext_cmds
14473
14474# The commands to extract the exported symbol list from a shared archive.
14475extract_expsyms_cmds=$lt_extract_expsyms_cmds
14476
14477# Variables whose values should be saved in libtool wrapper scripts and
14478# restored at link time.
14479variables_saved_for_relink=$lt_variables_saved_for_relink
14480
14481# Do we need the "lib" prefix for modules?
14482need_lib_prefix=$need_lib_prefix
14483
14484# Do we need a version for libraries?
14485need_version=$need_version
14486
14487# Library versioning type.
14488version_type=$version_type
14489
14490# Shared library runtime path variable.
14491runpath_var=$runpath_var
14492
14493# Shared library path variable.
14494shlibpath_var=$shlibpath_var
14495
14496# Is shlibpath searched before the hard-coded library search path?
14497shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14498
14499# Format of library name prefix.
14500libname_spec=$lt_libname_spec
14501
14502# List of archive names.  First name is the real one, the rest are links.
14503# The last name is the one that the linker finds with -lNAME
14504library_names_spec=$lt_library_names_spec
14505
14506# The coded name of the library, if different from the real name.
14507soname_spec=$lt_soname_spec
14508
14509# Permission mode override for installation of shared libraries.
14510install_override_mode=$lt_install_override_mode
14511
14512# Command to use after installation of a shared archive.
14513postinstall_cmds=$lt_postinstall_cmds
14514
14515# Command to use after uninstallation of a shared archive.
14516postuninstall_cmds=$lt_postuninstall_cmds
14517
14518# Commands used to finish a libtool library installation in a directory.
14519finish_cmds=$lt_finish_cmds
14520
14521# As "finish_cmds", except a single script fragment to be evaled but
14522# not shown.
14523finish_eval=$lt_finish_eval
14524
14525# Whether we should hardcode library paths into libraries.
14526hardcode_into_libs=$hardcode_into_libs
14527
14528# Compile-time system search path for libraries.
14529sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14530
14531# Run-time system search path for libraries.
14532sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14533
14534# Whether dlopen is supported.
14535dlopen_support=$enable_dlopen
14536
14537# Whether dlopen of programs is supported.
14538dlopen_self=$enable_dlopen_self
14539
14540# Whether dlopen of statically linked programs is supported.
14541dlopen_self_static=$enable_dlopen_self_static
14542
14543# Commands to strip libraries.
14544old_striplib=$lt_old_striplib
14545striplib=$lt_striplib
14546
14547
14548# The linker used to build libraries.
14549LD=$lt_LD
14550
14551# How to create reloadable object files.
14552reload_flag=$lt_reload_flag
14553reload_cmds=$lt_reload_cmds
14554
14555# Commands used to build an old-style archive.
14556old_archive_cmds=$lt_old_archive_cmds
14557
14558# A language specific compiler.
14559CC=$lt_compiler
14560
14561# Is the compiler the GNU compiler?
14562with_gcc=$GCC
14563
14564# Compiler flag to turn off builtin functions.
14565no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14566
14567# Additional compiler flags for building library objects.
14568pic_flag=$lt_lt_prog_compiler_pic
14569
14570# How to pass a linker flag through the compiler.
14571wl=$lt_lt_prog_compiler_wl
14572
14573# Compiler flag to prevent dynamic linking.
14574link_static_flag=$lt_lt_prog_compiler_static
14575
14576# Does compiler simultaneously support -c and -o options?
14577compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14578
14579# Whether or not to add -lc for building shared libraries.
14580build_libtool_need_lc=$archive_cmds_need_lc
14581
14582# Whether or not to disallow shared libs when runtime libs are static.
14583allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14584
14585# Compiler flag to allow reflexive dlopens.
14586export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14587
14588# Compiler flag to generate shared objects directly from archives.
14589whole_archive_flag_spec=$lt_whole_archive_flag_spec
14590
14591# Whether the compiler copes with passing no objects directly.
14592compiler_needs_object=$lt_compiler_needs_object
14593
14594# Create an old-style archive from a shared archive.
14595old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14596
14597# Create a temporary old-style archive to link instead of a shared archive.
14598old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14599
14600# Commands used to build a shared archive.
14601archive_cmds=$lt_archive_cmds
14602archive_expsym_cmds=$lt_archive_expsym_cmds
14603
14604# Commands used to build a loadable module if different from building
14605# a shared archive.
14606module_cmds=$lt_module_cmds
14607module_expsym_cmds=$lt_module_expsym_cmds
14608
14609# Whether we are building with GNU ld or not.
14610with_gnu_ld=$lt_with_gnu_ld
14611
14612# Flag that allows shared libraries with undefined symbols to be built.
14613allow_undefined_flag=$lt_allow_undefined_flag
14614
14615# Flag that enforces no undefined symbols.
14616no_undefined_flag=$lt_no_undefined_flag
14617
14618# Flag to hardcode \$libdir into a binary during linking.
14619# This must work even if \$libdir does not exist
14620hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14621
14622# If ld is used when linking, flag to hardcode \$libdir into a binary
14623# during linking.  This must work even if \$libdir does not exist.
14624hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14625
14626# Whether we need a single "-rpath" flag with a separated argument.
14627hardcode_libdir_separator=$lt_hardcode_libdir_separator
14628
14629# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14630# DIR into the resulting binary.
14631hardcode_direct=$hardcode_direct
14632
14633# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14634# DIR into the resulting binary and the resulting library dependency is
14635# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14636# library is relocated.
14637hardcode_direct_absolute=$hardcode_direct_absolute
14638
14639# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14640# into the resulting binary.
14641hardcode_minus_L=$hardcode_minus_L
14642
14643# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14644# into the resulting binary.
14645hardcode_shlibpath_var=$hardcode_shlibpath_var
14646
14647# Set to "yes" if building a shared library automatically hardcodes DIR
14648# into the library and all subsequent libraries and executables linked
14649# against it.
14650hardcode_automatic=$hardcode_automatic
14651
14652# Set to yes if linker adds runtime paths of dependent libraries
14653# to runtime path list.
14654inherit_rpath=$inherit_rpath
14655
14656# Whether libtool must link a program against all its dependency libraries.
14657link_all_deplibs=$link_all_deplibs
14658
14659# Set to "yes" if exported symbols are required.
14660always_export_symbols=$always_export_symbols
14661
14662# The commands to list exported symbols.
14663export_symbols_cmds=$lt_export_symbols_cmds
14664
14665# Symbols that should not be listed in the preloaded symbols.
14666exclude_expsyms=$lt_exclude_expsyms
14667
14668# Symbols that must always be exported.
14669include_expsyms=$lt_include_expsyms
14670
14671# Commands necessary for linking programs (against libraries) with templates.
14672prelink_cmds=$lt_prelink_cmds
14673
14674# Commands necessary for finishing linking programs.
14675postlink_cmds=$lt_postlink_cmds
14676
14677# Specify filename containing input files.
14678file_list_spec=$lt_file_list_spec
14679
14680# How to hardcode a shared library path into an executable.
14681hardcode_action=$hardcode_action
14682
14683# ### END LIBTOOL CONFIG
14684
14685_LT_EOF
14686
14687  case $host_os in
14688  aix3*)
14689    cat <<\_LT_EOF >> "$cfgfile"
14690# AIX sometimes has problems with the GCC collect2 program.  For some
14691# reason, if we set the COLLECT_NAMES environment variable, the problems
14692# vanish in a puff of smoke.
14693if test "X${COLLECT_NAMES+set}" != Xset; then
14694  COLLECT_NAMES=
14695  export COLLECT_NAMES
14696fi
14697_LT_EOF
14698    ;;
14699  esac
14700
14701
14702ltmain="$ac_aux_dir/ltmain.sh"
14703
14704
14705  # We use sed instead of cat because bash on DJGPP gets confused if
14706  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14707  # text mode, it properly converts lines to CR/LF.  This bash problem
14708  # is reportedly fixed, but why not run on old versions too?
14709  sed '$q' "$ltmain" >> "$cfgfile" \
14710     || (rm -f "$cfgfile"; exit 1)
14711
14712  if test x"$xsi_shell" = xyes; then
14713  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14714func_dirname ()\
14715{\
14716\    case ${1} in\
14717\      */*) func_dirname_result="${1%/*}${2}" ;;\
14718\      *  ) func_dirname_result="${3}" ;;\
14719\    esac\
14720} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14721  && mv -f "$cfgfile.tmp" "$cfgfile" \
14722    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14723test 0 -eq $? || _lt_function_replace_fail=:
14724
14725
14726  sed -e '/^func_basename ()$/,/^} # func_basename /c\
14727func_basename ()\
14728{\
14729\    func_basename_result="${1##*/}"\
14730} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14731  && mv -f "$cfgfile.tmp" "$cfgfile" \
14732    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14733test 0 -eq $? || _lt_function_replace_fail=:
14734
14735
14736  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14737func_dirname_and_basename ()\
14738{\
14739\    case ${1} in\
14740\      */*) func_dirname_result="${1%/*}${2}" ;;\
14741\      *  ) func_dirname_result="${3}" ;;\
14742\    esac\
14743\    func_basename_result="${1##*/}"\
14744} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14745  && mv -f "$cfgfile.tmp" "$cfgfile" \
14746    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14747test 0 -eq $? || _lt_function_replace_fail=:
14748
14749
14750  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14751func_stripname ()\
14752{\
14753\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14754\    # positional parameters, so assign one to ordinary parameter first.\
14755\    func_stripname_result=${3}\
14756\    func_stripname_result=${func_stripname_result#"${1}"}\
14757\    func_stripname_result=${func_stripname_result%"${2}"}\
14758} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14759  && mv -f "$cfgfile.tmp" "$cfgfile" \
14760    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14761test 0 -eq $? || _lt_function_replace_fail=:
14762
14763
14764  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14765func_split_long_opt ()\
14766{\
14767\    func_split_long_opt_name=${1%%=*}\
14768\    func_split_long_opt_arg=${1#*=}\
14769} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14770  && mv -f "$cfgfile.tmp" "$cfgfile" \
14771    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14772test 0 -eq $? || _lt_function_replace_fail=:
14773
14774
14775  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14776func_split_short_opt ()\
14777{\
14778\    func_split_short_opt_arg=${1#??}\
14779\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14780} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14781  && mv -f "$cfgfile.tmp" "$cfgfile" \
14782    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14783test 0 -eq $? || _lt_function_replace_fail=:
14784
14785
14786  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14787func_lo2o ()\
14788{\
14789\    case ${1} in\
14790\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14791\      *)    func_lo2o_result=${1} ;;\
14792\    esac\
14793} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14794  && mv -f "$cfgfile.tmp" "$cfgfile" \
14795    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14796test 0 -eq $? || _lt_function_replace_fail=:
14797
14798
14799  sed -e '/^func_xform ()$/,/^} # func_xform /c\
14800func_xform ()\
14801{\
14802    func_xform_result=${1%.*}.lo\
14803} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14804  && mv -f "$cfgfile.tmp" "$cfgfile" \
14805    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14806test 0 -eq $? || _lt_function_replace_fail=:
14807
14808
14809  sed -e '/^func_arith ()$/,/^} # func_arith /c\
14810func_arith ()\
14811{\
14812    func_arith_result=$(( $* ))\
14813} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14814  && mv -f "$cfgfile.tmp" "$cfgfile" \
14815    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14816test 0 -eq $? || _lt_function_replace_fail=:
14817
14818
14819  sed -e '/^func_len ()$/,/^} # func_len /c\
14820func_len ()\
14821{\
14822    func_len_result=${#1}\
14823} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14824  && mv -f "$cfgfile.tmp" "$cfgfile" \
14825    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14826test 0 -eq $? || _lt_function_replace_fail=:
14827
14828fi
14829
14830if test x"$lt_shell_append" = xyes; then
14831  sed -e '/^func_append ()$/,/^} # func_append /c\
14832func_append ()\
14833{\
14834    eval "${1}+=\\${2}"\
14835} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14836  && mv -f "$cfgfile.tmp" "$cfgfile" \
14837    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14838test 0 -eq $? || _lt_function_replace_fail=:
14839
14840
14841  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14842func_append_quoted ()\
14843{\
14844\    func_quote_for_eval "${2}"\
14845\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14846} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14847  && mv -f "$cfgfile.tmp" "$cfgfile" \
14848    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14849test 0 -eq $? || _lt_function_replace_fail=:
14850
14851
14852  # Save a `func_append' function call where possible by direct use of '+='
14853  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14854    && mv -f "$cfgfile.tmp" "$cfgfile" \
14855      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14856  test 0 -eq $? || _lt_function_replace_fail=:
14857else
14858  # Save a `func_append' function call even when '+=' is not available
14859  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14860    && mv -f "$cfgfile.tmp" "$cfgfile" \
14861      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14862  test 0 -eq $? || _lt_function_replace_fail=:
14863fi
14864
14865if test x"$_lt_function_replace_fail" = x":"; then
14866  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14867$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14868fi
14869
14870
14871   mv -f "$cfgfile" "$ofile" ||
14872    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14873  chmod +x "$ofile"
14874
14875 ;;
14876
14877  esac
14878done # for ac_tag
14879
14880
14881as_fn_exit 0
14882_ACEOF
14883ac_clean_files=$ac_clean_files_save
14884
14885test $ac_write_fail = 0 ||
14886  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14887
14888
14889# configure is writing to config.log, and then calls config.status.
14890# config.status does its own redirection, appending to config.log.
14891# Unfortunately, on DOS this fails, as config.log is still kept open
14892# by configure, so config.status won't be able to write to it; its
14893# output is simply discarded.  So we exec the FD to /dev/null,
14894# effectively closing config.log, so it can be properly (re)opened and
14895# appended to by config.status.  When coming back to configure, we
14896# need to make the FD available again.
14897if test "$no_create" != yes; then
14898  ac_cs_success=:
14899  ac_config_status_args=
14900  test "$silent" = yes &&
14901    ac_config_status_args="$ac_config_status_args --quiet"
14902  exec 5>/dev/null
14903  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14904  exec 5>>config.log
14905  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14906  # would make configure fail if this is the last instruction.
14907  $ac_cs_success || as_fn_exit 1
14908fi
14909if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14910  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14911$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14912fi
14913
14914
14915