1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.68 for DSSI 1.1.1.
4@%:@
5@%:@ Report bugs to <dssi-devel@lists.sourceforge.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: dssi-devel@lists.sourceforge.net about your system,
251$0: including any error possibly output before this
252$0: message. Then install a modern shell, or manually run
253$0: the script under such a 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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364@%:@ must be portable across @S|@(()) 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 @S|@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=.
564LIB@&t@OBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
569
570# Identity of this package.
571PACKAGE_NAME='DSSI'
572PACKAGE_TARNAME='dssi'
573PACKAGE_VERSION='1.1.1'
574PACKAGE_STRING='DSSI 1.1.1'
575PACKAGE_BUGREPORT='dssi-devel@lists.sourceforge.net'
576PACKAGE_URL=''
577
578ac_unique_file="dssi/dssi.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
618LIB@&t@OBJS
619BUILD_SAMPLER_FALSE
620BUILD_SAMPLER_TRUE
621DARWIN_FALSE
622DARWIN_TRUE
623HAVE_QT_FALSE
624HAVE_QT_TRUE
625QT_MOC
626QT_LIBS
627QT_CFLAGS
628SRC_LIBS
629SRC_CFLAGS
630SNDFILE_LIBS
631SNDFILE_CFLAGS
632HAVE_JACK_FALSE
633HAVE_JACK_TRUE
634JACK_LIBS
635JACK_CFLAGS
636HAVE_LIBLO_FALSE
637HAVE_LIBLO_TRUE
638LIBLO_LIBS
639LIBLO_CFLAGS
640ALSA_LIBS
641ALSA_CFLAGS
642PKG_CONFIG_LIBDIR
643PKG_CONFIG_PATH
644PKG_CONFIG
645CXXCPP
646CPP
647OTOOL64
648OTOOL
649LIPO
650NMEDIT
651DSYMUTIL
652MANIFEST_TOOL
653RANLIB
654ac_ct_AR
655AR
656DLLTOOL
657OBJDUMP
658LN_S
659NM
660ac_ct_DUMPBIN
661DUMPBIN
662LD
663FGREP
664EGREP
665GREP
666SED
667host_os
668host_vendor
669host_cpu
670host
671build_os
672build_vendor
673build_cpu
674build
675LIBTOOL
676am__fastdepCXX_FALSE
677am__fastdepCXX_TRUE
678CXXDEPMODE
679ac_ct_CXX
680CXXFLAGS
681CXX
682am__fastdepCC_FALSE
683am__fastdepCC_TRUE
684CCDEPMODE
685AMDEPBACKSLASH
686AMDEP_FALSE
687AMDEP_TRUE
688am__quote
689am__include
690DEPDIR
691OBJEXT
692EXEEXT
693ac_ct_CC
694CPPFLAGS
695LDFLAGS
696CFLAGS
697CC
698am__untar
699am__tar
700AMTAR
701am__leading_dot
702SET_MAKE
703AWK
704mkdir_p
705MKDIR_P
706INSTALL_STRIP_PROGRAM
707STRIP
708install_sh
709MAKEINFO
710AUTOHEADER
711AUTOMAKE
712AUTOCONF
713ACLOCAL
714VERSION
715PACKAGE
716CYGPATH_W
717am__isrc
718INSTALL_DATA
719INSTALL_SCRIPT
720INSTALL_PROGRAM
721target_alias
722host_alias
723build_alias
724LIBS
725ECHO_T
726ECHO_N
727ECHO_C
728DEFS
729mandir
730localedir
731libdir
732psdir
733pdfdir
734dvidir
735htmldir
736infodir
737docdir
738oldincludedir
739includedir
740localstatedir
741sharedstatedir
742sysconfdir
743datadir
744datarootdir
745libexecdir
746sbindir
747bindir
748program_transform_name
749prefix
750exec_prefix
751PACKAGE_URL
752PACKAGE_BUGREPORT
753PACKAGE_STRING
754PACKAGE_VERSION
755PACKAGE_TARNAME
756PACKAGE_NAME
757PATH_SEPARATOR
758SHELL'
759ac_subst_files=''
760ac_user_opts='
761enable_option_checking
762enable_dependency_tracking
763enable_static
764enable_shared
765with_pic
766enable_fast_install
767with_gnu_ld
768with_sysroot
769enable_libtool_lock
770'
771      ac_precious_vars='build_alias
772host_alias
773target_alias
774CC
775CFLAGS
776LDFLAGS
777LIBS
778CPPFLAGS
779CXX
780CXXFLAGS
781CCC
782CPP
783CXXCPP
784PKG_CONFIG
785PKG_CONFIG_PATH
786PKG_CONFIG_LIBDIR
787ALSA_CFLAGS
788ALSA_LIBS
789LIBLO_CFLAGS
790LIBLO_LIBS
791JACK_CFLAGS
792JACK_LIBS
793SNDFILE_CFLAGS
794SNDFILE_LIBS
795SRC_CFLAGS
796SRC_LIBS
797QT_CFLAGS
798QT_LIBS'
799
800
801# Initialize some variables set by options.
802ac_init_help=
803ac_init_version=false
804ac_unrecognized_opts=
805ac_unrecognized_sep=
806# The variables have the same names as the options, with
807# dashes changed to underlines.
808cache_file=/dev/null
809exec_prefix=NONE
810no_create=
811no_recursion=
812prefix=NONE
813program_prefix=NONE
814program_suffix=NONE
815program_transform_name=s,x,x,
816silent=
817site=
818srcdir=
819verbose=
820x_includes=NONE
821x_libraries=NONE
822
823# Installation directory options.
824# These are left unexpanded so users can "make install exec_prefix=/foo"
825# and all the variables that are supposed to be based on exec_prefix
826# by default will actually change.
827# Use braces instead of parens because sh, perl, etc. also accept them.
828# (The list follows the same order as the GNU Coding Standards.)
829bindir='${exec_prefix}/bin'
830sbindir='${exec_prefix}/sbin'
831libexecdir='${exec_prefix}/libexec'
832datarootdir='${prefix}/share'
833datadir='${datarootdir}'
834sysconfdir='${prefix}/etc'
835sharedstatedir='${prefix}/com'
836localstatedir='${prefix}/var'
837includedir='${prefix}/include'
838oldincludedir='/usr/include'
839docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840infodir='${datarootdir}/info'
841htmldir='${docdir}'
842dvidir='${docdir}'
843pdfdir='${docdir}'
844psdir='${docdir}'
845libdir='${exec_prefix}/lib'
846localedir='${datarootdir}/locale'
847mandir='${datarootdir}/man'
848
849ac_prev=
850ac_dashdash=
851for ac_option
852do
853  # If the previous option needs an argument, assign it.
854  if test -n "$ac_prev"; then
855    eval $ac_prev=\$ac_option
856    ac_prev=
857    continue
858  fi
859
860  case $ac_option in
861  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862  *=)   ac_optarg= ;;
863  *)    ac_optarg=yes ;;
864  esac
865
866  # Accept the important Cygnus configure options, so we can diagnose typos.
867
868  case $ac_dashdash$ac_option in
869  --)
870    ac_dashdash=yes ;;
871
872  -bindir | --bindir | --bindi | --bind | --bin | --bi)
873    ac_prev=bindir ;;
874  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875    bindir=$ac_optarg ;;
876
877  -build | --build | --buil | --bui | --bu)
878    ac_prev=build_alias ;;
879  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
880    build_alias=$ac_optarg ;;
881
882  -cache-file | --cache-file | --cache-fil | --cache-fi \
883  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
884    ac_prev=cache_file ;;
885  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
886  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
887    cache_file=$ac_optarg ;;
888
889  --config-cache | -C)
890    cache_file=config.cache ;;
891
892  -datadir | --datadir | --datadi | --datad)
893    ac_prev=datadir ;;
894  -datadir=* | --datadir=* | --datadi=* | --datad=*)
895    datadir=$ac_optarg ;;
896
897  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898  | --dataroo | --dataro | --datar)
899    ac_prev=datarootdir ;;
900  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902    datarootdir=$ac_optarg ;;
903
904  -disable-* | --disable-*)
905    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906    # Reject names that are not valid shell variable names.
907    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908      as_fn_error $? "invalid feature name: $ac_useropt"
909    ac_useropt_orig=$ac_useropt
910    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911    case $ac_user_opts in
912      *"
913"enable_$ac_useropt"
914"*) ;;
915      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916	 ac_unrecognized_sep=', ';;
917    esac
918    eval enable_$ac_useropt=no ;;
919
920  -docdir | --docdir | --docdi | --doc | --do)
921    ac_prev=docdir ;;
922  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923    docdir=$ac_optarg ;;
924
925  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926    ac_prev=dvidir ;;
927  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928    dvidir=$ac_optarg ;;
929
930  -enable-* | --enable-*)
931    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932    # Reject names that are not valid shell variable names.
933    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934      as_fn_error $? "invalid feature name: $ac_useropt"
935    ac_useropt_orig=$ac_useropt
936    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937    case $ac_user_opts in
938      *"
939"enable_$ac_useropt"
940"*) ;;
941      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942	 ac_unrecognized_sep=', ';;
943    esac
944    eval enable_$ac_useropt=\$ac_optarg ;;
945
946  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948  | --exec | --exe | --ex)
949    ac_prev=exec_prefix ;;
950  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952  | --exec=* | --exe=* | --ex=*)
953    exec_prefix=$ac_optarg ;;
954
955  -gas | --gas | --ga | --g)
956    # Obsolete; use --with-gas.
957    with_gas=yes ;;
958
959  -help | --help | --hel | --he | -h)
960    ac_init_help=long ;;
961  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962    ac_init_help=recursive ;;
963  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964    ac_init_help=short ;;
965
966  -host | --host | --hos | --ho)
967    ac_prev=host_alias ;;
968  -host=* | --host=* | --hos=* | --ho=*)
969    host_alias=$ac_optarg ;;
970
971  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972    ac_prev=htmldir ;;
973  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974  | --ht=*)
975    htmldir=$ac_optarg ;;
976
977  -includedir | --includedir | --includedi | --included | --include \
978  | --includ | --inclu | --incl | --inc)
979    ac_prev=includedir ;;
980  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981  | --includ=* | --inclu=* | --incl=* | --inc=*)
982    includedir=$ac_optarg ;;
983
984  -infodir | --infodir | --infodi | --infod | --info | --inf)
985    ac_prev=infodir ;;
986  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987    infodir=$ac_optarg ;;
988
989  -libdir | --libdir | --libdi | --libd)
990    ac_prev=libdir ;;
991  -libdir=* | --libdir=* | --libdi=* | --libd=*)
992    libdir=$ac_optarg ;;
993
994  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995  | --libexe | --libex | --libe)
996    ac_prev=libexecdir ;;
997  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998  | --libexe=* | --libex=* | --libe=*)
999    libexecdir=$ac_optarg ;;
1000
1001  -localedir | --localedir | --localedi | --localed | --locale)
1002    ac_prev=localedir ;;
1003  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004    localedir=$ac_optarg ;;
1005
1006  -localstatedir | --localstatedir | --localstatedi | --localstated \
1007  | --localstate | --localstat | --localsta | --localst | --locals)
1008    ac_prev=localstatedir ;;
1009  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011    localstatedir=$ac_optarg ;;
1012
1013  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014    ac_prev=mandir ;;
1015  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016    mandir=$ac_optarg ;;
1017
1018  -nfp | --nfp | --nf)
1019    # Obsolete; use --without-fp.
1020    with_fp=no ;;
1021
1022  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023  | --no-cr | --no-c | -n)
1024    no_create=yes ;;
1025
1026  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028    no_recursion=yes ;;
1029
1030  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032  | --oldin | --oldi | --old | --ol | --o)
1033    ac_prev=oldincludedir ;;
1034  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037    oldincludedir=$ac_optarg ;;
1038
1039  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040    ac_prev=prefix ;;
1041  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042    prefix=$ac_optarg ;;
1043
1044  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045  | --program-pre | --program-pr | --program-p)
1046    ac_prev=program_prefix ;;
1047  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049    program_prefix=$ac_optarg ;;
1050
1051  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052  | --program-suf | --program-su | --program-s)
1053    ac_prev=program_suffix ;;
1054  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056    program_suffix=$ac_optarg ;;
1057
1058  -program-transform-name | --program-transform-name \
1059  | --program-transform-nam | --program-transform-na \
1060  | --program-transform-n | --program-transform- \
1061  | --program-transform | --program-transfor \
1062  | --program-transfo | --program-transf \
1063  | --program-trans | --program-tran \
1064  | --progr-tra | --program-tr | --program-t)
1065    ac_prev=program_transform_name ;;
1066  -program-transform-name=* | --program-transform-name=* \
1067  | --program-transform-nam=* | --program-transform-na=* \
1068  | --program-transform-n=* | --program-transform-=* \
1069  | --program-transform=* | --program-transfor=* \
1070  | --program-transfo=* | --program-transf=* \
1071  | --program-trans=* | --program-tran=* \
1072  | --progr-tra=* | --program-tr=* | --program-t=*)
1073    program_transform_name=$ac_optarg ;;
1074
1075  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076    ac_prev=pdfdir ;;
1077  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078    pdfdir=$ac_optarg ;;
1079
1080  -psdir | --psdir | --psdi | --psd | --ps)
1081    ac_prev=psdir ;;
1082  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083    psdir=$ac_optarg ;;
1084
1085  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086  | -silent | --silent | --silen | --sile | --sil)
1087    silent=yes ;;
1088
1089  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090    ac_prev=sbindir ;;
1091  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092  | --sbi=* | --sb=*)
1093    sbindir=$ac_optarg ;;
1094
1095  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097  | --sharedst | --shareds | --shared | --share | --shar \
1098  | --sha | --sh)
1099    ac_prev=sharedstatedir ;;
1100  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103  | --sha=* | --sh=*)
1104    sharedstatedir=$ac_optarg ;;
1105
1106  -site | --site | --sit)
1107    ac_prev=site ;;
1108  -site=* | --site=* | --sit=*)
1109    site=$ac_optarg ;;
1110
1111  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112    ac_prev=srcdir ;;
1113  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114    srcdir=$ac_optarg ;;
1115
1116  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117  | --syscon | --sysco | --sysc | --sys | --sy)
1118    ac_prev=sysconfdir ;;
1119  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121    sysconfdir=$ac_optarg ;;
1122
1123  -target | --target | --targe | --targ | --tar | --ta | --t)
1124    ac_prev=target_alias ;;
1125  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126    target_alias=$ac_optarg ;;
1127
1128  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129    verbose=yes ;;
1130
1131  -version | --version | --versio | --versi | --vers | -V)
1132    ac_init_version=: ;;
1133
1134  -with-* | --with-*)
1135    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136    # Reject names that are not valid shell variable names.
1137    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138      as_fn_error $? "invalid package name: $ac_useropt"
1139    ac_useropt_orig=$ac_useropt
1140    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141    case $ac_user_opts in
1142      *"
1143"with_$ac_useropt"
1144"*) ;;
1145      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146	 ac_unrecognized_sep=', ';;
1147    esac
1148    eval with_$ac_useropt=\$ac_optarg ;;
1149
1150  -without-* | --without-*)
1151    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152    # Reject names that are not valid shell variable names.
1153    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154      as_fn_error $? "invalid package name: $ac_useropt"
1155    ac_useropt_orig=$ac_useropt
1156    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157    case $ac_user_opts in
1158      *"
1159"with_$ac_useropt"
1160"*) ;;
1161      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162	 ac_unrecognized_sep=', ';;
1163    esac
1164    eval with_$ac_useropt=no ;;
1165
1166  --x)
1167    # Obsolete; use --with-x.
1168    with_x=yes ;;
1169
1170  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1171  | --x-incl | --x-inc | --x-in | --x-i)
1172    ac_prev=x_includes ;;
1173  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1174  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1175    x_includes=$ac_optarg ;;
1176
1177  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1178  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1179    ac_prev=x_libraries ;;
1180  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1181  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1182    x_libraries=$ac_optarg ;;
1183
1184  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1185Try \`$0 --help' for more information"
1186    ;;
1187
1188  *=*)
1189    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1190    # Reject names that are not valid shell variable names.
1191    case $ac_envvar in #(
1192      '' | [0-9]* | *[!_$as_cr_alnum]* )
1193      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194    esac
1195    eval $ac_envvar=\$ac_optarg
1196    export $ac_envvar ;;
1197
1198  *)
1199    # FIXME: should be removed in autoconf 3.0.
1200    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204    ;;
1205
1206  esac
1207done
1208
1209if test -n "$ac_prev"; then
1210  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1211  as_fn_error $? "missing argument to $ac_option"
1212fi
1213
1214if test -n "$ac_unrecognized_opts"; then
1215  case $enable_option_checking in
1216    no) ;;
1217    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1218    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219  esac
1220fi
1221
1222# Check all directory arguments for consistency.
1223for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224		datadir sysconfdir sharedstatedir localstatedir includedir \
1225		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226		libdir localedir mandir
1227do
1228  eval ac_val=\$$ac_var
1229  # Remove trailing slashes.
1230  case $ac_val in
1231    */ )
1232      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233      eval $ac_var=\$ac_val;;
1234  esac
1235  # Be sure to have absolute directory names.
1236  case $ac_val in
1237    [\\/$]* | ?:[\\/]* )  continue;;
1238    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239  esac
1240  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1241done
1242
1243# There might be people who depend on the old broken behavior: `$host'
1244# used to hold the argument of --host etc.
1245# FIXME: To remove some day.
1246build=$build_alias
1247host=$host_alias
1248target=$target_alias
1249
1250# FIXME: To remove some day.
1251if test "x$host_alias" != x; then
1252  if test "x$build_alias" = x; then
1253    cross_compiling=maybe
1254    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1255    If a cross compiler is detected then cross compile mode will be used" >&2
1256  elif test "x$build_alias" != "x$host_alias"; then
1257    cross_compiling=yes
1258  fi
1259fi
1260
1261ac_tool_prefix=
1262test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263
1264test "$silent" = yes && exec 6>/dev/null
1265
1266
1267ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268ac_ls_di=`ls -di .` &&
1269ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270  as_fn_error $? "working directory cannot be determined"
1271test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272  as_fn_error $? "pwd does not report name of working directory"
1273
1274
1275# Find the source files, if location was not specified.
1276if test -z "$srcdir"; then
1277  ac_srcdir_defaulted=yes
1278  # Try the directory containing this script, then the parent directory.
1279  ac_confdir=`$as_dirname -- "$as_myself" ||
1280$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281	 X"$as_myself" : 'X\(//\)[^/]' \| \
1282	 X"$as_myself" : 'X\(//\)$' \| \
1283	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284$as_echo X"$as_myself" |
1285    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286	    s//\1/
1287	    q
1288	  }
1289	  /^X\(\/\/\)[^/].*/{
1290	    s//\1/
1291	    q
1292	  }
1293	  /^X\(\/\/\)$/{
1294	    s//\1/
1295	    q
1296	  }
1297	  /^X\(\/\).*/{
1298	    s//\1/
1299	    q
1300	  }
1301	  s/.*/./; q'`
1302  srcdir=$ac_confdir
1303  if test ! -r "$srcdir/$ac_unique_file"; then
1304    srcdir=..
1305  fi
1306else
1307  ac_srcdir_defaulted=no
1308fi
1309if test ! -r "$srcdir/$ac_unique_file"; then
1310  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312fi
1313ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314ac_abs_confdir=`(
1315	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316	pwd)`
1317# When building in place, set srcdir=.
1318if test "$ac_abs_confdir" = "$ac_pwd"; then
1319  srcdir=.
1320fi
1321# Remove unnecessary trailing slashes from srcdir.
1322# Double slashes in file names in object file debugging info
1323# mess up M-x gdb in Emacs.
1324case $srcdir in
1325*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326esac
1327for ac_var in $ac_precious_vars; do
1328  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329  eval ac_env_${ac_var}_value=\$${ac_var}
1330  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332done
1333
1334#
1335# Report the --help message.
1336#
1337if test "$ac_init_help" = "long"; then
1338  # Omit some internal or obsolete options to make the list less imposing.
1339  # This message is too long to be a string in the A/UX 3.1 sh.
1340  cat <<_ACEOF
1341\`configure' configures DSSI 1.1.1 to adapt to many kinds of systems.
1342
1343Usage: $0 [OPTION]... [VAR=VALUE]...
1344
1345To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346VAR=VALUE.  See below for descriptions of some of the useful variables.
1347
1348Defaults for the options are specified in brackets.
1349
1350Configuration:
1351  -h, --help              display this help and exit
1352      --help=short        display options specific to this package
1353      --help=recursive    display the short help of all the included packages
1354  -V, --version           display version information and exit
1355  -q, --quiet, --silent   do not print \`checking ...' messages
1356      --cache-file=FILE   cache test results in FILE [disabled]
1357  -C, --config-cache      alias for \`--cache-file=config.cache'
1358  -n, --no-create         do not create output files
1359      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1360
1361Installation directories:
1362  --prefix=PREFIX         install architecture-independent files in PREFIX
1363                          @<:@@S|@ac_default_prefix@:>@
1364  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1365                          @<:@PREFIX@:>@
1366
1367By default, \`make install' will install all the files in
1368\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1369an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370for instance \`--prefix=\$HOME'.
1371
1372For better control, use the options below.
1373
1374Fine tuning of the installation directories:
1375  --bindir=DIR            user executables [EPREFIX/bin]
1376  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1377  --libexecdir=DIR        program executables [EPREFIX/libexec]
1378  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1379  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1380  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1381  --libdir=DIR            object code libraries [EPREFIX/lib]
1382  --includedir=DIR        C header files [PREFIX/include]
1383  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1384  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1385  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1386  --infodir=DIR           info documentation [DATAROOTDIR/info]
1387  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1388  --mandir=DIR            man documentation [DATAROOTDIR/man]
1389  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/dssi@:>@
1390  --htmldir=DIR           html documentation [DOCDIR]
1391  --dvidir=DIR            dvi documentation [DOCDIR]
1392  --pdfdir=DIR            pdf documentation [DOCDIR]
1393  --psdir=DIR             ps documentation [DOCDIR]
1394_ACEOF
1395
1396  cat <<\_ACEOF
1397
1398Program names:
1399  --program-prefix=PREFIX            prepend PREFIX to installed program names
1400  --program-suffix=SUFFIX            append SUFFIX to installed program names
1401  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1402
1403System types:
1404  --build=BUILD     configure for building on BUILD [guessed]
1405  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1406_ACEOF
1407fi
1408
1409if test -n "$ac_init_help"; then
1410  case $ac_init_help in
1411     short | recursive ) echo "Configuration of DSSI 1.1.1:";;
1412   esac
1413  cat <<\_ACEOF
1414
1415Optional Features:
1416  --disable-option-checking  ignore unrecognized --enable/--with options
1417  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1418  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1419  --disable-dependency-tracking  speeds up one-time build
1420  --enable-dependency-tracking   do not reject slow dependency extractors
1421  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1422  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1423  --enable-fast-install@<:@=PKGS@:>@
1424                          optimize for fast installation @<:@default=yes@:>@
1425  --disable-libtool-lock  avoid locking (might break parallel builds)
1426
1427Optional Packages:
1428  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1429  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1430  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1431                          both@:>@
1432  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1433  --with-sysroot=DIR Search for dependent libraries within DIR
1434                        (or the compiler's sysroot if not specified).
1435
1436Some influential environment variables:
1437  CC          C compiler command
1438  CFLAGS      C compiler flags
1439  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1440              nonstandard directory <lib dir>
1441  LIBS        libraries to pass to the linker, e.g. -l<library>
1442  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443              you have headers in a nonstandard directory <include dir>
1444  CXX         C++ compiler command
1445  CXXFLAGS    C++ compiler flags
1446  CPP         C preprocessor
1447  CXXCPP      C++ preprocessor
1448  PKG_CONFIG  path to pkg-config utility
1449  PKG_CONFIG_PATH
1450              directories to add to pkg-config's search path
1451  PKG_CONFIG_LIBDIR
1452              path overriding pkg-config's built-in search path
1453  ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1454  ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1455  LIBLO_CFLAGS
1456              C compiler flags for LIBLO, overriding pkg-config
1457  LIBLO_LIBS  linker flags for LIBLO, overriding pkg-config
1458  JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1459  JACK_LIBS   linker flags for JACK, overriding pkg-config
1460  SNDFILE_CFLAGS
1461              C compiler flags for SNDFILE, overriding pkg-config
1462  SNDFILE_LIBS
1463              linker flags for SNDFILE, overriding pkg-config
1464  SRC_CFLAGS  C compiler flags for SRC, overriding pkg-config
1465  SRC_LIBS    linker flags for SRC, overriding pkg-config
1466  QT_CFLAGS   C compiler flags for QT, overriding pkg-config
1467  QT_LIBS     linker flags for QT, overriding pkg-config
1468
1469Use these variables to override the choices made by `configure' or to help
1470it to find libraries and programs with nonstandard names/locations.
1471
1472Report bugs to <dssi-devel@lists.sourceforge.net>.
1473_ACEOF
1474ac_status=$?
1475fi
1476
1477if test "$ac_init_help" = "recursive"; then
1478  # If there are subdirs, report their specific --help.
1479  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1480    test -d "$ac_dir" ||
1481      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482      continue
1483    ac_builddir=.
1484
1485case "$ac_dir" in
1486.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487*)
1488  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1489  # A ".." for each directory in $ac_dir_suffix.
1490  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1491  case $ac_top_builddir_sub in
1492  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1494  esac ;;
1495esac
1496ac_abs_top_builddir=$ac_pwd
1497ac_abs_builddir=$ac_pwd$ac_dir_suffix
1498# for backward compatibility:
1499ac_top_builddir=$ac_top_build_prefix
1500
1501case $srcdir in
1502  .)  # We are building in place.
1503    ac_srcdir=.
1504    ac_top_srcdir=$ac_top_builddir_sub
1505    ac_abs_top_srcdir=$ac_pwd ;;
1506  [\\/]* | ?:[\\/]* )  # Absolute name.
1507    ac_srcdir=$srcdir$ac_dir_suffix;
1508    ac_top_srcdir=$srcdir
1509    ac_abs_top_srcdir=$srcdir ;;
1510  *) # Relative name.
1511    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1512    ac_top_srcdir=$ac_top_build_prefix$srcdir
1513    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514esac
1515ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516
1517    cd "$ac_dir" || { ac_status=$?; continue; }
1518    # Check for guested configure.
1519    if test -f "$ac_srcdir/configure.gnu"; then
1520      echo &&
1521      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1522    elif test -f "$ac_srcdir/configure"; then
1523      echo &&
1524      $SHELL "$ac_srcdir/configure" --help=recursive
1525    else
1526      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527    fi || ac_status=$?
1528    cd "$ac_pwd" || { ac_status=$?; break; }
1529  done
1530fi
1531
1532test -n "$ac_init_help" && exit $ac_status
1533if $ac_init_version; then
1534  cat <<\_ACEOF
1535DSSI configure 1.1.1
1536generated by GNU Autoconf 2.68
1537
1538Copyright (C) 2010 Free Software Foundation, Inc.
1539This configure script is free software; the Free Software Foundation
1540gives unlimited permission to copy, distribute and modify it.
1541_ACEOF
1542  exit
1543fi
1544
1545## ------------------------ ##
1546## Autoconf initialization. ##
1547## ------------------------ ##
1548
1549@%:@ ac_fn_c_try_compile LINENO
1550@%:@ --------------------------
1551@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1552ac_fn_c_try_compile ()
1553{
1554  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555  rm -f conftest.$ac_objext
1556  if { { ac_try="$ac_compile"
1557case "(($ac_try" in
1558  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1559  *) ac_try_echo=$ac_try;;
1560esac
1561eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562$as_echo "$ac_try_echo"; } >&5
1563  (eval "$ac_compile") 2>conftest.err
1564  ac_status=$?
1565  if test -s conftest.err; then
1566    grep -v '^ *+' conftest.err >conftest.er1
1567    cat conftest.er1 >&5
1568    mv -f conftest.er1 conftest.err
1569  fi
1570  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571  test $ac_status = 0; } && {
1572	 test -z "$ac_c_werror_flag" ||
1573	 test ! -s conftest.err
1574       } && test -s conftest.$ac_objext; then :
1575  ac_retval=0
1576else
1577  $as_echo "$as_me: failed program was:" >&5
1578sed 's/^/| /' conftest.$ac_ext >&5
1579
1580	ac_retval=1
1581fi
1582  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583  as_fn_set_status $ac_retval
1584
1585} @%:@ ac_fn_c_try_compile
1586
1587@%:@ ac_fn_cxx_try_compile LINENO
1588@%:@ ----------------------------
1589@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1590ac_fn_cxx_try_compile ()
1591{
1592  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593  rm -f conftest.$ac_objext
1594  if { { ac_try="$ac_compile"
1595case "(($ac_try" in
1596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597  *) ac_try_echo=$ac_try;;
1598esac
1599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600$as_echo "$ac_try_echo"; } >&5
1601  (eval "$ac_compile") 2>conftest.err
1602  ac_status=$?
1603  if test -s conftest.err; then
1604    grep -v '^ *+' conftest.err >conftest.er1
1605    cat conftest.er1 >&5
1606    mv -f conftest.er1 conftest.err
1607  fi
1608  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609  test $ac_status = 0; } && {
1610	 test -z "$ac_cxx_werror_flag" ||
1611	 test ! -s conftest.err
1612       } && test -s conftest.$ac_objext; then :
1613  ac_retval=0
1614else
1615  $as_echo "$as_me: failed program was:" >&5
1616sed 's/^/| /' conftest.$ac_ext >&5
1617
1618	ac_retval=1
1619fi
1620  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621  as_fn_set_status $ac_retval
1622
1623} @%:@ ac_fn_cxx_try_compile
1624
1625@%:@ ac_fn_c_try_link LINENO
1626@%:@ -----------------------
1627@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1628ac_fn_c_try_link ()
1629{
1630  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631  rm -f conftest.$ac_objext conftest$ac_exeext
1632  if { { ac_try="$ac_link"
1633case "(($ac_try" in
1634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635  *) ac_try_echo=$ac_try;;
1636esac
1637eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638$as_echo "$ac_try_echo"; } >&5
1639  (eval "$ac_link") 2>conftest.err
1640  ac_status=$?
1641  if test -s conftest.err; then
1642    grep -v '^ *+' conftest.err >conftest.er1
1643    cat conftest.er1 >&5
1644    mv -f conftest.er1 conftest.err
1645  fi
1646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647  test $ac_status = 0; } && {
1648	 test -z "$ac_c_werror_flag" ||
1649	 test ! -s conftest.err
1650       } && test -s conftest$ac_exeext && {
1651	 test "$cross_compiling" = yes ||
1652	 $as_test_x conftest$ac_exeext
1653       }; then :
1654  ac_retval=0
1655else
1656  $as_echo "$as_me: failed program was:" >&5
1657sed 's/^/| /' conftest.$ac_ext >&5
1658
1659	ac_retval=1
1660fi
1661  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663  # interfere with the next link command; also delete a directory that is
1664  # left behind by Apple's compiler.  We do this before executing the actions.
1665  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667  as_fn_set_status $ac_retval
1668
1669} @%:@ ac_fn_c_try_link
1670
1671@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672@%:@ -------------------------------------------------------
1673@%:@ Tests whether HEADER exists and can be compiled using the include files in
1674@%:@ INCLUDES, setting the cache variable VAR accordingly.
1675ac_fn_c_check_header_compile ()
1676{
1677  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679$as_echo_n "checking for $2... " >&6; }
1680if eval \${$3+:} false; then :
1681  $as_echo_n "(cached) " >&6
1682else
1683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684/* end confdefs.h.  */
1685$4
1686@%:@include <$2>
1687_ACEOF
1688if ac_fn_c_try_compile "$LINENO"; then :
1689  eval "$3=yes"
1690else
1691  eval "$3=no"
1692fi
1693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694fi
1695eval ac_res=\$$3
1696	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697$as_echo "$ac_res" >&6; }
1698  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700} @%:@ ac_fn_c_check_header_compile
1701
1702@%:@ ac_fn_c_try_cpp LINENO
1703@%:@ ----------------------
1704@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1705ac_fn_c_try_cpp ()
1706{
1707  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708  if { { ac_try="$ac_cpp conftest.$ac_ext"
1709case "(($ac_try" in
1710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711  *) ac_try_echo=$ac_try;;
1712esac
1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714$as_echo "$ac_try_echo"; } >&5
1715  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716  ac_status=$?
1717  if test -s conftest.err; then
1718    grep -v '^ *+' conftest.err >conftest.er1
1719    cat conftest.er1 >&5
1720    mv -f conftest.er1 conftest.err
1721  fi
1722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723  test $ac_status = 0; } > conftest.i && {
1724	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725	 test ! -s conftest.err
1726       }; then :
1727  ac_retval=0
1728else
1729  $as_echo "$as_me: failed program was:" >&5
1730sed 's/^/| /' conftest.$ac_ext >&5
1731
1732    ac_retval=1
1733fi
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735  as_fn_set_status $ac_retval
1736
1737} @%:@ ac_fn_c_try_cpp
1738
1739@%:@ ac_fn_c_try_run LINENO
1740@%:@ ----------------------
1741@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1742@%:@ that executables *can* be run.
1743ac_fn_c_try_run ()
1744{
1745  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746  if { { ac_try="$ac_link"
1747case "(($ac_try" in
1748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749  *) ac_try_echo=$ac_try;;
1750esac
1751eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752$as_echo "$ac_try_echo"; } >&5
1753  (eval "$ac_link") 2>&5
1754  ac_status=$?
1755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757  { { case "(($ac_try" in
1758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759  *) ac_try_echo=$ac_try;;
1760esac
1761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762$as_echo "$ac_try_echo"; } >&5
1763  (eval "$ac_try") 2>&5
1764  ac_status=$?
1765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766  test $ac_status = 0; }; }; then :
1767  ac_retval=0
1768else
1769  $as_echo "$as_me: program exited with status $ac_status" >&5
1770       $as_echo "$as_me: failed program was:" >&5
1771sed 's/^/| /' conftest.$ac_ext >&5
1772
1773       ac_retval=$ac_status
1774fi
1775  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777  as_fn_set_status $ac_retval
1778
1779} @%:@ ac_fn_c_try_run
1780
1781@%:@ ac_fn_c_check_func LINENO FUNC VAR
1782@%:@ ----------------------------------
1783@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1784ac_fn_c_check_func ()
1785{
1786  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788$as_echo_n "checking for $2... " >&6; }
1789if eval \${$3+:} false; then :
1790  $as_echo_n "(cached) " >&6
1791else
1792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793/* end confdefs.h.  */
1794/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1796#define $2 innocuous_$2
1797
1798/* System header to define __stub macros and hopefully few prototypes,
1799    which can conflict with char $2 (); below.
1800    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801    <limits.h> exists even on freestanding compilers.  */
1802
1803#ifdef __STDC__
1804# include <limits.h>
1805#else
1806# include <assert.h>
1807#endif
1808
1809#undef $2
1810
1811/* Override any GCC internal prototype to avoid an error.
1812   Use char because int might match the return type of a GCC
1813   builtin and then its argument prototype would still apply.  */
1814#ifdef __cplusplus
1815extern "C"
1816#endif
1817char $2 ();
1818/* The GNU C library defines this for functions which it implements
1819    to always fail with ENOSYS.  Some functions are actually named
1820    something starting with __ and the normal name is an alias.  */
1821#if defined __stub_$2 || defined __stub___$2
1822choke me
1823#endif
1824
1825int
1826main ()
1827{
1828return $2 ();
1829  ;
1830  return 0;
1831}
1832_ACEOF
1833if ac_fn_c_try_link "$LINENO"; then :
1834  eval "$3=yes"
1835else
1836  eval "$3=no"
1837fi
1838rm -f core conftest.err conftest.$ac_objext \
1839    conftest$ac_exeext conftest.$ac_ext
1840fi
1841eval ac_res=\$$3
1842	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843$as_echo "$ac_res" >&6; }
1844  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1846} @%:@ ac_fn_c_check_func
1847
1848@%:@ ac_fn_cxx_try_cpp LINENO
1849@%:@ ------------------------
1850@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1851ac_fn_cxx_try_cpp ()
1852{
1853  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854  if { { ac_try="$ac_cpp conftest.$ac_ext"
1855case "(($ac_try" in
1856  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857  *) ac_try_echo=$ac_try;;
1858esac
1859eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860$as_echo "$ac_try_echo"; } >&5
1861  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1862  ac_status=$?
1863  if test -s conftest.err; then
1864    grep -v '^ *+' conftest.err >conftest.er1
1865    cat conftest.er1 >&5
1866    mv -f conftest.er1 conftest.err
1867  fi
1868  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869  test $ac_status = 0; } > conftest.i && {
1870	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1871	 test ! -s conftest.err
1872       }; then :
1873  ac_retval=0
1874else
1875  $as_echo "$as_me: failed program was:" >&5
1876sed 's/^/| /' conftest.$ac_ext >&5
1877
1878    ac_retval=1
1879fi
1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881  as_fn_set_status $ac_retval
1882
1883} @%:@ ac_fn_cxx_try_cpp
1884
1885@%:@ ac_fn_cxx_try_link LINENO
1886@%:@ -------------------------
1887@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1888ac_fn_cxx_try_link ()
1889{
1890  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891  rm -f conftest.$ac_objext conftest$ac_exeext
1892  if { { ac_try="$ac_link"
1893case "(($ac_try" in
1894  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895  *) ac_try_echo=$ac_try;;
1896esac
1897eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898$as_echo "$ac_try_echo"; } >&5
1899  (eval "$ac_link") 2>conftest.err
1900  ac_status=$?
1901  if test -s conftest.err; then
1902    grep -v '^ *+' conftest.err >conftest.er1
1903    cat conftest.er1 >&5
1904    mv -f conftest.er1 conftest.err
1905  fi
1906  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907  test $ac_status = 0; } && {
1908	 test -z "$ac_cxx_werror_flag" ||
1909	 test ! -s conftest.err
1910       } && test -s conftest$ac_exeext && {
1911	 test "$cross_compiling" = yes ||
1912	 $as_test_x conftest$ac_exeext
1913       }; then :
1914  ac_retval=0
1915else
1916  $as_echo "$as_me: failed program was:" >&5
1917sed 's/^/| /' conftest.$ac_ext >&5
1918
1919	ac_retval=1
1920fi
1921  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1922  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1923  # interfere with the next link command; also delete a directory that is
1924  # left behind by Apple's compiler.  We do this before executing the actions.
1925  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927  as_fn_set_status $ac_retval
1928
1929} @%:@ ac_fn_cxx_try_link
1930
1931@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1932@%:@ -------------------------------------------------------
1933@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1934@%:@ the include files in INCLUDES and setting the cache variable VAR
1935@%:@ accordingly.
1936ac_fn_c_check_header_mongrel ()
1937{
1938  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939  if eval \${$3+:} false; then :
1940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941$as_echo_n "checking for $2... " >&6; }
1942if eval \${$3+:} false; then :
1943  $as_echo_n "(cached) " >&6
1944fi
1945eval ac_res=\$$3
1946	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947$as_echo "$ac_res" >&6; }
1948else
1949  # Is the header compilable?
1950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1951$as_echo_n "checking $2 usability... " >&6; }
1952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953/* end confdefs.h.  */
1954$4
1955@%:@include <$2>
1956_ACEOF
1957if ac_fn_c_try_compile "$LINENO"; then :
1958  ac_header_compiler=yes
1959else
1960  ac_header_compiler=no
1961fi
1962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1964$as_echo "$ac_header_compiler" >&6; }
1965
1966# Is the header present?
1967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1968$as_echo_n "checking $2 presence... " >&6; }
1969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970/* end confdefs.h.  */
1971@%:@include <$2>
1972_ACEOF
1973if ac_fn_c_try_cpp "$LINENO"; then :
1974  ac_header_preproc=yes
1975else
1976  ac_header_preproc=no
1977fi
1978rm -f conftest.err conftest.i conftest.$ac_ext
1979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1980$as_echo "$ac_header_preproc" >&6; }
1981
1982# So?  What about this header?
1983case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1984  yes:no: )
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1986$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989    ;;
1990  no:yes:* )
1991    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1992$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1993    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1994$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1995    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1996$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1997    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1998$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1999    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2001( $as_echo "## ----------------------------------------------- ##
2002## Report this to dssi-devel@lists.sourceforge.net ##
2003## ----------------------------------------------- ##"
2004     ) | sed "s/^/$as_me: WARNING:     /" >&2
2005    ;;
2006esac
2007  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008$as_echo_n "checking for $2... " >&6; }
2009if eval \${$3+:} false; then :
2010  $as_echo_n "(cached) " >&6
2011else
2012  eval "$3=\$ac_header_compiler"
2013fi
2014eval ac_res=\$$3
2015	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016$as_echo "$ac_res" >&6; }
2017fi
2018  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
2020} @%:@ ac_fn_c_check_header_mongrel
2021
2022@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2023@%:@ ---------------------------------------------------------
2024@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025@%:@ the include files in INCLUDES and setting the cache variable VAR
2026@%:@ accordingly.
2027ac_fn_cxx_check_header_mongrel ()
2028{
2029  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030  if eval \${$3+:} false; then :
2031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032$as_echo_n "checking for $2... " >&6; }
2033if eval \${$3+:} false; then :
2034  $as_echo_n "(cached) " >&6
2035fi
2036eval ac_res=\$$3
2037	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038$as_echo "$ac_res" >&6; }
2039else
2040  # Is the header compilable?
2041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042$as_echo_n "checking $2 usability... " >&6; }
2043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044/* end confdefs.h.  */
2045$4
2046@%:@include <$2>
2047_ACEOF
2048if ac_fn_cxx_try_compile "$LINENO"; then :
2049  ac_header_compiler=yes
2050else
2051  ac_header_compiler=no
2052fi
2053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055$as_echo "$ac_header_compiler" >&6; }
2056
2057# Is the header present?
2058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059$as_echo_n "checking $2 presence... " >&6; }
2060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061/* end confdefs.h.  */
2062@%:@include <$2>
2063_ACEOF
2064if ac_fn_cxx_try_cpp "$LINENO"; then :
2065  ac_header_preproc=yes
2066else
2067  ac_header_preproc=no
2068fi
2069rm -f conftest.err conftest.i conftest.$ac_ext
2070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071$as_echo "$ac_header_preproc" >&6; }
2072
2073# So?  What about this header?
2074case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2075  yes:no: )
2076    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080    ;;
2081  no:yes:* )
2082    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2085$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2086    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2089$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2090    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092( $as_echo "## ----------------------------------------------- ##
2093## Report this to dssi-devel@lists.sourceforge.net ##
2094## ----------------------------------------------- ##"
2095     ) | sed "s/^/$as_me: WARNING:     /" >&2
2096    ;;
2097esac
2098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099$as_echo_n "checking for $2... " >&6; }
2100if eval \${$3+:} false; then :
2101  $as_echo_n "(cached) " >&6
2102else
2103  eval "$3=\$ac_header_compiler"
2104fi
2105eval ac_res=\$$3
2106	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107$as_echo "$ac_res" >&6; }
2108fi
2109  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110
2111} @%:@ ac_fn_cxx_check_header_mongrel
2112cat >config.log <<_ACEOF
2113This file contains any messages produced by compilers while
2114running configure, to aid debugging if configure makes a mistake.
2115
2116It was created by DSSI $as_me 1.1.1, which was
2117generated by GNU Autoconf 2.68.  Invocation command line was
2118
2119  $ $0 $@
2120
2121_ACEOF
2122exec 5>>config.log
2123{
2124cat <<_ASUNAME
2125## --------- ##
2126## Platform. ##
2127## --------- ##
2128
2129hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2130uname -m = `(uname -m) 2>/dev/null || echo unknown`
2131uname -r = `(uname -r) 2>/dev/null || echo unknown`
2132uname -s = `(uname -s) 2>/dev/null || echo unknown`
2133uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134
2135/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2136/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2137
2138/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2139/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2140/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2141/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2142/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2143/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2144/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2145
2146_ASUNAME
2147
2148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149for as_dir in $PATH
2150do
2151  IFS=$as_save_IFS
2152  test -z "$as_dir" && as_dir=.
2153    $as_echo "PATH: $as_dir"
2154  done
2155IFS=$as_save_IFS
2156
2157} >&5
2158
2159cat >&5 <<_ACEOF
2160
2161
2162## ----------- ##
2163## Core tests. ##
2164## ----------- ##
2165
2166_ACEOF
2167
2168
2169# Keep a trace of the command line.
2170# Strip out --no-create and --no-recursion so they do not pile up.
2171# Strip out --silent because we don't want to record it for future runs.
2172# Also quote any args containing shell meta-characters.
2173# Make two passes to allow for proper duplicate-argument suppression.
2174ac_configure_args=
2175ac_configure_args0=
2176ac_configure_args1=
2177ac_must_keep_next=false
2178for ac_pass in 1 2
2179do
2180  for ac_arg
2181  do
2182    case $ac_arg in
2183    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2184    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2185    | -silent | --silent | --silen | --sile | --sil)
2186      continue ;;
2187    *\'*)
2188      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189    esac
2190    case $ac_pass in
2191    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2192    2)
2193      as_fn_append ac_configure_args1 " '$ac_arg'"
2194      if test $ac_must_keep_next = true; then
2195	ac_must_keep_next=false # Got value, back to normal.
2196      else
2197	case $ac_arg in
2198	  *=* | --config-cache | -C | -disable-* | --disable-* \
2199	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2200	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2201	  | -with-* | --with-* | -without-* | --without-* | --x)
2202	    case "$ac_configure_args0 " in
2203	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204	    esac
2205	    ;;
2206	  -* ) ac_must_keep_next=true ;;
2207	esac
2208      fi
2209      as_fn_append ac_configure_args " '$ac_arg'"
2210      ;;
2211    esac
2212  done
2213done
2214{ ac_configure_args0=; unset ac_configure_args0;}
2215{ ac_configure_args1=; unset ac_configure_args1;}
2216
2217# When interrupted or exit'd, cleanup temporary files, and complete
2218# config.log.  We remove comments because anyway the quotes in there
2219# would cause problems or look ugly.
2220# WARNING: Use '\'' to represent an apostrophe within the trap.
2221# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2222trap 'exit_status=$?
2223  # Save into config.log some information that might help in debugging.
2224  {
2225    echo
2226
2227    $as_echo "## ---------------- ##
2228## Cache variables. ##
2229## ---------------- ##"
2230    echo
2231    # The following way of writing the cache mishandles newlines in values,
2232(
2233  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234    eval ac_val=\$$ac_var
2235    case $ac_val in #(
2236    *${as_nl}*)
2237      case $ac_var in #(
2238      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2239$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2240      esac
2241      case $ac_var in #(
2242      _ | IFS | as_nl) ;; #(
2243      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2244      *) { eval $ac_var=; unset $ac_var;} ;;
2245      esac ;;
2246    esac
2247  done
2248  (set) 2>&1 |
2249    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2250    *${as_nl}ac_space=\ *)
2251      sed -n \
2252	"s/'\''/'\''\\\\'\'''\''/g;
2253	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254      ;; #(
2255    *)
2256      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2257      ;;
2258    esac |
2259    sort
2260)
2261    echo
2262
2263    $as_echo "## ----------------- ##
2264## Output variables. ##
2265## ----------------- ##"
2266    echo
2267    for ac_var in $ac_subst_vars
2268    do
2269      eval ac_val=\$$ac_var
2270      case $ac_val in
2271      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272      esac
2273      $as_echo "$ac_var='\''$ac_val'\''"
2274    done | sort
2275    echo
2276
2277    if test -n "$ac_subst_files"; then
2278      $as_echo "## ------------------- ##
2279## File substitutions. ##
2280## ------------------- ##"
2281      echo
2282      for ac_var in $ac_subst_files
2283      do
2284	eval ac_val=\$$ac_var
2285	case $ac_val in
2286	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287	esac
2288	$as_echo "$ac_var='\''$ac_val'\''"
2289      done | sort
2290      echo
2291    fi
2292
2293    if test -s confdefs.h; then
2294      $as_echo "## ----------- ##
2295## confdefs.h. ##
2296## ----------- ##"
2297      echo
2298      cat confdefs.h
2299      echo
2300    fi
2301    test "$ac_signal" != 0 &&
2302      $as_echo "$as_me: caught signal $ac_signal"
2303    $as_echo "$as_me: exit $exit_status"
2304  } >&5
2305  rm -f core *.core core.conftest.* &&
2306    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2307    exit $exit_status
2308' 0
2309for ac_signal in 1 2 13 15; do
2310  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2311done
2312ac_signal=0
2313
2314# confdefs.h avoids OS command line length limits that DEFS can exceed.
2315rm -f -r conftest* confdefs.h
2316
2317$as_echo "/* confdefs.h */" > confdefs.h
2318
2319# Predefined preprocessor variables.
2320
2321cat >>confdefs.h <<_ACEOF
2322@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2323_ACEOF
2324
2325cat >>confdefs.h <<_ACEOF
2326@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2327_ACEOF
2328
2329cat >>confdefs.h <<_ACEOF
2330@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2331_ACEOF
2332
2333cat >>confdefs.h <<_ACEOF
2334@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2335_ACEOF
2336
2337cat >>confdefs.h <<_ACEOF
2338@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2339_ACEOF
2340
2341cat >>confdefs.h <<_ACEOF
2342@%:@define PACKAGE_URL "$PACKAGE_URL"
2343_ACEOF
2344
2345
2346# Let the site file select an alternate cache file if it wants to.
2347# Prefer an explicitly selected file to automatically selected ones.
2348ac_site_file1=NONE
2349ac_site_file2=NONE
2350if test -n "$CONFIG_SITE"; then
2351  # We do not want a PATH search for config.site.
2352  case $CONFIG_SITE in @%:@((
2353    -*)  ac_site_file1=./$CONFIG_SITE;;
2354    */*) ac_site_file1=$CONFIG_SITE;;
2355    *)   ac_site_file1=./$CONFIG_SITE;;
2356  esac
2357elif test "x$prefix" != xNONE; then
2358  ac_site_file1=$prefix/share/config.site
2359  ac_site_file2=$prefix/etc/config.site
2360else
2361  ac_site_file1=$ac_default_prefix/share/config.site
2362  ac_site_file2=$ac_default_prefix/etc/config.site
2363fi
2364for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2365do
2366  test "x$ac_site_file" = xNONE && continue
2367  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2368    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2369$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2370    sed 's/^/| /' "$ac_site_file" >&5
2371    . "$ac_site_file" \
2372      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2373$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2374as_fn_error $? "failed to load site script $ac_site_file
2375See \`config.log' for more details" "$LINENO" 5; }
2376  fi
2377done
2378
2379if test -r "$cache_file"; then
2380  # Some versions of bash will fail to source /dev/null (special files
2381  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2382  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2383    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2384$as_echo "$as_me: loading cache $cache_file" >&6;}
2385    case $cache_file in
2386      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2387      *)                      . "./$cache_file";;
2388    esac
2389  fi
2390else
2391  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2392$as_echo "$as_me: creating cache $cache_file" >&6;}
2393  >$cache_file
2394fi
2395
2396# Check that the precious variables saved in the cache have kept the same
2397# value.
2398ac_cache_corrupted=false
2399for ac_var in $ac_precious_vars; do
2400  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2401  eval ac_new_set=\$ac_env_${ac_var}_set
2402  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2403  eval ac_new_val=\$ac_env_${ac_var}_value
2404  case $ac_old_set,$ac_new_set in
2405    set,)
2406      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2407$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2408      ac_cache_corrupted=: ;;
2409    ,set)
2410      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2411$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2412      ac_cache_corrupted=: ;;
2413    ,);;
2414    *)
2415      if test "x$ac_old_val" != "x$ac_new_val"; then
2416	# differences in whitespace do not lead to failure.
2417	ac_old_val_w=`echo x $ac_old_val`
2418	ac_new_val_w=`echo x $ac_new_val`
2419	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2420	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2421$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2422	  ac_cache_corrupted=:
2423	else
2424	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2425$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2426	  eval $ac_var=\$ac_old_val
2427	fi
2428	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2429$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2430	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2431$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2432      fi;;
2433  esac
2434  # Pass precious variables to config.status.
2435  if test "$ac_new_set" = set; then
2436    case $ac_new_val in
2437    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2438    *) ac_arg=$ac_var=$ac_new_val ;;
2439    esac
2440    case " $ac_configure_args " in
2441      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2442      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2443    esac
2444  fi
2445done
2446if $ac_cache_corrupted; then
2447  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2450$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2451  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452fi
2453## -------------------- ##
2454## Main body of script. ##
2455## -------------------- ##
2456
2457ac_ext=c
2458ac_cpp='$CPP $CPPFLAGS'
2459ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462
2463
2464
2465
2466am__api_version='1.11'
2467
2468ac_aux_dir=
2469for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470  if test -f "$ac_dir/install-sh"; then
2471    ac_aux_dir=$ac_dir
2472    ac_install_sh="$ac_aux_dir/install-sh -c"
2473    break
2474  elif test -f "$ac_dir/install.sh"; then
2475    ac_aux_dir=$ac_dir
2476    ac_install_sh="$ac_aux_dir/install.sh -c"
2477    break
2478  elif test -f "$ac_dir/shtool"; then
2479    ac_aux_dir=$ac_dir
2480    ac_install_sh="$ac_aux_dir/shtool install -c"
2481    break
2482  fi
2483done
2484if test -z "$ac_aux_dir"; then
2485  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2486fi
2487
2488# These three variables are undocumented and unsupported,
2489# and are intended to be withdrawn in a future Autoconf release.
2490# They can cause serious problems if a builder's source tree is in a directory
2491# whose full name contains unusual characters.
2492ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2493ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2494ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2495
2496
2497# Find a good install program.  We prefer a C program (faster),
2498# so one script is as good as another.  But avoid the broken or
2499# incompatible versions:
2500# SysV /etc/install, /usr/sbin/install
2501# SunOS /usr/etc/install
2502# IRIX /sbin/install
2503# AIX /bin/install
2504# AmigaOS /C/install, which installs bootblocks on floppy discs
2505# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2506# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2507# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2508# OS/2's system install, which has a completely different semantic
2509# ./install, which can be erroneously created by make from ./install.sh.
2510# Reject install programs that cannot install multiple files.
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2512$as_echo_n "checking for a BSD-compatible install... " >&6; }
2513if test -z "$INSTALL"; then
2514if ${ac_cv_path_install+:} false; then :
2515  $as_echo_n "(cached) " >&6
2516else
2517  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518for as_dir in $PATH
2519do
2520  IFS=$as_save_IFS
2521  test -z "$as_dir" && as_dir=.
2522    # Account for people who put trailing slashes in PATH elements.
2523case $as_dir/ in @%:@((
2524  ./ | .// | /[cC]/* | \
2525  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2526  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2527  /usr/ucb/* ) ;;
2528  *)
2529    # OSF1 and SCO ODT 3.0 have their own names for install.
2530    # Don't use installbsd from OSF since it installs stuff as root
2531    # by default.
2532    for ac_prog in ginstall scoinst install; do
2533      for ac_exec_ext in '' $ac_executable_extensions; do
2534	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2535	  if test $ac_prog = install &&
2536	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2537	    # AIX install.  It has an incompatible calling convention.
2538	    :
2539	  elif test $ac_prog = install &&
2540	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2541	    # program-specific install script used by HP pwplus--don't use.
2542	    :
2543	  else
2544	    rm -rf conftest.one conftest.two conftest.dir
2545	    echo one > conftest.one
2546	    echo two > conftest.two
2547	    mkdir conftest.dir
2548	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2549	      test -s conftest.one && test -s conftest.two &&
2550	      test -s conftest.dir/conftest.one &&
2551	      test -s conftest.dir/conftest.two
2552	    then
2553	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2554	      break 3
2555	    fi
2556	  fi
2557	fi
2558      done
2559    done
2560    ;;
2561esac
2562
2563  done
2564IFS=$as_save_IFS
2565
2566rm -rf conftest.one conftest.two conftest.dir
2567
2568fi
2569  if test "${ac_cv_path_install+set}" = set; then
2570    INSTALL=$ac_cv_path_install
2571  else
2572    # As a last resort, use the slow shell script.  Don't cache a
2573    # value for INSTALL within a source directory, because that will
2574    # break other packages using the cache if that directory is
2575    # removed, or if the value is a relative name.
2576    INSTALL=$ac_install_sh
2577  fi
2578fi
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2580$as_echo "$INSTALL" >&6; }
2581
2582# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2583# It thinks the first close brace ends the variable substitution.
2584test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2585
2586test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2587
2588test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2589
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2591$as_echo_n "checking whether build environment is sane... " >&6; }
2592# Just in case
2593sleep 1
2594echo timestamp > conftest.file
2595# Reject unsafe characters in $srcdir or the absolute working directory
2596# name.  Accept space and tab only in the latter.
2597am_lf='
2598'
2599case `pwd` in
2600  *[\\\"\#\$\&\'\`$am_lf]*)
2601    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2602esac
2603case $srcdir in
2604  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2605    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2606esac
2607
2608# Do `set' in a subshell so we don't clobber the current shell's
2609# arguments.  Must try -L first in case configure is actually a
2610# symlink; some systems play weird games with the mod time of symlinks
2611# (eg FreeBSD returns the mod time of the symlink's containing
2612# directory).
2613if (
2614   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2615   if test "$*" = "X"; then
2616      # -L didn't work.
2617      set X `ls -t "$srcdir/configure" conftest.file`
2618   fi
2619   rm -f conftest.file
2620   if test "$*" != "X $srcdir/configure conftest.file" \
2621      && test "$*" != "X conftest.file $srcdir/configure"; then
2622
2623      # If neither matched, then we have a broken ls.  This can happen
2624      # if, for instance, CONFIG_SHELL is bash and it inherits a
2625      # broken ls alias from the environment.  This has actually
2626      # happened.  Such a system could not be considered "sane".
2627      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2628alias in your environment" "$LINENO" 5
2629   fi
2630
2631   test "$2" = conftest.file
2632   )
2633then
2634   # Ok.
2635   :
2636else
2637   as_fn_error $? "newly created file is older than distributed files!
2638Check your system clock" "$LINENO" 5
2639fi
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641$as_echo "yes" >&6; }
2642test "$program_prefix" != NONE &&
2643  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2644# Use a double $ so make ignores it.
2645test "$program_suffix" != NONE &&
2646  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2647# Double any \ or $.
2648# By default was `s,x,x', remove it if useless.
2649ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2650program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651
2652# expand $ac_aux_dir to an absolute path
2653am_aux_dir=`cd $ac_aux_dir && pwd`
2654
2655if test x"${MISSING+set}" != xset; then
2656  case $am_aux_dir in
2657  *\ * | *\	*)
2658    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659  *)
2660    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2661  esac
2662fi
2663# Use eval to expand $SHELL
2664if eval "$MISSING --run true"; then
2665  am_missing_run="$MISSING --run "
2666else
2667  am_missing_run=
2668  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2669$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2670fi
2671
2672if test x"${install_sh}" != xset; then
2673  case $am_aux_dir in
2674  *\ * | *\	*)
2675    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676  *)
2677    install_sh="\${SHELL} $am_aux_dir/install-sh"
2678  esac
2679fi
2680
2681# Installed binaries are usually stripped using `strip' when the user
2682# run `make install-strip'.  However `strip' might not be the right
2683# tool to use in cross-compilation environments, therefore Automake
2684# will honor the `STRIP' environment variable to overrule this program.
2685if test "$cross_compiling" != no; then
2686  if test -n "$ac_tool_prefix"; then
2687  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2688set dummy ${ac_tool_prefix}strip; ac_word=$2
2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690$as_echo_n "checking for $ac_word... " >&6; }
2691if ${ac_cv_prog_STRIP+:} false; then :
2692  $as_echo_n "(cached) " >&6
2693else
2694  if test -n "$STRIP"; then
2695  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2696else
2697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698for as_dir in $PATH
2699do
2700  IFS=$as_save_IFS
2701  test -z "$as_dir" && as_dir=.
2702    for ac_exec_ext in '' $ac_executable_extensions; do
2703  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2705    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706    break 2
2707  fi
2708done
2709  done
2710IFS=$as_save_IFS
2711
2712fi
2713fi
2714STRIP=$ac_cv_prog_STRIP
2715if test -n "$STRIP"; then
2716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2717$as_echo "$STRIP" >&6; }
2718else
2719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720$as_echo "no" >&6; }
2721fi
2722
2723
2724fi
2725if test -z "$ac_cv_prog_STRIP"; then
2726  ac_ct_STRIP=$STRIP
2727  # Extract the first word of "strip", so it can be a program name with args.
2728set dummy strip; ac_word=$2
2729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730$as_echo_n "checking for $ac_word... " >&6; }
2731if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2732  $as_echo_n "(cached) " >&6
2733else
2734  if test -n "$ac_ct_STRIP"; then
2735  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2736else
2737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738for as_dir in $PATH
2739do
2740  IFS=$as_save_IFS
2741  test -z "$as_dir" && as_dir=.
2742    for ac_exec_ext in '' $ac_executable_extensions; do
2743  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744    ac_cv_prog_ac_ct_STRIP="strip"
2745    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746    break 2
2747  fi
2748done
2749  done
2750IFS=$as_save_IFS
2751
2752fi
2753fi
2754ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2755if test -n "$ac_ct_STRIP"; then
2756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2757$as_echo "$ac_ct_STRIP" >&6; }
2758else
2759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760$as_echo "no" >&6; }
2761fi
2762
2763  if test "x$ac_ct_STRIP" = x; then
2764    STRIP=":"
2765  else
2766    case $cross_compiling:$ac_tool_warned in
2767yes:)
2768{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770ac_tool_warned=yes ;;
2771esac
2772    STRIP=$ac_ct_STRIP
2773  fi
2774else
2775  STRIP="$ac_cv_prog_STRIP"
2776fi
2777
2778fi
2779INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2780
2781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2782$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2783if test -z "$MKDIR_P"; then
2784  if ${ac_cv_path_mkdir+:} false; then :
2785  $as_echo_n "(cached) " >&6
2786else
2787  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2789do
2790  IFS=$as_save_IFS
2791  test -z "$as_dir" && as_dir=.
2792    for ac_prog in mkdir gmkdir; do
2793	 for ac_exec_ext in '' $ac_executable_extensions; do
2794	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2795	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2796	     'mkdir (GNU coreutils) '* | \
2797	     'mkdir (coreutils) '* | \
2798	     'mkdir (fileutils) '4.1*)
2799	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2800	       break 3;;
2801	   esac
2802	 done
2803       done
2804  done
2805IFS=$as_save_IFS
2806
2807fi
2808
2809  test -d ./--version && rmdir ./--version
2810  if test "${ac_cv_path_mkdir+set}" = set; then
2811    MKDIR_P="$ac_cv_path_mkdir -p"
2812  else
2813    # As a last resort, use the slow shell script.  Don't cache a
2814    # value for MKDIR_P within a source directory, because that will
2815    # break other packages using the cache if that directory is
2816    # removed, or if the value is a relative name.
2817    MKDIR_P="$ac_install_sh -d"
2818  fi
2819fi
2820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2821$as_echo "$MKDIR_P" >&6; }
2822
2823mkdir_p="$MKDIR_P"
2824case $mkdir_p in
2825  [\\/$]* | ?:[\\/]*) ;;
2826  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2827esac
2828
2829for ac_prog in gawk mawk nawk awk
2830do
2831  # Extract the first word of "$ac_prog", so it can be a program name with args.
2832set dummy $ac_prog; ac_word=$2
2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834$as_echo_n "checking for $ac_word... " >&6; }
2835if ${ac_cv_prog_AWK+:} false; then :
2836  $as_echo_n "(cached) " >&6
2837else
2838  if test -n "$AWK"; then
2839  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2840else
2841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842for as_dir in $PATH
2843do
2844  IFS=$as_save_IFS
2845  test -z "$as_dir" && as_dir=.
2846    for ac_exec_ext in '' $ac_executable_extensions; do
2847  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848    ac_cv_prog_AWK="$ac_prog"
2849    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850    break 2
2851  fi
2852done
2853  done
2854IFS=$as_save_IFS
2855
2856fi
2857fi
2858AWK=$ac_cv_prog_AWK
2859if test -n "$AWK"; then
2860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2861$as_echo "$AWK" >&6; }
2862else
2863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864$as_echo "no" >&6; }
2865fi
2866
2867
2868  test -n "$AWK" && break
2869done
2870
2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2872$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873set x ${MAKE-make}
2874ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876  $as_echo_n "(cached) " >&6
2877else
2878  cat >conftest.make <<\_ACEOF
2879SHELL = /bin/sh
2880all:
2881	@echo '@@@%%%=$(MAKE)=@@@%%%'
2882_ACEOF
2883# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885  *@@@%%%=?*=@@@%%%*)
2886    eval ac_cv_prog_make_${ac_make}_set=yes;;
2887  *)
2888    eval ac_cv_prog_make_${ac_make}_set=no;;
2889esac
2890rm -f conftest.make
2891fi
2892if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2894$as_echo "yes" >&6; }
2895  SET_MAKE=
2896else
2897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898$as_echo "no" >&6; }
2899  SET_MAKE="MAKE=${MAKE-make}"
2900fi
2901
2902rm -rf .tst 2>/dev/null
2903mkdir .tst 2>/dev/null
2904if test -d .tst; then
2905  am__leading_dot=.
2906else
2907  am__leading_dot=_
2908fi
2909rmdir .tst 2>/dev/null
2910
2911if test "`cd $srcdir && pwd`" != "`pwd`"; then
2912  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2913  # is not polluted with repeated "-I."
2914  am__isrc=' -I$(srcdir)'
2915  # test to see if srcdir already configured
2916  if test -f $srcdir/config.status; then
2917    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918  fi
2919fi
2920
2921# test whether we have cygpath
2922if test -z "$CYGPATH_W"; then
2923  if (cygpath --version) >/dev/null 2>/dev/null; then
2924    CYGPATH_W='cygpath -w'
2925  else
2926    CYGPATH_W=echo
2927  fi
2928fi
2929
2930
2931# Define the identity of the package.
2932 PACKAGE='dssi'
2933 VERSION='1.1.1'
2934
2935
2936cat >>confdefs.h <<_ACEOF
2937@%:@define PACKAGE "$PACKAGE"
2938_ACEOF
2939
2940
2941cat >>confdefs.h <<_ACEOF
2942@%:@define VERSION "$VERSION"
2943_ACEOF
2944
2945# Some tools Automake needs.
2946
2947ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2948
2949
2950AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2951
2952
2953AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2954
2955
2956AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2957
2958
2959MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960
2961# We need awk for the "check" target.  The system "awk" is bad on
2962# some platforms.
2963# Always define AMTAR for backward compatibility.
2964
2965AMTAR=${AMTAR-"${am_missing_run}tar"}
2966
2967am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2968
2969
2970
2971
2972
2973ac_config_headers="$ac_config_headers config.h"
2974
2975
2976ac_ext=c
2977ac_cpp='$CPP $CPPFLAGS'
2978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2980ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981if test -n "$ac_tool_prefix"; then
2982  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2983set dummy ${ac_tool_prefix}gcc; ac_word=$2
2984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985$as_echo_n "checking for $ac_word... " >&6; }
2986if ${ac_cv_prog_CC+:} false; then :
2987  $as_echo_n "(cached) " >&6
2988else
2989  if test -n "$CC"; then
2990  ac_cv_prog_CC="$CC" # Let the user override the test.
2991else
2992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993for as_dir in $PATH
2994do
2995  IFS=$as_save_IFS
2996  test -z "$as_dir" && as_dir=.
2997    for ac_exec_ext in '' $ac_executable_extensions; do
2998  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001    break 2
3002  fi
3003done
3004  done
3005IFS=$as_save_IFS
3006
3007fi
3008fi
3009CC=$ac_cv_prog_CC
3010if test -n "$CC"; then
3011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012$as_echo "$CC" >&6; }
3013else
3014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015$as_echo "no" >&6; }
3016fi
3017
3018
3019fi
3020if test -z "$ac_cv_prog_CC"; then
3021  ac_ct_CC=$CC
3022  # Extract the first word of "gcc", so it can be a program name with args.
3023set dummy gcc; ac_word=$2
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025$as_echo_n "checking for $ac_word... " >&6; }
3026if ${ac_cv_prog_ac_ct_CC+:} false; then :
3027  $as_echo_n "(cached) " >&6
3028else
3029  if test -n "$ac_ct_CC"; then
3030  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3031else
3032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033for as_dir in $PATH
3034do
3035  IFS=$as_save_IFS
3036  test -z "$as_dir" && as_dir=.
3037    for ac_exec_ext in '' $ac_executable_extensions; do
3038  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039    ac_cv_prog_ac_ct_CC="gcc"
3040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041    break 2
3042  fi
3043done
3044  done
3045IFS=$as_save_IFS
3046
3047fi
3048fi
3049ac_ct_CC=$ac_cv_prog_ac_ct_CC
3050if test -n "$ac_ct_CC"; then
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3052$as_echo "$ac_ct_CC" >&6; }
3053else
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055$as_echo "no" >&6; }
3056fi
3057
3058  if test "x$ac_ct_CC" = x; then
3059    CC=""
3060  else
3061    case $cross_compiling:$ac_tool_warned in
3062yes:)
3063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3065ac_tool_warned=yes ;;
3066esac
3067    CC=$ac_ct_CC
3068  fi
3069else
3070  CC="$ac_cv_prog_CC"
3071fi
3072
3073if test -z "$CC"; then
3074          if test -n "$ac_tool_prefix"; then
3075    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3076set dummy ${ac_tool_prefix}cc; ac_word=$2
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078$as_echo_n "checking for $ac_word... " >&6; }
3079if ${ac_cv_prog_CC+:} false; then :
3080  $as_echo_n "(cached) " >&6
3081else
3082  if test -n "$CC"; then
3083  ac_cv_prog_CC="$CC" # Let the user override the test.
3084else
3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086for as_dir in $PATH
3087do
3088  IFS=$as_save_IFS
3089  test -z "$as_dir" && as_dir=.
3090    for ac_exec_ext in '' $ac_executable_extensions; do
3091  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092    ac_cv_prog_CC="${ac_tool_prefix}cc"
3093    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094    break 2
3095  fi
3096done
3097  done
3098IFS=$as_save_IFS
3099
3100fi
3101fi
3102CC=$ac_cv_prog_CC
3103if test -n "$CC"; then
3104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3105$as_echo "$CC" >&6; }
3106else
3107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108$as_echo "no" >&6; }
3109fi
3110
3111
3112  fi
3113fi
3114if test -z "$CC"; then
3115  # Extract the first word of "cc", so it can be a program name with args.
3116set dummy cc; ac_word=$2
3117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118$as_echo_n "checking for $ac_word... " >&6; }
3119if ${ac_cv_prog_CC+:} false; then :
3120  $as_echo_n "(cached) " >&6
3121else
3122  if test -n "$CC"; then
3123  ac_cv_prog_CC="$CC" # Let the user override the test.
3124else
3125  ac_prog_rejected=no
3126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127for as_dir in $PATH
3128do
3129  IFS=$as_save_IFS
3130  test -z "$as_dir" && as_dir=.
3131    for ac_exec_ext in '' $ac_executable_extensions; do
3132  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3134       ac_prog_rejected=yes
3135       continue
3136     fi
3137    ac_cv_prog_CC="cc"
3138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139    break 2
3140  fi
3141done
3142  done
3143IFS=$as_save_IFS
3144
3145if test $ac_prog_rejected = yes; then
3146  # We found a bogon in the path, so make sure we never use it.
3147  set dummy $ac_cv_prog_CC
3148  shift
3149  if test $@%:@ != 0; then
3150    # We chose a different compiler from the bogus one.
3151    # However, it has the same basename, so the bogon will be chosen
3152    # first if we set CC to just the basename; use the full file name.
3153    shift
3154    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3155  fi
3156fi
3157fi
3158fi
3159CC=$ac_cv_prog_CC
3160if test -n "$CC"; then
3161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3162$as_echo "$CC" >&6; }
3163else
3164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165$as_echo "no" >&6; }
3166fi
3167
3168
3169fi
3170if test -z "$CC"; then
3171  if test -n "$ac_tool_prefix"; then
3172  for ac_prog in cl.exe
3173  do
3174    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3175set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177$as_echo_n "checking for $ac_word... " >&6; }
3178if ${ac_cv_prog_CC+:} false; then :
3179  $as_echo_n "(cached) " >&6
3180else
3181  if test -n "$CC"; then
3182  ac_cv_prog_CC="$CC" # Let the user override the test.
3183else
3184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185for as_dir in $PATH
3186do
3187  IFS=$as_save_IFS
3188  test -z "$as_dir" && as_dir=.
3189    for ac_exec_ext in '' $ac_executable_extensions; do
3190  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193    break 2
3194  fi
3195done
3196  done
3197IFS=$as_save_IFS
3198
3199fi
3200fi
3201CC=$ac_cv_prog_CC
3202if test -n "$CC"; then
3203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204$as_echo "$CC" >&6; }
3205else
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207$as_echo "no" >&6; }
3208fi
3209
3210
3211    test -n "$CC" && break
3212  done
3213fi
3214if test -z "$CC"; then
3215  ac_ct_CC=$CC
3216  for ac_prog in cl.exe
3217do
3218  # Extract the first word of "$ac_prog", so it can be a program name with args.
3219set dummy $ac_prog; ac_word=$2
3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221$as_echo_n "checking for $ac_word... " >&6; }
3222if ${ac_cv_prog_ac_ct_CC+:} false; then :
3223  $as_echo_n "(cached) " >&6
3224else
3225  if test -n "$ac_ct_CC"; then
3226  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3227else
3228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229for as_dir in $PATH
3230do
3231  IFS=$as_save_IFS
3232  test -z "$as_dir" && as_dir=.
3233    for ac_exec_ext in '' $ac_executable_extensions; do
3234  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235    ac_cv_prog_ac_ct_CC="$ac_prog"
3236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237    break 2
3238  fi
3239done
3240  done
3241IFS=$as_save_IFS
3242
3243fi
3244fi
3245ac_ct_CC=$ac_cv_prog_ac_ct_CC
3246if test -n "$ac_ct_CC"; then
3247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3248$as_echo "$ac_ct_CC" >&6; }
3249else
3250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251$as_echo "no" >&6; }
3252fi
3253
3254
3255  test -n "$ac_ct_CC" && break
3256done
3257
3258  if test "x$ac_ct_CC" = x; then
3259    CC=""
3260  else
3261    case $cross_compiling:$ac_tool_warned in
3262yes:)
3263{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265ac_tool_warned=yes ;;
3266esac
3267    CC=$ac_ct_CC
3268  fi
3269fi
3270
3271fi
3272
3273
3274test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276as_fn_error $? "no acceptable C compiler found in \$PATH
3277See \`config.log' for more details" "$LINENO" 5; }
3278
3279# Provide some information about the compiler.
3280$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3281set X $ac_compile
3282ac_compiler=$2
3283for ac_option in --version -v -V -qversion; do
3284  { { ac_try="$ac_compiler $ac_option >&5"
3285case "(($ac_try" in
3286  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287  *) ac_try_echo=$ac_try;;
3288esac
3289eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3290$as_echo "$ac_try_echo"; } >&5
3291  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3292  ac_status=$?
3293  if test -s conftest.err; then
3294    sed '10a\
3295... rest of stderr output deleted ...
3296         10q' conftest.err >conftest.er1
3297    cat conftest.er1 >&5
3298  fi
3299  rm -f conftest.er1 conftest.err
3300  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301  test $ac_status = 0; }
3302done
3303
3304cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305/* end confdefs.h.  */
3306
3307int
3308main ()
3309{
3310
3311  ;
3312  return 0;
3313}
3314_ACEOF
3315ac_clean_files_save=$ac_clean_files
3316ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3317# Try to create an executable without -o first, disregard a.out.
3318# It will help us diagnose broken compilers, and finding out an intuition
3319# of exeext.
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3321$as_echo_n "checking whether the C compiler works... " >&6; }
3322ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3323
3324# The possible output files:
3325ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3326
3327ac_rmfiles=
3328for ac_file in $ac_files
3329do
3330  case $ac_file in
3331    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3332    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3333  esac
3334done
3335rm -f $ac_rmfiles
3336
3337if { { ac_try="$ac_link_default"
3338case "(($ac_try" in
3339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340  *) ac_try_echo=$ac_try;;
3341esac
3342eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343$as_echo "$ac_try_echo"; } >&5
3344  (eval "$ac_link_default") 2>&5
3345  ac_status=$?
3346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347  test $ac_status = 0; }; then :
3348  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3349# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3350# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3351# so that the user can short-circuit this test for compilers unknown to
3352# Autoconf.
3353for ac_file in $ac_files ''
3354do
3355  test -f "$ac_file" || continue
3356  case $ac_file in
3357    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3358	;;
3359    [ab].out )
3360	# We found the default executable, but exeext='' is most
3361	# certainly right.
3362	break;;
3363    *.* )
3364	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3365	then :; else
3366	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3367	fi
3368	# We set ac_cv_exeext here because the later test for it is not
3369	# safe: cross compilers may not add the suffix if given an `-o'
3370	# argument, so we may need to know it at that point already.
3371	# Even if this section looks crufty: it has the advantage of
3372	# actually working.
3373	break;;
3374    * )
3375	break;;
3376  esac
3377done
3378test "$ac_cv_exeext" = no && ac_cv_exeext=
3379
3380else
3381  ac_file=''
3382fi
3383if test -z "$ac_file"; then :
3384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385$as_echo "no" >&6; }
3386$as_echo "$as_me: failed program was:" >&5
3387sed 's/^/| /' conftest.$ac_ext >&5
3388
3389{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391as_fn_error 77 "C compiler cannot create executables
3392See \`config.log' for more details" "$LINENO" 5; }
3393else
3394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3395$as_echo "yes" >&6; }
3396fi
3397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3398$as_echo_n "checking for C compiler default output file name... " >&6; }
3399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3400$as_echo "$ac_file" >&6; }
3401ac_exeext=$ac_cv_exeext
3402
3403rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3404ac_clean_files=$ac_clean_files_save
3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3406$as_echo_n "checking for suffix of executables... " >&6; }
3407if { { ac_try="$ac_link"
3408case "(($ac_try" in
3409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410  *) ac_try_echo=$ac_try;;
3411esac
3412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413$as_echo "$ac_try_echo"; } >&5
3414  (eval "$ac_link") 2>&5
3415  ac_status=$?
3416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417  test $ac_status = 0; }; then :
3418  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3419# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3420# work properly (i.e., refer to `conftest.exe'), while it won't with
3421# `rm'.
3422for ac_file in conftest.exe conftest conftest.*; do
3423  test -f "$ac_file" || continue
3424  case $ac_file in
3425    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3426    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3427	  break;;
3428    * ) break;;
3429  esac
3430done
3431else
3432  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3435See \`config.log' for more details" "$LINENO" 5; }
3436fi
3437rm -f conftest conftest$ac_cv_exeext
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3439$as_echo "$ac_cv_exeext" >&6; }
3440
3441rm -f conftest.$ac_ext
3442EXEEXT=$ac_cv_exeext
3443ac_exeext=$EXEEXT
3444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445/* end confdefs.h.  */
3446@%:@include <stdio.h>
3447int
3448main ()
3449{
3450FILE *f = fopen ("conftest.out", "w");
3451 return ferror (f) || fclose (f) != 0;
3452
3453  ;
3454  return 0;
3455}
3456_ACEOF
3457ac_clean_files="$ac_clean_files conftest.out"
3458# Check that the compiler produces executables we can run.  If not, either
3459# the compiler is broken, or we cross compile.
3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3461$as_echo_n "checking whether we are cross compiling... " >&6; }
3462if test "$cross_compiling" != yes; then
3463  { { ac_try="$ac_link"
3464case "(($ac_try" in
3465  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466  *) ac_try_echo=$ac_try;;
3467esac
3468eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469$as_echo "$ac_try_echo"; } >&5
3470  (eval "$ac_link") 2>&5
3471  ac_status=$?
3472  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473  test $ac_status = 0; }
3474  if { ac_try='./conftest$ac_cv_exeext'
3475  { { case "(($ac_try" in
3476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477  *) ac_try_echo=$ac_try;;
3478esac
3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480$as_echo "$ac_try_echo"; } >&5
3481  (eval "$ac_try") 2>&5
3482  ac_status=$?
3483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484  test $ac_status = 0; }; }; then
3485    cross_compiling=no
3486  else
3487    if test "$cross_compiling" = maybe; then
3488	cross_compiling=yes
3489    else
3490	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492as_fn_error $? "cannot run C compiled programs.
3493If you meant to cross compile, use \`--host'.
3494See \`config.log' for more details" "$LINENO" 5; }
3495    fi
3496  fi
3497fi
3498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3499$as_echo "$cross_compiling" >&6; }
3500
3501rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3502ac_clean_files=$ac_clean_files_save
3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3504$as_echo_n "checking for suffix of object files... " >&6; }
3505if ${ac_cv_objext+:} false; then :
3506  $as_echo_n "(cached) " >&6
3507else
3508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509/* end confdefs.h.  */
3510
3511int
3512main ()
3513{
3514
3515  ;
3516  return 0;
3517}
3518_ACEOF
3519rm -f conftest.o conftest.obj
3520if { { ac_try="$ac_compile"
3521case "(($ac_try" in
3522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523  *) ac_try_echo=$ac_try;;
3524esac
3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526$as_echo "$ac_try_echo"; } >&5
3527  (eval "$ac_compile") 2>&5
3528  ac_status=$?
3529  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530  test $ac_status = 0; }; then :
3531  for ac_file in conftest.o conftest.obj conftest.*; do
3532  test -f "$ac_file" || continue;
3533  case $ac_file in
3534    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3535    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3536       break;;
3537  esac
3538done
3539else
3540  $as_echo "$as_me: failed program was:" >&5
3541sed 's/^/| /' conftest.$ac_ext >&5
3542
3543{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545as_fn_error $? "cannot compute suffix of object files: cannot compile
3546See \`config.log' for more details" "$LINENO" 5; }
3547fi
3548rm -f conftest.$ac_cv_objext conftest.$ac_ext
3549fi
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3551$as_echo "$ac_cv_objext" >&6; }
3552OBJEXT=$ac_cv_objext
3553ac_objext=$OBJEXT
3554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3555$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3556if ${ac_cv_c_compiler_gnu+:} false; then :
3557  $as_echo_n "(cached) " >&6
3558else
3559  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560/* end confdefs.h.  */
3561
3562int
3563main ()
3564{
3565#ifndef __GNUC__
3566       choke me
3567#endif
3568
3569  ;
3570  return 0;
3571}
3572_ACEOF
3573if ac_fn_c_try_compile "$LINENO"; then :
3574  ac_compiler_gnu=yes
3575else
3576  ac_compiler_gnu=no
3577fi
3578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3579ac_cv_c_compiler_gnu=$ac_compiler_gnu
3580
3581fi
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3583$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3584if test $ac_compiler_gnu = yes; then
3585  GCC=yes
3586else
3587  GCC=
3588fi
3589ac_test_CFLAGS=${CFLAGS+set}
3590ac_save_CFLAGS=$CFLAGS
3591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3592$as_echo_n "checking whether $CC accepts -g... " >&6; }
3593if ${ac_cv_prog_cc_g+:} false; then :
3594  $as_echo_n "(cached) " >&6
3595else
3596  ac_save_c_werror_flag=$ac_c_werror_flag
3597   ac_c_werror_flag=yes
3598   ac_cv_prog_cc_g=no
3599   CFLAGS="-g"
3600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601/* end confdefs.h.  */
3602
3603int
3604main ()
3605{
3606
3607  ;
3608  return 0;
3609}
3610_ACEOF
3611if ac_fn_c_try_compile "$LINENO"; then :
3612  ac_cv_prog_cc_g=yes
3613else
3614  CFLAGS=""
3615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616/* end confdefs.h.  */
3617
3618int
3619main ()
3620{
3621
3622  ;
3623  return 0;
3624}
3625_ACEOF
3626if ac_fn_c_try_compile "$LINENO"; then :
3627
3628else
3629  ac_c_werror_flag=$ac_save_c_werror_flag
3630	 CFLAGS="-g"
3631	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632/* end confdefs.h.  */
3633
3634int
3635main ()
3636{
3637
3638  ;
3639  return 0;
3640}
3641_ACEOF
3642if ac_fn_c_try_compile "$LINENO"; then :
3643  ac_cv_prog_cc_g=yes
3644fi
3645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646fi
3647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648fi
3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650   ac_c_werror_flag=$ac_save_c_werror_flag
3651fi
3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3653$as_echo "$ac_cv_prog_cc_g" >&6; }
3654if test "$ac_test_CFLAGS" = set; then
3655  CFLAGS=$ac_save_CFLAGS
3656elif test $ac_cv_prog_cc_g = yes; then
3657  if test "$GCC" = yes; then
3658    CFLAGS="-g -O2"
3659  else
3660    CFLAGS="-g"
3661  fi
3662else
3663  if test "$GCC" = yes; then
3664    CFLAGS="-O2"
3665  else
3666    CFLAGS=
3667  fi
3668fi
3669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3670$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3671if ${ac_cv_prog_cc_c89+:} false; then :
3672  $as_echo_n "(cached) " >&6
3673else
3674  ac_cv_prog_cc_c89=no
3675ac_save_CC=$CC
3676cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677/* end confdefs.h.  */
3678#include <stdarg.h>
3679#include <stdio.h>
3680#include <sys/types.h>
3681#include <sys/stat.h>
3682/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3683struct buf { int x; };
3684FILE * (*rcsopen) (struct buf *, struct stat *, int);
3685static char *e (p, i)
3686     char **p;
3687     int i;
3688{
3689  return p[i];
3690}
3691static char *f (char * (*g) (char **, int), char **p, ...)
3692{
3693  char *s;
3694  va_list v;
3695  va_start (v,p);
3696  s = g (p, va_arg (v,int));
3697  va_end (v);
3698  return s;
3699}
3700
3701/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3702   function prototypes and stuff, but not '\xHH' hex character constants.
3703   These don't provoke an error unfortunately, instead are silently treated
3704   as 'x'.  The following induces an error, until -std is added to get
3705   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3706   array size at least.  It's necessary to write '\x00'==0 to get something
3707   that's true only with -std.  */
3708int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3709
3710/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3711   inside strings and character constants.  */
3712#define FOO(x) 'x'
3713int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3714
3715int test (int i, double x);
3716struct s1 {int (*f) (int a);};
3717struct s2 {int (*f) (double a);};
3718int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3719int argc;
3720char **argv;
3721int
3722main ()
3723{
3724return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3725  ;
3726  return 0;
3727}
3728_ACEOF
3729for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3730	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3731do
3732  CC="$ac_save_CC $ac_arg"
3733  if ac_fn_c_try_compile "$LINENO"; then :
3734  ac_cv_prog_cc_c89=$ac_arg
3735fi
3736rm -f core conftest.err conftest.$ac_objext
3737  test "x$ac_cv_prog_cc_c89" != "xno" && break
3738done
3739rm -f conftest.$ac_ext
3740CC=$ac_save_CC
3741
3742fi
3743# AC_CACHE_VAL
3744case "x$ac_cv_prog_cc_c89" in
3745  x)
3746    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3747$as_echo "none needed" >&6; } ;;
3748  xno)
3749    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3750$as_echo "unsupported" >&6; } ;;
3751  *)
3752    CC="$CC $ac_cv_prog_cc_c89"
3753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3754$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3755esac
3756if test "x$ac_cv_prog_cc_c89" != xno; then :
3757
3758fi
3759
3760ac_ext=c
3761ac_cpp='$CPP $CPPFLAGS'
3762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765DEPDIR="${am__leading_dot}deps"
3766
3767ac_config_commands="$ac_config_commands depfiles"
3768
3769
3770am_make=${MAKE-make}
3771cat > confinc << 'END'
3772am__doit:
3773	@echo this is the am__doit target
3774.PHONY: am__doit
3775END
3776# If we don't find an include directive, just comment out the code.
3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3778$as_echo_n "checking for style of include used by $am_make... " >&6; }
3779am__include="#"
3780am__quote=
3781_am_result=none
3782# First try GNU make style include.
3783echo "include confinc" > confmf
3784# Ignore all kinds of additional output from `make'.
3785case `$am_make -s -f confmf 2> /dev/null` in #(
3786*the\ am__doit\ target*)
3787  am__include=include
3788  am__quote=
3789  _am_result=GNU
3790  ;;
3791esac
3792# Now try BSD make style include.
3793if test "$am__include" = "#"; then
3794   echo '.include "confinc"' > confmf
3795   case `$am_make -s -f confmf 2> /dev/null` in #(
3796   *the\ am__doit\ target*)
3797     am__include=.include
3798     am__quote="\""
3799     _am_result=BSD
3800     ;;
3801   esac
3802fi
3803
3804
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3806$as_echo "$_am_result" >&6; }
3807rm -f confinc confmf
3808
3809@%:@ Check whether --enable-dependency-tracking was given.
3810if test "${enable_dependency_tracking+set}" = set; then :
3811  enableval=$enable_dependency_tracking;
3812fi
3813
3814if test "x$enable_dependency_tracking" != xno; then
3815  am_depcomp="$ac_aux_dir/depcomp"
3816  AMDEPBACKSLASH='\'
3817fi
3818 if test "x$enable_dependency_tracking" != xno; then
3819  AMDEP_TRUE=
3820  AMDEP_FALSE='#'
3821else
3822  AMDEP_TRUE='#'
3823  AMDEP_FALSE=
3824fi
3825
3826
3827
3828depcc="$CC"   am_compiler_list=
3829
3830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831$as_echo_n "checking dependency style of $depcc... " >&6; }
3832if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3833  $as_echo_n "(cached) " >&6
3834else
3835  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3836  # We make a subdir and do the tests there.  Otherwise we can end up
3837  # making bogus files that we don't know about and never remove.  For
3838  # instance it was reported that on HP-UX the gcc test will end up
3839  # making a dummy file named `D' -- because `-MD' means `put the output
3840  # in D'.
3841  mkdir conftest.dir
3842  # Copy depcomp to subdir because otherwise we won't find it if we're
3843  # using a relative directory.
3844  cp "$am_depcomp" conftest.dir
3845  cd conftest.dir
3846  # We will build objects and dependencies in a subdirectory because
3847  # it helps to detect inapplicable dependency modes.  For instance
3848  # both Tru64's cc and ICC support -MD to output dependencies as a
3849  # side effect of compilation, but ICC will put the dependencies in
3850  # the current directory while Tru64 will put them in the object
3851  # directory.
3852  mkdir sub
3853
3854  am_cv_CC_dependencies_compiler_type=none
3855  if test "$am_compiler_list" = ""; then
3856     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3857  fi
3858  am__universal=false
3859  case " $depcc " in #(
3860     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3861     esac
3862
3863  for depmode in $am_compiler_list; do
3864    # Setup a source with many dependencies, because some compilers
3865    # like to wrap large dependency lists on column 80 (with \), and
3866    # we should not choose a depcomp mode which is confused by this.
3867    #
3868    # We need to recreate these files for each test, as the compiler may
3869    # overwrite some of them when testing with obscure command lines.
3870    # This happens at least with the AIX C compiler.
3871    : > sub/conftest.c
3872    for i in 1 2 3 4 5 6; do
3873      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3874      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3875      # Solaris 8's {/usr,}/bin/sh.
3876      touch sub/conftst$i.h
3877    done
3878    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879
3880    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3881    # mode.  It turns out that the SunPro C++ compiler does not properly
3882    # handle `-M -o', and we need to detect this.  Also, some Intel
3883    # versions had trouble with output in subdirs
3884    am__obj=sub/conftest.${OBJEXT-o}
3885    am__minus_obj="-o $am__obj"
3886    case $depmode in
3887    gcc)
3888      # This depmode causes a compiler race in universal mode.
3889      test "$am__universal" = false || continue
3890      ;;
3891    nosideeffect)
3892      # after this tag, mechanisms are not by side-effect, so they'll
3893      # only be used when explicitly requested
3894      if test "x$enable_dependency_tracking" = xyes; then
3895	continue
3896      else
3897	break
3898      fi
3899      ;;
3900    msvisualcpp | msvcmsys)
3901      # This compiler won't grok `-c -o', but also, the minuso test has
3902      # not run yet.  These depmodes are late enough in the game, and
3903      # so weak that their functioning should not be impacted.
3904      am__obj=conftest.${OBJEXT-o}
3905      am__minus_obj=
3906      ;;
3907    none) break ;;
3908    esac
3909    if depmode=$depmode \
3910       source=sub/conftest.c object=$am__obj \
3911       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3912       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3913         >/dev/null 2>conftest.err &&
3914       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3915       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3916       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3917       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3918      # icc doesn't choke on unknown options, it will just issue warnings
3919      # or remarks (even with -Werror).  So we grep stderr for any message
3920      # that says an option was ignored or not supported.
3921      # When given -MP, icc 7.0 and 7.1 complain thusly:
3922      #   icc: Command line warning: ignoring option '-M'; no argument required
3923      # The diagnosis changed in icc 8.0:
3924      #   icc: Command line remark: option '-MP' not supported
3925      if (grep 'ignoring option' conftest.err ||
3926          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3927        am_cv_CC_dependencies_compiler_type=$depmode
3928        break
3929      fi
3930    fi
3931  done
3932
3933  cd ..
3934  rm -rf conftest.dir
3935else
3936  am_cv_CC_dependencies_compiler_type=none
3937fi
3938
3939fi
3940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3941$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3942CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3943
3944 if
3945  test "x$enable_dependency_tracking" != xno \
3946  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3947  am__fastdepCC_TRUE=
3948  am__fastdepCC_FALSE='#'
3949else
3950  am__fastdepCC_TRUE='#'
3951  am__fastdepCC_FALSE=
3952fi
3953
3954
3955ac_ext=cpp
3956ac_cpp='$CXXCPP $CPPFLAGS'
3957ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3960if test -z "$CXX"; then
3961  if test -n "$CCC"; then
3962    CXX=$CCC
3963  else
3964    if test -n "$ac_tool_prefix"; then
3965  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3966  do
3967    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3968set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970$as_echo_n "checking for $ac_word... " >&6; }
3971if ${ac_cv_prog_CXX+:} false; then :
3972  $as_echo_n "(cached) " >&6
3973else
3974  if test -n "$CXX"; then
3975  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3976else
3977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978for as_dir in $PATH
3979do
3980  IFS=$as_save_IFS
3981  test -z "$as_dir" && as_dir=.
3982    for ac_exec_ext in '' $ac_executable_extensions; do
3983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986    break 2
3987  fi
3988done
3989  done
3990IFS=$as_save_IFS
3991
3992fi
3993fi
3994CXX=$ac_cv_prog_CXX
3995if test -n "$CXX"; then
3996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3997$as_echo "$CXX" >&6; }
3998else
3999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000$as_echo "no" >&6; }
4001fi
4002
4003
4004    test -n "$CXX" && break
4005  done
4006fi
4007if test -z "$CXX"; then
4008  ac_ct_CXX=$CXX
4009  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4010do
4011  # Extract the first word of "$ac_prog", so it can be a program name with args.
4012set dummy $ac_prog; ac_word=$2
4013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014$as_echo_n "checking for $ac_word... " >&6; }
4015if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4016  $as_echo_n "(cached) " >&6
4017else
4018  if test -n "$ac_ct_CXX"; then
4019  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4020else
4021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022for as_dir in $PATH
4023do
4024  IFS=$as_save_IFS
4025  test -z "$as_dir" && as_dir=.
4026    for ac_exec_ext in '' $ac_executable_extensions; do
4027  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4028    ac_cv_prog_ac_ct_CXX="$ac_prog"
4029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030    break 2
4031  fi
4032done
4033  done
4034IFS=$as_save_IFS
4035
4036fi
4037fi
4038ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4039if test -n "$ac_ct_CXX"; then
4040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4041$as_echo "$ac_ct_CXX" >&6; }
4042else
4043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044$as_echo "no" >&6; }
4045fi
4046
4047
4048  test -n "$ac_ct_CXX" && break
4049done
4050
4051  if test "x$ac_ct_CXX" = x; then
4052    CXX="g++"
4053  else
4054    case $cross_compiling:$ac_tool_warned in
4055yes:)
4056{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4058ac_tool_warned=yes ;;
4059esac
4060    CXX=$ac_ct_CXX
4061  fi
4062fi
4063
4064  fi
4065fi
4066# Provide some information about the compiler.
4067$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4068set X $ac_compile
4069ac_compiler=$2
4070for ac_option in --version -v -V -qversion; do
4071  { { ac_try="$ac_compiler $ac_option >&5"
4072case "(($ac_try" in
4073  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074  *) ac_try_echo=$ac_try;;
4075esac
4076eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077$as_echo "$ac_try_echo"; } >&5
4078  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4079  ac_status=$?
4080  if test -s conftest.err; then
4081    sed '10a\
4082... rest of stderr output deleted ...
4083         10q' conftest.err >conftest.er1
4084    cat conftest.er1 >&5
4085  fi
4086  rm -f conftest.er1 conftest.err
4087  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088  test $ac_status = 0; }
4089done
4090
4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4092$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4093if ${ac_cv_cxx_compiler_gnu+:} false; then :
4094  $as_echo_n "(cached) " >&6
4095else
4096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097/* end confdefs.h.  */
4098
4099int
4100main ()
4101{
4102#ifndef __GNUC__
4103       choke me
4104#endif
4105
4106  ;
4107  return 0;
4108}
4109_ACEOF
4110if ac_fn_cxx_try_compile "$LINENO"; then :
4111  ac_compiler_gnu=yes
4112else
4113  ac_compiler_gnu=no
4114fi
4115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4117
4118fi
4119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4120$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4121if test $ac_compiler_gnu = yes; then
4122  GXX=yes
4123else
4124  GXX=
4125fi
4126ac_test_CXXFLAGS=${CXXFLAGS+set}
4127ac_save_CXXFLAGS=$CXXFLAGS
4128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4129$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4130if ${ac_cv_prog_cxx_g+:} false; then :
4131  $as_echo_n "(cached) " >&6
4132else
4133  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4134   ac_cxx_werror_flag=yes
4135   ac_cv_prog_cxx_g=no
4136   CXXFLAGS="-g"
4137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138/* end confdefs.h.  */
4139
4140int
4141main ()
4142{
4143
4144  ;
4145  return 0;
4146}
4147_ACEOF
4148if ac_fn_cxx_try_compile "$LINENO"; then :
4149  ac_cv_prog_cxx_g=yes
4150else
4151  CXXFLAGS=""
4152      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153/* end confdefs.h.  */
4154
4155int
4156main ()
4157{
4158
4159  ;
4160  return 0;
4161}
4162_ACEOF
4163if ac_fn_cxx_try_compile "$LINENO"; then :
4164
4165else
4166  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4167	 CXXFLAGS="-g"
4168	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169/* end confdefs.h.  */
4170
4171int
4172main ()
4173{
4174
4175  ;
4176  return 0;
4177}
4178_ACEOF
4179if ac_fn_cxx_try_compile "$LINENO"; then :
4180  ac_cv_prog_cxx_g=yes
4181fi
4182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183fi
4184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185fi
4186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4188fi
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4190$as_echo "$ac_cv_prog_cxx_g" >&6; }
4191if test "$ac_test_CXXFLAGS" = set; then
4192  CXXFLAGS=$ac_save_CXXFLAGS
4193elif test $ac_cv_prog_cxx_g = yes; then
4194  if test "$GXX" = yes; then
4195    CXXFLAGS="-g -O2"
4196  else
4197    CXXFLAGS="-g"
4198  fi
4199else
4200  if test "$GXX" = yes; then
4201    CXXFLAGS="-O2"
4202  else
4203    CXXFLAGS=
4204  fi
4205fi
4206ac_ext=c
4207ac_cpp='$CPP $CPPFLAGS'
4208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211
4212depcc="$CXX"  am_compiler_list=
4213
4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4215$as_echo_n "checking dependency style of $depcc... " >&6; }
4216if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4217  $as_echo_n "(cached) " >&6
4218else
4219  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4220  # We make a subdir and do the tests there.  Otherwise we can end up
4221  # making bogus files that we don't know about and never remove.  For
4222  # instance it was reported that on HP-UX the gcc test will end up
4223  # making a dummy file named `D' -- because `-MD' means `put the output
4224  # in D'.
4225  mkdir conftest.dir
4226  # Copy depcomp to subdir because otherwise we won't find it if we're
4227  # using a relative directory.
4228  cp "$am_depcomp" conftest.dir
4229  cd conftest.dir
4230  # We will build objects and dependencies in a subdirectory because
4231  # it helps to detect inapplicable dependency modes.  For instance
4232  # both Tru64's cc and ICC support -MD to output dependencies as a
4233  # side effect of compilation, but ICC will put the dependencies in
4234  # the current directory while Tru64 will put them in the object
4235  # directory.
4236  mkdir sub
4237
4238  am_cv_CXX_dependencies_compiler_type=none
4239  if test "$am_compiler_list" = ""; then
4240     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4241  fi
4242  am__universal=false
4243  case " $depcc " in #(
4244     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4245     esac
4246
4247  for depmode in $am_compiler_list; do
4248    # Setup a source with many dependencies, because some compilers
4249    # like to wrap large dependency lists on column 80 (with \), and
4250    # we should not choose a depcomp mode which is confused by this.
4251    #
4252    # We need to recreate these files for each test, as the compiler may
4253    # overwrite some of them when testing with obscure command lines.
4254    # This happens at least with the AIX C compiler.
4255    : > sub/conftest.c
4256    for i in 1 2 3 4 5 6; do
4257      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4258      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4259      # Solaris 8's {/usr,}/bin/sh.
4260      touch sub/conftst$i.h
4261    done
4262    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4263
4264    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4265    # mode.  It turns out that the SunPro C++ compiler does not properly
4266    # handle `-M -o', and we need to detect this.  Also, some Intel
4267    # versions had trouble with output in subdirs
4268    am__obj=sub/conftest.${OBJEXT-o}
4269    am__minus_obj="-o $am__obj"
4270    case $depmode in
4271    gcc)
4272      # This depmode causes a compiler race in universal mode.
4273      test "$am__universal" = false || continue
4274      ;;
4275    nosideeffect)
4276      # after this tag, mechanisms are not by side-effect, so they'll
4277      # only be used when explicitly requested
4278      if test "x$enable_dependency_tracking" = xyes; then
4279	continue
4280      else
4281	break
4282      fi
4283      ;;
4284    msvisualcpp | msvcmsys)
4285      # This compiler won't grok `-c -o', but also, the minuso test has
4286      # not run yet.  These depmodes are late enough in the game, and
4287      # so weak that their functioning should not be impacted.
4288      am__obj=conftest.${OBJEXT-o}
4289      am__minus_obj=
4290      ;;
4291    none) break ;;
4292    esac
4293    if depmode=$depmode \
4294       source=sub/conftest.c object=$am__obj \
4295       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4296       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4297         >/dev/null 2>conftest.err &&
4298       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4299       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4300       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4301       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4302      # icc doesn't choke on unknown options, it will just issue warnings
4303      # or remarks (even with -Werror).  So we grep stderr for any message
4304      # that says an option was ignored or not supported.
4305      # When given -MP, icc 7.0 and 7.1 complain thusly:
4306      #   icc: Command line warning: ignoring option '-M'; no argument required
4307      # The diagnosis changed in icc 8.0:
4308      #   icc: Command line remark: option '-MP' not supported
4309      if (grep 'ignoring option' conftest.err ||
4310          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4311        am_cv_CXX_dependencies_compiler_type=$depmode
4312        break
4313      fi
4314    fi
4315  done
4316
4317  cd ..
4318  rm -rf conftest.dir
4319else
4320  am_cv_CXX_dependencies_compiler_type=none
4321fi
4322
4323fi
4324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4325$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4326CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4327
4328 if
4329  test "x$enable_dependency_tracking" != xno \
4330  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4331  am__fastdepCXX_TRUE=
4332  am__fastdepCXX_FALSE='#'
4333else
4334  am__fastdepCXX_TRUE='#'
4335  am__fastdepCXX_FALSE=
4336fi
4337
4338
4339@%:@ Check whether --enable-static was given.
4340if test "${enable_static+set}" = set; then :
4341  enableval=$enable_static; p=${PACKAGE-default}
4342    case $enableval in
4343    yes) enable_static=yes ;;
4344    no) enable_static=no ;;
4345    *)
4346     enable_static=no
4347      # Look at the argument we got.  We use all the common list separators.
4348      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4349      for pkg in $enableval; do
4350	IFS="$lt_save_ifs"
4351	if test "X$pkg" = "X$p"; then
4352	  enable_static=yes
4353	fi
4354      done
4355      IFS="$lt_save_ifs"
4356      ;;
4357    esac
4358else
4359  enable_static=no
4360fi
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370@%:@ Check whether --enable-shared was given.
4371if test "${enable_shared+set}" = set; then :
4372  enableval=$enable_shared; p=${PACKAGE-default}
4373    case $enableval in
4374    yes) enable_shared=yes ;;
4375    no) enable_shared=no ;;
4376    *)
4377      enable_shared=no
4378      # Look at the argument we got.  We use all the common list separators.
4379      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4380      for pkg in $enableval; do
4381	IFS="$lt_save_ifs"
4382	if test "X$pkg" = "X$p"; then
4383	  enable_shared=yes
4384	fi
4385      done
4386      IFS="$lt_save_ifs"
4387      ;;
4388    esac
4389else
4390  enable_shared=yes
4391fi
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401case `pwd` in
4402  *\ * | *\	*)
4403    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4404$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4405esac
4406
4407
4408
4409macro_version='2.4'
4410macro_revision='1.3293'
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424ltmain="$ac_aux_dir/ltmain.sh"
4425
4426# Make sure we can run config.sub.
4427$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4428  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4429
4430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4431$as_echo_n "checking build system type... " >&6; }
4432if ${ac_cv_build+:} false; then :
4433  $as_echo_n "(cached) " >&6
4434else
4435  ac_build_alias=$build_alias
4436test "x$ac_build_alias" = x &&
4437  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4438test "x$ac_build_alias" = x &&
4439  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4440ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4441  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4442
4443fi
4444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4445$as_echo "$ac_cv_build" >&6; }
4446case $ac_cv_build in
4447*-*-*) ;;
4448*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4449esac
4450build=$ac_cv_build
4451ac_save_IFS=$IFS; IFS='-'
4452set x $ac_cv_build
4453shift
4454build_cpu=$1
4455build_vendor=$2
4456shift; shift
4457# Remember, the first character of IFS is used to create $*,
4458# except with old shells:
4459build_os=$*
4460IFS=$ac_save_IFS
4461case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4462
4463
4464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4465$as_echo_n "checking host system type... " >&6; }
4466if ${ac_cv_host+:} false; then :
4467  $as_echo_n "(cached) " >&6
4468else
4469  if test "x$host_alias" = x; then
4470  ac_cv_host=$ac_cv_build
4471else
4472  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4473    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4474fi
4475
4476fi
4477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4478$as_echo "$ac_cv_host" >&6; }
4479case $ac_cv_host in
4480*-*-*) ;;
4481*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4482esac
4483host=$ac_cv_host
4484ac_save_IFS=$IFS; IFS='-'
4485set x $ac_cv_host
4486shift
4487host_cpu=$1
4488host_vendor=$2
4489shift; shift
4490# Remember, the first character of IFS is used to create $*,
4491# except with old shells:
4492host_os=$*
4493IFS=$ac_save_IFS
4494case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4495
4496
4497# Backslashify metacharacters that are still active within
4498# double-quoted strings.
4499sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4500
4501# Same as above, but do not quote variable references.
4502double_quote_subst='s/\(["`\\]\)/\\\1/g'
4503
4504# Sed substitution to delay expansion of an escaped shell variable in a
4505# double_quote_subst'ed string.
4506delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4507
4508# Sed substitution to delay expansion of an escaped single quote.
4509delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4510
4511# Sed substitution to avoid accidental globbing in evaled expressions
4512no_glob_subst='s/\*/\\\*/g'
4513
4514ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4515ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4516ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4517
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4519$as_echo_n "checking how to print strings... " >&6; }
4520# Test print first, because it will be a builtin if present.
4521if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4522   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4523  ECHO='print -r --'
4524elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4525  ECHO='printf %s\n'
4526else
4527  # Use this function as a fallback that always works.
4528  func_fallback_echo ()
4529  {
4530    eval 'cat <<_LTECHO_EOF
4531$1
4532_LTECHO_EOF'
4533  }
4534  ECHO='func_fallback_echo'
4535fi
4536
4537# func_echo_all arg...
4538# Invoke $ECHO with all args, space-separated.
4539func_echo_all ()
4540{
4541    $ECHO ""
4542}
4543
4544case "$ECHO" in
4545  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4546$as_echo "printf" >&6; } ;;
4547  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4548$as_echo "print -r" >&6; } ;;
4549  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4550$as_echo "cat" >&6; } ;;
4551esac
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4567$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4568if ${ac_cv_path_SED+:} false; then :
4569  $as_echo_n "(cached) " >&6
4570else
4571            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4572     for ac_i in 1 2 3 4 5 6 7; do
4573       ac_script="$ac_script$as_nl$ac_script"
4574     done
4575     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4576     { ac_script=; unset ac_script;}
4577     if test -z "$SED"; then
4578  ac_path_SED_found=false
4579  # Loop through the user's path and test for each of PROGNAME-LIST
4580  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581for as_dir in $PATH
4582do
4583  IFS=$as_save_IFS
4584  test -z "$as_dir" && as_dir=.
4585    for ac_prog in sed gsed; do
4586    for ac_exec_ext in '' $ac_executable_extensions; do
4587      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4588      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4589# Check for GNU ac_path_SED and select it if it is found.
4590  # Check for GNU $ac_path_SED
4591case `"$ac_path_SED" --version 2>&1` in
4592*GNU*)
4593  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4594*)
4595  ac_count=0
4596  $as_echo_n 0123456789 >"conftest.in"
4597  while :
4598  do
4599    cat "conftest.in" "conftest.in" >"conftest.tmp"
4600    mv "conftest.tmp" "conftest.in"
4601    cp "conftest.in" "conftest.nl"
4602    $as_echo '' >> "conftest.nl"
4603    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4604    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4605    as_fn_arith $ac_count + 1 && ac_count=$as_val
4606    if test $ac_count -gt ${ac_path_SED_max-0}; then
4607      # Best one so far, save it but keep looking for a better one
4608      ac_cv_path_SED="$ac_path_SED"
4609      ac_path_SED_max=$ac_count
4610    fi
4611    # 10*(2^10) chars as input seems more than enough
4612    test $ac_count -gt 10 && break
4613  done
4614  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4615esac
4616
4617      $ac_path_SED_found && break 3
4618    done
4619  done
4620  done
4621IFS=$as_save_IFS
4622  if test -z "$ac_cv_path_SED"; then
4623    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4624  fi
4625else
4626  ac_cv_path_SED=$SED
4627fi
4628
4629fi
4630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4631$as_echo "$ac_cv_path_SED" >&6; }
4632 SED="$ac_cv_path_SED"
4633  rm -f conftest.sed
4634
4635test -z "$SED" && SED=sed
4636Xsed="$SED -e 1s/^X//"
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4649$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4650if ${ac_cv_path_GREP+:} false; then :
4651  $as_echo_n "(cached) " >&6
4652else
4653  if test -z "$GREP"; then
4654  ac_path_GREP_found=false
4655  # Loop through the user's path and test for each of PROGNAME-LIST
4656  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658do
4659  IFS=$as_save_IFS
4660  test -z "$as_dir" && as_dir=.
4661    for ac_prog in grep ggrep; do
4662    for ac_exec_ext in '' $ac_executable_extensions; do
4663      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4664      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4665# Check for GNU ac_path_GREP and select it if it is found.
4666  # Check for GNU $ac_path_GREP
4667case `"$ac_path_GREP" --version 2>&1` in
4668*GNU*)
4669  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4670*)
4671  ac_count=0
4672  $as_echo_n 0123456789 >"conftest.in"
4673  while :
4674  do
4675    cat "conftest.in" "conftest.in" >"conftest.tmp"
4676    mv "conftest.tmp" "conftest.in"
4677    cp "conftest.in" "conftest.nl"
4678    $as_echo 'GREP' >> "conftest.nl"
4679    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4680    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4681    as_fn_arith $ac_count + 1 && ac_count=$as_val
4682    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4683      # Best one so far, save it but keep looking for a better one
4684      ac_cv_path_GREP="$ac_path_GREP"
4685      ac_path_GREP_max=$ac_count
4686    fi
4687    # 10*(2^10) chars as input seems more than enough
4688    test $ac_count -gt 10 && break
4689  done
4690  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691esac
4692
4693      $ac_path_GREP_found && break 3
4694    done
4695  done
4696  done
4697IFS=$as_save_IFS
4698  if test -z "$ac_cv_path_GREP"; then
4699    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700  fi
4701else
4702  ac_cv_path_GREP=$GREP
4703fi
4704
4705fi
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4707$as_echo "$ac_cv_path_GREP" >&6; }
4708 GREP="$ac_cv_path_GREP"
4709
4710
4711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4712$as_echo_n "checking for egrep... " >&6; }
4713if ${ac_cv_path_EGREP+:} false; then :
4714  $as_echo_n "(cached) " >&6
4715else
4716  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4717   then ac_cv_path_EGREP="$GREP -E"
4718   else
4719     if test -z "$EGREP"; then
4720  ac_path_EGREP_found=false
4721  # Loop through the user's path and test for each of PROGNAME-LIST
4722  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4724do
4725  IFS=$as_save_IFS
4726  test -z "$as_dir" && as_dir=.
4727    for ac_prog in egrep; do
4728    for ac_exec_ext in '' $ac_executable_extensions; do
4729      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4730      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4731# Check for GNU ac_path_EGREP and select it if it is found.
4732  # Check for GNU $ac_path_EGREP
4733case `"$ac_path_EGREP" --version 2>&1` in
4734*GNU*)
4735  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4736*)
4737  ac_count=0
4738  $as_echo_n 0123456789 >"conftest.in"
4739  while :
4740  do
4741    cat "conftest.in" "conftest.in" >"conftest.tmp"
4742    mv "conftest.tmp" "conftest.in"
4743    cp "conftest.in" "conftest.nl"
4744    $as_echo 'EGREP' >> "conftest.nl"
4745    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4746    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4747    as_fn_arith $ac_count + 1 && ac_count=$as_val
4748    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4749      # Best one so far, save it but keep looking for a better one
4750      ac_cv_path_EGREP="$ac_path_EGREP"
4751      ac_path_EGREP_max=$ac_count
4752    fi
4753    # 10*(2^10) chars as input seems more than enough
4754    test $ac_count -gt 10 && break
4755  done
4756  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4757esac
4758
4759      $ac_path_EGREP_found && break 3
4760    done
4761  done
4762  done
4763IFS=$as_save_IFS
4764  if test -z "$ac_cv_path_EGREP"; then
4765    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4766  fi
4767else
4768  ac_cv_path_EGREP=$EGREP
4769fi
4770
4771   fi
4772fi
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4774$as_echo "$ac_cv_path_EGREP" >&6; }
4775 EGREP="$ac_cv_path_EGREP"
4776
4777
4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4779$as_echo_n "checking for fgrep... " >&6; }
4780if ${ac_cv_path_FGREP+:} false; then :
4781  $as_echo_n "(cached) " >&6
4782else
4783  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4784   then ac_cv_path_FGREP="$GREP -F"
4785   else
4786     if test -z "$FGREP"; then
4787  ac_path_FGREP_found=false
4788  # Loop through the user's path and test for each of PROGNAME-LIST
4789  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4791do
4792  IFS=$as_save_IFS
4793  test -z "$as_dir" && as_dir=.
4794    for ac_prog in fgrep; do
4795    for ac_exec_ext in '' $ac_executable_extensions; do
4796      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4797      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4798# Check for GNU ac_path_FGREP and select it if it is found.
4799  # Check for GNU $ac_path_FGREP
4800case `"$ac_path_FGREP" --version 2>&1` in
4801*GNU*)
4802  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4803*)
4804  ac_count=0
4805  $as_echo_n 0123456789 >"conftest.in"
4806  while :
4807  do
4808    cat "conftest.in" "conftest.in" >"conftest.tmp"
4809    mv "conftest.tmp" "conftest.in"
4810    cp "conftest.in" "conftest.nl"
4811    $as_echo 'FGREP' >> "conftest.nl"
4812    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4813    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4814    as_fn_arith $ac_count + 1 && ac_count=$as_val
4815    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4816      # Best one so far, save it but keep looking for a better one
4817      ac_cv_path_FGREP="$ac_path_FGREP"
4818      ac_path_FGREP_max=$ac_count
4819    fi
4820    # 10*(2^10) chars as input seems more than enough
4821    test $ac_count -gt 10 && break
4822  done
4823  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4824esac
4825
4826      $ac_path_FGREP_found && break 3
4827    done
4828  done
4829  done
4830IFS=$as_save_IFS
4831  if test -z "$ac_cv_path_FGREP"; then
4832    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4833  fi
4834else
4835  ac_cv_path_FGREP=$FGREP
4836fi
4837
4838   fi
4839fi
4840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4841$as_echo "$ac_cv_path_FGREP" >&6; }
4842 FGREP="$ac_cv_path_FGREP"
4843
4844
4845test -z "$GREP" && GREP=grep
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865@%:@ Check whether --with-gnu-ld was given.
4866if test "${with_gnu_ld+set}" = set; then :
4867  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4868else
4869  with_gnu_ld=no
4870fi
4871
4872ac_prog=ld
4873if test "$GCC" = yes; then
4874  # Check if gcc -print-prog-name=ld gives a path.
4875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4876$as_echo_n "checking for ld used by $CC... " >&6; }
4877  case $host in
4878  *-*-mingw*)
4879    # gcc leaves a trailing carriage return which upsets mingw
4880    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4881  *)
4882    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4883  esac
4884  case $ac_prog in
4885    # Accept absolute paths.
4886    [\\/]* | ?:[\\/]*)
4887      re_direlt='/[^/][^/]*/\.\./'
4888      # Canonicalize the pathname of ld
4889      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4890      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4891	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4892      done
4893      test -z "$LD" && LD="$ac_prog"
4894      ;;
4895  "")
4896    # If it fails, then pretend we aren't using GCC.
4897    ac_prog=ld
4898    ;;
4899  *)
4900    # If it is relative, then search for the first ld in PATH.
4901    with_gnu_ld=unknown
4902    ;;
4903  esac
4904elif test "$with_gnu_ld" = yes; then
4905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4906$as_echo_n "checking for GNU ld... " >&6; }
4907else
4908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4909$as_echo_n "checking for non-GNU ld... " >&6; }
4910fi
4911if ${lt_cv_path_LD+:} false; then :
4912  $as_echo_n "(cached) " >&6
4913else
4914  if test -z "$LD"; then
4915  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4916  for ac_dir in $PATH; do
4917    IFS="$lt_save_ifs"
4918    test -z "$ac_dir" && ac_dir=.
4919    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4920      lt_cv_path_LD="$ac_dir/$ac_prog"
4921      # Check to see if the program is GNU ld.  I'd rather use --version,
4922      # but apparently some variants of GNU ld only accept -v.
4923      # Break only if it was the GNU/non-GNU ld that we prefer.
4924      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4925      *GNU* | *'with BFD'*)
4926	test "$with_gnu_ld" != no && break
4927	;;
4928      *)
4929	test "$with_gnu_ld" != yes && break
4930	;;
4931      esac
4932    fi
4933  done
4934  IFS="$lt_save_ifs"
4935else
4936  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4937fi
4938fi
4939
4940LD="$lt_cv_path_LD"
4941if test -n "$LD"; then
4942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4943$as_echo "$LD" >&6; }
4944else
4945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946$as_echo "no" >&6; }
4947fi
4948test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4950$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4951if ${lt_cv_prog_gnu_ld+:} false; then :
4952  $as_echo_n "(cached) " >&6
4953else
4954  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4955case `$LD -v 2>&1 </dev/null` in
4956*GNU* | *'with BFD'*)
4957  lt_cv_prog_gnu_ld=yes
4958  ;;
4959*)
4960  lt_cv_prog_gnu_ld=no
4961  ;;
4962esac
4963fi
4964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4965$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4966with_gnu_ld=$lt_cv_prog_gnu_ld
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4977$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4978if ${lt_cv_path_NM+:} false; then :
4979  $as_echo_n "(cached) " >&6
4980else
4981  if test -n "$NM"; then
4982  # Let the user override the test.
4983  lt_cv_path_NM="$NM"
4984else
4985  lt_nm_to_check="${ac_tool_prefix}nm"
4986  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4987    lt_nm_to_check="$lt_nm_to_check nm"
4988  fi
4989  for lt_tmp_nm in $lt_nm_to_check; do
4990    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4991    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4992      IFS="$lt_save_ifs"
4993      test -z "$ac_dir" && ac_dir=.
4994      tmp_nm="$ac_dir/$lt_tmp_nm"
4995      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4996	# Check to see if the nm accepts a BSD-compat flag.
4997	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4998	#   nm: unknown option "B" ignored
4999	# Tru64's nm complains that /dev/null is an invalid object file
5000	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5001	*/dev/null* | *'Invalid file or object type'*)
5002	  lt_cv_path_NM="$tmp_nm -B"
5003	  break
5004	  ;;
5005	*)
5006	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5007	  */dev/null*)
5008	    lt_cv_path_NM="$tmp_nm -p"
5009	    break
5010	    ;;
5011	  *)
5012	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5013	    continue # so that we can try to find one that supports BSD flags
5014	    ;;
5015	  esac
5016	  ;;
5017	esac
5018      fi
5019    done
5020    IFS="$lt_save_ifs"
5021  done
5022  : ${lt_cv_path_NM=no}
5023fi
5024fi
5025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5026$as_echo "$lt_cv_path_NM" >&6; }
5027if test "$lt_cv_path_NM" != "no"; then
5028  NM="$lt_cv_path_NM"
5029else
5030  # Didn't find any BSD compatible name lister, look for dumpbin.
5031  if test -n "$DUMPBIN"; then :
5032    # Let the user override the test.
5033  else
5034    if test -n "$ac_tool_prefix"; then
5035  for ac_prog in dumpbin "link -dump"
5036  do
5037    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5038set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040$as_echo_n "checking for $ac_word... " >&6; }
5041if ${ac_cv_prog_DUMPBIN+:} false; then :
5042  $as_echo_n "(cached) " >&6
5043else
5044  if test -n "$DUMPBIN"; then
5045  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5046else
5047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048for as_dir in $PATH
5049do
5050  IFS=$as_save_IFS
5051  test -z "$as_dir" && as_dir=.
5052    for ac_exec_ext in '' $ac_executable_extensions; do
5053  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056    break 2
5057  fi
5058done
5059  done
5060IFS=$as_save_IFS
5061
5062fi
5063fi
5064DUMPBIN=$ac_cv_prog_DUMPBIN
5065if test -n "$DUMPBIN"; then
5066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5067$as_echo "$DUMPBIN" >&6; }
5068else
5069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070$as_echo "no" >&6; }
5071fi
5072
5073
5074    test -n "$DUMPBIN" && break
5075  done
5076fi
5077if test -z "$DUMPBIN"; then
5078  ac_ct_DUMPBIN=$DUMPBIN
5079  for ac_prog in dumpbin "link -dump"
5080do
5081  # Extract the first word of "$ac_prog", so it can be a program name with args.
5082set dummy $ac_prog; ac_word=$2
5083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084$as_echo_n "checking for $ac_word... " >&6; }
5085if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5086  $as_echo_n "(cached) " >&6
5087else
5088  if test -n "$ac_ct_DUMPBIN"; then
5089  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5090else
5091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092for as_dir in $PATH
5093do
5094  IFS=$as_save_IFS
5095  test -z "$as_dir" && as_dir=.
5096    for ac_exec_ext in '' $ac_executable_extensions; do
5097  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100    break 2
5101  fi
5102done
5103  done
5104IFS=$as_save_IFS
5105
5106fi
5107fi
5108ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5109if test -n "$ac_ct_DUMPBIN"; then
5110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5111$as_echo "$ac_ct_DUMPBIN" >&6; }
5112else
5113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114$as_echo "no" >&6; }
5115fi
5116
5117
5118  test -n "$ac_ct_DUMPBIN" && break
5119done
5120
5121  if test "x$ac_ct_DUMPBIN" = x; then
5122    DUMPBIN=":"
5123  else
5124    case $cross_compiling:$ac_tool_warned in
5125yes:)
5126{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5127$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5128ac_tool_warned=yes ;;
5129esac
5130    DUMPBIN=$ac_ct_DUMPBIN
5131  fi
5132fi
5133
5134    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5135    *COFF*)
5136      DUMPBIN="$DUMPBIN -symbols"
5137      ;;
5138    *)
5139      DUMPBIN=:
5140      ;;
5141    esac
5142  fi
5143
5144  if test "$DUMPBIN" != ":"; then
5145    NM="$DUMPBIN"
5146  fi
5147fi
5148test -z "$NM" && NM=nm
5149
5150
5151
5152
5153
5154
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5156$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5157if ${lt_cv_nm_interface+:} false; then :
5158  $as_echo_n "(cached) " >&6
5159else
5160  lt_cv_nm_interface="BSD nm"
5161  echo "int some_variable = 0;" > conftest.$ac_ext
5162  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5163  (eval "$ac_compile" 2>conftest.err)
5164  cat conftest.err >&5
5165  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5166  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5167  cat conftest.err >&5
5168  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5169  cat conftest.out >&5
5170  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5171    lt_cv_nm_interface="MS dumpbin"
5172  fi
5173  rm -f conftest*
5174fi
5175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5176$as_echo "$lt_cv_nm_interface" >&6; }
5177
5178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5179$as_echo_n "checking whether ln -s works... " >&6; }
5180LN_S=$as_ln_s
5181if test "$LN_S" = "ln -s"; then
5182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5183$as_echo "yes" >&6; }
5184else
5185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5186$as_echo "no, using $LN_S" >&6; }
5187fi
5188
5189# find the maximum length of command line arguments
5190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5191$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5192if ${lt_cv_sys_max_cmd_len+:} false; then :
5193  $as_echo_n "(cached) " >&6
5194else
5195    i=0
5196  teststring="ABCD"
5197
5198  case $build_os in
5199  msdosdjgpp*)
5200    # On DJGPP, this test can blow up pretty badly due to problems in libc
5201    # (any single argument exceeding 2000 bytes causes a buffer overrun
5202    # during glob expansion).  Even if it were fixed, the result of this
5203    # check would be larger than it should be.
5204    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5205    ;;
5206
5207  gnu*)
5208    # Under GNU Hurd, this test is not required because there is
5209    # no limit to the length of command line arguments.
5210    # Libtool will interpret -1 as no limit whatsoever
5211    lt_cv_sys_max_cmd_len=-1;
5212    ;;
5213
5214  cygwin* | mingw* | cegcc*)
5215    # On Win9x/ME, this test blows up -- it succeeds, but takes
5216    # about 5 minutes as the teststring grows exponentially.
5217    # Worse, since 9x/ME are not pre-emptively multitasking,
5218    # you end up with a "frozen" computer, even though with patience
5219    # the test eventually succeeds (with a max line length of 256k).
5220    # Instead, let's just punt: use the minimum linelength reported by
5221    # all of the supported platforms: 8192 (on NT/2K/XP).
5222    lt_cv_sys_max_cmd_len=8192;
5223    ;;
5224
5225  mint*)
5226    # On MiNT this can take a long time and run out of memory.
5227    lt_cv_sys_max_cmd_len=8192;
5228    ;;
5229
5230  amigaos*)
5231    # On AmigaOS with pdksh, this test takes hours, literally.
5232    # So we just punt and use a minimum line length of 8192.
5233    lt_cv_sys_max_cmd_len=8192;
5234    ;;
5235
5236  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5237    # This has been around since 386BSD, at least.  Likely further.
5238    if test -x /sbin/sysctl; then
5239      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5240    elif test -x /usr/sbin/sysctl; then
5241      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5242    else
5243      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5244    fi
5245    # And add a safety zone
5246    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5247    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5248    ;;
5249
5250  interix*)
5251    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5252    lt_cv_sys_max_cmd_len=196608
5253    ;;
5254
5255  osf*)
5256    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5257    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5258    # nice to cause kernel panics so lets avoid the loop below.
5259    # First set a reasonable default.
5260    lt_cv_sys_max_cmd_len=16384
5261    #
5262    if test -x /sbin/sysconfig; then
5263      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5264        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5265      esac
5266    fi
5267    ;;
5268  sco3.2v5*)
5269    lt_cv_sys_max_cmd_len=102400
5270    ;;
5271  sysv5* | sco5v6* | sysv4.2uw2*)
5272    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5273    if test -n "$kargmax"; then
5274      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5275    else
5276      lt_cv_sys_max_cmd_len=32768
5277    fi
5278    ;;
5279  *)
5280    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5281    if test -n "$lt_cv_sys_max_cmd_len"; then
5282      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5283      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5284    else
5285      # Make teststring a little bigger before we do anything with it.
5286      # a 1K string should be a reasonable start.
5287      for i in 1 2 3 4 5 6 7 8 ; do
5288        teststring=$teststring$teststring
5289      done
5290      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5291      # If test is not a shell built-in, we'll probably end up computing a
5292      # maximum length that is only half of the actual maximum length, but
5293      # we can't tell.
5294      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5295	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5296	      test $i != 17 # 1/2 MB should be enough
5297      do
5298        i=`expr $i + 1`
5299        teststring=$teststring$teststring
5300      done
5301      # Only check the string length outside the loop.
5302      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5303      teststring=
5304      # Add a significant safety factor because C++ compilers can tack on
5305      # massive amounts of additional arguments before passing them to the
5306      # linker.  It appears as though 1/2 is a usable value.
5307      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5308    fi
5309    ;;
5310  esac
5311
5312fi
5313
5314if test -n $lt_cv_sys_max_cmd_len ; then
5315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5316$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5317else
5318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5319$as_echo "none" >&6; }
5320fi
5321max_cmd_len=$lt_cv_sys_max_cmd_len
5322
5323
5324
5325
5326
5327
5328: ${CP="cp -f"}
5329: ${MV="mv -f"}
5330: ${RM="rm -f"}
5331
5332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5333$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5334# Try some XSI features
5335xsi_shell=no
5336( _lt_dummy="a/b/c"
5337  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5338      = c,a/b,b/c, \
5339    && eval 'test $(( 1 + 1 )) -eq 2 \
5340    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5341  && xsi_shell=yes
5342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5343$as_echo "$xsi_shell" >&6; }
5344
5345
5346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5347$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5348lt_shell_append=no
5349( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5350    >/dev/null 2>&1 \
5351  && lt_shell_append=yes
5352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5353$as_echo "$lt_shell_append" >&6; }
5354
5355
5356if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5357  lt_unset=unset
5358else
5359  lt_unset=false
5360fi
5361
5362
5363
5364
5365
5366# test EBCDIC or ASCII
5367case `echo X|tr X '\101'` in
5368 A) # ASCII based system
5369    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5370  lt_SP2NL='tr \040 \012'
5371  lt_NL2SP='tr \015\012 \040\040'
5372  ;;
5373 *) # EBCDIC based system
5374  lt_SP2NL='tr \100 \n'
5375  lt_NL2SP='tr \r\n \100\100'
5376  ;;
5377esac
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5388$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5389if ${lt_cv_to_host_file_cmd+:} false; then :
5390  $as_echo_n "(cached) " >&6
5391else
5392  case $host in
5393  *-*-mingw* )
5394    case $build in
5395      *-*-mingw* ) # actually msys
5396        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5397        ;;
5398      *-*-cygwin* )
5399        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5400        ;;
5401      * ) # otherwise, assume *nix
5402        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5403        ;;
5404    esac
5405    ;;
5406  *-*-cygwin* )
5407    case $build in
5408      *-*-mingw* ) # actually msys
5409        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5410        ;;
5411      *-*-cygwin* )
5412        lt_cv_to_host_file_cmd=func_convert_file_noop
5413        ;;
5414      * ) # otherwise, assume *nix
5415        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5416        ;;
5417    esac
5418    ;;
5419  * ) # unhandled hosts (and "normal" native builds)
5420    lt_cv_to_host_file_cmd=func_convert_file_noop
5421    ;;
5422esac
5423
5424fi
5425
5426to_host_file_cmd=$lt_cv_to_host_file_cmd
5427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5428$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5429
5430
5431
5432
5433
5434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5435$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5436if ${lt_cv_to_tool_file_cmd+:} false; then :
5437  $as_echo_n "(cached) " >&6
5438else
5439  #assume ordinary cross tools, or native build.
5440lt_cv_to_tool_file_cmd=func_convert_file_noop
5441case $host in
5442  *-*-mingw* )
5443    case $build in
5444      *-*-mingw* ) # actually msys
5445        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5446        ;;
5447    esac
5448    ;;
5449esac
5450
5451fi
5452
5453to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5455$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5456
5457
5458
5459
5460
5461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5462$as_echo_n "checking for $LD option to reload object files... " >&6; }
5463if ${lt_cv_ld_reload_flag+:} false; then :
5464  $as_echo_n "(cached) " >&6
5465else
5466  lt_cv_ld_reload_flag='-r'
5467fi
5468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5469$as_echo "$lt_cv_ld_reload_flag" >&6; }
5470reload_flag=$lt_cv_ld_reload_flag
5471case $reload_flag in
5472"" | " "*) ;;
5473*) reload_flag=" $reload_flag" ;;
5474esac
5475reload_cmds='$LD$reload_flag -o $output$reload_objs'
5476case $host_os in
5477  cygwin* | mingw* | pw32* | cegcc*)
5478    if test "$GCC" != yes; then
5479      reload_cmds=false
5480    fi
5481    ;;
5482  darwin*)
5483    if test "$GCC" = yes; then
5484      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5485    else
5486      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5487    fi
5488    ;;
5489esac
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499if test -n "$ac_tool_prefix"; then
5500  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5501set dummy ${ac_tool_prefix}objdump; ac_word=$2
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503$as_echo_n "checking for $ac_word... " >&6; }
5504if ${ac_cv_prog_OBJDUMP+:} false; then :
5505  $as_echo_n "(cached) " >&6
5506else
5507  if test -n "$OBJDUMP"; then
5508  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5509else
5510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511for as_dir in $PATH
5512do
5513  IFS=$as_save_IFS
5514  test -z "$as_dir" && as_dir=.
5515    for ac_exec_ext in '' $ac_executable_extensions; do
5516  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519    break 2
5520  fi
5521done
5522  done
5523IFS=$as_save_IFS
5524
5525fi
5526fi
5527OBJDUMP=$ac_cv_prog_OBJDUMP
5528if test -n "$OBJDUMP"; then
5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5530$as_echo "$OBJDUMP" >&6; }
5531else
5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533$as_echo "no" >&6; }
5534fi
5535
5536
5537fi
5538if test -z "$ac_cv_prog_OBJDUMP"; then
5539  ac_ct_OBJDUMP=$OBJDUMP
5540  # Extract the first word of "objdump", so it can be a program name with args.
5541set dummy objdump; 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_ac_ct_OBJDUMP+:} false; then :
5545  $as_echo_n "(cached) " >&6
5546else
5547  if test -n "$ac_ct_OBJDUMP"; then
5548  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_ac_ct_OBJDUMP="objdump"
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
5567ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5568if test -n "$ac_ct_OBJDUMP"; then
5569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5570$as_echo "$ac_ct_OBJDUMP" >&6; }
5571else
5572  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573$as_echo "no" >&6; }
5574fi
5575
5576  if test "x$ac_ct_OBJDUMP" = x; then
5577    OBJDUMP="false"
5578  else
5579    case $cross_compiling:$ac_tool_warned in
5580yes:)
5581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583ac_tool_warned=yes ;;
5584esac
5585    OBJDUMP=$ac_ct_OBJDUMP
5586  fi
5587else
5588  OBJDUMP="$ac_cv_prog_OBJDUMP"
5589fi
5590
5591test -z "$OBJDUMP" && OBJDUMP=objdump
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5602$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5603if ${lt_cv_deplibs_check_method+:} false; then :
5604  $as_echo_n "(cached) " >&6
5605else
5606  lt_cv_file_magic_cmd='$MAGIC_CMD'
5607lt_cv_file_magic_test_file=
5608lt_cv_deplibs_check_method='unknown'
5609# Need to set the preceding variable on all platforms that support
5610# interlibrary dependencies.
5611# 'none' -- dependencies not supported.
5612# `unknown' -- same as none, but documents that we really don't know.
5613# 'pass_all' -- all dependencies passed with no checks.
5614# 'test_compile' -- check by making test program.
5615# 'file_magic [[regex]]' -- check by looking for files in library path
5616# which responds to the $file_magic_cmd with a given extended regex.
5617# If you have `file' or equivalent on your system and you're not sure
5618# whether `pass_all' will *always* work, you probably want this one.
5619
5620case $host_os in
5621aix[4-9]*)
5622  lt_cv_deplibs_check_method=pass_all
5623  ;;
5624
5625beos*)
5626  lt_cv_deplibs_check_method=pass_all
5627  ;;
5628
5629bsdi[45]*)
5630  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5631  lt_cv_file_magic_cmd='/usr/bin/file -L'
5632  lt_cv_file_magic_test_file=/shlib/libc.so
5633  ;;
5634
5635cygwin*)
5636  # func_win32_libid is a shell function defined in ltmain.sh
5637  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5638  lt_cv_file_magic_cmd='func_win32_libid'
5639  ;;
5640
5641mingw* | pw32*)
5642  # Base MSYS/MinGW do not provide the 'file' command needed by
5643  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5644  # unless we find 'file', for example because we are cross-compiling.
5645  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5646  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5647    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5648    lt_cv_file_magic_cmd='func_win32_libid'
5649  else
5650    # Keep this pattern in sync with the one in func_win32_libid.
5651    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5652    lt_cv_file_magic_cmd='$OBJDUMP -f'
5653  fi
5654  ;;
5655
5656cegcc*)
5657  # use the weaker test based on 'objdump'. See mingw*.
5658  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5659  lt_cv_file_magic_cmd='$OBJDUMP -f'
5660  ;;
5661
5662darwin* | rhapsody*)
5663  lt_cv_deplibs_check_method=pass_all
5664  ;;
5665
5666freebsd* | dragonfly*)
5667  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5668    case $host_cpu in
5669    i*86 )
5670      # Not sure whether the presence of OpenBSD here was a mistake.
5671      # Let's accept both of them until this is cleared up.
5672      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5673      lt_cv_file_magic_cmd=/usr/bin/file
5674      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5675      ;;
5676    esac
5677  else
5678    lt_cv_deplibs_check_method=pass_all
5679  fi
5680  ;;
5681
5682gnu*)
5683  lt_cv_deplibs_check_method=pass_all
5684  ;;
5685
5686haiku*)
5687  lt_cv_deplibs_check_method=pass_all
5688  ;;
5689
5690hpux10.20* | hpux11*)
5691  lt_cv_file_magic_cmd=/usr/bin/file
5692  case $host_cpu in
5693  ia64*)
5694    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5695    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5696    ;;
5697  hppa*64*)
5698    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]'
5699    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5700    ;;
5701  *)
5702    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5703    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5704    ;;
5705  esac
5706  ;;
5707
5708interix[3-9]*)
5709  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5710  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5711  ;;
5712
5713irix5* | irix6* | nonstopux*)
5714  case $LD in
5715  *-32|*"-32 ") libmagic=32-bit;;
5716  *-n32|*"-n32 ") libmagic=N32;;
5717  *-64|*"-64 ") libmagic=64-bit;;
5718  *) libmagic=never-match;;
5719  esac
5720  lt_cv_deplibs_check_method=pass_all
5721  ;;
5722
5723# This must be Linux ELF.
5724linux* | k*bsd*-gnu | kopensolaris*-gnu)
5725  lt_cv_deplibs_check_method=pass_all
5726  ;;
5727
5728netbsd*)
5729  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5730    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5731  else
5732    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5733  fi
5734  ;;
5735
5736newos6*)
5737  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5738  lt_cv_file_magic_cmd=/usr/bin/file
5739  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5740  ;;
5741
5742*nto* | *qnx*)
5743  lt_cv_deplibs_check_method=pass_all
5744  ;;
5745
5746openbsd*)
5747  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5748    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5749  else
5750    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5751  fi
5752  ;;
5753
5754osf3* | osf4* | osf5*)
5755  lt_cv_deplibs_check_method=pass_all
5756  ;;
5757
5758rdos*)
5759  lt_cv_deplibs_check_method=pass_all
5760  ;;
5761
5762solaris*)
5763  lt_cv_deplibs_check_method=pass_all
5764  ;;
5765
5766sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5767  lt_cv_deplibs_check_method=pass_all
5768  ;;
5769
5770sysv4 | sysv4.3*)
5771  case $host_vendor in
5772  motorola)
5773    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]'
5774    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5775    ;;
5776  ncr)
5777    lt_cv_deplibs_check_method=pass_all
5778    ;;
5779  sequent)
5780    lt_cv_file_magic_cmd='/bin/file'
5781    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5782    ;;
5783  sni)
5784    lt_cv_file_magic_cmd='/bin/file'
5785    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5786    lt_cv_file_magic_test_file=/lib/libc.so
5787    ;;
5788  siemens)
5789    lt_cv_deplibs_check_method=pass_all
5790    ;;
5791  pc)
5792    lt_cv_deplibs_check_method=pass_all
5793    ;;
5794  esac
5795  ;;
5796
5797tpf*)
5798  lt_cv_deplibs_check_method=pass_all
5799  ;;
5800esac
5801
5802fi
5803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5804$as_echo "$lt_cv_deplibs_check_method" >&6; }
5805
5806file_magic_glob=
5807want_nocaseglob=no
5808if test "$build" = "$host"; then
5809  case $host_os in
5810  mingw* | pw32*)
5811    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5812      want_nocaseglob=yes
5813    else
5814      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5815    fi
5816    ;;
5817  esac
5818fi
5819
5820file_magic_cmd=$lt_cv_file_magic_cmd
5821deplibs_check_method=$lt_cv_deplibs_check_method
5822test -z "$deplibs_check_method" && deplibs_check_method=unknown
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845if test -n "$ac_tool_prefix"; then
5846  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5847set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849$as_echo_n "checking for $ac_word... " >&6; }
5850if ${ac_cv_prog_DLLTOOL+:} false; then :
5851  $as_echo_n "(cached) " >&6
5852else
5853  if test -n "$DLLTOOL"; then
5854  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5855else
5856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857for as_dir in $PATH
5858do
5859  IFS=$as_save_IFS
5860  test -z "$as_dir" && as_dir=.
5861    for ac_exec_ext in '' $ac_executable_extensions; do
5862  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865    break 2
5866  fi
5867done
5868  done
5869IFS=$as_save_IFS
5870
5871fi
5872fi
5873DLLTOOL=$ac_cv_prog_DLLTOOL
5874if test -n "$DLLTOOL"; then
5875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5876$as_echo "$DLLTOOL" >&6; }
5877else
5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879$as_echo "no" >&6; }
5880fi
5881
5882
5883fi
5884if test -z "$ac_cv_prog_DLLTOOL"; then
5885  ac_ct_DLLTOOL=$DLLTOOL
5886  # Extract the first word of "dlltool", so it can be a program name with args.
5887set dummy dlltool; ac_word=$2
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889$as_echo_n "checking for $ac_word... " >&6; }
5890if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5891  $as_echo_n "(cached) " >&6
5892else
5893  if test -n "$ac_ct_DLLTOOL"; then
5894  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5895else
5896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897for as_dir in $PATH
5898do
5899  IFS=$as_save_IFS
5900  test -z "$as_dir" && as_dir=.
5901    for ac_exec_ext in '' $ac_executable_extensions; do
5902  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905    break 2
5906  fi
5907done
5908  done
5909IFS=$as_save_IFS
5910
5911fi
5912fi
5913ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5914if test -n "$ac_ct_DLLTOOL"; then
5915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5916$as_echo "$ac_ct_DLLTOOL" >&6; }
5917else
5918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919$as_echo "no" >&6; }
5920fi
5921
5922  if test "x$ac_ct_DLLTOOL" = x; then
5923    DLLTOOL="false"
5924  else
5925    case $cross_compiling:$ac_tool_warned in
5926yes:)
5927{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5928$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5929ac_tool_warned=yes ;;
5930esac
5931    DLLTOOL=$ac_ct_DLLTOOL
5932  fi
5933else
5934  DLLTOOL="$ac_cv_prog_DLLTOOL"
5935fi
5936
5937test -z "$DLLTOOL" && DLLTOOL=dlltool
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5949$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5950if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5951  $as_echo_n "(cached) " >&6
5952else
5953  lt_cv_sharedlib_from_linklib_cmd='unknown'
5954
5955case $host_os in
5956cygwin* | mingw* | pw32* | cegcc*)
5957  # two different shell functions defined in ltmain.sh
5958  # decide which to use based on capabilities of $DLLTOOL
5959  case `$DLLTOOL --help 2>&1` in
5960  *--identify-strict*)
5961    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5962    ;;
5963  *)
5964    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5965    ;;
5966  esac
5967  ;;
5968*)
5969  # fallback: assume linklib IS sharedlib
5970  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5971  ;;
5972esac
5973
5974fi
5975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5976$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5977sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5978test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5979
5980
5981
5982
5983
5984
5985
5986
5987if test -n "$ac_tool_prefix"; then
5988  for ac_prog in ar
5989  do
5990    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5991set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993$as_echo_n "checking for $ac_word... " >&6; }
5994if ${ac_cv_prog_AR+:} false; then :
5995  $as_echo_n "(cached) " >&6
5996else
5997  if test -n "$AR"; then
5998  ac_cv_prog_AR="$AR" # Let the user override the test.
5999else
6000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001for as_dir in $PATH
6002do
6003  IFS=$as_save_IFS
6004  test -z "$as_dir" && as_dir=.
6005    for ac_exec_ext in '' $ac_executable_extensions; do
6006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009    break 2
6010  fi
6011done
6012  done
6013IFS=$as_save_IFS
6014
6015fi
6016fi
6017AR=$ac_cv_prog_AR
6018if test -n "$AR"; then
6019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6020$as_echo "$AR" >&6; }
6021else
6022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023$as_echo "no" >&6; }
6024fi
6025
6026
6027    test -n "$AR" && break
6028  done
6029fi
6030if test -z "$AR"; then
6031  ac_ct_AR=$AR
6032  for ac_prog in ar
6033do
6034  # Extract the first word of "$ac_prog", so it can be a program name with args.
6035set dummy $ac_prog; ac_word=$2
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037$as_echo_n "checking for $ac_word... " >&6; }
6038if ${ac_cv_prog_ac_ct_AR+:} false; then :
6039  $as_echo_n "(cached) " >&6
6040else
6041  if test -n "$ac_ct_AR"; then
6042  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6043else
6044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045for as_dir in $PATH
6046do
6047  IFS=$as_save_IFS
6048  test -z "$as_dir" && as_dir=.
6049    for ac_exec_ext in '' $ac_executable_extensions; do
6050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051    ac_cv_prog_ac_ct_AR="$ac_prog"
6052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053    break 2
6054  fi
6055done
6056  done
6057IFS=$as_save_IFS
6058
6059fi
6060fi
6061ac_ct_AR=$ac_cv_prog_ac_ct_AR
6062if test -n "$ac_ct_AR"; then
6063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6064$as_echo "$ac_ct_AR" >&6; }
6065else
6066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067$as_echo "no" >&6; }
6068fi
6069
6070
6071  test -n "$ac_ct_AR" && break
6072done
6073
6074  if test "x$ac_ct_AR" = x; then
6075    AR="false"
6076  else
6077    case $cross_compiling:$ac_tool_warned in
6078yes:)
6079{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081ac_tool_warned=yes ;;
6082esac
6083    AR=$ac_ct_AR
6084  fi
6085fi
6086
6087: ${AR=ar}
6088: ${AR_FLAGS=cru}
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6101$as_echo_n "checking for archiver @FILE support... " >&6; }
6102if ${lt_cv_ar_at_file+:} false; then :
6103  $as_echo_n "(cached) " >&6
6104else
6105  lt_cv_ar_at_file=no
6106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107/* end confdefs.h.  */
6108
6109int
6110main ()
6111{
6112
6113  ;
6114  return 0;
6115}
6116_ACEOF
6117if ac_fn_c_try_compile "$LINENO"; then :
6118  echo conftest.$ac_objext > conftest.lst
6119      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6120      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6121  (eval $lt_ar_try) 2>&5
6122  ac_status=$?
6123  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6124  test $ac_status = 0; }
6125      if test "$ac_status" -eq 0; then
6126	# Ensure the archiver fails upon bogus file names.
6127	rm -f conftest.$ac_objext libconftest.a
6128	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6129  (eval $lt_ar_try) 2>&5
6130  ac_status=$?
6131  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6132  test $ac_status = 0; }
6133	if test "$ac_status" -ne 0; then
6134          lt_cv_ar_at_file=@
6135        fi
6136      fi
6137      rm -f conftest.* libconftest.a
6138
6139fi
6140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141
6142fi
6143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6144$as_echo "$lt_cv_ar_at_file" >&6; }
6145
6146if test "x$lt_cv_ar_at_file" = xno; then
6147  archiver_list_spec=
6148else
6149  archiver_list_spec=$lt_cv_ar_at_file
6150fi
6151
6152
6153
6154
6155
6156
6157
6158if test -n "$ac_tool_prefix"; then
6159  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6160set dummy ${ac_tool_prefix}strip; ac_word=$2
6161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162$as_echo_n "checking for $ac_word... " >&6; }
6163if ${ac_cv_prog_STRIP+:} false; then :
6164  $as_echo_n "(cached) " >&6
6165else
6166  if test -n "$STRIP"; then
6167  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6168else
6169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170for as_dir in $PATH
6171do
6172  IFS=$as_save_IFS
6173  test -z "$as_dir" && as_dir=.
6174    for ac_exec_ext in '' $ac_executable_extensions; do
6175  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178    break 2
6179  fi
6180done
6181  done
6182IFS=$as_save_IFS
6183
6184fi
6185fi
6186STRIP=$ac_cv_prog_STRIP
6187if test -n "$STRIP"; then
6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6189$as_echo "$STRIP" >&6; }
6190else
6191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192$as_echo "no" >&6; }
6193fi
6194
6195
6196fi
6197if test -z "$ac_cv_prog_STRIP"; then
6198  ac_ct_STRIP=$STRIP
6199  # Extract the first word of "strip", so it can be a program name with args.
6200set dummy strip; ac_word=$2
6201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202$as_echo_n "checking for $ac_word... " >&6; }
6203if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6204  $as_echo_n "(cached) " >&6
6205else
6206  if test -n "$ac_ct_STRIP"; then
6207  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6208else
6209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210for as_dir in $PATH
6211do
6212  IFS=$as_save_IFS
6213  test -z "$as_dir" && as_dir=.
6214    for ac_exec_ext in '' $ac_executable_extensions; do
6215  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6216    ac_cv_prog_ac_ct_STRIP="strip"
6217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218    break 2
6219  fi
6220done
6221  done
6222IFS=$as_save_IFS
6223
6224fi
6225fi
6226ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6227if test -n "$ac_ct_STRIP"; then
6228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6229$as_echo "$ac_ct_STRIP" >&6; }
6230else
6231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232$as_echo "no" >&6; }
6233fi
6234
6235  if test "x$ac_ct_STRIP" = x; then
6236    STRIP=":"
6237  else
6238    case $cross_compiling:$ac_tool_warned in
6239yes:)
6240{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242ac_tool_warned=yes ;;
6243esac
6244    STRIP=$ac_ct_STRIP
6245  fi
6246else
6247  STRIP="$ac_cv_prog_STRIP"
6248fi
6249
6250test -z "$STRIP" && STRIP=:
6251
6252
6253
6254
6255
6256
6257if test -n "$ac_tool_prefix"; then
6258  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6259set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261$as_echo_n "checking for $ac_word... " >&6; }
6262if ${ac_cv_prog_RANLIB+:} false; then :
6263  $as_echo_n "(cached) " >&6
6264else
6265  if test -n "$RANLIB"; then
6266  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6267else
6268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269for as_dir in $PATH
6270do
6271  IFS=$as_save_IFS
6272  test -z "$as_dir" && as_dir=.
6273    for ac_exec_ext in '' $ac_executable_extensions; do
6274  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277    break 2
6278  fi
6279done
6280  done
6281IFS=$as_save_IFS
6282
6283fi
6284fi
6285RANLIB=$ac_cv_prog_RANLIB
6286if test -n "$RANLIB"; then
6287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6288$as_echo "$RANLIB" >&6; }
6289else
6290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291$as_echo "no" >&6; }
6292fi
6293
6294
6295fi
6296if test -z "$ac_cv_prog_RANLIB"; then
6297  ac_ct_RANLIB=$RANLIB
6298  # Extract the first word of "ranlib", so it can be a program name with args.
6299set dummy ranlib; ac_word=$2
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301$as_echo_n "checking for $ac_word... " >&6; }
6302if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6303  $as_echo_n "(cached) " >&6
6304else
6305  if test -n "$ac_ct_RANLIB"; then
6306  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6307else
6308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309for as_dir in $PATH
6310do
6311  IFS=$as_save_IFS
6312  test -z "$as_dir" && as_dir=.
6313    for ac_exec_ext in '' $ac_executable_extensions; do
6314  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315    ac_cv_prog_ac_ct_RANLIB="ranlib"
6316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317    break 2
6318  fi
6319done
6320  done
6321IFS=$as_save_IFS
6322
6323fi
6324fi
6325ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6326if test -n "$ac_ct_RANLIB"; then
6327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6328$as_echo "$ac_ct_RANLIB" >&6; }
6329else
6330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331$as_echo "no" >&6; }
6332fi
6333
6334  if test "x$ac_ct_RANLIB" = x; then
6335    RANLIB=":"
6336  else
6337    case $cross_compiling:$ac_tool_warned in
6338yes:)
6339{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341ac_tool_warned=yes ;;
6342esac
6343    RANLIB=$ac_ct_RANLIB
6344  fi
6345else
6346  RANLIB="$ac_cv_prog_RANLIB"
6347fi
6348
6349test -z "$RANLIB" && RANLIB=:
6350
6351
6352
6353
6354
6355
6356# Determine commands to create old-style static archives.
6357old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6358old_postinstall_cmds='chmod 644 $oldlib'
6359old_postuninstall_cmds=
6360
6361if test -n "$RANLIB"; then
6362  case $host_os in
6363  openbsd*)
6364    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6365    ;;
6366  *)
6367    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6368    ;;
6369  esac
6370  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6371fi
6372
6373case $host_os in
6374  darwin*)
6375    lock_old_archive_extraction=yes ;;
6376  *)
6377    lock_old_archive_extraction=no ;;
6378esac
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418# If no C compiler was specified, use CC.
6419LTCC=${LTCC-"$CC"}
6420
6421# If no C compiler flags were specified, use CFLAGS.
6422LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6423
6424# Allow CC to be a program name with arguments.
6425compiler=$CC
6426
6427
6428# Check for command to grab the raw symbol name followed by C symbol from nm.
6429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6430$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6431if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6432  $as_echo_n "(cached) " >&6
6433else
6434
6435# These are sane defaults that work on at least a few old systems.
6436# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6437
6438# Character class describing NM global symbol codes.
6439symcode='[BCDEGRST]'
6440
6441# Regexp to match symbols that can be accessed directly from C.
6442sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6443
6444# Define system-specific variables.
6445case $host_os in
6446aix*)
6447  symcode='[BCDT]'
6448  ;;
6449cygwin* | mingw* | pw32* | cegcc*)
6450  symcode='[ABCDGISTW]'
6451  ;;
6452hpux*)
6453  if test "$host_cpu" = ia64; then
6454    symcode='[ABCDEGRST]'
6455  fi
6456  ;;
6457irix* | nonstopux*)
6458  symcode='[BCDEGRST]'
6459  ;;
6460osf*)
6461  symcode='[BCDEGQRST]'
6462  ;;
6463solaris*)
6464  symcode='[BDRT]'
6465  ;;
6466sco3.2v5*)
6467  symcode='[DT]'
6468  ;;
6469sysv4.2uw2*)
6470  symcode='[DT]'
6471  ;;
6472sysv5* | sco5v6* | unixware* | OpenUNIX*)
6473  symcode='[ABDT]'
6474  ;;
6475sysv4)
6476  symcode='[DFNSTU]'
6477  ;;
6478esac
6479
6480# If we're using GNU nm, then use its standard symbol codes.
6481case `$NM -V 2>&1` in
6482*GNU* | *'with BFD'*)
6483  symcode='[ABCDGIRSTW]' ;;
6484esac
6485
6486# Transform an extracted symbol line into a proper C declaration.
6487# Some systems (esp. on ia64) link data and code symbols differently,
6488# so use this general approach.
6489lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6490
6491# Transform an extracted symbol line into symbol name and symbol address
6492lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6493lt_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'"
6494
6495# Handle CRLF in mingw tool chain
6496opt_cr=
6497case $build_os in
6498mingw*)
6499  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6500  ;;
6501esac
6502
6503# Try without a prefix underscore, then with it.
6504for ac_symprfx in "" "_"; do
6505
6506  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6507  symxfrm="\\1 $ac_symprfx\\2 \\2"
6508
6509  # Write the raw and C identifiers.
6510  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6511    # Fake it for dumpbin and say T for any non-static function
6512    # and D for any global variable.
6513    # Also find C++ and __fastcall symbols from MSVC++,
6514    # which start with @ or ?.
6515    lt_cv_sys_global_symbol_pipe="$AWK '"\
6516"     {last_section=section; section=\$ 3};"\
6517"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6518"     \$ 0!~/External *\|/{next};"\
6519"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6520"     {if(hide[section]) next};"\
6521"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6522"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6523"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6524"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6525"     ' prfx=^$ac_symprfx"
6526  else
6527    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6528  fi
6529  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6530
6531  # Check to see that the pipe works correctly.
6532  pipe_works=no
6533
6534  rm -f conftest*
6535  cat > conftest.$ac_ext <<_LT_EOF
6536#ifdef __cplusplus
6537extern "C" {
6538#endif
6539char nm_test_var;
6540void nm_test_func(void);
6541void nm_test_func(void){}
6542#ifdef __cplusplus
6543}
6544#endif
6545int main(){nm_test_var='a';nm_test_func();return(0);}
6546_LT_EOF
6547
6548  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549  (eval $ac_compile) 2>&5
6550  ac_status=$?
6551  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552  test $ac_status = 0; }; then
6553    # Now try to grab the symbols.
6554    nlist=conftest.nm
6555    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6556  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6557  ac_status=$?
6558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6559  test $ac_status = 0; } && test -s "$nlist"; then
6560      # Try sorting and uniquifying the output.
6561      if sort "$nlist" | uniq > "$nlist"T; then
6562	mv -f "$nlist"T "$nlist"
6563      else
6564	rm -f "$nlist"T
6565      fi
6566
6567      # Make sure that we snagged all the symbols we need.
6568      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6569	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6570	  cat <<_LT_EOF > conftest.$ac_ext
6571/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6572#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6573/* DATA imports from DLLs on WIN32 con't be const, because runtime
6574   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6575# define LT@&t@_DLSYM_CONST
6576#elif defined(__osf__)
6577/* This system does not cope well with relocations in const data.  */
6578# define LT@&t@_DLSYM_CONST
6579#else
6580# define LT@&t@_DLSYM_CONST const
6581#endif
6582
6583#ifdef __cplusplus
6584extern "C" {
6585#endif
6586
6587_LT_EOF
6588	  # Now generate the symbol file.
6589	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6590
6591	  cat <<_LT_EOF >> conftest.$ac_ext
6592
6593/* The mapping between symbol names and symbols.  */
6594LT@&t@_DLSYM_CONST struct {
6595  const char *name;
6596  void       *address;
6597}
6598lt__PROGRAM__LTX_preloaded_symbols[] =
6599{
6600  { "@PROGRAM@", (void *) 0 },
6601_LT_EOF
6602	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6603	  cat <<\_LT_EOF >> conftest.$ac_ext
6604  {0, (void *) 0}
6605};
6606
6607/* This works around a problem in FreeBSD linker */
6608#ifdef FREEBSD_WORKAROUND
6609static const void *lt_preloaded_setup() {
6610  return lt__PROGRAM__LTX_preloaded_symbols;
6611}
6612#endif
6613
6614#ifdef __cplusplus
6615}
6616#endif
6617_LT_EOF
6618	  # Now try linking the two files.
6619	  mv conftest.$ac_objext conftstm.$ac_objext
6620	  lt_globsym_save_LIBS=$LIBS
6621	  lt_globsym_save_CFLAGS=$CFLAGS
6622	  LIBS="conftstm.$ac_objext"
6623	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6624	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6625  (eval $ac_link) 2>&5
6626  ac_status=$?
6627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6629	    pipe_works=yes
6630	  fi
6631	  LIBS=$lt_globsym_save_LIBS
6632	  CFLAGS=$lt_globsym_save_CFLAGS
6633	else
6634	  echo "cannot find nm_test_func in $nlist" >&5
6635	fi
6636      else
6637	echo "cannot find nm_test_var in $nlist" >&5
6638      fi
6639    else
6640      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6641    fi
6642  else
6643    echo "$progname: failed program was:" >&5
6644    cat conftest.$ac_ext >&5
6645  fi
6646  rm -rf conftest* conftst*
6647
6648  # Do not use the global_symbol_pipe unless it works.
6649  if test "$pipe_works" = yes; then
6650    break
6651  else
6652    lt_cv_sys_global_symbol_pipe=
6653  fi
6654done
6655
6656fi
6657
6658if test -z "$lt_cv_sys_global_symbol_pipe"; then
6659  lt_cv_sys_global_symbol_to_cdecl=
6660fi
6661if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6663$as_echo "failed" >&6; }
6664else
6665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6666$as_echo "ok" >&6; }
6667fi
6668
6669# Response file support.
6670if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6671  nm_file_list_spec='@'
6672elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6673  nm_file_list_spec='@'
6674fi
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6703$as_echo_n "checking for sysroot... " >&6; }
6704
6705@%:@ Check whether --with-sysroot was given.
6706if test "${with_sysroot+set}" = set; then :
6707  withval=$with_sysroot;
6708else
6709  with_sysroot=no
6710fi
6711
6712
6713lt_sysroot=
6714case ${with_sysroot} in #(
6715 yes)
6716   if test "$GCC" = yes; then
6717     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6718   fi
6719   ;; #(
6720 /*)
6721   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6722   ;; #(
6723 no|'')
6724   ;; #(
6725 *)
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6727$as_echo "${with_sysroot}" >&6; }
6728   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6729   ;;
6730esac
6731
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6733$as_echo "${lt_sysroot:-no}" >&6; }
6734
6735
6736
6737
6738
6739@%:@ Check whether --enable-libtool-lock was given.
6740if test "${enable_libtool_lock+set}" = set; then :
6741  enableval=$enable_libtool_lock;
6742fi
6743
6744test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6745
6746# Some flags need to be propagated to the compiler or linker for good
6747# libtool support.
6748case $host in
6749ia64-*-hpux*)
6750  # Find out which ABI we are using.
6751  echo 'int i;' > conftest.$ac_ext
6752  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6753  (eval $ac_compile) 2>&5
6754  ac_status=$?
6755  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6756  test $ac_status = 0; }; then
6757    case `/usr/bin/file conftest.$ac_objext` in
6758      *ELF-32*)
6759	HPUX_IA64_MODE="32"
6760	;;
6761      *ELF-64*)
6762	HPUX_IA64_MODE="64"
6763	;;
6764    esac
6765  fi
6766  rm -rf conftest*
6767  ;;
6768*-*-irix6*)
6769  # Find out which ABI we are using.
6770  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6771  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6772  (eval $ac_compile) 2>&5
6773  ac_status=$?
6774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775  test $ac_status = 0; }; then
6776    if test "$lt_cv_prog_gnu_ld" = yes; then
6777      case `/usr/bin/file conftest.$ac_objext` in
6778	*32-bit*)
6779	  LD="${LD-ld} -melf32bsmip"
6780	  ;;
6781	*N32*)
6782	  LD="${LD-ld} -melf32bmipn32"
6783	  ;;
6784	*64-bit*)
6785	  LD="${LD-ld} -melf64bmip"
6786	;;
6787      esac
6788    else
6789      case `/usr/bin/file conftest.$ac_objext` in
6790	*32-bit*)
6791	  LD="${LD-ld} -32"
6792	  ;;
6793	*N32*)
6794	  LD="${LD-ld} -n32"
6795	  ;;
6796	*64-bit*)
6797	  LD="${LD-ld} -64"
6798	  ;;
6799      esac
6800    fi
6801  fi
6802  rm -rf conftest*
6803  ;;
6804
6805x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6806s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6807  # Find out which ABI we are using.
6808  echo 'int i;' > conftest.$ac_ext
6809  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810  (eval $ac_compile) 2>&5
6811  ac_status=$?
6812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813  test $ac_status = 0; }; then
6814    case `/usr/bin/file conftest.o` in
6815      *32-bit*)
6816	case $host in
6817	  x86_64-*kfreebsd*-gnu)
6818	    LD="${LD-ld} -m elf_i386_fbsd"
6819	    ;;
6820	  x86_64-*linux*)
6821	    LD="${LD-ld} -m elf_i386"
6822	    ;;
6823	  ppc64-*linux*|powerpc64-*linux*)
6824	    LD="${LD-ld} -m elf32ppclinux"
6825	    ;;
6826	  s390x-*linux*)
6827	    LD="${LD-ld} -m elf_s390"
6828	    ;;
6829	  sparc64-*linux*)
6830	    LD="${LD-ld} -m elf32_sparc"
6831	    ;;
6832	esac
6833	;;
6834      *64-bit*)
6835	case $host in
6836	  x86_64-*kfreebsd*-gnu)
6837	    LD="${LD-ld} -m elf_x86_64_fbsd"
6838	    ;;
6839	  x86_64-*linux*)
6840	    LD="${LD-ld} -m elf_x86_64"
6841	    ;;
6842	  ppc*-*linux*|powerpc*-*linux*)
6843	    LD="${LD-ld} -m elf64ppc"
6844	    ;;
6845	  s390*-*linux*|s390*-*tpf*)
6846	    LD="${LD-ld} -m elf64_s390"
6847	    ;;
6848	  sparc*-*linux*)
6849	    LD="${LD-ld} -m elf64_sparc"
6850	    ;;
6851	esac
6852	;;
6853    esac
6854  fi
6855  rm -rf conftest*
6856  ;;
6857
6858*-*-sco3.2v5*)
6859  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6860  SAVE_CFLAGS="$CFLAGS"
6861  CFLAGS="$CFLAGS -belf"
6862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6863$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6864if ${lt_cv_cc_needs_belf+:} false; then :
6865  $as_echo_n "(cached) " >&6
6866else
6867  ac_ext=c
6868ac_cpp='$CPP $CPPFLAGS'
6869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6871ac_compiler_gnu=$ac_cv_c_compiler_gnu
6872
6873     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874/* end confdefs.h.  */
6875
6876int
6877main ()
6878{
6879
6880  ;
6881  return 0;
6882}
6883_ACEOF
6884if ac_fn_c_try_link "$LINENO"; then :
6885  lt_cv_cc_needs_belf=yes
6886else
6887  lt_cv_cc_needs_belf=no
6888fi
6889rm -f core conftest.err conftest.$ac_objext \
6890    conftest$ac_exeext conftest.$ac_ext
6891     ac_ext=c
6892ac_cpp='$CPP $CPPFLAGS'
6893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6895ac_compiler_gnu=$ac_cv_c_compiler_gnu
6896
6897fi
6898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6899$as_echo "$lt_cv_cc_needs_belf" >&6; }
6900  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6901    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6902    CFLAGS="$SAVE_CFLAGS"
6903  fi
6904  ;;
6905sparc*-*solaris*)
6906  # Find out which ABI we are using.
6907  echo 'int i;' > conftest.$ac_ext
6908  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6909  (eval $ac_compile) 2>&5
6910  ac_status=$?
6911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912  test $ac_status = 0; }; then
6913    case `/usr/bin/file conftest.o` in
6914    *64-bit*)
6915      case $lt_cv_prog_gnu_ld in
6916      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6917      *)
6918	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6919	  LD="${LD-ld} -64"
6920	fi
6921	;;
6922      esac
6923      ;;
6924    esac
6925  fi
6926  rm -rf conftest*
6927  ;;
6928esac
6929
6930need_locks="$enable_libtool_lock"
6931
6932if test -n "$ac_tool_prefix"; then
6933  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6934set dummy ${ac_tool_prefix}mt; ac_word=$2
6935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936$as_echo_n "checking for $ac_word... " >&6; }
6937if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6938  $as_echo_n "(cached) " >&6
6939else
6940  if test -n "$MANIFEST_TOOL"; then
6941  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6942else
6943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944for as_dir in $PATH
6945do
6946  IFS=$as_save_IFS
6947  test -z "$as_dir" && as_dir=.
6948    for ac_exec_ext in '' $ac_executable_extensions; do
6949  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6950    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952    break 2
6953  fi
6954done
6955  done
6956IFS=$as_save_IFS
6957
6958fi
6959fi
6960MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6961if test -n "$MANIFEST_TOOL"; then
6962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6963$as_echo "$MANIFEST_TOOL" >&6; }
6964else
6965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966$as_echo "no" >&6; }
6967fi
6968
6969
6970fi
6971if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6972  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6973  # Extract the first word of "mt", so it can be a program name with args.
6974set dummy mt; ac_word=$2
6975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976$as_echo_n "checking for $ac_word... " >&6; }
6977if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6978  $as_echo_n "(cached) " >&6
6979else
6980  if test -n "$ac_ct_MANIFEST_TOOL"; then
6981  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6982else
6983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984for as_dir in $PATH
6985do
6986  IFS=$as_save_IFS
6987  test -z "$as_dir" && as_dir=.
6988    for ac_exec_ext in '' $ac_executable_extensions; do
6989  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6990    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992    break 2
6993  fi
6994done
6995  done
6996IFS=$as_save_IFS
6997
6998fi
6999fi
7000ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7001if test -n "$ac_ct_MANIFEST_TOOL"; then
7002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7003$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7004else
7005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006$as_echo "no" >&6; }
7007fi
7008
7009  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7010    MANIFEST_TOOL=":"
7011  else
7012    case $cross_compiling:$ac_tool_warned in
7013yes:)
7014{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7015$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7016ac_tool_warned=yes ;;
7017esac
7018    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7019  fi
7020else
7021  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7022fi
7023
7024test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7026$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7027if ${lt_cv_path_mainfest_tool+:} false; then :
7028  $as_echo_n "(cached) " >&6
7029else
7030  lt_cv_path_mainfest_tool=no
7031  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7032  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7033  cat conftest.err >&5
7034  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7035    lt_cv_path_mainfest_tool=yes
7036  fi
7037  rm -f conftest*
7038fi
7039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7040$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7041if test "x$lt_cv_path_mainfest_tool" != xyes; then
7042  MANIFEST_TOOL=:
7043fi
7044
7045
7046
7047
7048
7049
7050  case $host_os in
7051    rhapsody* | darwin*)
7052    if test -n "$ac_tool_prefix"; then
7053  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7054set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056$as_echo_n "checking for $ac_word... " >&6; }
7057if ${ac_cv_prog_DSYMUTIL+:} false; then :
7058  $as_echo_n "(cached) " >&6
7059else
7060  if test -n "$DSYMUTIL"; then
7061  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7062else
7063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064for as_dir in $PATH
7065do
7066  IFS=$as_save_IFS
7067  test -z "$as_dir" && as_dir=.
7068    for ac_exec_ext in '' $ac_executable_extensions; do
7069  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7070    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072    break 2
7073  fi
7074done
7075  done
7076IFS=$as_save_IFS
7077
7078fi
7079fi
7080DSYMUTIL=$ac_cv_prog_DSYMUTIL
7081if test -n "$DSYMUTIL"; then
7082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7083$as_echo "$DSYMUTIL" >&6; }
7084else
7085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086$as_echo "no" >&6; }
7087fi
7088
7089
7090fi
7091if test -z "$ac_cv_prog_DSYMUTIL"; then
7092  ac_ct_DSYMUTIL=$DSYMUTIL
7093  # Extract the first word of "dsymutil", so it can be a program name with args.
7094set dummy dsymutil; ac_word=$2
7095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096$as_echo_n "checking for $ac_word... " >&6; }
7097if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7098  $as_echo_n "(cached) " >&6
7099else
7100  if test -n "$ac_ct_DSYMUTIL"; then
7101  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7102else
7103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104for as_dir in $PATH
7105do
7106  IFS=$as_save_IFS
7107  test -z "$as_dir" && as_dir=.
7108    for ac_exec_ext in '' $ac_executable_extensions; do
7109  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7110    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112    break 2
7113  fi
7114done
7115  done
7116IFS=$as_save_IFS
7117
7118fi
7119fi
7120ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7121if test -n "$ac_ct_DSYMUTIL"; then
7122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7123$as_echo "$ac_ct_DSYMUTIL" >&6; }
7124else
7125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126$as_echo "no" >&6; }
7127fi
7128
7129  if test "x$ac_ct_DSYMUTIL" = x; then
7130    DSYMUTIL=":"
7131  else
7132    case $cross_compiling:$ac_tool_warned in
7133yes:)
7134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136ac_tool_warned=yes ;;
7137esac
7138    DSYMUTIL=$ac_ct_DSYMUTIL
7139  fi
7140else
7141  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7142fi
7143
7144    if test -n "$ac_tool_prefix"; then
7145  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7146set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148$as_echo_n "checking for $ac_word... " >&6; }
7149if ${ac_cv_prog_NMEDIT+:} false; then :
7150  $as_echo_n "(cached) " >&6
7151else
7152  if test -n "$NMEDIT"; then
7153  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7154else
7155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156for as_dir in $PATH
7157do
7158  IFS=$as_save_IFS
7159  test -z "$as_dir" && as_dir=.
7160    for ac_exec_ext in '' $ac_executable_extensions; do
7161  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7162    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164    break 2
7165  fi
7166done
7167  done
7168IFS=$as_save_IFS
7169
7170fi
7171fi
7172NMEDIT=$ac_cv_prog_NMEDIT
7173if test -n "$NMEDIT"; then
7174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7175$as_echo "$NMEDIT" >&6; }
7176else
7177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178$as_echo "no" >&6; }
7179fi
7180
7181
7182fi
7183if test -z "$ac_cv_prog_NMEDIT"; then
7184  ac_ct_NMEDIT=$NMEDIT
7185  # Extract the first word of "nmedit", so it can be a program name with args.
7186set dummy nmedit; ac_word=$2
7187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188$as_echo_n "checking for $ac_word... " >&6; }
7189if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7190  $as_echo_n "(cached) " >&6
7191else
7192  if test -n "$ac_ct_NMEDIT"; then
7193  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7194else
7195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196for as_dir in $PATH
7197do
7198  IFS=$as_save_IFS
7199  test -z "$as_dir" && as_dir=.
7200    for ac_exec_ext in '' $ac_executable_extensions; do
7201  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7202    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7203    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204    break 2
7205  fi
7206done
7207  done
7208IFS=$as_save_IFS
7209
7210fi
7211fi
7212ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7213if test -n "$ac_ct_NMEDIT"; then
7214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7215$as_echo "$ac_ct_NMEDIT" >&6; }
7216else
7217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218$as_echo "no" >&6; }
7219fi
7220
7221  if test "x$ac_ct_NMEDIT" = x; then
7222    NMEDIT=":"
7223  else
7224    case $cross_compiling:$ac_tool_warned in
7225yes:)
7226{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228ac_tool_warned=yes ;;
7229esac
7230    NMEDIT=$ac_ct_NMEDIT
7231  fi
7232else
7233  NMEDIT="$ac_cv_prog_NMEDIT"
7234fi
7235
7236    if test -n "$ac_tool_prefix"; then
7237  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7238set dummy ${ac_tool_prefix}lipo; ac_word=$2
7239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240$as_echo_n "checking for $ac_word... " >&6; }
7241if ${ac_cv_prog_LIPO+:} false; then :
7242  $as_echo_n "(cached) " >&6
7243else
7244  if test -n "$LIPO"; then
7245  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7246else
7247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248for as_dir in $PATH
7249do
7250  IFS=$as_save_IFS
7251  test -z "$as_dir" && as_dir=.
7252    for ac_exec_ext in '' $ac_executable_extensions; do
7253  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7254    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256    break 2
7257  fi
7258done
7259  done
7260IFS=$as_save_IFS
7261
7262fi
7263fi
7264LIPO=$ac_cv_prog_LIPO
7265if test -n "$LIPO"; then
7266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7267$as_echo "$LIPO" >&6; }
7268else
7269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270$as_echo "no" >&6; }
7271fi
7272
7273
7274fi
7275if test -z "$ac_cv_prog_LIPO"; then
7276  ac_ct_LIPO=$LIPO
7277  # Extract the first word of "lipo", so it can be a program name with args.
7278set dummy lipo; ac_word=$2
7279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280$as_echo_n "checking for $ac_word... " >&6; }
7281if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7282  $as_echo_n "(cached) " >&6
7283else
7284  if test -n "$ac_ct_LIPO"; then
7285  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7286else
7287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288for as_dir in $PATH
7289do
7290  IFS=$as_save_IFS
7291  test -z "$as_dir" && as_dir=.
7292    for ac_exec_ext in '' $ac_executable_extensions; do
7293  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294    ac_cv_prog_ac_ct_LIPO="lipo"
7295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296    break 2
7297  fi
7298done
7299  done
7300IFS=$as_save_IFS
7301
7302fi
7303fi
7304ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7305if test -n "$ac_ct_LIPO"; then
7306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7307$as_echo "$ac_ct_LIPO" >&6; }
7308else
7309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310$as_echo "no" >&6; }
7311fi
7312
7313  if test "x$ac_ct_LIPO" = x; then
7314    LIPO=":"
7315  else
7316    case $cross_compiling:$ac_tool_warned in
7317yes:)
7318{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7319$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7320ac_tool_warned=yes ;;
7321esac
7322    LIPO=$ac_ct_LIPO
7323  fi
7324else
7325  LIPO="$ac_cv_prog_LIPO"
7326fi
7327
7328    if test -n "$ac_tool_prefix"; then
7329  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7330set dummy ${ac_tool_prefix}otool; ac_word=$2
7331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332$as_echo_n "checking for $ac_word... " >&6; }
7333if ${ac_cv_prog_OTOOL+:} false; then :
7334  $as_echo_n "(cached) " >&6
7335else
7336  if test -n "$OTOOL"; then
7337  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7338else
7339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340for as_dir in $PATH
7341do
7342  IFS=$as_save_IFS
7343  test -z "$as_dir" && as_dir=.
7344    for ac_exec_ext in '' $ac_executable_extensions; do
7345  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7346    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7347    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348    break 2
7349  fi
7350done
7351  done
7352IFS=$as_save_IFS
7353
7354fi
7355fi
7356OTOOL=$ac_cv_prog_OTOOL
7357if test -n "$OTOOL"; then
7358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7359$as_echo "$OTOOL" >&6; }
7360else
7361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362$as_echo "no" >&6; }
7363fi
7364
7365
7366fi
7367if test -z "$ac_cv_prog_OTOOL"; then
7368  ac_ct_OTOOL=$OTOOL
7369  # Extract the first word of "otool", so it can be a program name with args.
7370set dummy otool; ac_word=$2
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372$as_echo_n "checking for $ac_word... " >&6; }
7373if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7374  $as_echo_n "(cached) " >&6
7375else
7376  if test -n "$ac_ct_OTOOL"; then
7377  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7378else
7379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380for as_dir in $PATH
7381do
7382  IFS=$as_save_IFS
7383  test -z "$as_dir" && as_dir=.
7384    for ac_exec_ext in '' $ac_executable_extensions; do
7385  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386    ac_cv_prog_ac_ct_OTOOL="otool"
7387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388    break 2
7389  fi
7390done
7391  done
7392IFS=$as_save_IFS
7393
7394fi
7395fi
7396ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7397if test -n "$ac_ct_OTOOL"; then
7398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7399$as_echo "$ac_ct_OTOOL" >&6; }
7400else
7401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402$as_echo "no" >&6; }
7403fi
7404
7405  if test "x$ac_ct_OTOOL" = x; then
7406    OTOOL=":"
7407  else
7408    case $cross_compiling:$ac_tool_warned in
7409yes:)
7410{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7411$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7412ac_tool_warned=yes ;;
7413esac
7414    OTOOL=$ac_ct_OTOOL
7415  fi
7416else
7417  OTOOL="$ac_cv_prog_OTOOL"
7418fi
7419
7420    if test -n "$ac_tool_prefix"; then
7421  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7422set dummy ${ac_tool_prefix}otool64; ac_word=$2
7423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424$as_echo_n "checking for $ac_word... " >&6; }
7425if ${ac_cv_prog_OTOOL64+:} false; then :
7426  $as_echo_n "(cached) " >&6
7427else
7428  if test -n "$OTOOL64"; then
7429  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7430else
7431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432for as_dir in $PATH
7433do
7434  IFS=$as_save_IFS
7435  test -z "$as_dir" && as_dir=.
7436    for ac_exec_ext in '' $ac_executable_extensions; do
7437  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7439    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440    break 2
7441  fi
7442done
7443  done
7444IFS=$as_save_IFS
7445
7446fi
7447fi
7448OTOOL64=$ac_cv_prog_OTOOL64
7449if test -n "$OTOOL64"; then
7450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7451$as_echo "$OTOOL64" >&6; }
7452else
7453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454$as_echo "no" >&6; }
7455fi
7456
7457
7458fi
7459if test -z "$ac_cv_prog_OTOOL64"; then
7460  ac_ct_OTOOL64=$OTOOL64
7461  # Extract the first word of "otool64", so it can be a program name with args.
7462set dummy otool64; ac_word=$2
7463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464$as_echo_n "checking for $ac_word... " >&6; }
7465if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7466  $as_echo_n "(cached) " >&6
7467else
7468  if test -n "$ac_ct_OTOOL64"; then
7469  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7470else
7471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472for as_dir in $PATH
7473do
7474  IFS=$as_save_IFS
7475  test -z "$as_dir" && as_dir=.
7476    for ac_exec_ext in '' $ac_executable_extensions; do
7477  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478    ac_cv_prog_ac_ct_OTOOL64="otool64"
7479    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480    break 2
7481  fi
7482done
7483  done
7484IFS=$as_save_IFS
7485
7486fi
7487fi
7488ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7489if test -n "$ac_ct_OTOOL64"; then
7490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7491$as_echo "$ac_ct_OTOOL64" >&6; }
7492else
7493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494$as_echo "no" >&6; }
7495fi
7496
7497  if test "x$ac_ct_OTOOL64" = x; then
7498    OTOOL64=":"
7499  else
7500    case $cross_compiling:$ac_tool_warned in
7501yes:)
7502{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7503$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7504ac_tool_warned=yes ;;
7505esac
7506    OTOOL64=$ac_ct_OTOOL64
7507  fi
7508else
7509  OTOOL64="$ac_cv_prog_OTOOL64"
7510fi
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7539$as_echo_n "checking for -single_module linker flag... " >&6; }
7540if ${lt_cv_apple_cc_single_mod+:} false; then :
7541  $as_echo_n "(cached) " >&6
7542else
7543  lt_cv_apple_cc_single_mod=no
7544      if test -z "${LT_MULTI_MODULE}"; then
7545	# By default we will add the -single_module flag. You can override
7546	# by either setting the environment variable LT_MULTI_MODULE
7547	# non-empty at configure time, or by adding -multi_module to the
7548	# link flags.
7549	rm -rf libconftest.dylib*
7550	echo "int foo(void){return 1;}" > conftest.c
7551	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7552-dynamiclib -Wl,-single_module conftest.c" >&5
7553	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7554	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7555        _lt_result=$?
7556	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7557	  lt_cv_apple_cc_single_mod=yes
7558	else
7559	  cat conftest.err >&5
7560	fi
7561	rm -rf libconftest.dylib*
7562	rm -f conftest.*
7563      fi
7564fi
7565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7568$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7569if ${lt_cv_ld_exported_symbols_list+:} false; then :
7570  $as_echo_n "(cached) " >&6
7571else
7572  lt_cv_ld_exported_symbols_list=no
7573      save_LDFLAGS=$LDFLAGS
7574      echo "_main" > conftest.sym
7575      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7576      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577/* end confdefs.h.  */
7578
7579int
7580main ()
7581{
7582
7583  ;
7584  return 0;
7585}
7586_ACEOF
7587if ac_fn_c_try_link "$LINENO"; then :
7588  lt_cv_ld_exported_symbols_list=yes
7589else
7590  lt_cv_ld_exported_symbols_list=no
7591fi
7592rm -f core conftest.err conftest.$ac_objext \
7593    conftest$ac_exeext conftest.$ac_ext
7594	LDFLAGS="$save_LDFLAGS"
7595
7596fi
7597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7598$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7599    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7600$as_echo_n "checking for -force_load linker flag... " >&6; }
7601if ${lt_cv_ld_force_load+:} false; then :
7602  $as_echo_n "(cached) " >&6
7603else
7604  lt_cv_ld_force_load=no
7605      cat > conftest.c << _LT_EOF
7606int forced_loaded() { return 2;}
7607_LT_EOF
7608      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7609      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7610      echo "$AR cru libconftest.a conftest.o" >&5
7611      $AR cru libconftest.a conftest.o 2>&5
7612      echo "$RANLIB libconftest.a" >&5
7613      $RANLIB libconftest.a 2>&5
7614      cat > conftest.c << _LT_EOF
7615int main() { return 0;}
7616_LT_EOF
7617      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7618      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7619      _lt_result=$?
7620      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7621	lt_cv_ld_force_load=yes
7622      else
7623	cat conftest.err >&5
7624      fi
7625        rm -f conftest.err libconftest.a conftest conftest.c
7626        rm -rf conftest.dSYM
7627
7628fi
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7630$as_echo "$lt_cv_ld_force_load" >&6; }
7631    case $host_os in
7632    rhapsody* | darwin1.[012])
7633      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7634    darwin1.*)
7635      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7636    darwin*) # darwin 5.x on
7637      # if running on 10.5 or later, the deployment target defaults
7638      # to the OS version, if on x86, and 10.4, the deployment
7639      # target defaults to 10.4. Don't you love it?
7640      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7641	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7642	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7643	10.[012]*)
7644	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7645	10.*)
7646	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7647      esac
7648    ;;
7649  esac
7650    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7651      _lt_dar_single_mod='$single_module'
7652    fi
7653    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7654      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7655    else
7656      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7657    fi
7658    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7659      _lt_dsymutil='~$DSYMUTIL $lib || :'
7660    else
7661      _lt_dsymutil=
7662    fi
7663    ;;
7664  esac
7665
7666ac_ext=c
7667ac_cpp='$CPP $CPPFLAGS'
7668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7670ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7672$as_echo_n "checking how to run the C preprocessor... " >&6; }
7673# On Suns, sometimes $CPP names a directory.
7674if test -n "$CPP" && test -d "$CPP"; then
7675  CPP=
7676fi
7677if test -z "$CPP"; then
7678  if ${ac_cv_prog_CPP+:} false; then :
7679  $as_echo_n "(cached) " >&6
7680else
7681      # Double quotes because CPP needs to be expanded
7682    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7683    do
7684      ac_preproc_ok=false
7685for ac_c_preproc_warn_flag in '' yes
7686do
7687  # Use a header file that comes with gcc, so configuring glibc
7688  # with a fresh cross-compiler works.
7689  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7690  # <limits.h> exists even on freestanding compilers.
7691  # On the NeXT, cc -E runs the code through the compiler's parser,
7692  # not just through cpp. "Syntax error" is here to catch this case.
7693  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694/* end confdefs.h.  */
7695@%:@ifdef __STDC__
7696@%:@ include <limits.h>
7697@%:@else
7698@%:@ include <assert.h>
7699@%:@endif
7700		     Syntax error
7701_ACEOF
7702if ac_fn_c_try_cpp "$LINENO"; then :
7703
7704else
7705  # Broken: fails on valid input.
7706continue
7707fi
7708rm -f conftest.err conftest.i conftest.$ac_ext
7709
7710  # OK, works on sane cases.  Now check whether nonexistent headers
7711  # can be detected and how.
7712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713/* end confdefs.h.  */
7714@%:@include <ac_nonexistent.h>
7715_ACEOF
7716if ac_fn_c_try_cpp "$LINENO"; then :
7717  # Broken: success on invalid input.
7718continue
7719else
7720  # Passes both tests.
7721ac_preproc_ok=:
7722break
7723fi
7724rm -f conftest.err conftest.i conftest.$ac_ext
7725
7726done
7727# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7728rm -f conftest.i conftest.err conftest.$ac_ext
7729if $ac_preproc_ok; then :
7730  break
7731fi
7732
7733    done
7734    ac_cv_prog_CPP=$CPP
7735
7736fi
7737  CPP=$ac_cv_prog_CPP
7738else
7739  ac_cv_prog_CPP=$CPP
7740fi
7741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7742$as_echo "$CPP" >&6; }
7743ac_preproc_ok=false
7744for ac_c_preproc_warn_flag in '' yes
7745do
7746  # Use a header file that comes with gcc, so configuring glibc
7747  # with a fresh cross-compiler works.
7748  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749  # <limits.h> exists even on freestanding compilers.
7750  # On the NeXT, cc -E runs the code through the compiler's parser,
7751  # not just through cpp. "Syntax error" is here to catch this case.
7752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753/* end confdefs.h.  */
7754@%:@ifdef __STDC__
7755@%:@ include <limits.h>
7756@%:@else
7757@%:@ include <assert.h>
7758@%:@endif
7759		     Syntax error
7760_ACEOF
7761if ac_fn_c_try_cpp "$LINENO"; then :
7762
7763else
7764  # Broken: fails on valid input.
7765continue
7766fi
7767rm -f conftest.err conftest.i conftest.$ac_ext
7768
7769  # OK, works on sane cases.  Now check whether nonexistent headers
7770  # can be detected and how.
7771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772/* end confdefs.h.  */
7773@%:@include <ac_nonexistent.h>
7774_ACEOF
7775if ac_fn_c_try_cpp "$LINENO"; then :
7776  # Broken: success on invalid input.
7777continue
7778else
7779  # Passes both tests.
7780ac_preproc_ok=:
7781break
7782fi
7783rm -f conftest.err conftest.i conftest.$ac_ext
7784
7785done
7786# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7787rm -f conftest.i conftest.err conftest.$ac_ext
7788if $ac_preproc_ok; then :
7789
7790else
7791  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7793as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7794See \`config.log' for more details" "$LINENO" 5; }
7795fi
7796
7797ac_ext=c
7798ac_cpp='$CPP $CPPFLAGS'
7799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801ac_compiler_gnu=$ac_cv_c_compiler_gnu
7802
7803
7804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7805$as_echo_n "checking for ANSI C header files... " >&6; }
7806if ${ac_cv_header_stdc+:} false; then :
7807  $as_echo_n "(cached) " >&6
7808else
7809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810/* end confdefs.h.  */
7811#include <stdlib.h>
7812#include <stdarg.h>
7813#include <string.h>
7814#include <float.h>
7815
7816int
7817main ()
7818{
7819
7820  ;
7821  return 0;
7822}
7823_ACEOF
7824if ac_fn_c_try_compile "$LINENO"; then :
7825  ac_cv_header_stdc=yes
7826else
7827  ac_cv_header_stdc=no
7828fi
7829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7830
7831if test $ac_cv_header_stdc = yes; then
7832  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7834/* end confdefs.h.  */
7835#include <string.h>
7836
7837_ACEOF
7838if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7839  $EGREP "memchr" >/dev/null 2>&1; then :
7840
7841else
7842  ac_cv_header_stdc=no
7843fi
7844rm -f conftest*
7845
7846fi
7847
7848if test $ac_cv_header_stdc = yes; then
7849  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7850  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851/* end confdefs.h.  */
7852#include <stdlib.h>
7853
7854_ACEOF
7855if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7856  $EGREP "free" >/dev/null 2>&1; then :
7857
7858else
7859  ac_cv_header_stdc=no
7860fi
7861rm -f conftest*
7862
7863fi
7864
7865if test $ac_cv_header_stdc = yes; then
7866  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7867  if test "$cross_compiling" = yes; then :
7868  :
7869else
7870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871/* end confdefs.h.  */
7872#include <ctype.h>
7873#include <stdlib.h>
7874#if ((' ' & 0x0FF) == 0x020)
7875# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7876# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7877#else
7878# define ISLOWER(c) \
7879		   (('a' <= (c) && (c) <= 'i') \
7880		     || ('j' <= (c) && (c) <= 'r') \
7881		     || ('s' <= (c) && (c) <= 'z'))
7882# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7883#endif
7884
7885#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7886int
7887main ()
7888{
7889  int i;
7890  for (i = 0; i < 256; i++)
7891    if (XOR (islower (i), ISLOWER (i))
7892	|| toupper (i) != TOUPPER (i))
7893      return 2;
7894  return 0;
7895}
7896_ACEOF
7897if ac_fn_c_try_run "$LINENO"; then :
7898
7899else
7900  ac_cv_header_stdc=no
7901fi
7902rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7903  conftest.$ac_objext conftest.beam conftest.$ac_ext
7904fi
7905
7906fi
7907fi
7908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7909$as_echo "$ac_cv_header_stdc" >&6; }
7910if test $ac_cv_header_stdc = yes; then
7911
7912$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7913
7914fi
7915
7916# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7917for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7918		  inttypes.h stdint.h unistd.h
7919do :
7920  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7921ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7922"
7923if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7924  cat >>confdefs.h <<_ACEOF
7925@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7926_ACEOF
7927
7928fi
7929
7930done
7931
7932
7933for ac_header in dlfcn.h
7934do :
7935  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7936"
7937if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7938  cat >>confdefs.h <<_ACEOF
7939@%:@define HAVE_DLFCN_H 1
7940_ACEOF
7941
7942fi
7943
7944done
7945
7946
7947
7948
7949func_stripname_cnf ()
7950{
7951  case ${2} in
7952  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7953  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7954  esac
7955} # func_stripname_cnf
7956
7957
7958
7959
7960
7961# Set options
7962
7963
7964
7965        enable_dlopen=no
7966
7967
7968  enable_win32_dll=no
7969
7970
7971
7972
7973
7974@%:@ Check whether --with-pic was given.
7975if test "${with_pic+set}" = set; then :
7976  withval=$with_pic; pic_mode="$withval"
7977else
7978  pic_mode=default
7979fi
7980
7981
7982test -z "$pic_mode" && pic_mode=default
7983
7984
7985
7986
7987
7988
7989
7990  @%:@ Check whether --enable-fast-install was given.
7991if test "${enable_fast_install+set}" = set; then :
7992  enableval=$enable_fast_install; p=${PACKAGE-default}
7993    case $enableval in
7994    yes) enable_fast_install=yes ;;
7995    no) enable_fast_install=no ;;
7996    *)
7997      enable_fast_install=no
7998      # Look at the argument we got.  We use all the common list separators.
7999      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000      for pkg in $enableval; do
8001	IFS="$lt_save_ifs"
8002	if test "X$pkg" = "X$p"; then
8003	  enable_fast_install=yes
8004	fi
8005      done
8006      IFS="$lt_save_ifs"
8007      ;;
8008    esac
8009else
8010  enable_fast_install=yes
8011fi
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023# This can be used to rebuild libtool when needed
8024LIBTOOL_DEPS="$ltmain"
8025
8026# Always use our own libtool.
8027LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054test -z "$LN_S" && LN_S="ln -s"
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069if test -n "${ZSH_VERSION+set}" ; then
8070   setopt NO_GLOB_SUBST
8071fi
8072
8073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8074$as_echo_n "checking for objdir... " >&6; }
8075if ${lt_cv_objdir+:} false; then :
8076  $as_echo_n "(cached) " >&6
8077else
8078  rm -f .libs 2>/dev/null
8079mkdir .libs 2>/dev/null
8080if test -d .libs; then
8081  lt_cv_objdir=.libs
8082else
8083  # MS-DOS does not allow filenames that begin with a dot.
8084  lt_cv_objdir=_libs
8085fi
8086rmdir .libs 2>/dev/null
8087fi
8088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8089$as_echo "$lt_cv_objdir" >&6; }
8090objdir=$lt_cv_objdir
8091
8092
8093
8094
8095
8096cat >>confdefs.h <<_ACEOF
8097@%:@define LT_OBJDIR "$lt_cv_objdir/"
8098_ACEOF
8099
8100
8101
8102
8103case $host_os in
8104aix3*)
8105  # AIX sometimes has problems with the GCC collect2 program.  For some
8106  # reason, if we set the COLLECT_NAMES environment variable, the problems
8107  # vanish in a puff of smoke.
8108  if test "X${COLLECT_NAMES+set}" != Xset; then
8109    COLLECT_NAMES=
8110    export COLLECT_NAMES
8111  fi
8112  ;;
8113esac
8114
8115# Global variables:
8116ofile=libtool
8117can_build_shared=yes
8118
8119# All known linkers require a `.a' archive for static linking (except MSVC,
8120# which needs '.lib').
8121libext=a
8122
8123with_gnu_ld="$lt_cv_prog_gnu_ld"
8124
8125old_CC="$CC"
8126old_CFLAGS="$CFLAGS"
8127
8128# Set sane defaults for various variables
8129test -z "$CC" && CC=cc
8130test -z "$LTCC" && LTCC=$CC
8131test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8132test -z "$LD" && LD=ld
8133test -z "$ac_objext" && ac_objext=o
8134
8135for cc_temp in $compiler""; do
8136  case $cc_temp in
8137    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8138    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8139    \-*) ;;
8140    *) break;;
8141  esac
8142done
8143cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8144
8145
8146# Only perform the check for file, if the check method requires it
8147test -z "$MAGIC_CMD" && MAGIC_CMD=file
8148case $deplibs_check_method in
8149file_magic*)
8150  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8151    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8152$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8153if ${lt_cv_path_MAGIC_CMD+:} false; then :
8154  $as_echo_n "(cached) " >&6
8155else
8156  case $MAGIC_CMD in
8157[\\/*] |  ?:[\\/]*)
8158  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8159  ;;
8160*)
8161  lt_save_MAGIC_CMD="$MAGIC_CMD"
8162  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8163  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8164  for ac_dir in $ac_dummy; do
8165    IFS="$lt_save_ifs"
8166    test -z "$ac_dir" && ac_dir=.
8167    if test -f $ac_dir/${ac_tool_prefix}file; then
8168      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8169      if test -n "$file_magic_test_file"; then
8170	case $deplibs_check_method in
8171	"file_magic "*)
8172	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8173	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8174	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8175	    $EGREP "$file_magic_regex" > /dev/null; then
8176	    :
8177	  else
8178	    cat <<_LT_EOF 1>&2
8179
8180*** Warning: the command libtool uses to detect shared libraries,
8181*** $file_magic_cmd, produces output that libtool cannot recognize.
8182*** The result is that libtool may fail to recognize shared libraries
8183*** as such.  This will affect the creation of libtool libraries that
8184*** depend on shared libraries, but programs linked with such libtool
8185*** libraries will work regardless of this problem.  Nevertheless, you
8186*** may want to report the problem to your system manager and/or to
8187*** bug-libtool@gnu.org
8188
8189_LT_EOF
8190	  fi ;;
8191	esac
8192      fi
8193      break
8194    fi
8195  done
8196  IFS="$lt_save_ifs"
8197  MAGIC_CMD="$lt_save_MAGIC_CMD"
8198  ;;
8199esac
8200fi
8201
8202MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8203if test -n "$MAGIC_CMD"; then
8204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8205$as_echo "$MAGIC_CMD" >&6; }
8206else
8207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208$as_echo "no" >&6; }
8209fi
8210
8211
8212
8213
8214
8215if test -z "$lt_cv_path_MAGIC_CMD"; then
8216  if test -n "$ac_tool_prefix"; then
8217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8218$as_echo_n "checking for file... " >&6; }
8219if ${lt_cv_path_MAGIC_CMD+:} false; then :
8220  $as_echo_n "(cached) " >&6
8221else
8222  case $MAGIC_CMD in
8223[\\/*] |  ?:[\\/]*)
8224  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8225  ;;
8226*)
8227  lt_save_MAGIC_CMD="$MAGIC_CMD"
8228  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8229  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8230  for ac_dir in $ac_dummy; do
8231    IFS="$lt_save_ifs"
8232    test -z "$ac_dir" && ac_dir=.
8233    if test -f $ac_dir/file; then
8234      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8235      if test -n "$file_magic_test_file"; then
8236	case $deplibs_check_method in
8237	"file_magic "*)
8238	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8239	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8240	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8241	    $EGREP "$file_magic_regex" > /dev/null; then
8242	    :
8243	  else
8244	    cat <<_LT_EOF 1>&2
8245
8246*** Warning: the command libtool uses to detect shared libraries,
8247*** $file_magic_cmd, produces output that libtool cannot recognize.
8248*** The result is that libtool may fail to recognize shared libraries
8249*** as such.  This will affect the creation of libtool libraries that
8250*** depend on shared libraries, but programs linked with such libtool
8251*** libraries will work regardless of this problem.  Nevertheless, you
8252*** may want to report the problem to your system manager and/or to
8253*** bug-libtool@gnu.org
8254
8255_LT_EOF
8256	  fi ;;
8257	esac
8258      fi
8259      break
8260    fi
8261  done
8262  IFS="$lt_save_ifs"
8263  MAGIC_CMD="$lt_save_MAGIC_CMD"
8264  ;;
8265esac
8266fi
8267
8268MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8269if test -n "$MAGIC_CMD"; then
8270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8271$as_echo "$MAGIC_CMD" >&6; }
8272else
8273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274$as_echo "no" >&6; }
8275fi
8276
8277
8278  else
8279    MAGIC_CMD=:
8280  fi
8281fi
8282
8283  fi
8284  ;;
8285esac
8286
8287# Use C for the default configuration in the libtool script
8288
8289lt_save_CC="$CC"
8290ac_ext=c
8291ac_cpp='$CPP $CPPFLAGS'
8292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8294ac_compiler_gnu=$ac_cv_c_compiler_gnu
8295
8296
8297# Source file extension for C test sources.
8298ac_ext=c
8299
8300# Object file extension for compiled C test sources.
8301objext=o
8302objext=$objext
8303
8304# Code to be used in simple compile tests
8305lt_simple_compile_test_code="int some_variable = 0;"
8306
8307# Code to be used in simple link tests
8308lt_simple_link_test_code='int main(){return(0);}'
8309
8310
8311
8312
8313
8314
8315
8316# If no C compiler was specified, use CC.
8317LTCC=${LTCC-"$CC"}
8318
8319# If no C compiler flags were specified, use CFLAGS.
8320LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8321
8322# Allow CC to be a program name with arguments.
8323compiler=$CC
8324
8325# Save the default compiler, since it gets overwritten when the other
8326# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8327compiler_DEFAULT=$CC
8328
8329# save warnings/boilerplate of simple test code
8330ac_outfile=conftest.$ac_objext
8331echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8332eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8333_lt_compiler_boilerplate=`cat conftest.err`
8334$RM conftest*
8335
8336ac_outfile=conftest.$ac_objext
8337echo "$lt_simple_link_test_code" >conftest.$ac_ext
8338eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8339_lt_linker_boilerplate=`cat conftest.err`
8340$RM -r conftest*
8341
8342
8343## CAVEAT EMPTOR:
8344## There is no encapsulation within the following macros, do not change
8345## the running order or otherwise move them around unless you know exactly
8346## what you are doing...
8347if test -n "$compiler"; then
8348
8349lt_prog_compiler_no_builtin_flag=
8350
8351if test "$GCC" = yes; then
8352  case $cc_basename in
8353  nvcc*)
8354    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8355  *)
8356    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8357  esac
8358
8359  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8360$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8361if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8362  $as_echo_n "(cached) " >&6
8363else
8364  lt_cv_prog_compiler_rtti_exceptions=no
8365   ac_outfile=conftest.$ac_objext
8366   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8367   lt_compiler_flag="-fno-rtti -fno-exceptions"
8368   # Insert the option either (1) after the last *FLAGS variable, or
8369   # (2) before a word containing "conftest.", or (3) at the end.
8370   # Note that $ac_compile itself does not contain backslashes and begins
8371   # with a dollar sign (not a hyphen), so the echo should work correctly.
8372   # The option is referenced via a variable to avoid confusing sed.
8373   lt_compile=`echo "$ac_compile" | $SED \
8374   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8375   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8376   -e 's:$: $lt_compiler_flag:'`
8377   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8378   (eval "$lt_compile" 2>conftest.err)
8379   ac_status=$?
8380   cat conftest.err >&5
8381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382   if (exit $ac_status) && test -s "$ac_outfile"; then
8383     # The compiler can only warn and ignore the option if not recognized
8384     # So say no if there are warnings other than the usual output.
8385     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8386     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8387     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8388       lt_cv_prog_compiler_rtti_exceptions=yes
8389     fi
8390   fi
8391   $RM conftest*
8392
8393fi
8394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8395$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8396
8397if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8398    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8399else
8400    :
8401fi
8402
8403fi
8404
8405
8406
8407
8408
8409
8410  lt_prog_compiler_wl=
8411lt_prog_compiler_pic=
8412lt_prog_compiler_static=
8413
8414
8415  if test "$GCC" = yes; then
8416    lt_prog_compiler_wl='-Wl,'
8417    lt_prog_compiler_static='-static'
8418
8419    case $host_os in
8420      aix*)
8421      # All AIX code is PIC.
8422      if test "$host_cpu" = ia64; then
8423	# AIX 5 now supports IA64 processor
8424	lt_prog_compiler_static='-Bstatic'
8425      fi
8426      ;;
8427
8428    amigaos*)
8429      case $host_cpu in
8430      powerpc)
8431            # see comment about AmigaOS4 .so support
8432            lt_prog_compiler_pic='-fPIC'
8433        ;;
8434      m68k)
8435            # FIXME: we need at least 68020 code to build shared libraries, but
8436            # adding the `-m68020' flag to GCC prevents building anything better,
8437            # like `-m68040'.
8438            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8439        ;;
8440      esac
8441      ;;
8442
8443    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8444      # PIC is the default for these OSes.
8445      ;;
8446
8447    mingw* | cygwin* | pw32* | os2* | cegcc*)
8448      # This hack is so that the source file can tell whether it is being
8449      # built for inclusion in a dll (and should export symbols for example).
8450      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8451      # (--disable-auto-import) libraries
8452      lt_prog_compiler_pic='-DDLL_EXPORT'
8453      ;;
8454
8455    darwin* | rhapsody*)
8456      # PIC is the default on this platform
8457      # Common symbols not allowed in MH_DYLIB files
8458      lt_prog_compiler_pic='-fno-common'
8459      ;;
8460
8461    haiku*)
8462      # PIC is the default for Haiku.
8463      # The "-static" flag exists, but is broken.
8464      lt_prog_compiler_static=
8465      ;;
8466
8467    hpux*)
8468      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8469      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8470      # sets the default TLS model and affects inlining.
8471      case $host_cpu in
8472      hppa*64*)
8473	# +Z the default
8474	;;
8475      *)
8476	lt_prog_compiler_pic='-fPIC'
8477	;;
8478      esac
8479      ;;
8480
8481    interix[3-9]*)
8482      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8483      # Instead, we relocate shared libraries at runtime.
8484      ;;
8485
8486    msdosdjgpp*)
8487      # Just because we use GCC doesn't mean we suddenly get shared libraries
8488      # on systems that don't support them.
8489      lt_prog_compiler_can_build_shared=no
8490      enable_shared=no
8491      ;;
8492
8493    *nto* | *qnx*)
8494      # QNX uses GNU C++, but need to define -shared option too, otherwise
8495      # it will coredump.
8496      lt_prog_compiler_pic='-fPIC -shared'
8497      ;;
8498
8499    sysv4*MP*)
8500      if test -d /usr/nec; then
8501	lt_prog_compiler_pic=-Kconform_pic
8502      fi
8503      ;;
8504
8505    *)
8506      lt_prog_compiler_pic='-fPIC'
8507      ;;
8508    esac
8509
8510    case $cc_basename in
8511    nvcc*) # Cuda Compiler Driver 2.2
8512      lt_prog_compiler_wl='-Xlinker '
8513      lt_prog_compiler_pic='-Xcompiler -fPIC'
8514      ;;
8515    esac
8516  else
8517    # PORTME Check for flag to pass linker flags through the system compiler.
8518    case $host_os in
8519    aix*)
8520      lt_prog_compiler_wl='-Wl,'
8521      if test "$host_cpu" = ia64; then
8522	# AIX 5 now supports IA64 processor
8523	lt_prog_compiler_static='-Bstatic'
8524      else
8525	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8526      fi
8527      ;;
8528
8529    mingw* | cygwin* | pw32* | os2* | cegcc*)
8530      # This hack is so that the source file can tell whether it is being
8531      # built for inclusion in a dll (and should export symbols for example).
8532      lt_prog_compiler_pic='-DDLL_EXPORT'
8533      ;;
8534
8535    hpux9* | hpux10* | hpux11*)
8536      lt_prog_compiler_wl='-Wl,'
8537      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8538      # not for PA HP-UX.
8539      case $host_cpu in
8540      hppa*64*|ia64*)
8541	# +Z the default
8542	;;
8543      *)
8544	lt_prog_compiler_pic='+Z'
8545	;;
8546      esac
8547      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8548      lt_prog_compiler_static='${wl}-a ${wl}archive'
8549      ;;
8550
8551    irix5* | irix6* | nonstopux*)
8552      lt_prog_compiler_wl='-Wl,'
8553      # PIC (with -KPIC) is the default.
8554      lt_prog_compiler_static='-non_shared'
8555      ;;
8556
8557    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8558      case $cc_basename in
8559      # old Intel for x86_64 which still supported -KPIC.
8560      ecc*)
8561	lt_prog_compiler_wl='-Wl,'
8562	lt_prog_compiler_pic='-KPIC'
8563	lt_prog_compiler_static='-static'
8564        ;;
8565      # icc used to be incompatible with GCC.
8566      # ICC 10 doesn't accept -KPIC any more.
8567      icc* | ifort*)
8568	lt_prog_compiler_wl='-Wl,'
8569	lt_prog_compiler_pic='-fPIC'
8570	lt_prog_compiler_static='-static'
8571        ;;
8572      # Lahey Fortran 8.1.
8573      lf95*)
8574	lt_prog_compiler_wl='-Wl,'
8575	lt_prog_compiler_pic='--shared'
8576	lt_prog_compiler_static='--static'
8577	;;
8578      nagfor*)
8579	# NAG Fortran compiler
8580	lt_prog_compiler_wl='-Wl,-Wl,,'
8581	lt_prog_compiler_pic='-PIC'
8582	lt_prog_compiler_static='-Bstatic'
8583	;;
8584      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8585        # Portland Group compilers (*not* the Pentium gcc compiler,
8586	# which looks to be a dead project)
8587	lt_prog_compiler_wl='-Wl,'
8588	lt_prog_compiler_pic='-fpic'
8589	lt_prog_compiler_static='-Bstatic'
8590        ;;
8591      ccc*)
8592        lt_prog_compiler_wl='-Wl,'
8593        # All Alpha code is PIC.
8594        lt_prog_compiler_static='-non_shared'
8595        ;;
8596      xl* | bgxl* | bgf* | mpixl*)
8597	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8598	lt_prog_compiler_wl='-Wl,'
8599	lt_prog_compiler_pic='-qpic'
8600	lt_prog_compiler_static='-qstaticlink'
8601	;;
8602      *)
8603	case `$CC -V 2>&1 | sed 5q` in
8604	*Sun\ F* | *Sun*Fortran*)
8605	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8606	  lt_prog_compiler_pic='-KPIC'
8607	  lt_prog_compiler_static='-Bstatic'
8608	  lt_prog_compiler_wl=''
8609	  ;;
8610	*Sun\ C*)
8611	  # Sun C 5.9
8612	  lt_prog_compiler_pic='-KPIC'
8613	  lt_prog_compiler_static='-Bstatic'
8614	  lt_prog_compiler_wl='-Wl,'
8615	  ;;
8616	esac
8617	;;
8618      esac
8619      ;;
8620
8621    newsos6)
8622      lt_prog_compiler_pic='-KPIC'
8623      lt_prog_compiler_static='-Bstatic'
8624      ;;
8625
8626    *nto* | *qnx*)
8627      # QNX uses GNU C++, but need to define -shared option too, otherwise
8628      # it will coredump.
8629      lt_prog_compiler_pic='-fPIC -shared'
8630      ;;
8631
8632    osf3* | osf4* | osf5*)
8633      lt_prog_compiler_wl='-Wl,'
8634      # All OSF/1 code is PIC.
8635      lt_prog_compiler_static='-non_shared'
8636      ;;
8637
8638    rdos*)
8639      lt_prog_compiler_static='-non_shared'
8640      ;;
8641
8642    solaris*)
8643      lt_prog_compiler_pic='-KPIC'
8644      lt_prog_compiler_static='-Bstatic'
8645      case $cc_basename in
8646      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8647	lt_prog_compiler_wl='-Qoption ld ';;
8648      *)
8649	lt_prog_compiler_wl='-Wl,';;
8650      esac
8651      ;;
8652
8653    sunos4*)
8654      lt_prog_compiler_wl='-Qoption ld '
8655      lt_prog_compiler_pic='-PIC'
8656      lt_prog_compiler_static='-Bstatic'
8657      ;;
8658
8659    sysv4 | sysv4.2uw2* | sysv4.3*)
8660      lt_prog_compiler_wl='-Wl,'
8661      lt_prog_compiler_pic='-KPIC'
8662      lt_prog_compiler_static='-Bstatic'
8663      ;;
8664
8665    sysv4*MP*)
8666      if test -d /usr/nec ;then
8667	lt_prog_compiler_pic='-Kconform_pic'
8668	lt_prog_compiler_static='-Bstatic'
8669      fi
8670      ;;
8671
8672    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8673      lt_prog_compiler_wl='-Wl,'
8674      lt_prog_compiler_pic='-KPIC'
8675      lt_prog_compiler_static='-Bstatic'
8676      ;;
8677
8678    unicos*)
8679      lt_prog_compiler_wl='-Wl,'
8680      lt_prog_compiler_can_build_shared=no
8681      ;;
8682
8683    uts4*)
8684      lt_prog_compiler_pic='-pic'
8685      lt_prog_compiler_static='-Bstatic'
8686      ;;
8687
8688    *)
8689      lt_prog_compiler_can_build_shared=no
8690      ;;
8691    esac
8692  fi
8693
8694case $host_os in
8695  # For platforms which do not support PIC, -DPIC is meaningless:
8696  *djgpp*)
8697    lt_prog_compiler_pic=
8698    ;;
8699  *)
8700    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8701    ;;
8702esac
8703
8704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8705$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8706if ${lt_cv_prog_compiler_pic+:} false; then :
8707  $as_echo_n "(cached) " >&6
8708else
8709  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8710fi
8711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8712$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8713lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8714
8715#
8716# Check to make sure the PIC flag actually works.
8717#
8718if test -n "$lt_prog_compiler_pic"; then
8719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8720$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8721if ${lt_cv_prog_compiler_pic_works+:} false; then :
8722  $as_echo_n "(cached) " >&6
8723else
8724  lt_cv_prog_compiler_pic_works=no
8725   ac_outfile=conftest.$ac_objext
8726   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8727   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8728   # Insert the option either (1) after the last *FLAGS variable, or
8729   # (2) before a word containing "conftest.", or (3) at the end.
8730   # Note that $ac_compile itself does not contain backslashes and begins
8731   # with a dollar sign (not a hyphen), so the echo should work correctly.
8732   # The option is referenced via a variable to avoid confusing sed.
8733   lt_compile=`echo "$ac_compile" | $SED \
8734   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8735   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8736   -e 's:$: $lt_compiler_flag:'`
8737   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8738   (eval "$lt_compile" 2>conftest.err)
8739   ac_status=$?
8740   cat conftest.err >&5
8741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742   if (exit $ac_status) && test -s "$ac_outfile"; then
8743     # The compiler can only warn and ignore the option if not recognized
8744     # So say no if there are warnings other than the usual output.
8745     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8746     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8747     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8748       lt_cv_prog_compiler_pic_works=yes
8749     fi
8750   fi
8751   $RM conftest*
8752
8753fi
8754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8755$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8756
8757if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8758    case $lt_prog_compiler_pic in
8759     "" | " "*) ;;
8760     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8761     esac
8762else
8763    lt_prog_compiler_pic=
8764     lt_prog_compiler_can_build_shared=no
8765fi
8766
8767fi
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779#
8780# Check to make sure the static flag actually works.
8781#
8782wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8784$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8785if ${lt_cv_prog_compiler_static_works+:} false; then :
8786  $as_echo_n "(cached) " >&6
8787else
8788  lt_cv_prog_compiler_static_works=no
8789   save_LDFLAGS="$LDFLAGS"
8790   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8791   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8792   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8793     # The linker can only warn and ignore the option if not recognized
8794     # So say no if there are warnings
8795     if test -s conftest.err; then
8796       # Append any errors to the config.log.
8797       cat conftest.err 1>&5
8798       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8799       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8800       if diff conftest.exp conftest.er2 >/dev/null; then
8801         lt_cv_prog_compiler_static_works=yes
8802       fi
8803     else
8804       lt_cv_prog_compiler_static_works=yes
8805     fi
8806   fi
8807   $RM -r conftest*
8808   LDFLAGS="$save_LDFLAGS"
8809
8810fi
8811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8812$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8813
8814if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8815    :
8816else
8817    lt_prog_compiler_static=
8818fi
8819
8820
8821
8822
8823
8824
8825
8826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8827$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8828if ${lt_cv_prog_compiler_c_o+:} false; then :
8829  $as_echo_n "(cached) " >&6
8830else
8831  lt_cv_prog_compiler_c_o=no
8832   $RM -r conftest 2>/dev/null
8833   mkdir conftest
8834   cd conftest
8835   mkdir out
8836   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8837
8838   lt_compiler_flag="-o out/conftest2.$ac_objext"
8839   # Insert the option either (1) after the last *FLAGS variable, or
8840   # (2) before a word containing "conftest.", or (3) at the end.
8841   # Note that $ac_compile itself does not contain backslashes and begins
8842   # with a dollar sign (not a hyphen), so the echo should work correctly.
8843   lt_compile=`echo "$ac_compile" | $SED \
8844   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8845   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8846   -e 's:$: $lt_compiler_flag:'`
8847   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8848   (eval "$lt_compile" 2>out/conftest.err)
8849   ac_status=$?
8850   cat out/conftest.err >&5
8851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8853   then
8854     # The compiler can only warn and ignore the option if not recognized
8855     # So say no if there are warnings
8856     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8857     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8858     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8859       lt_cv_prog_compiler_c_o=yes
8860     fi
8861   fi
8862   chmod u+w . 2>&5
8863   $RM conftest*
8864   # SGI C++ compiler will create directory out/ii_files/ for
8865   # template instantiation
8866   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8867   $RM out/* && rmdir out
8868   cd ..
8869   $RM -r conftest
8870   $RM conftest*
8871
8872fi
8873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8874$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8875
8876
8877
8878
8879
8880
8881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8882$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8883if ${lt_cv_prog_compiler_c_o+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  lt_cv_prog_compiler_c_o=no
8887   $RM -r conftest 2>/dev/null
8888   mkdir conftest
8889   cd conftest
8890   mkdir out
8891   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8892
8893   lt_compiler_flag="-o out/conftest2.$ac_objext"
8894   # Insert the option either (1) after the last *FLAGS variable, or
8895   # (2) before a word containing "conftest.", or (3) at the end.
8896   # Note that $ac_compile itself does not contain backslashes and begins
8897   # with a dollar sign (not a hyphen), so the echo should work correctly.
8898   lt_compile=`echo "$ac_compile" | $SED \
8899   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901   -e 's:$: $lt_compiler_flag:'`
8902   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8903   (eval "$lt_compile" 2>out/conftest.err)
8904   ac_status=$?
8905   cat out/conftest.err >&5
8906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8908   then
8909     # The compiler can only warn and ignore the option if not recognized
8910     # So say no if there are warnings
8911     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8912     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8913     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8914       lt_cv_prog_compiler_c_o=yes
8915     fi
8916   fi
8917   chmod u+w . 2>&5
8918   $RM conftest*
8919   # SGI C++ compiler will create directory out/ii_files/ for
8920   # template instantiation
8921   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8922   $RM out/* && rmdir out
8923   cd ..
8924   $RM -r conftest
8925   $RM conftest*
8926
8927fi
8928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8929$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8930
8931
8932
8933
8934hard_links="nottested"
8935if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8936  # do not overwrite the value of need_locks provided by the user
8937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8938$as_echo_n "checking if we can lock with hard links... " >&6; }
8939  hard_links=yes
8940  $RM conftest*
8941  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8942  touch conftest.a
8943  ln conftest.a conftest.b 2>&5 || hard_links=no
8944  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8946$as_echo "$hard_links" >&6; }
8947  if test "$hard_links" = no; then
8948    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8949$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8950    need_locks=warn
8951  fi
8952else
8953  need_locks=no
8954fi
8955
8956
8957
8958
8959
8960
8961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8962$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8963
8964  runpath_var=
8965  allow_undefined_flag=
8966  always_export_symbols=no
8967  archive_cmds=
8968  archive_expsym_cmds=
8969  compiler_needs_object=no
8970  enable_shared_with_static_runtimes=no
8971  export_dynamic_flag_spec=
8972  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8973  hardcode_automatic=no
8974  hardcode_direct=no
8975  hardcode_direct_absolute=no
8976  hardcode_libdir_flag_spec=
8977  hardcode_libdir_flag_spec_ld=
8978  hardcode_libdir_separator=
8979  hardcode_minus_L=no
8980  hardcode_shlibpath_var=unsupported
8981  inherit_rpath=no
8982  link_all_deplibs=unknown
8983  module_cmds=
8984  module_expsym_cmds=
8985  old_archive_from_new_cmds=
8986  old_archive_from_expsyms_cmds=
8987  thread_safe_flag_spec=
8988  whole_archive_flag_spec=
8989  # include_expsyms should be a list of space-separated symbols to be *always*
8990  # included in the symbol list
8991  include_expsyms=
8992  # exclude_expsyms can be an extended regexp of symbols to exclude
8993  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8994  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8995  # as well as any symbol that contains `d'.
8996  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8997  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8998  # platforms (ab)use it in PIC code, but their linkers get confused if
8999  # the symbol is explicitly referenced.  Since portable code cannot
9000  # rely on this symbol name, it's probably fine to never include it in
9001  # preloaded symbol tables.
9002  # Exclude shared library initialization/finalization symbols.
9003  extract_expsyms_cmds=
9004
9005  case $host_os in
9006  cygwin* | mingw* | pw32* | cegcc*)
9007    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9008    # When not using gcc, we currently assume that we are using
9009    # Microsoft Visual C++.
9010    if test "$GCC" != yes; then
9011      with_gnu_ld=no
9012    fi
9013    ;;
9014  interix*)
9015    # we just hope/assume this is gcc and not c89 (= MSVC++)
9016    with_gnu_ld=yes
9017    ;;
9018  openbsd*)
9019    with_gnu_ld=no
9020    ;;
9021  esac
9022
9023  ld_shlibs=yes
9024
9025  # On some targets, GNU ld is compatible enough with the native linker
9026  # that we're better off using the native interface for both.
9027  lt_use_gnu_ld_interface=no
9028  if test "$with_gnu_ld" = yes; then
9029    case $host_os in
9030      aix*)
9031	# The AIX port of GNU ld has always aspired to compatibility
9032	# with the native linker.  However, as the warning in the GNU ld
9033	# block says, versions before 2.19.5* couldn't really create working
9034	# shared libraries, regardless of the interface used.
9035	case `$LD -v 2>&1` in
9036	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9037	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9038	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9039	  *)
9040	    lt_use_gnu_ld_interface=yes
9041	    ;;
9042	esac
9043	;;
9044      *)
9045	lt_use_gnu_ld_interface=yes
9046	;;
9047    esac
9048  fi
9049
9050  if test "$lt_use_gnu_ld_interface" = yes; then
9051    # If archive_cmds runs LD, not CC, wlarc should be empty
9052    wlarc='${wl}'
9053
9054    # Set some defaults for GNU ld with shared library support. These
9055    # are reset later if shared libraries are not supported. Putting them
9056    # here allows them to be overridden if necessary.
9057    runpath_var=LD_RUN_PATH
9058    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9059    export_dynamic_flag_spec='${wl}--export-dynamic'
9060    # ancient GNU ld didn't support --whole-archive et. al.
9061    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9062      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9063    else
9064      whole_archive_flag_spec=
9065    fi
9066    supports_anon_versioning=no
9067    case `$LD -v 2>&1` in
9068      *GNU\ gold*) supports_anon_versioning=yes ;;
9069      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9070      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9071      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9072      *\ 2.11.*) ;; # other 2.11 versions
9073      *) supports_anon_versioning=yes ;;
9074    esac
9075
9076    # See if GNU ld supports shared libraries.
9077    case $host_os in
9078    aix[3-9]*)
9079      # On AIX/PPC, the GNU linker is very broken
9080      if test "$host_cpu" != ia64; then
9081	ld_shlibs=no
9082	cat <<_LT_EOF 1>&2
9083
9084*** Warning: the GNU linker, at least up to release 2.19, is reported
9085*** to be unable to reliably create shared libraries on AIX.
9086*** Therefore, libtool is disabling shared libraries support.  If you
9087*** really care for shared libraries, you may want to install binutils
9088*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9089*** You will then need to restart the configuration process.
9090
9091_LT_EOF
9092      fi
9093      ;;
9094
9095    amigaos*)
9096      case $host_cpu in
9097      powerpc)
9098            # see comment about AmigaOS4 .so support
9099            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100            archive_expsym_cmds=''
9101        ;;
9102      m68k)
9103            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)'
9104            hardcode_libdir_flag_spec='-L$libdir'
9105            hardcode_minus_L=yes
9106        ;;
9107      esac
9108      ;;
9109
9110    beos*)
9111      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9112	allow_undefined_flag=unsupported
9113	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9114	# support --undefined.  This deserves some investigation.  FIXME
9115	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9116      else
9117	ld_shlibs=no
9118      fi
9119      ;;
9120
9121    cygwin* | mingw* | pw32* | cegcc*)
9122      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9123      # as there is no search path for DLLs.
9124      hardcode_libdir_flag_spec='-L$libdir'
9125      export_dynamic_flag_spec='${wl}--export-all-symbols'
9126      allow_undefined_flag=unsupported
9127      always_export_symbols=no
9128      enable_shared_with_static_runtimes=yes
9129      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'
9130      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9131
9132      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9133        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9134	# If the export-symbols file already is a .def file (1st line
9135	# is EXPORTS), use it as is; otherwise, prepend...
9136	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9137	  cp $export_symbols $output_objdir/$soname.def;
9138	else
9139	  echo EXPORTS > $output_objdir/$soname.def;
9140	  cat $export_symbols >> $output_objdir/$soname.def;
9141	fi~
9142	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9143      else
9144	ld_shlibs=no
9145      fi
9146      ;;
9147
9148    haiku*)
9149      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9150      link_all_deplibs=yes
9151      ;;
9152
9153    interix[3-9]*)
9154      hardcode_direct=no
9155      hardcode_shlibpath_var=no
9156      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9157      export_dynamic_flag_spec='${wl}-E'
9158      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9159      # Instead, shared libraries are loaded at an image base (0x10000000 by
9160      # default) and relocated if they conflict, which is a slow very memory
9161      # consuming and fragmenting process.  To avoid this, we pick a random,
9162      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9163      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9164      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9165      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'
9166      ;;
9167
9168    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9169      tmp_diet=no
9170      if test "$host_os" = linux-dietlibc; then
9171	case $cc_basename in
9172	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9173	esac
9174      fi
9175      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9176	 && test "$tmp_diet" = no
9177      then
9178	tmp_addflag=' $pic_flag'
9179	tmp_sharedflag='-shared'
9180	case $cc_basename,$host_cpu in
9181        pgcc*)				# Portland Group C compiler
9182	  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'
9183	  tmp_addflag=' $pic_flag'
9184	  ;;
9185	pgf77* | pgf90* | pgf95* | pgfortran*)
9186					# Portland Group f77 and f90 compilers
9187	  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'
9188	  tmp_addflag=' $pic_flag -Mnomain' ;;
9189	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9190	  tmp_addflag=' -i_dynamic' ;;
9191	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9192	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9193	ifc* | ifort*)			# Intel Fortran compiler
9194	  tmp_addflag=' -nofor_main' ;;
9195	lf95*)				# Lahey Fortran 8.1
9196	  whole_archive_flag_spec=
9197	  tmp_sharedflag='--shared' ;;
9198	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9199	  tmp_sharedflag='-qmkshrobj'
9200	  tmp_addflag= ;;
9201	nvcc*)	# Cuda Compiler Driver 2.2
9202	  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'
9203	  compiler_needs_object=yes
9204	  ;;
9205	esac
9206	case `$CC -V 2>&1 | sed 5q` in
9207	*Sun\ C*)			# Sun C 5.9
9208	  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'
9209	  compiler_needs_object=yes
9210	  tmp_sharedflag='-G' ;;
9211	*Sun\ F*)			# Sun Fortran 8.3
9212	  tmp_sharedflag='-G' ;;
9213	esac
9214	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215
9216        if test "x$supports_anon_versioning" = xyes; then
9217          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9218	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9219	    echo "local: *; };" >> $output_objdir/$libname.ver~
9220	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9221        fi
9222
9223	case $cc_basename in
9224	xlf* | bgf* | bgxlf* | mpixlf*)
9225	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9226	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9227	  hardcode_libdir_flag_spec=
9228	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9229	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9230	  if test "x$supports_anon_versioning" = xyes; then
9231	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233	      echo "local: *; };" >> $output_objdir/$libname.ver~
9234	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9235	  fi
9236	  ;;
9237	esac
9238      else
9239        ld_shlibs=no
9240      fi
9241      ;;
9242
9243    netbsd*)
9244      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9246	wlarc=
9247      else
9248	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250      fi
9251      ;;
9252
9253    solaris*)
9254      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9255	ld_shlibs=no
9256	cat <<_LT_EOF 1>&2
9257
9258*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259*** create shared libraries on Solaris systems.  Therefore, libtool
9260*** is disabling shared libraries support.  We urge you to upgrade GNU
9261*** binutils to release 2.9.1 or newer.  Another option is to modify
9262*** your PATH or compiler configuration so that the native linker is
9263*** used, and then restart.
9264
9265_LT_EOF
9266      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269      else
9270	ld_shlibs=no
9271      fi
9272      ;;
9273
9274    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275      case `$LD -v 2>&1` in
9276        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9277	ld_shlibs=no
9278	cat <<_LT_EOF 1>&2
9279
9280*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281*** reliably create shared libraries on SCO systems.  Therefore, libtool
9282*** is disabling shared libraries support.  We urge you to upgrade GNU
9283*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9284*** your PATH or compiler configuration so that the native linker is
9285*** used, and then restart.
9286
9287_LT_EOF
9288	;;
9289	*)
9290	  # For security reasons, it is highly recommended that you always
9291	  # use absolute paths for naming shared libraries, and exclude the
9292	  # DT_RUNPATH tag from executables and libraries.  But doing so
9293	  # requires that you compile everything twice, which is a pain.
9294	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298	  else
9299	    ld_shlibs=no
9300	  fi
9301	;;
9302      esac
9303      ;;
9304
9305    sunos4*)
9306      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9307      wlarc=
9308      hardcode_direct=yes
9309      hardcode_shlibpath_var=no
9310      ;;
9311
9312    *)
9313      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316      else
9317	ld_shlibs=no
9318      fi
9319      ;;
9320    esac
9321
9322    if test "$ld_shlibs" = no; then
9323      runpath_var=
9324      hardcode_libdir_flag_spec=
9325      export_dynamic_flag_spec=
9326      whole_archive_flag_spec=
9327    fi
9328  else
9329    # PORTME fill in a description of your system's linker (not GNU ld)
9330    case $host_os in
9331    aix3*)
9332      allow_undefined_flag=unsupported
9333      always_export_symbols=yes
9334      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'
9335      # Note: this linker hardcodes the directories in LIBPATH if there
9336      # are no directories specified by -L.
9337      hardcode_minus_L=yes
9338      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339	# Neither direct hardcoding nor static linking is supported with a
9340	# broken collect2.
9341	hardcode_direct=unsupported
9342      fi
9343      ;;
9344
9345    aix[4-9]*)
9346      if test "$host_cpu" = ia64; then
9347	# On IA64, the linker does run time linking by default, so we don't
9348	# have to do anything special.
9349	aix_use_runtimelinking=no
9350	exp_sym_flag='-Bexport'
9351	no_entry_flag=""
9352      else
9353	# If we're using GNU nm, then we don't want the "-C" option.
9354	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9355	# Also, AIX nm treats weak defined symbols like other global
9356	# defined symbols, whereas GNU nm marks them as "W".
9357	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9358	  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'
9359	else
9360	  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'
9361	fi
9362	aix_use_runtimelinking=no
9363
9364	# Test if we are trying to use run time linking or normal
9365	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9366	# need to do runtime linking.
9367	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9368	  for ld_flag in $LDFLAGS; do
9369	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9370	    aix_use_runtimelinking=yes
9371	    break
9372	  fi
9373	  done
9374	  ;;
9375	esac
9376
9377	exp_sym_flag='-bexport'
9378	no_entry_flag='-bnoentry'
9379      fi
9380
9381      # When large executables or shared objects are built, AIX ld can
9382      # have problems creating the table of contents.  If linking a library
9383      # or program results in "error TOC overflow" add -mminimal-toc to
9384      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9385      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9386
9387      archive_cmds=''
9388      hardcode_direct=yes
9389      hardcode_direct_absolute=yes
9390      hardcode_libdir_separator=':'
9391      link_all_deplibs=yes
9392      file_list_spec='${wl}-f,'
9393
9394      if test "$GCC" = yes; then
9395	case $host_os in aix4.[012]|aix4.[012].*)
9396	# We only want to do this on AIX 4.2 and lower, the check
9397	# below for broken collect2 doesn't work under 4.3+
9398	  collect2name=`${CC} -print-prog-name=collect2`
9399	  if test -f "$collect2name" &&
9400	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9401	  then
9402	  # We have reworked collect2
9403	  :
9404	  else
9405	  # We have old collect2
9406	  hardcode_direct=unsupported
9407	  # It fails to find uninstalled libraries when the uninstalled
9408	  # path is not listed in the libpath.  Setting hardcode_minus_L
9409	  # to unsupported forces relinking
9410	  hardcode_minus_L=yes
9411	  hardcode_libdir_flag_spec='-L$libdir'
9412	  hardcode_libdir_separator=
9413	  fi
9414	  ;;
9415	esac
9416	shared_flag='-shared'
9417	if test "$aix_use_runtimelinking" = yes; then
9418	  shared_flag="$shared_flag "'${wl}-G'
9419	fi
9420      else
9421	# not using gcc
9422	if test "$host_cpu" = ia64; then
9423	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9424	# chokes on -Wl,-G. The following line is correct:
9425	  shared_flag='-G'
9426	else
9427	  if test "$aix_use_runtimelinking" = yes; then
9428	    shared_flag='${wl}-G'
9429	  else
9430	    shared_flag='${wl}-bM:SRE'
9431	  fi
9432	fi
9433      fi
9434
9435      export_dynamic_flag_spec='${wl}-bexpall'
9436      # It seems that -bexpall does not export symbols beginning with
9437      # underscore (_), so it is better to generate a list of symbols to export.
9438      always_export_symbols=yes
9439      if test "$aix_use_runtimelinking" = yes; then
9440	# Warning - without using the other runtime loading flags (-brtl),
9441	# -berok will link without error, but may produce a broken library.
9442	allow_undefined_flag='-berok'
9443        # Determine the default libpath from the value encoded in an
9444        # empty executable.
9445        if test "${lt_cv_aix_libpath+set}" = set; then
9446  aix_libpath=$lt_cv_aix_libpath
9447else
9448  if ${lt_cv_aix_libpath_+:} false; then :
9449  $as_echo_n "(cached) " >&6
9450else
9451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452/* end confdefs.h.  */
9453
9454int
9455main ()
9456{
9457
9458  ;
9459  return 0;
9460}
9461_ACEOF
9462if ac_fn_c_try_link "$LINENO"; then :
9463
9464  lt_aix_libpath_sed='
9465      /Import File Strings/,/^$/ {
9466	  /^0/ {
9467	      s/^0  *\([^ ]*\) *$/\1/
9468	      p
9469	  }
9470      }'
9471  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472  # Check for a 64-bit object if we didn't find anything.
9473  if test -z "$lt_cv_aix_libpath_"; then
9474    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9475  fi
9476fi
9477rm -f core conftest.err conftest.$ac_objext \
9478    conftest$ac_exeext conftest.$ac_ext
9479  if test -z "$lt_cv_aix_libpath_"; then
9480    lt_cv_aix_libpath_="/usr/lib:/lib"
9481  fi
9482
9483fi
9484
9485  aix_libpath=$lt_cv_aix_libpath_
9486fi
9487
9488        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9489        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"
9490      else
9491	if test "$host_cpu" = ia64; then
9492	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9493	  allow_undefined_flag="-z nodefs"
9494	  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"
9495	else
9496	 # Determine the default libpath from the value encoded in an
9497	 # empty executable.
9498	 if test "${lt_cv_aix_libpath+set}" = set; then
9499  aix_libpath=$lt_cv_aix_libpath
9500else
9501  if ${lt_cv_aix_libpath_+:} false; then :
9502  $as_echo_n "(cached) " >&6
9503else
9504  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505/* end confdefs.h.  */
9506
9507int
9508main ()
9509{
9510
9511  ;
9512  return 0;
9513}
9514_ACEOF
9515if ac_fn_c_try_link "$LINENO"; then :
9516
9517  lt_aix_libpath_sed='
9518      /Import File Strings/,/^$/ {
9519	  /^0/ {
9520	      s/^0  *\([^ ]*\) *$/\1/
9521	      p
9522	  }
9523      }'
9524  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525  # Check for a 64-bit object if we didn't find anything.
9526  if test -z "$lt_cv_aix_libpath_"; then
9527    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9528  fi
9529fi
9530rm -f core conftest.err conftest.$ac_objext \
9531    conftest$ac_exeext conftest.$ac_ext
9532  if test -z "$lt_cv_aix_libpath_"; then
9533    lt_cv_aix_libpath_="/usr/lib:/lib"
9534  fi
9535
9536fi
9537
9538  aix_libpath=$lt_cv_aix_libpath_
9539fi
9540
9541	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9542	  # Warning - without using the other run time loading flags,
9543	  # -berok will link without error, but may produce a broken library.
9544	  no_undefined_flag=' ${wl}-bernotok'
9545	  allow_undefined_flag=' ${wl}-berok'
9546	  if test "$with_gnu_ld" = yes; then
9547	    # We only use this code for GNU lds that support --whole-archive.
9548	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9549	  else
9550	    # Exported symbols can be pulled into shared objects from archives
9551	    whole_archive_flag_spec='$convenience'
9552	  fi
9553	  archive_cmds_need_lc=yes
9554	  # This is similar to how AIX traditionally builds its shared libraries.
9555	  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'
9556	fi
9557      fi
9558      ;;
9559
9560    amigaos*)
9561      case $host_cpu in
9562      powerpc)
9563            # see comment about AmigaOS4 .so support
9564            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565            archive_expsym_cmds=''
9566        ;;
9567      m68k)
9568            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)'
9569            hardcode_libdir_flag_spec='-L$libdir'
9570            hardcode_minus_L=yes
9571        ;;
9572      esac
9573      ;;
9574
9575    bsdi[45]*)
9576      export_dynamic_flag_spec=-rdynamic
9577      ;;
9578
9579    cygwin* | mingw* | pw32* | cegcc*)
9580      # When not using gcc, we currently assume that we are using
9581      # Microsoft Visual C++.
9582      # hardcode_libdir_flag_spec is actually meaningless, as there is
9583      # no search path for DLLs.
9584      case $cc_basename in
9585      cl*)
9586	# Native MSVC
9587	hardcode_libdir_flag_spec=' '
9588	allow_undefined_flag=unsupported
9589	always_export_symbols=yes
9590	file_list_spec='@'
9591	# Tell ltmain to make .lib files, not .a files.
9592	libext=lib
9593	# Tell ltmain to make .dll files, not .so files.
9594	shrext_cmds=".dll"
9595	# FIXME: Setting linknames here is a bad hack.
9596	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9597	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9599	  else
9600	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9601	  fi~
9602	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9603	  linknames='
9604	# The linker will not automatically build a static lib if we build a DLL.
9605	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9606	enable_shared_with_static_runtimes=yes
9607	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9608	# Don't use ranlib
9609	old_postinstall_cmds='chmod 644 $oldlib'
9610	postlink_cmds='lt_outputfile="@OUTPUT@"~
9611	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9612	  case $lt_outputfile in
9613	    *.exe|*.EXE) ;;
9614	    *)
9615	      lt_outputfile="$lt_outputfile.exe"
9616	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9617	      ;;
9618	  esac~
9619	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9620	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9621	    $RM "$lt_outputfile.manifest";
9622	  fi'
9623	;;
9624      *)
9625	# Assume MSVC wrapper
9626	hardcode_libdir_flag_spec=' '
9627	allow_undefined_flag=unsupported
9628	# Tell ltmain to make .lib files, not .a files.
9629	libext=lib
9630	# Tell ltmain to make .dll files, not .so files.
9631	shrext_cmds=".dll"
9632	# FIXME: Setting linknames here is a bad hack.
9633	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9634	# The linker will automatically build a .lib file if we build a DLL.
9635	old_archive_from_new_cmds='true'
9636	# FIXME: Should let the user specify the lib program.
9637	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9638	enable_shared_with_static_runtimes=yes
9639	;;
9640      esac
9641      ;;
9642
9643    darwin* | rhapsody*)
9644
9645
9646  archive_cmds_need_lc=no
9647  hardcode_direct=no
9648  hardcode_automatic=yes
9649  hardcode_shlibpath_var=unsupported
9650  if test "$lt_cv_ld_force_load" = "yes"; then
9651    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\"`'
9652  else
9653    whole_archive_flag_spec=''
9654  fi
9655  link_all_deplibs=yes
9656  allow_undefined_flag="$_lt_dar_allow_undefined"
9657  case $cc_basename in
9658     ifort*) _lt_dar_can_shared=yes ;;
9659     *) _lt_dar_can_shared=$GCC ;;
9660  esac
9661  if test "$_lt_dar_can_shared" = "yes"; then
9662    output_verbose_link_cmd=func_echo_all
9663    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9664    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9665    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}"
9666    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}"
9667
9668  else
9669  ld_shlibs=no
9670  fi
9671
9672      ;;
9673
9674    dgux*)
9675      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9676      hardcode_libdir_flag_spec='-L$libdir'
9677      hardcode_shlibpath_var=no
9678      ;;
9679
9680    freebsd1*)
9681      ld_shlibs=no
9682      ;;
9683
9684    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9685    # support.  Future versions do this automatically, but an explicit c++rt0.o
9686    # does not break anything, and helps significantly (at the cost of a little
9687    # extra space).
9688    freebsd2.2*)
9689      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9690      hardcode_libdir_flag_spec='-R$libdir'
9691      hardcode_direct=yes
9692      hardcode_shlibpath_var=no
9693      ;;
9694
9695    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9696    freebsd2*)
9697      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9698      hardcode_direct=yes
9699      hardcode_minus_L=yes
9700      hardcode_shlibpath_var=no
9701      ;;
9702
9703    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9704    freebsd* | dragonfly*)
9705      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9706      hardcode_libdir_flag_spec='-R$libdir'
9707      hardcode_direct=yes
9708      hardcode_shlibpath_var=no
9709      ;;
9710
9711    hpux9*)
9712      if test "$GCC" = yes; then
9713	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'
9714      else
9715	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'
9716      fi
9717      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9718      hardcode_libdir_separator=:
9719      hardcode_direct=yes
9720
9721      # hardcode_minus_L: Not really in the search PATH,
9722      # but as the default location of the library.
9723      hardcode_minus_L=yes
9724      export_dynamic_flag_spec='${wl}-E'
9725      ;;
9726
9727    hpux10*)
9728      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9729	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9730      else
9731	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9732      fi
9733      if test "$with_gnu_ld" = no; then
9734	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9735	hardcode_libdir_flag_spec_ld='+b $libdir'
9736	hardcode_libdir_separator=:
9737	hardcode_direct=yes
9738	hardcode_direct_absolute=yes
9739	export_dynamic_flag_spec='${wl}-E'
9740	# hardcode_minus_L: Not really in the search PATH,
9741	# but as the default location of the library.
9742	hardcode_minus_L=yes
9743      fi
9744      ;;
9745
9746    hpux11*)
9747      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9748	case $host_cpu in
9749	hppa*64*)
9750	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9751	  ;;
9752	ia64*)
9753	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9754	  ;;
9755	*)
9756	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9757	  ;;
9758	esac
9759      else
9760	case $host_cpu in
9761	hppa*64*)
9762	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9763	  ;;
9764	ia64*)
9765	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766	  ;;
9767	*)
9768
9769	  # Older versions of the 11.00 compiler do not understand -b yet
9770	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9771	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9772$as_echo_n "checking if $CC understands -b... " >&6; }
9773if ${lt_cv_prog_compiler__b+:} false; then :
9774  $as_echo_n "(cached) " >&6
9775else
9776  lt_cv_prog_compiler__b=no
9777   save_LDFLAGS="$LDFLAGS"
9778   LDFLAGS="$LDFLAGS -b"
9779   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9780   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9781     # The linker can only warn and ignore the option if not recognized
9782     # So say no if there are warnings
9783     if test -s conftest.err; then
9784       # Append any errors to the config.log.
9785       cat conftest.err 1>&5
9786       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9787       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9788       if diff conftest.exp conftest.er2 >/dev/null; then
9789         lt_cv_prog_compiler__b=yes
9790       fi
9791     else
9792       lt_cv_prog_compiler__b=yes
9793     fi
9794   fi
9795   $RM -r conftest*
9796   LDFLAGS="$save_LDFLAGS"
9797
9798fi
9799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9800$as_echo "$lt_cv_prog_compiler__b" >&6; }
9801
9802if test x"$lt_cv_prog_compiler__b" = xyes; then
9803    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9804else
9805    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9806fi
9807
9808	  ;;
9809	esac
9810      fi
9811      if test "$with_gnu_ld" = no; then
9812	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9813	hardcode_libdir_separator=:
9814
9815	case $host_cpu in
9816	hppa*64*|ia64*)
9817	  hardcode_direct=no
9818	  hardcode_shlibpath_var=no
9819	  ;;
9820	*)
9821	  hardcode_direct=yes
9822	  hardcode_direct_absolute=yes
9823	  export_dynamic_flag_spec='${wl}-E'
9824
9825	  # hardcode_minus_L: Not really in the search PATH,
9826	  # but as the default location of the library.
9827	  hardcode_minus_L=yes
9828	  ;;
9829	esac
9830      fi
9831      ;;
9832
9833    irix5* | irix6* | nonstopux*)
9834      if test "$GCC" = yes; then
9835	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'
9836	# Try to use the -exported_symbol ld option, if it does not
9837	# work, assume that -exports_file does not work either and
9838	# implicitly export all symbols.
9839	# This should be the same for all languages, so no per-tag cache variable.
9840	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9841$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9842if ${lt_cv_irix_exported_symbol+:} false; then :
9843  $as_echo_n "(cached) " >&6
9844else
9845  save_LDFLAGS="$LDFLAGS"
9846	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9847	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848/* end confdefs.h.  */
9849int foo (void) { return 0; }
9850_ACEOF
9851if ac_fn_c_try_link "$LINENO"; then :
9852  lt_cv_irix_exported_symbol=yes
9853else
9854  lt_cv_irix_exported_symbol=no
9855fi
9856rm -f core conftest.err conftest.$ac_objext \
9857    conftest$ac_exeext conftest.$ac_ext
9858           LDFLAGS="$save_LDFLAGS"
9859fi
9860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9861$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9862	if test "$lt_cv_irix_exported_symbol" = yes; then
9863          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'
9864	fi
9865      else
9866	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'
9867	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'
9868      fi
9869      archive_cmds_need_lc='no'
9870      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871      hardcode_libdir_separator=:
9872      inherit_rpath=yes
9873      link_all_deplibs=yes
9874      ;;
9875
9876    netbsd*)
9877      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9878	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9879      else
9880	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9881      fi
9882      hardcode_libdir_flag_spec='-R$libdir'
9883      hardcode_direct=yes
9884      hardcode_shlibpath_var=no
9885      ;;
9886
9887    newsos6)
9888      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889      hardcode_direct=yes
9890      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891      hardcode_libdir_separator=:
9892      hardcode_shlibpath_var=no
9893      ;;
9894
9895    *nto* | *qnx*)
9896      ;;
9897
9898    openbsd*)
9899      if test -f /usr/libexec/ld.so; then
9900	hardcode_direct=yes
9901	hardcode_shlibpath_var=no
9902	hardcode_direct_absolute=yes
9903	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9904	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9906	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9907	  export_dynamic_flag_spec='${wl}-E'
9908	else
9909	  case $host_os in
9910	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9911	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9912	     hardcode_libdir_flag_spec='-R$libdir'
9913	     ;;
9914	   *)
9915	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9916	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917	     ;;
9918	  esac
9919	fi
9920      else
9921	ld_shlibs=no
9922      fi
9923      ;;
9924
9925    os2*)
9926      hardcode_libdir_flag_spec='-L$libdir'
9927      hardcode_minus_L=yes
9928      allow_undefined_flag=unsupported
9929      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'
9930      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931      ;;
9932
9933    osf3*)
9934      if test "$GCC" = yes; then
9935	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9936	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'
9937      else
9938	allow_undefined_flag=' -expect_unresolved \*'
9939	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'
9940      fi
9941      archive_cmds_need_lc='no'
9942      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943      hardcode_libdir_separator=:
9944      ;;
9945
9946    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9947      if test "$GCC" = yes; then
9948	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949	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'
9950	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951      else
9952	allow_undefined_flag=' -expect_unresolved \*'
9953	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'
9954	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~
9955	$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'
9956
9957	# Both c and cxx compiler support -rpath directly
9958	hardcode_libdir_flag_spec='-rpath $libdir'
9959      fi
9960      archive_cmds_need_lc='no'
9961      hardcode_libdir_separator=:
9962      ;;
9963
9964    solaris*)
9965      no_undefined_flag=' -z defs'
9966      if test "$GCC" = yes; then
9967	wlarc='${wl}'
9968	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9969	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970	  $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'
9971      else
9972	case `$CC -V 2>&1` in
9973	*"Compilers 5.0"*)
9974	  wlarc=''
9975	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9977	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978	  ;;
9979	*)
9980	  wlarc='${wl}'
9981	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9982	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984	  ;;
9985	esac
9986      fi
9987      hardcode_libdir_flag_spec='-R$libdir'
9988      hardcode_shlibpath_var=no
9989      case $host_os in
9990      solaris2.[0-5] | solaris2.[0-5].*) ;;
9991      *)
9992	# The compiler driver will combine and reorder linker options,
9993	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9994	# but is careful enough not to reorder.
9995	# Supported since Solaris 2.6 (maybe 2.5.1?)
9996	if test "$GCC" = yes; then
9997	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998	else
9999	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000	fi
10001	;;
10002      esac
10003      link_all_deplibs=yes
10004      ;;
10005
10006    sunos4*)
10007      if test "x$host_vendor" = xsequent; then
10008	# Use $CC to link under sequent, because it throws in some extra .o
10009	# files that make .init and .fini sections work.
10010	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011      else
10012	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013      fi
10014      hardcode_libdir_flag_spec='-L$libdir'
10015      hardcode_direct=yes
10016      hardcode_minus_L=yes
10017      hardcode_shlibpath_var=no
10018      ;;
10019
10020    sysv4)
10021      case $host_vendor in
10022	sni)
10023	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024	  hardcode_direct=yes # is this really true???
10025	;;
10026	siemens)
10027	  ## LD is ld it makes a PLAMLIB
10028	  ## CC just makes a GrossModule.
10029	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10030	  reload_cmds='$CC -r -o $output$reload_objs'
10031	  hardcode_direct=no
10032        ;;
10033	motorola)
10034	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036	;;
10037      esac
10038      runpath_var='LD_RUN_PATH'
10039      hardcode_shlibpath_var=no
10040      ;;
10041
10042    sysv4.3*)
10043      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044      hardcode_shlibpath_var=no
10045      export_dynamic_flag_spec='-Bexport'
10046      ;;
10047
10048    sysv4*MP*)
10049      if test -d /usr/nec; then
10050	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051	hardcode_shlibpath_var=no
10052	runpath_var=LD_RUN_PATH
10053	hardcode_runpath_var=yes
10054	ld_shlibs=yes
10055      fi
10056      ;;
10057
10058    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10059      no_undefined_flag='${wl}-z,text'
10060      archive_cmds_need_lc=no
10061      hardcode_shlibpath_var=no
10062      runpath_var='LD_RUN_PATH'
10063
10064      if test "$GCC" = yes; then
10065	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067      else
10068	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070      fi
10071      ;;
10072
10073    sysv5* | sco3.2v5* | sco5v6*)
10074      # Note: We can NOT use -z defs as we might desire, because we do not
10075      # link with -lc, and that would cause any symbols used from libc to
10076      # always be unresolved, which means just about no library would
10077      # ever link correctly.  If we're not using GNU ld we use -z text
10078      # though, which does catch some bad symbols but isn't as heavy-handed
10079      # as -z defs.
10080      no_undefined_flag='${wl}-z,text'
10081      allow_undefined_flag='${wl}-z,nodefs'
10082      archive_cmds_need_lc=no
10083      hardcode_shlibpath_var=no
10084      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10085      hardcode_libdir_separator=':'
10086      link_all_deplibs=yes
10087      export_dynamic_flag_spec='${wl}-Bexport'
10088      runpath_var='LD_RUN_PATH'
10089
10090      if test "$GCC" = yes; then
10091	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093      else
10094	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096      fi
10097      ;;
10098
10099    uts4*)
10100      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101      hardcode_libdir_flag_spec='-L$libdir'
10102      hardcode_shlibpath_var=no
10103      ;;
10104
10105    *)
10106      ld_shlibs=no
10107      ;;
10108    esac
10109
10110    if test x$host_vendor = xsni; then
10111      case $host in
10112      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10113	export_dynamic_flag_spec='${wl}-Blargedynsym'
10114	;;
10115      esac
10116    fi
10117  fi
10118
10119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10120$as_echo "$ld_shlibs" >&6; }
10121test "$ld_shlibs" = no && can_build_shared=no
10122
10123with_gnu_ld=$with_gnu_ld
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139#
10140# Do we need to explicitly link libc?
10141#
10142case "x$archive_cmds_need_lc" in
10143x|xyes)
10144  # Assume -lc should be added
10145  archive_cmds_need_lc=yes
10146
10147  if test "$enable_shared" = yes && test "$GCC" = yes; then
10148    case $archive_cmds in
10149    *'~'*)
10150      # FIXME: we may have to deal with multi-command sequences.
10151      ;;
10152    '$CC '*)
10153      # Test whether the compiler implicitly links with -lc since on some
10154      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10155      # to ld, don't add -lc before -lgcc.
10156      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10157$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158if ${lt_cv_archive_cmds_need_lc+:} false; then :
10159  $as_echo_n "(cached) " >&6
10160else
10161  $RM conftest*
10162	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163
10164	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10165  (eval $ac_compile) 2>&5
10166  ac_status=$?
10167  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10168  test $ac_status = 0; } 2>conftest.err; then
10169	  soname=conftest
10170	  lib=conftest
10171	  libobjs=conftest.$ac_objext
10172	  deplibs=
10173	  wl=$lt_prog_compiler_wl
10174	  pic_flag=$lt_prog_compiler_pic
10175	  compiler_flags=-v
10176	  linker_flags=-v
10177	  verstring=
10178	  output_objdir=.
10179	  libname=conftest
10180	  lt_save_allow_undefined_flag=$allow_undefined_flag
10181	  allow_undefined_flag=
10182	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10183  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10184  ac_status=$?
10185  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10186  test $ac_status = 0; }
10187	  then
10188	    lt_cv_archive_cmds_need_lc=no
10189	  else
10190	    lt_cv_archive_cmds_need_lc=yes
10191	  fi
10192	  allow_undefined_flag=$lt_save_allow_undefined_flag
10193	else
10194	  cat conftest.err 1>&5
10195	fi
10196	$RM conftest*
10197
10198fi
10199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10200$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10201      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202      ;;
10203    esac
10204  fi
10205  ;;
10206esac
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10365$as_echo_n "checking dynamic linker characteristics... " >&6; }
10366
10367if test "$GCC" = yes; then
10368  case $host_os in
10369    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10370    *) lt_awk_arg="/^libraries:/" ;;
10371  esac
10372  case $host_os in
10373    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10374    *) lt_sed_strip_eq="s,=/,/,g" ;;
10375  esac
10376  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10377  case $lt_search_path_spec in
10378  *\;*)
10379    # if the path contains ";" then we assume it to be the separator
10380    # otherwise default to the standard path separator (i.e. ":") - it is
10381    # assumed that no part of a normal pathname contains ";" but that should
10382    # okay in the real world where ";" in dirpaths is itself problematic.
10383    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10384    ;;
10385  *)
10386    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387    ;;
10388  esac
10389  # Ok, now we have the path, separated by spaces, we can step through it
10390  # and add multilib dir if necessary.
10391  lt_tmp_lt_search_path_spec=
10392  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393  for lt_sys_path in $lt_search_path_spec; do
10394    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396    else
10397      test -d "$lt_sys_path" && \
10398	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399    fi
10400  done
10401  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10402BEGIN {RS=" "; FS="/|\n";} {
10403  lt_foo="";
10404  lt_count=0;
10405  for (lt_i = NF; lt_i > 0; lt_i--) {
10406    if ($lt_i != "" && $lt_i != ".") {
10407      if ($lt_i == "..") {
10408        lt_count++;
10409      } else {
10410        if (lt_count == 0) {
10411          lt_foo="/" $lt_i lt_foo;
10412        } else {
10413          lt_count--;
10414        }
10415      }
10416    }
10417  }
10418  if (lt_foo != "") { lt_freq[lt_foo]++; }
10419  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420}'`
10421  # AWK program above erroneously prepends '/' to C:/dos/paths
10422  # for these hosts.
10423  case $host_os in
10424    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10425      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10426  esac
10427  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10428else
10429  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430fi
10431library_names_spec=
10432libname_spec='lib$name'
10433soname_spec=
10434shrext_cmds=".so"
10435postinstall_cmds=
10436postuninstall_cmds=
10437finish_cmds=
10438finish_eval=
10439shlibpath_var=
10440shlibpath_overrides_runpath=unknown
10441version_type=none
10442dynamic_linker="$host_os ld.so"
10443sys_lib_dlsearch_path_spec="/lib /usr/lib"
10444need_lib_prefix=unknown
10445hardcode_into_libs=no
10446
10447# when you set need_version to no, make sure it does not cause -set_version
10448# flags to be left without arguments
10449need_version=unknown
10450
10451case $host_os in
10452aix3*)
10453  version_type=linux
10454  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10455  shlibpath_var=LIBPATH
10456
10457  # AIX 3 has no versioning support, so we append a major version to the name.
10458  soname_spec='${libname}${release}${shared_ext}$major'
10459  ;;
10460
10461aix[4-9]*)
10462  version_type=linux
10463  need_lib_prefix=no
10464  need_version=no
10465  hardcode_into_libs=yes
10466  if test "$host_cpu" = ia64; then
10467    # AIX 5 supports IA64
10468    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10469    shlibpath_var=LD_LIBRARY_PATH
10470  else
10471    # With GCC up to 2.95.x, collect2 would create an import file
10472    # for dependence libraries.  The import file would start with
10473    # the line `#! .'.  This would cause the generated library to
10474    # depend on `.', always an invalid library.  This was fixed in
10475    # development snapshots of GCC prior to 3.0.
10476    case $host_os in
10477      aix4 | aix4.[01] | aix4.[01].*)
10478      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10479	   echo ' yes '
10480	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481	:
10482      else
10483	can_build_shared=no
10484      fi
10485      ;;
10486    esac
10487    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10488    # soname into executable. Probably we can add versioning support to
10489    # collect2, so additional links can be useful in future.
10490    if test "$aix_use_runtimelinking" = yes; then
10491      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10492      # instead of lib<name>.a to let people know that these are not
10493      # typical AIX shared libraries.
10494      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495    else
10496      # We preserve .a as extension for shared libraries through AIX4.2
10497      # and later when we are not doing run time linking.
10498      library_names_spec='${libname}${release}.a $libname.a'
10499      soname_spec='${libname}${release}${shared_ext}$major'
10500    fi
10501    shlibpath_var=LIBPATH
10502  fi
10503  ;;
10504
10505amigaos*)
10506  case $host_cpu in
10507  powerpc)
10508    # Since July 2007 AmigaOS4 officially supports .so libraries.
10509    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10510    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511    ;;
10512  m68k)
10513    library_names_spec='$libname.ixlibrary $libname.a'
10514    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10515    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'
10516    ;;
10517  esac
10518  ;;
10519
10520beos*)
10521  library_names_spec='${libname}${shared_ext}'
10522  dynamic_linker="$host_os ld.so"
10523  shlibpath_var=LIBRARY_PATH
10524  ;;
10525
10526bsdi[45]*)
10527  version_type=linux
10528  need_version=no
10529  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530  soname_spec='${libname}${release}${shared_ext}$major'
10531  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10532  shlibpath_var=LD_LIBRARY_PATH
10533  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10534  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10535  # the default ld.so.conf also contains /usr/contrib/lib and
10536  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10537  # libtool to hard-code these into programs
10538  ;;
10539
10540cygwin* | mingw* | pw32* | cegcc*)
10541  version_type=windows
10542  shrext_cmds=".dll"
10543  need_version=no
10544  need_lib_prefix=no
10545
10546  case $GCC,$cc_basename in
10547  yes,*)
10548    # gcc
10549    library_names_spec='$libname.dll.a'
10550    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10551    postinstall_cmds='base_file=`basename \${file}`~
10552      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10553      dldir=$destdir/`dirname \$dlpath`~
10554      test -d \$dldir || mkdir -p \$dldir~
10555      $install_prog $dir/$dlname \$dldir/$dlname~
10556      chmod a+x \$dldir/$dlname~
10557      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10558        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10559      fi'
10560    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10561      dlpath=$dir/\$dldll~
10562       $RM \$dlpath'
10563    shlibpath_overrides_runpath=yes
10564
10565    case $host_os in
10566    cygwin*)
10567      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10568      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10569
10570      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10571      ;;
10572    mingw* | cegcc*)
10573      # MinGW DLLs use traditional 'lib' prefix
10574      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575      ;;
10576    pw32*)
10577      # pw32 DLLs use 'pw' prefix rather than 'lib'
10578      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579      ;;
10580    esac
10581    dynamic_linker='Win32 ld.exe'
10582    ;;
10583
10584  *,cl*)
10585    # Native MSVC
10586    libname_spec='$name'
10587    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588    library_names_spec='${libname}.dll.lib'
10589
10590    case $build_os in
10591    mingw*)
10592      sys_lib_search_path_spec=
10593      lt_save_ifs=$IFS
10594      IFS=';'
10595      for lt_path in $LIB
10596      do
10597        IFS=$lt_save_ifs
10598        # Let DOS variable expansion print the short 8.3 style file name.
10599        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10600        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10601      done
10602      IFS=$lt_save_ifs
10603      # Convert to MSYS style.
10604      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10605      ;;
10606    cygwin*)
10607      # Convert to unix form, then to dos form, then back to unix form
10608      # but this time dos style (no spaces!) so that the unix form looks
10609      # like /cygdrive/c/PROGRA~1:/cygdr...
10610      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10611      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10612      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10613      ;;
10614    *)
10615      sys_lib_search_path_spec="$LIB"
10616      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10617        # It is most probably a Windows format PATH.
10618        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10619      else
10620        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10621      fi
10622      # FIXME: find the short name or the path components, as spaces are
10623      # common. (e.g. "Program Files" -> "PROGRA~1")
10624      ;;
10625    esac
10626
10627    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10628    postinstall_cmds='base_file=`basename \${file}`~
10629      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10630      dldir=$destdir/`dirname \$dlpath`~
10631      test -d \$dldir || mkdir -p \$dldir~
10632      $install_prog $dir/$dlname \$dldir/$dlname'
10633    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10634      dlpath=$dir/\$dldll~
10635       $RM \$dlpath'
10636    shlibpath_overrides_runpath=yes
10637    dynamic_linker='Win32 link.exe'
10638    ;;
10639
10640  *)
10641    # Assume MSVC wrapper
10642    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10643    dynamic_linker='Win32 ld.exe'
10644    ;;
10645  esac
10646  # FIXME: first we should search . and the directory the executable is in
10647  shlibpath_var=PATH
10648  ;;
10649
10650darwin* | rhapsody*)
10651  dynamic_linker="$host_os dyld"
10652  version_type=darwin
10653  need_lib_prefix=no
10654  need_version=no
10655  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10656  soname_spec='${libname}${release}${major}$shared_ext'
10657  shlibpath_overrides_runpath=yes
10658  shlibpath_var=DYLD_LIBRARY_PATH
10659  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10660
10661  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10662  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10663  ;;
10664
10665dgux*)
10666  version_type=linux
10667  need_lib_prefix=no
10668  need_version=no
10669  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10670  soname_spec='${libname}${release}${shared_ext}$major'
10671  shlibpath_var=LD_LIBRARY_PATH
10672  ;;
10673
10674freebsd1*)
10675  dynamic_linker=no
10676  ;;
10677
10678freebsd* | dragonfly*)
10679  # DragonFly does not have aout.  When/if they implement a new
10680  # versioning mechanism, adjust this.
10681  if test -x /usr/bin/objformat; then
10682    objformat=`/usr/bin/objformat`
10683  else
10684    case $host_os in
10685    freebsd[123]*) objformat=aout ;;
10686    *) objformat=elf ;;
10687    esac
10688  fi
10689  version_type=freebsd-$objformat
10690  case $version_type in
10691    freebsd-elf*)
10692      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10693      need_version=no
10694      need_lib_prefix=no
10695      ;;
10696    freebsd-*)
10697      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10698      need_version=yes
10699      ;;
10700  esac
10701  shlibpath_var=LD_LIBRARY_PATH
10702  case $host_os in
10703  freebsd2*)
10704    shlibpath_overrides_runpath=yes
10705    ;;
10706  freebsd3.[01]* | freebsdelf3.[01]*)
10707    shlibpath_overrides_runpath=yes
10708    hardcode_into_libs=yes
10709    ;;
10710  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10711  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10712    shlibpath_overrides_runpath=no
10713    hardcode_into_libs=yes
10714    ;;
10715  *) # from 4.6 on, and DragonFly
10716    shlibpath_overrides_runpath=yes
10717    hardcode_into_libs=yes
10718    ;;
10719  esac
10720  ;;
10721
10722gnu*)
10723  version_type=linux
10724  need_lib_prefix=no
10725  need_version=no
10726  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727  soname_spec='${libname}${release}${shared_ext}$major'
10728  shlibpath_var=LD_LIBRARY_PATH
10729  hardcode_into_libs=yes
10730  ;;
10731
10732haiku*)
10733  version_type=linux
10734  need_lib_prefix=no
10735  need_version=no
10736  dynamic_linker="$host_os runtime_loader"
10737  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10738  soname_spec='${libname}${release}${shared_ext}$major'
10739  shlibpath_var=LIBRARY_PATH
10740  shlibpath_overrides_runpath=yes
10741  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10742  hardcode_into_libs=yes
10743  ;;
10744
10745hpux9* | hpux10* | hpux11*)
10746  # Give a soname corresponding to the major version so that dld.sl refuses to
10747  # link against other versions.
10748  version_type=sunos
10749  need_lib_prefix=no
10750  need_version=no
10751  case $host_cpu in
10752  ia64*)
10753    shrext_cmds='.so'
10754    hardcode_into_libs=yes
10755    dynamic_linker="$host_os dld.so"
10756    shlibpath_var=LD_LIBRARY_PATH
10757    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10758    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759    soname_spec='${libname}${release}${shared_ext}$major'
10760    if test "X$HPUX_IA64_MODE" = X32; then
10761      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10762    else
10763      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10764    fi
10765    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766    ;;
10767  hppa*64*)
10768    shrext_cmds='.sl'
10769    hardcode_into_libs=yes
10770    dynamic_linker="$host_os dld.sl"
10771    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10772    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10773    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774    soname_spec='${libname}${release}${shared_ext}$major'
10775    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10776    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10777    ;;
10778  *)
10779    shrext_cmds='.sl'
10780    dynamic_linker="$host_os dld.sl"
10781    shlibpath_var=SHLIB_PATH
10782    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10783    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784    soname_spec='${libname}${release}${shared_ext}$major'
10785    ;;
10786  esac
10787  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10788  postinstall_cmds='chmod 555 $lib'
10789  # or fails outright, so override atomically:
10790  install_override_mode=555
10791  ;;
10792
10793interix[3-9]*)
10794  version_type=linux
10795  need_lib_prefix=no
10796  need_version=no
10797  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10798  soname_spec='${libname}${release}${shared_ext}$major'
10799  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10800  shlibpath_var=LD_LIBRARY_PATH
10801  shlibpath_overrides_runpath=no
10802  hardcode_into_libs=yes
10803  ;;
10804
10805irix5* | irix6* | nonstopux*)
10806  case $host_os in
10807    nonstopux*) version_type=nonstopux ;;
10808    *)
10809	if test "$lt_cv_prog_gnu_ld" = yes; then
10810		version_type=linux
10811	else
10812		version_type=irix
10813	fi ;;
10814  esac
10815  need_lib_prefix=no
10816  need_version=no
10817  soname_spec='${libname}${release}${shared_ext}$major'
10818  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10819  case $host_os in
10820  irix5* | nonstopux*)
10821    libsuff= shlibsuff=
10822    ;;
10823  *)
10824    case $LD in # libtool.m4 will add one of these switches to LD
10825    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10826      libsuff= shlibsuff= libmagic=32-bit;;
10827    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10828      libsuff=32 shlibsuff=N32 libmagic=N32;;
10829    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10830      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10831    *) libsuff= shlibsuff= libmagic=never-match;;
10832    esac
10833    ;;
10834  esac
10835  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10836  shlibpath_overrides_runpath=no
10837  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10838  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10839  hardcode_into_libs=yes
10840  ;;
10841
10842# No shared lib support for Linux oldld, aout, or coff.
10843linux*oldld* | linux*aout* | linux*coff*)
10844  dynamic_linker=no
10845  ;;
10846
10847# This must be Linux ELF.
10848linux* | k*bsd*-gnu | kopensolaris*-gnu)
10849  version_type=linux
10850  need_lib_prefix=no
10851  need_version=no
10852  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853  soname_spec='${libname}${release}${shared_ext}$major'
10854  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10855  shlibpath_var=LD_LIBRARY_PATH
10856  shlibpath_overrides_runpath=no
10857
10858  # Some binutils ld are patched to set DT_RUNPATH
10859  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10860  $as_echo_n "(cached) " >&6
10861else
10862  lt_cv_shlibpath_overrides_runpath=no
10863    save_LDFLAGS=$LDFLAGS
10864    save_libdir=$libdir
10865    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10866	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10867    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868/* end confdefs.h.  */
10869
10870int
10871main ()
10872{
10873
10874  ;
10875  return 0;
10876}
10877_ACEOF
10878if ac_fn_c_try_link "$LINENO"; then :
10879  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10880  lt_cv_shlibpath_overrides_runpath=yes
10881fi
10882fi
10883rm -f core conftest.err conftest.$ac_objext \
10884    conftest$ac_exeext conftest.$ac_ext
10885    LDFLAGS=$save_LDFLAGS
10886    libdir=$save_libdir
10887
10888fi
10889
10890  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10891
10892  # This implies no fast_install, which is unacceptable.
10893  # Some rework will be needed to allow for fast_install
10894  # before this can be enabled.
10895  hardcode_into_libs=yes
10896
10897  # Append ld.so.conf contents to the search path
10898  if test -f /etc/ld.so.conf; then
10899    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' ' '`
10900    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10901  fi
10902
10903  # We used to test for /lib/ld.so.1 and disable shared libraries on
10904  # powerpc, because MkLinux only supported shared libraries with the
10905  # GNU dynamic linker.  Since this was broken with cross compilers,
10906  # most powerpc-linux boxes support dynamic linking these days and
10907  # people can always --disable-shared, the test was removed, and we
10908  # assume the GNU/Linux dynamic linker is in use.
10909  dynamic_linker='GNU/Linux ld.so'
10910  ;;
10911
10912netbsd*)
10913  version_type=sunos
10914  need_lib_prefix=no
10915  need_version=no
10916  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10917    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10918    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10919    dynamic_linker='NetBSD (a.out) ld.so'
10920  else
10921    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10922    soname_spec='${libname}${release}${shared_ext}$major'
10923    dynamic_linker='NetBSD ld.elf_so'
10924  fi
10925  shlibpath_var=LD_LIBRARY_PATH
10926  shlibpath_overrides_runpath=yes
10927  hardcode_into_libs=yes
10928  ;;
10929
10930newsos6)
10931  version_type=linux
10932  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933  shlibpath_var=LD_LIBRARY_PATH
10934  shlibpath_overrides_runpath=yes
10935  ;;
10936
10937*nto* | *qnx*)
10938  version_type=qnx
10939  need_lib_prefix=no
10940  need_version=no
10941  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942  soname_spec='${libname}${release}${shared_ext}$major'
10943  shlibpath_var=LD_LIBRARY_PATH
10944  shlibpath_overrides_runpath=no
10945  hardcode_into_libs=yes
10946  dynamic_linker='ldqnx.so'
10947  ;;
10948
10949openbsd*)
10950  version_type=sunos
10951  sys_lib_dlsearch_path_spec="/usr/lib"
10952  need_lib_prefix=no
10953  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10954  case $host_os in
10955    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10956    *)				need_version=no  ;;
10957  esac
10958  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10959  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10960  shlibpath_var=LD_LIBRARY_PATH
10961  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10962    case $host_os in
10963      openbsd2.[89] | openbsd2.[89].*)
10964	shlibpath_overrides_runpath=no
10965	;;
10966      *)
10967	shlibpath_overrides_runpath=yes
10968	;;
10969      esac
10970  else
10971    shlibpath_overrides_runpath=yes
10972  fi
10973  ;;
10974
10975os2*)
10976  libname_spec='$name'
10977  shrext_cmds=".dll"
10978  need_lib_prefix=no
10979  library_names_spec='$libname${shared_ext} $libname.a'
10980  dynamic_linker='OS/2 ld.exe'
10981  shlibpath_var=LIBPATH
10982  ;;
10983
10984osf3* | osf4* | osf5*)
10985  version_type=osf
10986  need_lib_prefix=no
10987  need_version=no
10988  soname_spec='${libname}${release}${shared_ext}$major'
10989  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990  shlibpath_var=LD_LIBRARY_PATH
10991  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10992  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10993  ;;
10994
10995rdos*)
10996  dynamic_linker=no
10997  ;;
10998
10999solaris*)
11000  version_type=linux
11001  need_lib_prefix=no
11002  need_version=no
11003  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004  soname_spec='${libname}${release}${shared_ext}$major'
11005  shlibpath_var=LD_LIBRARY_PATH
11006  shlibpath_overrides_runpath=yes
11007  hardcode_into_libs=yes
11008  # ldd complains unless libraries are executable
11009  postinstall_cmds='chmod +x $lib'
11010  ;;
11011
11012sunos4*)
11013  version_type=sunos
11014  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11016  shlibpath_var=LD_LIBRARY_PATH
11017  shlibpath_overrides_runpath=yes
11018  if test "$with_gnu_ld" = yes; then
11019    need_lib_prefix=no
11020  fi
11021  need_version=yes
11022  ;;
11023
11024sysv4 | sysv4.3*)
11025  version_type=linux
11026  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027  soname_spec='${libname}${release}${shared_ext}$major'
11028  shlibpath_var=LD_LIBRARY_PATH
11029  case $host_vendor in
11030    sni)
11031      shlibpath_overrides_runpath=no
11032      need_lib_prefix=no
11033      runpath_var=LD_RUN_PATH
11034      ;;
11035    siemens)
11036      need_lib_prefix=no
11037      ;;
11038    motorola)
11039      need_lib_prefix=no
11040      need_version=no
11041      shlibpath_overrides_runpath=no
11042      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11043      ;;
11044  esac
11045  ;;
11046
11047sysv4*MP*)
11048  if test -d /usr/nec ;then
11049    version_type=linux
11050    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11051    soname_spec='$libname${shared_ext}.$major'
11052    shlibpath_var=LD_LIBRARY_PATH
11053  fi
11054  ;;
11055
11056sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11057  version_type=freebsd-elf
11058  need_lib_prefix=no
11059  need_version=no
11060  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11061  soname_spec='${libname}${release}${shared_ext}$major'
11062  shlibpath_var=LD_LIBRARY_PATH
11063  shlibpath_overrides_runpath=yes
11064  hardcode_into_libs=yes
11065  if test "$with_gnu_ld" = yes; then
11066    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11067  else
11068    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11069    case $host_os in
11070      sco3.2v5*)
11071        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11072	;;
11073    esac
11074  fi
11075  sys_lib_dlsearch_path_spec='/usr/lib'
11076  ;;
11077
11078tpf*)
11079  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11080  version_type=linux
11081  need_lib_prefix=no
11082  need_version=no
11083  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084  shlibpath_var=LD_LIBRARY_PATH
11085  shlibpath_overrides_runpath=no
11086  hardcode_into_libs=yes
11087  ;;
11088
11089uts4*)
11090  version_type=linux
11091  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092  soname_spec='${libname}${release}${shared_ext}$major'
11093  shlibpath_var=LD_LIBRARY_PATH
11094  ;;
11095
11096*)
11097  dynamic_linker=no
11098  ;;
11099esac
11100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11101$as_echo "$dynamic_linker" >&6; }
11102test "$dynamic_linker" = no && can_build_shared=no
11103
11104variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11105if test "$GCC" = yes; then
11106  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11107fi
11108
11109if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11110  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11111fi
11112if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11113  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11114fi
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11208$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11209hardcode_action=
11210if test -n "$hardcode_libdir_flag_spec" ||
11211   test -n "$runpath_var" ||
11212   test "X$hardcode_automatic" = "Xyes" ; then
11213
11214  # We can hardcode non-existent directories.
11215  if test "$hardcode_direct" != no &&
11216     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11217     # have to relink, otherwise we might link with an installed library
11218     # when we should be linking with a yet-to-be-installed one
11219     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11220     test "$hardcode_minus_L" != no; then
11221    # Linking always hardcodes the temporary library directory.
11222    hardcode_action=relink
11223  else
11224    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11225    hardcode_action=immediate
11226  fi
11227else
11228  # We cannot hardcode anything, or else we can only hardcode existing
11229  # directories.
11230  hardcode_action=unsupported
11231fi
11232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11233$as_echo "$hardcode_action" >&6; }
11234
11235if test "$hardcode_action" = relink ||
11236   test "$inherit_rpath" = yes; then
11237  # Fast installation is not supported
11238  enable_fast_install=no
11239elif test "$shlibpath_overrides_runpath" = yes ||
11240     test "$enable_shared" = no; then
11241  # Fast installation is not necessary
11242  enable_fast_install=needless
11243fi
11244
11245
11246
11247
11248
11249
11250  if test "x$enable_dlopen" != xyes; then
11251  enable_dlopen=unknown
11252  enable_dlopen_self=unknown
11253  enable_dlopen_self_static=unknown
11254else
11255  lt_cv_dlopen=no
11256  lt_cv_dlopen_libs=
11257
11258  case $host_os in
11259  beos*)
11260    lt_cv_dlopen="load_add_on"
11261    lt_cv_dlopen_libs=
11262    lt_cv_dlopen_self=yes
11263    ;;
11264
11265  mingw* | pw32* | cegcc*)
11266    lt_cv_dlopen="LoadLibrary"
11267    lt_cv_dlopen_libs=
11268    ;;
11269
11270  cygwin*)
11271    lt_cv_dlopen="dlopen"
11272    lt_cv_dlopen_libs=
11273    ;;
11274
11275  darwin*)
11276  # if libdl is installed we need to link against it
11277    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11278$as_echo_n "checking for dlopen in -ldl... " >&6; }
11279if ${ac_cv_lib_dl_dlopen+:} false; then :
11280  $as_echo_n "(cached) " >&6
11281else
11282  ac_check_lib_save_LIBS=$LIBS
11283LIBS="-ldl  $LIBS"
11284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285/* end confdefs.h.  */
11286
11287/* Override any GCC internal prototype to avoid an error.
11288   Use char because int might match the return type of a GCC
11289   builtin and then its argument prototype would still apply.  */
11290#ifdef __cplusplus
11291extern "C"
11292#endif
11293char dlopen ();
11294int
11295main ()
11296{
11297return dlopen ();
11298  ;
11299  return 0;
11300}
11301_ACEOF
11302if ac_fn_c_try_link "$LINENO"; then :
11303  ac_cv_lib_dl_dlopen=yes
11304else
11305  ac_cv_lib_dl_dlopen=no
11306fi
11307rm -f core conftest.err conftest.$ac_objext \
11308    conftest$ac_exeext conftest.$ac_ext
11309LIBS=$ac_check_lib_save_LIBS
11310fi
11311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11312$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11313if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11314  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11315else
11316
11317    lt_cv_dlopen="dyld"
11318    lt_cv_dlopen_libs=
11319    lt_cv_dlopen_self=yes
11320
11321fi
11322
11323    ;;
11324
11325  *)
11326    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11327if test "x$ac_cv_func_shl_load" = xyes; then :
11328  lt_cv_dlopen="shl_load"
11329else
11330  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11331$as_echo_n "checking for shl_load in -ldld... " >&6; }
11332if ${ac_cv_lib_dld_shl_load+:} false; then :
11333  $as_echo_n "(cached) " >&6
11334else
11335  ac_check_lib_save_LIBS=$LIBS
11336LIBS="-ldld  $LIBS"
11337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338/* end confdefs.h.  */
11339
11340/* Override any GCC internal prototype to avoid an error.
11341   Use char because int might match the return type of a GCC
11342   builtin and then its argument prototype would still apply.  */
11343#ifdef __cplusplus
11344extern "C"
11345#endif
11346char shl_load ();
11347int
11348main ()
11349{
11350return shl_load ();
11351  ;
11352  return 0;
11353}
11354_ACEOF
11355if ac_fn_c_try_link "$LINENO"; then :
11356  ac_cv_lib_dld_shl_load=yes
11357else
11358  ac_cv_lib_dld_shl_load=no
11359fi
11360rm -f core conftest.err conftest.$ac_objext \
11361    conftest$ac_exeext conftest.$ac_ext
11362LIBS=$ac_check_lib_save_LIBS
11363fi
11364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11365$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11366if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11367  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11368else
11369  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11370if test "x$ac_cv_func_dlopen" = xyes; then :
11371  lt_cv_dlopen="dlopen"
11372else
11373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11374$as_echo_n "checking for dlopen in -ldl... " >&6; }
11375if ${ac_cv_lib_dl_dlopen+:} false; then :
11376  $as_echo_n "(cached) " >&6
11377else
11378  ac_check_lib_save_LIBS=$LIBS
11379LIBS="-ldl  $LIBS"
11380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381/* end confdefs.h.  */
11382
11383/* Override any GCC internal prototype to avoid an error.
11384   Use char because int might match the return type of a GCC
11385   builtin and then its argument prototype would still apply.  */
11386#ifdef __cplusplus
11387extern "C"
11388#endif
11389char dlopen ();
11390int
11391main ()
11392{
11393return dlopen ();
11394  ;
11395  return 0;
11396}
11397_ACEOF
11398if ac_fn_c_try_link "$LINENO"; then :
11399  ac_cv_lib_dl_dlopen=yes
11400else
11401  ac_cv_lib_dl_dlopen=no
11402fi
11403rm -f core conftest.err conftest.$ac_objext \
11404    conftest$ac_exeext conftest.$ac_ext
11405LIBS=$ac_check_lib_save_LIBS
11406fi
11407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11408$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11409if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11410  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11411else
11412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11413$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11414if ${ac_cv_lib_svld_dlopen+:} false; then :
11415  $as_echo_n "(cached) " >&6
11416else
11417  ac_check_lib_save_LIBS=$LIBS
11418LIBS="-lsvld  $LIBS"
11419cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420/* end confdefs.h.  */
11421
11422/* Override any GCC internal prototype to avoid an error.
11423   Use char because int might match the return type of a GCC
11424   builtin and then its argument prototype would still apply.  */
11425#ifdef __cplusplus
11426extern "C"
11427#endif
11428char dlopen ();
11429int
11430main ()
11431{
11432return dlopen ();
11433  ;
11434  return 0;
11435}
11436_ACEOF
11437if ac_fn_c_try_link "$LINENO"; then :
11438  ac_cv_lib_svld_dlopen=yes
11439else
11440  ac_cv_lib_svld_dlopen=no
11441fi
11442rm -f core conftest.err conftest.$ac_objext \
11443    conftest$ac_exeext conftest.$ac_ext
11444LIBS=$ac_check_lib_save_LIBS
11445fi
11446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11447$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11448if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11449  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11450else
11451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11452$as_echo_n "checking for dld_link in -ldld... " >&6; }
11453if ${ac_cv_lib_dld_dld_link+:} false; then :
11454  $as_echo_n "(cached) " >&6
11455else
11456  ac_check_lib_save_LIBS=$LIBS
11457LIBS="-ldld  $LIBS"
11458cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459/* end confdefs.h.  */
11460
11461/* Override any GCC internal prototype to avoid an error.
11462   Use char because int might match the return type of a GCC
11463   builtin and then its argument prototype would still apply.  */
11464#ifdef __cplusplus
11465extern "C"
11466#endif
11467char dld_link ();
11468int
11469main ()
11470{
11471return dld_link ();
11472  ;
11473  return 0;
11474}
11475_ACEOF
11476if ac_fn_c_try_link "$LINENO"; then :
11477  ac_cv_lib_dld_dld_link=yes
11478else
11479  ac_cv_lib_dld_dld_link=no
11480fi
11481rm -f core conftest.err conftest.$ac_objext \
11482    conftest$ac_exeext conftest.$ac_ext
11483LIBS=$ac_check_lib_save_LIBS
11484fi
11485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11486$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11487if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11488  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11489fi
11490
11491
11492fi
11493
11494
11495fi
11496
11497
11498fi
11499
11500
11501fi
11502
11503
11504fi
11505
11506    ;;
11507  esac
11508
11509  if test "x$lt_cv_dlopen" != xno; then
11510    enable_dlopen=yes
11511  else
11512    enable_dlopen=no
11513  fi
11514
11515  case $lt_cv_dlopen in
11516  dlopen)
11517    save_CPPFLAGS="$CPPFLAGS"
11518    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11519
11520    save_LDFLAGS="$LDFLAGS"
11521    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11522
11523    save_LIBS="$LIBS"
11524    LIBS="$lt_cv_dlopen_libs $LIBS"
11525
11526    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11527$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11528if ${lt_cv_dlopen_self+:} false; then :
11529  $as_echo_n "(cached) " >&6
11530else
11531  	  if test "$cross_compiling" = yes; then :
11532  lt_cv_dlopen_self=cross
11533else
11534  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11535  lt_status=$lt_dlunknown
11536  cat > conftest.$ac_ext <<_LT_EOF
11537#line $LINENO "configure"
11538#include "confdefs.h"
11539
11540#if HAVE_DLFCN_H
11541#include <dlfcn.h>
11542#endif
11543
11544#include <stdio.h>
11545
11546#ifdef RTLD_GLOBAL
11547#  define LT_DLGLOBAL		RTLD_GLOBAL
11548#else
11549#  ifdef DL_GLOBAL
11550#    define LT_DLGLOBAL		DL_GLOBAL
11551#  else
11552#    define LT_DLGLOBAL		0
11553#  endif
11554#endif
11555
11556/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11557   find out it does not work in some platform. */
11558#ifndef LT_DLLAZY_OR_NOW
11559#  ifdef RTLD_LAZY
11560#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11561#  else
11562#    ifdef DL_LAZY
11563#      define LT_DLLAZY_OR_NOW		DL_LAZY
11564#    else
11565#      ifdef RTLD_NOW
11566#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11567#      else
11568#        ifdef DL_NOW
11569#          define LT_DLLAZY_OR_NOW	DL_NOW
11570#        else
11571#          define LT_DLLAZY_OR_NOW	0
11572#        endif
11573#      endif
11574#    endif
11575#  endif
11576#endif
11577
11578/* When -fvisbility=hidden is used, assume the code has been annotated
11579   correspondingly for the symbols needed.  */
11580#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11581int fnord () __attribute__((visibility("default")));
11582#endif
11583
11584int fnord () { return 42; }
11585int main ()
11586{
11587  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11588  int status = $lt_dlunknown;
11589
11590  if (self)
11591    {
11592      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11593      else
11594        {
11595	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11596          else puts (dlerror ());
11597	}
11598      /* dlclose (self); */
11599    }
11600  else
11601    puts (dlerror ());
11602
11603  return status;
11604}
11605_LT_EOF
11606  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11607  (eval $ac_link) 2>&5
11608  ac_status=$?
11609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11610  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11611    (./conftest; exit; ) >&5 2>/dev/null
11612    lt_status=$?
11613    case x$lt_status in
11614      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11615      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11616      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11617    esac
11618  else :
11619    # compilation failed
11620    lt_cv_dlopen_self=no
11621  fi
11622fi
11623rm -fr conftest*
11624
11625
11626fi
11627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11628$as_echo "$lt_cv_dlopen_self" >&6; }
11629
11630    if test "x$lt_cv_dlopen_self" = xyes; then
11631      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11632      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11633$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11634if ${lt_cv_dlopen_self_static+:} false; then :
11635  $as_echo_n "(cached) " >&6
11636else
11637  	  if test "$cross_compiling" = yes; then :
11638  lt_cv_dlopen_self_static=cross
11639else
11640  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11641  lt_status=$lt_dlunknown
11642  cat > conftest.$ac_ext <<_LT_EOF
11643#line $LINENO "configure"
11644#include "confdefs.h"
11645
11646#if HAVE_DLFCN_H
11647#include <dlfcn.h>
11648#endif
11649
11650#include <stdio.h>
11651
11652#ifdef RTLD_GLOBAL
11653#  define LT_DLGLOBAL		RTLD_GLOBAL
11654#else
11655#  ifdef DL_GLOBAL
11656#    define LT_DLGLOBAL		DL_GLOBAL
11657#  else
11658#    define LT_DLGLOBAL		0
11659#  endif
11660#endif
11661
11662/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11663   find out it does not work in some platform. */
11664#ifndef LT_DLLAZY_OR_NOW
11665#  ifdef RTLD_LAZY
11666#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11667#  else
11668#    ifdef DL_LAZY
11669#      define LT_DLLAZY_OR_NOW		DL_LAZY
11670#    else
11671#      ifdef RTLD_NOW
11672#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11673#      else
11674#        ifdef DL_NOW
11675#          define LT_DLLAZY_OR_NOW	DL_NOW
11676#        else
11677#          define LT_DLLAZY_OR_NOW	0
11678#        endif
11679#      endif
11680#    endif
11681#  endif
11682#endif
11683
11684/* When -fvisbility=hidden is used, assume the code has been annotated
11685   correspondingly for the symbols needed.  */
11686#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11687int fnord () __attribute__((visibility("default")));
11688#endif
11689
11690int fnord () { return 42; }
11691int main ()
11692{
11693  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11694  int status = $lt_dlunknown;
11695
11696  if (self)
11697    {
11698      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11699      else
11700        {
11701	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11702          else puts (dlerror ());
11703	}
11704      /* dlclose (self); */
11705    }
11706  else
11707    puts (dlerror ());
11708
11709  return status;
11710}
11711_LT_EOF
11712  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11713  (eval $ac_link) 2>&5
11714  ac_status=$?
11715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11716  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11717    (./conftest; exit; ) >&5 2>/dev/null
11718    lt_status=$?
11719    case x$lt_status in
11720      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11721      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11722      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11723    esac
11724  else :
11725    # compilation failed
11726    lt_cv_dlopen_self_static=no
11727  fi
11728fi
11729rm -fr conftest*
11730
11731
11732fi
11733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11734$as_echo "$lt_cv_dlopen_self_static" >&6; }
11735    fi
11736
11737    CPPFLAGS="$save_CPPFLAGS"
11738    LDFLAGS="$save_LDFLAGS"
11739    LIBS="$save_LIBS"
11740    ;;
11741  esac
11742
11743  case $lt_cv_dlopen_self in
11744  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11745  *) enable_dlopen_self=unknown ;;
11746  esac
11747
11748  case $lt_cv_dlopen_self_static in
11749  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11750  *) enable_dlopen_self_static=unknown ;;
11751  esac
11752fi
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770striplib=
11771old_striplib=
11772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11773$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11774if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11775  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11776  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11778$as_echo "yes" >&6; }
11779else
11780# FIXME - insert some real tests, host_os isn't really good enough
11781  case $host_os in
11782  darwin*)
11783    if test -n "$STRIP" ; then
11784      striplib="$STRIP -x"
11785      old_striplib="$STRIP -S"
11786      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11787$as_echo "yes" >&6; }
11788    else
11789      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790$as_echo "no" >&6; }
11791    fi
11792    ;;
11793  *)
11794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795$as_echo "no" >&6; }
11796    ;;
11797  esac
11798fi
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811  # Report which library types will actually be built
11812  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11813$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11815$as_echo "$can_build_shared" >&6; }
11816
11817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11818$as_echo_n "checking whether to build shared libraries... " >&6; }
11819  test "$can_build_shared" = "no" && enable_shared=no
11820
11821  # On AIX, shared libraries and static libraries use the same namespace, and
11822  # are all built from PIC.
11823  case $host_os in
11824  aix3*)
11825    test "$enable_shared" = yes && enable_static=no
11826    if test -n "$RANLIB"; then
11827      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11828      postinstall_cmds='$RANLIB $lib'
11829    fi
11830    ;;
11831
11832  aix[4-9]*)
11833    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11834      test "$enable_shared" = yes && enable_static=no
11835    fi
11836    ;;
11837  esac
11838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11839$as_echo "$enable_shared" >&6; }
11840
11841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11842$as_echo_n "checking whether to build static libraries... " >&6; }
11843  # Make sure either enable_shared or enable_static is yes.
11844  test "$enable_shared" = yes || enable_static=yes
11845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11846$as_echo "$enable_static" >&6; }
11847
11848
11849
11850
11851fi
11852ac_ext=c
11853ac_cpp='$CPP $CPPFLAGS'
11854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857
11858CC="$lt_save_CC"
11859
11860      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11861    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11862    (test "X$CXX" != "Xg++"))) ; then
11863  ac_ext=cpp
11864ac_cpp='$CXXCPP $CPPFLAGS'
11865ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11869$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11870if test -z "$CXXCPP"; then
11871  if ${ac_cv_prog_CXXCPP+:} false; then :
11872  $as_echo_n "(cached) " >&6
11873else
11874      # Double quotes because CXXCPP needs to be expanded
11875    for CXXCPP in "$CXX -E" "/lib/cpp"
11876    do
11877      ac_preproc_ok=false
11878for ac_cxx_preproc_warn_flag in '' yes
11879do
11880  # Use a header file that comes with gcc, so configuring glibc
11881  # with a fresh cross-compiler works.
11882  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11883  # <limits.h> exists even on freestanding compilers.
11884  # On the NeXT, cc -E runs the code through the compiler's parser,
11885  # not just through cpp. "Syntax error" is here to catch this case.
11886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887/* end confdefs.h.  */
11888@%:@ifdef __STDC__
11889@%:@ include <limits.h>
11890@%:@else
11891@%:@ include <assert.h>
11892@%:@endif
11893		     Syntax error
11894_ACEOF
11895if ac_fn_cxx_try_cpp "$LINENO"; then :
11896
11897else
11898  # Broken: fails on valid input.
11899continue
11900fi
11901rm -f conftest.err conftest.i conftest.$ac_ext
11902
11903  # OK, works on sane cases.  Now check whether nonexistent headers
11904  # can be detected and how.
11905  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906/* end confdefs.h.  */
11907@%:@include <ac_nonexistent.h>
11908_ACEOF
11909if ac_fn_cxx_try_cpp "$LINENO"; then :
11910  # Broken: success on invalid input.
11911continue
11912else
11913  # Passes both tests.
11914ac_preproc_ok=:
11915break
11916fi
11917rm -f conftest.err conftest.i conftest.$ac_ext
11918
11919done
11920# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11921rm -f conftest.i conftest.err conftest.$ac_ext
11922if $ac_preproc_ok; then :
11923  break
11924fi
11925
11926    done
11927    ac_cv_prog_CXXCPP=$CXXCPP
11928
11929fi
11930  CXXCPP=$ac_cv_prog_CXXCPP
11931else
11932  ac_cv_prog_CXXCPP=$CXXCPP
11933fi
11934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11935$as_echo "$CXXCPP" >&6; }
11936ac_preproc_ok=false
11937for ac_cxx_preproc_warn_flag in '' yes
11938do
11939  # Use a header file that comes with gcc, so configuring glibc
11940  # with a fresh cross-compiler works.
11941  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11942  # <limits.h> exists even on freestanding compilers.
11943  # On the NeXT, cc -E runs the code through the compiler's parser,
11944  # not just through cpp. "Syntax error" is here to catch this case.
11945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946/* end confdefs.h.  */
11947@%:@ifdef __STDC__
11948@%:@ include <limits.h>
11949@%:@else
11950@%:@ include <assert.h>
11951@%:@endif
11952		     Syntax error
11953_ACEOF
11954if ac_fn_cxx_try_cpp "$LINENO"; then :
11955
11956else
11957  # Broken: fails on valid input.
11958continue
11959fi
11960rm -f conftest.err conftest.i conftest.$ac_ext
11961
11962  # OK, works on sane cases.  Now check whether nonexistent headers
11963  # can be detected and how.
11964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965/* end confdefs.h.  */
11966@%:@include <ac_nonexistent.h>
11967_ACEOF
11968if ac_fn_cxx_try_cpp "$LINENO"; then :
11969  # Broken: success on invalid input.
11970continue
11971else
11972  # Passes both tests.
11973ac_preproc_ok=:
11974break
11975fi
11976rm -f conftest.err conftest.i conftest.$ac_ext
11977
11978done
11979# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11980rm -f conftest.i conftest.err conftest.$ac_ext
11981if $ac_preproc_ok; then :
11982
11983else
11984  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11986as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11987See \`config.log' for more details" "$LINENO" 5; }
11988fi
11989
11990ac_ext=c
11991ac_cpp='$CPP $CPPFLAGS'
11992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11994ac_compiler_gnu=$ac_cv_c_compiler_gnu
11995
11996else
11997  _lt_caught_CXX_error=yes
11998fi
11999
12000ac_ext=cpp
12001ac_cpp='$CXXCPP $CPPFLAGS'
12002ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12003ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12004ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12005
12006archive_cmds_need_lc_CXX=no
12007allow_undefined_flag_CXX=
12008always_export_symbols_CXX=no
12009archive_expsym_cmds_CXX=
12010compiler_needs_object_CXX=no
12011export_dynamic_flag_spec_CXX=
12012hardcode_direct_CXX=no
12013hardcode_direct_absolute_CXX=no
12014hardcode_libdir_flag_spec_CXX=
12015hardcode_libdir_flag_spec_ld_CXX=
12016hardcode_libdir_separator_CXX=
12017hardcode_minus_L_CXX=no
12018hardcode_shlibpath_var_CXX=unsupported
12019hardcode_automatic_CXX=no
12020inherit_rpath_CXX=no
12021module_cmds_CXX=
12022module_expsym_cmds_CXX=
12023link_all_deplibs_CXX=unknown
12024old_archive_cmds_CXX=$old_archive_cmds
12025reload_flag_CXX=$reload_flag
12026reload_cmds_CXX=$reload_cmds
12027no_undefined_flag_CXX=
12028whole_archive_flag_spec_CXX=
12029enable_shared_with_static_runtimes_CXX=no
12030
12031# Source file extension for C++ test sources.
12032ac_ext=cpp
12033
12034# Object file extension for compiled C++ test sources.
12035objext=o
12036objext_CXX=$objext
12037
12038# No sense in running all these tests if we already determined that
12039# the CXX compiler isn't working.  Some variables (like enable_shared)
12040# are currently assumed to apply to all compilers on this platform,
12041# and will be corrupted by setting them based on a non-working compiler.
12042if test "$_lt_caught_CXX_error" != yes; then
12043  # Code to be used in simple compile tests
12044  lt_simple_compile_test_code="int some_variable = 0;"
12045
12046  # Code to be used in simple link tests
12047  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12048
12049  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12050
12051
12052
12053
12054
12055
12056# If no C compiler was specified, use CC.
12057LTCC=${LTCC-"$CC"}
12058
12059# If no C compiler flags were specified, use CFLAGS.
12060LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12061
12062# Allow CC to be a program name with arguments.
12063compiler=$CC
12064
12065
12066  # save warnings/boilerplate of simple test code
12067  ac_outfile=conftest.$ac_objext
12068echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12069eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12070_lt_compiler_boilerplate=`cat conftest.err`
12071$RM conftest*
12072
12073  ac_outfile=conftest.$ac_objext
12074echo "$lt_simple_link_test_code" >conftest.$ac_ext
12075eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12076_lt_linker_boilerplate=`cat conftest.err`
12077$RM -r conftest*
12078
12079
12080  # Allow CC to be a program name with arguments.
12081  lt_save_CC=$CC
12082  lt_save_CFLAGS=$CFLAGS
12083  lt_save_LD=$LD
12084  lt_save_GCC=$GCC
12085  GCC=$GXX
12086  lt_save_with_gnu_ld=$with_gnu_ld
12087  lt_save_path_LD=$lt_cv_path_LD
12088  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12089    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12090  else
12091    $as_unset lt_cv_prog_gnu_ld
12092  fi
12093  if test -n "${lt_cv_path_LDCXX+set}"; then
12094    lt_cv_path_LD=$lt_cv_path_LDCXX
12095  else
12096    $as_unset lt_cv_path_LD
12097  fi
12098  test -z "${LDCXX+set}" || LD=$LDCXX
12099  CC=${CXX-"c++"}
12100  CFLAGS=$CXXFLAGS
12101  compiler=$CC
12102  compiler_CXX=$CC
12103  for cc_temp in $compiler""; do
12104  case $cc_temp in
12105    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12106    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12107    \-*) ;;
12108    *) break;;
12109  esac
12110done
12111cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12112
12113
12114  if test -n "$compiler"; then
12115    # We don't want -fno-exception when compiling C++ code, so set the
12116    # no_builtin_flag separately
12117    if test "$GXX" = yes; then
12118      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12119    else
12120      lt_prog_compiler_no_builtin_flag_CXX=
12121    fi
12122
12123    if test "$GXX" = yes; then
12124      # Set up default GNU C++ configuration
12125
12126
12127
12128@%:@ Check whether --with-gnu-ld was given.
12129if test "${with_gnu_ld+set}" = set; then :
12130  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12131else
12132  with_gnu_ld=no
12133fi
12134
12135ac_prog=ld
12136if test "$GCC" = yes; then
12137  # Check if gcc -print-prog-name=ld gives a path.
12138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12139$as_echo_n "checking for ld used by $CC... " >&6; }
12140  case $host in
12141  *-*-mingw*)
12142    # gcc leaves a trailing carriage return which upsets mingw
12143    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12144  *)
12145    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12146  esac
12147  case $ac_prog in
12148    # Accept absolute paths.
12149    [\\/]* | ?:[\\/]*)
12150      re_direlt='/[^/][^/]*/\.\./'
12151      # Canonicalize the pathname of ld
12152      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12153      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12154	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12155      done
12156      test -z "$LD" && LD="$ac_prog"
12157      ;;
12158  "")
12159    # If it fails, then pretend we aren't using GCC.
12160    ac_prog=ld
12161    ;;
12162  *)
12163    # If it is relative, then search for the first ld in PATH.
12164    with_gnu_ld=unknown
12165    ;;
12166  esac
12167elif test "$with_gnu_ld" = yes; then
12168  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12169$as_echo_n "checking for GNU ld... " >&6; }
12170else
12171  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12172$as_echo_n "checking for non-GNU ld... " >&6; }
12173fi
12174if ${lt_cv_path_LD+:} false; then :
12175  $as_echo_n "(cached) " >&6
12176else
12177  if test -z "$LD"; then
12178  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12179  for ac_dir in $PATH; do
12180    IFS="$lt_save_ifs"
12181    test -z "$ac_dir" && ac_dir=.
12182    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12183      lt_cv_path_LD="$ac_dir/$ac_prog"
12184      # Check to see if the program is GNU ld.  I'd rather use --version,
12185      # but apparently some variants of GNU ld only accept -v.
12186      # Break only if it was the GNU/non-GNU ld that we prefer.
12187      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12188      *GNU* | *'with BFD'*)
12189	test "$with_gnu_ld" != no && break
12190	;;
12191      *)
12192	test "$with_gnu_ld" != yes && break
12193	;;
12194      esac
12195    fi
12196  done
12197  IFS="$lt_save_ifs"
12198else
12199  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12200fi
12201fi
12202
12203LD="$lt_cv_path_LD"
12204if test -n "$LD"; then
12205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12206$as_echo "$LD" >&6; }
12207else
12208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12209$as_echo "no" >&6; }
12210fi
12211test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12213$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12214if ${lt_cv_prog_gnu_ld+:} false; then :
12215  $as_echo_n "(cached) " >&6
12216else
12217  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12218case `$LD -v 2>&1 </dev/null` in
12219*GNU* | *'with BFD'*)
12220  lt_cv_prog_gnu_ld=yes
12221  ;;
12222*)
12223  lt_cv_prog_gnu_ld=no
12224  ;;
12225esac
12226fi
12227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12228$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12229with_gnu_ld=$lt_cv_prog_gnu_ld
12230
12231
12232
12233
12234
12235
12236
12237      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12238      # archiving commands below assume that GNU ld is being used.
12239      if test "$with_gnu_ld" = yes; then
12240        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12241        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12242
12243        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12244        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12245
12246        # If archive_cmds runs LD, not CC, wlarc should be empty
12247        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12248        #     investigate it a little bit more. (MM)
12249        wlarc='${wl}'
12250
12251        # ancient GNU ld didn't support --whole-archive et. al.
12252        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12253	  $GREP 'no-whole-archive' > /dev/null; then
12254          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12255        else
12256          whole_archive_flag_spec_CXX=
12257        fi
12258      else
12259        with_gnu_ld=no
12260        wlarc=
12261
12262        # A generic and very simple default shared library creation
12263        # command for GNU C++ for the case where it uses the native
12264        # linker, instead of GNU ld.  If possible, this setting should
12265        # overridden to take advantage of the native linker features on
12266        # the platform it is being used on.
12267        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12268      fi
12269
12270      # Commands to make compiler produce verbose output that lists
12271      # what "hidden" libraries, object files and flags are used when
12272      # linking a shared library.
12273      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12274
12275    else
12276      GXX=no
12277      with_gnu_ld=no
12278      wlarc=
12279    fi
12280
12281    # PORTME: fill in a description of your system's C++ link characteristics
12282    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12283$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12284    ld_shlibs_CXX=yes
12285    case $host_os in
12286      aix3*)
12287        # FIXME: insert proper C++ library support
12288        ld_shlibs_CXX=no
12289        ;;
12290      aix[4-9]*)
12291        if test "$host_cpu" = ia64; then
12292          # On IA64, the linker does run time linking by default, so we don't
12293          # have to do anything special.
12294          aix_use_runtimelinking=no
12295          exp_sym_flag='-Bexport'
12296          no_entry_flag=""
12297        else
12298          aix_use_runtimelinking=no
12299
12300          # Test if we are trying to use run time linking or normal
12301          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12302          # need to do runtime linking.
12303          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12304	    for ld_flag in $LDFLAGS; do
12305	      case $ld_flag in
12306	      *-brtl*)
12307	        aix_use_runtimelinking=yes
12308	        break
12309	        ;;
12310	      esac
12311	    done
12312	    ;;
12313          esac
12314
12315          exp_sym_flag='-bexport'
12316          no_entry_flag='-bnoentry'
12317        fi
12318
12319        # When large executables or shared objects are built, AIX ld can
12320        # have problems creating the table of contents.  If linking a library
12321        # or program results in "error TOC overflow" add -mminimal-toc to
12322        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12323        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12324
12325        archive_cmds_CXX=''
12326        hardcode_direct_CXX=yes
12327        hardcode_direct_absolute_CXX=yes
12328        hardcode_libdir_separator_CXX=':'
12329        link_all_deplibs_CXX=yes
12330        file_list_spec_CXX='${wl}-f,'
12331
12332        if test "$GXX" = yes; then
12333          case $host_os in aix4.[012]|aix4.[012].*)
12334          # We only want to do this on AIX 4.2 and lower, the check
12335          # below for broken collect2 doesn't work under 4.3+
12336	  collect2name=`${CC} -print-prog-name=collect2`
12337	  if test -f "$collect2name" &&
12338	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12339	  then
12340	    # We have reworked collect2
12341	    :
12342	  else
12343	    # We have old collect2
12344	    hardcode_direct_CXX=unsupported
12345	    # It fails to find uninstalled libraries when the uninstalled
12346	    # path is not listed in the libpath.  Setting hardcode_minus_L
12347	    # to unsupported forces relinking
12348	    hardcode_minus_L_CXX=yes
12349	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12350	    hardcode_libdir_separator_CXX=
12351	  fi
12352          esac
12353          shared_flag='-shared'
12354	  if test "$aix_use_runtimelinking" = yes; then
12355	    shared_flag="$shared_flag "'${wl}-G'
12356	  fi
12357        else
12358          # not using gcc
12359          if test "$host_cpu" = ia64; then
12360	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12361	  # chokes on -Wl,-G. The following line is correct:
12362	  shared_flag='-G'
12363          else
12364	    if test "$aix_use_runtimelinking" = yes; then
12365	      shared_flag='${wl}-G'
12366	    else
12367	      shared_flag='${wl}-bM:SRE'
12368	    fi
12369          fi
12370        fi
12371
12372        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12373        # It seems that -bexpall does not export symbols beginning with
12374        # underscore (_), so it is better to generate a list of symbols to
12375	# export.
12376        always_export_symbols_CXX=yes
12377        if test "$aix_use_runtimelinking" = yes; then
12378          # Warning - without using the other runtime loading flags (-brtl),
12379          # -berok will link without error, but may produce a broken library.
12380          allow_undefined_flag_CXX='-berok'
12381          # Determine the default libpath from the value encoded in an empty
12382          # executable.
12383          if test "${lt_cv_aix_libpath+set}" = set; then
12384  aix_libpath=$lt_cv_aix_libpath
12385else
12386  if ${lt_cv_aix_libpath__CXX+:} false; then :
12387  $as_echo_n "(cached) " >&6
12388else
12389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390/* end confdefs.h.  */
12391
12392int
12393main ()
12394{
12395
12396  ;
12397  return 0;
12398}
12399_ACEOF
12400if ac_fn_cxx_try_link "$LINENO"; then :
12401
12402  lt_aix_libpath_sed='
12403      /Import File Strings/,/^$/ {
12404	  /^0/ {
12405	      s/^0  *\([^ ]*\) *$/\1/
12406	      p
12407	  }
12408      }'
12409  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410  # Check for a 64-bit object if we didn't find anything.
12411  if test -z "$lt_cv_aix_libpath__CXX"; then
12412    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12413  fi
12414fi
12415rm -f core conftest.err conftest.$ac_objext \
12416    conftest$ac_exeext conftest.$ac_ext
12417  if test -z "$lt_cv_aix_libpath__CXX"; then
12418    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12419  fi
12420
12421fi
12422
12423  aix_libpath=$lt_cv_aix_libpath__CXX
12424fi
12425
12426          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12427
12428          archive_expsym_cmds_CXX='$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"
12429        else
12430          if test "$host_cpu" = ia64; then
12431	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12432	    allow_undefined_flag_CXX="-z nodefs"
12433	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12434          else
12435	    # Determine the default libpath from the value encoded in an
12436	    # empty executable.
12437	    if test "${lt_cv_aix_libpath+set}" = set; then
12438  aix_libpath=$lt_cv_aix_libpath
12439else
12440  if ${lt_cv_aix_libpath__CXX+:} false; then :
12441  $as_echo_n "(cached) " >&6
12442else
12443  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444/* end confdefs.h.  */
12445
12446int
12447main ()
12448{
12449
12450  ;
12451  return 0;
12452}
12453_ACEOF
12454if ac_fn_cxx_try_link "$LINENO"; then :
12455
12456  lt_aix_libpath_sed='
12457      /Import File Strings/,/^$/ {
12458	  /^0/ {
12459	      s/^0  *\([^ ]*\) *$/\1/
12460	      p
12461	  }
12462      }'
12463  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12464  # Check for a 64-bit object if we didn't find anything.
12465  if test -z "$lt_cv_aix_libpath__CXX"; then
12466    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467  fi
12468fi
12469rm -f core conftest.err conftest.$ac_objext \
12470    conftest$ac_exeext conftest.$ac_ext
12471  if test -z "$lt_cv_aix_libpath__CXX"; then
12472    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12473  fi
12474
12475fi
12476
12477  aix_libpath=$lt_cv_aix_libpath__CXX
12478fi
12479
12480	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12481	    # Warning - without using the other run time loading flags,
12482	    # -berok will link without error, but may produce a broken library.
12483	    no_undefined_flag_CXX=' ${wl}-bernotok'
12484	    allow_undefined_flag_CXX=' ${wl}-berok'
12485	    if test "$with_gnu_ld" = yes; then
12486	      # We only use this code for GNU lds that support --whole-archive.
12487	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12488	    else
12489	      # Exported symbols can be pulled into shared objects from archives
12490	      whole_archive_flag_spec_CXX='$convenience'
12491	    fi
12492	    archive_cmds_need_lc_CXX=yes
12493	    # This is similar to how AIX traditionally builds its shared
12494	    # libraries.
12495	    archive_expsym_cmds_CXX="\$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'
12496          fi
12497        fi
12498        ;;
12499
12500      beos*)
12501	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12502	  allow_undefined_flag_CXX=unsupported
12503	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12504	  # support --undefined.  This deserves some investigation.  FIXME
12505	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12506	else
12507	  ld_shlibs_CXX=no
12508	fi
12509	;;
12510
12511      chorus*)
12512        case $cc_basename in
12513          *)
12514	  # FIXME: insert proper C++ library support
12515	  ld_shlibs_CXX=no
12516	  ;;
12517        esac
12518        ;;
12519
12520      cygwin* | mingw* | pw32* | cegcc*)
12521	case $GXX,$cc_basename in
12522	,cl* | no,cl*)
12523	  # Native MSVC
12524	  # hardcode_libdir_flag_spec is actually meaningless, as there is
12525	  # no search path for DLLs.
12526	  hardcode_libdir_flag_spec_CXX=' '
12527	  allow_undefined_flag_CXX=unsupported
12528	  always_export_symbols_CXX=yes
12529	  file_list_spec_CXX='@'
12530	  # Tell ltmain to make .lib files, not .a files.
12531	  libext=lib
12532	  # Tell ltmain to make .dll files, not .so files.
12533	  shrext_cmds=".dll"
12534	  # FIXME: Setting linknames here is a bad hack.
12535	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12536	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12537	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12538	    else
12539	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12540	    fi~
12541	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12542	    linknames='
12543	  # The linker will not automatically build a static lib if we build a DLL.
12544	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12545	  enable_shared_with_static_runtimes_CXX=yes
12546	  # Don't use ranlib
12547	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
12548	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12549	    lt_tool_outputfile="@TOOL_OUTPUT@"~
12550	    case $lt_outputfile in
12551	      *.exe|*.EXE) ;;
12552	      *)
12553		lt_outputfile="$lt_outputfile.exe"
12554		lt_tool_outputfile="$lt_tool_outputfile.exe"
12555		;;
12556	    esac~
12557	    func_to_tool_file "$lt_outputfile"~
12558	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12559	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12560	      $RM "$lt_outputfile.manifest";
12561	    fi'
12562	  ;;
12563	*)
12564	  # g++
12565	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12566	  # as there is no search path for DLLs.
12567	  hardcode_libdir_flag_spec_CXX='-L$libdir'
12568	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12569	  allow_undefined_flag_CXX=unsupported
12570	  always_export_symbols_CXX=no
12571	  enable_shared_with_static_runtimes_CXX=yes
12572
12573	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12574	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12575	    # If the export-symbols file already is a .def file (1st line
12576	    # is EXPORTS), use it as is; otherwise, prepend...
12577	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12578	      cp $export_symbols $output_objdir/$soname.def;
12579	    else
12580	      echo EXPORTS > $output_objdir/$soname.def;
12581	      cat $export_symbols >> $output_objdir/$soname.def;
12582	    fi~
12583	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12584	  else
12585	    ld_shlibs_CXX=no
12586	  fi
12587	  ;;
12588	esac
12589	;;
12590      darwin* | rhapsody*)
12591
12592
12593  archive_cmds_need_lc_CXX=no
12594  hardcode_direct_CXX=no
12595  hardcode_automatic_CXX=yes
12596  hardcode_shlibpath_var_CXX=unsupported
12597  if test "$lt_cv_ld_force_load" = "yes"; then
12598    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12599  else
12600    whole_archive_flag_spec_CXX=''
12601  fi
12602  link_all_deplibs_CXX=yes
12603  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12604  case $cc_basename in
12605     ifort*) _lt_dar_can_shared=yes ;;
12606     *) _lt_dar_can_shared=$GCC ;;
12607  esac
12608  if test "$_lt_dar_can_shared" = "yes"; then
12609    output_verbose_link_cmd=func_echo_all
12610    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12611    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12612    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12613    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12614       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12615      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12616      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12617    fi
12618
12619  else
12620  ld_shlibs_CXX=no
12621  fi
12622
12623	;;
12624
12625      dgux*)
12626        case $cc_basename in
12627          ec++*)
12628	    # FIXME: insert proper C++ library support
12629	    ld_shlibs_CXX=no
12630	    ;;
12631          ghcx*)
12632	    # Green Hills C++ Compiler
12633	    # FIXME: insert proper C++ library support
12634	    ld_shlibs_CXX=no
12635	    ;;
12636          *)
12637	    # FIXME: insert proper C++ library support
12638	    ld_shlibs_CXX=no
12639	    ;;
12640        esac
12641        ;;
12642
12643      freebsd[12]*)
12644        # C++ shared libraries reported to be fairly broken before
12645	# switch to ELF
12646        ld_shlibs_CXX=no
12647        ;;
12648
12649      freebsd-elf*)
12650        archive_cmds_need_lc_CXX=no
12651        ;;
12652
12653      freebsd* | dragonfly*)
12654        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12655        # conventions
12656        ld_shlibs_CXX=yes
12657        ;;
12658
12659      gnu*)
12660        ;;
12661
12662      haiku*)
12663        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12664        link_all_deplibs_CXX=yes
12665        ;;
12666
12667      hpux9*)
12668        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12669        hardcode_libdir_separator_CXX=:
12670        export_dynamic_flag_spec_CXX='${wl}-E'
12671        hardcode_direct_CXX=yes
12672        hardcode_minus_L_CXX=yes # Not in the search PATH,
12673				             # but as the default
12674				             # location of the library.
12675
12676        case $cc_basename in
12677          CC*)
12678            # FIXME: insert proper C++ library support
12679            ld_shlibs_CXX=no
12680            ;;
12681          aCC*)
12682            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12683            # Commands to make compiler produce verbose output that lists
12684            # what "hidden" libraries, object files and flags are used when
12685            # linking a shared library.
12686            #
12687            # There doesn't appear to be a way to prevent this compiler from
12688            # explicitly linking system object files so we need to strip them
12689            # from the output so that they don't get included in the library
12690            # dependencies.
12691            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12692            ;;
12693          *)
12694            if test "$GXX" = yes; then
12695              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12696            else
12697              # FIXME: insert proper C++ library support
12698              ld_shlibs_CXX=no
12699            fi
12700            ;;
12701        esac
12702        ;;
12703
12704      hpux10*|hpux11*)
12705        if test $with_gnu_ld = no; then
12706	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12707	  hardcode_libdir_separator_CXX=:
12708
12709          case $host_cpu in
12710            hppa*64*|ia64*)
12711              ;;
12712            *)
12713	      export_dynamic_flag_spec_CXX='${wl}-E'
12714              ;;
12715          esac
12716        fi
12717        case $host_cpu in
12718          hppa*64*|ia64*)
12719            hardcode_direct_CXX=no
12720            hardcode_shlibpath_var_CXX=no
12721            ;;
12722          *)
12723            hardcode_direct_CXX=yes
12724            hardcode_direct_absolute_CXX=yes
12725            hardcode_minus_L_CXX=yes # Not in the search PATH,
12726					         # but as the default
12727					         # location of the library.
12728            ;;
12729        esac
12730
12731        case $cc_basename in
12732          CC*)
12733	    # FIXME: insert proper C++ library support
12734	    ld_shlibs_CXX=no
12735	    ;;
12736          aCC*)
12737	    case $host_cpu in
12738	      hppa*64*)
12739	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740	        ;;
12741	      ia64*)
12742	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12743	        ;;
12744	      *)
12745	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746	        ;;
12747	    esac
12748	    # Commands to make compiler produce verbose output that lists
12749	    # what "hidden" libraries, object files and flags are used when
12750	    # linking a shared library.
12751	    #
12752	    # There doesn't appear to be a way to prevent this compiler from
12753	    # explicitly linking system object files so we need to strip them
12754	    # from the output so that they don't get included in the library
12755	    # dependencies.
12756	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12757	    ;;
12758          *)
12759	    if test "$GXX" = yes; then
12760	      if test $with_gnu_ld = no; then
12761	        case $host_cpu in
12762	          hppa*64*)
12763	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764	            ;;
12765	          ia64*)
12766	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12767	            ;;
12768	          *)
12769	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770	            ;;
12771	        esac
12772	      fi
12773	    else
12774	      # FIXME: insert proper C++ library support
12775	      ld_shlibs_CXX=no
12776	    fi
12777	    ;;
12778        esac
12779        ;;
12780
12781      interix[3-9]*)
12782	hardcode_direct_CXX=no
12783	hardcode_shlibpath_var_CXX=no
12784	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12785	export_dynamic_flag_spec_CXX='${wl}-E'
12786	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12787	# Instead, shared libraries are loaded at an image base (0x10000000 by
12788	# default) and relocated if they conflict, which is a slow very memory
12789	# consuming and fragmenting process.  To avoid this, we pick a random,
12790	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12791	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12792	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12793	archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12794	;;
12795      irix5* | irix6*)
12796        case $cc_basename in
12797          CC*)
12798	    # SGI C++
12799	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12800
12801	    # Archives containing C++ object files must be created using
12802	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12803	    # necessary to make sure instantiated templates are included
12804	    # in the archive.
12805	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12806	    ;;
12807          *)
12808	    if test "$GXX" = yes; then
12809	      if test "$with_gnu_ld" = no; then
12810	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12811	      else
12812	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12813	      fi
12814	    fi
12815	    link_all_deplibs_CXX=yes
12816	    ;;
12817        esac
12818        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12819        hardcode_libdir_separator_CXX=:
12820        inherit_rpath_CXX=yes
12821        ;;
12822
12823      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12824        case $cc_basename in
12825          KCC*)
12826	    # Kuck and Associates, Inc. (KAI) C++ Compiler
12827
12828	    # KCC will only create a shared library if the output file
12829	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
12830	    # to its proper name (with version) after linking.
12831	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12832	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12833	    # Commands to make compiler produce verbose output that lists
12834	    # what "hidden" libraries, object files and flags are used when
12835	    # linking a shared library.
12836	    #
12837	    # There doesn't appear to be a way to prevent this compiler from
12838	    # explicitly linking system object files so we need to strip them
12839	    # from the output so that they don't get included in the library
12840	    # dependencies.
12841	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12842
12843	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12844	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12845
12846	    # Archives containing C++ object files must be created using
12847	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12848	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12849	    ;;
12850	  icpc* | ecpc* )
12851	    # Intel C++
12852	    with_gnu_ld=yes
12853	    # version 8.0 and above of icpc choke on multiply defined symbols
12854	    # if we add $predep_objects and $postdep_objects, however 7.1 and
12855	    # earlier do not add the objects themselves.
12856	    case `$CC -V 2>&1` in
12857	      *"Version 7."*)
12858	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12860		;;
12861	      *)  # Version 8.0 or newer
12862	        tmp_idyn=
12863	        case $host_cpu in
12864		  ia64*) tmp_idyn=' -i_dynamic';;
12865		esac
12866	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12867		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12868		;;
12869	    esac
12870	    archive_cmds_need_lc_CXX=no
12871	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12872	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12873	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12874	    ;;
12875          pgCC* | pgcpp*)
12876            # Portland Group C++ compiler
12877	    case `$CC -V` in
12878	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12879	      prelink_cmds_CXX='tpldir=Template.dir~
12880		rm -rf $tpldir~
12881		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12882		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12883	      old_archive_cmds_CXX='tpldir=Template.dir~
12884		rm -rf $tpldir~
12885		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12886		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12887		$RANLIB $oldlib'
12888	      archive_cmds_CXX='tpldir=Template.dir~
12889		rm -rf $tpldir~
12890		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12891		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12892	      archive_expsym_cmds_CXX='tpldir=Template.dir~
12893		rm -rf $tpldir~
12894		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12895		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12896	      ;;
12897	    *) # Version 6 and above use weak symbols
12898	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12899	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12900	      ;;
12901	    esac
12902
12903	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12904	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12905	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12906            ;;
12907	  cxx*)
12908	    # Compaq C++
12909	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12910	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12911
12912	    runpath_var=LD_RUN_PATH
12913	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12914	    hardcode_libdir_separator_CXX=:
12915
12916	    # Commands to make compiler produce verbose output that lists
12917	    # what "hidden" libraries, object files and flags are used when
12918	    # linking a shared library.
12919	    #
12920	    # There doesn't appear to be a way to prevent this compiler from
12921	    # explicitly linking system object files so we need to strip them
12922	    # from the output so that they don't get included in the library
12923	    # dependencies.
12924	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12925	    ;;
12926	  xl* | mpixl* | bgxl*)
12927	    # IBM XL 8.0 on PPC, with GNU ld
12928	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12929	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12930	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12931	    if test "x$supports_anon_versioning" = xyes; then
12932	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12933		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12934		echo "local: *; };" >> $output_objdir/$libname.ver~
12935		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12936	    fi
12937	    ;;
12938	  *)
12939	    case `$CC -V 2>&1 | sed 5q` in
12940	    *Sun\ C*)
12941	      # Sun C++ 5.9
12942	      no_undefined_flag_CXX=' -zdefs'
12943	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12944	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12945	      hardcode_libdir_flag_spec_CXX='-R$libdir'
12946	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12947	      compiler_needs_object_CXX=yes
12948
12949	      # Not sure whether something based on
12950	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12951	      # would be better.
12952	      output_verbose_link_cmd='func_echo_all'
12953
12954	      # Archives containing C++ object files must be created using
12955	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12956	      # necessary to make sure instantiated templates are included
12957	      # in the archive.
12958	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12959	      ;;
12960	    esac
12961	    ;;
12962	esac
12963	;;
12964
12965      lynxos*)
12966        # FIXME: insert proper C++ library support
12967	ld_shlibs_CXX=no
12968	;;
12969
12970      m88k*)
12971        # FIXME: insert proper C++ library support
12972        ld_shlibs_CXX=no
12973	;;
12974
12975      mvs*)
12976        case $cc_basename in
12977          cxx*)
12978	    # FIXME: insert proper C++ library support
12979	    ld_shlibs_CXX=no
12980	    ;;
12981	  *)
12982	    # FIXME: insert proper C++ library support
12983	    ld_shlibs_CXX=no
12984	    ;;
12985	esac
12986	;;
12987
12988      netbsd*)
12989        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12990	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12991	  wlarc=
12992	  hardcode_libdir_flag_spec_CXX='-R$libdir'
12993	  hardcode_direct_CXX=yes
12994	  hardcode_shlibpath_var_CXX=no
12995	fi
12996	# Workaround some broken pre-1.5 toolchains
12997	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12998	;;
12999
13000      *nto* | *qnx*)
13001        ld_shlibs_CXX=yes
13002	;;
13003
13004      openbsd2*)
13005        # C++ shared libraries are fairly broken
13006	ld_shlibs_CXX=no
13007	;;
13008
13009      openbsd*)
13010	if test -f /usr/libexec/ld.so; then
13011	  hardcode_direct_CXX=yes
13012	  hardcode_shlibpath_var_CXX=no
13013	  hardcode_direct_absolute_CXX=yes
13014	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13015	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13016	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13017	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13018	    export_dynamic_flag_spec_CXX='${wl}-E'
13019	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13020	  fi
13021	  output_verbose_link_cmd=func_echo_all
13022	else
13023	  ld_shlibs_CXX=no
13024	fi
13025	;;
13026
13027      osf3* | osf4* | osf5*)
13028        case $cc_basename in
13029          KCC*)
13030	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13031
13032	    # KCC will only create a shared library if the output file
13033	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13034	    # to its proper name (with version) after linking.
13035	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13036
13037	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13038	    hardcode_libdir_separator_CXX=:
13039
13040	    # Archives containing C++ object files must be created using
13041	    # the KAI C++ compiler.
13042	    case $host in
13043	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13044	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13045	    esac
13046	    ;;
13047          RCC*)
13048	    # Rational C++ 2.4.1
13049	    # FIXME: insert proper C++ library support
13050	    ld_shlibs_CXX=no
13051	    ;;
13052          cxx*)
13053	    case $host in
13054	      osf3*)
13055	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13056	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13057	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13058		;;
13059	      *)
13060	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13061	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13062	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13063	          echo "-hidden">> $lib.exp~
13064	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13065	          $RM $lib.exp'
13066	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13067		;;
13068	    esac
13069
13070	    hardcode_libdir_separator_CXX=:
13071
13072	    # Commands to make compiler produce verbose output that lists
13073	    # what "hidden" libraries, object files and flags are used when
13074	    # linking a shared library.
13075	    #
13076	    # There doesn't appear to be a way to prevent this compiler from
13077	    # explicitly linking system object files so we need to strip them
13078	    # from the output so that they don't get included in the library
13079	    # dependencies.
13080	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13081	    ;;
13082	  *)
13083	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13084	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13085	      case $host in
13086	        osf3*)
13087	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13088		  ;;
13089	        *)
13090	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13091		  ;;
13092	      esac
13093
13094	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13095	      hardcode_libdir_separator_CXX=:
13096
13097	      # Commands to make compiler produce verbose output that lists
13098	      # what "hidden" libraries, object files and flags are used when
13099	      # linking a shared library.
13100	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13101
13102	    else
13103	      # FIXME: insert proper C++ library support
13104	      ld_shlibs_CXX=no
13105	    fi
13106	    ;;
13107        esac
13108        ;;
13109
13110      psos*)
13111        # FIXME: insert proper C++ library support
13112        ld_shlibs_CXX=no
13113        ;;
13114
13115      sunos4*)
13116        case $cc_basename in
13117          CC*)
13118	    # Sun C++ 4.x
13119	    # FIXME: insert proper C++ library support
13120	    ld_shlibs_CXX=no
13121	    ;;
13122          lcc*)
13123	    # Lucid
13124	    # FIXME: insert proper C++ library support
13125	    ld_shlibs_CXX=no
13126	    ;;
13127          *)
13128	    # FIXME: insert proper C++ library support
13129	    ld_shlibs_CXX=no
13130	    ;;
13131        esac
13132        ;;
13133
13134      solaris*)
13135        case $cc_basename in
13136          CC* | sunCC*)
13137	    # Sun C++ 4.2, 5.x and Centerline C++
13138            archive_cmds_need_lc_CXX=yes
13139	    no_undefined_flag_CXX=' -zdefs'
13140	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13141	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13142	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13143
13144	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13145	    hardcode_shlibpath_var_CXX=no
13146	    case $host_os in
13147	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13148	      *)
13149		# The compiler driver will combine and reorder linker options,
13150		# but understands `-z linker_flag'.
13151	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13152		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13153	        ;;
13154	    esac
13155	    link_all_deplibs_CXX=yes
13156
13157	    output_verbose_link_cmd='func_echo_all'
13158
13159	    # Archives containing C++ object files must be created using
13160	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13161	    # necessary to make sure instantiated templates are included
13162	    # in the archive.
13163	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13164	    ;;
13165          gcx*)
13166	    # Green Hills C++ Compiler
13167	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13168
13169	    # The C++ compiler must be used to create the archive.
13170	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13171	    ;;
13172          *)
13173	    # GNU C++ compiler with Solaris linker
13174	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13175	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13176	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13177	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13178	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13179		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13180
13181	        # Commands to make compiler produce verbose output that lists
13182	        # what "hidden" libraries, object files and flags are used when
13183	        # linking a shared library.
13184	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13185	      else
13186	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13187	        # platform.
13188	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13189	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13190		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13191
13192	        # Commands to make compiler produce verbose output that lists
13193	        # what "hidden" libraries, object files and flags are used when
13194	        # linking a shared library.
13195	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13196	      fi
13197
13198	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13199	      case $host_os in
13200		solaris2.[0-5] | solaris2.[0-5].*) ;;
13201		*)
13202		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13203		  ;;
13204	      esac
13205	    fi
13206	    ;;
13207        esac
13208        ;;
13209
13210    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13211      no_undefined_flag_CXX='${wl}-z,text'
13212      archive_cmds_need_lc_CXX=no
13213      hardcode_shlibpath_var_CXX=no
13214      runpath_var='LD_RUN_PATH'
13215
13216      case $cc_basename in
13217        CC*)
13218	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220	  ;;
13221	*)
13222	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224	  ;;
13225      esac
13226      ;;
13227
13228      sysv5* | sco3.2v5* | sco5v6*)
13229	# Note: We can NOT use -z defs as we might desire, because we do not
13230	# link with -lc, and that would cause any symbols used from libc to
13231	# always be unresolved, which means just about no library would
13232	# ever link correctly.  If we're not using GNU ld we use -z text
13233	# though, which does catch some bad symbols but isn't as heavy-handed
13234	# as -z defs.
13235	no_undefined_flag_CXX='${wl}-z,text'
13236	allow_undefined_flag_CXX='${wl}-z,nodefs'
13237	archive_cmds_need_lc_CXX=no
13238	hardcode_shlibpath_var_CXX=no
13239	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13240	hardcode_libdir_separator_CXX=':'
13241	link_all_deplibs_CXX=yes
13242	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13243	runpath_var='LD_RUN_PATH'
13244
13245	case $cc_basename in
13246          CC*)
13247	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13250	      '"$old_archive_cmds_CXX"
13251	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13252	      '"$reload_cmds_CXX"
13253	    ;;
13254	  *)
13255	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13256	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257	    ;;
13258	esac
13259      ;;
13260
13261      tandem*)
13262        case $cc_basename in
13263          NCC*)
13264	    # NonStop-UX NCC 3.20
13265	    # FIXME: insert proper C++ library support
13266	    ld_shlibs_CXX=no
13267	    ;;
13268          *)
13269	    # FIXME: insert proper C++ library support
13270	    ld_shlibs_CXX=no
13271	    ;;
13272        esac
13273        ;;
13274
13275      vxworks*)
13276        # FIXME: insert proper C++ library support
13277        ld_shlibs_CXX=no
13278        ;;
13279
13280      *)
13281        # FIXME: insert proper C++ library support
13282        ld_shlibs_CXX=no
13283        ;;
13284    esac
13285
13286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13287$as_echo "$ld_shlibs_CXX" >&6; }
13288    test "$ld_shlibs_CXX" = no && can_build_shared=no
13289
13290    GCC_CXX="$GXX"
13291    LD_CXX="$LD"
13292
13293    ## CAVEAT EMPTOR:
13294    ## There is no encapsulation within the following macros, do not change
13295    ## the running order or otherwise move them around unless you know exactly
13296    ## what you are doing...
13297    # Dependencies to place before and after the object being linked:
13298predep_objects_CXX=
13299postdep_objects_CXX=
13300predeps_CXX=
13301postdeps_CXX=
13302compiler_lib_search_path_CXX=
13303
13304cat > conftest.$ac_ext <<_LT_EOF
13305class Foo
13306{
13307public:
13308  Foo (void) { a = 0; }
13309private:
13310  int a;
13311};
13312_LT_EOF
13313
13314
13315_lt_libdeps_save_CFLAGS=$CFLAGS
13316case "$CC $CFLAGS " in #(
13317*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13318*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13319esac
13320
13321if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13322  (eval $ac_compile) 2>&5
13323  ac_status=$?
13324  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13325  test $ac_status = 0; }; then
13326  # Parse the compiler output and extract the necessary
13327  # objects, libraries and library flags.
13328
13329  # Sentinel used to keep track of whether or not we are before
13330  # the conftest object file.
13331  pre_test_object_deps_done=no
13332
13333  for p in `eval "$output_verbose_link_cmd"`; do
13334    case ${prev}${p} in
13335
13336    -L* | -R* | -l*)
13337       # Some compilers place space between "-{L,R}" and the path.
13338       # Remove the space.
13339       if test $p = "-L" ||
13340          test $p = "-R"; then
13341	 prev=$p
13342	 continue
13343       fi
13344
13345       # Expand the sysroot to ease extracting the directories later.
13346       if test -z "$prev"; then
13347         case $p in
13348         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13349         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13350         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13351         esac
13352       fi
13353       case $p in
13354       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13355       esac
13356       if test "$pre_test_object_deps_done" = no; then
13357	 case ${prev} in
13358	 -L | -R)
13359	   # Internal compiler library paths should come after those
13360	   # provided the user.  The postdeps already come after the
13361	   # user supplied libs so there is no need to process them.
13362	   if test -z "$compiler_lib_search_path_CXX"; then
13363	     compiler_lib_search_path_CXX="${prev}${p}"
13364	   else
13365	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13366	   fi
13367	   ;;
13368	 # The "-l" case would never come before the object being
13369	 # linked, so don't bother handling this case.
13370	 esac
13371       else
13372	 if test -z "$postdeps_CXX"; then
13373	   postdeps_CXX="${prev}${p}"
13374	 else
13375	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13376	 fi
13377       fi
13378       prev=
13379       ;;
13380
13381    *.lto.$objext) ;; # Ignore GCC LTO objects
13382    *.$objext)
13383       # This assumes that the test object file only shows up
13384       # once in the compiler output.
13385       if test "$p" = "conftest.$objext"; then
13386	 pre_test_object_deps_done=yes
13387	 continue
13388       fi
13389
13390       if test "$pre_test_object_deps_done" = no; then
13391	 if test -z "$predep_objects_CXX"; then
13392	   predep_objects_CXX="$p"
13393	 else
13394	   predep_objects_CXX="$predep_objects_CXX $p"
13395	 fi
13396       else
13397	 if test -z "$postdep_objects_CXX"; then
13398	   postdep_objects_CXX="$p"
13399	 else
13400	   postdep_objects_CXX="$postdep_objects_CXX $p"
13401	 fi
13402       fi
13403       ;;
13404
13405    *) ;; # Ignore the rest.
13406
13407    esac
13408  done
13409
13410  # Clean up.
13411  rm -f a.out a.exe
13412else
13413  echo "libtool.m4: error: problem compiling CXX test program"
13414fi
13415
13416$RM -f confest.$objext
13417CFLAGS=$_lt_libdeps_save_CFLAGS
13418
13419# PORTME: override above test on systems where it is broken
13420case $host_os in
13421interix[3-9]*)
13422  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13423  # hack all around it, let's just trust "g++" to DTRT.
13424  predep_objects_CXX=
13425  postdep_objects_CXX=
13426  postdeps_CXX=
13427  ;;
13428
13429linux*)
13430  case `$CC -V 2>&1 | sed 5q` in
13431  *Sun\ C*)
13432    # Sun C++ 5.9
13433
13434    # The more standards-conforming stlport4 library is
13435    # incompatible with the Cstd library. Avoid specifying
13436    # it if it's in CXXFLAGS. Ignore libCrun as
13437    # -library=stlport4 depends on it.
13438    case " $CXX $CXXFLAGS " in
13439    *" -library=stlport4 "*)
13440      solaris_use_stlport4=yes
13441      ;;
13442    esac
13443
13444    if test "$solaris_use_stlport4" != yes; then
13445      postdeps_CXX='-library=Cstd -library=Crun'
13446    fi
13447    ;;
13448  esac
13449  ;;
13450
13451solaris*)
13452  case $cc_basename in
13453  CC* | sunCC*)
13454    # The more standards-conforming stlport4 library is
13455    # incompatible with the Cstd library. Avoid specifying
13456    # it if it's in CXXFLAGS. Ignore libCrun as
13457    # -library=stlport4 depends on it.
13458    case " $CXX $CXXFLAGS " in
13459    *" -library=stlport4 "*)
13460      solaris_use_stlport4=yes
13461      ;;
13462    esac
13463
13464    # Adding this requires a known-good setup of shared libraries for
13465    # Sun compiler versions before 5.6, else PIC objects from an old
13466    # archive will be linked into the output, leading to subtle bugs.
13467    if test "$solaris_use_stlport4" != yes; then
13468      postdeps_CXX='-library=Cstd -library=Crun'
13469    fi
13470    ;;
13471  esac
13472  ;;
13473esac
13474
13475
13476case " $postdeps_CXX " in
13477*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13478esac
13479 compiler_lib_search_dirs_CXX=
13480if test -n "${compiler_lib_search_path_CXX}"; then
13481 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13482fi
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514    lt_prog_compiler_wl_CXX=
13515lt_prog_compiler_pic_CXX=
13516lt_prog_compiler_static_CXX=
13517
13518
13519  # C++ specific cases for pic, static, wl, etc.
13520  if test "$GXX" = yes; then
13521    lt_prog_compiler_wl_CXX='-Wl,'
13522    lt_prog_compiler_static_CXX='-static'
13523
13524    case $host_os in
13525    aix*)
13526      # All AIX code is PIC.
13527      if test "$host_cpu" = ia64; then
13528	# AIX 5 now supports IA64 processor
13529	lt_prog_compiler_static_CXX='-Bstatic'
13530      fi
13531      ;;
13532
13533    amigaos*)
13534      case $host_cpu in
13535      powerpc)
13536            # see comment about AmigaOS4 .so support
13537            lt_prog_compiler_pic_CXX='-fPIC'
13538        ;;
13539      m68k)
13540            # FIXME: we need at least 68020 code to build shared libraries, but
13541            # adding the `-m68020' flag to GCC prevents building anything better,
13542            # like `-m68040'.
13543            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13544        ;;
13545      esac
13546      ;;
13547
13548    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13549      # PIC is the default for these OSes.
13550      ;;
13551    mingw* | cygwin* | os2* | pw32* | cegcc*)
13552      # This hack is so that the source file can tell whether it is being
13553      # built for inclusion in a dll (and should export symbols for example).
13554      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13555      # (--disable-auto-import) libraries
13556      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13557      ;;
13558    darwin* | rhapsody*)
13559      # PIC is the default on this platform
13560      # Common symbols not allowed in MH_DYLIB files
13561      lt_prog_compiler_pic_CXX='-fno-common'
13562      ;;
13563    *djgpp*)
13564      # DJGPP does not support shared libraries at all
13565      lt_prog_compiler_pic_CXX=
13566      ;;
13567    haiku*)
13568      # PIC is the default for Haiku.
13569      # The "-static" flag exists, but is broken.
13570      lt_prog_compiler_static_CXX=
13571      ;;
13572    interix[3-9]*)
13573      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13574      # Instead, we relocate shared libraries at runtime.
13575      ;;
13576    sysv4*MP*)
13577      if test -d /usr/nec; then
13578	lt_prog_compiler_pic_CXX=-Kconform_pic
13579      fi
13580      ;;
13581    hpux*)
13582      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13583      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13584      # sets the default TLS model and affects inlining.
13585      case $host_cpu in
13586      hppa*64*)
13587	;;
13588      *)
13589	lt_prog_compiler_pic_CXX='-fPIC'
13590	;;
13591      esac
13592      ;;
13593    *qnx* | *nto*)
13594      # QNX uses GNU C++, but need to define -shared option too, otherwise
13595      # it will coredump.
13596      lt_prog_compiler_pic_CXX='-fPIC -shared'
13597      ;;
13598    *)
13599      lt_prog_compiler_pic_CXX='-fPIC'
13600      ;;
13601    esac
13602  else
13603    case $host_os in
13604      aix[4-9]*)
13605	# All AIX code is PIC.
13606	if test "$host_cpu" = ia64; then
13607	  # AIX 5 now supports IA64 processor
13608	  lt_prog_compiler_static_CXX='-Bstatic'
13609	else
13610	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13611	fi
13612	;;
13613      chorus*)
13614	case $cc_basename in
13615	cxch68*)
13616	  # Green Hills C++ Compiler
13617	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13618	  ;;
13619	esac
13620	;;
13621      mingw* | cygwin* | os2* | pw32* | cegcc*)
13622	# This hack is so that the source file can tell whether it is being
13623	# built for inclusion in a dll (and should export symbols for example).
13624	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13625	;;
13626      dgux*)
13627	case $cc_basename in
13628	  ec++*)
13629	    lt_prog_compiler_pic_CXX='-KPIC'
13630	    ;;
13631	  ghcx*)
13632	    # Green Hills C++ Compiler
13633	    lt_prog_compiler_pic_CXX='-pic'
13634	    ;;
13635	  *)
13636	    ;;
13637	esac
13638	;;
13639      freebsd* | dragonfly*)
13640	# FreeBSD uses GNU C++
13641	;;
13642      hpux9* | hpux10* | hpux11*)
13643	case $cc_basename in
13644	  CC*)
13645	    lt_prog_compiler_wl_CXX='-Wl,'
13646	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13647	    if test "$host_cpu" != ia64; then
13648	      lt_prog_compiler_pic_CXX='+Z'
13649	    fi
13650	    ;;
13651	  aCC*)
13652	    lt_prog_compiler_wl_CXX='-Wl,'
13653	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13654	    case $host_cpu in
13655	    hppa*64*|ia64*)
13656	      # +Z the default
13657	      ;;
13658	    *)
13659	      lt_prog_compiler_pic_CXX='+Z'
13660	      ;;
13661	    esac
13662	    ;;
13663	  *)
13664	    ;;
13665	esac
13666	;;
13667      interix*)
13668	# This is c89, which is MS Visual C++ (no shared libs)
13669	# Anyone wants to do a port?
13670	;;
13671      irix5* | irix6* | nonstopux*)
13672	case $cc_basename in
13673	  CC*)
13674	    lt_prog_compiler_wl_CXX='-Wl,'
13675	    lt_prog_compiler_static_CXX='-non_shared'
13676	    # CC pic flag -KPIC is the default.
13677	    ;;
13678	  *)
13679	    ;;
13680	esac
13681	;;
13682      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13683	case $cc_basename in
13684	  KCC*)
13685	    # KAI C++ Compiler
13686	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13687	    lt_prog_compiler_pic_CXX='-fPIC'
13688	    ;;
13689	  ecpc* )
13690	    # old Intel C++ for x86_64 which still supported -KPIC.
13691	    lt_prog_compiler_wl_CXX='-Wl,'
13692	    lt_prog_compiler_pic_CXX='-KPIC'
13693	    lt_prog_compiler_static_CXX='-static'
13694	    ;;
13695	  icpc* )
13696	    # Intel C++, used to be incompatible with GCC.
13697	    # ICC 10 doesn't accept -KPIC any more.
13698	    lt_prog_compiler_wl_CXX='-Wl,'
13699	    lt_prog_compiler_pic_CXX='-fPIC'
13700	    lt_prog_compiler_static_CXX='-static'
13701	    ;;
13702	  pgCC* | pgcpp*)
13703	    # Portland Group C++ compiler
13704	    lt_prog_compiler_wl_CXX='-Wl,'
13705	    lt_prog_compiler_pic_CXX='-fpic'
13706	    lt_prog_compiler_static_CXX='-Bstatic'
13707	    ;;
13708	  cxx*)
13709	    # Compaq C++
13710	    # Make sure the PIC flag is empty.  It appears that all Alpha
13711	    # Linux and Compaq Tru64 Unix objects are PIC.
13712	    lt_prog_compiler_pic_CXX=
13713	    lt_prog_compiler_static_CXX='-non_shared'
13714	    ;;
13715	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13716	    # IBM XL 8.0, 9.0 on PPC and BlueGene
13717	    lt_prog_compiler_wl_CXX='-Wl,'
13718	    lt_prog_compiler_pic_CXX='-qpic'
13719	    lt_prog_compiler_static_CXX='-qstaticlink'
13720	    ;;
13721	  *)
13722	    case `$CC -V 2>&1 | sed 5q` in
13723	    *Sun\ C*)
13724	      # Sun C++ 5.9
13725	      lt_prog_compiler_pic_CXX='-KPIC'
13726	      lt_prog_compiler_static_CXX='-Bstatic'
13727	      lt_prog_compiler_wl_CXX='-Qoption ld '
13728	      ;;
13729	    esac
13730	    ;;
13731	esac
13732	;;
13733      lynxos*)
13734	;;
13735      m88k*)
13736	;;
13737      mvs*)
13738	case $cc_basename in
13739	  cxx*)
13740	    lt_prog_compiler_pic_CXX='-W c,exportall'
13741	    ;;
13742	  *)
13743	    ;;
13744	esac
13745	;;
13746      netbsd*)
13747	;;
13748      *qnx* | *nto*)
13749        # QNX uses GNU C++, but need to define -shared option too, otherwise
13750        # it will coredump.
13751        lt_prog_compiler_pic_CXX='-fPIC -shared'
13752        ;;
13753      osf3* | osf4* | osf5*)
13754	case $cc_basename in
13755	  KCC*)
13756	    lt_prog_compiler_wl_CXX='--backend -Wl,'
13757	    ;;
13758	  RCC*)
13759	    # Rational C++ 2.4.1
13760	    lt_prog_compiler_pic_CXX='-pic'
13761	    ;;
13762	  cxx*)
13763	    # Digital/Compaq C++
13764	    lt_prog_compiler_wl_CXX='-Wl,'
13765	    # Make sure the PIC flag is empty.  It appears that all Alpha
13766	    # Linux and Compaq Tru64 Unix objects are PIC.
13767	    lt_prog_compiler_pic_CXX=
13768	    lt_prog_compiler_static_CXX='-non_shared'
13769	    ;;
13770	  *)
13771	    ;;
13772	esac
13773	;;
13774      psos*)
13775	;;
13776      solaris*)
13777	case $cc_basename in
13778	  CC* | sunCC*)
13779	    # Sun C++ 4.2, 5.x and Centerline C++
13780	    lt_prog_compiler_pic_CXX='-KPIC'
13781	    lt_prog_compiler_static_CXX='-Bstatic'
13782	    lt_prog_compiler_wl_CXX='-Qoption ld '
13783	    ;;
13784	  gcx*)
13785	    # Green Hills C++ Compiler
13786	    lt_prog_compiler_pic_CXX='-PIC'
13787	    ;;
13788	  *)
13789	    ;;
13790	esac
13791	;;
13792      sunos4*)
13793	case $cc_basename in
13794	  CC*)
13795	    # Sun C++ 4.x
13796	    lt_prog_compiler_pic_CXX='-pic'
13797	    lt_prog_compiler_static_CXX='-Bstatic'
13798	    ;;
13799	  lcc*)
13800	    # Lucid
13801	    lt_prog_compiler_pic_CXX='-pic'
13802	    ;;
13803	  *)
13804	    ;;
13805	esac
13806	;;
13807      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13808	case $cc_basename in
13809	  CC*)
13810	    lt_prog_compiler_wl_CXX='-Wl,'
13811	    lt_prog_compiler_pic_CXX='-KPIC'
13812	    lt_prog_compiler_static_CXX='-Bstatic'
13813	    ;;
13814	esac
13815	;;
13816      tandem*)
13817	case $cc_basename in
13818	  NCC*)
13819	    # NonStop-UX NCC 3.20
13820	    lt_prog_compiler_pic_CXX='-KPIC'
13821	    ;;
13822	  *)
13823	    ;;
13824	esac
13825	;;
13826      vxworks*)
13827	;;
13828      *)
13829	lt_prog_compiler_can_build_shared_CXX=no
13830	;;
13831    esac
13832  fi
13833
13834case $host_os in
13835  # For platforms which do not support PIC, -DPIC is meaningless:
13836  *djgpp*)
13837    lt_prog_compiler_pic_CXX=
13838    ;;
13839  *)
13840    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13841    ;;
13842esac
13843
13844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13845$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13846if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13847  $as_echo_n "(cached) " >&6
13848else
13849  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13850fi
13851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13852$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13853lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13854
13855#
13856# Check to make sure the PIC flag actually works.
13857#
13858if test -n "$lt_prog_compiler_pic_CXX"; then
13859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13860$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13861if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13862  $as_echo_n "(cached) " >&6
13863else
13864  lt_cv_prog_compiler_pic_works_CXX=no
13865   ac_outfile=conftest.$ac_objext
13866   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13867   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13868   # Insert the option either (1) after the last *FLAGS variable, or
13869   # (2) before a word containing "conftest.", or (3) at the end.
13870   # Note that $ac_compile itself does not contain backslashes and begins
13871   # with a dollar sign (not a hyphen), so the echo should work correctly.
13872   # The option is referenced via a variable to avoid confusing sed.
13873   lt_compile=`echo "$ac_compile" | $SED \
13874   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13875   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13876   -e 's:$: $lt_compiler_flag:'`
13877   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13878   (eval "$lt_compile" 2>conftest.err)
13879   ac_status=$?
13880   cat conftest.err >&5
13881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882   if (exit $ac_status) && test -s "$ac_outfile"; then
13883     # The compiler can only warn and ignore the option if not recognized
13884     # So say no if there are warnings other than the usual output.
13885     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13886     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13887     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13888       lt_cv_prog_compiler_pic_works_CXX=yes
13889     fi
13890   fi
13891   $RM conftest*
13892
13893fi
13894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13895$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13896
13897if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13898    case $lt_prog_compiler_pic_CXX in
13899     "" | " "*) ;;
13900     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13901     esac
13902else
13903    lt_prog_compiler_pic_CXX=
13904     lt_prog_compiler_can_build_shared_CXX=no
13905fi
13906
13907fi
13908
13909
13910
13911
13912
13913#
13914# Check to make sure the static flag actually works.
13915#
13916wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13918$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13919if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13920  $as_echo_n "(cached) " >&6
13921else
13922  lt_cv_prog_compiler_static_works_CXX=no
13923   save_LDFLAGS="$LDFLAGS"
13924   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13925   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13926   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13927     # The linker can only warn and ignore the option if not recognized
13928     # So say no if there are warnings
13929     if test -s conftest.err; then
13930       # Append any errors to the config.log.
13931       cat conftest.err 1>&5
13932       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13933       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13934       if diff conftest.exp conftest.er2 >/dev/null; then
13935         lt_cv_prog_compiler_static_works_CXX=yes
13936       fi
13937     else
13938       lt_cv_prog_compiler_static_works_CXX=yes
13939     fi
13940   fi
13941   $RM -r conftest*
13942   LDFLAGS="$save_LDFLAGS"
13943
13944fi
13945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13946$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13947
13948if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13949    :
13950else
13951    lt_prog_compiler_static_CXX=
13952fi
13953
13954
13955
13956
13957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13958$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13959if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13960  $as_echo_n "(cached) " >&6
13961else
13962  lt_cv_prog_compiler_c_o_CXX=no
13963   $RM -r conftest 2>/dev/null
13964   mkdir conftest
13965   cd conftest
13966   mkdir out
13967   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13968
13969   lt_compiler_flag="-o out/conftest2.$ac_objext"
13970   # Insert the option either (1) after the last *FLAGS variable, or
13971   # (2) before a word containing "conftest.", or (3) at the end.
13972   # Note that $ac_compile itself does not contain backslashes and begins
13973   # with a dollar sign (not a hyphen), so the echo should work correctly.
13974   lt_compile=`echo "$ac_compile" | $SED \
13975   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13976   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13977   -e 's:$: $lt_compiler_flag:'`
13978   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13979   (eval "$lt_compile" 2>out/conftest.err)
13980   ac_status=$?
13981   cat out/conftest.err >&5
13982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13984   then
13985     # The compiler can only warn and ignore the option if not recognized
13986     # So say no if there are warnings
13987     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13988     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13989     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13990       lt_cv_prog_compiler_c_o_CXX=yes
13991     fi
13992   fi
13993   chmod u+w . 2>&5
13994   $RM conftest*
13995   # SGI C++ compiler will create directory out/ii_files/ for
13996   # template instantiation
13997   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13998   $RM out/* && rmdir out
13999   cd ..
14000   $RM -r conftest
14001   $RM conftest*
14002
14003fi
14004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14005$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14006
14007
14008
14009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14010$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14011if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14012  $as_echo_n "(cached) " >&6
14013else
14014  lt_cv_prog_compiler_c_o_CXX=no
14015   $RM -r conftest 2>/dev/null
14016   mkdir conftest
14017   cd conftest
14018   mkdir out
14019   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14020
14021   lt_compiler_flag="-o out/conftest2.$ac_objext"
14022   # Insert the option either (1) after the last *FLAGS variable, or
14023   # (2) before a word containing "conftest.", or (3) at the end.
14024   # Note that $ac_compile itself does not contain backslashes and begins
14025   # with a dollar sign (not a hyphen), so the echo should work correctly.
14026   lt_compile=`echo "$ac_compile" | $SED \
14027   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14028   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14029   -e 's:$: $lt_compiler_flag:'`
14030   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14031   (eval "$lt_compile" 2>out/conftest.err)
14032   ac_status=$?
14033   cat out/conftest.err >&5
14034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14036   then
14037     # The compiler can only warn and ignore the option if not recognized
14038     # So say no if there are warnings
14039     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14040     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14041     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14042       lt_cv_prog_compiler_c_o_CXX=yes
14043     fi
14044   fi
14045   chmod u+w . 2>&5
14046   $RM conftest*
14047   # SGI C++ compiler will create directory out/ii_files/ for
14048   # template instantiation
14049   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14050   $RM out/* && rmdir out
14051   cd ..
14052   $RM -r conftest
14053   $RM conftest*
14054
14055fi
14056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14057$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14058
14059
14060
14061
14062hard_links="nottested"
14063if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14064  # do not overwrite the value of need_locks provided by the user
14065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14066$as_echo_n "checking if we can lock with hard links... " >&6; }
14067  hard_links=yes
14068  $RM conftest*
14069  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14070  touch conftest.a
14071  ln conftest.a conftest.b 2>&5 || hard_links=no
14072  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14074$as_echo "$hard_links" >&6; }
14075  if test "$hard_links" = no; then
14076    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14077$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14078    need_locks=warn
14079  fi
14080else
14081  need_locks=no
14082fi
14083
14084
14085
14086    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14087$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14088
14089  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14090  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14091  case $host_os in
14092  aix[4-9]*)
14093    # If we're using GNU nm, then we don't want the "-C" option.
14094    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14095    # Also, AIX nm treats weak defined symbols like other global defined
14096    # symbols, whereas GNU nm marks them as "W".
14097    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14098      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14099    else
14100      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14101    fi
14102    ;;
14103  pw32*)
14104    export_symbols_cmds_CXX="$ltdll_cmds"
14105    ;;
14106  cygwin* | mingw* | cegcc*)
14107    case $cc_basename in
14108    cl*) ;;
14109    *)
14110      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14111      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14112      ;;
14113    esac
14114    ;;
14115  *)
14116    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14117    ;;
14118  esac
14119
14120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14121$as_echo "$ld_shlibs_CXX" >&6; }
14122test "$ld_shlibs_CXX" = no && can_build_shared=no
14123
14124with_gnu_ld_CXX=$with_gnu_ld
14125
14126
14127
14128
14129
14130
14131#
14132# Do we need to explicitly link libc?
14133#
14134case "x$archive_cmds_need_lc_CXX" in
14135x|xyes)
14136  # Assume -lc should be added
14137  archive_cmds_need_lc_CXX=yes
14138
14139  if test "$enable_shared" = yes && test "$GCC" = yes; then
14140    case $archive_cmds_CXX in
14141    *'~'*)
14142      # FIXME: we may have to deal with multi-command sequences.
14143      ;;
14144    '$CC '*)
14145      # Test whether the compiler implicitly links with -lc since on some
14146      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14147      # to ld, don't add -lc before -lgcc.
14148      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14149$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14150if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14151  $as_echo_n "(cached) " >&6
14152else
14153  $RM conftest*
14154	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14155
14156	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14157  (eval $ac_compile) 2>&5
14158  ac_status=$?
14159  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160  test $ac_status = 0; } 2>conftest.err; then
14161	  soname=conftest
14162	  lib=conftest
14163	  libobjs=conftest.$ac_objext
14164	  deplibs=
14165	  wl=$lt_prog_compiler_wl_CXX
14166	  pic_flag=$lt_prog_compiler_pic_CXX
14167	  compiler_flags=-v
14168	  linker_flags=-v
14169	  verstring=
14170	  output_objdir=.
14171	  libname=conftest
14172	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14173	  allow_undefined_flag_CXX=
14174	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14175  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14176  ac_status=$?
14177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14178  test $ac_status = 0; }
14179	  then
14180	    lt_cv_archive_cmds_need_lc_CXX=no
14181	  else
14182	    lt_cv_archive_cmds_need_lc_CXX=yes
14183	  fi
14184	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14185	else
14186	  cat conftest.err 1>&5
14187	fi
14188	$RM conftest*
14189
14190fi
14191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14192$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14193      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14194      ;;
14195    esac
14196  fi
14197  ;;
14198esac
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14264$as_echo_n "checking dynamic linker characteristics... " >&6; }
14265
14266library_names_spec=
14267libname_spec='lib$name'
14268soname_spec=
14269shrext_cmds=".so"
14270postinstall_cmds=
14271postuninstall_cmds=
14272finish_cmds=
14273finish_eval=
14274shlibpath_var=
14275shlibpath_overrides_runpath=unknown
14276version_type=none
14277dynamic_linker="$host_os ld.so"
14278sys_lib_dlsearch_path_spec="/lib /usr/lib"
14279need_lib_prefix=unknown
14280hardcode_into_libs=no
14281
14282# when you set need_version to no, make sure it does not cause -set_version
14283# flags to be left without arguments
14284need_version=unknown
14285
14286case $host_os in
14287aix3*)
14288  version_type=linux
14289  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14290  shlibpath_var=LIBPATH
14291
14292  # AIX 3 has no versioning support, so we append a major version to the name.
14293  soname_spec='${libname}${release}${shared_ext}$major'
14294  ;;
14295
14296aix[4-9]*)
14297  version_type=linux
14298  need_lib_prefix=no
14299  need_version=no
14300  hardcode_into_libs=yes
14301  if test "$host_cpu" = ia64; then
14302    # AIX 5 supports IA64
14303    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14304    shlibpath_var=LD_LIBRARY_PATH
14305  else
14306    # With GCC up to 2.95.x, collect2 would create an import file
14307    # for dependence libraries.  The import file would start with
14308    # the line `#! .'.  This would cause the generated library to
14309    # depend on `.', always an invalid library.  This was fixed in
14310    # development snapshots of GCC prior to 3.0.
14311    case $host_os in
14312      aix4 | aix4.[01] | aix4.[01].*)
14313      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14314	   echo ' yes '
14315	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14316	:
14317      else
14318	can_build_shared=no
14319      fi
14320      ;;
14321    esac
14322    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14323    # soname into executable. Probably we can add versioning support to
14324    # collect2, so additional links can be useful in future.
14325    if test "$aix_use_runtimelinking" = yes; then
14326      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14327      # instead of lib<name>.a to let people know that these are not
14328      # typical AIX shared libraries.
14329      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14330    else
14331      # We preserve .a as extension for shared libraries through AIX4.2
14332      # and later when we are not doing run time linking.
14333      library_names_spec='${libname}${release}.a $libname.a'
14334      soname_spec='${libname}${release}${shared_ext}$major'
14335    fi
14336    shlibpath_var=LIBPATH
14337  fi
14338  ;;
14339
14340amigaos*)
14341  case $host_cpu in
14342  powerpc)
14343    # Since July 2007 AmigaOS4 officially supports .so libraries.
14344    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14345    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14346    ;;
14347  m68k)
14348    library_names_spec='$libname.ixlibrary $libname.a'
14349    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14350    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'
14351    ;;
14352  esac
14353  ;;
14354
14355beos*)
14356  library_names_spec='${libname}${shared_ext}'
14357  dynamic_linker="$host_os ld.so"
14358  shlibpath_var=LIBRARY_PATH
14359  ;;
14360
14361bsdi[45]*)
14362  version_type=linux
14363  need_version=no
14364  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14365  soname_spec='${libname}${release}${shared_ext}$major'
14366  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14367  shlibpath_var=LD_LIBRARY_PATH
14368  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14369  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14370  # the default ld.so.conf also contains /usr/contrib/lib and
14371  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14372  # libtool to hard-code these into programs
14373  ;;
14374
14375cygwin* | mingw* | pw32* | cegcc*)
14376  version_type=windows
14377  shrext_cmds=".dll"
14378  need_version=no
14379  need_lib_prefix=no
14380
14381  case $GCC,$cc_basename in
14382  yes,*)
14383    # gcc
14384    library_names_spec='$libname.dll.a'
14385    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14386    postinstall_cmds='base_file=`basename \${file}`~
14387      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14388      dldir=$destdir/`dirname \$dlpath`~
14389      test -d \$dldir || mkdir -p \$dldir~
14390      $install_prog $dir/$dlname \$dldir/$dlname~
14391      chmod a+x \$dldir/$dlname~
14392      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14393        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14394      fi'
14395    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14396      dlpath=$dir/\$dldll~
14397       $RM \$dlpath'
14398    shlibpath_overrides_runpath=yes
14399
14400    case $host_os in
14401    cygwin*)
14402      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14403      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14404
14405      ;;
14406    mingw* | cegcc*)
14407      # MinGW DLLs use traditional 'lib' prefix
14408      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14409      ;;
14410    pw32*)
14411      # pw32 DLLs use 'pw' prefix rather than 'lib'
14412      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14413      ;;
14414    esac
14415    dynamic_linker='Win32 ld.exe'
14416    ;;
14417
14418  *,cl*)
14419    # Native MSVC
14420    libname_spec='$name'
14421    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14422    library_names_spec='${libname}.dll.lib'
14423
14424    case $build_os in
14425    mingw*)
14426      sys_lib_search_path_spec=
14427      lt_save_ifs=$IFS
14428      IFS=';'
14429      for lt_path in $LIB
14430      do
14431        IFS=$lt_save_ifs
14432        # Let DOS variable expansion print the short 8.3 style file name.
14433        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14434        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14435      done
14436      IFS=$lt_save_ifs
14437      # Convert to MSYS style.
14438      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14439      ;;
14440    cygwin*)
14441      # Convert to unix form, then to dos form, then back to unix form
14442      # but this time dos style (no spaces!) so that the unix form looks
14443      # like /cygdrive/c/PROGRA~1:/cygdr...
14444      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14445      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14446      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14447      ;;
14448    *)
14449      sys_lib_search_path_spec="$LIB"
14450      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14451        # It is most probably a Windows format PATH.
14452        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14453      else
14454        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14455      fi
14456      # FIXME: find the short name or the path components, as spaces are
14457      # common. (e.g. "Program Files" -> "PROGRA~1")
14458      ;;
14459    esac
14460
14461    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14462    postinstall_cmds='base_file=`basename \${file}`~
14463      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14464      dldir=$destdir/`dirname \$dlpath`~
14465      test -d \$dldir || mkdir -p \$dldir~
14466      $install_prog $dir/$dlname \$dldir/$dlname'
14467    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14468      dlpath=$dir/\$dldll~
14469       $RM \$dlpath'
14470    shlibpath_overrides_runpath=yes
14471    dynamic_linker='Win32 link.exe'
14472    ;;
14473
14474  *)
14475    # Assume MSVC wrapper
14476    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14477    dynamic_linker='Win32 ld.exe'
14478    ;;
14479  esac
14480  # FIXME: first we should search . and the directory the executable is in
14481  shlibpath_var=PATH
14482  ;;
14483
14484darwin* | rhapsody*)
14485  dynamic_linker="$host_os dyld"
14486  version_type=darwin
14487  need_lib_prefix=no
14488  need_version=no
14489  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14490  soname_spec='${libname}${release}${major}$shared_ext'
14491  shlibpath_overrides_runpath=yes
14492  shlibpath_var=DYLD_LIBRARY_PATH
14493  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14494
14495  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14496  ;;
14497
14498dgux*)
14499  version_type=linux
14500  need_lib_prefix=no
14501  need_version=no
14502  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14503  soname_spec='${libname}${release}${shared_ext}$major'
14504  shlibpath_var=LD_LIBRARY_PATH
14505  ;;
14506
14507freebsd1*)
14508  dynamic_linker=no
14509  ;;
14510
14511freebsd* | dragonfly*)
14512  # DragonFly does not have aout.  When/if they implement a new
14513  # versioning mechanism, adjust this.
14514  if test -x /usr/bin/objformat; then
14515    objformat=`/usr/bin/objformat`
14516  else
14517    case $host_os in
14518    freebsd[123]*) objformat=aout ;;
14519    *) objformat=elf ;;
14520    esac
14521  fi
14522  version_type=freebsd-$objformat
14523  case $version_type in
14524    freebsd-elf*)
14525      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14526      need_version=no
14527      need_lib_prefix=no
14528      ;;
14529    freebsd-*)
14530      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14531      need_version=yes
14532      ;;
14533  esac
14534  shlibpath_var=LD_LIBRARY_PATH
14535  case $host_os in
14536  freebsd2*)
14537    shlibpath_overrides_runpath=yes
14538    ;;
14539  freebsd3.[01]* | freebsdelf3.[01]*)
14540    shlibpath_overrides_runpath=yes
14541    hardcode_into_libs=yes
14542    ;;
14543  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14544  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14545    shlibpath_overrides_runpath=no
14546    hardcode_into_libs=yes
14547    ;;
14548  *) # from 4.6 on, and DragonFly
14549    shlibpath_overrides_runpath=yes
14550    hardcode_into_libs=yes
14551    ;;
14552  esac
14553  ;;
14554
14555gnu*)
14556  version_type=linux
14557  need_lib_prefix=no
14558  need_version=no
14559  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14560  soname_spec='${libname}${release}${shared_ext}$major'
14561  shlibpath_var=LD_LIBRARY_PATH
14562  hardcode_into_libs=yes
14563  ;;
14564
14565haiku*)
14566  version_type=linux
14567  need_lib_prefix=no
14568  need_version=no
14569  dynamic_linker="$host_os runtime_loader"
14570  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14571  soname_spec='${libname}${release}${shared_ext}$major'
14572  shlibpath_var=LIBRARY_PATH
14573  shlibpath_overrides_runpath=yes
14574  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14575  hardcode_into_libs=yes
14576  ;;
14577
14578hpux9* | hpux10* | hpux11*)
14579  # Give a soname corresponding to the major version so that dld.sl refuses to
14580  # link against other versions.
14581  version_type=sunos
14582  need_lib_prefix=no
14583  need_version=no
14584  case $host_cpu in
14585  ia64*)
14586    shrext_cmds='.so'
14587    hardcode_into_libs=yes
14588    dynamic_linker="$host_os dld.so"
14589    shlibpath_var=LD_LIBRARY_PATH
14590    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14591    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592    soname_spec='${libname}${release}${shared_ext}$major'
14593    if test "X$HPUX_IA64_MODE" = X32; then
14594      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14595    else
14596      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14597    fi
14598    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14599    ;;
14600  hppa*64*)
14601    shrext_cmds='.sl'
14602    hardcode_into_libs=yes
14603    dynamic_linker="$host_os dld.sl"
14604    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14605    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14606    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607    soname_spec='${libname}${release}${shared_ext}$major'
14608    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14609    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14610    ;;
14611  *)
14612    shrext_cmds='.sl'
14613    dynamic_linker="$host_os dld.sl"
14614    shlibpath_var=SHLIB_PATH
14615    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14616    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14617    soname_spec='${libname}${release}${shared_ext}$major'
14618    ;;
14619  esac
14620  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14621  postinstall_cmds='chmod 555 $lib'
14622  # or fails outright, so override atomically:
14623  install_override_mode=555
14624  ;;
14625
14626interix[3-9]*)
14627  version_type=linux
14628  need_lib_prefix=no
14629  need_version=no
14630  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14631  soname_spec='${libname}${release}${shared_ext}$major'
14632  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14633  shlibpath_var=LD_LIBRARY_PATH
14634  shlibpath_overrides_runpath=no
14635  hardcode_into_libs=yes
14636  ;;
14637
14638irix5* | irix6* | nonstopux*)
14639  case $host_os in
14640    nonstopux*) version_type=nonstopux ;;
14641    *)
14642	if test "$lt_cv_prog_gnu_ld" = yes; then
14643		version_type=linux
14644	else
14645		version_type=irix
14646	fi ;;
14647  esac
14648  need_lib_prefix=no
14649  need_version=no
14650  soname_spec='${libname}${release}${shared_ext}$major'
14651  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14652  case $host_os in
14653  irix5* | nonstopux*)
14654    libsuff= shlibsuff=
14655    ;;
14656  *)
14657    case $LD in # libtool.m4 will add one of these switches to LD
14658    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14659      libsuff= shlibsuff= libmagic=32-bit;;
14660    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14661      libsuff=32 shlibsuff=N32 libmagic=N32;;
14662    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14663      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14664    *) libsuff= shlibsuff= libmagic=never-match;;
14665    esac
14666    ;;
14667  esac
14668  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14669  shlibpath_overrides_runpath=no
14670  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14671  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14672  hardcode_into_libs=yes
14673  ;;
14674
14675# No shared lib support for Linux oldld, aout, or coff.
14676linux*oldld* | linux*aout* | linux*coff*)
14677  dynamic_linker=no
14678  ;;
14679
14680# This must be Linux ELF.
14681linux* | k*bsd*-gnu | kopensolaris*-gnu)
14682  version_type=linux
14683  need_lib_prefix=no
14684  need_version=no
14685  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14686  soname_spec='${libname}${release}${shared_ext}$major'
14687  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14688  shlibpath_var=LD_LIBRARY_PATH
14689  shlibpath_overrides_runpath=no
14690
14691  # Some binutils ld are patched to set DT_RUNPATH
14692  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14693  $as_echo_n "(cached) " >&6
14694else
14695  lt_cv_shlibpath_overrides_runpath=no
14696    save_LDFLAGS=$LDFLAGS
14697    save_libdir=$libdir
14698    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14699	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14700    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701/* end confdefs.h.  */
14702
14703int
14704main ()
14705{
14706
14707  ;
14708  return 0;
14709}
14710_ACEOF
14711if ac_fn_cxx_try_link "$LINENO"; then :
14712  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14713  lt_cv_shlibpath_overrides_runpath=yes
14714fi
14715fi
14716rm -f core conftest.err conftest.$ac_objext \
14717    conftest$ac_exeext conftest.$ac_ext
14718    LDFLAGS=$save_LDFLAGS
14719    libdir=$save_libdir
14720
14721fi
14722
14723  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14724
14725  # This implies no fast_install, which is unacceptable.
14726  # Some rework will be needed to allow for fast_install
14727  # before this can be enabled.
14728  hardcode_into_libs=yes
14729
14730  # Append ld.so.conf contents to the search path
14731  if test -f /etc/ld.so.conf; then
14732    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' ' '`
14733    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14734  fi
14735
14736  # We used to test for /lib/ld.so.1 and disable shared libraries on
14737  # powerpc, because MkLinux only supported shared libraries with the
14738  # GNU dynamic linker.  Since this was broken with cross compilers,
14739  # most powerpc-linux boxes support dynamic linking these days and
14740  # people can always --disable-shared, the test was removed, and we
14741  # assume the GNU/Linux dynamic linker is in use.
14742  dynamic_linker='GNU/Linux ld.so'
14743  ;;
14744
14745netbsd*)
14746  version_type=sunos
14747  need_lib_prefix=no
14748  need_version=no
14749  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14750    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14751    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14752    dynamic_linker='NetBSD (a.out) ld.so'
14753  else
14754    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14755    soname_spec='${libname}${release}${shared_ext}$major'
14756    dynamic_linker='NetBSD ld.elf_so'
14757  fi
14758  shlibpath_var=LD_LIBRARY_PATH
14759  shlibpath_overrides_runpath=yes
14760  hardcode_into_libs=yes
14761  ;;
14762
14763newsos6)
14764  version_type=linux
14765  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14766  shlibpath_var=LD_LIBRARY_PATH
14767  shlibpath_overrides_runpath=yes
14768  ;;
14769
14770*nto* | *qnx*)
14771  version_type=qnx
14772  need_lib_prefix=no
14773  need_version=no
14774  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14775  soname_spec='${libname}${release}${shared_ext}$major'
14776  shlibpath_var=LD_LIBRARY_PATH
14777  shlibpath_overrides_runpath=no
14778  hardcode_into_libs=yes
14779  dynamic_linker='ldqnx.so'
14780  ;;
14781
14782openbsd*)
14783  version_type=sunos
14784  sys_lib_dlsearch_path_spec="/usr/lib"
14785  need_lib_prefix=no
14786  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14787  case $host_os in
14788    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
14789    *)				need_version=no  ;;
14790  esac
14791  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14792  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14793  shlibpath_var=LD_LIBRARY_PATH
14794  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14795    case $host_os in
14796      openbsd2.[89] | openbsd2.[89].*)
14797	shlibpath_overrides_runpath=no
14798	;;
14799      *)
14800	shlibpath_overrides_runpath=yes
14801	;;
14802      esac
14803  else
14804    shlibpath_overrides_runpath=yes
14805  fi
14806  ;;
14807
14808os2*)
14809  libname_spec='$name'
14810  shrext_cmds=".dll"
14811  need_lib_prefix=no
14812  library_names_spec='$libname${shared_ext} $libname.a'
14813  dynamic_linker='OS/2 ld.exe'
14814  shlibpath_var=LIBPATH
14815  ;;
14816
14817osf3* | osf4* | osf5*)
14818  version_type=osf
14819  need_lib_prefix=no
14820  need_version=no
14821  soname_spec='${libname}${release}${shared_ext}$major'
14822  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823  shlibpath_var=LD_LIBRARY_PATH
14824  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14825  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14826  ;;
14827
14828rdos*)
14829  dynamic_linker=no
14830  ;;
14831
14832solaris*)
14833  version_type=linux
14834  need_lib_prefix=no
14835  need_version=no
14836  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14837  soname_spec='${libname}${release}${shared_ext}$major'
14838  shlibpath_var=LD_LIBRARY_PATH
14839  shlibpath_overrides_runpath=yes
14840  hardcode_into_libs=yes
14841  # ldd complains unless libraries are executable
14842  postinstall_cmds='chmod +x $lib'
14843  ;;
14844
14845sunos4*)
14846  version_type=sunos
14847  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14848  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14849  shlibpath_var=LD_LIBRARY_PATH
14850  shlibpath_overrides_runpath=yes
14851  if test "$with_gnu_ld" = yes; then
14852    need_lib_prefix=no
14853  fi
14854  need_version=yes
14855  ;;
14856
14857sysv4 | sysv4.3*)
14858  version_type=linux
14859  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860  soname_spec='${libname}${release}${shared_ext}$major'
14861  shlibpath_var=LD_LIBRARY_PATH
14862  case $host_vendor in
14863    sni)
14864      shlibpath_overrides_runpath=no
14865      need_lib_prefix=no
14866      runpath_var=LD_RUN_PATH
14867      ;;
14868    siemens)
14869      need_lib_prefix=no
14870      ;;
14871    motorola)
14872      need_lib_prefix=no
14873      need_version=no
14874      shlibpath_overrides_runpath=no
14875      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14876      ;;
14877  esac
14878  ;;
14879
14880sysv4*MP*)
14881  if test -d /usr/nec ;then
14882    version_type=linux
14883    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14884    soname_spec='$libname${shared_ext}.$major'
14885    shlibpath_var=LD_LIBRARY_PATH
14886  fi
14887  ;;
14888
14889sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14890  version_type=freebsd-elf
14891  need_lib_prefix=no
14892  need_version=no
14893  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14894  soname_spec='${libname}${release}${shared_ext}$major'
14895  shlibpath_var=LD_LIBRARY_PATH
14896  shlibpath_overrides_runpath=yes
14897  hardcode_into_libs=yes
14898  if test "$with_gnu_ld" = yes; then
14899    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14900  else
14901    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14902    case $host_os in
14903      sco3.2v5*)
14904        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14905	;;
14906    esac
14907  fi
14908  sys_lib_dlsearch_path_spec='/usr/lib'
14909  ;;
14910
14911tpf*)
14912  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14913  version_type=linux
14914  need_lib_prefix=no
14915  need_version=no
14916  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917  shlibpath_var=LD_LIBRARY_PATH
14918  shlibpath_overrides_runpath=no
14919  hardcode_into_libs=yes
14920  ;;
14921
14922uts4*)
14923  version_type=linux
14924  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14925  soname_spec='${libname}${release}${shared_ext}$major'
14926  shlibpath_var=LD_LIBRARY_PATH
14927  ;;
14928
14929*)
14930  dynamic_linker=no
14931  ;;
14932esac
14933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14934$as_echo "$dynamic_linker" >&6; }
14935test "$dynamic_linker" = no && can_build_shared=no
14936
14937variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14938if test "$GCC" = yes; then
14939  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14940fi
14941
14942if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14943  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14944fi
14945if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14946  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14947fi
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14987$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14988hardcode_action_CXX=
14989if test -n "$hardcode_libdir_flag_spec_CXX" ||
14990   test -n "$runpath_var_CXX" ||
14991   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14992
14993  # We can hardcode non-existent directories.
14994  if test "$hardcode_direct_CXX" != no &&
14995     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14996     # have to relink, otherwise we might link with an installed library
14997     # when we should be linking with a yet-to-be-installed one
14998     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14999     test "$hardcode_minus_L_CXX" != no; then
15000    # Linking always hardcodes the temporary library directory.
15001    hardcode_action_CXX=relink
15002  else
15003    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15004    hardcode_action_CXX=immediate
15005  fi
15006else
15007  # We cannot hardcode anything, or else we can only hardcode existing
15008  # directories.
15009  hardcode_action_CXX=unsupported
15010fi
15011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15012$as_echo "$hardcode_action_CXX" >&6; }
15013
15014if test "$hardcode_action_CXX" = relink ||
15015   test "$inherit_rpath_CXX" = yes; then
15016  # Fast installation is not supported
15017  enable_fast_install=no
15018elif test "$shlibpath_overrides_runpath" = yes ||
15019     test "$enable_shared" = no; then
15020  # Fast installation is not necessary
15021  enable_fast_install=needless
15022fi
15023
15024
15025
15026
15027
15028
15029
15030  fi # test -n "$compiler"
15031
15032  CC=$lt_save_CC
15033  CFLAGS=$lt_save_CFLAGS
15034  LDCXX=$LD
15035  LD=$lt_save_LD
15036  GCC=$lt_save_GCC
15037  with_gnu_ld=$lt_save_with_gnu_ld
15038  lt_cv_path_LDCXX=$lt_cv_path_LD
15039  lt_cv_path_LD=$lt_save_path_LD
15040  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15041  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15042fi # test "$_lt_caught_CXX_error" != yes
15043
15044ac_ext=c
15045ac_cpp='$CPP $CPPFLAGS'
15046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048ac_compiler_gnu=$ac_cv_c_compiler_gnu
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062        ac_config_commands="$ac_config_commands libtool"
15063
15064
15065
15066
15067# Only expand once:
15068
15069
15070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15071$as_echo_n "checking whether ln -s works... " >&6; }
15072LN_S=$as_ln_s
15073if test "$LN_S" = "ln -s"; then
15074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15075$as_echo "yes" >&6; }
15076else
15077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15078$as_echo "no, using $LN_S" >&6; }
15079fi
15080
15081
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15083$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15084if ${ac_cv_c_bigendian+:} false; then :
15085  $as_echo_n "(cached) " >&6
15086else
15087  ac_cv_c_bigendian=unknown
15088    # See if we're dealing with a universal compiler.
15089    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090/* end confdefs.h.  */
15091#ifndef __APPLE_CC__
15092	       not a universal capable compiler
15093	     #endif
15094	     typedef int dummy;
15095
15096_ACEOF
15097if ac_fn_c_try_compile "$LINENO"; then :
15098
15099	# Check for potential -arch flags.  It is not universal unless
15100	# there are at least two -arch flags with different values.
15101	ac_arch=
15102	ac_prev=
15103	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15104	 if test -n "$ac_prev"; then
15105	   case $ac_word in
15106	     i?86 | x86_64 | ppc | ppc64)
15107	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15108		 ac_arch=$ac_word
15109	       else
15110		 ac_cv_c_bigendian=universal
15111		 break
15112	       fi
15113	       ;;
15114	   esac
15115	   ac_prev=
15116	 elif test "x$ac_word" = "x-arch"; then
15117	   ac_prev=arch
15118	 fi
15119       done
15120fi
15121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15122    if test $ac_cv_c_bigendian = unknown; then
15123      # See if sys/param.h defines the BYTE_ORDER macro.
15124      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125/* end confdefs.h.  */
15126#include <sys/types.h>
15127	     #include <sys/param.h>
15128
15129int
15130main ()
15131{
15132#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15133		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15134		     && LITTLE_ENDIAN)
15135	      bogus endian macros
15136	     #endif
15137
15138  ;
15139  return 0;
15140}
15141_ACEOF
15142if ac_fn_c_try_compile "$LINENO"; then :
15143  # It does; now see whether it defined to BIG_ENDIAN or not.
15144	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145/* end confdefs.h.  */
15146#include <sys/types.h>
15147		#include <sys/param.h>
15148
15149int
15150main ()
15151{
15152#if BYTE_ORDER != BIG_ENDIAN
15153		 not big endian
15154		#endif
15155
15156  ;
15157  return 0;
15158}
15159_ACEOF
15160if ac_fn_c_try_compile "$LINENO"; then :
15161  ac_cv_c_bigendian=yes
15162else
15163  ac_cv_c_bigendian=no
15164fi
15165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15166fi
15167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168    fi
15169    if test $ac_cv_c_bigendian = unknown; then
15170      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15171      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172/* end confdefs.h.  */
15173#include <limits.h>
15174
15175int
15176main ()
15177{
15178#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15179	      bogus endian macros
15180	     #endif
15181
15182  ;
15183  return 0;
15184}
15185_ACEOF
15186if ac_fn_c_try_compile "$LINENO"; then :
15187  # It does; now see whether it defined to _BIG_ENDIAN or not.
15188	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189/* end confdefs.h.  */
15190#include <limits.h>
15191
15192int
15193main ()
15194{
15195#ifndef _BIG_ENDIAN
15196		 not big endian
15197		#endif
15198
15199  ;
15200  return 0;
15201}
15202_ACEOF
15203if ac_fn_c_try_compile "$LINENO"; then :
15204  ac_cv_c_bigendian=yes
15205else
15206  ac_cv_c_bigendian=no
15207fi
15208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15209fi
15210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211    fi
15212    if test $ac_cv_c_bigendian = unknown; then
15213      # Compile a test program.
15214      if test "$cross_compiling" = yes; then :
15215  # Try to guess by grepping values from an object file.
15216	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217/* end confdefs.h.  */
15218short int ascii_mm[] =
15219		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15220		short int ascii_ii[] =
15221		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15222		int use_ascii (int i) {
15223		  return ascii_mm[i] + ascii_ii[i];
15224		}
15225		short int ebcdic_ii[] =
15226		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15227		short int ebcdic_mm[] =
15228		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15229		int use_ebcdic (int i) {
15230		  return ebcdic_mm[i] + ebcdic_ii[i];
15231		}
15232		extern int foo;
15233
15234int
15235main ()
15236{
15237return use_ascii (foo) == use_ebcdic (foo);
15238  ;
15239  return 0;
15240}
15241_ACEOF
15242if ac_fn_c_try_compile "$LINENO"; then :
15243  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15244	      ac_cv_c_bigendian=yes
15245	    fi
15246	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15247	      if test "$ac_cv_c_bigendian" = unknown; then
15248		ac_cv_c_bigendian=no
15249	      else
15250		# finding both strings is unlikely to happen, but who knows?
15251		ac_cv_c_bigendian=unknown
15252	      fi
15253	    fi
15254fi
15255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256else
15257  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258/* end confdefs.h.  */
15259$ac_includes_default
15260int
15261main ()
15262{
15263
15264	     /* Are we little or big endian?  From Harbison&Steele.  */
15265	     union
15266	     {
15267	       long int l;
15268	       char c[sizeof (long int)];
15269	     } u;
15270	     u.l = 1;
15271	     return u.c[sizeof (long int) - 1] == 1;
15272
15273  ;
15274  return 0;
15275}
15276_ACEOF
15277if ac_fn_c_try_run "$LINENO"; then :
15278  ac_cv_c_bigendian=no
15279else
15280  ac_cv_c_bigendian=yes
15281fi
15282rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15283  conftest.$ac_objext conftest.beam conftest.$ac_ext
15284fi
15285
15286    fi
15287fi
15288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15289$as_echo "$ac_cv_c_bigendian" >&6; }
15290 case $ac_cv_c_bigendian in #(
15291   yes)
15292     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
15293;; #(
15294   no)
15295      ;; #(
15296   universal)
15297
15298$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15299
15300     ;; #(
15301   *)
15302     as_fn_error $? "unknown endianness
15303 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15304 esac
15305
15306
15307for ac_header in ladspa.h
15308do :
15309  ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
15310if test "x$ac_cv_header_ladspa_h" = xyes; then :
15311  cat >>confdefs.h <<_ACEOF
15312@%:@define HAVE_LADSPA_H 1
15313_ACEOF
15314
15315fi
15316
15317done
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15328	if test -n "$ac_tool_prefix"; then
15329  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15330set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15332$as_echo_n "checking for $ac_word... " >&6; }
15333if ${ac_cv_path_PKG_CONFIG+:} false; then :
15334  $as_echo_n "(cached) " >&6
15335else
15336  case $PKG_CONFIG in
15337  [\\/]* | ?:[\\/]*)
15338  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15339  ;;
15340  *)
15341  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15342for as_dir in $PATH
15343do
15344  IFS=$as_save_IFS
15345  test -z "$as_dir" && as_dir=.
15346    for ac_exec_ext in '' $ac_executable_extensions; do
15347  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15348    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15350    break 2
15351  fi
15352done
15353  done
15354IFS=$as_save_IFS
15355
15356  ;;
15357esac
15358fi
15359PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15360if test -n "$PKG_CONFIG"; then
15361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15362$as_echo "$PKG_CONFIG" >&6; }
15363else
15364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15365$as_echo "no" >&6; }
15366fi
15367
15368
15369fi
15370if test -z "$ac_cv_path_PKG_CONFIG"; then
15371  ac_pt_PKG_CONFIG=$PKG_CONFIG
15372  # Extract the first word of "pkg-config", so it can be a program name with args.
15373set dummy pkg-config; ac_word=$2
15374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15375$as_echo_n "checking for $ac_word... " >&6; }
15376if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15377  $as_echo_n "(cached) " >&6
15378else
15379  case $ac_pt_PKG_CONFIG in
15380  [\\/]* | ?:[\\/]*)
15381  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15382  ;;
15383  *)
15384  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15385for as_dir in $PATH
15386do
15387  IFS=$as_save_IFS
15388  test -z "$as_dir" && as_dir=.
15389    for ac_exec_ext in '' $ac_executable_extensions; do
15390  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15391    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15393    break 2
15394  fi
15395done
15396  done
15397IFS=$as_save_IFS
15398
15399  ;;
15400esac
15401fi
15402ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15403if test -n "$ac_pt_PKG_CONFIG"; then
15404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15405$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15406else
15407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15408$as_echo "no" >&6; }
15409fi
15410
15411  if test "x$ac_pt_PKG_CONFIG" = x; then
15412    PKG_CONFIG=""
15413  else
15414    case $cross_compiling:$ac_tool_warned in
15415yes:)
15416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15418ac_tool_warned=yes ;;
15419esac
15420    PKG_CONFIG=$ac_pt_PKG_CONFIG
15421  fi
15422else
15423  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15424fi
15425
15426fi
15427if test -n "$PKG_CONFIG"; then
15428	_pkg_min_version=0.9.0
15429	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15430$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15431	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15432		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15433$as_echo "yes" >&6; }
15434	else
15435		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15436$as_echo "no" >&6; }
15437		PKG_CONFIG=""
15438	fi
15439fi
15440
15441pkg_failed=no
15442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15443$as_echo_n "checking for ALSA... " >&6; }
15444
15445if test -n "$ALSA_CFLAGS"; then
15446    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15447 elif test -n "$PKG_CONFIG"; then
15448    if test -n "$PKG_CONFIG" && \
15449    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
15450  ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
15451  ac_status=$?
15452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15453  test $ac_status = 0; }; then
15454  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9" 2>/dev/null`
15455		      test "x$?" != "x0" && pkg_failed=yes
15456else
15457  pkg_failed=yes
15458fi
15459 else
15460    pkg_failed=untried
15461fi
15462if test -n "$ALSA_LIBS"; then
15463    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15464 elif test -n "$PKG_CONFIG"; then
15465    if test -n "$PKG_CONFIG" && \
15466    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
15467  ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
15468  ac_status=$?
15469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470  test $ac_status = 0; }; then
15471  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9" 2>/dev/null`
15472		      test "x$?" != "x0" && pkg_failed=yes
15473else
15474  pkg_failed=yes
15475fi
15476 else
15477    pkg_failed=untried
15478fi
15479
15480
15481
15482if test $pkg_failed = yes; then
15483   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15484$as_echo "no" >&6; }
15485
15486if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15487        _pkg_short_errors_supported=yes
15488else
15489        _pkg_short_errors_supported=no
15490fi
15491        if test $_pkg_short_errors_supported = yes; then
15492	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 0.9" 2>&1`
15493        else
15494	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 0.9" 2>&1`
15495        fi
15496	# Put the nasty error message in config.log where it belongs
15497	echo "$ALSA_PKG_ERRORS" >&5
15498
15499	with_alsa=no
15500elif test $pkg_failed = untried; then
15501     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15502$as_echo "no" >&6; }
15503	with_alsa=no
15504else
15505	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15506	ALSA_LIBS=$pkg_cv_ALSA_LIBS
15507        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15508$as_echo "yes" >&6; }
15509	with_alsa=ALSA
15510fi
15511if test "x${with_alsa}" = xno ; then
15512
15513pkg_failed=no
15514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15515$as_echo_n "checking for ALSA... " >&6; }
15516
15517if test -n "$ALSA_CFLAGS"; then
15518    pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15519 elif test -n "$PKG_CONFIG"; then
15520    if test -n "$PKG_CONFIG" && \
15521    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
15522  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
15523  ac_status=$?
15524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15525  test $ac_status = 0; }; then
15526  pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
15527		      test "x$?" != "x0" && pkg_failed=yes
15528else
15529  pkg_failed=yes
15530fi
15531 else
15532    pkg_failed=untried
15533fi
15534if test -n "$ALSA_LIBS"; then
15535    pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15536 elif test -n "$PKG_CONFIG"; then
15537    if test -n "$PKG_CONFIG" && \
15538    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
15539  ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
15540  ac_status=$?
15541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15542  test $ac_status = 0; }; then
15543  pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
15544		      test "x$?" != "x0" && pkg_failed=yes
15545else
15546  pkg_failed=yes
15547fi
15548 else
15549    pkg_failed=untried
15550fi
15551
15552
15553
15554if test $pkg_failed = yes; then
15555   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15556$as_echo "no" >&6; }
15557
15558if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15559        _pkg_short_errors_supported=yes
15560else
15561        _pkg_short_errors_supported=no
15562fi
15563        if test $_pkg_short_errors_supported = yes; then
15564	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat" 2>&1`
15565        else
15566	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat" 2>&1`
15567        fi
15568	# Put the nasty error message in config.log where it belongs
15569	echo "$ALSA_PKG_ERRORS" >&5
15570
15571	as_fn_error $? "neither ALSA nor libdssialsacompat found" "$LINENO" 5
15572elif test $pkg_failed = untried; then
15573     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15574$as_echo "no" >&6; }
15575	as_fn_error $? "neither ALSA nor libdssialsacompat found" "$LINENO" 5
15576else
15577	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15578	ALSA_LIBS=$pkg_cv_ALSA_LIBS
15579        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15580$as_echo "yes" >&6; }
15581	with_alsa=libdssialsacompat
15582fi
15583fi
15584
15585
15586
15587
15588pkg_failed=no
15589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLO" >&5
15590$as_echo_n "checking for LIBLO... " >&6; }
15591
15592if test -n "$LIBLO_CFLAGS"; then
15593    pkg_cv_LIBLO_CFLAGS="$LIBLO_CFLAGS"
15594 elif test -n "$PKG_CONFIG"; then
15595    if test -n "$PKG_CONFIG" && \
15596    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
15597  ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
15598  ac_status=$?
15599  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15600  test $ac_status = 0; }; then
15601  pkg_cv_LIBLO_CFLAGS=`$PKG_CONFIG --cflags "liblo >= 0.12" 2>/dev/null`
15602		      test "x$?" != "x0" && pkg_failed=yes
15603else
15604  pkg_failed=yes
15605fi
15606 else
15607    pkg_failed=untried
15608fi
15609if test -n "$LIBLO_LIBS"; then
15610    pkg_cv_LIBLO_LIBS="$LIBLO_LIBS"
15611 elif test -n "$PKG_CONFIG"; then
15612    if test -n "$PKG_CONFIG" && \
15613    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
15614  ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
15615  ac_status=$?
15616  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15617  test $ac_status = 0; }; then
15618  pkg_cv_LIBLO_LIBS=`$PKG_CONFIG --libs "liblo >= 0.12" 2>/dev/null`
15619		      test "x$?" != "x0" && pkg_failed=yes
15620else
15621  pkg_failed=yes
15622fi
15623 else
15624    pkg_failed=untried
15625fi
15626
15627
15628
15629if test $pkg_failed = yes; then
15630   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15631$as_echo "no" >&6; }
15632
15633if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15634        _pkg_short_errors_supported=yes
15635else
15636        _pkg_short_errors_supported=no
15637fi
15638        if test $_pkg_short_errors_supported = yes; then
15639	        LIBLO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblo >= 0.12" 2>&1`
15640        else
15641	        LIBLO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblo >= 0.12" 2>&1`
15642        fi
15643	# Put the nasty error message in config.log where it belongs
15644	echo "$LIBLO_PKG_ERRORS" >&5
15645
15646	with_liblo=no
15647elif test $pkg_failed = untried; then
15648     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15649$as_echo "no" >&6; }
15650	with_liblo=no
15651else
15652	LIBLO_CFLAGS=$pkg_cv_LIBLO_CFLAGS
15653	LIBLO_LIBS=$pkg_cv_LIBLO_LIBS
15654        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15655$as_echo "yes" >&6; }
15656	with_liblo=yes
15657fi
15658
15659
15660 if test x$with_liblo = xyes; then
15661  HAVE_LIBLO_TRUE=
15662  HAVE_LIBLO_FALSE='#'
15663else
15664  HAVE_LIBLO_TRUE='#'
15665  HAVE_LIBLO_FALSE=
15666fi
15667
15668
15669
15670pkg_failed=no
15671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
15672$as_echo_n "checking for JACK... " >&6; }
15673
15674if test -n "$JACK_CFLAGS"; then
15675    pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
15676 elif test -n "$PKG_CONFIG"; then
15677    if test -n "$PKG_CONFIG" && \
15678    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.14\""; } >&5
15679  ($PKG_CONFIG --exists --print-errors "jack >= 0.99.14") 2>&5
15680  ac_status=$?
15681  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15682  test $ac_status = 0; }; then
15683  pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.14" 2>/dev/null`
15684		      test "x$?" != "x0" && pkg_failed=yes
15685else
15686  pkg_failed=yes
15687fi
15688 else
15689    pkg_failed=untried
15690fi
15691if test -n "$JACK_LIBS"; then
15692    pkg_cv_JACK_LIBS="$JACK_LIBS"
15693 elif test -n "$PKG_CONFIG"; then
15694    if test -n "$PKG_CONFIG" && \
15695    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.14\""; } >&5
15696  ($PKG_CONFIG --exists --print-errors "jack >= 0.99.14") 2>&5
15697  ac_status=$?
15698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15699  test $ac_status = 0; }; then
15700  pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.14" 2>/dev/null`
15701		      test "x$?" != "x0" && pkg_failed=yes
15702else
15703  pkg_failed=yes
15704fi
15705 else
15706    pkg_failed=untried
15707fi
15708
15709
15710
15711if test $pkg_failed = yes; then
15712   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15713$as_echo "no" >&6; }
15714
15715if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15716        _pkg_short_errors_supported=yes
15717else
15718        _pkg_short_errors_supported=no
15719fi
15720        if test $_pkg_short_errors_supported = yes; then
15721	        JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.99.14" 2>&1`
15722        else
15723	        JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.99.14" 2>&1`
15724        fi
15725	# Put the nasty error message in config.log where it belongs
15726	echo "$JACK_PKG_ERRORS" >&5
15727
15728	with_jack=no
15729elif test $pkg_failed = untried; then
15730     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15731$as_echo "no" >&6; }
15732	with_jack=no
15733else
15734	JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
15735	JACK_LIBS=$pkg_cv_JACK_LIBS
15736        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15737$as_echo "yes" >&6; }
15738	with_jack=yes
15739fi
15740
15741
15742 if test x$with_jack = xyes; then
15743  HAVE_JACK_TRUE=
15744  HAVE_JACK_FALSE='#'
15745else
15746  HAVE_JACK_TRUE='#'
15747  HAVE_JACK_FALSE=
15748fi
15749
15750
15751
15752pkg_failed=no
15753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15754$as_echo_n "checking for SNDFILE... " >&6; }
15755
15756if test -n "$SNDFILE_CFLAGS"; then
15757    pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15758 elif test -n "$PKG_CONFIG"; then
15759    if test -n "$PKG_CONFIG" && \
15760    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
15761  ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
15762  ac_status=$?
15763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15764  test $ac_status = 0; }; then
15765  pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null`
15766		      test "x$?" != "x0" && pkg_failed=yes
15767else
15768  pkg_failed=yes
15769fi
15770 else
15771    pkg_failed=untried
15772fi
15773if test -n "$SNDFILE_LIBS"; then
15774    pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15775 elif test -n "$PKG_CONFIG"; then
15776    if test -n "$PKG_CONFIG" && \
15777    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
15778  ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
15779  ac_status=$?
15780  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781  test $ac_status = 0; }; then
15782  pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null`
15783		      test "x$?" != "x0" && pkg_failed=yes
15784else
15785  pkg_failed=yes
15786fi
15787 else
15788    pkg_failed=untried
15789fi
15790
15791
15792
15793if test $pkg_failed = yes; then
15794   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15795$as_echo "no" >&6; }
15796
15797if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15798        _pkg_short_errors_supported=yes
15799else
15800        _pkg_short_errors_supported=no
15801fi
15802        if test $_pkg_short_errors_supported = yes; then
15803	        SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1`
15804        else
15805	        SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1`
15806        fi
15807	# Put the nasty error message in config.log where it belongs
15808	echo "$SNDFILE_PKG_ERRORS" >&5
15809
15810	with_sndfile=no
15811elif test $pkg_failed = untried; then
15812     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15813$as_echo "no" >&6; }
15814	with_sndfile=no
15815else
15816	SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15817	SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15818        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15819$as_echo "yes" >&6; }
15820	with_sndfile=yes
15821fi
15822
15823pkg_failed=no
15824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRC" >&5
15825$as_echo_n "checking for SRC... " >&6; }
15826
15827if test -n "$SRC_CFLAGS"; then
15828    pkg_cv_SRC_CFLAGS="$SRC_CFLAGS"
15829 elif test -n "$PKG_CONFIG"; then
15830    if test -n "$PKG_CONFIG" && \
15831    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
15832  ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
15833  ac_status=$?
15834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15835  test $ac_status = 0; }; then
15836  pkg_cv_SRC_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null`
15837		      test "x$?" != "x0" && pkg_failed=yes
15838else
15839  pkg_failed=yes
15840fi
15841 else
15842    pkg_failed=untried
15843fi
15844if test -n "$SRC_LIBS"; then
15845    pkg_cv_SRC_LIBS="$SRC_LIBS"
15846 elif test -n "$PKG_CONFIG"; then
15847    if test -n "$PKG_CONFIG" && \
15848    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
15849  ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
15850  ac_status=$?
15851  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15852  test $ac_status = 0; }; then
15853  pkg_cv_SRC_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null`
15854		      test "x$?" != "x0" && pkg_failed=yes
15855else
15856  pkg_failed=yes
15857fi
15858 else
15859    pkg_failed=untried
15860fi
15861
15862
15863
15864if test $pkg_failed = yes; then
15865   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15866$as_echo "no" >&6; }
15867
15868if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15869        _pkg_short_errors_supported=yes
15870else
15871        _pkg_short_errors_supported=no
15872fi
15873        if test $_pkg_short_errors_supported = yes; then
15874	        SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate" 2>&1`
15875        else
15876	        SRC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate" 2>&1`
15877        fi
15878	# Put the nasty error message in config.log where it belongs
15879	echo "$SRC_PKG_ERRORS" >&5
15880
15881	with_SRC=no
15882elif test $pkg_failed = untried; then
15883     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15884$as_echo "no" >&6; }
15885	with_SRC=no
15886else
15887	SRC_CFLAGS=$pkg_cv_SRC_CFLAGS
15888	SRC_LIBS=$pkg_cv_SRC_LIBS
15889        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15890$as_echo "yes" >&6; }
15891	with_SRC=yes
15892fi
15893
15894
15895
15896
15897
15898with_qt=no
15899
15900pkg_failed=no
15901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
15902$as_echo_n "checking for QT... " >&6; }
15903
15904if test -n "$QT_CFLAGS"; then
15905    pkg_cv_QT_CFLAGS="$QT_CFLAGS"
15906 elif test -n "$PKG_CONFIG"; then
15907    if test -n "$PKG_CONFIG" && \
15908    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.0.1 QtGui >= 4.0.1\""; } >&5
15909  ($PKG_CONFIG --exists --print-errors "QtCore >= 4.0.1 QtGui >= 4.0.1") 2>&5
15910  ac_status=$?
15911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15912  test $ac_status = 0; }; then
15913  pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>/dev/null`
15914		      test "x$?" != "x0" && pkg_failed=yes
15915else
15916  pkg_failed=yes
15917fi
15918 else
15919    pkg_failed=untried
15920fi
15921if test -n "$QT_LIBS"; then
15922    pkg_cv_QT_LIBS="$QT_LIBS"
15923 elif test -n "$PKG_CONFIG"; then
15924    if test -n "$PKG_CONFIG" && \
15925    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.0.1 QtGui >= 4.0.1\""; } >&5
15926  ($PKG_CONFIG --exists --print-errors "QtCore >= 4.0.1 QtGui >= 4.0.1") 2>&5
15927  ac_status=$?
15928  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15929  test $ac_status = 0; }; then
15930  pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>/dev/null`
15931		      test "x$?" != "x0" && pkg_failed=yes
15932else
15933  pkg_failed=yes
15934fi
15935 else
15936    pkg_failed=untried
15937fi
15938
15939
15940
15941if test $pkg_failed = yes; then
15942   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15943$as_echo "no" >&6; }
15944
15945if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15946        _pkg_short_errors_supported=yes
15947else
15948        _pkg_short_errors_supported=no
15949fi
15950        if test $_pkg_short_errors_supported = yes; then
15951	        QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>&1`
15952        else
15953	        QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>&1`
15954        fi
15955	# Put the nasty error message in config.log where it belongs
15956	echo "$QT_PKG_ERRORS" >&5
15957
15958	{ $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config could not find Qt >= 4.0.1" >&5
15959$as_echo "$as_me: pkg-config could not find Qt >= 4.0.1" >&6;}
15960elif test $pkg_failed = untried; then
15961     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15962$as_echo "no" >&6; }
15963	{ $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config could not find Qt >= 4.0.1" >&5
15964$as_echo "$as_me: pkg-config could not find Qt >= 4.0.1" >&6;}
15965else
15966	QT_CFLAGS=$pkg_cv_QT_CFLAGS
15967	QT_LIBS=$pkg_cv_QT_LIBS
15968        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15969$as_echo "yes" >&6; }
15970	with_qt=yes
15971     QT_MOC=`$PKG_CONFIG --variable=moc_location QtCore`
15972fi
15973if test "x${with_qt}" = xno ; then
15974  case "${host_os}" in
15975  darwin*)
15976    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt OS X frameworks" >&5
15977$as_echo "$as_me: checking for Qt OS X frameworks" >&6;}
15978
15979    ac_ext=cpp
15980ac_cpp='$CXXCPP $CPPFLAGS'
15981ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15982ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15983ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15984
15985    dssi_save_cppflags="$CPPFLAGS"
15986    CPPFLAGS="$CPPFLAGS -I/Library/Frameworks/QtCore.framework/Headers"
15987    CPPFLAGS="$CPPFLAGS -I/Library/Frameworks/QtGui.framework/Headers"
15988
15989for ac_header in QApplication
15990do :
15991  ac_fn_cxx_check_header_mongrel "$LINENO" "QApplication" "ac_cv_header_QApplication" "$ac_includes_default"
15992if test "x$ac_cv_header_QApplication" = xyes; then :
15993  cat >>confdefs.h <<_ACEOF
15994@%:@define HAVE_QAPPLICATION 1
15995_ACEOF
15996 with_qt=yes
15997fi
15998
15999done
16000
16001    CPPFLAGS="$dssi_save_cppflags"
16002    ac_ext=c
16003ac_cpp='$CPP $CPPFLAGS'
16004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16006ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007
16008    if test "x${with_qt}" = xyes ; then
16009      # Extract the first word of "moc", so it can be a program name with args.
16010set dummy moc; ac_word=$2
16011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16012$as_echo_n "checking for $ac_word... " >&6; }
16013if ${ac_cv_path_QT_MOC+:} false; then :
16014  $as_echo_n "(cached) " >&6
16015else
16016  case $QT_MOC in
16017  [\\/]* | ?:[\\/]*)
16018  ac_cv_path_QT_MOC="$QT_MOC" # Let the user override the test with a path.
16019  ;;
16020  *)
16021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16022for as_dir in $PATH
16023do
16024  IFS=$as_save_IFS
16025  test -z "$as_dir" && as_dir=.
16026    for ac_exec_ext in '' $ac_executable_extensions; do
16027  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16028    ac_cv_path_QT_MOC="$as_dir/$ac_word$ac_exec_ext"
16029    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16030    break 2
16031  fi
16032done
16033  done
16034IFS=$as_save_IFS
16035
16036  ;;
16037esac
16038fi
16039QT_MOC=$ac_cv_path_QT_MOC
16040if test -n "$QT_MOC"; then
16041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
16042$as_echo "$QT_MOC" >&6; }
16043else
16044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16045$as_echo "no" >&6; }
16046fi
16047
16048
16049      if test "x$QT_MOC" = x ; then
16050        echo moc not found
16051        with_qt=no
16052      else
16053        QT_CFLAGS="-I/Library/Frameworks/QtCore.framework/Headers"
16054        QT_CFLAGS="$QT_CFLAGS -I/Library/Frameworks/QtGui.framework/Headers"
16055        QT_LIBS="-Xlinker -framework -Xlinker QtCore -Xlinker -framework -Xlinker QtGui"
16056      fi
16057    fi
16058    ;;
16059  esac
16060fi
16061if test "x${with_qt}" = xyes ; then
16062        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Qt is X11-based" >&5
16063$as_echo_n "checking whether Qt is X11-based... " >&6; }
16064
16065  ac_ext=cpp
16066ac_cpp='$CXXCPP $CPPFLAGS'
16067ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16070
16071  dssi_save_cxxflags="$CXXFLAGS"
16072  CXXFLAGS="$CXXFLAGS $QT_CFLAGS"
16073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16074/* end confdefs.h.  */
16075#include <QApplication>
16076int
16077main ()
16078{
16079#ifndef Q_WS_X11
16080       #error notX11
16081       #endif
16082
16083  ;
16084  return 0;
16085}
16086_ACEOF
16087if ac_fn_cxx_try_compile "$LINENO"; then :
16088  QT_LIBS="$QT_LIBS -lX11"
16089          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16090$as_echo "yes" >&6; }
16091else
16092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16093$as_echo "no" >&6; }
16094fi
16095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096  CXXFLAGS="$dssi_save_cxxflags"
16097  ac_ext=c
16098ac_cpp='$CPP $CPPFLAGS'
16099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16101ac_compiler_gnu=$ac_cv_c_compiler_gnu
16102
16103fi
16104
16105
16106
16107 if test x$with_qt = xyes; then
16108  HAVE_QT_TRUE=
16109  HAVE_QT_FALSE='#'
16110else
16111  HAVE_QT_TRUE='#'
16112  HAVE_QT_FALSE=
16113fi
16114
16115
16116case "${host_os}" in
16117darwin*)
16118  darwin=yes
16119
16120$as_echo "@%:@define MIDI_COREMIDI 1" >>confdefs.h
16121
16122  ;;
16123*)
16124  darwin=no
16125  if test "x${with_alsa}" = xALSA ; then
16126
16127$as_echo "@%:@define MIDI_ALSA 1" >>confdefs.h
16128
16129  fi
16130  ;;
16131esac
16132 if test x$darwin = xyes; then
16133  DARWIN_TRUE=
16134  DARWIN_FALSE='#'
16135else
16136  DARWIN_TRUE='#'
16137  DARWIN_FALSE=
16138fi
16139
16140
16141if test "x$GCC" = "xyes"; then
16142  case " $CFLAGS " in
16143    *[\ \	]-Wall[\ \	]*) ;;
16144    *) CFLAGS="$CFLAGS -Wall" ;;
16145  esac
16146fi
16147
16148jack_dssi_host_needs=''
16149dssi_osc_tools_needs=''
16150trivial_sampler_needs=''
16151less_trivial_synth_gui_needs=''
16152trivial_sampler_gui_needs=''
16153if test "x$with_liblo" != xyes ; then
16154    jack_dssi_host_needs="$jack_dssi_host_needs liblo"
16155    dssi_osc_tools_needs="$dssi_osc_tools_needs liblo"
16156    less_trivial_synth_gui_needs="$less_trivial_synth_gui_needs liblo"
16157    trivial_sampler_gui_needs="$trivial_sampler_gui_needs liblo"
16158fi
16159if test "x$with_jack" != xyes ; then
16160    jack_dssi_host_needs="$jack_dssi_host_needs JACK"
16161fi
16162if test "x$with_sndfile" != xyes ; then
16163    trivial_sampler_needs="$trivial_sampler_needs libsndfile"
16164    trivial_sampler_gui_needs="$trivial_sampler_gui_needs libsndfile"
16165fi
16166if test "x$with_SRC" != xyes ; then
16167    trivial_sampler_needs="$trivial_sampler_needs libsamplerate"
16168fi
16169 if test -z "$trivial_sampler_needs"; then
16170  BUILD_SAMPLER_TRUE=
16171  BUILD_SAMPLER_FALSE='#'
16172else
16173  BUILD_SAMPLER_TRUE='#'
16174  BUILD_SAMPLER_FALSE=
16175fi
16176
16177if test "x$with_qt" != xyes ; then
16178    less_trivial_synth_gui_needs="$less_trivial_synth_gui_needs Qt4"
16179    trivial_sampler_gui_needs="$trivial_sampler_gui_needs Qt4"
16180fi
16181
16182ac_config_files="$ac_config_files Makefile dssi.pc jack-dssi-host/Makefile examples/Makefile tests/Makefile"
16183
16184cat >confcache <<\_ACEOF
16185# This file is a shell script that caches the results of configure
16186# tests run on this system so they can be shared between configure
16187# scripts and configure runs, see configure's option --config-cache.
16188# It is not useful on other systems.  If it contains results you don't
16189# want to keep, you may remove or edit it.
16190#
16191# config.status only pays attention to the cache file if you give it
16192# the --recheck option to rerun configure.
16193#
16194# `ac_cv_env_foo' variables (set or unset) will be overridden when
16195# loading this file, other *unset* `ac_cv_foo' will be assigned the
16196# following values.
16197
16198_ACEOF
16199
16200# The following way of writing the cache mishandles newlines in values,
16201# but we know of no workaround that is simple, portable, and efficient.
16202# So, we kill variables containing newlines.
16203# Ultrix sh set writes to stderr and can't be redirected directly,
16204# and sets the high bit in the cache file unless we assign to the vars.
16205(
16206  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16207    eval ac_val=\$$ac_var
16208    case $ac_val in #(
16209    *${as_nl}*)
16210      case $ac_var in #(
16211      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16212$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16213      esac
16214      case $ac_var in #(
16215      _ | IFS | as_nl) ;; #(
16216      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16217      *) { eval $ac_var=; unset $ac_var;} ;;
16218      esac ;;
16219    esac
16220  done
16221
16222  (set) 2>&1 |
16223    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16224    *${as_nl}ac_space=\ *)
16225      # `set' does not quote correctly, so add quotes: double-quote
16226      # substitution turns \\\\ into \\, and sed turns \\ into \.
16227      sed -n \
16228	"s/'/'\\\\''/g;
16229	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16230      ;; #(
16231    *)
16232      # `set' quotes correctly as required by POSIX, so do not add quotes.
16233      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16234      ;;
16235    esac |
16236    sort
16237) |
16238  sed '
16239     /^ac_cv_env_/b end
16240     t clear
16241     :clear
16242     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16243     t end
16244     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16245     :end' >>confcache
16246if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16247  if test -w "$cache_file"; then
16248    if test "x$cache_file" != "x/dev/null"; then
16249      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16250$as_echo "$as_me: updating cache $cache_file" >&6;}
16251      if test ! -f "$cache_file" || test -h "$cache_file"; then
16252	cat confcache >"$cache_file"
16253      else
16254        case $cache_file in #(
16255        */* | ?:*)
16256	  mv -f confcache "$cache_file"$$ &&
16257	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16258        *)
16259	  mv -f confcache "$cache_file" ;;
16260	esac
16261      fi
16262    fi
16263  else
16264    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16265$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16266  fi
16267fi
16268rm -f confcache
16269
16270test "x$prefix" = xNONE && prefix=$ac_default_prefix
16271# Let make expand exec_prefix.
16272test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16273
16274DEFS=-DHAVE_CONFIG_H
16275
16276ac_libobjs=
16277ac_ltlibobjs=
16278U=
16279for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
16280  # 1. Remove the extension, and $U if already installed.
16281  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16282  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16283  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16284  #    will be set to the directory where LIBOBJS objects are built.
16285  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16286  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16287done
16288LIB@&t@OBJS=$ac_libobjs
16289
16290LTLIBOBJS=$ac_ltlibobjs
16291
16292
16293 if test -n "$EXEEXT"; then
16294  am__EXEEXT_TRUE=
16295  am__EXEEXT_FALSE='#'
16296else
16297  am__EXEEXT_TRUE='#'
16298  am__EXEEXT_FALSE=
16299fi
16300
16301if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16302  as_fn_error $? "conditional \"AMDEP\" was never defined.
16303Usually this means the macro was only invoked conditionally." "$LINENO" 5
16304fi
16305if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16306  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16307Usually this means the macro was only invoked conditionally." "$LINENO" 5
16308fi
16309if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16310  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16311Usually this means the macro was only invoked conditionally." "$LINENO" 5
16312fi
16313
16314if test -z "${HAVE_LIBLO_TRUE}" && test -z "${HAVE_LIBLO_FALSE}"; then
16315  as_fn_error $? "conditional \"HAVE_LIBLO\" was never defined.
16316Usually this means the macro was only invoked conditionally." "$LINENO" 5
16317fi
16318if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then
16319  as_fn_error $? "conditional \"HAVE_JACK\" was never defined.
16320Usually this means the macro was only invoked conditionally." "$LINENO" 5
16321fi
16322if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
16323  as_fn_error $? "conditional \"HAVE_QT\" was never defined.
16324Usually this means the macro was only invoked conditionally." "$LINENO" 5
16325fi
16326if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
16327  as_fn_error $? "conditional \"DARWIN\" was never defined.
16328Usually this means the macro was only invoked conditionally." "$LINENO" 5
16329fi
16330if test -z "${BUILD_SAMPLER_TRUE}" && test -z "${BUILD_SAMPLER_FALSE}"; then
16331  as_fn_error $? "conditional \"BUILD_SAMPLER\" was never defined.
16332Usually this means the macro was only invoked conditionally." "$LINENO" 5
16333fi
16334
16335: "${CONFIG_STATUS=./config.status}"
16336ac_write_fail=0
16337ac_clean_files_save=$ac_clean_files
16338ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16339{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16340$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16341as_write_fail=0
16342cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16343#! $SHELL
16344# Generated by $as_me.
16345# Run this file to recreate the current configuration.
16346# Compiler output produced by configure, useful for debugging
16347# configure, is in config.log if it exists.
16348
16349debug=false
16350ac_cs_recheck=false
16351ac_cs_silent=false
16352
16353SHELL=\${CONFIG_SHELL-$SHELL}
16354export SHELL
16355_ASEOF
16356cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16357## -------------------- ##
16358## M4sh Initialization. ##
16359## -------------------- ##
16360
16361# Be more Bourne compatible
16362DUALCASE=1; export DUALCASE # for MKS sh
16363if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16364  emulate sh
16365  NULLCMD=:
16366  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16367  # is contrary to our usage.  Disable this feature.
16368  alias -g '${1+"$@"}'='"$@"'
16369  setopt NO_GLOB_SUBST
16370else
16371  case `(set -o) 2>/dev/null` in @%:@(
16372  *posix*) :
16373    set -o posix ;; @%:@(
16374  *) :
16375     ;;
16376esac
16377fi
16378
16379
16380as_nl='
16381'
16382export as_nl
16383# Printing a long string crashes Solaris 7 /usr/bin/printf.
16384as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16385as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16386as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16387# Prefer a ksh shell builtin over an external printf program on Solaris,
16388# but without wasting forks for bash or zsh.
16389if test -z "$BASH_VERSION$ZSH_VERSION" \
16390    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16391  as_echo='print -r --'
16392  as_echo_n='print -rn --'
16393elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16394  as_echo='printf %s\n'
16395  as_echo_n='printf %s'
16396else
16397  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16398    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16399    as_echo_n='/usr/ucb/echo -n'
16400  else
16401    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16402    as_echo_n_body='eval
16403      arg=$1;
16404      case $arg in @%:@(
16405      *"$as_nl"*)
16406	expr "X$arg" : "X\\(.*\\)$as_nl";
16407	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16408      esac;
16409      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16410    '
16411    export as_echo_n_body
16412    as_echo_n='sh -c $as_echo_n_body as_echo'
16413  fi
16414  export as_echo_body
16415  as_echo='sh -c $as_echo_body as_echo'
16416fi
16417
16418# The user is always right.
16419if test "${PATH_SEPARATOR+set}" != set; then
16420  PATH_SEPARATOR=:
16421  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16422    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16423      PATH_SEPARATOR=';'
16424  }
16425fi
16426
16427
16428# IFS
16429# We need space, tab and new line, in precisely that order.  Quoting is
16430# there to prevent editors from complaining about space-tab.
16431# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16432# splitting by setting IFS to empty value.)
16433IFS=" ""	$as_nl"
16434
16435# Find who we are.  Look in the path if we contain no directory separator.
16436as_myself=
16437case $0 in @%:@((
16438  *[\\/]* ) as_myself=$0 ;;
16439  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16440for as_dir in $PATH
16441do
16442  IFS=$as_save_IFS
16443  test -z "$as_dir" && as_dir=.
16444    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16445  done
16446IFS=$as_save_IFS
16447
16448     ;;
16449esac
16450# We did not find ourselves, most probably we were run as `sh COMMAND'
16451# in which case we are not to be found in the path.
16452if test "x$as_myself" = x; then
16453  as_myself=$0
16454fi
16455if test ! -f "$as_myself"; then
16456  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16457  exit 1
16458fi
16459
16460# Unset variables that we do not need and which cause bugs (e.g. in
16461# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16462# suppresses any "Segmentation fault" message there.  '((' could
16463# trigger a bug in pdksh 5.2.14.
16464for as_var in BASH_ENV ENV MAIL MAILPATH
16465do eval test x\${$as_var+set} = xset \
16466  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16467done
16468PS1='$ '
16469PS2='> '
16470PS4='+ '
16471
16472# NLS nuisances.
16473LC_ALL=C
16474export LC_ALL
16475LANGUAGE=C
16476export LANGUAGE
16477
16478# CDPATH.
16479(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16480
16481
16482@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
16483@%:@ ----------------------------------------
16484@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16485@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16486@%:@ script with STATUS, using 1 if that was 0.
16487as_fn_error ()
16488{
16489  as_status=$1; test $as_status -eq 0 && as_status=1
16490  if test "$4"; then
16491    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16492    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16493  fi
16494  $as_echo "$as_me: error: $2" >&2
16495  as_fn_exit $as_status
16496} @%:@ as_fn_error
16497
16498
16499@%:@ as_fn_set_status STATUS
16500@%:@ -----------------------
16501@%:@ Set @S|@? to STATUS, without forking.
16502as_fn_set_status ()
16503{
16504  return $1
16505} @%:@ as_fn_set_status
16506
16507@%:@ as_fn_exit STATUS
16508@%:@ -----------------
16509@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16510as_fn_exit ()
16511{
16512  set +e
16513  as_fn_set_status $1
16514  exit $1
16515} @%:@ as_fn_exit
16516
16517@%:@ as_fn_unset VAR
16518@%:@ ---------------
16519@%:@ Portably unset VAR.
16520as_fn_unset ()
16521{
16522  { eval $1=; unset $1;}
16523}
16524as_unset=as_fn_unset
16525@%:@ as_fn_append VAR VALUE
16526@%:@ ----------------------
16527@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16528@%:@ advantage of any shell optimizations that allow amortized linear growth over
16529@%:@ repeated appends, instead of the typical quadratic growth present in naive
16530@%:@ implementations.
16531if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16532  eval 'as_fn_append ()
16533  {
16534    eval $1+=\$2
16535  }'
16536else
16537  as_fn_append ()
16538  {
16539    eval $1=\$$1\$2
16540  }
16541fi # as_fn_append
16542
16543@%:@ as_fn_arith ARG...
16544@%:@ ------------------
16545@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16546@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16547@%:@ must be portable across @S|@(()) and expr.
16548if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16549  eval 'as_fn_arith ()
16550  {
16551    as_val=$(( $* ))
16552  }'
16553else
16554  as_fn_arith ()
16555  {
16556    as_val=`expr "$@" || test $? -eq 1`
16557  }
16558fi # as_fn_arith
16559
16560
16561if expr a : '\(a\)' >/dev/null 2>&1 &&
16562   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16563  as_expr=expr
16564else
16565  as_expr=false
16566fi
16567
16568if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16569  as_basename=basename
16570else
16571  as_basename=false
16572fi
16573
16574if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16575  as_dirname=dirname
16576else
16577  as_dirname=false
16578fi
16579
16580as_me=`$as_basename -- "$0" ||
16581$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16582	 X"$0" : 'X\(//\)$' \| \
16583	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16584$as_echo X/"$0" |
16585    sed '/^.*\/\([^/][^/]*\)\/*$/{
16586	    s//\1/
16587	    q
16588	  }
16589	  /^X\/\(\/\/\)$/{
16590	    s//\1/
16591	    q
16592	  }
16593	  /^X\/\(\/\).*/{
16594	    s//\1/
16595	    q
16596	  }
16597	  s/.*/./; q'`
16598
16599# Avoid depending upon Character Ranges.
16600as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16601as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16602as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16603as_cr_digits='0123456789'
16604as_cr_alnum=$as_cr_Letters$as_cr_digits
16605
16606ECHO_C= ECHO_N= ECHO_T=
16607case `echo -n x` in @%:@(((((
16608-n*)
16609  case `echo 'xy\c'` in
16610  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16611  xy)  ECHO_C='\c';;
16612  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16613       ECHO_T='	';;
16614  esac;;
16615*)
16616  ECHO_N='-n';;
16617esac
16618
16619rm -f conf$$ conf$$.exe conf$$.file
16620if test -d conf$$.dir; then
16621  rm -f conf$$.dir/conf$$.file
16622else
16623  rm -f conf$$.dir
16624  mkdir conf$$.dir 2>/dev/null
16625fi
16626if (echo >conf$$.file) 2>/dev/null; then
16627  if ln -s conf$$.file conf$$ 2>/dev/null; then
16628    as_ln_s='ln -s'
16629    # ... but there are two gotchas:
16630    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16631    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16632    # In both cases, we have to default to `cp -p'.
16633    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16634      as_ln_s='cp -p'
16635  elif ln conf$$.file conf$$ 2>/dev/null; then
16636    as_ln_s=ln
16637  else
16638    as_ln_s='cp -p'
16639  fi
16640else
16641  as_ln_s='cp -p'
16642fi
16643rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16644rmdir conf$$.dir 2>/dev/null
16645
16646
16647@%:@ as_fn_mkdir_p
16648@%:@ -------------
16649@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
16650as_fn_mkdir_p ()
16651{
16652
16653  case $as_dir in #(
16654  -*) as_dir=./$as_dir;;
16655  esac
16656  test -d "$as_dir" || eval $as_mkdir_p || {
16657    as_dirs=
16658    while :; do
16659      case $as_dir in #(
16660      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16661      *) as_qdir=$as_dir;;
16662      esac
16663      as_dirs="'$as_qdir' $as_dirs"
16664      as_dir=`$as_dirname -- "$as_dir" ||
16665$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16666	 X"$as_dir" : 'X\(//\)[^/]' \| \
16667	 X"$as_dir" : 'X\(//\)$' \| \
16668	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16669$as_echo X"$as_dir" |
16670    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16671	    s//\1/
16672	    q
16673	  }
16674	  /^X\(\/\/\)[^/].*/{
16675	    s//\1/
16676	    q
16677	  }
16678	  /^X\(\/\/\)$/{
16679	    s//\1/
16680	    q
16681	  }
16682	  /^X\(\/\).*/{
16683	    s//\1/
16684	    q
16685	  }
16686	  s/.*/./; q'`
16687      test -d "$as_dir" && break
16688    done
16689    test -z "$as_dirs" || eval "mkdir $as_dirs"
16690  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16691
16692
16693} @%:@ as_fn_mkdir_p
16694if mkdir -p . 2>/dev/null; then
16695  as_mkdir_p='mkdir -p "$as_dir"'
16696else
16697  test -d ./-p && rmdir ./-p
16698  as_mkdir_p=false
16699fi
16700
16701if test -x / >/dev/null 2>&1; then
16702  as_test_x='test -x'
16703else
16704  if ls -dL / >/dev/null 2>&1; then
16705    as_ls_L_option=L
16706  else
16707    as_ls_L_option=
16708  fi
16709  as_test_x='
16710    eval sh -c '\''
16711      if test -d "$1"; then
16712	test -d "$1/.";
16713      else
16714	case $1 in @%:@(
16715	-*)set "./$1";;
16716	esac;
16717	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
16718	???[sx]*):;;*)false;;esac;fi
16719    '\'' sh
16720  '
16721fi
16722as_executable_p=$as_test_x
16723
16724# Sed expression to map a string onto a valid CPP name.
16725as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16726
16727# Sed expression to map a string onto a valid variable name.
16728as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16729
16730
16731exec 6>&1
16732## ----------------------------------- ##
16733## Main body of $CONFIG_STATUS script. ##
16734## ----------------------------------- ##
16735_ASEOF
16736test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16737
16738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16739# Save the log message, to keep $0 and so on meaningful, and to
16740# report actual input values of CONFIG_FILES etc. instead of their
16741# values after options handling.
16742ac_log="
16743This file was extended by DSSI $as_me 1.1.1, which was
16744generated by GNU Autoconf 2.68.  Invocation command line was
16745
16746  CONFIG_FILES    = $CONFIG_FILES
16747  CONFIG_HEADERS  = $CONFIG_HEADERS
16748  CONFIG_LINKS    = $CONFIG_LINKS
16749  CONFIG_COMMANDS = $CONFIG_COMMANDS
16750  $ $0 $@
16751
16752on `(hostname || uname -n) 2>/dev/null | sed 1q`
16753"
16754
16755_ACEOF
16756
16757case $ac_config_files in *"
16758"*) set x $ac_config_files; shift; ac_config_files=$*;;
16759esac
16760
16761case $ac_config_headers in *"
16762"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16763esac
16764
16765
16766cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16767# Files that config.status was made for.
16768config_files="$ac_config_files"
16769config_headers="$ac_config_headers"
16770config_commands="$ac_config_commands"
16771
16772_ACEOF
16773
16774cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16775ac_cs_usage="\
16776\`$as_me' instantiates files and other configuration actions
16777from templates according to the current configuration.  Unless the files
16778and actions are specified as TAGs, all are instantiated by default.
16779
16780Usage: $0 [OPTION]... [TAG]...
16781
16782  -h, --help       print this help, then exit
16783  -V, --version    print version number and configuration settings, then exit
16784      --config     print configuration, then exit
16785  -q, --quiet, --silent
16786                   do not print progress messages
16787  -d, --debug      don't remove temporary files
16788      --recheck    update $as_me by reconfiguring in the same conditions
16789      --file=FILE[:TEMPLATE]
16790                   instantiate the configuration file FILE
16791      --header=FILE[:TEMPLATE]
16792                   instantiate the configuration header FILE
16793
16794Configuration files:
16795$config_files
16796
16797Configuration headers:
16798$config_headers
16799
16800Configuration commands:
16801$config_commands
16802
16803Report bugs to <dssi-devel@lists.sourceforge.net>."
16804
16805_ACEOF
16806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16807ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16808ac_cs_version="\\
16809DSSI config.status 1.1.1
16810configured by $0, generated by GNU Autoconf 2.68,
16811  with options \\"\$ac_cs_config\\"
16812
16813Copyright (C) 2010 Free Software Foundation, Inc.
16814This config.status script is free software; the Free Software Foundation
16815gives unlimited permission to copy, distribute and modify it."
16816
16817ac_pwd='$ac_pwd'
16818srcdir='$srcdir'
16819INSTALL='$INSTALL'
16820MKDIR_P='$MKDIR_P'
16821AWK='$AWK'
16822test -n "\$AWK" || AWK=awk
16823_ACEOF
16824
16825cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16826# The default lists apply if the user does not specify any file.
16827ac_need_defaults=:
16828while test $# != 0
16829do
16830  case $1 in
16831  --*=?*)
16832    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16833    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16834    ac_shift=:
16835    ;;
16836  --*=)
16837    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16838    ac_optarg=
16839    ac_shift=:
16840    ;;
16841  *)
16842    ac_option=$1
16843    ac_optarg=$2
16844    ac_shift=shift
16845    ;;
16846  esac
16847
16848  case $ac_option in
16849  # Handling of the options.
16850  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16851    ac_cs_recheck=: ;;
16852  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16853    $as_echo "$ac_cs_version"; exit ;;
16854  --config | --confi | --conf | --con | --co | --c )
16855    $as_echo "$ac_cs_config"; exit ;;
16856  --debug | --debu | --deb | --de | --d | -d )
16857    debug=: ;;
16858  --file | --fil | --fi | --f )
16859    $ac_shift
16860    case $ac_optarg in
16861    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16862    '') as_fn_error $? "missing file argument" ;;
16863    esac
16864    as_fn_append CONFIG_FILES " '$ac_optarg'"
16865    ac_need_defaults=false;;
16866  --header | --heade | --head | --hea )
16867    $ac_shift
16868    case $ac_optarg in
16869    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16870    esac
16871    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16872    ac_need_defaults=false;;
16873  --he | --h)
16874    # Conflict between --help and --header
16875    as_fn_error $? "ambiguous option: \`$1'
16876Try \`$0 --help' for more information.";;
16877  --help | --hel | -h )
16878    $as_echo "$ac_cs_usage"; exit ;;
16879  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16880  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16881    ac_cs_silent=: ;;
16882
16883  # This is an error.
16884  -*) as_fn_error $? "unrecognized option: \`$1'
16885Try \`$0 --help' for more information." ;;
16886
16887  *) as_fn_append ac_config_targets " $1"
16888     ac_need_defaults=false ;;
16889
16890  esac
16891  shift
16892done
16893
16894ac_configure_extra_args=
16895
16896if $ac_cs_silent; then
16897  exec 6>/dev/null
16898  ac_configure_extra_args="$ac_configure_extra_args --silent"
16899fi
16900
16901_ACEOF
16902cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16903if \$ac_cs_recheck; then
16904  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16905  shift
16906  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16907  CONFIG_SHELL='$SHELL'
16908  export CONFIG_SHELL
16909  exec "\$@"
16910fi
16911
16912_ACEOF
16913cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16914exec 5>>config.log
16915{
16916  echo
16917  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16918@%:@@%:@ Running $as_me. @%:@@%:@
16919_ASBOX
16920  $as_echo "$ac_log"
16921} >&5
16922
16923_ACEOF
16924cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16925#
16926# INIT-COMMANDS
16927#
16928AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16929
16930
16931# The HP-UX ksh and POSIX shell print the target directory to stdout
16932# if CDPATH is set.
16933(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16934
16935sed_quote_subst='$sed_quote_subst'
16936double_quote_subst='$double_quote_subst'
16937delay_variable_subst='$delay_variable_subst'
16938enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16939enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16940macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16941macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16942pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16943enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16944SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16945ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16946host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16947host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16948host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16949build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16950build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16951build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16952SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16953Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16954GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16955EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16956FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16957LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16958NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16959LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16960max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16961ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16962exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16963lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16964lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16965lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16966lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16967lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16968reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16969reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16970OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16971deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16972file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16973file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16974want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16975DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16976sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16977AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16978AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16979archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16980STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16981RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16982old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16983old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16984old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16985lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16986CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16987CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16988compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16989GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16990lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16991lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16992lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16993lt_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"`'
16994nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16995lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16996objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16997MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16998lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16999lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17000lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17001lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17002lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17003need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17004MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17005DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17006NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17007LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17008OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17009OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17010libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17011shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17012extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17013archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17014enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17015export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17016whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17017compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17018old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17019old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17020archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17021archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17022module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17023module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17024with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17025allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17026no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17027hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17028hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17029hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17030hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17031hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17032hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17033hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17034hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17035inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17036link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17037always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17038export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17039exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17040include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17041prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17042postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17043file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17044variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17045need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17046need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17047version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17048runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17049shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17050shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17051libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17052library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17053soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17054install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17055postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17056postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17057finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17058finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17059hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17060sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17061sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17062hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17063enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17064enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17065enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17066old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17067striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17068compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17069predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17070postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17071predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17072postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17073compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17074LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17075reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17076reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17077old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17078compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17079GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17080lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17081lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17082lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17083lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17084lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17085archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17086enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17087export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17088whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17089compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17090old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17091old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17092archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17093archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17094module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17095module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17096with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17097allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17098no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17099hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17100hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17101hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17102hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17103hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17104hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17105hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17106hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17107inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17108link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17109always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17110export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17111exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17112include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17113prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17114postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17115file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17116hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17117compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17118predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17119postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17120predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17121postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17122compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17123
17124LTCC='$LTCC'
17125LTCFLAGS='$LTCFLAGS'
17126compiler='$compiler_DEFAULT'
17127
17128# A function that is used when there is no print builtin or printf.
17129func_fallback_echo ()
17130{
17131  eval 'cat <<_LTECHO_EOF
17132\$1
17133_LTECHO_EOF'
17134}
17135
17136# Quote evaled strings.
17137for var in SHELL \
17138ECHO \
17139SED \
17140GREP \
17141EGREP \
17142FGREP \
17143LD \
17144NM \
17145LN_S \
17146lt_SP2NL \
17147lt_NL2SP \
17148reload_flag \
17149OBJDUMP \
17150deplibs_check_method \
17151file_magic_cmd \
17152file_magic_glob \
17153want_nocaseglob \
17154DLLTOOL \
17155sharedlib_from_linklib_cmd \
17156AR \
17157AR_FLAGS \
17158archiver_list_spec \
17159STRIP \
17160RANLIB \
17161CC \
17162CFLAGS \
17163compiler \
17164lt_cv_sys_global_symbol_pipe \
17165lt_cv_sys_global_symbol_to_cdecl \
17166lt_cv_sys_global_symbol_to_c_name_address \
17167lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17168nm_file_list_spec \
17169lt_prog_compiler_no_builtin_flag \
17170lt_prog_compiler_pic \
17171lt_prog_compiler_wl \
17172lt_prog_compiler_static \
17173lt_cv_prog_compiler_c_o \
17174need_locks \
17175MANIFEST_TOOL \
17176DSYMUTIL \
17177NMEDIT \
17178LIPO \
17179OTOOL \
17180OTOOL64 \
17181shrext_cmds \
17182export_dynamic_flag_spec \
17183whole_archive_flag_spec \
17184compiler_needs_object \
17185with_gnu_ld \
17186allow_undefined_flag \
17187no_undefined_flag \
17188hardcode_libdir_flag_spec \
17189hardcode_libdir_flag_spec_ld \
17190hardcode_libdir_separator \
17191exclude_expsyms \
17192include_expsyms \
17193file_list_spec \
17194variables_saved_for_relink \
17195libname_spec \
17196library_names_spec \
17197soname_spec \
17198install_override_mode \
17199finish_eval \
17200old_striplib \
17201striplib \
17202compiler_lib_search_dirs \
17203predep_objects \
17204postdep_objects \
17205predeps \
17206postdeps \
17207compiler_lib_search_path \
17208LD_CXX \
17209reload_flag_CXX \
17210compiler_CXX \
17211lt_prog_compiler_no_builtin_flag_CXX \
17212lt_prog_compiler_pic_CXX \
17213lt_prog_compiler_wl_CXX \
17214lt_prog_compiler_static_CXX \
17215lt_cv_prog_compiler_c_o_CXX \
17216export_dynamic_flag_spec_CXX \
17217whole_archive_flag_spec_CXX \
17218compiler_needs_object_CXX \
17219with_gnu_ld_CXX \
17220allow_undefined_flag_CXX \
17221no_undefined_flag_CXX \
17222hardcode_libdir_flag_spec_CXX \
17223hardcode_libdir_flag_spec_ld_CXX \
17224hardcode_libdir_separator_CXX \
17225exclude_expsyms_CXX \
17226include_expsyms_CXX \
17227file_list_spec_CXX \
17228compiler_lib_search_dirs_CXX \
17229predep_objects_CXX \
17230postdep_objects_CXX \
17231predeps_CXX \
17232postdeps_CXX \
17233compiler_lib_search_path_CXX; do
17234    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17235    *[\\\\\\\`\\"\\\$]*)
17236      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17237      ;;
17238    *)
17239      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17240      ;;
17241    esac
17242done
17243
17244# Double-quote double-evaled strings.
17245for var in reload_cmds \
17246old_postinstall_cmds \
17247old_postuninstall_cmds \
17248old_archive_cmds \
17249extract_expsyms_cmds \
17250old_archive_from_new_cmds \
17251old_archive_from_expsyms_cmds \
17252archive_cmds \
17253archive_expsym_cmds \
17254module_cmds \
17255module_expsym_cmds \
17256export_symbols_cmds \
17257prelink_cmds \
17258postlink_cmds \
17259postinstall_cmds \
17260postuninstall_cmds \
17261finish_cmds \
17262sys_lib_search_path_spec \
17263sys_lib_dlsearch_path_spec \
17264reload_cmds_CXX \
17265old_archive_cmds_CXX \
17266old_archive_from_new_cmds_CXX \
17267old_archive_from_expsyms_cmds_CXX \
17268archive_cmds_CXX \
17269archive_expsym_cmds_CXX \
17270module_cmds_CXX \
17271module_expsym_cmds_CXX \
17272export_symbols_cmds_CXX \
17273prelink_cmds_CXX \
17274postlink_cmds_CXX; do
17275    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17276    *[\\\\\\\`\\"\\\$]*)
17277      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17278      ;;
17279    *)
17280      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17281      ;;
17282    esac
17283done
17284
17285ac_aux_dir='$ac_aux_dir'
17286xsi_shell='$xsi_shell'
17287lt_shell_append='$lt_shell_append'
17288
17289# See if we are running on zsh, and set the options which allow our
17290# commands through without removal of \ escapes INIT.
17291if test -n "\${ZSH_VERSION+set}" ; then
17292   setopt NO_GLOB_SUBST
17293fi
17294
17295
17296    PACKAGE='$PACKAGE'
17297    VERSION='$VERSION'
17298    TIMESTAMP='$TIMESTAMP'
17299    RM='$RM'
17300    ofile='$ofile'
17301
17302
17303
17304
17305
17306
17307_ACEOF
17308
17309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17310
17311# Handling of arguments.
17312for ac_config_target in $ac_config_targets
17313do
17314  case $ac_config_target in
17315    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17316    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17317    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17318    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17319    "dssi.pc") CONFIG_FILES="$CONFIG_FILES dssi.pc" ;;
17320    "jack-dssi-host/Makefile") CONFIG_FILES="$CONFIG_FILES jack-dssi-host/Makefile" ;;
17321    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17322    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17323
17324  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17325  esac
17326done
17327
17328
17329# If the user did not use the arguments to specify the items to instantiate,
17330# then the envvar interface is used.  Set only those that are not.
17331# We use the long form for the default assignment because of an extremely
17332# bizarre bug on SunOS 4.1.3.
17333if $ac_need_defaults; then
17334  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17335  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17336  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17337fi
17338
17339# Have a temporary directory for convenience.  Make it in the build tree
17340# simply because there is no reason against having it here, and in addition,
17341# creating and moving files from /tmp can sometimes cause problems.
17342# Hook for its removal unless debugging.
17343# Note that there is a small window in which the directory will not be cleaned:
17344# after its creation but before its name has been assigned to `$tmp'.
17345$debug ||
17346{
17347  tmp= ac_tmp=
17348  trap 'exit_status=$?
17349  : "${ac_tmp:=$tmp}"
17350  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17351' 0
17352  trap 'as_fn_exit 1' 1 2 13 15
17353}
17354# Create a (secure) tmp directory for tmp files.
17355
17356{
17357  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17358  test -d "$tmp"
17359}  ||
17360{
17361  tmp=./conf$$-$RANDOM
17362  (umask 077 && mkdir "$tmp")
17363} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17364ac_tmp=$tmp
17365
17366# Set up the scripts for CONFIG_FILES section.
17367# No need to generate them if there are no CONFIG_FILES.
17368# This happens for instance with `./config.status config.h'.
17369if test -n "$CONFIG_FILES"; then
17370
17371
17372ac_cr=`echo X | tr X '\015'`
17373# On cygwin, bash can eat \r inside `` if the user requested igncr.
17374# But we know of no other shell where ac_cr would be empty at this
17375# point, so we can use a bashism as a fallback.
17376if test "x$ac_cr" = x; then
17377  eval ac_cr=\$\'\\r\'
17378fi
17379ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17380if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17381  ac_cs_awk_cr='\\r'
17382else
17383  ac_cs_awk_cr=$ac_cr
17384fi
17385
17386echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17387_ACEOF
17388
17389
17390{
17391  echo "cat >conf$$subs.awk <<_ACEOF" &&
17392  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17393  echo "_ACEOF"
17394} >conf$$subs.sh ||
17395  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17396ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17397ac_delim='%!_!# '
17398for ac_last_try in false false false false false :; do
17399  . ./conf$$subs.sh ||
17400    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17401
17402  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17403  if test $ac_delim_n = $ac_delim_num; then
17404    break
17405  elif $ac_last_try; then
17406    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17407  else
17408    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17409  fi
17410done
17411rm -f conf$$subs.sh
17412
17413cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17414cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17415_ACEOF
17416sed -n '
17417h
17418s/^/S["/; s/!.*/"]=/
17419p
17420g
17421s/^[^!]*!//
17422:repl
17423t repl
17424s/'"$ac_delim"'$//
17425t delim
17426:nl
17427h
17428s/\(.\{148\}\)..*/\1/
17429t more1
17430s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17431p
17432n
17433b repl
17434:more1
17435s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17436p
17437g
17438s/.\{148\}//
17439t nl
17440:delim
17441h
17442s/\(.\{148\}\)..*/\1/
17443t more2
17444s/["\\]/\\&/g; s/^/"/; s/$/"/
17445p
17446b
17447:more2
17448s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17449p
17450g
17451s/.\{148\}//
17452t delim
17453' <conf$$subs.awk | sed '
17454/^[^""]/{
17455  N
17456  s/\n//
17457}
17458' >>$CONFIG_STATUS || ac_write_fail=1
17459rm -f conf$$subs.awk
17460cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17461_ACAWK
17462cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17463  for (key in S) S_is_set[key] = 1
17464  FS = ""
17465
17466}
17467{
17468  line = $ 0
17469  nfields = split(line, field, "@")
17470  substed = 0
17471  len = length(field[1])
17472  for (i = 2; i < nfields; i++) {
17473    key = field[i]
17474    keylen = length(key)
17475    if (S_is_set[key]) {
17476      value = S[key]
17477      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17478      len += length(value) + length(field[++i])
17479      substed = 1
17480    } else
17481      len += 1 + keylen
17482  }
17483
17484  print line
17485}
17486
17487_ACAWK
17488_ACEOF
17489cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17490if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17491  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17492else
17493  cat
17494fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17495  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17496_ACEOF
17497
17498# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17499# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17500# trailing colons and then remove the whole line if VPATH becomes empty
17501# (actually we leave an empty line to preserve line numbers).
17502if test "x$srcdir" = x.; then
17503  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17504h
17505s///
17506s/^/:/
17507s/[	 ]*$/:/
17508s/:\$(srcdir):/:/g
17509s/:\${srcdir}:/:/g
17510s/:@srcdir@:/:/g
17511s/^:*//
17512s/:*$//
17513x
17514s/\(=[	 ]*\).*/\1/
17515G
17516s/\n//
17517s/^[^=]*=[	 ]*$//
17518}'
17519fi
17520
17521cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17522fi # test -n "$CONFIG_FILES"
17523
17524# Set up the scripts for CONFIG_HEADERS section.
17525# No need to generate them if there are no CONFIG_HEADERS.
17526# This happens for instance with `./config.status Makefile'.
17527if test -n "$CONFIG_HEADERS"; then
17528cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17529BEGIN {
17530_ACEOF
17531
17532# Transform confdefs.h into an awk script `defines.awk', embedded as
17533# here-document in config.status, that substitutes the proper values into
17534# config.h.in to produce config.h.
17535
17536# Create a delimiter string that does not exist in confdefs.h, to ease
17537# handling of long lines.
17538ac_delim='%!_!# '
17539for ac_last_try in false false :; do
17540  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17541  if test -z "$ac_tt"; then
17542    break
17543  elif $ac_last_try; then
17544    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17545  else
17546    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17547  fi
17548done
17549
17550# For the awk script, D is an array of macro values keyed by name,
17551# likewise P contains macro parameters if any.  Preserve backslash
17552# newline sequences.
17553
17554ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17555sed -n '
17556s/.\{148\}/&'"$ac_delim"'/g
17557t rset
17558:rset
17559s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17560t def
17561d
17562:def
17563s/\\$//
17564t bsnl
17565s/["\\]/\\&/g
17566s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17567D["\1"]=" \3"/p
17568s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17569d
17570:bsnl
17571s/["\\]/\\&/g
17572s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17573D["\1"]=" \3\\\\\\n"\\/p
17574t cont
17575s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17576t cont
17577d
17578:cont
17579n
17580s/.\{148\}/&'"$ac_delim"'/g
17581t clear
17582:clear
17583s/\\$//
17584t bsnlc
17585s/["\\]/\\&/g; s/^/"/; s/$/"/p
17586d
17587:bsnlc
17588s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17589b cont
17590' <confdefs.h | sed '
17591s/'"$ac_delim"'/"\\\
17592"/g' >>$CONFIG_STATUS || ac_write_fail=1
17593
17594cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17595  for (key in D) D_is_set[key] = 1
17596  FS = ""
17597}
17598/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17599  line = \$ 0
17600  split(line, arg, " ")
17601  if (arg[1] == "#") {
17602    defundef = arg[2]
17603    mac1 = arg[3]
17604  } else {
17605    defundef = substr(arg[1], 2)
17606    mac1 = arg[2]
17607  }
17608  split(mac1, mac2, "(") #)
17609  macro = mac2[1]
17610  prefix = substr(line, 1, index(line, defundef) - 1)
17611  if (D_is_set[macro]) {
17612    # Preserve the white space surrounding the "#".
17613    print prefix "define", macro P[macro] D[macro]
17614    next
17615  } else {
17616    # Replace #undef with comments.  This is necessary, for example,
17617    # in the case of _POSIX_SOURCE, which is predefined and required
17618    # on some systems where configure will not decide to define it.
17619    if (defundef == "undef") {
17620      print "/*", prefix defundef, macro, "*/"
17621      next
17622    }
17623  }
17624}
17625{ print }
17626_ACAWK
17627_ACEOF
17628cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17629  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17630fi # test -n "$CONFIG_HEADERS"
17631
17632
17633eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17634shift
17635for ac_tag
17636do
17637  case $ac_tag in
17638  :[FHLC]) ac_mode=$ac_tag; continue;;
17639  esac
17640  case $ac_mode$ac_tag in
17641  :[FHL]*:*);;
17642  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17643  :[FH]-) ac_tag=-:-;;
17644  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17645  esac
17646  ac_save_IFS=$IFS
17647  IFS=:
17648  set x $ac_tag
17649  IFS=$ac_save_IFS
17650  shift
17651  ac_file=$1
17652  shift
17653
17654  case $ac_mode in
17655  :L) ac_source=$1;;
17656  :[FH])
17657    ac_file_inputs=
17658    for ac_f
17659    do
17660      case $ac_f in
17661      -) ac_f="$ac_tmp/stdin";;
17662      *) # Look for the file first in the build tree, then in the source tree
17663	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17664	 # because $ac_f cannot contain `:'.
17665	 test -f "$ac_f" ||
17666	   case $ac_f in
17667	   [\\/$]*) false;;
17668	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17669	   esac ||
17670	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17671      esac
17672      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17673      as_fn_append ac_file_inputs " '$ac_f'"
17674    done
17675
17676    # Let's still pretend it is `configure' which instantiates (i.e., don't
17677    # use $as_me), people would be surprised to read:
17678    #    /* config.h.  Generated by config.status.  */
17679    configure_input='Generated from '`
17680	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17681	`' by configure.'
17682    if test x"$ac_file" != x-; then
17683      configure_input="$ac_file.  $configure_input"
17684      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17685$as_echo "$as_me: creating $ac_file" >&6;}
17686    fi
17687    # Neutralize special characters interpreted by sed in replacement strings.
17688    case $configure_input in #(
17689    *\&* | *\|* | *\\* )
17690       ac_sed_conf_input=`$as_echo "$configure_input" |
17691       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17692    *) ac_sed_conf_input=$configure_input;;
17693    esac
17694
17695    case $ac_tag in
17696    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17697      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17698    esac
17699    ;;
17700  esac
17701
17702  ac_dir=`$as_dirname -- "$ac_file" ||
17703$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17704	 X"$ac_file" : 'X\(//\)[^/]' \| \
17705	 X"$ac_file" : 'X\(//\)$' \| \
17706	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17707$as_echo X"$ac_file" |
17708    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17709	    s//\1/
17710	    q
17711	  }
17712	  /^X\(\/\/\)[^/].*/{
17713	    s//\1/
17714	    q
17715	  }
17716	  /^X\(\/\/\)$/{
17717	    s//\1/
17718	    q
17719	  }
17720	  /^X\(\/\).*/{
17721	    s//\1/
17722	    q
17723	  }
17724	  s/.*/./; q'`
17725  as_dir="$ac_dir"; as_fn_mkdir_p
17726  ac_builddir=.
17727
17728case "$ac_dir" in
17729.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17730*)
17731  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17732  # A ".." for each directory in $ac_dir_suffix.
17733  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17734  case $ac_top_builddir_sub in
17735  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17736  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17737  esac ;;
17738esac
17739ac_abs_top_builddir=$ac_pwd
17740ac_abs_builddir=$ac_pwd$ac_dir_suffix
17741# for backward compatibility:
17742ac_top_builddir=$ac_top_build_prefix
17743
17744case $srcdir in
17745  .)  # We are building in place.
17746    ac_srcdir=.
17747    ac_top_srcdir=$ac_top_builddir_sub
17748    ac_abs_top_srcdir=$ac_pwd ;;
17749  [\\/]* | ?:[\\/]* )  # Absolute name.
17750    ac_srcdir=$srcdir$ac_dir_suffix;
17751    ac_top_srcdir=$srcdir
17752    ac_abs_top_srcdir=$srcdir ;;
17753  *) # Relative name.
17754    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17755    ac_top_srcdir=$ac_top_build_prefix$srcdir
17756    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17757esac
17758ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17759
17760
17761  case $ac_mode in
17762  :F)
17763  #
17764  # CONFIG_FILE
17765  #
17766
17767  case $INSTALL in
17768  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17769  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17770  esac
17771  ac_MKDIR_P=$MKDIR_P
17772  case $MKDIR_P in
17773  [\\/$]* | ?:[\\/]* ) ;;
17774  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17775  esac
17776_ACEOF
17777
17778cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17779# If the template does not know about datarootdir, expand it.
17780# FIXME: This hack should be removed a few years after 2.60.
17781ac_datarootdir_hack=; ac_datarootdir_seen=
17782ac_sed_dataroot='
17783/datarootdir/ {
17784  p
17785  q
17786}
17787/@datadir@/p
17788/@docdir@/p
17789/@infodir@/p
17790/@localedir@/p
17791/@mandir@/p'
17792case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17793*datarootdir*) ac_datarootdir_seen=yes;;
17794*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17795  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17796$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17797_ACEOF
17798cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17799  ac_datarootdir_hack='
17800  s&@datadir@&$datadir&g
17801  s&@docdir@&$docdir&g
17802  s&@infodir@&$infodir&g
17803  s&@localedir@&$localedir&g
17804  s&@mandir@&$mandir&g
17805  s&\\\${datarootdir}&$datarootdir&g' ;;
17806esac
17807_ACEOF
17808
17809# Neutralize VPATH when `$srcdir' = `.'.
17810# Shell code in configure.ac might set extrasub.
17811# FIXME: do we really want to maintain this feature?
17812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17813ac_sed_extra="$ac_vpsub
17814$extrasub
17815_ACEOF
17816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17817:t
17818/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17819s|@configure_input@|$ac_sed_conf_input|;t t
17820s&@top_builddir@&$ac_top_builddir_sub&;t t
17821s&@top_build_prefix@&$ac_top_build_prefix&;t t
17822s&@srcdir@&$ac_srcdir&;t t
17823s&@abs_srcdir@&$ac_abs_srcdir&;t t
17824s&@top_srcdir@&$ac_top_srcdir&;t t
17825s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17826s&@builddir@&$ac_builddir&;t t
17827s&@abs_builddir@&$ac_abs_builddir&;t t
17828s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17829s&@INSTALL@&$ac_INSTALL&;t t
17830s&@MKDIR_P@&$ac_MKDIR_P&;t t
17831$ac_datarootdir_hack
17832"
17833eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17834  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17835
17836test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17837  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17838  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17839      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17840  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17841which seems to be undefined.  Please make sure it is defined" >&5
17842$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17843which seems to be undefined.  Please make sure it is defined" >&2;}
17844
17845  rm -f "$ac_tmp/stdin"
17846  case $ac_file in
17847  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17848  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17849  esac \
17850  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17851 ;;
17852  :H)
17853  #
17854  # CONFIG_HEADER
17855  #
17856  if test x"$ac_file" != x-; then
17857    {
17858      $as_echo "/* $configure_input  */" \
17859      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17860    } >"$ac_tmp/config.h" \
17861      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17862    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17863      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17864$as_echo "$as_me: $ac_file is unchanged" >&6;}
17865    else
17866      rm -f "$ac_file"
17867      mv "$ac_tmp/config.h" "$ac_file" \
17868	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17869    fi
17870  else
17871    $as_echo "/* $configure_input  */" \
17872      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17873      || as_fn_error $? "could not create -" "$LINENO" 5
17874  fi
17875# Compute "$ac_file"'s index in $config_headers.
17876_am_arg="$ac_file"
17877_am_stamp_count=1
17878for _am_header in $config_headers :; do
17879  case $_am_header in
17880    $_am_arg | $_am_arg:* )
17881      break ;;
17882    * )
17883      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17884  esac
17885done
17886echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17887$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17888	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17889	 X"$_am_arg" : 'X\(//\)$' \| \
17890	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17891$as_echo X"$_am_arg" |
17892    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17893	    s//\1/
17894	    q
17895	  }
17896	  /^X\(\/\/\)[^/].*/{
17897	    s//\1/
17898	    q
17899	  }
17900	  /^X\(\/\/\)$/{
17901	    s//\1/
17902	    q
17903	  }
17904	  /^X\(\/\).*/{
17905	    s//\1/
17906	    q
17907	  }
17908	  s/.*/./; q'`/stamp-h$_am_stamp_count
17909 ;;
17910
17911  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17912$as_echo "$as_me: executing $ac_file commands" >&6;}
17913 ;;
17914  esac
17915
17916
17917  case $ac_file$ac_mode in
17918    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17919  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17920  # are listed without --file.  Let's play safe and only enable the eval
17921  # if we detect the quoting.
17922  case $CONFIG_FILES in
17923  *\'*) eval set x "$CONFIG_FILES" ;;
17924  *)   set x $CONFIG_FILES ;;
17925  esac
17926  shift
17927  for mf
17928  do
17929    # Strip MF so we end up with the name of the file.
17930    mf=`echo "$mf" | sed -e 's/:.*$//'`
17931    # Check whether this is an Automake generated Makefile or not.
17932    # We used to match only the files named `Makefile.in', but
17933    # some people rename them; so instead we look at the file content.
17934    # Grep'ing the first line is not enough: some people post-process
17935    # each Makefile.in and add a new line on top of each file to say so.
17936    # Grep'ing the whole file is not good either: AIX grep has a line
17937    # limit of 2048, but all sed's we know have understand at least 4000.
17938    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17939      dirpart=`$as_dirname -- "$mf" ||
17940$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17941	 X"$mf" : 'X\(//\)[^/]' \| \
17942	 X"$mf" : 'X\(//\)$' \| \
17943	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17944$as_echo X"$mf" |
17945    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17946	    s//\1/
17947	    q
17948	  }
17949	  /^X\(\/\/\)[^/].*/{
17950	    s//\1/
17951	    q
17952	  }
17953	  /^X\(\/\/\)$/{
17954	    s//\1/
17955	    q
17956	  }
17957	  /^X\(\/\).*/{
17958	    s//\1/
17959	    q
17960	  }
17961	  s/.*/./; q'`
17962    else
17963      continue
17964    fi
17965    # Extract the definition of DEPDIR, am__include, and am__quote
17966    # from the Makefile without running `make'.
17967    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17968    test -z "$DEPDIR" && continue
17969    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17970    test -z "am__include" && continue
17971    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17972    # When using ansi2knr, U may be empty or an underscore; expand it
17973    U=`sed -n 's/^U = //p' < "$mf"`
17974    # Find all dependency output files, they are included files with
17975    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17976    # simplest approach to changing $(DEPDIR) to its actual value in the
17977    # expansion.
17978    for file in `sed -n "
17979      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17980	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17981      # Make sure the directory exists.
17982      test -f "$dirpart/$file" && continue
17983      fdir=`$as_dirname -- "$file" ||
17984$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17985	 X"$file" : 'X\(//\)[^/]' \| \
17986	 X"$file" : 'X\(//\)$' \| \
17987	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17988$as_echo X"$file" |
17989    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17990	    s//\1/
17991	    q
17992	  }
17993	  /^X\(\/\/\)[^/].*/{
17994	    s//\1/
17995	    q
17996	  }
17997	  /^X\(\/\/\)$/{
17998	    s//\1/
17999	    q
18000	  }
18001	  /^X\(\/\).*/{
18002	    s//\1/
18003	    q
18004	  }
18005	  s/.*/./; q'`
18006      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18007      # echo "creating $dirpart/$file"
18008      echo '# dummy' > "$dirpart/$file"
18009    done
18010  done
18011}
18012 ;;
18013    "libtool":C)
18014
18015    # See if we are running on zsh, and set the options which allow our
18016    # commands through without removal of \ escapes.
18017    if test -n "${ZSH_VERSION+set}" ; then
18018      setopt NO_GLOB_SUBST
18019    fi
18020
18021    cfgfile="${ofile}T"
18022    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18023    $RM "$cfgfile"
18024
18025    cat <<_LT_EOF >> "$cfgfile"
18026#! $SHELL
18027
18028# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18029# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18030# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18031# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18032#
18033#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18034#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18035#                 Inc.
18036#   Written by Gordon Matzigkeit, 1996
18037#
18038#   This file is part of GNU Libtool.
18039#
18040# GNU Libtool is free software; you can redistribute it and/or
18041# modify it under the terms of the GNU General Public License as
18042# published by the Free Software Foundation; either version 2 of
18043# the License, or (at your option) any later version.
18044#
18045# As a special exception to the GNU General Public License,
18046# if you distribute this file as part of a program or library that
18047# is built using GNU Libtool, you may include this file under the
18048# same distribution terms that you use for the rest of that program.
18049#
18050# GNU Libtool is distributed in the hope that it will be useful,
18051# but WITHOUT ANY WARRANTY; without even the implied warranty of
18052# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18053# GNU General Public License for more details.
18054#
18055# You should have received a copy of the GNU General Public License
18056# along with GNU Libtool; see the file COPYING.  If not, a copy
18057# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18058# obtained by writing to the Free Software Foundation, Inc.,
18059# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18060
18061
18062# The names of the tagged configurations supported by this script.
18063available_tags="CXX "
18064
18065# ### BEGIN LIBTOOL CONFIG
18066
18067# Whether or not to build static libraries.
18068build_old_libs=$enable_static
18069
18070# Whether or not to build shared libraries.
18071build_libtool_libs=$enable_shared
18072
18073# Which release of libtool.m4 was used?
18074macro_version=$macro_version
18075macro_revision=$macro_revision
18076
18077# What type of objects to build.
18078pic_mode=$pic_mode
18079
18080# Whether or not to optimize for fast installation.
18081fast_install=$enable_fast_install
18082
18083# Shell to use when invoking shell scripts.
18084SHELL=$lt_SHELL
18085
18086# An echo program that protects backslashes.
18087ECHO=$lt_ECHO
18088
18089# The host system.
18090host_alias=$host_alias
18091host=$host
18092host_os=$host_os
18093
18094# The build system.
18095build_alias=$build_alias
18096build=$build
18097build_os=$build_os
18098
18099# A sed program that does not truncate output.
18100SED=$lt_SED
18101
18102# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18103Xsed="\$SED -e 1s/^X//"
18104
18105# A grep program that handles long lines.
18106GREP=$lt_GREP
18107
18108# An ERE matcher.
18109EGREP=$lt_EGREP
18110
18111# A literal string matcher.
18112FGREP=$lt_FGREP
18113
18114# A BSD- or MS-compatible name lister.
18115NM=$lt_NM
18116
18117# Whether we need soft or hard links.
18118LN_S=$lt_LN_S
18119
18120# What is the maximum length of a command?
18121max_cmd_len=$max_cmd_len
18122
18123# Object file suffix (normally "o").
18124objext=$ac_objext
18125
18126# Executable file suffix (normally "").
18127exeext=$exeext
18128
18129# whether the shell understands "unset".
18130lt_unset=$lt_unset
18131
18132# turn spaces into newlines.
18133SP2NL=$lt_lt_SP2NL
18134
18135# turn newlines into spaces.
18136NL2SP=$lt_lt_NL2SP
18137
18138# convert \$build file names to \$host format.
18139to_host_file_cmd=$lt_cv_to_host_file_cmd
18140
18141# convert \$build files to toolchain format.
18142to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18143
18144# An object symbol dumper.
18145OBJDUMP=$lt_OBJDUMP
18146
18147# Method to check whether dependent libraries are shared objects.
18148deplibs_check_method=$lt_deplibs_check_method
18149
18150# Command to use when deplibs_check_method = "file_magic".
18151file_magic_cmd=$lt_file_magic_cmd
18152
18153# How to find potential files when deplibs_check_method = "file_magic".
18154file_magic_glob=$lt_file_magic_glob
18155
18156# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18157want_nocaseglob=$lt_want_nocaseglob
18158
18159# DLL creation program.
18160DLLTOOL=$lt_DLLTOOL
18161
18162# Command to associate shared and link libraries.
18163sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18164
18165# The archiver.
18166AR=$lt_AR
18167
18168# Flags to create an archive.
18169AR_FLAGS=$lt_AR_FLAGS
18170
18171# How to feed a file listing to the archiver.
18172archiver_list_spec=$lt_archiver_list_spec
18173
18174# A symbol stripping program.
18175STRIP=$lt_STRIP
18176
18177# Commands used to install an old-style archive.
18178RANLIB=$lt_RANLIB
18179old_postinstall_cmds=$lt_old_postinstall_cmds
18180old_postuninstall_cmds=$lt_old_postuninstall_cmds
18181
18182# Whether to use a lock for old archive extraction.
18183lock_old_archive_extraction=$lock_old_archive_extraction
18184
18185# A C compiler.
18186LTCC=$lt_CC
18187
18188# LTCC compiler flags.
18189LTCFLAGS=$lt_CFLAGS
18190
18191# Take the output of nm and produce a listing of raw symbols and C names.
18192global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18193
18194# Transform the output of nm in a proper C declaration.
18195global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18196
18197# Transform the output of nm in a C name address pair.
18198global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18199
18200# Transform the output of nm in a C name address pair when lib prefix is needed.
18201global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18202
18203# Specify filename containing input files for \$NM.
18204nm_file_list_spec=$lt_nm_file_list_spec
18205
18206# The root where to search for dependent libraries,and in which our libraries should be installed.
18207lt_sysroot=$lt_sysroot
18208
18209# The name of the directory that contains temporary libtool files.
18210objdir=$objdir
18211
18212# Used to examine libraries when file_magic_cmd begins with "file".
18213MAGIC_CMD=$MAGIC_CMD
18214
18215# Must we lock files when doing compilation?
18216need_locks=$lt_need_locks
18217
18218# Manifest tool.
18219MANIFEST_TOOL=$lt_MANIFEST_TOOL
18220
18221# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18222DSYMUTIL=$lt_DSYMUTIL
18223
18224# Tool to change global to local symbols on Mac OS X.
18225NMEDIT=$lt_NMEDIT
18226
18227# Tool to manipulate fat objects and archives on Mac OS X.
18228LIPO=$lt_LIPO
18229
18230# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18231OTOOL=$lt_OTOOL
18232
18233# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18234OTOOL64=$lt_OTOOL64
18235
18236# Old archive suffix (normally "a").
18237libext=$libext
18238
18239# Shared library suffix (normally ".so").
18240shrext_cmds=$lt_shrext_cmds
18241
18242# The commands to extract the exported symbol list from a shared archive.
18243extract_expsyms_cmds=$lt_extract_expsyms_cmds
18244
18245# Variables whose values should be saved in libtool wrapper scripts and
18246# restored at link time.
18247variables_saved_for_relink=$lt_variables_saved_for_relink
18248
18249# Do we need the "lib" prefix for modules?
18250need_lib_prefix=$need_lib_prefix
18251
18252# Do we need a version for libraries?
18253need_version=$need_version
18254
18255# Library versioning type.
18256version_type=$version_type
18257
18258# Shared library runtime path variable.
18259runpath_var=$runpath_var
18260
18261# Shared library path variable.
18262shlibpath_var=$shlibpath_var
18263
18264# Is shlibpath searched before the hard-coded library search path?
18265shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18266
18267# Format of library name prefix.
18268libname_spec=$lt_libname_spec
18269
18270# List of archive names.  First name is the real one, the rest are links.
18271# The last name is the one that the linker finds with -lNAME
18272library_names_spec=$lt_library_names_spec
18273
18274# The coded name of the library, if different from the real name.
18275soname_spec=$lt_soname_spec
18276
18277# Permission mode override for installation of shared libraries.
18278install_override_mode=$lt_install_override_mode
18279
18280# Command to use after installation of a shared archive.
18281postinstall_cmds=$lt_postinstall_cmds
18282
18283# Command to use after uninstallation of a shared archive.
18284postuninstall_cmds=$lt_postuninstall_cmds
18285
18286# Commands used to finish a libtool library installation in a directory.
18287finish_cmds=$lt_finish_cmds
18288
18289# As "finish_cmds", except a single script fragment to be evaled but
18290# not shown.
18291finish_eval=$lt_finish_eval
18292
18293# Whether we should hardcode library paths into libraries.
18294hardcode_into_libs=$hardcode_into_libs
18295
18296# Compile-time system search path for libraries.
18297sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18298
18299# Run-time system search path for libraries.
18300sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18301
18302# Whether dlopen is supported.
18303dlopen_support=$enable_dlopen
18304
18305# Whether dlopen of programs is supported.
18306dlopen_self=$enable_dlopen_self
18307
18308# Whether dlopen of statically linked programs is supported.
18309dlopen_self_static=$enable_dlopen_self_static
18310
18311# Commands to strip libraries.
18312old_striplib=$lt_old_striplib
18313striplib=$lt_striplib
18314
18315
18316# The linker used to build libraries.
18317LD=$lt_LD
18318
18319# How to create reloadable object files.
18320reload_flag=$lt_reload_flag
18321reload_cmds=$lt_reload_cmds
18322
18323# Commands used to build an old-style archive.
18324old_archive_cmds=$lt_old_archive_cmds
18325
18326# A language specific compiler.
18327CC=$lt_compiler
18328
18329# Is the compiler the GNU compiler?
18330with_gcc=$GCC
18331
18332# Compiler flag to turn off builtin functions.
18333no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18334
18335# Additional compiler flags for building library objects.
18336pic_flag=$lt_lt_prog_compiler_pic
18337
18338# How to pass a linker flag through the compiler.
18339wl=$lt_lt_prog_compiler_wl
18340
18341# Compiler flag to prevent dynamic linking.
18342link_static_flag=$lt_lt_prog_compiler_static
18343
18344# Does compiler simultaneously support -c and -o options?
18345compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18346
18347# Whether or not to add -lc for building shared libraries.
18348build_libtool_need_lc=$archive_cmds_need_lc
18349
18350# Whether or not to disallow shared libs when runtime libs are static.
18351allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18352
18353# Compiler flag to allow reflexive dlopens.
18354export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18355
18356# Compiler flag to generate shared objects directly from archives.
18357whole_archive_flag_spec=$lt_whole_archive_flag_spec
18358
18359# Whether the compiler copes with passing no objects directly.
18360compiler_needs_object=$lt_compiler_needs_object
18361
18362# Create an old-style archive from a shared archive.
18363old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18364
18365# Create a temporary old-style archive to link instead of a shared archive.
18366old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18367
18368# Commands used to build a shared archive.
18369archive_cmds=$lt_archive_cmds
18370archive_expsym_cmds=$lt_archive_expsym_cmds
18371
18372# Commands used to build a loadable module if different from building
18373# a shared archive.
18374module_cmds=$lt_module_cmds
18375module_expsym_cmds=$lt_module_expsym_cmds
18376
18377# Whether we are building with GNU ld or not.
18378with_gnu_ld=$lt_with_gnu_ld
18379
18380# Flag that allows shared libraries with undefined symbols to be built.
18381allow_undefined_flag=$lt_allow_undefined_flag
18382
18383# Flag that enforces no undefined symbols.
18384no_undefined_flag=$lt_no_undefined_flag
18385
18386# Flag to hardcode \$libdir into a binary during linking.
18387# This must work even if \$libdir does not exist
18388hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18389
18390# If ld is used when linking, flag to hardcode \$libdir into a binary
18391# during linking.  This must work even if \$libdir does not exist.
18392hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18393
18394# Whether we need a single "-rpath" flag with a separated argument.
18395hardcode_libdir_separator=$lt_hardcode_libdir_separator
18396
18397# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18398# DIR into the resulting binary.
18399hardcode_direct=$hardcode_direct
18400
18401# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18402# DIR into the resulting binary and the resulting library dependency is
18403# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18404# library is relocated.
18405hardcode_direct_absolute=$hardcode_direct_absolute
18406
18407# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18408# into the resulting binary.
18409hardcode_minus_L=$hardcode_minus_L
18410
18411# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18412# into the resulting binary.
18413hardcode_shlibpath_var=$hardcode_shlibpath_var
18414
18415# Set to "yes" if building a shared library automatically hardcodes DIR
18416# into the library and all subsequent libraries and executables linked
18417# against it.
18418hardcode_automatic=$hardcode_automatic
18419
18420# Set to yes if linker adds runtime paths of dependent libraries
18421# to runtime path list.
18422inherit_rpath=$inherit_rpath
18423
18424# Whether libtool must link a program against all its dependency libraries.
18425link_all_deplibs=$link_all_deplibs
18426
18427# Set to "yes" if exported symbols are required.
18428always_export_symbols=$always_export_symbols
18429
18430# The commands to list exported symbols.
18431export_symbols_cmds=$lt_export_symbols_cmds
18432
18433# Symbols that should not be listed in the preloaded symbols.
18434exclude_expsyms=$lt_exclude_expsyms
18435
18436# Symbols that must always be exported.
18437include_expsyms=$lt_include_expsyms
18438
18439# Commands necessary for linking programs (against libraries) with templates.
18440prelink_cmds=$lt_prelink_cmds
18441
18442# Commands necessary for finishing linking programs.
18443postlink_cmds=$lt_postlink_cmds
18444
18445# Specify filename containing input files.
18446file_list_spec=$lt_file_list_spec
18447
18448# How to hardcode a shared library path into an executable.
18449hardcode_action=$hardcode_action
18450
18451# The directories searched by this compiler when creating a shared library.
18452compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18453
18454# Dependencies to place before and after the objects being linked to
18455# create a shared library.
18456predep_objects=$lt_predep_objects
18457postdep_objects=$lt_postdep_objects
18458predeps=$lt_predeps
18459postdeps=$lt_postdeps
18460
18461# The library search path used internally by the compiler when linking
18462# a shared library.
18463compiler_lib_search_path=$lt_compiler_lib_search_path
18464
18465# ### END LIBTOOL CONFIG
18466
18467_LT_EOF
18468
18469  case $host_os in
18470  aix3*)
18471    cat <<\_LT_EOF >> "$cfgfile"
18472# AIX sometimes has problems with the GCC collect2 program.  For some
18473# reason, if we set the COLLECT_NAMES environment variable, the problems
18474# vanish in a puff of smoke.
18475if test "X${COLLECT_NAMES+set}" != Xset; then
18476  COLLECT_NAMES=
18477  export COLLECT_NAMES
18478fi
18479_LT_EOF
18480    ;;
18481  esac
18482
18483
18484ltmain="$ac_aux_dir/ltmain.sh"
18485
18486
18487  # We use sed instead of cat because bash on DJGPP gets confused if
18488  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18489  # text mode, it properly converts lines to CR/LF.  This bash problem
18490  # is reportedly fixed, but why not run on old versions too?
18491  sed '$q' "$ltmain" >> "$cfgfile" \
18492     || (rm -f "$cfgfile"; exit 1)
18493
18494  if test x"$xsi_shell" = xyes; then
18495  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18496func_dirname ()\
18497{\
18498\    case ${1} in\
18499\      */*) func_dirname_result="${1%/*}${2}" ;;\
18500\      *  ) func_dirname_result="${3}" ;;\
18501\    esac\
18502} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18503  && mv -f "$cfgfile.tmp" "$cfgfile" \
18504    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18505test 0 -eq $? || _lt_function_replace_fail=:
18506
18507
18508  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18509func_basename ()\
18510{\
18511\    func_basename_result="${1##*/}"\
18512} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18513  && mv -f "$cfgfile.tmp" "$cfgfile" \
18514    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18515test 0 -eq $? || _lt_function_replace_fail=:
18516
18517
18518  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18519func_dirname_and_basename ()\
18520{\
18521\    case ${1} in\
18522\      */*) func_dirname_result="${1%/*}${2}" ;;\
18523\      *  ) func_dirname_result="${3}" ;;\
18524\    esac\
18525\    func_basename_result="${1##*/}"\
18526} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18527  && mv -f "$cfgfile.tmp" "$cfgfile" \
18528    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18529test 0 -eq $? || _lt_function_replace_fail=:
18530
18531
18532  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18533func_stripname ()\
18534{\
18535\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18536\    # positional parameters, so assign one to ordinary parameter first.\
18537\    func_stripname_result=${3}\
18538\    func_stripname_result=${func_stripname_result#"${1}"}\
18539\    func_stripname_result=${func_stripname_result%"${2}"}\
18540} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18541  && mv -f "$cfgfile.tmp" "$cfgfile" \
18542    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18543test 0 -eq $? || _lt_function_replace_fail=:
18544
18545
18546  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18547func_split_long_opt ()\
18548{\
18549\    func_split_long_opt_name=${1%%=*}\
18550\    func_split_long_opt_arg=${1#*=}\
18551} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18552  && mv -f "$cfgfile.tmp" "$cfgfile" \
18553    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18554test 0 -eq $? || _lt_function_replace_fail=:
18555
18556
18557  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18558func_split_short_opt ()\
18559{\
18560\    func_split_short_opt_arg=${1#??}\
18561\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18562} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18563  && mv -f "$cfgfile.tmp" "$cfgfile" \
18564    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18565test 0 -eq $? || _lt_function_replace_fail=:
18566
18567
18568  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18569func_lo2o ()\
18570{\
18571\    case ${1} in\
18572\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18573\      *)    func_lo2o_result=${1} ;;\
18574\    esac\
18575} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18576  && mv -f "$cfgfile.tmp" "$cfgfile" \
18577    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18578test 0 -eq $? || _lt_function_replace_fail=:
18579
18580
18581  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18582func_xform ()\
18583{\
18584    func_xform_result=${1%.*}.lo\
18585} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18586  && mv -f "$cfgfile.tmp" "$cfgfile" \
18587    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18588test 0 -eq $? || _lt_function_replace_fail=:
18589
18590
18591  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18592func_arith ()\
18593{\
18594    func_arith_result=$(( $* ))\
18595} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18596  && mv -f "$cfgfile.tmp" "$cfgfile" \
18597    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18598test 0 -eq $? || _lt_function_replace_fail=:
18599
18600
18601  sed -e '/^func_len ()$/,/^} # func_len /c\
18602func_len ()\
18603{\
18604    func_len_result=${#1}\
18605} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18606  && mv -f "$cfgfile.tmp" "$cfgfile" \
18607    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18608test 0 -eq $? || _lt_function_replace_fail=:
18609
18610fi
18611
18612if test x"$lt_shell_append" = xyes; then
18613  sed -e '/^func_append ()$/,/^} # func_append /c\
18614func_append ()\
18615{\
18616    eval "${1}+=\\${2}"\
18617} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18618  && mv -f "$cfgfile.tmp" "$cfgfile" \
18619    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18620test 0 -eq $? || _lt_function_replace_fail=:
18621
18622
18623  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18624func_append_quoted ()\
18625{\
18626\    func_quote_for_eval "${2}"\
18627\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18628} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18629  && mv -f "$cfgfile.tmp" "$cfgfile" \
18630    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18631test 0 -eq $? || _lt_function_replace_fail=:
18632
18633
18634  # Save a `func_append' function call where possible by direct use of '+='
18635  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18636    && mv -f "$cfgfile.tmp" "$cfgfile" \
18637      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18638  test 0 -eq $? || _lt_function_replace_fail=:
18639else
18640  # Save a `func_append' function call even when '+=' is not available
18641  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18642    && mv -f "$cfgfile.tmp" "$cfgfile" \
18643      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18644  test 0 -eq $? || _lt_function_replace_fail=:
18645fi
18646
18647if test x"$_lt_function_replace_fail" = x":"; then
18648  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18649$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18650fi
18651
18652
18653   mv -f "$cfgfile" "$ofile" ||
18654    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18655  chmod +x "$ofile"
18656
18657
18658    cat <<_LT_EOF >> "$ofile"
18659
18660# ### BEGIN LIBTOOL TAG CONFIG: CXX
18661
18662# The linker used to build libraries.
18663LD=$lt_LD_CXX
18664
18665# How to create reloadable object files.
18666reload_flag=$lt_reload_flag_CXX
18667reload_cmds=$lt_reload_cmds_CXX
18668
18669# Commands used to build an old-style archive.
18670old_archive_cmds=$lt_old_archive_cmds_CXX
18671
18672# A language specific compiler.
18673CC=$lt_compiler_CXX
18674
18675# Is the compiler the GNU compiler?
18676with_gcc=$GCC_CXX
18677
18678# Compiler flag to turn off builtin functions.
18679no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18680
18681# Additional compiler flags for building library objects.
18682pic_flag=$lt_lt_prog_compiler_pic_CXX
18683
18684# How to pass a linker flag through the compiler.
18685wl=$lt_lt_prog_compiler_wl_CXX
18686
18687# Compiler flag to prevent dynamic linking.
18688link_static_flag=$lt_lt_prog_compiler_static_CXX
18689
18690# Does compiler simultaneously support -c and -o options?
18691compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18692
18693# Whether or not to add -lc for building shared libraries.
18694build_libtool_need_lc=$archive_cmds_need_lc_CXX
18695
18696# Whether or not to disallow shared libs when runtime libs are static.
18697allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18698
18699# Compiler flag to allow reflexive dlopens.
18700export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18701
18702# Compiler flag to generate shared objects directly from archives.
18703whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18704
18705# Whether the compiler copes with passing no objects directly.
18706compiler_needs_object=$lt_compiler_needs_object_CXX
18707
18708# Create an old-style archive from a shared archive.
18709old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18710
18711# Create a temporary old-style archive to link instead of a shared archive.
18712old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18713
18714# Commands used to build a shared archive.
18715archive_cmds=$lt_archive_cmds_CXX
18716archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18717
18718# Commands used to build a loadable module if different from building
18719# a shared archive.
18720module_cmds=$lt_module_cmds_CXX
18721module_expsym_cmds=$lt_module_expsym_cmds_CXX
18722
18723# Whether we are building with GNU ld or not.
18724with_gnu_ld=$lt_with_gnu_ld_CXX
18725
18726# Flag that allows shared libraries with undefined symbols to be built.
18727allow_undefined_flag=$lt_allow_undefined_flag_CXX
18728
18729# Flag that enforces no undefined symbols.
18730no_undefined_flag=$lt_no_undefined_flag_CXX
18731
18732# Flag to hardcode \$libdir into a binary during linking.
18733# This must work even if \$libdir does not exist
18734hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18735
18736# If ld is used when linking, flag to hardcode \$libdir into a binary
18737# during linking.  This must work even if \$libdir does not exist.
18738hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18739
18740# Whether we need a single "-rpath" flag with a separated argument.
18741hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18742
18743# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18744# DIR into the resulting binary.
18745hardcode_direct=$hardcode_direct_CXX
18746
18747# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18748# DIR into the resulting binary and the resulting library dependency is
18749# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18750# library is relocated.
18751hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18752
18753# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18754# into the resulting binary.
18755hardcode_minus_L=$hardcode_minus_L_CXX
18756
18757# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18758# into the resulting binary.
18759hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18760
18761# Set to "yes" if building a shared library automatically hardcodes DIR
18762# into the library and all subsequent libraries and executables linked
18763# against it.
18764hardcode_automatic=$hardcode_automatic_CXX
18765
18766# Set to yes if linker adds runtime paths of dependent libraries
18767# to runtime path list.
18768inherit_rpath=$inherit_rpath_CXX
18769
18770# Whether libtool must link a program against all its dependency libraries.
18771link_all_deplibs=$link_all_deplibs_CXX
18772
18773# Set to "yes" if exported symbols are required.
18774always_export_symbols=$always_export_symbols_CXX
18775
18776# The commands to list exported symbols.
18777export_symbols_cmds=$lt_export_symbols_cmds_CXX
18778
18779# Symbols that should not be listed in the preloaded symbols.
18780exclude_expsyms=$lt_exclude_expsyms_CXX
18781
18782# Symbols that must always be exported.
18783include_expsyms=$lt_include_expsyms_CXX
18784
18785# Commands necessary for linking programs (against libraries) with templates.
18786prelink_cmds=$lt_prelink_cmds_CXX
18787
18788# Commands necessary for finishing linking programs.
18789postlink_cmds=$lt_postlink_cmds_CXX
18790
18791# Specify filename containing input files.
18792file_list_spec=$lt_file_list_spec_CXX
18793
18794# How to hardcode a shared library path into an executable.
18795hardcode_action=$hardcode_action_CXX
18796
18797# The directories searched by this compiler when creating a shared library.
18798compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18799
18800# Dependencies to place before and after the objects being linked to
18801# create a shared library.
18802predep_objects=$lt_predep_objects_CXX
18803postdep_objects=$lt_postdep_objects_CXX
18804predeps=$lt_predeps_CXX
18805postdeps=$lt_postdeps_CXX
18806
18807# The library search path used internally by the compiler when linking
18808# a shared library.
18809compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18810
18811# ### END LIBTOOL TAG CONFIG: CXX
18812_LT_EOF
18813
18814 ;;
18815
18816  esac
18817done # for ac_tag
18818
18819
18820as_fn_exit 0
18821_ACEOF
18822ac_clean_files=$ac_clean_files_save
18823
18824test $ac_write_fail = 0 ||
18825  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18826
18827
18828# configure is writing to config.log, and then calls config.status.
18829# config.status does its own redirection, appending to config.log.
18830# Unfortunately, on DOS this fails, as config.log is still kept open
18831# by configure, so config.status won't be able to write to it; its
18832# output is simply discarded.  So we exec the FD to /dev/null,
18833# effectively closing config.log, so it can be properly (re)opened and
18834# appended to by config.status.  When coming back to configure, we
18835# need to make the FD available again.
18836if test "$no_create" != yes; then
18837  ac_cs_success=:
18838  ac_config_status_args=
18839  test "$silent" = yes &&
18840    ac_config_status_args="$ac_config_status_args --quiet"
18841  exec 5>/dev/null
18842  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18843  exec 5>>config.log
18844  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18845  # would make configure fail if this is the last instruction.
18846  $ac_cs_success || as_fn_exit 1
18847fi
18848if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18849  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18850$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18851fi
18852
18853
18854
18855echo "* ======== DSSI ${PACKAGE_VERSION} configured ========"
18856
18857if test -z "$jack_dssi_host_needs" ; then
18858    echo "* building jack-dssi-host:            yes"
18859else
18860    echo "* building jack-dssi-host:            no (missing$jack_dssi_host_needs)"
18861fi
18862echo "* building DSSI list/analyse tools:   yes"
18863if test -z "$dssi_osc_tools_needs" ; then
18864    echo "* building DSSI OSC tools:            yes"
18865else
18866    echo "* building DSSI OSC tools:            no (missing$dssi_osc_tools_needs)"
18867fi
18868echo "* building trivial_synth plugin:      yes"
18869echo "* building less_trivial_synth plugin: yes"
18870echo "* building karplong plugin:           yes"
18871if test -z "$trivial_sampler_needs" ; then
18872    echo "* building trivial_sampler plugin:    yes"
18873else
18874    echo "* building trivial_sampler plugin:    no (missing$trivial_sampler_needs)"
18875fi
18876if test -z "$less_trivial_synth_gui_needs" ; then
18877    echo "* building less_trivial_synth GUI:    yes"
18878else
18879    echo "* building less_trivial_synth GUI:    no (missing$less_trivial_synth_gui_needs)"
18880fi
18881if test -z "$trivial_sampler_gui_needs" ; then
18882    echo "* building trivial_sampler GUI:       yes"
18883else
18884    echo "* building trivial_sampler GUI:       no (missing$trivial_sampler_gui_needs)"
18885fi
18886