Changes conf path to /hal/share/alsa
[platform/upstream/alsa-lib.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for alsa-lib 1.0.28.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='alsa-lib'
589 PACKAGE_TARNAME='alsa-lib'
590 PACKAGE_VERSION='1.0.28'
591 PACKAGE_STRING='alsa-lib 1.0.28'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/control/control.c"
596 ac_default_prefix=/usr
597 # Factoring default headers for most tests.
598 ac_includes_default="\
599 #include <stdio.h>
600 #ifdef HAVE_SYS_TYPES_H
601 # include <sys/types.h>
602 #endif
603 #ifdef HAVE_SYS_STAT_H
604 # include <sys/stat.h>
605 #endif
606 #ifdef STDC_HEADERS
607 # include <stdlib.h>
608 # include <stddef.h>
609 #else
610 # ifdef HAVE_STDLIB_H
611 #  include <stdlib.h>
612 # endif
613 #endif
614 #ifdef HAVE_STRING_H
615 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
616 #  include <memory.h>
617 # endif
618 # include <string.h>
619 #endif
620 #ifdef HAVE_STRINGS_H
621 # include <strings.h>
622 #endif
623 #ifdef HAVE_INTTYPES_H
624 # include <inttypes.h>
625 #endif
626 #ifdef HAVE_STDINT_H
627 # include <stdint.h>
628 #endif
629 #ifdef HAVE_UNISTD_H
630 # include <unistd.h>
631 #endif"
632
633 ac_subst_vars='am__EXEEXT_FALSE
634 am__EXEEXT_TRUE
635 LTLIBOBJS
636 LIBOBJS
637 BUILD_CTL_PLUGIN_EXT_FALSE
638 BUILD_CTL_PLUGIN_EXT_TRUE
639 BUILD_CTL_PLUGIN_SHM_FALSE
640 BUILD_CTL_PLUGIN_SHM_TRUE
641 BUILD_CTL_PLUGIN_FALSE
642 BUILD_CTL_PLUGIN_TRUE
643 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE
644 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE
645 BUILD_PCM_PLUGIN_IOPLUG_FALSE
646 BUILD_PCM_PLUGIN_IOPLUG_TRUE
647 BUILD_PCM_PLUGIN_EXTPLUG_FALSE
648 BUILD_PCM_PLUGIN_EXTPLUG_TRUE
649 BUILD_PCM_PLUGIN_SOFTVOL_FALSE
650 BUILD_PCM_PLUGIN_SOFTVOL_TRUE
651 BUILD_PCM_PLUGIN_IEC958_FALSE
652 BUILD_PCM_PLUGIN_IEC958_TRUE
653 BUILD_PCM_PLUGIN_ASYM_FALSE
654 BUILD_PCM_PLUGIN_ASYM_TRUE
655 BUILD_PCM_PLUGIN_DSNOOP_FALSE
656 BUILD_PCM_PLUGIN_DSNOOP_TRUE
657 BUILD_PCM_PLUGIN_DSHARE_FALSE
658 BUILD_PCM_PLUGIN_DSHARE_TRUE
659 BUILD_PCM_PLUGIN_DMIX_FALSE
660 BUILD_PCM_PLUGIN_DMIX_TRUE
661 BUILD_PCM_PLUGIN_LADSPA_FALSE
662 BUILD_PCM_PLUGIN_LADSPA_TRUE
663 BUILD_PCM_PLUGIN_LFLOAT_FALSE
664 BUILD_PCM_PLUGIN_LFLOAT_TRUE
665 BUILD_PCM_PLUGIN_HOOKS_FALSE
666 BUILD_PCM_PLUGIN_HOOKS_TRUE
667 BUILD_PCM_PLUGIN_METER_FALSE
668 BUILD_PCM_PLUGIN_METER_TRUE
669 BUILD_PCM_PLUGIN_SHARE_FALSE
670 BUILD_PCM_PLUGIN_SHARE_TRUE
671 BUILD_PCM_PLUGIN_EMPTY_FALSE
672 BUILD_PCM_PLUGIN_EMPTY_TRUE
673 BUILD_PCM_PLUGIN_NULL_FALSE
674 BUILD_PCM_PLUGIN_NULL_TRUE
675 BUILD_PCM_PLUGIN_FILE_FALSE
676 BUILD_PCM_PLUGIN_FILE_TRUE
677 BUILD_PCM_PLUGIN_SHM_FALSE
678 BUILD_PCM_PLUGIN_SHM_TRUE
679 BUILD_PCM_PLUGIN_MULTI_FALSE
680 BUILD_PCM_PLUGIN_MULTI_TRUE
681 BUILD_PCM_PLUGIN_PLUG_FALSE
682 BUILD_PCM_PLUGIN_PLUG_TRUE
683 BUILD_PCM_PLUGIN_RATE_FALSE
684 BUILD_PCM_PLUGIN_RATE_TRUE
685 BUILD_PCM_PLUGIN_ADPCM_FALSE
686 BUILD_PCM_PLUGIN_ADPCM_TRUE
687 BUILD_PCM_PLUGIN_ALAW_FALSE
688 BUILD_PCM_PLUGIN_ALAW_TRUE
689 BUILD_PCM_PLUGIN_MULAW_FALSE
690 BUILD_PCM_PLUGIN_MULAW_TRUE
691 BUILD_PCM_PLUGIN_ROUTE_FALSE
692 BUILD_PCM_PLUGIN_ROUTE_TRUE
693 BUILD_PCM_PLUGIN_LINEAR_FALSE
694 BUILD_PCM_PLUGIN_LINEAR_TRUE
695 BUILD_PCM_PLUGIN_COPY_FALSE
696 BUILD_PCM_PLUGIN_COPY_TRUE
697 BUILD_PCM_PLUGIN_FALSE
698 BUILD_PCM_PLUGIN_TRUE
699 BUILD_PYTHON_FALSE
700 BUILD_PYTHON_TRUE
701 BUILD_ALISP_FALSE
702 BUILD_ALISP_TRUE
703 BUILD_UCM_FALSE
704 BUILD_UCM_TRUE
705 BUILD_SEQ_FALSE
706 BUILD_SEQ_TRUE
707 BUILD_HWDEP_FALSE
708 BUILD_HWDEP_TRUE
709 BUILD_RAWMIDI_FALSE
710 BUILD_RAWMIDI_TRUE
711 BUILD_PCM_FALSE
712 BUILD_PCM_TRUE
713 BUILD_MIXER_FALSE
714 BUILD_MIXER_TRUE
715 PYTHON_INCLUDES
716 PYTHON_LIBS
717 KEEP_OLD_SYMBOLS_FALSE
718 KEEP_OLD_SYMBOLS_TRUE
719 ALSA_DEPLIBS
720 BUILD_MODULES_FALSE
721 BUILD_MODULES_TRUE
722 SYMBOL_PREFIX
723 SYMBOLIC_FUNCTIONS_FALSE
724 SYMBOLIC_FUNCTIONS_TRUE
725 VERSIONED_SYMBOLS_FALSE
726 VERSIONED_SYMBOLS_TRUE
727 ALSA_PKGCONF_DIR
728 ALSA_PLUGIN_DIR
729 ALSA_CONFIG_DIR
730 LIBTOOL_VERSION_INFO
731 SND_LIB_EXTRAVER
732 SND_LIB_SUBMINOR
733 SND_LIB_MINOR
734 SND_LIB_MAJOR
735 SND_LIB_VERSION
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 MANIFEST_TOOL
742 RANLIB
743 ac_ct_AR
744 AR
745 DLLTOOL
746 OBJDUMP
747 NM
748 ac_ct_DUMPBIN
749 DUMPBIN
750 LD
751 FGREP
752 EGREP
753 GREP
754 SED
755 LIBTOOL
756 LN_S
757 CPP
758 am__fastdepCC_FALSE
759 am__fastdepCC_TRUE
760 CCDEPMODE
761 am__nodep
762 AMDEPBACKSLASH
763 AMDEP_FALSE
764 AMDEP_TRUE
765 am__quote
766 am__include
767 DEPDIR
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
774 CC
775 AM_BACKSLASH
776 AM_DEFAULT_VERBOSITY
777 AM_DEFAULT_V
778 AM_V
779 MAINT
780 MAINTAINER_MODE_FALSE
781 MAINTAINER_MODE_TRUE
782 INSTALL_M4_FALSE
783 INSTALL_M4_TRUE
784 am__untar
785 am__tar
786 AMTAR
787 am__leading_dot
788 SET_MAKE
789 AWK
790 mkdir_p
791 MKDIR_P
792 INSTALL_STRIP_PROGRAM
793 STRIP
794 install_sh
795 MAKEINFO
796 AUTOHEADER
797 AUTOMAKE
798 AUTOCONF
799 ACLOCAL
800 VERSION
801 PACKAGE
802 CYGPATH_W
803 am__isrc
804 INSTALL_DATA
805 INSTALL_SCRIPT
806 INSTALL_PROGRAM
807 host_os
808 host_vendor
809 host_cpu
810 host
811 build_os
812 build_vendor
813 build_cpu
814 build
815 target_alias
816 host_alias
817 build_alias
818 LIBS
819 ECHO_T
820 ECHO_N
821 ECHO_C
822 DEFS
823 mandir
824 localedir
825 libdir
826 psdir
827 pdfdir
828 dvidir
829 htmldir
830 infodir
831 docdir
832 oldincludedir
833 includedir
834 localstatedir
835 sharedstatedir
836 sysconfdir
837 datadir
838 datarootdir
839 libexecdir
840 sbindir
841 bindir
842 program_transform_name
843 prefix
844 exec_prefix
845 PACKAGE_URL
846 PACKAGE_BUGREPORT
847 PACKAGE_STRING
848 PACKAGE_VERSION
849 PACKAGE_TARNAME
850 PACKAGE_NAME
851 PATH_SEPARATOR
852 SHELL'
853 ac_subst_files=''
854 ac_user_opts='
855 enable_option_checking
856 enable_maintainer_mode
857 enable_silent_rules
858 enable_dependency_tracking
859 enable_static
860 enable_shared
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 with_sysroot
865 enable_libtool_lock
866 with_configdir
867 with_plugindir
868 with_pkgconfdir
869 with_versioned
870 enable_symbolic_functions
871 with_debug
872 enable_debug_assert
873 with_tmpdir
874 with_softfloat
875 with_libdl
876 with_pthread
877 with_librt
878 enable_resmgr
879 enable_aload
880 with_alsa_devdir
881 with_aload_devdir
882 enable_mixer
883 enable_pcm
884 enable_rawmidi
885 enable_hwdep
886 enable_seq
887 enable_ucm
888 enable_alisp
889 enable_old_symbols
890 enable_python
891 with_pythonlibs
892 with_pythonincludes
893 with_pcm_plugins
894 with_ctl_plugins
895 with_max_cards
896 '
897       ac_precious_vars='build_alias
898 host_alias
899 target_alias
900 CC
901 CFLAGS
902 LDFLAGS
903 LIBS
904 CPPFLAGS
905 CPP'
906
907
908 # Initialize some variables set by options.
909 ac_init_help=
910 ac_init_version=false
911 ac_unrecognized_opts=
912 ac_unrecognized_sep=
913 # The variables have the same names as the options, with
914 # dashes changed to underlines.
915 cache_file=/dev/null
916 exec_prefix=NONE
917 no_create=
918 no_recursion=
919 prefix=NONE
920 program_prefix=NONE
921 program_suffix=NONE
922 program_transform_name=s,x,x,
923 silent=
924 site=
925 srcdir=
926 verbose=
927 x_includes=NONE
928 x_libraries=NONE
929
930 # Installation directory options.
931 # These are left unexpanded so users can "make install exec_prefix=/foo"
932 # and all the variables that are supposed to be based on exec_prefix
933 # by default will actually change.
934 # Use braces instead of parens because sh, perl, etc. also accept them.
935 # (The list follows the same order as the GNU Coding Standards.)
936 bindir='${exec_prefix}/bin'
937 sbindir='${exec_prefix}/sbin'
938 libexecdir='${exec_prefix}/libexec'
939 datarootdir='${prefix}/share'
940 datadir='${datarootdir}'
941 sysconfdir='${prefix}/etc'
942 sharedstatedir='${prefix}/com'
943 localstatedir='${prefix}/var'
944 includedir='${prefix}/include'
945 oldincludedir='/usr/include'
946 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
947 infodir='${datarootdir}/info'
948 htmldir='${docdir}'
949 dvidir='${docdir}'
950 pdfdir='${docdir}'
951 psdir='${docdir}'
952 libdir='${exec_prefix}/lib'
953 localedir='${datarootdir}/locale'
954 mandir='${datarootdir}/man'
955
956 ac_prev=
957 ac_dashdash=
958 for ac_option
959 do
960   # If the previous option needs an argument, assign it.
961   if test -n "$ac_prev"; then
962     eval $ac_prev=\$ac_option
963     ac_prev=
964     continue
965   fi
966
967   case $ac_option in
968   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969   *=)   ac_optarg= ;;
970   *)    ac_optarg=yes ;;
971   esac
972
973   # Accept the important Cygnus configure options, so we can diagnose typos.
974
975   case $ac_dashdash$ac_option in
976   --)
977     ac_dashdash=yes ;;
978
979   -bindir | --bindir | --bindi | --bind | --bin | --bi)
980     ac_prev=bindir ;;
981   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982     bindir=$ac_optarg ;;
983
984   -build | --build | --buil | --bui | --bu)
985     ac_prev=build_alias ;;
986   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
987     build_alias=$ac_optarg ;;
988
989   -cache-file | --cache-file | --cache-fil | --cache-fi \
990   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
991     ac_prev=cache_file ;;
992   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
993   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
994     cache_file=$ac_optarg ;;
995
996   --config-cache | -C)
997     cache_file=config.cache ;;
998
999   -datadir | --datadir | --datadi | --datad)
1000     ac_prev=datadir ;;
1001   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1002     datadir=$ac_optarg ;;
1003
1004   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1005   | --dataroo | --dataro | --datar)
1006     ac_prev=datarootdir ;;
1007   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1008   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1009     datarootdir=$ac_optarg ;;
1010
1011   -disable-* | --disable-*)
1012     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013     # Reject names that are not valid shell variable names.
1014     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015       as_fn_error $? "invalid feature name: $ac_useropt"
1016     ac_useropt_orig=$ac_useropt
1017     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018     case $ac_user_opts in
1019       *"
1020 "enable_$ac_useropt"
1021 "*) ;;
1022       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023          ac_unrecognized_sep=', ';;
1024     esac
1025     eval enable_$ac_useropt=no ;;
1026
1027   -docdir | --docdir | --docdi | --doc | --do)
1028     ac_prev=docdir ;;
1029   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1030     docdir=$ac_optarg ;;
1031
1032   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1033     ac_prev=dvidir ;;
1034   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1035     dvidir=$ac_optarg ;;
1036
1037   -enable-* | --enable-*)
1038     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039     # Reject names that are not valid shell variable names.
1040     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041       as_fn_error $? "invalid feature name: $ac_useropt"
1042     ac_useropt_orig=$ac_useropt
1043     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044     case $ac_user_opts in
1045       *"
1046 "enable_$ac_useropt"
1047 "*) ;;
1048       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049          ac_unrecognized_sep=', ';;
1050     esac
1051     eval enable_$ac_useropt=\$ac_optarg ;;
1052
1053   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1054   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1055   | --exec | --exe | --ex)
1056     ac_prev=exec_prefix ;;
1057   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1058   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1059   | --exec=* | --exe=* | --ex=*)
1060     exec_prefix=$ac_optarg ;;
1061
1062   -gas | --gas | --ga | --g)
1063     # Obsolete; use --with-gas.
1064     with_gas=yes ;;
1065
1066   -help | --help | --hel | --he | -h)
1067     ac_init_help=long ;;
1068   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1069     ac_init_help=recursive ;;
1070   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1071     ac_init_help=short ;;
1072
1073   -host | --host | --hos | --ho)
1074     ac_prev=host_alias ;;
1075   -host=* | --host=* | --hos=* | --ho=*)
1076     host_alias=$ac_optarg ;;
1077
1078   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079     ac_prev=htmldir ;;
1080   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081   | --ht=*)
1082     htmldir=$ac_optarg ;;
1083
1084   -includedir | --includedir | --includedi | --included | --include \
1085   | --includ | --inclu | --incl | --inc)
1086     ac_prev=includedir ;;
1087   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1088   | --includ=* | --inclu=* | --incl=* | --inc=*)
1089     includedir=$ac_optarg ;;
1090
1091   -infodir | --infodir | --infodi | --infod | --info | --inf)
1092     ac_prev=infodir ;;
1093   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1094     infodir=$ac_optarg ;;
1095
1096   -libdir | --libdir | --libdi | --libd)
1097     ac_prev=libdir ;;
1098   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1099     libdir=$ac_optarg ;;
1100
1101   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1102   | --libexe | --libex | --libe)
1103     ac_prev=libexecdir ;;
1104   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1105   | --libexe=* | --libex=* | --libe=*)
1106     libexecdir=$ac_optarg ;;
1107
1108   -localedir | --localedir | --localedi | --localed | --locale)
1109     ac_prev=localedir ;;
1110   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111     localedir=$ac_optarg ;;
1112
1113   -localstatedir | --localstatedir | --localstatedi | --localstated \
1114   | --localstate | --localstat | --localsta | --localst | --locals)
1115     ac_prev=localstatedir ;;
1116   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1117   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1118     localstatedir=$ac_optarg ;;
1119
1120   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121     ac_prev=mandir ;;
1122   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1123     mandir=$ac_optarg ;;
1124
1125   -nfp | --nfp | --nf)
1126     # Obsolete; use --without-fp.
1127     with_fp=no ;;
1128
1129   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1130   | --no-cr | --no-c | -n)
1131     no_create=yes ;;
1132
1133   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1134   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1135     no_recursion=yes ;;
1136
1137   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1138   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1139   | --oldin | --oldi | --old | --ol | --o)
1140     ac_prev=oldincludedir ;;
1141   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1142   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1143   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1144     oldincludedir=$ac_optarg ;;
1145
1146   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147     ac_prev=prefix ;;
1148   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1149     prefix=$ac_optarg ;;
1150
1151   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1152   | --program-pre | --program-pr | --program-p)
1153     ac_prev=program_prefix ;;
1154   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1155   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1156     program_prefix=$ac_optarg ;;
1157
1158   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1159   | --program-suf | --program-su | --program-s)
1160     ac_prev=program_suffix ;;
1161   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1162   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1163     program_suffix=$ac_optarg ;;
1164
1165   -program-transform-name | --program-transform-name \
1166   | --program-transform-nam | --program-transform-na \
1167   | --program-transform-n | --program-transform- \
1168   | --program-transform | --program-transfor \
1169   | --program-transfo | --program-transf \
1170   | --program-trans | --program-tran \
1171   | --progr-tra | --program-tr | --program-t)
1172     ac_prev=program_transform_name ;;
1173   -program-transform-name=* | --program-transform-name=* \
1174   | --program-transform-nam=* | --program-transform-na=* \
1175   | --program-transform-n=* | --program-transform-=* \
1176   | --program-transform=* | --program-transfor=* \
1177   | --program-transfo=* | --program-transf=* \
1178   | --program-trans=* | --program-tran=* \
1179   | --progr-tra=* | --program-tr=* | --program-t=*)
1180     program_transform_name=$ac_optarg ;;
1181
1182   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183     ac_prev=pdfdir ;;
1184   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1185     pdfdir=$ac_optarg ;;
1186
1187   -psdir | --psdir | --psdi | --psd | --ps)
1188     ac_prev=psdir ;;
1189   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1190     psdir=$ac_optarg ;;
1191
1192   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1193   | -silent | --silent | --silen | --sile | --sil)
1194     silent=yes ;;
1195
1196   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1197     ac_prev=sbindir ;;
1198   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1199   | --sbi=* | --sb=*)
1200     sbindir=$ac_optarg ;;
1201
1202   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1203   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1204   | --sharedst | --shareds | --shared | --share | --shar \
1205   | --sha | --sh)
1206     ac_prev=sharedstatedir ;;
1207   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1208   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1209   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1210   | --sha=* | --sh=*)
1211     sharedstatedir=$ac_optarg ;;
1212
1213   -site | --site | --sit)
1214     ac_prev=site ;;
1215   -site=* | --site=* | --sit=*)
1216     site=$ac_optarg ;;
1217
1218   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1219     ac_prev=srcdir ;;
1220   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1221     srcdir=$ac_optarg ;;
1222
1223   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1224   | --syscon | --sysco | --sysc | --sys | --sy)
1225     ac_prev=sysconfdir ;;
1226   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1227   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1228     sysconfdir=$ac_optarg ;;
1229
1230   -target | --target | --targe | --targ | --tar | --ta | --t)
1231     ac_prev=target_alias ;;
1232   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1233     target_alias=$ac_optarg ;;
1234
1235   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1236     verbose=yes ;;
1237
1238   -version | --version | --versio | --versi | --vers | -V)
1239     ac_init_version=: ;;
1240
1241   -with-* | --with-*)
1242     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243     # Reject names that are not valid shell variable names.
1244     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245       as_fn_error $? "invalid package name: $ac_useropt"
1246     ac_useropt_orig=$ac_useropt
1247     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248     case $ac_user_opts in
1249       *"
1250 "with_$ac_useropt"
1251 "*) ;;
1252       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253          ac_unrecognized_sep=', ';;
1254     esac
1255     eval with_$ac_useropt=\$ac_optarg ;;
1256
1257   -without-* | --without-*)
1258     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259     # Reject names that are not valid shell variable names.
1260     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261       as_fn_error $? "invalid package name: $ac_useropt"
1262     ac_useropt_orig=$ac_useropt
1263     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264     case $ac_user_opts in
1265       *"
1266 "with_$ac_useropt"
1267 "*) ;;
1268       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269          ac_unrecognized_sep=', ';;
1270     esac
1271     eval with_$ac_useropt=no ;;
1272
1273   --x)
1274     # Obsolete; use --with-x.
1275     with_x=yes ;;
1276
1277   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1278   | --x-incl | --x-inc | --x-in | --x-i)
1279     ac_prev=x_includes ;;
1280   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1281   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1282     x_includes=$ac_optarg ;;
1283
1284   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1285   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1286     ac_prev=x_libraries ;;
1287   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1288   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1289     x_libraries=$ac_optarg ;;
1290
1291   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1293     ;;
1294
1295   *=*)
1296     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1297     # Reject names that are not valid shell variable names.
1298     case $ac_envvar in #(
1299       '' | [0-9]* | *[!_$as_cr_alnum]* )
1300       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1301     esac
1302     eval $ac_envvar=\$ac_optarg
1303     export $ac_envvar ;;
1304
1305   *)
1306     # FIXME: should be removed in autoconf 3.0.
1307     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1309       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1311     ;;
1312
1313   esac
1314 done
1315
1316 if test -n "$ac_prev"; then
1317   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1318   as_fn_error $? "missing argument to $ac_option"
1319 fi
1320
1321 if test -n "$ac_unrecognized_opts"; then
1322   case $enable_option_checking in
1323     no) ;;
1324     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1325     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1326   esac
1327 fi
1328
1329 # Check all directory arguments for consistency.
1330 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331                 datadir sysconfdir sharedstatedir localstatedir includedir \
1332                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333                 libdir localedir mandir
1334 do
1335   eval ac_val=\$$ac_var
1336   # Remove trailing slashes.
1337   case $ac_val in
1338     */ )
1339       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340       eval $ac_var=\$ac_val;;
1341   esac
1342   # Be sure to have absolute directory names.
1343   case $ac_val in
1344     [\\/$]* | ?:[\\/]* )  continue;;
1345     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346   esac
1347   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1348 done
1349
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1353 build=$build_alias
1354 host=$host_alias
1355 target=$target_alias
1356
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x; then
1359   if test "x$build_alias" = x; then
1360     cross_compiling=maybe
1361   elif test "x$build_alias" != "x$host_alias"; then
1362     cross_compiling=yes
1363   fi
1364 fi
1365
1366 ac_tool_prefix=
1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1368
1369 test "$silent" = yes && exec 6>/dev/null
1370
1371
1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di=`ls -di .` &&
1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375   as_fn_error $? "working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377   as_fn_error $? "pwd does not report name of working directory"
1378
1379
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382   ac_srcdir_defaulted=yes
1383   # Try the directory containing this script, then the parent directory.
1384   ac_confdir=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386          X"$as_myself" : 'X\(//\)[^/]' \| \
1387          X"$as_myself" : 'X\(//\)$' \| \
1388          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391             s//\1/
1392             q
1393           }
1394           /^X\(\/\/\)[^/].*/{
1395             s//\1/
1396             q
1397           }
1398           /^X\(\/\/\)$/{
1399             s//\1/
1400             q
1401           }
1402           /^X\(\/\).*/{
1403             s//\1/
1404             q
1405           }
1406           s/.*/./; q'`
1407   srcdir=$ac_confdir
1408   if test ! -r "$srcdir/$ac_unique_file"; then
1409     srcdir=..
1410   fi
1411 else
1412   ac_srcdir_defaulted=no
1413 fi
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1416   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1417 fi
1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 ac_abs_confdir=`(
1420         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1421         pwd)`
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424   srcdir=.
1425 fi
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1429 case $srcdir in
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 esac
1432 for ac_var in $ac_precious_vars; do
1433   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434   eval ac_env_${ac_var}_value=\$${ac_var}
1435   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 done
1438
1439 #
1440 # Report the --help message.
1441 #
1442 if test "$ac_init_help" = "long"; then
1443   # Omit some internal or obsolete options to make the list less imposing.
1444   # This message is too long to be a string in the A/UX 3.1 sh.
1445   cat <<_ACEOF
1446 \`configure' configures alsa-lib 1.0.28 to adapt to many kinds of systems.
1447
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1449
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE.  See below for descriptions of some of the useful variables.
1452
1453 Defaults for the options are specified in brackets.
1454
1455 Configuration:
1456   -h, --help              display this help and exit
1457       --help=short        display options specific to this package
1458       --help=recursive    display the short help of all the included packages
1459   -V, --version           display version information and exit
1460   -q, --quiet, --silent   do not print \`checking ...' messages
1461       --cache-file=FILE   cache test results in FILE [disabled]
1462   -C, --config-cache      alias for \`--cache-file=config.cache'
1463   -n, --no-create         do not create output files
1464       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1465
1466 Installation directories:
1467   --prefix=PREFIX         install architecture-independent files in PREFIX
1468                           [$ac_default_prefix]
1469   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1470                           [PREFIX]
1471
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1476
1477 For better control, use the options below.
1478
1479 Fine tuning of the installation directories:
1480   --bindir=DIR            user executables [EPREFIX/bin]
1481   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1482   --libexecdir=DIR        program executables [EPREFIX/libexec]
1483   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1484   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1485   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1486   --libdir=DIR            object code libraries [EPREFIX/lib]
1487   --includedir=DIR        C header files [PREFIX/include]
1488   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1489   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1490   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1491   --infodir=DIR           info documentation [DATAROOTDIR/info]
1492   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1493   --mandir=DIR            man documentation [DATAROOTDIR/man]
1494   --docdir=DIR            documentation root [DATAROOTDIR/doc/alsa-lib]
1495   --htmldir=DIR           html documentation [DOCDIR]
1496   --dvidir=DIR            dvi documentation [DOCDIR]
1497   --pdfdir=DIR            pdf documentation [DOCDIR]
1498   --psdir=DIR             ps documentation [DOCDIR]
1499 _ACEOF
1500
1501   cat <<\_ACEOF
1502
1503 Program names:
1504   --program-prefix=PREFIX            prepend PREFIX to installed program names
1505   --program-suffix=SUFFIX            append SUFFIX to installed program names
1506   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1507
1508 System types:
1509   --build=BUILD     configure for building on BUILD [guessed]
1510   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1511 _ACEOF
1512 fi
1513
1514 if test -n "$ac_init_help"; then
1515   case $ac_init_help in
1516      short | recursive ) echo "Configuration of alsa-lib 1.0.28:";;
1517    esac
1518   cat <<\_ACEOF
1519
1520 Optional Features:
1521   --disable-option-checking  ignore unrecognized --enable/--with options
1522   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1523   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1524   --disable-maintainer-mode
1525                           disable make rules and dependencies not useful (and
1526                           sometimes confusing) to the casual installer
1527   --enable-silent-rules   less verbose build output (undo: "make V=1")
1528   --disable-silent-rules  verbose build output (undo: "make V=0")
1529   --enable-dependency-tracking
1530                           do not reject slow dependency extractors
1531   --disable-dependency-tracking
1532                           speeds up one-time build
1533   --enable-static[=PKGS]  build static libraries [default=no]
1534   --enable-shared[=PKGS]  build shared libraries [default=yes]
1535   --enable-fast-install[=PKGS]
1536                           optimize for fast installation [default=yes]
1537   --disable-libtool-lock  avoid locking (might break parallel builds)
1538   --enable-symbolic-functions
1539                           use -Bsymbolic-functions option if available
1540                           (optmization for size and speed)
1541   --enable-debug          enable assert call at the default error message
1542                           handler
1543   --enable-resmgr         support resmgr (optional)
1544   --disable-aload         disable reading /dev/aload*
1545   --disable-mixer         disable the mixer component
1546   --disable-pcm           disable the PCM component
1547   --disable-rawmidi       disable the raw MIDI component
1548   --disable-hwdep         disable the hwdep component
1549   --disable-seq           disable the sequencer component
1550   --disable-ucm           disable the use-case-manager component
1551   --disable-alisp         disable the alisp component
1552   --disable-old-symbols   disable old obsoleted symbols
1553   --disable-python        disable the python components
1554
1555 Optional Packages:
1556   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1557   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1558   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1559                           both]
1560   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1561   --with-sysroot=DIR Search for dependent libraries within DIR
1562                         (or the compiler's sysroot if not specified).
1563   --with-configdir=dir    path where ALSA config files are stored
1564   --with-plugindir=dir    path where ALSA plugin files are stored
1565   --with-pkgconfdir=dir   path where pkgconfig files are stored
1566   --with-versioned        shared library will be compiled with versioned
1567                           symbols (default = yes)
1568   --with-debug            library will be compiled with asserts (default =
1569                           yes)
1570   --with-tmpdir=directory directory to put tmp socket files (/tmp)
1571   --with-softfloat        do you have floating point unit on this machine?
1572                           (optional)
1573   --with-libdl            Use libdl for plugins (default = yes)
1574   --with-pthread          Use pthread (default = yes)
1575   --with-librt            Use librt for monotonic clock (default = yes)
1576   --with-alsa-devdir=dir  directory with ALSA device files (default /dev/snd)
1577   --with-aload-devdir=dir directory with aload* device files (default /dev)
1578   --with-pythonlibs=ldflags
1579                           specify python libraries (-lpthread -lm -ldl
1580                           -lpython2.4)
1581   --with-pythonincludes=Cflags
1582                           specify python C header files
1583                           (-I/usr/include/python)
1584   --with-pcm-plugins=<list>
1585                           build PCM plugins (default = all)
1586   --with-ctl-plugins=<list>
1587                           build control plugins (default = all)
1588   --with-max-cards        Specify the max number of cards (default = 32)
1589
1590 Some influential environment variables:
1591   CC          C compiler command
1592   CFLAGS      C compiler flags
1593   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1594               nonstandard directory <lib dir>
1595   LIBS        libraries to pass to the linker, e.g. -l<library>
1596   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1597               you have headers in a nonstandard directory <include dir>
1598   CPP         C preprocessor
1599
1600 Use these variables to override the choices made by `configure' or to help
1601 it to find libraries and programs with nonstandard names/locations.
1602
1603 Report bugs to the package provider.
1604 _ACEOF
1605 ac_status=$?
1606 fi
1607
1608 if test "$ac_init_help" = "recursive"; then
1609   # If there are subdirs, report their specific --help.
1610   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1611     test -d "$ac_dir" ||
1612       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1613       continue
1614     ac_builddir=.
1615
1616 case "$ac_dir" in
1617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *)
1619   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1620   # A ".." for each directory in $ac_dir_suffix.
1621   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1622   case $ac_top_builddir_sub in
1623   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625   esac ;;
1626 esac
1627 ac_abs_top_builddir=$ac_pwd
1628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1629 # for backward compatibility:
1630 ac_top_builddir=$ac_top_build_prefix
1631
1632 case $srcdir in
1633   .)  # We are building in place.
1634     ac_srcdir=.
1635     ac_top_srcdir=$ac_top_builddir_sub
1636     ac_abs_top_srcdir=$ac_pwd ;;
1637   [\\/]* | ?:[\\/]* )  # Absolute name.
1638     ac_srcdir=$srcdir$ac_dir_suffix;
1639     ac_top_srcdir=$srcdir
1640     ac_abs_top_srcdir=$srcdir ;;
1641   *) # Relative name.
1642     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1643     ac_top_srcdir=$ac_top_build_prefix$srcdir
1644     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645 esac
1646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647
1648     cd "$ac_dir" || { ac_status=$?; continue; }
1649     # Check for guested configure.
1650     if test -f "$ac_srcdir/configure.gnu"; then
1651       echo &&
1652       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1653     elif test -f "$ac_srcdir/configure"; then
1654       echo &&
1655       $SHELL "$ac_srcdir/configure" --help=recursive
1656     else
1657       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658     fi || ac_status=$?
1659     cd "$ac_pwd" || { ac_status=$?; break; }
1660   done
1661 fi
1662
1663 test -n "$ac_init_help" && exit $ac_status
1664 if $ac_init_version; then
1665   cat <<\_ACEOF
1666 alsa-lib configure 1.0.28
1667 generated by GNU Autoconf 2.69
1668
1669 Copyright (C) 2012 Free Software Foundation, Inc.
1670 This configure script is free software; the Free Software Foundation
1671 gives unlimited permission to copy, distribute and modify it.
1672 _ACEOF
1673   exit
1674 fi
1675
1676 ## ------------------------ ##
1677 ## Autoconf initialization. ##
1678 ## ------------------------ ##
1679
1680 # ac_fn_c_try_compile LINENO
1681 # --------------------------
1682 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1683 ac_fn_c_try_compile ()
1684 {
1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686   rm -f conftest.$ac_objext
1687   if { { ac_try="$ac_compile"
1688 case "(($ac_try" in
1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690   *) ac_try_echo=$ac_try;;
1691 esac
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694   (eval "$ac_compile") 2>conftest.err
1695   ac_status=$?
1696   if test -s conftest.err; then
1697     grep -v '^ *+' conftest.err >conftest.er1
1698     cat conftest.er1 >&5
1699     mv -f conftest.er1 conftest.err
1700   fi
1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702   test $ac_status = 0; } && {
1703          test -z "$ac_c_werror_flag" ||
1704          test ! -s conftest.err
1705        } && test -s conftest.$ac_objext; then :
1706   ac_retval=0
1707 else
1708   $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1710
1711         ac_retval=1
1712 fi
1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714   as_fn_set_status $ac_retval
1715
1716 } # ac_fn_c_try_compile
1717
1718 # ac_fn_c_try_cpp LINENO
1719 # ----------------------
1720 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 ac_fn_c_try_cpp ()
1722 {
1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724   if { { ac_try="$ac_cpp conftest.$ac_ext"
1725 case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1732   ac_status=$?
1733   if test -s conftest.err; then
1734     grep -v '^ *+' conftest.err >conftest.er1
1735     cat conftest.er1 >&5
1736     mv -f conftest.er1 conftest.err
1737   fi
1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739   test $ac_status = 0; } > conftest.i && {
1740          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741          test ! -s conftest.err
1742        }; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1747
1748     ac_retval=1
1749 fi
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751   as_fn_set_status $ac_retval
1752
1753 } # ac_fn_c_try_cpp
1754
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_link ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   rm -f conftest.$ac_objext conftest$ac_exeext
1762   if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_link") 2>conftest.err
1770   ac_status=$?
1771   if test -s conftest.err; then
1772     grep -v '^ *+' conftest.err >conftest.er1
1773     cat conftest.er1 >&5
1774     mv -f conftest.er1 conftest.err
1775   fi
1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777   test $ac_status = 0; } && {
1778          test -z "$ac_c_werror_flag" ||
1779          test ! -s conftest.err
1780        } && test -s conftest$ac_exeext && {
1781          test "$cross_compiling" = yes ||
1782          test -x conftest$ac_exeext
1783        }; then :
1784   ac_retval=0
1785 else
1786   $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789         ac_retval=1
1790 fi
1791   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793   # interfere with the next link command; also delete a directory that is
1794   # left behind by Apple's compiler.  We do this before executing the actions.
1795   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797   as_fn_set_status $ac_retval
1798
1799 } # ac_fn_c_try_link
1800
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1806 {
1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811   $as_echo_n "(cached) " >&6
1812 else
1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h.  */
1815 $4
1816 #include <$2>
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819   eval "$3=yes"
1820 else
1821   eval "$3=no"
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
1830 } # ac_fn_c_check_header_compile
1831
1832 # ac_fn_c_try_run LINENO
1833 # ----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1835 # that executables *can* be run.
1836 ac_fn_c_try_run ()
1837 {
1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839   if { { ac_try="$ac_link"
1840 case "(($ac_try" in
1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842   *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846   (eval "$ac_link") 2>&5
1847   ac_status=$?
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1850   { { case "(($ac_try" in
1851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852   *) ac_try_echo=$ac_try;;
1853 esac
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856   (eval "$ac_try") 2>&5
1857   ac_status=$?
1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859   test $ac_status = 0; }; }; then :
1860   ac_retval=0
1861 else
1862   $as_echo "$as_me: program exited with status $ac_status" >&5
1863        $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1865
1866        ac_retval=$ac_status
1867 fi
1868   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870   as_fn_set_status $ac_retval
1871
1872 } # ac_fn_c_try_run
1873
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func ()
1878 {
1879   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883   $as_echo_n "(cached) " >&6
1884 else
1885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h.  */
1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1889 #define $2 innocuous_$2
1890
1891 /* System header to define __stub macros and hopefully few prototypes,
1892     which can conflict with char $2 (); below.
1893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894     <limits.h> exists even on freestanding compilers.  */
1895
1896 #ifdef __STDC__
1897 # include <limits.h>
1898 #else
1899 # include <assert.h>
1900 #endif
1901
1902 #undef $2
1903
1904 /* Override any GCC internal prototype to avoid an error.
1905    Use char because int might match the return type of a GCC
1906    builtin and then its argument prototype would still apply.  */
1907 #ifdef __cplusplus
1908 extern "C"
1909 #endif
1910 char $2 ();
1911 /* The GNU C library defines this for functions which it implements
1912     to always fail with ENOSYS.  Some functions are actually named
1913     something starting with __ and the normal name is an alias.  */
1914 #if defined __stub_$2 || defined __stub___$2
1915 choke me
1916 #endif
1917
1918 int
1919 main ()
1920 {
1921 return $2 ();
1922   ;
1923   return 0;
1924 }
1925 _ACEOF
1926 if ac_fn_c_try_link "$LINENO"; then :
1927   eval "$3=yes"
1928 else
1929   eval "$3=no"
1930 fi
1931 rm -f core conftest.err conftest.$ac_objext \
1932     conftest$ac_exeext conftest.$ac_ext
1933 fi
1934 eval ac_res=\$$3
1935                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939 } # ac_fn_c_check_func
1940
1941 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1942 # -------------------------------------------------------
1943 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1944 # the include files in INCLUDES and setting the cache variable VAR
1945 # accordingly.
1946 ac_fn_c_check_header_mongrel ()
1947 {
1948   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949   if eval \${$3+:} false; then :
1950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \${$3+:} false; then :
1953   $as_echo_n "(cached) " >&6
1954 fi
1955 eval ac_res=\$$3
1956                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 else
1959   # Is the header compilable?
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1961 $as_echo_n "checking $2 usability... " >&6; }
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h.  */
1964 $4
1965 #include <$2>
1966 _ACEOF
1967 if ac_fn_c_try_compile "$LINENO"; then :
1968   ac_header_compiler=yes
1969 else
1970   ac_header_compiler=no
1971 fi
1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1974 $as_echo "$ac_header_compiler" >&6; }
1975
1976 # Is the header present?
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1978 $as_echo_n "checking $2 presence... " >&6; }
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h.  */
1981 #include <$2>
1982 _ACEOF
1983 if ac_fn_c_try_cpp "$LINENO"; then :
1984   ac_header_preproc=yes
1985 else
1986   ac_header_preproc=no
1987 fi
1988 rm -f conftest.err conftest.i conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1990 $as_echo "$ac_header_preproc" >&6; }
1991
1992 # So?  What about this header?
1993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1994   yes:no: )
1995     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1996 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1997     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1998 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1999     ;;
2000   no:yes:* )
2001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2002 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2003     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2004 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2005     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2006 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2007     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2008 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2009     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2011     ;;
2012 esac
2013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014 $as_echo_n "checking for $2... " >&6; }
2015 if eval \${$3+:} false; then :
2016   $as_echo_n "(cached) " >&6
2017 else
2018   eval "$3=\$ac_header_compiler"
2019 fi
2020 eval ac_res=\$$3
2021                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 fi
2024   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025
2026 } # ac_fn_c_check_header_mongrel
2027 cat >config.log <<_ACEOF
2028 This file contains any messages produced by compilers while
2029 running configure, to aid debugging if configure makes a mistake.
2030
2031 It was created by alsa-lib $as_me 1.0.28, which was
2032 generated by GNU Autoconf 2.69.  Invocation command line was
2033
2034   $ $0 $@
2035
2036 _ACEOF
2037 exec 5>>config.log
2038 {
2039 cat <<_ASUNAME
2040 ## --------- ##
2041 ## Platform. ##
2042 ## --------- ##
2043
2044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049
2050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2052
2053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2056 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2060
2061 _ASUNAME
2062
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066   IFS=$as_save_IFS
2067   test -z "$as_dir" && as_dir=.
2068     $as_echo "PATH: $as_dir"
2069   done
2070 IFS=$as_save_IFS
2071
2072 } >&5
2073
2074 cat >&5 <<_ACEOF
2075
2076
2077 ## ----------- ##
2078 ## Core tests. ##
2079 ## ----------- ##
2080
2081 _ACEOF
2082
2083
2084 # Keep a trace of the command line.
2085 # Strip out --no-create and --no-recursion so they do not pile up.
2086 # Strip out --silent because we don't want to record it for future runs.
2087 # Also quote any args containing shell meta-characters.
2088 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_configure_args=
2090 ac_configure_args0=
2091 ac_configure_args1=
2092 ac_must_keep_next=false
2093 for ac_pass in 1 2
2094 do
2095   for ac_arg
2096   do
2097     case $ac_arg in
2098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100     | -silent | --silent | --silen | --sile | --sil)
2101       continue ;;
2102     *\'*)
2103       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2104     esac
2105     case $ac_pass in
2106     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2107     2)
2108       as_fn_append ac_configure_args1 " '$ac_arg'"
2109       if test $ac_must_keep_next = true; then
2110         ac_must_keep_next=false # Got value, back to normal.
2111       else
2112         case $ac_arg in
2113           *=* | --config-cache | -C | -disable-* | --disable-* \
2114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2116           | -with-* | --with-* | -without-* | --without-* | --x)
2117             case "$ac_configure_args0 " in
2118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2119             esac
2120             ;;
2121           -* ) ac_must_keep_next=true ;;
2122         esac
2123       fi
2124       as_fn_append ac_configure_args " '$ac_arg'"
2125       ;;
2126     esac
2127   done
2128 done
2129 { ac_configure_args0=; unset ac_configure_args0;}
2130 { ac_configure_args1=; unset ac_configure_args1;}
2131
2132 # When interrupted or exit'd, cleanup temporary files, and complete
2133 # config.log.  We remove comments because anyway the quotes in there
2134 # would cause problems or look ugly.
2135 # WARNING: Use '\'' to represent an apostrophe within the trap.
2136 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2137 trap 'exit_status=$?
2138   # Save into config.log some information that might help in debugging.
2139   {
2140     echo
2141
2142     $as_echo "## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##"
2145     echo
2146     # The following way of writing the cache mishandles newlines in values,
2147 (
2148   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2149     eval ac_val=\$$ac_var
2150     case $ac_val in #(
2151     *${as_nl}*)
2152       case $ac_var in #(
2153       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2154 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2155       esac
2156       case $ac_var in #(
2157       _ | IFS | as_nl) ;; #(
2158       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2159       *) { eval $ac_var=; unset $ac_var;} ;;
2160       esac ;;
2161     esac
2162   done
2163   (set) 2>&1 |
2164     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165     *${as_nl}ac_space=\ *)
2166       sed -n \
2167         "s/'\''/'\''\\\\'\'''\''/g;
2168           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169       ;; #(
2170     *)
2171       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172       ;;
2173     esac |
2174     sort
2175 )
2176     echo
2177
2178     $as_echo "## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##"
2181     echo
2182     for ac_var in $ac_subst_vars
2183     do
2184       eval ac_val=\$$ac_var
2185       case $ac_val in
2186       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187       esac
2188       $as_echo "$ac_var='\''$ac_val'\''"
2189     done | sort
2190     echo
2191
2192     if test -n "$ac_subst_files"; then
2193       $as_echo "## ------------------- ##
2194 ## File substitutions. ##
2195 ## ------------------- ##"
2196       echo
2197       for ac_var in $ac_subst_files
2198       do
2199         eval ac_val=\$$ac_var
2200         case $ac_val in
2201         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202         esac
2203         $as_echo "$ac_var='\''$ac_val'\''"
2204       done | sort
2205       echo
2206     fi
2207
2208     if test -s confdefs.h; then
2209       $as_echo "## ----------- ##
2210 ## confdefs.h. ##
2211 ## ----------- ##"
2212       echo
2213       cat confdefs.h
2214       echo
2215     fi
2216     test "$ac_signal" != 0 &&
2217       $as_echo "$as_me: caught signal $ac_signal"
2218     $as_echo "$as_me: exit $exit_status"
2219   } >&5
2220   rm -f core *.core core.conftest.* &&
2221     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2222     exit $exit_status
2223 ' 0
2224 for ac_signal in 1 2 13 15; do
2225   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2226 done
2227 ac_signal=0
2228
2229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2230 rm -f -r conftest* confdefs.h
2231
2232 $as_echo "/* confdefs.h */" > confdefs.h
2233
2234 # Predefined preprocessor variables.
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_NAME "$PACKAGE_NAME"
2238 _ACEOF
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2242 _ACEOF
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2246 _ACEOF
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_STRING "$PACKAGE_STRING"
2250 _ACEOF
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2254 _ACEOF
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_URL "$PACKAGE_URL"
2258 _ACEOF
2259
2260
2261 # Let the site file select an alternate cache file if it wants to.
2262 # Prefer an explicitly selected file to automatically selected ones.
2263 ac_site_file1=NONE
2264 ac_site_file2=NONE
2265 if test -n "$CONFIG_SITE"; then
2266   # We do not want a PATH search for config.site.
2267   case $CONFIG_SITE in #((
2268     -*)  ac_site_file1=./$CONFIG_SITE;;
2269     */*) ac_site_file1=$CONFIG_SITE;;
2270     *)   ac_site_file1=./$CONFIG_SITE;;
2271   esac
2272 elif test "x$prefix" != xNONE; then
2273   ac_site_file1=$prefix/share/config.site
2274   ac_site_file2=$prefix/etc/config.site
2275 else
2276   ac_site_file1=$ac_default_prefix/share/config.site
2277   ac_site_file2=$ac_default_prefix/etc/config.site
2278 fi
2279 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2280 do
2281   test "x$ac_site_file" = xNONE && continue
2282   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2283     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2284 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2285     sed 's/^/| /' "$ac_site_file" >&5
2286     . "$ac_site_file" \
2287       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 as_fn_error $? "failed to load site script $ac_site_file
2290 See \`config.log' for more details" "$LINENO" 5; }
2291   fi
2292 done
2293
2294 if test -r "$cache_file"; then
2295   # Some versions of bash will fail to source /dev/null (special files
2296   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2297   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2298     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2299 $as_echo "$as_me: loading cache $cache_file" >&6;}
2300     case $cache_file in
2301       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2302       *)                      . "./$cache_file";;
2303     esac
2304   fi
2305 else
2306   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2307 $as_echo "$as_me: creating cache $cache_file" >&6;}
2308   >$cache_file
2309 fi
2310
2311 # Check that the precious variables saved in the cache have kept the same
2312 # value.
2313 ac_cache_corrupted=false
2314 for ac_var in $ac_precious_vars; do
2315   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2316   eval ac_new_set=\$ac_env_${ac_var}_set
2317   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2318   eval ac_new_val=\$ac_env_${ac_var}_value
2319   case $ac_old_set,$ac_new_set in
2320     set,)
2321       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2322 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2323       ac_cache_corrupted=: ;;
2324     ,set)
2325       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2327       ac_cache_corrupted=: ;;
2328     ,);;
2329     *)
2330       if test "x$ac_old_val" != "x$ac_new_val"; then
2331         # differences in whitespace do not lead to failure.
2332         ac_old_val_w=`echo x $ac_old_val`
2333         ac_new_val_w=`echo x $ac_new_val`
2334         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2335           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2336 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2337           ac_cache_corrupted=:
2338         else
2339           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2340 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2341           eval $ac_var=\$ac_old_val
2342         fi
2343         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2344 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2345         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2346 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2347       fi;;
2348   esac
2349   # Pass precious variables to config.status.
2350   if test "$ac_new_set" = set; then
2351     case $ac_new_val in
2352     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2353     *) ac_arg=$ac_var=$ac_new_val ;;
2354     esac
2355     case " $ac_configure_args " in
2356       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2357       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2358     esac
2359   fi
2360 done
2361 if $ac_cache_corrupted; then
2362   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2364   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2365 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2366   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2367 fi
2368 ## -------------------- ##
2369 ## Main body of script. ##
2370 ## -------------------- ##
2371
2372 ac_ext=c
2373 ac_cpp='$CPP $CPPFLAGS'
2374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377
2378
2379
2380
2381
2382
2383 ac_aux_dir=
2384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2385   if test -f "$ac_dir/install-sh"; then
2386     ac_aux_dir=$ac_dir
2387     ac_install_sh="$ac_aux_dir/install-sh -c"
2388     break
2389   elif test -f "$ac_dir/install.sh"; then
2390     ac_aux_dir=$ac_dir
2391     ac_install_sh="$ac_aux_dir/install.sh -c"
2392     break
2393   elif test -f "$ac_dir/shtool"; then
2394     ac_aux_dir=$ac_dir
2395     ac_install_sh="$ac_aux_dir/shtool install -c"
2396     break
2397   fi
2398 done
2399 if test -z "$ac_aux_dir"; then
2400   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2401 fi
2402
2403 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release.
2405 # They can cause serious problems if a builder's source tree is in a directory
2406 # whose full name contains unusual characters.
2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2409 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2410
2411
2412 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2415
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2417 $as_echo_n "checking build system type... " >&6; }
2418 if ${ac_cv_build+:} false; then :
2419   $as_echo_n "(cached) " >&6
2420 else
2421   ac_build_alias=$build_alias
2422 test "x$ac_build_alias" = x &&
2423   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2424 test "x$ac_build_alias" = x &&
2425   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2426 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2427   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2428
2429 fi
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2431 $as_echo "$ac_cv_build" >&6; }
2432 case $ac_cv_build in
2433 *-*-*) ;;
2434 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2435 esac
2436 build=$ac_cv_build
2437 ac_save_IFS=$IFS; IFS='-'
2438 set x $ac_cv_build
2439 shift
2440 build_cpu=$1
2441 build_vendor=$2
2442 shift; shift
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2445 build_os=$*
2446 IFS=$ac_save_IFS
2447 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2448
2449
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2451 $as_echo_n "checking host system type... " >&6; }
2452 if ${ac_cv_host+:} false; then :
2453   $as_echo_n "(cached) " >&6
2454 else
2455   if test "x$host_alias" = x; then
2456   ac_cv_host=$ac_cv_build
2457 else
2458   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2459     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2460 fi
2461
2462 fi
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2464 $as_echo "$ac_cv_host" >&6; }
2465 case $ac_cv_host in
2466 *-*-*) ;;
2467 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2468 esac
2469 host=$ac_cv_host
2470 ac_save_IFS=$IFS; IFS='-'
2471 set x $ac_cv_host
2472 shift
2473 host_cpu=$1
2474 host_vendor=$2
2475 shift; shift
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2478 host_os=$*
2479 IFS=$ac_save_IFS
2480 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2481
2482
2483 am__api_version='1.12'
2484
2485 # Find a good install program.  We prefer a C program (faster),
2486 # so one script is as good as another.  But avoid the broken or
2487 # incompatible versions:
2488 # SysV /etc/install, /usr/sbin/install
2489 # SunOS /usr/etc/install
2490 # IRIX /sbin/install
2491 # AIX /bin/install
2492 # AmigaOS /C/install, which installs bootblocks on floppy discs
2493 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2494 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2495 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2496 # OS/2's system install, which has a completely different semantic
2497 # ./install, which can be erroneously created by make from ./install.sh.
2498 # Reject install programs that cannot install multiple files.
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2500 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2501 if test -z "$INSTALL"; then
2502 if ${ac_cv_path_install+:} false; then :
2503   $as_echo_n "(cached) " >&6
2504 else
2505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 for as_dir in $PATH
2507 do
2508   IFS=$as_save_IFS
2509   test -z "$as_dir" && as_dir=.
2510     # Account for people who put trailing slashes in PATH elements.
2511 case $as_dir/ in #((
2512   ./ | .// | /[cC]/* | \
2513   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2514   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2515   /usr/ucb/* ) ;;
2516   *)
2517     # OSF1 and SCO ODT 3.0 have their own names for install.
2518     # Don't use installbsd from OSF since it installs stuff as root
2519     # by default.
2520     for ac_prog in ginstall scoinst install; do
2521       for ac_exec_ext in '' $ac_executable_extensions; do
2522         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2523           if test $ac_prog = install &&
2524             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525             # AIX install.  It has an incompatible calling convention.
2526             :
2527           elif test $ac_prog = install &&
2528             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2529             # program-specific install script used by HP pwplus--don't use.
2530             :
2531           else
2532             rm -rf conftest.one conftest.two conftest.dir
2533             echo one > conftest.one
2534             echo two > conftest.two
2535             mkdir conftest.dir
2536             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2537               test -s conftest.one && test -s conftest.two &&
2538               test -s conftest.dir/conftest.one &&
2539               test -s conftest.dir/conftest.two
2540             then
2541               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2542               break 3
2543             fi
2544           fi
2545         fi
2546       done
2547     done
2548     ;;
2549 esac
2550
2551   done
2552 IFS=$as_save_IFS
2553
2554 rm -rf conftest.one conftest.two conftest.dir
2555
2556 fi
2557   if test "${ac_cv_path_install+set}" = set; then
2558     INSTALL=$ac_cv_path_install
2559   else
2560     # As a last resort, use the slow shell script.  Don't cache a
2561     # value for INSTALL within a source directory, because that will
2562     # break other packages using the cache if that directory is
2563     # removed, or if the value is a relative name.
2564     INSTALL=$ac_install_sh
2565   fi
2566 fi
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2568 $as_echo "$INSTALL" >&6; }
2569
2570 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2571 # It thinks the first close brace ends the variable substitution.
2572 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2573
2574 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2575
2576 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2577
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2579 $as_echo_n "checking whether build environment is sane... " >&6; }
2580 # Reject unsafe characters in $srcdir or the absolute working directory
2581 # name.  Accept space and tab only in the latter.
2582 am_lf='
2583 '
2584 case `pwd` in
2585   *[\\\"\#\$\&\'\`$am_lf]*)
2586     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2587 esac
2588 case $srcdir in
2589   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2590     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2591 esac
2592
2593 # Do 'set' in a subshell so we don't clobber the current shell's
2594 # arguments.  Must try -L first in case configure is actually a
2595 # symlink; some systems play weird games with the mod time of symlinks
2596 # (eg FreeBSD returns the mod time of the symlink's containing
2597 # directory).
2598 if (
2599    am_has_slept=no
2600    for am_try in 1 2; do
2601      echo "timestamp, slept: $am_has_slept" > conftest.file
2602      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2603      if test "$*" = "X"; then
2604         # -L didn't work.
2605         set X `ls -t "$srcdir/configure" conftest.file`
2606      fi
2607      if test "$*" != "X $srcdir/configure conftest.file" \
2608         && test "$*" != "X conftest.file $srcdir/configure"; then
2609
2610         # If neither matched, then we have a broken ls.  This can happen
2611         # if, for instance, CONFIG_SHELL is bash and it inherits a
2612         # broken ls alias from the environment.  This has actually
2613         # happened.  Such a system could not be considered "sane".
2614         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2615   alias in your environment" "$LINENO" 5
2616      fi
2617      if test "$2" = conftest.file || test $am_try -eq 2; then
2618        break
2619      fi
2620      # Just in case.
2621      sleep 1
2622      am_has_slept=yes
2623    done
2624    test "$2" = conftest.file
2625    )
2626 then
2627    # Ok.
2628    :
2629 else
2630    as_fn_error $? "newly created file is older than distributed files!
2631 Check your system clock" "$LINENO" 5
2632 fi
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634 $as_echo "yes" >&6; }
2635 # If we didn't sleep, we still need to ensure time stamps of config.status and
2636 # generated files are strictly newer.
2637 am_sleep_pid=
2638 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2639   ( sleep 1 ) &
2640   am_sleep_pid=$!
2641 fi
2642
2643 rm -f conftest.file
2644
2645 test "$program_prefix" != NONE &&
2646   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2647 # Use a double $ so make ignores it.
2648 test "$program_suffix" != NONE &&
2649   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2650 # Double any \ or $.
2651 # By default was `s,x,x', remove it if useless.
2652 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2653 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2654
2655 # expand $ac_aux_dir to an absolute path
2656 am_aux_dir=`cd $ac_aux_dir && pwd`
2657
2658 if test x"${MISSING+set}" != xset; then
2659   case $am_aux_dir in
2660   *\ * | *\     *)
2661     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2662   *)
2663     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2664   esac
2665 fi
2666 # Use eval to expand $SHELL
2667 if eval "$MISSING --run true"; then
2668   am_missing_run="$MISSING --run "
2669 else
2670   am_missing_run=
2671   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2672 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2673 fi
2674
2675 if test x"${install_sh}" != xset; then
2676   case $am_aux_dir in
2677   *\ * | *\     *)
2678     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2679   *)
2680     install_sh="\${SHELL} $am_aux_dir/install-sh"
2681   esac
2682 fi
2683
2684 # Installed binaries are usually stripped using 'strip' when the user
2685 # run "make install-strip".  However 'strip' might not be the right
2686 # tool to use in cross-compilation environments, therefore Automake
2687 # will honor the 'STRIP' environment variable to overrule this program.
2688 if test "$cross_compiling" != no; then
2689   if test -n "$ac_tool_prefix"; then
2690   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2691 set dummy ${ac_tool_prefix}strip; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if ${ac_cv_prog_STRIP+:} false; then :
2695   $as_echo_n "(cached) " >&6
2696 else
2697   if test -n "$STRIP"; then
2698   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2699 else
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 for as_dir in $PATH
2702 do
2703   IFS=$as_save_IFS
2704   test -z "$as_dir" && as_dir=.
2705     for ac_exec_ext in '' $ac_executable_extensions; do
2706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709     break 2
2710   fi
2711 done
2712   done
2713 IFS=$as_save_IFS
2714
2715 fi
2716 fi
2717 STRIP=$ac_cv_prog_STRIP
2718 if test -n "$STRIP"; then
2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2720 $as_echo "$STRIP" >&6; }
2721 else
2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2724 fi
2725
2726
2727 fi
2728 if test -z "$ac_cv_prog_STRIP"; then
2729   ac_ct_STRIP=$STRIP
2730   # Extract the first word of "strip", so it can be a program name with args.
2731 set dummy strip; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2735   $as_echo_n "(cached) " >&6
2736 else
2737   if test -n "$ac_ct_STRIP"; then
2738   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2739 else
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2742 do
2743   IFS=$as_save_IFS
2744   test -z "$as_dir" && as_dir=.
2745     for ac_exec_ext in '' $ac_executable_extensions; do
2746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747     ac_cv_prog_ac_ct_STRIP="strip"
2748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749     break 2
2750   fi
2751 done
2752   done
2753 IFS=$as_save_IFS
2754
2755 fi
2756 fi
2757 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2758 if test -n "$ac_ct_STRIP"; then
2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2760 $as_echo "$ac_ct_STRIP" >&6; }
2761 else
2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 fi
2765
2766   if test "x$ac_ct_STRIP" = x; then
2767     STRIP=":"
2768   else
2769     case $cross_compiling:$ac_tool_warned in
2770 yes:)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2773 ac_tool_warned=yes ;;
2774 esac
2775     STRIP=$ac_ct_STRIP
2776   fi
2777 else
2778   STRIP="$ac_cv_prog_STRIP"
2779 fi
2780
2781 fi
2782 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2783
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2785 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2786 if test -z "$MKDIR_P"; then
2787   if ${ac_cv_path_mkdir+:} false; then :
2788   $as_echo_n "(cached) " >&6
2789 else
2790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2792 do
2793   IFS=$as_save_IFS
2794   test -z "$as_dir" && as_dir=.
2795     for ac_prog in mkdir gmkdir; do
2796          for ac_exec_ext in '' $ac_executable_extensions; do
2797            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2798            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2799              'mkdir (GNU coreutils) '* | \
2800              'mkdir (coreutils) '* | \
2801              'mkdir (fileutils) '4.1*)
2802                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2803                break 3;;
2804            esac
2805          done
2806        done
2807   done
2808 IFS=$as_save_IFS
2809
2810 fi
2811
2812   test -d ./--version && rmdir ./--version
2813   if test "${ac_cv_path_mkdir+set}" = set; then
2814     MKDIR_P="$ac_cv_path_mkdir -p"
2815   else
2816     # As a last resort, use the slow shell script.  Don't cache a
2817     # value for MKDIR_P within a source directory, because that will
2818     # break other packages using the cache if that directory is
2819     # removed, or if the value is a relative name.
2820     MKDIR_P="$ac_install_sh -d"
2821   fi
2822 fi
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2824 $as_echo "$MKDIR_P" >&6; }
2825
2826 for ac_prog in gawk mawk nawk awk
2827 do
2828   # Extract the first word of "$ac_prog", so it can be a program name with args.
2829 set dummy $ac_prog; ac_word=$2
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831 $as_echo_n "checking for $ac_word... " >&6; }
2832 if ${ac_cv_prog_AWK+:} false; then :
2833   $as_echo_n "(cached) " >&6
2834 else
2835   if test -n "$AWK"; then
2836   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2837 else
2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 for as_dir in $PATH
2840 do
2841   IFS=$as_save_IFS
2842   test -z "$as_dir" && as_dir=.
2843     for ac_exec_ext in '' $ac_executable_extensions; do
2844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2845     ac_cv_prog_AWK="$ac_prog"
2846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847     break 2
2848   fi
2849 done
2850   done
2851 IFS=$as_save_IFS
2852
2853 fi
2854 fi
2855 AWK=$ac_cv_prog_AWK
2856 if test -n "$AWK"; then
2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2858 $as_echo "$AWK" >&6; }
2859 else
2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2862 fi
2863
2864
2865   test -n "$AWK" && break
2866 done
2867
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2869 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870 set x ${MAKE-make}
2871 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2872 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2873   $as_echo_n "(cached) " >&6
2874 else
2875   cat >conftest.make <<\_ACEOF
2876 SHELL = /bin/sh
2877 all:
2878         @echo '@@@%%%=$(MAKE)=@@@%%%'
2879 _ACEOF
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2882   *@@@%%%=?*=@@@%%%*)
2883     eval ac_cv_prog_make_${ac_make}_set=yes;;
2884   *)
2885     eval ac_cv_prog_make_${ac_make}_set=no;;
2886 esac
2887 rm -f conftest.make
2888 fi
2889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2892   SET_MAKE=
2893 else
2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2896   SET_MAKE="MAKE=${MAKE-make}"
2897 fi
2898
2899 rm -rf .tst 2>/dev/null
2900 mkdir .tst 2>/dev/null
2901 if test -d .tst; then
2902   am__leading_dot=.
2903 else
2904   am__leading_dot=_
2905 fi
2906 rmdir .tst 2>/dev/null
2907
2908 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2909   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2910   # is not polluted with repeated "-I."
2911   am__isrc=' -I$(srcdir)'
2912   # test to see if srcdir already configured
2913   if test -f $srcdir/config.status; then
2914     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2915   fi
2916 fi
2917
2918 # test whether we have cygpath
2919 if test -z "$CYGPATH_W"; then
2920   if (cygpath --version) >/dev/null 2>/dev/null; then
2921     CYGPATH_W='cygpath -w'
2922   else
2923     CYGPATH_W=echo
2924   fi
2925 fi
2926
2927
2928 # Define the identity of the package.
2929  PACKAGE='alsa-lib'
2930  VERSION='1.0.28'
2931
2932
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE "$PACKAGE"
2935 _ACEOF
2936
2937
2938 cat >>confdefs.h <<_ACEOF
2939 #define VERSION "$VERSION"
2940 _ACEOF
2941
2942 # Some tools Automake needs.
2943
2944 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2945
2946
2947 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2948
2949
2950 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2951
2952
2953 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2954
2955
2956 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2957
2958 # For better backward compatibility.  To be removed once Automake 1.9.x
2959 # dies out for good.  For more background, see:
2960 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2961 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2962 mkdir_p='$(MKDIR_P)'
2963
2964 # We need awk for the "check" target.  The system "awk" is bad on
2965 # some platforms.
2966 # Always define AMTAR for backward compatibility.  Yes, it's still used
2967 # in the wild :-(  We should find a proper way to deprecate it ...
2968 AMTAR='$${TAR-tar}'
2969
2970 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2971
2972
2973
2974
2975
2976 eval LIBTOOL_VERSION_INFO="2:0:0"
2977  if test -n "${ACLOCAL}"; then
2978   INSTALL_M4_TRUE=
2979   INSTALL_M4_FALSE='#'
2980 else
2981   INSTALL_M4_TRUE='#'
2982   INSTALL_M4_FALSE=
2983 fi
2984
2985
2986
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2988 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2989     # Check whether --enable-maintainer-mode was given.
2990 if test "${enable_maintainer_mode+set}" = set; then :
2991   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2992 else
2993   USE_MAINTAINER_MODE=yes
2994 fi
2995
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2997 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2998    if test $USE_MAINTAINER_MODE = yes; then
2999   MAINTAINER_MODE_TRUE=
3000   MAINTAINER_MODE_FALSE='#'
3001 else
3002   MAINTAINER_MODE_TRUE='#'
3003   MAINTAINER_MODE_FALSE=
3004 fi
3005
3006   MAINT=$MAINTAINER_MODE_TRUE
3007
3008
3009
3010 # Test for new silent rules and enable only if they are available
3011 # Check whether --enable-silent-rules was given.
3012 if test "${enable_silent_rules+set}" = set; then :
3013   enableval=$enable_silent_rules;
3014 fi
3015
3016 case $enable_silent_rules in # (((
3017   yes) AM_DEFAULT_VERBOSITY=0;;
3018    no) AM_DEFAULT_VERBOSITY=1;;
3019     *) AM_DEFAULT_VERBOSITY=0;;
3020 esac
3021 am_make=${MAKE-make}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3023 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3024 if ${am_cv_make_support_nested_variables+:} false; then :
3025   $as_echo_n "(cached) " >&6
3026 else
3027   if $as_echo 'TRUE=$(BAR$(V))
3028 BAR0=false
3029 BAR1=true
3030 V=1
3031 am__doit:
3032         @$(TRUE)
3033 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3034   am_cv_make_support_nested_variables=yes
3035 else
3036   am_cv_make_support_nested_variables=no
3037 fi
3038 fi
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3040 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3041 if test $am_cv_make_support_nested_variables = yes; then
3042     AM_V='$(V)'
3043   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3044 else
3045   AM_V=$AM_DEFAULT_VERBOSITY
3046   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3047 fi
3048 AM_BACKSLASH='\'
3049
3050
3051
3052
3053
3054 if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
3055 then
3056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compiler" >&5
3057 $as_echo_n "checking for cross-compiler... " >&6; }
3058
3059   which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
3060   which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
3061   && CC=${host_cpu}-${host_os}-gcc
3062   which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
3063   && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
3064
3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3066 $as_echo "$CC" >&6; }
3067 fi
3068
3069 CFLAGS="$CFLAGS -D_GNU_SOURCE"
3070
3071
3072 ac_ext=c
3073 ac_cpp='$CPP $CPPFLAGS'
3074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3077 if test -n "$ac_tool_prefix"; then
3078   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false; then :
3083   $as_echo_n "(cached) " >&6
3084 else
3085   if test -n "$CC"; then
3086   ac_cv_prog_CC="$CC" # Let the user override the test.
3087 else
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 for as_dir in $PATH
3090 do
3091   IFS=$as_save_IFS
3092   test -z "$as_dir" && as_dir=.
3093     for ac_exec_ext in '' $ac_executable_extensions; do
3094   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3095     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3097     break 2
3098   fi
3099 done
3100   done
3101 IFS=$as_save_IFS
3102
3103 fi
3104 fi
3105 CC=$ac_cv_prog_CC
3106 if test -n "$CC"; then
3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3108 $as_echo "$CC" >&6; }
3109 else
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3112 fi
3113
3114
3115 fi
3116 if test -z "$ac_cv_prog_CC"; then
3117   ac_ct_CC=$CC
3118   # Extract the first word of "gcc", so it can be a program name with args.
3119 set dummy gcc; ac_word=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3123   $as_echo_n "(cached) " >&6
3124 else
3125   if test -n "$ac_ct_CC"; then
3126   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3127 else
3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129 for as_dir in $PATH
3130 do
3131   IFS=$as_save_IFS
3132   test -z "$as_dir" && as_dir=.
3133     for ac_exec_ext in '' $ac_executable_extensions; do
3134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135     ac_cv_prog_ac_ct_CC="gcc"
3136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137     break 2
3138   fi
3139 done
3140   done
3141 IFS=$as_save_IFS
3142
3143 fi
3144 fi
3145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3146 if test -n "$ac_ct_CC"; then
3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3148 $as_echo "$ac_ct_CC" >&6; }
3149 else
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3152 fi
3153
3154   if test "x$ac_ct_CC" = x; then
3155     CC=""
3156   else
3157     case $cross_compiling:$ac_tool_warned in
3158 yes:)
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3161 ac_tool_warned=yes ;;
3162 esac
3163     CC=$ac_ct_CC
3164   fi
3165 else
3166   CC="$ac_cv_prog_CC"
3167 fi
3168
3169 if test -z "$CC"; then
3170           if test -n "$ac_tool_prefix"; then
3171     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3172 set dummy ${ac_tool_prefix}cc; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_CC+:} false; then :
3176   $as_echo_n "(cached) " >&6
3177 else
3178   if test -n "$CC"; then
3179   ac_cv_prog_CC="$CC" # Let the user override the test.
3180 else
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH
3183 do
3184   IFS=$as_save_IFS
3185   test -z "$as_dir" && as_dir=.
3186     for ac_exec_ext in '' $ac_executable_extensions; do
3187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188     ac_cv_prog_CC="${ac_tool_prefix}cc"
3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190     break 2
3191   fi
3192 done
3193   done
3194 IFS=$as_save_IFS
3195
3196 fi
3197 fi
3198 CC=$ac_cv_prog_CC
3199 if test -n "$CC"; then
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3202 else
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3205 fi
3206
3207
3208   fi
3209 fi
3210 if test -z "$CC"; then
3211   # Extract the first word of "cc", so it can be a program name with args.
3212 set dummy cc; ac_word=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_prog_CC+:} false; then :
3216   $as_echo_n "(cached) " >&6
3217 else
3218   if test -n "$CC"; then
3219   ac_cv_prog_CC="$CC" # Let the user override the test.
3220 else
3221   ac_prog_rejected=no
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH
3224 do
3225   IFS=$as_save_IFS
3226   test -z "$as_dir" && as_dir=.
3227     for ac_exec_ext in '' $ac_executable_extensions; do
3228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3230        ac_prog_rejected=yes
3231        continue
3232      fi
3233     ac_cv_prog_CC="cc"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 if test $ac_prog_rejected = yes; then
3242   # We found a bogon in the path, so make sure we never use it.
3243   set dummy $ac_cv_prog_CC
3244   shift
3245   if test $# != 0; then
3246     # We chose a different compiler from the bogus one.
3247     # However, it has the same basename, so the bogon will be chosen
3248     # first if we set CC to just the basename; use the full file name.
3249     shift
3250     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3251   fi
3252 fi
3253 fi
3254 fi
3255 CC=$ac_cv_prog_CC
3256 if test -n "$CC"; then
3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3258 $as_echo "$CC" >&6; }
3259 else
3260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 fi
3263
3264
3265 fi
3266 if test -z "$CC"; then
3267   if test -n "$ac_tool_prefix"; then
3268   for ac_prog in cl.exe
3269   do
3270     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_CC+:} false; then :
3275   $as_echo_n "(cached) " >&6
3276 else
3277   if test -n "$CC"; then
3278   ac_cv_prog_CC="$CC" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3282 do
3283   IFS=$as_save_IFS
3284   test -z "$as_dir" && as_dir=.
3285     for ac_exec_ext in '' $ac_executable_extensions; do
3286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289     break 2
3290   fi
3291 done
3292   done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 CC=$ac_cv_prog_CC
3298 if test -n "$CC"; then
3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3301 else
3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 fi
3305
3306
3307     test -n "$CC" && break
3308   done
3309 fi
3310 if test -z "$CC"; then
3311   ac_ct_CC=$CC
3312   for ac_prog in cl.exe
3313 do
3314   # Extract the first word of "$ac_prog", so it can be a program name with args.
3315 set dummy $ac_prog; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3319   $as_echo_n "(cached) " >&6
3320 else
3321   if test -n "$ac_ct_CC"; then
3322   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327   IFS=$as_save_IFS
3328   test -z "$as_dir" && as_dir=.
3329     for ac_exec_ext in '' $ac_executable_extensions; do
3330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331     ac_cv_prog_ac_ct_CC="$ac_prog"
3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333     break 2
3334   fi
3335 done
3336   done
3337 IFS=$as_save_IFS
3338
3339 fi
3340 fi
3341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3342 if test -n "$ac_ct_CC"; then
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3344 $as_echo "$ac_ct_CC" >&6; }
3345 else
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3348 fi
3349
3350
3351   test -n "$ac_ct_CC" && break
3352 done
3353
3354   if test "x$ac_ct_CC" = x; then
3355     CC=""
3356   else
3357     case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363     CC=$ac_ct_CC
3364   fi
3365 fi
3366
3367 fi
3368
3369
3370 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "no acceptable C compiler found in \$PATH
3373 See \`config.log' for more details" "$LINENO" 5; }
3374
3375 # Provide some information about the compiler.
3376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3377 set X $ac_compile
3378 ac_compiler=$2
3379 for ac_option in --version -v -V -qversion; do
3380   { { ac_try="$ac_compiler $ac_option >&5"
3381 case "(($ac_try" in
3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383   *) ac_try_echo=$ac_try;;
3384 esac
3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
3387   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3388   ac_status=$?
3389   if test -s conftest.err; then
3390     sed '10a\
3391 ... rest of stderr output deleted ...
3392          10q' conftest.err >conftest.er1
3393     cat conftest.er1 >&5
3394   fi
3395   rm -f conftest.er1 conftest.err
3396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397   test $ac_status = 0; }
3398 done
3399
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h.  */
3402
3403 int
3404 main ()
3405 {
3406
3407   ;
3408   return 0;
3409 }
3410 _ACEOF
3411 ac_clean_files_save=$ac_clean_files
3412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3413 # Try to create an executable without -o first, disregard a.out.
3414 # It will help us diagnose broken compilers, and finding out an intuition
3415 # of exeext.
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3417 $as_echo_n "checking whether the C compiler works... " >&6; }
3418 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3419
3420 # The possible output files:
3421 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3422
3423 ac_rmfiles=
3424 for ac_file in $ac_files
3425 do
3426   case $ac_file in
3427     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3428     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3429   esac
3430 done
3431 rm -f $ac_rmfiles
3432
3433 if { { ac_try="$ac_link_default"
3434 case "(($ac_try" in
3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436   *) ac_try_echo=$ac_try;;
3437 esac
3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439 $as_echo "$ac_try_echo"; } >&5
3440   (eval "$ac_link_default") 2>&5
3441   ac_status=$?
3442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443   test $ac_status = 0; }; then :
3444   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3445 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3446 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3447 # so that the user can short-circuit this test for compilers unknown to
3448 # Autoconf.
3449 for ac_file in $ac_files ''
3450 do
3451   test -f "$ac_file" || continue
3452   case $ac_file in
3453     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3454         ;;
3455     [ab].out )
3456         # We found the default executable, but exeext='' is most
3457         # certainly right.
3458         break;;
3459     *.* )
3460         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3461         then :; else
3462            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3463         fi
3464         # We set ac_cv_exeext here because the later test for it is not
3465         # safe: cross compilers may not add the suffix if given an `-o'
3466         # argument, so we may need to know it at that point already.
3467         # Even if this section looks crufty: it has the advantage of
3468         # actually working.
3469         break;;
3470     * )
3471         break;;
3472   esac
3473 done
3474 test "$ac_cv_exeext" = no && ac_cv_exeext=
3475
3476 else
3477   ac_file=''
3478 fi
3479 if test -z "$ac_file"; then :
3480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3481 $as_echo "no" >&6; }
3482 $as_echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3484
3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487 as_fn_error 77 "C compiler cannot create executables
3488 See \`config.log' for more details" "$LINENO" 5; }
3489 else
3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3492 fi
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3494 $as_echo_n "checking for C compiler default output file name... " >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3496 $as_echo "$ac_file" >&6; }
3497 ac_exeext=$ac_cv_exeext
3498
3499 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3500 ac_clean_files=$ac_clean_files_save
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3502 $as_echo_n "checking for suffix of executables... " >&6; }
3503 if { { ac_try="$ac_link"
3504 case "(($ac_try" in
3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506   *) ac_try_echo=$ac_try;;
3507 esac
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510   (eval "$ac_link") 2>&5
3511   ac_status=$?
3512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513   test $ac_status = 0; }; then :
3514   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3515 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3516 # work properly (i.e., refer to `conftest.exe'), while it won't with
3517 # `rm'.
3518 for ac_file in conftest.exe conftest conftest.*; do
3519   test -f "$ac_file" || continue
3520   case $ac_file in
3521     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3522     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3523           break;;
3524     * ) break;;
3525   esac
3526 done
3527 else
3528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3531 See \`config.log' for more details" "$LINENO" 5; }
3532 fi
3533 rm -f conftest conftest$ac_cv_exeext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3535 $as_echo "$ac_cv_exeext" >&6; }
3536
3537 rm -f conftest.$ac_ext
3538 EXEEXT=$ac_cv_exeext
3539 ac_exeext=$EXEEXT
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h.  */
3542 #include <stdio.h>
3543 int
3544 main ()
3545 {
3546 FILE *f = fopen ("conftest.out", "w");
3547  return ferror (f) || fclose (f) != 0;
3548
3549   ;
3550   return 0;
3551 }
3552 _ACEOF
3553 ac_clean_files="$ac_clean_files conftest.out"
3554 # Check that the compiler produces executables we can run.  If not, either
3555 # the compiler is broken, or we cross compile.
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3557 $as_echo_n "checking whether we are cross compiling... " >&6; }
3558 if test "$cross_compiling" != yes; then
3559   { { ac_try="$ac_link"
3560 case "(($ac_try" in
3561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562   *) ac_try_echo=$ac_try;;
3563 esac
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566   (eval "$ac_link") 2>&5
3567   ac_status=$?
3568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569   test $ac_status = 0; }
3570   if { ac_try='./conftest$ac_cv_exeext'
3571   { { case "(($ac_try" in
3572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573   *) ac_try_echo=$ac_try;;
3574 esac
3575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3576 $as_echo "$ac_try_echo"; } >&5
3577   (eval "$ac_try") 2>&5
3578   ac_status=$?
3579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3580   test $ac_status = 0; }; }; then
3581     cross_compiling=no
3582   else
3583     if test "$cross_compiling" = maybe; then
3584         cross_compiling=yes
3585     else
3586         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588 as_fn_error $? "cannot run C compiled programs.
3589 If you meant to cross compile, use \`--host'.
3590 See \`config.log' for more details" "$LINENO" 5; }
3591     fi
3592   fi
3593 fi
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3595 $as_echo "$cross_compiling" >&6; }
3596
3597 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3598 ac_clean_files=$ac_clean_files_save
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3600 $as_echo_n "checking for suffix of object files... " >&6; }
3601 if ${ac_cv_objext+:} false; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h.  */
3606
3607 int
3608 main ()
3609 {
3610
3611   ;
3612   return 0;
3613 }
3614 _ACEOF
3615 rm -f conftest.o conftest.obj
3616 if { { ac_try="$ac_compile"
3617 case "(($ac_try" in
3618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619   *) ac_try_echo=$ac_try;;
3620 esac
3621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3622 $as_echo "$ac_try_echo"; } >&5
3623   (eval "$ac_compile") 2>&5
3624   ac_status=$?
3625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3626   test $ac_status = 0; }; then :
3627   for ac_file in conftest.o conftest.obj conftest.*; do
3628   test -f "$ac_file" || continue;
3629   case $ac_file in
3630     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3631     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3632        break;;
3633   esac
3634 done
3635 else
3636   $as_echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3638
3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $? "cannot compute suffix of object files: cannot compile
3642 See \`config.log' for more details" "$LINENO" 5; }
3643 fi
3644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3645 fi
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3647 $as_echo "$ac_cv_objext" >&6; }
3648 OBJEXT=$ac_cv_objext
3649 ac_objext=$OBJEXT
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3651 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3652 if ${ac_cv_c_compiler_gnu+:} false; then :
3653   $as_echo_n "(cached) " >&6
3654 else
3655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h.  */
3657
3658 int
3659 main ()
3660 {
3661 #ifndef __GNUC__
3662        choke me
3663 #endif
3664
3665   ;
3666   return 0;
3667 }
3668 _ACEOF
3669 if ac_fn_c_try_compile "$LINENO"; then :
3670   ac_compiler_gnu=yes
3671 else
3672   ac_compiler_gnu=no
3673 fi
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3676
3677 fi
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3679 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3680 if test $ac_compiler_gnu = yes; then
3681   GCC=yes
3682 else
3683   GCC=
3684 fi
3685 ac_test_CFLAGS=${CFLAGS+set}
3686 ac_save_CFLAGS=$CFLAGS
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3688 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3689 if ${ac_cv_prog_cc_g+:} false; then :
3690   $as_echo_n "(cached) " >&6
3691 else
3692   ac_save_c_werror_flag=$ac_c_werror_flag
3693    ac_c_werror_flag=yes
3694    ac_cv_prog_cc_g=no
3695    CFLAGS="-g"
3696    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h.  */
3698
3699 int
3700 main ()
3701 {
3702
3703   ;
3704   return 0;
3705 }
3706 _ACEOF
3707 if ac_fn_c_try_compile "$LINENO"; then :
3708   ac_cv_prog_cc_g=yes
3709 else
3710   CFLAGS=""
3711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h.  */
3713
3714 int
3715 main ()
3716 {
3717
3718   ;
3719   return 0;
3720 }
3721 _ACEOF
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723
3724 else
3725   ac_c_werror_flag=$ac_save_c_werror_flag
3726          CFLAGS="-g"
3727          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h.  */
3729
3730 int
3731 main ()
3732 {
3733
3734   ;
3735   return 0;
3736 }
3737 _ACEOF
3738 if ac_fn_c_try_compile "$LINENO"; then :
3739   ac_cv_prog_cc_g=yes
3740 fi
3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742 fi
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 fi
3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746    ac_c_werror_flag=$ac_save_c_werror_flag
3747 fi
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3749 $as_echo "$ac_cv_prog_cc_g" >&6; }
3750 if test "$ac_test_CFLAGS" = set; then
3751   CFLAGS=$ac_save_CFLAGS
3752 elif test $ac_cv_prog_cc_g = yes; then
3753   if test "$GCC" = yes; then
3754     CFLAGS="-g -O2"
3755   else
3756     CFLAGS="-g"
3757   fi
3758 else
3759   if test "$GCC" = yes; then
3760     CFLAGS="-O2"
3761   else
3762     CFLAGS=
3763   fi
3764 fi
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3766 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3767 if ${ac_cv_prog_cc_c89+:} false; then :
3768   $as_echo_n "(cached) " >&6
3769 else
3770   ac_cv_prog_cc_c89=no
3771 ac_save_CC=$CC
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h.  */
3774 #include <stdarg.h>
3775 #include <stdio.h>
3776 struct stat;
3777 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3778 struct buf { int x; };
3779 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3780 static char *e (p, i)
3781      char **p;
3782      int i;
3783 {
3784   return p[i];
3785 }
3786 static char *f (char * (*g) (char **, int), char **p, ...)
3787 {
3788   char *s;
3789   va_list v;
3790   va_start (v,p);
3791   s = g (p, va_arg (v,int));
3792   va_end (v);
3793   return s;
3794 }
3795
3796 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3797    function prototypes and stuff, but not '\xHH' hex character constants.
3798    These don't provoke an error unfortunately, instead are silently treated
3799    as 'x'.  The following induces an error, until -std is added to get
3800    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3801    array size at least.  It's necessary to write '\x00'==0 to get something
3802    that's true only with -std.  */
3803 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3804
3805 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3806    inside strings and character constants.  */
3807 #define FOO(x) 'x'
3808 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3809
3810 int test (int i, double x);
3811 struct s1 {int (*f) (int a);};
3812 struct s2 {int (*f) (double a);};
3813 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3814 int argc;
3815 char **argv;
3816 int
3817 main ()
3818 {
3819 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3820   ;
3821   return 0;
3822 }
3823 _ACEOF
3824 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3825         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3826 do
3827   CC="$ac_save_CC $ac_arg"
3828   if ac_fn_c_try_compile "$LINENO"; then :
3829   ac_cv_prog_cc_c89=$ac_arg
3830 fi
3831 rm -f core conftest.err conftest.$ac_objext
3832   test "x$ac_cv_prog_cc_c89" != "xno" && break
3833 done
3834 rm -f conftest.$ac_ext
3835 CC=$ac_save_CC
3836
3837 fi
3838 # AC_CACHE_VAL
3839 case "x$ac_cv_prog_cc_c89" in
3840   x)
3841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3842 $as_echo "none needed" >&6; } ;;
3843   xno)
3844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3845 $as_echo "unsupported" >&6; } ;;
3846   *)
3847     CC="$CC $ac_cv_prog_cc_c89"
3848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3849 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3850 esac
3851 if test "x$ac_cv_prog_cc_c89" != xno; then :
3852
3853 fi
3854
3855 ac_ext=c
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860 DEPDIR="${am__leading_dot}deps"
3861
3862 ac_config_commands="$ac_config_commands depfiles"
3863
3864
3865 am_make=${MAKE-make}
3866 cat > confinc << 'END'
3867 am__doit:
3868         @echo this is the am__doit target
3869 .PHONY: am__doit
3870 END
3871 # If we don't find an include directive, just comment out the code.
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3873 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3874 am__include="#"
3875 am__quote=
3876 _am_result=none
3877 # First try GNU make style include.
3878 echo "include confinc" > confmf
3879 # Ignore all kinds of additional output from 'make'.
3880 case `$am_make -s -f confmf 2> /dev/null` in #(
3881 *the\ am__doit\ target*)
3882   am__include=include
3883   am__quote=
3884   _am_result=GNU
3885   ;;
3886 esac
3887 # Now try BSD make style include.
3888 if test "$am__include" = "#"; then
3889    echo '.include "confinc"' > confmf
3890    case `$am_make -s -f confmf 2> /dev/null` in #(
3891    *the\ am__doit\ target*)
3892      am__include=.include
3893      am__quote="\""
3894      _am_result=BSD
3895      ;;
3896    esac
3897 fi
3898
3899
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3901 $as_echo "$_am_result" >&6; }
3902 rm -f confinc confmf
3903
3904 # Check whether --enable-dependency-tracking was given.
3905 if test "${enable_dependency_tracking+set}" = set; then :
3906   enableval=$enable_dependency_tracking;
3907 fi
3908
3909 if test "x$enable_dependency_tracking" != xno; then
3910   am_depcomp="$ac_aux_dir/depcomp"
3911   AMDEPBACKSLASH='\'
3912   am__nodep='_no'
3913 fi
3914  if test "x$enable_dependency_tracking" != xno; then
3915   AMDEP_TRUE=
3916   AMDEP_FALSE='#'
3917 else
3918   AMDEP_TRUE='#'
3919   AMDEP_FALSE=
3920 fi
3921
3922
3923
3924 depcc="$CC"   am_compiler_list=
3925
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3927 $as_echo_n "checking dependency style of $depcc... " >&6; }
3928 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3929   $as_echo_n "(cached) " >&6
3930 else
3931   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3932   # We make a subdir and do the tests there.  Otherwise we can end up
3933   # making bogus files that we don't know about and never remove.  For
3934   # instance it was reported that on HP-UX the gcc test will end up
3935   # making a dummy file named 'D' -- because '-MD' means "put the output
3936   # in D".
3937   rm -rf conftest.dir
3938   mkdir conftest.dir
3939   # Copy depcomp to subdir because otherwise we won't find it if we're
3940   # using a relative directory.
3941   cp "$am_depcomp" conftest.dir
3942   cd conftest.dir
3943   # We will build objects and dependencies in a subdirectory because
3944   # it helps to detect inapplicable dependency modes.  For instance
3945   # both Tru64's cc and ICC support -MD to output dependencies as a
3946   # side effect of compilation, but ICC will put the dependencies in
3947   # the current directory while Tru64 will put them in the object
3948   # directory.
3949   mkdir sub
3950
3951   am_cv_CC_dependencies_compiler_type=none
3952   if test "$am_compiler_list" = ""; then
3953      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3954   fi
3955   am__universal=false
3956   case " $depcc " in #(
3957      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3958      esac
3959
3960   for depmode in $am_compiler_list; do
3961     # Setup a source with many dependencies, because some compilers
3962     # like to wrap large dependency lists on column 80 (with \), and
3963     # we should not choose a depcomp mode which is confused by this.
3964     #
3965     # We need to recreate these files for each test, as the compiler may
3966     # overwrite some of them when testing with obscure command lines.
3967     # This happens at least with the AIX C compiler.
3968     : > sub/conftest.c
3969     for i in 1 2 3 4 5 6; do
3970       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3971       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3972       # Solaris 10 /bin/sh.
3973       echo '/* dummy */' > sub/conftst$i.h
3974     done
3975     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3976
3977     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3978     # mode.  It turns out that the SunPro C++ compiler does not properly
3979     # handle '-M -o', and we need to detect this.  Also, some Intel
3980     # versions had trouble with output in subdirs.
3981     am__obj=sub/conftest.${OBJEXT-o}
3982     am__minus_obj="-o $am__obj"
3983     case $depmode in
3984     gcc)
3985       # This depmode causes a compiler race in universal mode.
3986       test "$am__universal" = false || continue
3987       ;;
3988     nosideeffect)
3989       # After this tag, mechanisms are not by side-effect, so they'll
3990       # only be used when explicitly requested.
3991       if test "x$enable_dependency_tracking" = xyes; then
3992         continue
3993       else
3994         break
3995       fi
3996       ;;
3997     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3998       # This compiler won't grok '-c -o', but also, the minuso test has
3999       # not run yet.  These depmodes are late enough in the game, and
4000       # so weak that their functioning should not be impacted.
4001       am__obj=conftest.${OBJEXT-o}
4002       am__minus_obj=
4003       ;;
4004     none) break ;;
4005     esac
4006     if depmode=$depmode \
4007        source=sub/conftest.c object=$am__obj \
4008        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4009        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4010          >/dev/null 2>conftest.err &&
4011        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4012        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4013        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4014        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4015       # icc doesn't choke on unknown options, it will just issue warnings
4016       # or remarks (even with -Werror).  So we grep stderr for any message
4017       # that says an option was ignored or not supported.
4018       # When given -MP, icc 7.0 and 7.1 complain thusly:
4019       #   icc: Command line warning: ignoring option '-M'; no argument required
4020       # The diagnosis changed in icc 8.0:
4021       #   icc: Command line remark: option '-MP' not supported
4022       if (grep 'ignoring option' conftest.err ||
4023           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4024         am_cv_CC_dependencies_compiler_type=$depmode
4025         break
4026       fi
4027     fi
4028   done
4029
4030   cd ..
4031   rm -rf conftest.dir
4032 else
4033   am_cv_CC_dependencies_compiler_type=none
4034 fi
4035
4036 fi
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4038 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4039 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4040
4041  if
4042   test "x$enable_dependency_tracking" != xno \
4043   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4044   am__fastdepCC_TRUE=
4045   am__fastdepCC_FALSE='#'
4046 else
4047   am__fastdepCC_TRUE='#'
4048   am__fastdepCC_FALSE=
4049 fi
4050
4051
4052 ac_ext=c
4053 ac_cpp='$CPP $CPPFLAGS'
4054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4058 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4059 # On Suns, sometimes $CPP names a directory.
4060 if test -n "$CPP" && test -d "$CPP"; then
4061   CPP=
4062 fi
4063 if test -z "$CPP"; then
4064   if ${ac_cv_prog_CPP+:} false; then :
4065   $as_echo_n "(cached) " >&6
4066 else
4067       # Double quotes because CPP needs to be expanded
4068     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4069     do
4070       ac_preproc_ok=false
4071 for ac_c_preproc_warn_flag in '' yes
4072 do
4073   # Use a header file that comes with gcc, so configuring glibc
4074   # with a fresh cross-compiler works.
4075   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4076   # <limits.h> exists even on freestanding compilers.
4077   # On the NeXT, cc -E runs the code through the compiler's parser,
4078   # not just through cpp. "Syntax error" is here to catch this case.
4079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h.  */
4081 #ifdef __STDC__
4082 # include <limits.h>
4083 #else
4084 # include <assert.h>
4085 #endif
4086                      Syntax error
4087 _ACEOF
4088 if ac_fn_c_try_cpp "$LINENO"; then :
4089
4090 else
4091   # Broken: fails on valid input.
4092 continue
4093 fi
4094 rm -f conftest.err conftest.i conftest.$ac_ext
4095
4096   # OK, works on sane cases.  Now check whether nonexistent headers
4097   # can be detected and how.
4098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h.  */
4100 #include <ac_nonexistent.h>
4101 _ACEOF
4102 if ac_fn_c_try_cpp "$LINENO"; then :
4103   # Broken: success on invalid input.
4104 continue
4105 else
4106   # Passes both tests.
4107 ac_preproc_ok=:
4108 break
4109 fi
4110 rm -f conftest.err conftest.i conftest.$ac_ext
4111
4112 done
4113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4114 rm -f conftest.i conftest.err conftest.$ac_ext
4115 if $ac_preproc_ok; then :
4116   break
4117 fi
4118
4119     done
4120     ac_cv_prog_CPP=$CPP
4121
4122 fi
4123   CPP=$ac_cv_prog_CPP
4124 else
4125   ac_cv_prog_CPP=$CPP
4126 fi
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4128 $as_echo "$CPP" >&6; }
4129 ac_preproc_ok=false
4130 for ac_c_preproc_warn_flag in '' yes
4131 do
4132   # Use a header file that comes with gcc, so configuring glibc
4133   # with a fresh cross-compiler works.
4134   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4135   # <limits.h> exists even on freestanding compilers.
4136   # On the NeXT, cc -E runs the code through the compiler's parser,
4137   # not just through cpp. "Syntax error" is here to catch this case.
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h.  */
4140 #ifdef __STDC__
4141 # include <limits.h>
4142 #else
4143 # include <assert.h>
4144 #endif
4145                      Syntax error
4146 _ACEOF
4147 if ac_fn_c_try_cpp "$LINENO"; then :
4148
4149 else
4150   # Broken: fails on valid input.
4151 continue
4152 fi
4153 rm -f conftest.err conftest.i conftest.$ac_ext
4154
4155   # OK, works on sane cases.  Now check whether nonexistent headers
4156   # can be detected and how.
4157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h.  */
4159 #include <ac_nonexistent.h>
4160 _ACEOF
4161 if ac_fn_c_try_cpp "$LINENO"; then :
4162   # Broken: success on invalid input.
4163 continue
4164 else
4165   # Passes both tests.
4166 ac_preproc_ok=:
4167 break
4168 fi
4169 rm -f conftest.err conftest.i conftest.$ac_ext
4170
4171 done
4172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4173 rm -f conftest.i conftest.err conftest.$ac_ext
4174 if $ac_preproc_ok; then :
4175
4176 else
4177   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4180 See \`config.log' for more details" "$LINENO" 5; }
4181 fi
4182
4183 ac_ext=c
4184 ac_cpp='$CPP $CPPFLAGS'
4185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4188
4189
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4191 $as_echo_n "checking whether ln -s works... " >&6; }
4192 LN_S=$as_ln_s
4193 if test "$LN_S" = "ln -s"; then
4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4195 $as_echo "yes" >&6; }
4196 else
4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4198 $as_echo "no, using $LN_S" >&6; }
4199 fi
4200
4201 # Check whether --enable-static was given.
4202 if test "${enable_static+set}" = set; then :
4203   enableval=$enable_static; p=${PACKAGE-default}
4204     case $enableval in
4205     yes) enable_static=yes ;;
4206     no) enable_static=no ;;
4207     *)
4208      enable_static=no
4209       # Look at the argument we got.  We use all the common list separators.
4210       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4211       for pkg in $enableval; do
4212         IFS="$lt_save_ifs"
4213         if test "X$pkg" = "X$p"; then
4214           enable_static=yes
4215         fi
4216       done
4217       IFS="$lt_save_ifs"
4218       ;;
4219     esac
4220 else
4221   enable_static=no
4222 fi
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232 enable_dlopen=yes
4233
4234
4235
4236 case `pwd` in
4237   *\ * | *\     *)
4238     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4239 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4240 esac
4241
4242
4243
4244 macro_version='2.4.2'
4245 macro_revision='1.3337'
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259 ltmain="$ac_aux_dir/ltmain.sh"
4260
4261 # Backslashify metacharacters that are still active within
4262 # double-quoted strings.
4263 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4264
4265 # Same as above, but do not quote variable references.
4266 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4267
4268 # Sed substitution to delay expansion of an escaped shell variable in a
4269 # double_quote_subst'ed string.
4270 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4271
4272 # Sed substitution to delay expansion of an escaped single quote.
4273 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4274
4275 # Sed substitution to avoid accidental globbing in evaled expressions
4276 no_glob_subst='s/\*/\\\*/g'
4277
4278 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4279 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4280 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4281
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4283 $as_echo_n "checking how to print strings... " >&6; }
4284 # Test print first, because it will be a builtin if present.
4285 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4286    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4287   ECHO='print -r --'
4288 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4289   ECHO='printf %s\n'
4290 else
4291   # Use this function as a fallback that always works.
4292   func_fallback_echo ()
4293   {
4294     eval 'cat <<_LTECHO_EOF
4295 $1
4296 _LTECHO_EOF'
4297   }
4298   ECHO='func_fallback_echo'
4299 fi
4300
4301 # func_echo_all arg...
4302 # Invoke $ECHO with all args, space-separated.
4303 func_echo_all ()
4304 {
4305     $ECHO ""
4306 }
4307
4308 case "$ECHO" in
4309   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4310 $as_echo "printf" >&6; } ;;
4311   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4312 $as_echo "print -r" >&6; } ;;
4313   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4314 $as_echo "cat" >&6; } ;;
4315 esac
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4331 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4332 if ${ac_cv_path_SED+:} false; then :
4333   $as_echo_n "(cached) " >&6
4334 else
4335             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4336      for ac_i in 1 2 3 4 5 6 7; do
4337        ac_script="$ac_script$as_nl$ac_script"
4338      done
4339      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4340      { ac_script=; unset ac_script;}
4341      if test -z "$SED"; then
4342   ac_path_SED_found=false
4343   # Loop through the user's path and test for each of PROGNAME-LIST
4344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4346 do
4347   IFS=$as_save_IFS
4348   test -z "$as_dir" && as_dir=.
4349     for ac_prog in sed gsed; do
4350     for ac_exec_ext in '' $ac_executable_extensions; do
4351       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4352       as_fn_executable_p "$ac_path_SED" || continue
4353 # Check for GNU ac_path_SED and select it if it is found.
4354   # Check for GNU $ac_path_SED
4355 case `"$ac_path_SED" --version 2>&1` in
4356 *GNU*)
4357   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4358 *)
4359   ac_count=0
4360   $as_echo_n 0123456789 >"conftest.in"
4361   while :
4362   do
4363     cat "conftest.in" "conftest.in" >"conftest.tmp"
4364     mv "conftest.tmp" "conftest.in"
4365     cp "conftest.in" "conftest.nl"
4366     $as_echo '' >> "conftest.nl"
4367     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4368     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4369     as_fn_arith $ac_count + 1 && ac_count=$as_val
4370     if test $ac_count -gt ${ac_path_SED_max-0}; then
4371       # Best one so far, save it but keep looking for a better one
4372       ac_cv_path_SED="$ac_path_SED"
4373       ac_path_SED_max=$ac_count
4374     fi
4375     # 10*(2^10) chars as input seems more than enough
4376     test $ac_count -gt 10 && break
4377   done
4378   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4379 esac
4380
4381       $ac_path_SED_found && break 3
4382     done
4383   done
4384   done
4385 IFS=$as_save_IFS
4386   if test -z "$ac_cv_path_SED"; then
4387     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4388   fi
4389 else
4390   ac_cv_path_SED=$SED
4391 fi
4392
4393 fi
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4395 $as_echo "$ac_cv_path_SED" >&6; }
4396  SED="$ac_cv_path_SED"
4397   rm -f conftest.sed
4398
4399 test -z "$SED" && SED=sed
4400 Xsed="$SED -e 1s/^X//"
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4413 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4414 if ${ac_cv_path_GREP+:} false; then :
4415   $as_echo_n "(cached) " >&6
4416 else
4417   if test -z "$GREP"; then
4418   ac_path_GREP_found=false
4419   # Loop through the user's path and test for each of PROGNAME-LIST
4420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4422 do
4423   IFS=$as_save_IFS
4424   test -z "$as_dir" && as_dir=.
4425     for ac_prog in grep ggrep; do
4426     for ac_exec_ext in '' $ac_executable_extensions; do
4427       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4428       as_fn_executable_p "$ac_path_GREP" || continue
4429 # Check for GNU ac_path_GREP and select it if it is found.
4430   # Check for GNU $ac_path_GREP
4431 case `"$ac_path_GREP" --version 2>&1` in
4432 *GNU*)
4433   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4434 *)
4435   ac_count=0
4436   $as_echo_n 0123456789 >"conftest.in"
4437   while :
4438   do
4439     cat "conftest.in" "conftest.in" >"conftest.tmp"
4440     mv "conftest.tmp" "conftest.in"
4441     cp "conftest.in" "conftest.nl"
4442     $as_echo 'GREP' >> "conftest.nl"
4443     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4444     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4445     as_fn_arith $ac_count + 1 && ac_count=$as_val
4446     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4447       # Best one so far, save it but keep looking for a better one
4448       ac_cv_path_GREP="$ac_path_GREP"
4449       ac_path_GREP_max=$ac_count
4450     fi
4451     # 10*(2^10) chars as input seems more than enough
4452     test $ac_count -gt 10 && break
4453   done
4454   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4455 esac
4456
4457       $ac_path_GREP_found && break 3
4458     done
4459   done
4460   done
4461 IFS=$as_save_IFS
4462   if test -z "$ac_cv_path_GREP"; then
4463     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4464   fi
4465 else
4466   ac_cv_path_GREP=$GREP
4467 fi
4468
4469 fi
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4471 $as_echo "$ac_cv_path_GREP" >&6; }
4472  GREP="$ac_cv_path_GREP"
4473
4474
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4476 $as_echo_n "checking for egrep... " >&6; }
4477 if ${ac_cv_path_EGREP+:} false; then :
4478   $as_echo_n "(cached) " >&6
4479 else
4480   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4481    then ac_cv_path_EGREP="$GREP -E"
4482    else
4483      if test -z "$EGREP"; then
4484   ac_path_EGREP_found=false
4485   # Loop through the user's path and test for each of PROGNAME-LIST
4486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4488 do
4489   IFS=$as_save_IFS
4490   test -z "$as_dir" && as_dir=.
4491     for ac_prog in egrep; do
4492     for ac_exec_ext in '' $ac_executable_extensions; do
4493       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4494       as_fn_executable_p "$ac_path_EGREP" || continue
4495 # Check for GNU ac_path_EGREP and select it if it is found.
4496   # Check for GNU $ac_path_EGREP
4497 case `"$ac_path_EGREP" --version 2>&1` in
4498 *GNU*)
4499   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4500 *)
4501   ac_count=0
4502   $as_echo_n 0123456789 >"conftest.in"
4503   while :
4504   do
4505     cat "conftest.in" "conftest.in" >"conftest.tmp"
4506     mv "conftest.tmp" "conftest.in"
4507     cp "conftest.in" "conftest.nl"
4508     $as_echo 'EGREP' >> "conftest.nl"
4509     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4510     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4511     as_fn_arith $ac_count + 1 && ac_count=$as_val
4512     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4513       # Best one so far, save it but keep looking for a better one
4514       ac_cv_path_EGREP="$ac_path_EGREP"
4515       ac_path_EGREP_max=$ac_count
4516     fi
4517     # 10*(2^10) chars as input seems more than enough
4518     test $ac_count -gt 10 && break
4519   done
4520   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4521 esac
4522
4523       $ac_path_EGREP_found && break 3
4524     done
4525   done
4526   done
4527 IFS=$as_save_IFS
4528   if test -z "$ac_cv_path_EGREP"; then
4529     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4530   fi
4531 else
4532   ac_cv_path_EGREP=$EGREP
4533 fi
4534
4535    fi
4536 fi
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4538 $as_echo "$ac_cv_path_EGREP" >&6; }
4539  EGREP="$ac_cv_path_EGREP"
4540
4541
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4543 $as_echo_n "checking for fgrep... " >&6; }
4544 if ${ac_cv_path_FGREP+:} false; then :
4545   $as_echo_n "(cached) " >&6
4546 else
4547   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4548    then ac_cv_path_FGREP="$GREP -F"
4549    else
4550      if test -z "$FGREP"; then
4551   ac_path_FGREP_found=false
4552   # Loop through the user's path and test for each of PROGNAME-LIST
4553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4555 do
4556   IFS=$as_save_IFS
4557   test -z "$as_dir" && as_dir=.
4558     for ac_prog in fgrep; do
4559     for ac_exec_ext in '' $ac_executable_extensions; do
4560       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4561       as_fn_executable_p "$ac_path_FGREP" || continue
4562 # Check for GNU ac_path_FGREP and select it if it is found.
4563   # Check for GNU $ac_path_FGREP
4564 case `"$ac_path_FGREP" --version 2>&1` in
4565 *GNU*)
4566   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4567 *)
4568   ac_count=0
4569   $as_echo_n 0123456789 >"conftest.in"
4570   while :
4571   do
4572     cat "conftest.in" "conftest.in" >"conftest.tmp"
4573     mv "conftest.tmp" "conftest.in"
4574     cp "conftest.in" "conftest.nl"
4575     $as_echo 'FGREP' >> "conftest.nl"
4576     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4577     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4578     as_fn_arith $ac_count + 1 && ac_count=$as_val
4579     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4580       # Best one so far, save it but keep looking for a better one
4581       ac_cv_path_FGREP="$ac_path_FGREP"
4582       ac_path_FGREP_max=$ac_count
4583     fi
4584     # 10*(2^10) chars as input seems more than enough
4585     test $ac_count -gt 10 && break
4586   done
4587   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4588 esac
4589
4590       $ac_path_FGREP_found && break 3
4591     done
4592   done
4593   done
4594 IFS=$as_save_IFS
4595   if test -z "$ac_cv_path_FGREP"; then
4596     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4597   fi
4598 else
4599   ac_cv_path_FGREP=$FGREP
4600 fi
4601
4602    fi
4603 fi
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4605 $as_echo "$ac_cv_path_FGREP" >&6; }
4606  FGREP="$ac_cv_path_FGREP"
4607
4608
4609 test -z "$GREP" && GREP=grep
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629 # Check whether --with-gnu-ld was given.
4630 if test "${with_gnu_ld+set}" = set; then :
4631   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4632 else
4633   with_gnu_ld=no
4634 fi
4635
4636 ac_prog=ld
4637 if test "$GCC" = yes; then
4638   # Check if gcc -print-prog-name=ld gives a path.
4639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4640 $as_echo_n "checking for ld used by $CC... " >&6; }
4641   case $host in
4642   *-*-mingw*)
4643     # gcc leaves a trailing carriage return which upsets mingw
4644     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4645   *)
4646     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4647   esac
4648   case $ac_prog in
4649     # Accept absolute paths.
4650     [\\/]* | ?:[\\/]*)
4651       re_direlt='/[^/][^/]*/\.\./'
4652       # Canonicalize the pathname of ld
4653       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4654       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4655         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4656       done
4657       test -z "$LD" && LD="$ac_prog"
4658       ;;
4659   "")
4660     # If it fails, then pretend we aren't using GCC.
4661     ac_prog=ld
4662     ;;
4663   *)
4664     # If it is relative, then search for the first ld in PATH.
4665     with_gnu_ld=unknown
4666     ;;
4667   esac
4668 elif test "$with_gnu_ld" = yes; then
4669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4670 $as_echo_n "checking for GNU ld... " >&6; }
4671 else
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4673 $as_echo_n "checking for non-GNU ld... " >&6; }
4674 fi
4675 if ${lt_cv_path_LD+:} false; then :
4676   $as_echo_n "(cached) " >&6
4677 else
4678   if test -z "$LD"; then
4679   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4680   for ac_dir in $PATH; do
4681     IFS="$lt_save_ifs"
4682     test -z "$ac_dir" && ac_dir=.
4683     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4684       lt_cv_path_LD="$ac_dir/$ac_prog"
4685       # Check to see if the program is GNU ld.  I'd rather use --version,
4686       # but apparently some variants of GNU ld only accept -v.
4687       # Break only if it was the GNU/non-GNU ld that we prefer.
4688       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4689       *GNU* | *'with BFD'*)
4690         test "$with_gnu_ld" != no && break
4691         ;;
4692       *)
4693         test "$with_gnu_ld" != yes && break
4694         ;;
4695       esac
4696     fi
4697   done
4698   IFS="$lt_save_ifs"
4699 else
4700   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4701 fi
4702 fi
4703
4704 LD="$lt_cv_path_LD"
4705 if test -n "$LD"; then
4706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4707 $as_echo "$LD" >&6; }
4708 else
4709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4711 fi
4712 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4714 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4715 if ${lt_cv_prog_gnu_ld+:} false; then :
4716   $as_echo_n "(cached) " >&6
4717 else
4718   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4719 case `$LD -v 2>&1 </dev/null` in
4720 *GNU* | *'with BFD'*)
4721   lt_cv_prog_gnu_ld=yes
4722   ;;
4723 *)
4724   lt_cv_prog_gnu_ld=no
4725   ;;
4726 esac
4727 fi
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4729 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4730 with_gnu_ld=$lt_cv_prog_gnu_ld
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4741 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4742 if ${lt_cv_path_NM+:} false; then :
4743   $as_echo_n "(cached) " >&6
4744 else
4745   if test -n "$NM"; then
4746   # Let the user override the test.
4747   lt_cv_path_NM="$NM"
4748 else
4749   lt_nm_to_check="${ac_tool_prefix}nm"
4750   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4751     lt_nm_to_check="$lt_nm_to_check nm"
4752   fi
4753   for lt_tmp_nm in $lt_nm_to_check; do
4754     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4755     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4756       IFS="$lt_save_ifs"
4757       test -z "$ac_dir" && ac_dir=.
4758       tmp_nm="$ac_dir/$lt_tmp_nm"
4759       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4760         # Check to see if the nm accepts a BSD-compat flag.
4761         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4762         #   nm: unknown option "B" ignored
4763         # Tru64's nm complains that /dev/null is an invalid object file
4764         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4765         */dev/null* | *'Invalid file or object type'*)
4766           lt_cv_path_NM="$tmp_nm -B"
4767           break
4768           ;;
4769         *)
4770           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4771           */dev/null*)
4772             lt_cv_path_NM="$tmp_nm -p"
4773             break
4774             ;;
4775           *)
4776             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4777             continue # so that we can try to find one that supports BSD flags
4778             ;;
4779           esac
4780           ;;
4781         esac
4782       fi
4783     done
4784     IFS="$lt_save_ifs"
4785   done
4786   : ${lt_cv_path_NM=no}
4787 fi
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4790 $as_echo "$lt_cv_path_NM" >&6; }
4791 if test "$lt_cv_path_NM" != "no"; then
4792   NM="$lt_cv_path_NM"
4793 else
4794   # Didn't find any BSD compatible name lister, look for dumpbin.
4795   if test -n "$DUMPBIN"; then :
4796     # Let the user override the test.
4797   else
4798     if test -n "$ac_tool_prefix"; then
4799   for ac_prog in dumpbin "link -dump"
4800   do
4801     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_DUMPBIN+:} false; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808   if test -n "$DUMPBIN"; then
4809   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4813 do
4814   IFS=$as_save_IFS
4815   test -z "$as_dir" && as_dir=.
4816     for ac_exec_ext in '' $ac_executable_extensions; do
4817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820     break 2
4821   fi
4822 done
4823   done
4824 IFS=$as_save_IFS
4825
4826 fi
4827 fi
4828 DUMPBIN=$ac_cv_prog_DUMPBIN
4829 if test -n "$DUMPBIN"; then
4830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4831 $as_echo "$DUMPBIN" >&6; }
4832 else
4833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4835 fi
4836
4837
4838     test -n "$DUMPBIN" && break
4839   done
4840 fi
4841 if test -z "$DUMPBIN"; then
4842   ac_ct_DUMPBIN=$DUMPBIN
4843   for ac_prog in dumpbin "link -dump"
4844 do
4845   # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy $ac_prog; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4850   $as_echo_n "(cached) " >&6
4851 else
4852   if test -n "$ac_ct_DUMPBIN"; then
4853   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4857 do
4858   IFS=$as_save_IFS
4859   test -z "$as_dir" && as_dir=.
4860     for ac_exec_ext in '' $ac_executable_extensions; do
4861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864     break 2
4865   fi
4866 done
4867   done
4868 IFS=$as_save_IFS
4869
4870 fi
4871 fi
4872 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4873 if test -n "$ac_ct_DUMPBIN"; then
4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4875 $as_echo "$ac_ct_DUMPBIN" >&6; }
4876 else
4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4879 fi
4880
4881
4882   test -n "$ac_ct_DUMPBIN" && break
4883 done
4884
4885   if test "x$ac_ct_DUMPBIN" = x; then
4886     DUMPBIN=":"
4887   else
4888     case $cross_compiling:$ac_tool_warned in
4889 yes:)
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4892 ac_tool_warned=yes ;;
4893 esac
4894     DUMPBIN=$ac_ct_DUMPBIN
4895   fi
4896 fi
4897
4898     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4899     *COFF*)
4900       DUMPBIN="$DUMPBIN -symbols"
4901       ;;
4902     *)
4903       DUMPBIN=:
4904       ;;
4905     esac
4906   fi
4907
4908   if test "$DUMPBIN" != ":"; then
4909     NM="$DUMPBIN"
4910   fi
4911 fi
4912 test -z "$NM" && NM=nm
4913
4914
4915
4916
4917
4918
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4920 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4921 if ${lt_cv_nm_interface+:} false; then :
4922   $as_echo_n "(cached) " >&6
4923 else
4924   lt_cv_nm_interface="BSD nm"
4925   echo "int some_variable = 0;" > conftest.$ac_ext
4926   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4927   (eval "$ac_compile" 2>conftest.err)
4928   cat conftest.err >&5
4929   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4930   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4931   cat conftest.err >&5
4932   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4933   cat conftest.out >&5
4934   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4935     lt_cv_nm_interface="MS dumpbin"
4936   fi
4937   rm -f conftest*
4938 fi
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4940 $as_echo "$lt_cv_nm_interface" >&6; }
4941
4942 # find the maximum length of command line arguments
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4944 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4945 if ${lt_cv_sys_max_cmd_len+:} false; then :
4946   $as_echo_n "(cached) " >&6
4947 else
4948     i=0
4949   teststring="ABCD"
4950
4951   case $build_os in
4952   msdosdjgpp*)
4953     # On DJGPP, this test can blow up pretty badly due to problems in libc
4954     # (any single argument exceeding 2000 bytes causes a buffer overrun
4955     # during glob expansion).  Even if it were fixed, the result of this
4956     # check would be larger than it should be.
4957     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4958     ;;
4959
4960   gnu*)
4961     # Under GNU Hurd, this test is not required because there is
4962     # no limit to the length of command line arguments.
4963     # Libtool will interpret -1 as no limit whatsoever
4964     lt_cv_sys_max_cmd_len=-1;
4965     ;;
4966
4967   cygwin* | mingw* | cegcc*)
4968     # On Win9x/ME, this test blows up -- it succeeds, but takes
4969     # about 5 minutes as the teststring grows exponentially.
4970     # Worse, since 9x/ME are not pre-emptively multitasking,
4971     # you end up with a "frozen" computer, even though with patience
4972     # the test eventually succeeds (with a max line length of 256k).
4973     # Instead, let's just punt: use the minimum linelength reported by
4974     # all of the supported platforms: 8192 (on NT/2K/XP).
4975     lt_cv_sys_max_cmd_len=8192;
4976     ;;
4977
4978   mint*)
4979     # On MiNT this can take a long time and run out of memory.
4980     lt_cv_sys_max_cmd_len=8192;
4981     ;;
4982
4983   amigaos*)
4984     # On AmigaOS with pdksh, this test takes hours, literally.
4985     # So we just punt and use a minimum line length of 8192.
4986     lt_cv_sys_max_cmd_len=8192;
4987     ;;
4988
4989   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4990     # This has been around since 386BSD, at least.  Likely further.
4991     if test -x /sbin/sysctl; then
4992       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4993     elif test -x /usr/sbin/sysctl; then
4994       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4995     else
4996       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4997     fi
4998     # And add a safety zone
4999     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5000     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5001     ;;
5002
5003   interix*)
5004     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5005     lt_cv_sys_max_cmd_len=196608
5006     ;;
5007
5008   os2*)
5009     # The test takes a long time on OS/2.
5010     lt_cv_sys_max_cmd_len=8192
5011     ;;
5012
5013   osf*)
5014     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5015     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5016     # nice to cause kernel panics so lets avoid the loop below.
5017     # First set a reasonable default.
5018     lt_cv_sys_max_cmd_len=16384
5019     #
5020     if test -x /sbin/sysconfig; then
5021       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5022         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5023       esac
5024     fi
5025     ;;
5026   sco3.2v5*)
5027     lt_cv_sys_max_cmd_len=102400
5028     ;;
5029   sysv5* | sco5v6* | sysv4.2uw2*)
5030     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5031     if test -n "$kargmax"; then
5032       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5033     else
5034       lt_cv_sys_max_cmd_len=32768
5035     fi
5036     ;;
5037   *)
5038     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5039     if test -n "$lt_cv_sys_max_cmd_len"; then
5040       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5041       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5042     else
5043       # Make teststring a little bigger before we do anything with it.
5044       # a 1K string should be a reasonable start.
5045       for i in 1 2 3 4 5 6 7 8 ; do
5046         teststring=$teststring$teststring
5047       done
5048       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5049       # If test is not a shell built-in, we'll probably end up computing a
5050       # maximum length that is only half of the actual maximum length, but
5051       # we can't tell.
5052       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5053                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5054               test $i != 17 # 1/2 MB should be enough
5055       do
5056         i=`expr $i + 1`
5057         teststring=$teststring$teststring
5058       done
5059       # Only check the string length outside the loop.
5060       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5061       teststring=
5062       # Add a significant safety factor because C++ compilers can tack on
5063       # massive amounts of additional arguments before passing them to the
5064       # linker.  It appears as though 1/2 is a usable value.
5065       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5066     fi
5067     ;;
5068   esac
5069
5070 fi
5071
5072 if test -n $lt_cv_sys_max_cmd_len ; then
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5075 else
5076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5077 $as_echo "none" >&6; }
5078 fi
5079 max_cmd_len=$lt_cv_sys_max_cmd_len
5080
5081
5082
5083
5084
5085
5086 : ${CP="cp -f"}
5087 : ${MV="mv -f"}
5088 : ${RM="rm -f"}
5089
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5091 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5092 # Try some XSI features
5093 xsi_shell=no
5094 ( _lt_dummy="a/b/c"
5095   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5096       = c,a/b,b/c, \
5097     && eval 'test $(( 1 + 1 )) -eq 2 \
5098     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5099   && xsi_shell=yes
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5101 $as_echo "$xsi_shell" >&6; }
5102
5103
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5105 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5106 lt_shell_append=no
5107 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5108     >/dev/null 2>&1 \
5109   && lt_shell_append=yes
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5111 $as_echo "$lt_shell_append" >&6; }
5112
5113
5114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5115   lt_unset=unset
5116 else
5117   lt_unset=false
5118 fi
5119
5120
5121
5122
5123
5124 # test EBCDIC or ASCII
5125 case `echo X|tr X '\101'` in
5126  A) # ASCII based system
5127     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5128   lt_SP2NL='tr \040 \012'
5129   lt_NL2SP='tr \015\012 \040\040'
5130   ;;
5131  *) # EBCDIC based system
5132   lt_SP2NL='tr \100 \n'
5133   lt_NL2SP='tr \r\n \100\100'
5134   ;;
5135 esac
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5146 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5147 if ${lt_cv_to_host_file_cmd+:} false; then :
5148   $as_echo_n "(cached) " >&6
5149 else
5150   case $host in
5151   *-*-mingw* )
5152     case $build in
5153       *-*-mingw* ) # actually msys
5154         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5155         ;;
5156       *-*-cygwin* )
5157         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5158         ;;
5159       * ) # otherwise, assume *nix
5160         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5161         ;;
5162     esac
5163     ;;
5164   *-*-cygwin* )
5165     case $build in
5166       *-*-mingw* ) # actually msys
5167         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5168         ;;
5169       *-*-cygwin* )
5170         lt_cv_to_host_file_cmd=func_convert_file_noop
5171         ;;
5172       * ) # otherwise, assume *nix
5173         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5174         ;;
5175     esac
5176     ;;
5177   * ) # unhandled hosts (and "normal" native builds)
5178     lt_cv_to_host_file_cmd=func_convert_file_noop
5179     ;;
5180 esac
5181
5182 fi
5183
5184 to_host_file_cmd=$lt_cv_to_host_file_cmd
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5186 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5187
5188
5189
5190
5191
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5193 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5194 if ${lt_cv_to_tool_file_cmd+:} false; then :
5195   $as_echo_n "(cached) " >&6
5196 else
5197   #assume ordinary cross tools, or native build.
5198 lt_cv_to_tool_file_cmd=func_convert_file_noop
5199 case $host in
5200   *-*-mingw* )
5201     case $build in
5202       *-*-mingw* ) # actually msys
5203         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5204         ;;
5205     esac
5206     ;;
5207 esac
5208
5209 fi
5210
5211 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5213 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5214
5215
5216
5217
5218
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5220 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5221 if ${lt_cv_ld_reload_flag+:} false; then :
5222   $as_echo_n "(cached) " >&6
5223 else
5224   lt_cv_ld_reload_flag='-r'
5225 fi
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5227 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5228 reload_flag=$lt_cv_ld_reload_flag
5229 case $reload_flag in
5230 "" | " "*) ;;
5231 *) reload_flag=" $reload_flag" ;;
5232 esac
5233 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5234 case $host_os in
5235   cygwin* | mingw* | pw32* | cegcc*)
5236     if test "$GCC" != yes; then
5237       reload_cmds=false
5238     fi
5239     ;;
5240   darwin*)
5241     if test "$GCC" = yes; then
5242       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5243     else
5244       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5245     fi
5246     ;;
5247 esac
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257 if test -n "$ac_tool_prefix"; then
5258   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5259 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_OBJDUMP+:} false; then :
5263   $as_echo_n "(cached) " >&6
5264 else
5265   if test -n "$OBJDUMP"; then
5266   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5270 do
5271   IFS=$as_save_IFS
5272   test -z "$as_dir" && as_dir=.
5273     for ac_exec_ext in '' $ac_executable_extensions; do
5274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277     break 2
5278   fi
5279 done
5280   done
5281 IFS=$as_save_IFS
5282
5283 fi
5284 fi
5285 OBJDUMP=$ac_cv_prog_OBJDUMP
5286 if test -n "$OBJDUMP"; then
5287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5288 $as_echo "$OBJDUMP" >&6; }
5289 else
5290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 fi
5293
5294
5295 fi
5296 if test -z "$ac_cv_prog_OBJDUMP"; then
5297   ac_ct_OBJDUMP=$OBJDUMP
5298   # Extract the first word of "objdump", so it can be a program name with args.
5299 set dummy objdump; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5303   $as_echo_n "(cached) " >&6
5304 else
5305   if test -n "$ac_ct_OBJDUMP"; then
5306   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5310 do
5311   IFS=$as_save_IFS
5312   test -z "$as_dir" && as_dir=.
5313     for ac_exec_ext in '' $ac_executable_extensions; do
5314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317     break 2
5318   fi
5319 done
5320   done
5321 IFS=$as_save_IFS
5322
5323 fi
5324 fi
5325 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5326 if test -n "$ac_ct_OBJDUMP"; then
5327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5328 $as_echo "$ac_ct_OBJDUMP" >&6; }
5329 else
5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5332 fi
5333
5334   if test "x$ac_ct_OBJDUMP" = x; then
5335     OBJDUMP="false"
5336   else
5337     case $cross_compiling:$ac_tool_warned in
5338 yes:)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5342 esac
5343     OBJDUMP=$ac_ct_OBJDUMP
5344   fi
5345 else
5346   OBJDUMP="$ac_cv_prog_OBJDUMP"
5347 fi
5348
5349 test -z "$OBJDUMP" && OBJDUMP=objdump
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5360 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5361 if ${lt_cv_deplibs_check_method+:} false; then :
5362   $as_echo_n "(cached) " >&6
5363 else
5364   lt_cv_file_magic_cmd='$MAGIC_CMD'
5365 lt_cv_file_magic_test_file=
5366 lt_cv_deplibs_check_method='unknown'
5367 # Need to set the preceding variable on all platforms that support
5368 # interlibrary dependencies.
5369 # 'none' -- dependencies not supported.
5370 # `unknown' -- same as none, but documents that we really don't know.
5371 # 'pass_all' -- all dependencies passed with no checks.
5372 # 'test_compile' -- check by making test program.
5373 # 'file_magic [[regex]]' -- check by looking for files in library path
5374 # which responds to the $file_magic_cmd with a given extended regex.
5375 # If you have `file' or equivalent on your system and you're not sure
5376 # whether `pass_all' will *always* work, you probably want this one.
5377
5378 case $host_os in
5379 aix[4-9]*)
5380   lt_cv_deplibs_check_method=pass_all
5381   ;;
5382
5383 beos*)
5384   lt_cv_deplibs_check_method=pass_all
5385   ;;
5386
5387 bsdi[45]*)
5388   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5389   lt_cv_file_magic_cmd='/usr/bin/file -L'
5390   lt_cv_file_magic_test_file=/shlib/libc.so
5391   ;;
5392
5393 cygwin*)
5394   # func_win32_libid is a shell function defined in ltmain.sh
5395   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5396   lt_cv_file_magic_cmd='func_win32_libid'
5397   ;;
5398
5399 mingw* | pw32*)
5400   # Base MSYS/MinGW do not provide the 'file' command needed by
5401   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5402   # unless we find 'file', for example because we are cross-compiling.
5403   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5404   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5405     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5406     lt_cv_file_magic_cmd='func_win32_libid'
5407   else
5408     # Keep this pattern in sync with the one in func_win32_libid.
5409     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5410     lt_cv_file_magic_cmd='$OBJDUMP -f'
5411   fi
5412   ;;
5413
5414 cegcc*)
5415   # use the weaker test based on 'objdump'. See mingw*.
5416   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5417   lt_cv_file_magic_cmd='$OBJDUMP -f'
5418   ;;
5419
5420 darwin* | rhapsody*)
5421   lt_cv_deplibs_check_method=pass_all
5422   ;;
5423
5424 freebsd* | dragonfly*)
5425   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5426     case $host_cpu in
5427     i*86 )
5428       # Not sure whether the presence of OpenBSD here was a mistake.
5429       # Let's accept both of them until this is cleared up.
5430       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5431       lt_cv_file_magic_cmd=/usr/bin/file
5432       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5433       ;;
5434     esac
5435   else
5436     lt_cv_deplibs_check_method=pass_all
5437   fi
5438   ;;
5439
5440 gnu*)
5441   lt_cv_deplibs_check_method=pass_all
5442   ;;
5443
5444 haiku*)
5445   lt_cv_deplibs_check_method=pass_all
5446   ;;
5447
5448 hpux10.20* | hpux11*)
5449   lt_cv_file_magic_cmd=/usr/bin/file
5450   case $host_cpu in
5451   ia64*)
5452     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5453     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5454     ;;
5455   hppa*64*)
5456     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]'
5457     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5458     ;;
5459   *)
5460     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5461     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5462     ;;
5463   esac
5464   ;;
5465
5466 interix[3-9]*)
5467   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5468   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5469   ;;
5470
5471 irix5* | irix6* | nonstopux*)
5472   case $LD in
5473   *-32|*"-32 ") libmagic=32-bit;;
5474   *-n32|*"-n32 ") libmagic=N32;;
5475   *-64|*"-64 ") libmagic=64-bit;;
5476   *) libmagic=never-match;;
5477   esac
5478   lt_cv_deplibs_check_method=pass_all
5479   ;;
5480
5481 # This must be glibc/ELF.
5482 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5483   lt_cv_deplibs_check_method=pass_all
5484   ;;
5485
5486 netbsd*)
5487   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5488     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5489   else
5490     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5491   fi
5492   ;;
5493
5494 newos6*)
5495   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5496   lt_cv_file_magic_cmd=/usr/bin/file
5497   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5498   ;;
5499
5500 *nto* | *qnx*)
5501   lt_cv_deplibs_check_method=pass_all
5502   ;;
5503
5504 openbsd*)
5505   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5506     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5507   else
5508     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5509   fi
5510   ;;
5511
5512 osf3* | osf4* | osf5*)
5513   lt_cv_deplibs_check_method=pass_all
5514   ;;
5515
5516 rdos*)
5517   lt_cv_deplibs_check_method=pass_all
5518   ;;
5519
5520 solaris*)
5521   lt_cv_deplibs_check_method=pass_all
5522   ;;
5523
5524 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5525   lt_cv_deplibs_check_method=pass_all
5526   ;;
5527
5528 sysv4 | sysv4.3*)
5529   case $host_vendor in
5530   motorola)
5531     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]'
5532     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5533     ;;
5534   ncr)
5535     lt_cv_deplibs_check_method=pass_all
5536     ;;
5537   sequent)
5538     lt_cv_file_magic_cmd='/bin/file'
5539     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5540     ;;
5541   sni)
5542     lt_cv_file_magic_cmd='/bin/file'
5543     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5544     lt_cv_file_magic_test_file=/lib/libc.so
5545     ;;
5546   siemens)
5547     lt_cv_deplibs_check_method=pass_all
5548     ;;
5549   pc)
5550     lt_cv_deplibs_check_method=pass_all
5551     ;;
5552   esac
5553   ;;
5554
5555 tpf*)
5556   lt_cv_deplibs_check_method=pass_all
5557   ;;
5558 esac
5559
5560 fi
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5562 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5563
5564 file_magic_glob=
5565 want_nocaseglob=no
5566 if test "$build" = "$host"; then
5567   case $host_os in
5568   mingw* | pw32*)
5569     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5570       want_nocaseglob=yes
5571     else
5572       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5573     fi
5574     ;;
5575   esac
5576 fi
5577
5578 file_magic_cmd=$lt_cv_file_magic_cmd
5579 deplibs_check_method=$lt_cv_deplibs_check_method
5580 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603 if test -n "$ac_tool_prefix"; then
5604   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_DLLTOOL+:} false; then :
5609   $as_echo_n "(cached) " >&6
5610 else
5611   if test -n "$DLLTOOL"; then
5612   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5616 do
5617   IFS=$as_save_IFS
5618   test -z "$as_dir" && as_dir=.
5619     for ac_exec_ext in '' $ac_executable_extensions; do
5620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623     break 2
5624   fi
5625 done
5626   done
5627 IFS=$as_save_IFS
5628
5629 fi
5630 fi
5631 DLLTOOL=$ac_cv_prog_DLLTOOL
5632 if test -n "$DLLTOOL"; then
5633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5634 $as_echo "$DLLTOOL" >&6; }
5635 else
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5638 fi
5639
5640
5641 fi
5642 if test -z "$ac_cv_prog_DLLTOOL"; then
5643   ac_ct_DLLTOOL=$DLLTOOL
5644   # Extract the first word of "dlltool", so it can be a program name with args.
5645 set dummy dlltool; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651   if test -n "$ac_ct_DLLTOOL"; then
5652   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5656 do
5657   IFS=$as_save_IFS
5658   test -z "$as_dir" && as_dir=.
5659     for ac_exec_ext in '' $ac_executable_extensions; do
5660   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663     break 2
5664   fi
5665 done
5666   done
5667 IFS=$as_save_IFS
5668
5669 fi
5670 fi
5671 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5672 if test -n "$ac_ct_DLLTOOL"; then
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5674 $as_echo "$ac_ct_DLLTOOL" >&6; }
5675 else
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5678 fi
5679
5680   if test "x$ac_ct_DLLTOOL" = x; then
5681     DLLTOOL="false"
5682   else
5683     case $cross_compiling:$ac_tool_warned in
5684 yes:)
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5687 ac_tool_warned=yes ;;
5688 esac
5689     DLLTOOL=$ac_ct_DLLTOOL
5690   fi
5691 else
5692   DLLTOOL="$ac_cv_prog_DLLTOOL"
5693 fi
5694
5695 test -z "$DLLTOOL" && DLLTOOL=dlltool
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5707 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5708 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   lt_cv_sharedlib_from_linklib_cmd='unknown'
5712
5713 case $host_os in
5714 cygwin* | mingw* | pw32* | cegcc*)
5715   # two different shell functions defined in ltmain.sh
5716   # decide which to use based on capabilities of $DLLTOOL
5717   case `$DLLTOOL --help 2>&1` in
5718   *--identify-strict*)
5719     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5720     ;;
5721   *)
5722     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5723     ;;
5724   esac
5725   ;;
5726 *)
5727   # fallback: assume linklib IS sharedlib
5728   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5729   ;;
5730 esac
5731
5732 fi
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5734 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5735 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5736 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5737
5738
5739
5740
5741
5742
5743
5744
5745 if test -n "$ac_tool_prefix"; then
5746   for ac_prog in ar
5747   do
5748     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_AR+:} false; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   if test -n "$AR"; then
5756   ac_cv_prog_AR="$AR" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5760 do
5761   IFS=$as_save_IFS
5762   test -z "$as_dir" && as_dir=.
5763     for ac_exec_ext in '' $ac_executable_extensions; do
5764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767     break 2
5768   fi
5769 done
5770   done
5771 IFS=$as_save_IFS
5772
5773 fi
5774 fi
5775 AR=$ac_cv_prog_AR
5776 if test -n "$AR"; then
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5778 $as_echo "$AR" >&6; }
5779 else
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5782 fi
5783
5784
5785     test -n "$AR" && break
5786   done
5787 fi
5788 if test -z "$AR"; then
5789   ac_ct_AR=$AR
5790   for ac_prog in ar
5791 do
5792   # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   if test -n "$ac_ct_AR"; then
5800   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5801 else
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH
5804 do
5805   IFS=$as_save_IFS
5806   test -z "$as_dir" && as_dir=.
5807     for ac_exec_ext in '' $ac_executable_extensions; do
5808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809     ac_cv_prog_ac_ct_AR="$ac_prog"
5810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811     break 2
5812   fi
5813 done
5814   done
5815 IFS=$as_save_IFS
5816
5817 fi
5818 fi
5819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5820 if test -n "$ac_ct_AR"; then
5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5822 $as_echo "$ac_ct_AR" >&6; }
5823 else
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5826 fi
5827
5828
5829   test -n "$ac_ct_AR" && break
5830 done
5831
5832   if test "x$ac_ct_AR" = x; then
5833     AR="false"
5834   else
5835     case $cross_compiling:$ac_tool_warned in
5836 yes:)
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5839 ac_tool_warned=yes ;;
5840 esac
5841     AR=$ac_ct_AR
5842   fi
5843 fi
5844
5845 : ${AR=ar}
5846 : ${AR_FLAGS=cru}
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5859 $as_echo_n "checking for archiver @FILE support... " >&6; }
5860 if ${lt_cv_ar_at_file+:} false; then :
5861   $as_echo_n "(cached) " >&6
5862 else
5863   lt_cv_ar_at_file=no
5864    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h.  */
5866
5867 int
5868 main ()
5869 {
5870
5871   ;
5872   return 0;
5873 }
5874 _ACEOF
5875 if ac_fn_c_try_compile "$LINENO"; then :
5876   echo conftest.$ac_objext > conftest.lst
5877       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5878       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5879   (eval $lt_ar_try) 2>&5
5880   ac_status=$?
5881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882   test $ac_status = 0; }
5883       if test "$ac_status" -eq 0; then
5884         # Ensure the archiver fails upon bogus file names.
5885         rm -f conftest.$ac_objext libconftest.a
5886         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5887   (eval $lt_ar_try) 2>&5
5888   ac_status=$?
5889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5890   test $ac_status = 0; }
5891         if test "$ac_status" -ne 0; then
5892           lt_cv_ar_at_file=@
5893         fi
5894       fi
5895       rm -f conftest.* libconftest.a
5896
5897 fi
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5899
5900 fi
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5902 $as_echo "$lt_cv_ar_at_file" >&6; }
5903
5904 if test "x$lt_cv_ar_at_file" = xno; then
5905   archiver_list_spec=
5906 else
5907   archiver_list_spec=$lt_cv_ar_at_file
5908 fi
5909
5910
5911
5912
5913
5914
5915
5916 if test -n "$ac_tool_prefix"; then
5917   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5918 set dummy ${ac_tool_prefix}strip; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_STRIP+:} false; then :
5922   $as_echo_n "(cached) " >&6
5923 else
5924   if test -n "$STRIP"; then
5925   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5929 do
5930   IFS=$as_save_IFS
5931   test -z "$as_dir" && as_dir=.
5932     for ac_exec_ext in '' $ac_executable_extensions; do
5933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936     break 2
5937   fi
5938 done
5939   done
5940 IFS=$as_save_IFS
5941
5942 fi
5943 fi
5944 STRIP=$ac_cv_prog_STRIP
5945 if test -n "$STRIP"; then
5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5947 $as_echo "$STRIP" >&6; }
5948 else
5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5951 fi
5952
5953
5954 fi
5955 if test -z "$ac_cv_prog_STRIP"; then
5956   ac_ct_STRIP=$STRIP
5957   # Extract the first word of "strip", so it can be a program name with args.
5958 set dummy strip; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5962   $as_echo_n "(cached) " >&6
5963 else
5964   if test -n "$ac_ct_STRIP"; then
5965   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5969 do
5970   IFS=$as_save_IFS
5971   test -z "$as_dir" && as_dir=.
5972     for ac_exec_ext in '' $ac_executable_extensions; do
5973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974     ac_cv_prog_ac_ct_STRIP="strip"
5975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976     break 2
5977   fi
5978 done
5979   done
5980 IFS=$as_save_IFS
5981
5982 fi
5983 fi
5984 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5985 if test -n "$ac_ct_STRIP"; then
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5987 $as_echo "$ac_ct_STRIP" >&6; }
5988 else
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5991 fi
5992
5993   if test "x$ac_ct_STRIP" = x; then
5994     STRIP=":"
5995   else
5996     case $cross_compiling:$ac_tool_warned in
5997 yes:)
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6000 ac_tool_warned=yes ;;
6001 esac
6002     STRIP=$ac_ct_STRIP
6003   fi
6004 else
6005   STRIP="$ac_cv_prog_STRIP"
6006 fi
6007
6008 test -z "$STRIP" && STRIP=:
6009
6010
6011
6012
6013
6014
6015 if test -n "$ac_tool_prefix"; then
6016   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if ${ac_cv_prog_RANLIB+:} false; then :
6021   $as_echo_n "(cached) " >&6
6022 else
6023   if test -n "$RANLIB"; then
6024   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6028 do
6029   IFS=$as_save_IFS
6030   test -z "$as_dir" && as_dir=.
6031     for ac_exec_ext in '' $ac_executable_extensions; do
6032   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035     break 2
6036   fi
6037 done
6038   done
6039 IFS=$as_save_IFS
6040
6041 fi
6042 fi
6043 RANLIB=$ac_cv_prog_RANLIB
6044 if test -n "$RANLIB"; then
6045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6046 $as_echo "$RANLIB" >&6; }
6047 else
6048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6050 fi
6051
6052
6053 fi
6054 if test -z "$ac_cv_prog_RANLIB"; then
6055   ac_ct_RANLIB=$RANLIB
6056   # Extract the first word of "ranlib", so it can be a program name with args.
6057 set dummy ranlib; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6061   $as_echo_n "(cached) " >&6
6062 else
6063   if test -n "$ac_ct_RANLIB"; then
6064   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6068 do
6069   IFS=$as_save_IFS
6070   test -z "$as_dir" && as_dir=.
6071     for ac_exec_ext in '' $ac_executable_extensions; do
6072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073     ac_cv_prog_ac_ct_RANLIB="ranlib"
6074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075     break 2
6076   fi
6077 done
6078   done
6079 IFS=$as_save_IFS
6080
6081 fi
6082 fi
6083 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6084 if test -n "$ac_ct_RANLIB"; then
6085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6086 $as_echo "$ac_ct_RANLIB" >&6; }
6087 else
6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6090 fi
6091
6092   if test "x$ac_ct_RANLIB" = x; then
6093     RANLIB=":"
6094   else
6095     case $cross_compiling:$ac_tool_warned in
6096 yes:)
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099 ac_tool_warned=yes ;;
6100 esac
6101     RANLIB=$ac_ct_RANLIB
6102   fi
6103 else
6104   RANLIB="$ac_cv_prog_RANLIB"
6105 fi
6106
6107 test -z "$RANLIB" && RANLIB=:
6108
6109
6110
6111
6112
6113
6114 # Determine commands to create old-style static archives.
6115 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6116 old_postinstall_cmds='chmod 644 $oldlib'
6117 old_postuninstall_cmds=
6118
6119 if test -n "$RANLIB"; then
6120   case $host_os in
6121   openbsd*)
6122     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6123     ;;
6124   *)
6125     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6126     ;;
6127   esac
6128   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6129 fi
6130
6131 case $host_os in
6132   darwin*)
6133     lock_old_archive_extraction=yes ;;
6134   *)
6135     lock_old_archive_extraction=no ;;
6136 esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176 # If no C compiler was specified, use CC.
6177 LTCC=${LTCC-"$CC"}
6178
6179 # If no C compiler flags were specified, use CFLAGS.
6180 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6181
6182 # Allow CC to be a program name with arguments.
6183 compiler=$CC
6184
6185
6186 # Check for command to grab the raw symbol name followed by C symbol from nm.
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6188 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6189 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6190   $as_echo_n "(cached) " >&6
6191 else
6192
6193 # These are sane defaults that work on at least a few old systems.
6194 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6195
6196 # Character class describing NM global symbol codes.
6197 symcode='[BCDEGRST]'
6198
6199 # Regexp to match symbols that can be accessed directly from C.
6200 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6201
6202 # Define system-specific variables.
6203 case $host_os in
6204 aix*)
6205   symcode='[BCDT]'
6206   ;;
6207 cygwin* | mingw* | pw32* | cegcc*)
6208   symcode='[ABCDGISTW]'
6209   ;;
6210 hpux*)
6211   if test "$host_cpu" = ia64; then
6212     symcode='[ABCDEGRST]'
6213   fi
6214   ;;
6215 irix* | nonstopux*)
6216   symcode='[BCDEGRST]'
6217   ;;
6218 osf*)
6219   symcode='[BCDEGQRST]'
6220   ;;
6221 solaris*)
6222   symcode='[BDRT]'
6223   ;;
6224 sco3.2v5*)
6225   symcode='[DT]'
6226   ;;
6227 sysv4.2uw2*)
6228   symcode='[DT]'
6229   ;;
6230 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6231   symcode='[ABDT]'
6232   ;;
6233 sysv4)
6234   symcode='[DFNSTU]'
6235   ;;
6236 esac
6237
6238 # If we're using GNU nm, then use its standard symbol codes.
6239 case `$NM -V 2>&1` in
6240 *GNU* | *'with BFD'*)
6241   symcode='[ABCDGIRSTW]' ;;
6242 esac
6243
6244 # Transform an extracted symbol line into a proper C declaration.
6245 # Some systems (esp. on ia64) link data and code symbols differently,
6246 # so use this general approach.
6247 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6248
6249 # Transform an extracted symbol line into symbol name and symbol address
6250 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6251 lt_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'"
6252
6253 # Handle CRLF in mingw tool chain
6254 opt_cr=
6255 case $build_os in
6256 mingw*)
6257   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6258   ;;
6259 esac
6260
6261 # Try without a prefix underscore, then with it.
6262 for ac_symprfx in "" "_"; do
6263
6264   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6265   symxfrm="\\1 $ac_symprfx\\2 \\2"
6266
6267   # Write the raw and C identifiers.
6268   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6269     # Fake it for dumpbin and say T for any non-static function
6270     # and D for any global variable.
6271     # Also find C++ and __fastcall symbols from MSVC++,
6272     # which start with @ or ?.
6273     lt_cv_sys_global_symbol_pipe="$AWK '"\
6274 "     {last_section=section; section=\$ 3};"\
6275 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6276 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6277 "     \$ 0!~/External *\|/{next};"\
6278 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6279 "     {if(hide[section]) next};"\
6280 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6281 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6282 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6283 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6284 "     ' prfx=^$ac_symprfx"
6285   else
6286     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6287   fi
6288   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6289
6290   # Check to see that the pipe works correctly.
6291   pipe_works=no
6292
6293   rm -f conftest*
6294   cat > conftest.$ac_ext <<_LT_EOF
6295 #ifdef __cplusplus
6296 extern "C" {
6297 #endif
6298 char nm_test_var;
6299 void nm_test_func(void);
6300 void nm_test_func(void){}
6301 #ifdef __cplusplus
6302 }
6303 #endif
6304 int main(){nm_test_var='a';nm_test_func();return(0);}
6305 _LT_EOF
6306
6307   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6308   (eval $ac_compile) 2>&5
6309   ac_status=$?
6310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6311   test $ac_status = 0; }; then
6312     # Now try to grab the symbols.
6313     nlist=conftest.nm
6314     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6315   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6316   ac_status=$?
6317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318   test $ac_status = 0; } && test -s "$nlist"; then
6319       # Try sorting and uniquifying the output.
6320       if sort "$nlist" | uniq > "$nlist"T; then
6321         mv -f "$nlist"T "$nlist"
6322       else
6323         rm -f "$nlist"T
6324       fi
6325
6326       # Make sure that we snagged all the symbols we need.
6327       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6328         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6329           cat <<_LT_EOF > conftest.$ac_ext
6330 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6331 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6332 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6333    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6334 # define LT_DLSYM_CONST
6335 #elif defined(__osf__)
6336 /* This system does not cope well with relocations in const data.  */
6337 # define LT_DLSYM_CONST
6338 #else
6339 # define LT_DLSYM_CONST const
6340 #endif
6341
6342 #ifdef __cplusplus
6343 extern "C" {
6344 #endif
6345
6346 _LT_EOF
6347           # Now generate the symbol file.
6348           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6349
6350           cat <<_LT_EOF >> conftest.$ac_ext
6351
6352 /* The mapping between symbol names and symbols.  */
6353 LT_DLSYM_CONST struct {
6354   const char *name;
6355   void       *address;
6356 }
6357 lt__PROGRAM__LTX_preloaded_symbols[] =
6358 {
6359   { "@PROGRAM@", (void *) 0 },
6360 _LT_EOF
6361           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6362           cat <<\_LT_EOF >> conftest.$ac_ext
6363   {0, (void *) 0}
6364 };
6365
6366 /* This works around a problem in FreeBSD linker */
6367 #ifdef FREEBSD_WORKAROUND
6368 static const void *lt_preloaded_setup() {
6369   return lt__PROGRAM__LTX_preloaded_symbols;
6370 }
6371 #endif
6372
6373 #ifdef __cplusplus
6374 }
6375 #endif
6376 _LT_EOF
6377           # Now try linking the two files.
6378           mv conftest.$ac_objext conftstm.$ac_objext
6379           lt_globsym_save_LIBS=$LIBS
6380           lt_globsym_save_CFLAGS=$CFLAGS
6381           LIBS="conftstm.$ac_objext"
6382           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6383           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6384   (eval $ac_link) 2>&5
6385   ac_status=$?
6386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6388             pipe_works=yes
6389           fi
6390           LIBS=$lt_globsym_save_LIBS
6391           CFLAGS=$lt_globsym_save_CFLAGS
6392         else
6393           echo "cannot find nm_test_func in $nlist" >&5
6394         fi
6395       else
6396         echo "cannot find nm_test_var in $nlist" >&5
6397       fi
6398     else
6399       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6400     fi
6401   else
6402     echo "$progname: failed program was:" >&5
6403     cat conftest.$ac_ext >&5
6404   fi
6405   rm -rf conftest* conftst*
6406
6407   # Do not use the global_symbol_pipe unless it works.
6408   if test "$pipe_works" = yes; then
6409     break
6410   else
6411     lt_cv_sys_global_symbol_pipe=
6412   fi
6413 done
6414
6415 fi
6416
6417 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6418   lt_cv_sys_global_symbol_to_cdecl=
6419 fi
6420 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6422 $as_echo "failed" >&6; }
6423 else
6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6425 $as_echo "ok" >&6; }
6426 fi
6427
6428 # Response file support.
6429 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6430   nm_file_list_spec='@'
6431 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6432   nm_file_list_spec='@'
6433 fi
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6462 $as_echo_n "checking for sysroot... " >&6; }
6463
6464 # Check whether --with-sysroot was given.
6465 if test "${with_sysroot+set}" = set; then :
6466   withval=$with_sysroot;
6467 else
6468   with_sysroot=no
6469 fi
6470
6471
6472 lt_sysroot=
6473 case ${with_sysroot} in #(
6474  yes)
6475    if test "$GCC" = yes; then
6476      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6477    fi
6478    ;; #(
6479  /*)
6480    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6481    ;; #(
6482  no|'')
6483    ;; #(
6484  *)
6485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6486 $as_echo "${with_sysroot}" >&6; }
6487    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6488    ;;
6489 esac
6490
6491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6492 $as_echo "${lt_sysroot:-no}" >&6; }
6493
6494
6495
6496
6497
6498 # Check whether --enable-libtool-lock was given.
6499 if test "${enable_libtool_lock+set}" = set; then :
6500   enableval=$enable_libtool_lock;
6501 fi
6502
6503 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6504
6505 # Some flags need to be propagated to the compiler or linker for good
6506 # libtool support.
6507 case $host in
6508 ia64-*-hpux*)
6509   # Find out which ABI we are using.
6510   echo 'int i;' > conftest.$ac_ext
6511   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6512   (eval $ac_compile) 2>&5
6513   ac_status=$?
6514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6515   test $ac_status = 0; }; then
6516     case `/usr/bin/file conftest.$ac_objext` in
6517       *ELF-32*)
6518         HPUX_IA64_MODE="32"
6519         ;;
6520       *ELF-64*)
6521         HPUX_IA64_MODE="64"
6522         ;;
6523     esac
6524   fi
6525   rm -rf conftest*
6526   ;;
6527 *-*-irix6*)
6528   # Find out which ABI we are using.
6529   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6530   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531   (eval $ac_compile) 2>&5
6532   ac_status=$?
6533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534   test $ac_status = 0; }; then
6535     if test "$lt_cv_prog_gnu_ld" = yes; then
6536       case `/usr/bin/file conftest.$ac_objext` in
6537         *32-bit*)
6538           LD="${LD-ld} -melf32bsmip"
6539           ;;
6540         *N32*)
6541           LD="${LD-ld} -melf32bmipn32"
6542           ;;
6543         *64-bit*)
6544           LD="${LD-ld} -melf64bmip"
6545         ;;
6546       esac
6547     else
6548       case `/usr/bin/file conftest.$ac_objext` in
6549         *32-bit*)
6550           LD="${LD-ld} -32"
6551           ;;
6552         *N32*)
6553           LD="${LD-ld} -n32"
6554           ;;
6555         *64-bit*)
6556           LD="${LD-ld} -64"
6557           ;;
6558       esac
6559     fi
6560   fi
6561   rm -rf conftest*
6562   ;;
6563
6564 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6565 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6566   # Find out which ABI we are using.
6567   echo 'int i;' > conftest.$ac_ext
6568   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6569   (eval $ac_compile) 2>&5
6570   ac_status=$?
6571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572   test $ac_status = 0; }; then
6573     case `/usr/bin/file conftest.o` in
6574       *32-bit*)
6575         case $host in
6576           x86_64-*kfreebsd*-gnu)
6577             LD="${LD-ld} -m elf_i386_fbsd"
6578             ;;
6579           x86_64-*linux*)
6580             LD="${LD-ld} -m elf_i386"
6581             ;;
6582           ppc64-*linux*|powerpc64-*linux*)
6583             LD="${LD-ld} -m elf32ppclinux"
6584             ;;
6585           s390x-*linux*)
6586             LD="${LD-ld} -m elf_s390"
6587             ;;
6588           sparc64-*linux*)
6589             LD="${LD-ld} -m elf32_sparc"
6590             ;;
6591         esac
6592         ;;
6593       *64-bit*)
6594         case $host in
6595           x86_64-*kfreebsd*-gnu)
6596             LD="${LD-ld} -m elf_x86_64_fbsd"
6597             ;;
6598           x86_64-*linux*)
6599             LD="${LD-ld} -m elf_x86_64"
6600             ;;
6601           ppc*-*linux*|powerpc*-*linux*)
6602             LD="${LD-ld} -m elf64ppc"
6603             ;;
6604           s390*-*linux*|s390*-*tpf*)
6605             LD="${LD-ld} -m elf64_s390"
6606             ;;
6607           sparc*-*linux*)
6608             LD="${LD-ld} -m elf64_sparc"
6609             ;;
6610         esac
6611         ;;
6612     esac
6613   fi
6614   rm -rf conftest*
6615   ;;
6616
6617 *-*-sco3.2v5*)
6618   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6619   SAVE_CFLAGS="$CFLAGS"
6620   CFLAGS="$CFLAGS -belf"
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6622 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6623 if ${lt_cv_cc_needs_belf+:} false; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   ac_ext=c
6627 ac_cpp='$CPP $CPPFLAGS'
6628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631
6632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h.  */
6634
6635 int
6636 main ()
6637 {
6638
6639   ;
6640   return 0;
6641 }
6642 _ACEOF
6643 if ac_fn_c_try_link "$LINENO"; then :
6644   lt_cv_cc_needs_belf=yes
6645 else
6646   lt_cv_cc_needs_belf=no
6647 fi
6648 rm -f core conftest.err conftest.$ac_objext \
6649     conftest$ac_exeext conftest.$ac_ext
6650      ac_ext=c
6651 ac_cpp='$CPP $CPPFLAGS'
6652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6655
6656 fi
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6658 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6659   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6660     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6661     CFLAGS="$SAVE_CFLAGS"
6662   fi
6663   ;;
6664 *-*solaris*)
6665   # Find out which ABI we are using.
6666   echo 'int i;' > conftest.$ac_ext
6667   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6668   (eval $ac_compile) 2>&5
6669   ac_status=$?
6670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6671   test $ac_status = 0; }; then
6672     case `/usr/bin/file conftest.o` in
6673     *64-bit*)
6674       case $lt_cv_prog_gnu_ld in
6675       yes*)
6676         case $host in
6677         i?86-*-solaris*)
6678           LD="${LD-ld} -m elf_x86_64"
6679           ;;
6680         sparc*-*-solaris*)
6681           LD="${LD-ld} -m elf64_sparc"
6682           ;;
6683         esac
6684         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6685         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6686           LD="${LD-ld}_sol2"
6687         fi
6688         ;;
6689       *)
6690         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6691           LD="${LD-ld} -64"
6692         fi
6693         ;;
6694       esac
6695       ;;
6696     esac
6697   fi
6698   rm -rf conftest*
6699   ;;
6700 esac
6701
6702 need_locks="$enable_libtool_lock"
6703
6704 if test -n "$ac_tool_prefix"; then
6705   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6706 set dummy ${ac_tool_prefix}mt; ac_word=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6710   $as_echo_n "(cached) " >&6
6711 else
6712   if test -n "$MANIFEST_TOOL"; then
6713   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6714 else
6715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 for as_dir in $PATH
6717 do
6718   IFS=$as_save_IFS
6719   test -z "$as_dir" && as_dir=.
6720     for ac_exec_ext in '' $ac_executable_extensions; do
6721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6722     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724     break 2
6725   fi
6726 done
6727   done
6728 IFS=$as_save_IFS
6729
6730 fi
6731 fi
6732 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6733 if test -n "$MANIFEST_TOOL"; then
6734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6735 $as_echo "$MANIFEST_TOOL" >&6; }
6736 else
6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6739 fi
6740
6741
6742 fi
6743 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6744   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6745   # Extract the first word of "mt", so it can be a program name with args.
6746 set dummy mt; ac_word=$2
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 $as_echo_n "checking for $ac_word... " >&6; }
6749 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6750   $as_echo_n "(cached) " >&6
6751 else
6752   if test -n "$ac_ct_MANIFEST_TOOL"; then
6753   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6754 else
6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 for as_dir in $PATH
6757 do
6758   IFS=$as_save_IFS
6759   test -z "$as_dir" && as_dir=.
6760     for ac_exec_ext in '' $ac_executable_extensions; do
6761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6762     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764     break 2
6765   fi
6766 done
6767   done
6768 IFS=$as_save_IFS
6769
6770 fi
6771 fi
6772 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6773 if test -n "$ac_ct_MANIFEST_TOOL"; then
6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6775 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6776 else
6777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778 $as_echo "no" >&6; }
6779 fi
6780
6781   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6782     MANIFEST_TOOL=":"
6783   else
6784     case $cross_compiling:$ac_tool_warned in
6785 yes:)
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788 ac_tool_warned=yes ;;
6789 esac
6790     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6791   fi
6792 else
6793   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6794 fi
6795
6796 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6798 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6799 if ${lt_cv_path_mainfest_tool+:} false; then :
6800   $as_echo_n "(cached) " >&6
6801 else
6802   lt_cv_path_mainfest_tool=no
6803   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6804   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6805   cat conftest.err >&5
6806   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6807     lt_cv_path_mainfest_tool=yes
6808   fi
6809   rm -f conftest*
6810 fi
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6812 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6813 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6814   MANIFEST_TOOL=:
6815 fi
6816
6817
6818
6819
6820
6821
6822   case $host_os in
6823     rhapsody* | darwin*)
6824     if test -n "$ac_tool_prefix"; then
6825   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6826 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832   if test -n "$DSYMUTIL"; then
6833   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6837 do
6838   IFS=$as_save_IFS
6839   test -z "$as_dir" && as_dir=.
6840     for ac_exec_ext in '' $ac_executable_extensions; do
6841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844     break 2
6845   fi
6846 done
6847   done
6848 IFS=$as_save_IFS
6849
6850 fi
6851 fi
6852 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6853 if test -n "$DSYMUTIL"; then
6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6855 $as_echo "$DSYMUTIL" >&6; }
6856 else
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6859 fi
6860
6861
6862 fi
6863 if test -z "$ac_cv_prog_DSYMUTIL"; then
6864   ac_ct_DSYMUTIL=$DSYMUTIL
6865   # Extract the first word of "dsymutil", so it can be a program name with args.
6866 set dummy dsymutil; ac_word=$2
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6868 $as_echo_n "checking for $ac_word... " >&6; }
6869 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6870   $as_echo_n "(cached) " >&6
6871 else
6872   if test -n "$ac_ct_DSYMUTIL"; then
6873   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6874 else
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 for as_dir in $PATH
6877 do
6878   IFS=$as_save_IFS
6879   test -z "$as_dir" && as_dir=.
6880     for ac_exec_ext in '' $ac_executable_extensions; do
6881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6882     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884     break 2
6885   fi
6886 done
6887   done
6888 IFS=$as_save_IFS
6889
6890 fi
6891 fi
6892 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6893 if test -n "$ac_ct_DSYMUTIL"; then
6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6895 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6896 else
6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; }
6899 fi
6900
6901   if test "x$ac_ct_DSYMUTIL" = x; then
6902     DSYMUTIL=":"
6903   else
6904     case $cross_compiling:$ac_tool_warned in
6905 yes:)
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6908 ac_tool_warned=yes ;;
6909 esac
6910     DSYMUTIL=$ac_ct_DSYMUTIL
6911   fi
6912 else
6913   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6914 fi
6915
6916     if test -n "$ac_tool_prefix"; then
6917   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6918 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920 $as_echo_n "checking for $ac_word... " >&6; }
6921 if ${ac_cv_prog_NMEDIT+:} false; then :
6922   $as_echo_n "(cached) " >&6
6923 else
6924   if test -n "$NMEDIT"; then
6925   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6926 else
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 for as_dir in $PATH
6929 do
6930   IFS=$as_save_IFS
6931   test -z "$as_dir" && as_dir=.
6932     for ac_exec_ext in '' $ac_executable_extensions; do
6933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936     break 2
6937   fi
6938 done
6939   done
6940 IFS=$as_save_IFS
6941
6942 fi
6943 fi
6944 NMEDIT=$ac_cv_prog_NMEDIT
6945 if test -n "$NMEDIT"; then
6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6947 $as_echo "$NMEDIT" >&6; }
6948 else
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950 $as_echo "no" >&6; }
6951 fi
6952
6953
6954 fi
6955 if test -z "$ac_cv_prog_NMEDIT"; then
6956   ac_ct_NMEDIT=$NMEDIT
6957   # Extract the first word of "nmedit", so it can be a program name with args.
6958 set dummy nmedit; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6962   $as_echo_n "(cached) " >&6
6963 else
6964   if test -n "$ac_ct_NMEDIT"; then
6965   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6966 else
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 for as_dir in $PATH
6969 do
6970   IFS=$as_save_IFS
6971   test -z "$as_dir" && as_dir=.
6972     for ac_exec_ext in '' $ac_executable_extensions; do
6973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976     break 2
6977   fi
6978 done
6979   done
6980 IFS=$as_save_IFS
6981
6982 fi
6983 fi
6984 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6985 if test -n "$ac_ct_NMEDIT"; then
6986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6987 $as_echo "$ac_ct_NMEDIT" >&6; }
6988 else
6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 $as_echo "no" >&6; }
6991 fi
6992
6993   if test "x$ac_ct_NMEDIT" = x; then
6994     NMEDIT=":"
6995   else
6996     case $cross_compiling:$ac_tool_warned in
6997 yes:)
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7000 ac_tool_warned=yes ;;
7001 esac
7002     NMEDIT=$ac_ct_NMEDIT
7003   fi
7004 else
7005   NMEDIT="$ac_cv_prog_NMEDIT"
7006 fi
7007
7008     if test -n "$ac_tool_prefix"; then
7009   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7010 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012 $as_echo_n "checking for $ac_word... " >&6; }
7013 if ${ac_cv_prog_LIPO+:} false; then :
7014   $as_echo_n "(cached) " >&6
7015 else
7016   if test -n "$LIPO"; then
7017   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7018 else
7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 for as_dir in $PATH
7021 do
7022   IFS=$as_save_IFS
7023   test -z "$as_dir" && as_dir=.
7024     for ac_exec_ext in '' $ac_executable_extensions; do
7025   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7026     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028     break 2
7029   fi
7030 done
7031   done
7032 IFS=$as_save_IFS
7033
7034 fi
7035 fi
7036 LIPO=$ac_cv_prog_LIPO
7037 if test -n "$LIPO"; then
7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7039 $as_echo "$LIPO" >&6; }
7040 else
7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042 $as_echo "no" >&6; }
7043 fi
7044
7045
7046 fi
7047 if test -z "$ac_cv_prog_LIPO"; then
7048   ac_ct_LIPO=$LIPO
7049   # Extract the first word of "lipo", so it can be a program name with args.
7050 set dummy lipo; ac_word=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052 $as_echo_n "checking for $ac_word... " >&6; }
7053 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7054   $as_echo_n "(cached) " >&6
7055 else
7056   if test -n "$ac_ct_LIPO"; then
7057   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7058 else
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 for as_dir in $PATH
7061 do
7062   IFS=$as_save_IFS
7063   test -z "$as_dir" && as_dir=.
7064     for ac_exec_ext in '' $ac_executable_extensions; do
7065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066     ac_cv_prog_ac_ct_LIPO="lipo"
7067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068     break 2
7069   fi
7070 done
7071   done
7072 IFS=$as_save_IFS
7073
7074 fi
7075 fi
7076 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7077 if test -n "$ac_ct_LIPO"; then
7078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7079 $as_echo "$ac_ct_LIPO" >&6; }
7080 else
7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 $as_echo "no" >&6; }
7083 fi
7084
7085   if test "x$ac_ct_LIPO" = x; then
7086     LIPO=":"
7087   else
7088     case $cross_compiling:$ac_tool_warned in
7089 yes:)
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7092 ac_tool_warned=yes ;;
7093 esac
7094     LIPO=$ac_ct_LIPO
7095   fi
7096 else
7097   LIPO="$ac_cv_prog_LIPO"
7098 fi
7099
7100     if test -n "$ac_tool_prefix"; then
7101   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}otool; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_OTOOL+:} false; then :
7106   $as_echo_n "(cached) " >&6
7107 else
7108   if test -n "$OTOOL"; then
7109   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7113 do
7114   IFS=$as_save_IFS
7115   test -z "$as_dir" && as_dir=.
7116     for ac_exec_ext in '' $ac_executable_extensions; do
7117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120     break 2
7121   fi
7122 done
7123   done
7124 IFS=$as_save_IFS
7125
7126 fi
7127 fi
7128 OTOOL=$ac_cv_prog_OTOOL
7129 if test -n "$OTOOL"; then
7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7131 $as_echo "$OTOOL" >&6; }
7132 else
7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7135 fi
7136
7137
7138 fi
7139 if test -z "$ac_cv_prog_OTOOL"; then
7140   ac_ct_OTOOL=$OTOOL
7141   # Extract the first word of "otool", so it can be a program name with args.
7142 set dummy otool; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7146   $as_echo_n "(cached) " >&6
7147 else
7148   if test -n "$ac_ct_OTOOL"; then
7149   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7153 do
7154   IFS=$as_save_IFS
7155   test -z "$as_dir" && as_dir=.
7156     for ac_exec_ext in '' $ac_executable_extensions; do
7157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158     ac_cv_prog_ac_ct_OTOOL="otool"
7159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160     break 2
7161   fi
7162 done
7163   done
7164 IFS=$as_save_IFS
7165
7166 fi
7167 fi
7168 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7169 if test -n "$ac_ct_OTOOL"; then
7170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7171 $as_echo "$ac_ct_OTOOL" >&6; }
7172 else
7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7175 fi
7176
7177   if test "x$ac_ct_OTOOL" = x; then
7178     OTOOL=":"
7179   else
7180     case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186     OTOOL=$ac_ct_OTOOL
7187   fi
7188 else
7189   OTOOL="$ac_cv_prog_OTOOL"
7190 fi
7191
7192     if test -n "$ac_tool_prefix"; then
7193   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7194 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196 $as_echo_n "checking for $ac_word... " >&6; }
7197 if ${ac_cv_prog_OTOOL64+:} false; then :
7198   $as_echo_n "(cached) " >&6
7199 else
7200   if test -n "$OTOOL64"; then
7201   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7202 else
7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 for as_dir in $PATH
7205 do
7206   IFS=$as_save_IFS
7207   test -z "$as_dir" && as_dir=.
7208     for ac_exec_ext in '' $ac_executable_extensions; do
7209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212     break 2
7213   fi
7214 done
7215   done
7216 IFS=$as_save_IFS
7217
7218 fi
7219 fi
7220 OTOOL64=$ac_cv_prog_OTOOL64
7221 if test -n "$OTOOL64"; then
7222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7223 $as_echo "$OTOOL64" >&6; }
7224 else
7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226 $as_echo "no" >&6; }
7227 fi
7228
7229
7230 fi
7231 if test -z "$ac_cv_prog_OTOOL64"; then
7232   ac_ct_OTOOL64=$OTOOL64
7233   # Extract the first word of "otool64", so it can be a program name with args.
7234 set dummy otool64; ac_word=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 $as_echo_n "checking for $ac_word... " >&6; }
7237 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7238   $as_echo_n "(cached) " >&6
7239 else
7240   if test -n "$ac_ct_OTOOL64"; then
7241   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7242 else
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244 for as_dir in $PATH
7245 do
7246   IFS=$as_save_IFS
7247   test -z "$as_dir" && as_dir=.
7248     for ac_exec_ext in '' $ac_executable_extensions; do
7249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250     ac_cv_prog_ac_ct_OTOOL64="otool64"
7251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252     break 2
7253   fi
7254 done
7255   done
7256 IFS=$as_save_IFS
7257
7258 fi
7259 fi
7260 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7261 if test -n "$ac_ct_OTOOL64"; then
7262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7263 $as_echo "$ac_ct_OTOOL64" >&6; }
7264 else
7265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7267 fi
7268
7269   if test "x$ac_ct_OTOOL64" = x; then
7270     OTOOL64=":"
7271   else
7272     case $cross_compiling:$ac_tool_warned in
7273 yes:)
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7276 ac_tool_warned=yes ;;
7277 esac
7278     OTOOL64=$ac_ct_OTOOL64
7279   fi
7280 else
7281   OTOOL64="$ac_cv_prog_OTOOL64"
7282 fi
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7311 $as_echo_n "checking for -single_module linker flag... " >&6; }
7312 if ${lt_cv_apple_cc_single_mod+:} false; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   lt_cv_apple_cc_single_mod=no
7316       if test -z "${LT_MULTI_MODULE}"; then
7317         # By default we will add the -single_module flag. You can override
7318         # by either setting the environment variable LT_MULTI_MODULE
7319         # non-empty at configure time, or by adding -multi_module to the
7320         # link flags.
7321         rm -rf libconftest.dylib*
7322         echo "int foo(void){return 1;}" > conftest.c
7323         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7324 -dynamiclib -Wl,-single_module conftest.c" >&5
7325         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7326           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7327         _lt_result=$?
7328         # If there is a non-empty error log, and "single_module"
7329         # appears in it, assume the flag caused a linker warning
7330         if test -s conftest.err && $GREP single_module conftest.err; then
7331           cat conftest.err >&5
7332         # Otherwise, if the output was created with a 0 exit code from
7333         # the compiler, it worked.
7334         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7335           lt_cv_apple_cc_single_mod=yes
7336         else
7337           cat conftest.err >&5
7338         fi
7339         rm -rf libconftest.dylib*
7340         rm -f conftest.*
7341       fi
7342 fi
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7344 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7345
7346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7347 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7348 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7349   $as_echo_n "(cached) " >&6
7350 else
7351   lt_cv_ld_exported_symbols_list=no
7352       save_LDFLAGS=$LDFLAGS
7353       echo "_main" > conftest.sym
7354       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h.  */
7357
7358 int
7359 main ()
7360 {
7361
7362   ;
7363   return 0;
7364 }
7365 _ACEOF
7366 if ac_fn_c_try_link "$LINENO"; then :
7367   lt_cv_ld_exported_symbols_list=yes
7368 else
7369   lt_cv_ld_exported_symbols_list=no
7370 fi
7371 rm -f core conftest.err conftest.$ac_objext \
7372     conftest$ac_exeext conftest.$ac_ext
7373         LDFLAGS="$save_LDFLAGS"
7374
7375 fi
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7377 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7378
7379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7380 $as_echo_n "checking for -force_load linker flag... " >&6; }
7381 if ${lt_cv_ld_force_load+:} false; then :
7382   $as_echo_n "(cached) " >&6
7383 else
7384   lt_cv_ld_force_load=no
7385       cat > conftest.c << _LT_EOF
7386 int forced_loaded() { return 2;}
7387 _LT_EOF
7388       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7389       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7390       echo "$AR cru libconftest.a conftest.o" >&5
7391       $AR cru libconftest.a conftest.o 2>&5
7392       echo "$RANLIB libconftest.a" >&5
7393       $RANLIB libconftest.a 2>&5
7394       cat > conftest.c << _LT_EOF
7395 int main() { return 0;}
7396 _LT_EOF
7397       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7398       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7399       _lt_result=$?
7400       if test -s conftest.err && $GREP force_load conftest.err; then
7401         cat conftest.err >&5
7402       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7403         lt_cv_ld_force_load=yes
7404       else
7405         cat conftest.err >&5
7406       fi
7407         rm -f conftest.err libconftest.a conftest conftest.c
7408         rm -rf conftest.dSYM
7409
7410 fi
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7412 $as_echo "$lt_cv_ld_force_load" >&6; }
7413     case $host_os in
7414     rhapsody* | darwin1.[012])
7415       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7416     darwin1.*)
7417       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7418     darwin*) # darwin 5.x on
7419       # if running on 10.5 or later, the deployment target defaults
7420       # to the OS version, if on x86, and 10.4, the deployment
7421       # target defaults to 10.4. Don't you love it?
7422       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7423         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7424           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7425         10.[012]*)
7426           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7427         10.*)
7428           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7429       esac
7430     ;;
7431   esac
7432     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7433       _lt_dar_single_mod='$single_module'
7434     fi
7435     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7436       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7437     else
7438       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7439     fi
7440     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7441       _lt_dsymutil='~$DSYMUTIL $lib || :'
7442     else
7443       _lt_dsymutil=
7444     fi
7445     ;;
7446   esac
7447
7448
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7450 $as_echo_n "checking for ANSI C header files... " >&6; }
7451 if ${ac_cv_header_stdc+:} false; then :
7452   $as_echo_n "(cached) " >&6
7453 else
7454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7455 /* end confdefs.h.  */
7456 #include <stdlib.h>
7457 #include <stdarg.h>
7458 #include <string.h>
7459 #include <float.h>
7460
7461 int
7462 main ()
7463 {
7464
7465   ;
7466   return 0;
7467 }
7468 _ACEOF
7469 if ac_fn_c_try_compile "$LINENO"; then :
7470   ac_cv_header_stdc=yes
7471 else
7472   ac_cv_header_stdc=no
7473 fi
7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7475
7476 if test $ac_cv_header_stdc = yes; then
7477   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h.  */
7480 #include <string.h>
7481
7482 _ACEOF
7483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7484   $EGREP "memchr" >/dev/null 2>&1; then :
7485
7486 else
7487   ac_cv_header_stdc=no
7488 fi
7489 rm -f conftest*
7490
7491 fi
7492
7493 if test $ac_cv_header_stdc = yes; then
7494   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 /* end confdefs.h.  */
7497 #include <stdlib.h>
7498
7499 _ACEOF
7500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7501   $EGREP "free" >/dev/null 2>&1; then :
7502
7503 else
7504   ac_cv_header_stdc=no
7505 fi
7506 rm -f conftest*
7507
7508 fi
7509
7510 if test $ac_cv_header_stdc = yes; then
7511   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7512   if test "$cross_compiling" = yes; then :
7513   :
7514 else
7515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516 /* end confdefs.h.  */
7517 #include <ctype.h>
7518 #include <stdlib.h>
7519 #if ((' ' & 0x0FF) == 0x020)
7520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7522 #else
7523 # define ISLOWER(c) \
7524                    (('a' <= (c) && (c) <= 'i') \
7525                      || ('j' <= (c) && (c) <= 'r') \
7526                      || ('s' <= (c) && (c) <= 'z'))
7527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7528 #endif
7529
7530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7531 int
7532 main ()
7533 {
7534   int i;
7535   for (i = 0; i < 256; i++)
7536     if (XOR (islower (i), ISLOWER (i))
7537         || toupper (i) != TOUPPER (i))
7538       return 2;
7539   return 0;
7540 }
7541 _ACEOF
7542 if ac_fn_c_try_run "$LINENO"; then :
7543
7544 else
7545   ac_cv_header_stdc=no
7546 fi
7547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7548   conftest.$ac_objext conftest.beam conftest.$ac_ext
7549 fi
7550
7551 fi
7552 fi
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7554 $as_echo "$ac_cv_header_stdc" >&6; }
7555 if test $ac_cv_header_stdc = yes; then
7556
7557 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7558
7559 fi
7560
7561 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7562 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7563                   inttypes.h stdint.h unistd.h
7564 do :
7565   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7566 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7567 "
7568 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7569   cat >>confdefs.h <<_ACEOF
7570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7571 _ACEOF
7572
7573 fi
7574
7575 done
7576
7577
7578 for ac_header in dlfcn.h
7579 do :
7580   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7581 "
7582 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7583   cat >>confdefs.h <<_ACEOF
7584 #define HAVE_DLFCN_H 1
7585 _ACEOF
7586
7587 fi
7588
7589 done
7590
7591
7592
7593
7594
7595 # Set options
7596
7597
7598
7599
7600   enable_win32_dll=no
7601
7602
7603             # Check whether --enable-shared was given.
7604 if test "${enable_shared+set}" = set; then :
7605   enableval=$enable_shared; p=${PACKAGE-default}
7606     case $enableval in
7607     yes) enable_shared=yes ;;
7608     no) enable_shared=no ;;
7609     *)
7610       enable_shared=no
7611       # Look at the argument we got.  We use all the common list separators.
7612       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7613       for pkg in $enableval; do
7614         IFS="$lt_save_ifs"
7615         if test "X$pkg" = "X$p"; then
7616           enable_shared=yes
7617         fi
7618       done
7619       IFS="$lt_save_ifs"
7620       ;;
7621     esac
7622 else
7623   enable_shared=yes
7624 fi
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636 # Check whether --with-pic was given.
7637 if test "${with_pic+set}" = set; then :
7638   withval=$with_pic; lt_p=${PACKAGE-default}
7639     case $withval in
7640     yes|no) pic_mode=$withval ;;
7641     *)
7642       pic_mode=default
7643       # Look at the argument we got.  We use all the common list separators.
7644       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7645       for lt_pkg in $withval; do
7646         IFS="$lt_save_ifs"
7647         if test "X$lt_pkg" = "X$lt_p"; then
7648           pic_mode=yes
7649         fi
7650       done
7651       IFS="$lt_save_ifs"
7652       ;;
7653     esac
7654 else
7655   pic_mode=default
7656 fi
7657
7658
7659 test -z "$pic_mode" && pic_mode=default
7660
7661
7662
7663
7664
7665
7666
7667   # Check whether --enable-fast-install was given.
7668 if test "${enable_fast_install+set}" = set; then :
7669   enableval=$enable_fast_install; p=${PACKAGE-default}
7670     case $enableval in
7671     yes) enable_fast_install=yes ;;
7672     no) enable_fast_install=no ;;
7673     *)
7674       enable_fast_install=no
7675       # Look at the argument we got.  We use all the common list separators.
7676       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7677       for pkg in $enableval; do
7678         IFS="$lt_save_ifs"
7679         if test "X$pkg" = "X$p"; then
7680           enable_fast_install=yes
7681         fi
7682       done
7683       IFS="$lt_save_ifs"
7684       ;;
7685     esac
7686 else
7687   enable_fast_install=yes
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700 # This can be used to rebuild libtool when needed
7701 LIBTOOL_DEPS="$ltmain"
7702
7703 # Always use our own libtool.
7704 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735 test -z "$LN_S" && LN_S="ln -s"
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750 if test -n "${ZSH_VERSION+set}" ; then
7751    setopt NO_GLOB_SUBST
7752 fi
7753
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7755 $as_echo_n "checking for objdir... " >&6; }
7756 if ${lt_cv_objdir+:} false; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759   rm -f .libs 2>/dev/null
7760 mkdir .libs 2>/dev/null
7761 if test -d .libs; then
7762   lt_cv_objdir=.libs
7763 else
7764   # MS-DOS does not allow filenames that begin with a dot.
7765   lt_cv_objdir=_libs
7766 fi
7767 rmdir .libs 2>/dev/null
7768 fi
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7770 $as_echo "$lt_cv_objdir" >&6; }
7771 objdir=$lt_cv_objdir
7772
7773
7774
7775
7776
7777 cat >>confdefs.h <<_ACEOF
7778 #define LT_OBJDIR "$lt_cv_objdir/"
7779 _ACEOF
7780
7781
7782
7783
7784 case $host_os in
7785 aix3*)
7786   # AIX sometimes has problems with the GCC collect2 program.  For some
7787   # reason, if we set the COLLECT_NAMES environment variable, the problems
7788   # vanish in a puff of smoke.
7789   if test "X${COLLECT_NAMES+set}" != Xset; then
7790     COLLECT_NAMES=
7791     export COLLECT_NAMES
7792   fi
7793   ;;
7794 esac
7795
7796 # Global variables:
7797 ofile=libtool
7798 can_build_shared=yes
7799
7800 # All known linkers require a `.a' archive for static linking (except MSVC,
7801 # which needs '.lib').
7802 libext=a
7803
7804 with_gnu_ld="$lt_cv_prog_gnu_ld"
7805
7806 old_CC="$CC"
7807 old_CFLAGS="$CFLAGS"
7808
7809 # Set sane defaults for various variables
7810 test -z "$CC" && CC=cc
7811 test -z "$LTCC" && LTCC=$CC
7812 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7813 test -z "$LD" && LD=ld
7814 test -z "$ac_objext" && ac_objext=o
7815
7816 for cc_temp in $compiler""; do
7817   case $cc_temp in
7818     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7819     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7820     \-*) ;;
7821     *) break;;
7822   esac
7823 done
7824 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7825
7826
7827 # Only perform the check for file, if the check method requires it
7828 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7829 case $deplibs_check_method in
7830 file_magic*)
7831   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7832     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7833 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7834 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7835   $as_echo_n "(cached) " >&6
7836 else
7837   case $MAGIC_CMD in
7838 [\\/*] |  ?:[\\/]*)
7839   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7840   ;;
7841 *)
7842   lt_save_MAGIC_CMD="$MAGIC_CMD"
7843   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7844   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7845   for ac_dir in $ac_dummy; do
7846     IFS="$lt_save_ifs"
7847     test -z "$ac_dir" && ac_dir=.
7848     if test -f $ac_dir/${ac_tool_prefix}file; then
7849       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7850       if test -n "$file_magic_test_file"; then
7851         case $deplibs_check_method in
7852         "file_magic "*)
7853           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7854           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7855           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7856             $EGREP "$file_magic_regex" > /dev/null; then
7857             :
7858           else
7859             cat <<_LT_EOF 1>&2
7860
7861 *** Warning: the command libtool uses to detect shared libraries,
7862 *** $file_magic_cmd, produces output that libtool cannot recognize.
7863 *** The result is that libtool may fail to recognize shared libraries
7864 *** as such.  This will affect the creation of libtool libraries that
7865 *** depend on shared libraries, but programs linked with such libtool
7866 *** libraries will work regardless of this problem.  Nevertheless, you
7867 *** may want to report the problem to your system manager and/or to
7868 *** bug-libtool@gnu.org
7869
7870 _LT_EOF
7871           fi ;;
7872         esac
7873       fi
7874       break
7875     fi
7876   done
7877   IFS="$lt_save_ifs"
7878   MAGIC_CMD="$lt_save_MAGIC_CMD"
7879   ;;
7880 esac
7881 fi
7882
7883 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7884 if test -n "$MAGIC_CMD"; then
7885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7886 $as_echo "$MAGIC_CMD" >&6; }
7887 else
7888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7890 fi
7891
7892
7893
7894
7895
7896 if test -z "$lt_cv_path_MAGIC_CMD"; then
7897   if test -n "$ac_tool_prefix"; then
7898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7899 $as_echo_n "checking for file... " >&6; }
7900 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7901   $as_echo_n "(cached) " >&6
7902 else
7903   case $MAGIC_CMD in
7904 [\\/*] |  ?:[\\/]*)
7905   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7906   ;;
7907 *)
7908   lt_save_MAGIC_CMD="$MAGIC_CMD"
7909   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7910   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7911   for ac_dir in $ac_dummy; do
7912     IFS="$lt_save_ifs"
7913     test -z "$ac_dir" && ac_dir=.
7914     if test -f $ac_dir/file; then
7915       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7916       if test -n "$file_magic_test_file"; then
7917         case $deplibs_check_method in
7918         "file_magic "*)
7919           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7920           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7921           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7922             $EGREP "$file_magic_regex" > /dev/null; then
7923             :
7924           else
7925             cat <<_LT_EOF 1>&2
7926
7927 *** Warning: the command libtool uses to detect shared libraries,
7928 *** $file_magic_cmd, produces output that libtool cannot recognize.
7929 *** The result is that libtool may fail to recognize shared libraries
7930 *** as such.  This will affect the creation of libtool libraries that
7931 *** depend on shared libraries, but programs linked with such libtool
7932 *** libraries will work regardless of this problem.  Nevertheless, you
7933 *** may want to report the problem to your system manager and/or to
7934 *** bug-libtool@gnu.org
7935
7936 _LT_EOF
7937           fi ;;
7938         esac
7939       fi
7940       break
7941     fi
7942   done
7943   IFS="$lt_save_ifs"
7944   MAGIC_CMD="$lt_save_MAGIC_CMD"
7945   ;;
7946 esac
7947 fi
7948
7949 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7950 if test -n "$MAGIC_CMD"; then
7951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7952 $as_echo "$MAGIC_CMD" >&6; }
7953 else
7954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955 $as_echo "no" >&6; }
7956 fi
7957
7958
7959   else
7960     MAGIC_CMD=:
7961   fi
7962 fi
7963
7964   fi
7965   ;;
7966 esac
7967
7968 # Use C for the default configuration in the libtool script
7969
7970 lt_save_CC="$CC"
7971 ac_ext=c
7972 ac_cpp='$CPP $CPPFLAGS'
7973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7976
7977
7978 # Source file extension for C test sources.
7979 ac_ext=c
7980
7981 # Object file extension for compiled C test sources.
7982 objext=o
7983 objext=$objext
7984
7985 # Code to be used in simple compile tests
7986 lt_simple_compile_test_code="int some_variable = 0;"
7987
7988 # Code to be used in simple link tests
7989 lt_simple_link_test_code='int main(){return(0);}'
7990
7991
7992
7993
7994
7995
7996
7997 # If no C compiler was specified, use CC.
7998 LTCC=${LTCC-"$CC"}
7999
8000 # If no C compiler flags were specified, use CFLAGS.
8001 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8002
8003 # Allow CC to be a program name with arguments.
8004 compiler=$CC
8005
8006 # Save the default compiler, since it gets overwritten when the other
8007 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8008 compiler_DEFAULT=$CC
8009
8010 # save warnings/boilerplate of simple test code
8011 ac_outfile=conftest.$ac_objext
8012 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8013 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8014 _lt_compiler_boilerplate=`cat conftest.err`
8015 $RM conftest*
8016
8017 ac_outfile=conftest.$ac_objext
8018 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8019 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8020 _lt_linker_boilerplate=`cat conftest.err`
8021 $RM -r conftest*
8022
8023
8024 if test -n "$compiler"; then
8025
8026 lt_prog_compiler_no_builtin_flag=
8027
8028 if test "$GCC" = yes; then
8029   case $cc_basename in
8030   nvcc*)
8031     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8032   *)
8033     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8034   esac
8035
8036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8037 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8038 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8039   $as_echo_n "(cached) " >&6
8040 else
8041   lt_cv_prog_compiler_rtti_exceptions=no
8042    ac_outfile=conftest.$ac_objext
8043    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8044    lt_compiler_flag="-fno-rtti -fno-exceptions"
8045    # Insert the option either (1) after the last *FLAGS variable, or
8046    # (2) before a word containing "conftest.", or (3) at the end.
8047    # Note that $ac_compile itself does not contain backslashes and begins
8048    # with a dollar sign (not a hyphen), so the echo should work correctly.
8049    # The option is referenced via a variable to avoid confusing sed.
8050    lt_compile=`echo "$ac_compile" | $SED \
8051    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8052    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8053    -e 's:$: $lt_compiler_flag:'`
8054    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8055    (eval "$lt_compile" 2>conftest.err)
8056    ac_status=$?
8057    cat conftest.err >&5
8058    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059    if (exit $ac_status) && test -s "$ac_outfile"; then
8060      # The compiler can only warn and ignore the option if not recognized
8061      # So say no if there are warnings other than the usual output.
8062      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8063      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8064      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8065        lt_cv_prog_compiler_rtti_exceptions=yes
8066      fi
8067    fi
8068    $RM conftest*
8069
8070 fi
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8072 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8073
8074 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8075     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8076 else
8077     :
8078 fi
8079
8080 fi
8081
8082
8083
8084
8085
8086
8087   lt_prog_compiler_wl=
8088 lt_prog_compiler_pic=
8089 lt_prog_compiler_static=
8090
8091
8092   if test "$GCC" = yes; then
8093     lt_prog_compiler_wl='-Wl,'
8094     lt_prog_compiler_static='-static'
8095
8096     case $host_os in
8097       aix*)
8098       # All AIX code is PIC.
8099       if test "$host_cpu" = ia64; then
8100         # AIX 5 now supports IA64 processor
8101         lt_prog_compiler_static='-Bstatic'
8102       fi
8103       ;;
8104
8105     amigaos*)
8106       case $host_cpu in
8107       powerpc)
8108             # see comment about AmigaOS4 .so support
8109             lt_prog_compiler_pic='-fPIC'
8110         ;;
8111       m68k)
8112             # FIXME: we need at least 68020 code to build shared libraries, but
8113             # adding the `-m68020' flag to GCC prevents building anything better,
8114             # like `-m68040'.
8115             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8116         ;;
8117       esac
8118       ;;
8119
8120     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8121       # PIC is the default for these OSes.
8122       ;;
8123
8124     mingw* | cygwin* | pw32* | os2* | cegcc*)
8125       # This hack is so that the source file can tell whether it is being
8126       # built for inclusion in a dll (and should export symbols for example).
8127       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8128       # (--disable-auto-import) libraries
8129       lt_prog_compiler_pic='-DDLL_EXPORT'
8130       ;;
8131
8132     darwin* | rhapsody*)
8133       # PIC is the default on this platform
8134       # Common symbols not allowed in MH_DYLIB files
8135       lt_prog_compiler_pic='-fno-common'
8136       ;;
8137
8138     haiku*)
8139       # PIC is the default for Haiku.
8140       # The "-static" flag exists, but is broken.
8141       lt_prog_compiler_static=
8142       ;;
8143
8144     hpux*)
8145       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8146       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8147       # sets the default TLS model and affects inlining.
8148       case $host_cpu in
8149       hppa*64*)
8150         # +Z the default
8151         ;;
8152       *)
8153         lt_prog_compiler_pic='-fPIC'
8154         ;;
8155       esac
8156       ;;
8157
8158     interix[3-9]*)
8159       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8160       # Instead, we relocate shared libraries at runtime.
8161       ;;
8162
8163     msdosdjgpp*)
8164       # Just because we use GCC doesn't mean we suddenly get shared libraries
8165       # on systems that don't support them.
8166       lt_prog_compiler_can_build_shared=no
8167       enable_shared=no
8168       ;;
8169
8170     *nto* | *qnx*)
8171       # QNX uses GNU C++, but need to define -shared option too, otherwise
8172       # it will coredump.
8173       lt_prog_compiler_pic='-fPIC -shared'
8174       ;;
8175
8176     sysv4*MP*)
8177       if test -d /usr/nec; then
8178         lt_prog_compiler_pic=-Kconform_pic
8179       fi
8180       ;;
8181
8182     *)
8183       lt_prog_compiler_pic='-fPIC'
8184       ;;
8185     esac
8186
8187     case $cc_basename in
8188     nvcc*) # Cuda Compiler Driver 2.2
8189       lt_prog_compiler_wl='-Xlinker '
8190       if test -n "$lt_prog_compiler_pic"; then
8191         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8192       fi
8193       ;;
8194     esac
8195   else
8196     # PORTME Check for flag to pass linker flags through the system compiler.
8197     case $host_os in
8198     aix*)
8199       lt_prog_compiler_wl='-Wl,'
8200       if test "$host_cpu" = ia64; then
8201         # AIX 5 now supports IA64 processor
8202         lt_prog_compiler_static='-Bstatic'
8203       else
8204         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8205       fi
8206       ;;
8207
8208     mingw* | cygwin* | pw32* | os2* | cegcc*)
8209       # This hack is so that the source file can tell whether it is being
8210       # built for inclusion in a dll (and should export symbols for example).
8211       lt_prog_compiler_pic='-DDLL_EXPORT'
8212       ;;
8213
8214     hpux9* | hpux10* | hpux11*)
8215       lt_prog_compiler_wl='-Wl,'
8216       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8217       # not for PA HP-UX.
8218       case $host_cpu in
8219       hppa*64*|ia64*)
8220         # +Z the default
8221         ;;
8222       *)
8223         lt_prog_compiler_pic='+Z'
8224         ;;
8225       esac
8226       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8227       lt_prog_compiler_static='${wl}-a ${wl}archive'
8228       ;;
8229
8230     irix5* | irix6* | nonstopux*)
8231       lt_prog_compiler_wl='-Wl,'
8232       # PIC (with -KPIC) is the default.
8233       lt_prog_compiler_static='-non_shared'
8234       ;;
8235
8236     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8237       case $cc_basename in
8238       # old Intel for x86_64 which still supported -KPIC.
8239       ecc*)
8240         lt_prog_compiler_wl='-Wl,'
8241         lt_prog_compiler_pic='-KPIC'
8242         lt_prog_compiler_static='-static'
8243         ;;
8244       # icc used to be incompatible with GCC.
8245       # ICC 10 doesn't accept -KPIC any more.
8246       icc* | ifort*)
8247         lt_prog_compiler_wl='-Wl,'
8248         lt_prog_compiler_pic='-fPIC'
8249         lt_prog_compiler_static='-static'
8250         ;;
8251       # Lahey Fortran 8.1.
8252       lf95*)
8253         lt_prog_compiler_wl='-Wl,'
8254         lt_prog_compiler_pic='--shared'
8255         lt_prog_compiler_static='--static'
8256         ;;
8257       nagfor*)
8258         # NAG Fortran compiler
8259         lt_prog_compiler_wl='-Wl,-Wl,,'
8260         lt_prog_compiler_pic='-PIC'
8261         lt_prog_compiler_static='-Bstatic'
8262         ;;
8263       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8264         # Portland Group compilers (*not* the Pentium gcc compiler,
8265         # which looks to be a dead project)
8266         lt_prog_compiler_wl='-Wl,'
8267         lt_prog_compiler_pic='-fpic'
8268         lt_prog_compiler_static='-Bstatic'
8269         ;;
8270       ccc*)
8271         lt_prog_compiler_wl='-Wl,'
8272         # All Alpha code is PIC.
8273         lt_prog_compiler_static='-non_shared'
8274         ;;
8275       xl* | bgxl* | bgf* | mpixl*)
8276         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8277         lt_prog_compiler_wl='-Wl,'
8278         lt_prog_compiler_pic='-qpic'
8279         lt_prog_compiler_static='-qstaticlink'
8280         ;;
8281       *)
8282         case `$CC -V 2>&1 | sed 5q` in
8283         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8284           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8285           lt_prog_compiler_pic='-KPIC'
8286           lt_prog_compiler_static='-Bstatic'
8287           lt_prog_compiler_wl=''
8288           ;;
8289         *Sun\ F* | *Sun*Fortran*)
8290           lt_prog_compiler_pic='-KPIC'
8291           lt_prog_compiler_static='-Bstatic'
8292           lt_prog_compiler_wl='-Qoption ld '
8293           ;;
8294         *Sun\ C*)
8295           # Sun C 5.9
8296           lt_prog_compiler_pic='-KPIC'
8297           lt_prog_compiler_static='-Bstatic'
8298           lt_prog_compiler_wl='-Wl,'
8299           ;;
8300         *Intel*\ [CF]*Compiler*)
8301           lt_prog_compiler_wl='-Wl,'
8302           lt_prog_compiler_pic='-fPIC'
8303           lt_prog_compiler_static='-static'
8304           ;;
8305         *Portland\ Group*)
8306           lt_prog_compiler_wl='-Wl,'
8307           lt_prog_compiler_pic='-fpic'
8308           lt_prog_compiler_static='-Bstatic'
8309           ;;
8310         esac
8311         ;;
8312       esac
8313       ;;
8314
8315     newsos6)
8316       lt_prog_compiler_pic='-KPIC'
8317       lt_prog_compiler_static='-Bstatic'
8318       ;;
8319
8320     *nto* | *qnx*)
8321       # QNX uses GNU C++, but need to define -shared option too, otherwise
8322       # it will coredump.
8323       lt_prog_compiler_pic='-fPIC -shared'
8324       ;;
8325
8326     osf3* | osf4* | osf5*)
8327       lt_prog_compiler_wl='-Wl,'
8328       # All OSF/1 code is PIC.
8329       lt_prog_compiler_static='-non_shared'
8330       ;;
8331
8332     rdos*)
8333       lt_prog_compiler_static='-non_shared'
8334       ;;
8335
8336     solaris*)
8337       lt_prog_compiler_pic='-KPIC'
8338       lt_prog_compiler_static='-Bstatic'
8339       case $cc_basename in
8340       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8341         lt_prog_compiler_wl='-Qoption ld ';;
8342       *)
8343         lt_prog_compiler_wl='-Wl,';;
8344       esac
8345       ;;
8346
8347     sunos4*)
8348       lt_prog_compiler_wl='-Qoption ld '
8349       lt_prog_compiler_pic='-PIC'
8350       lt_prog_compiler_static='-Bstatic'
8351       ;;
8352
8353     sysv4 | sysv4.2uw2* | sysv4.3*)
8354       lt_prog_compiler_wl='-Wl,'
8355       lt_prog_compiler_pic='-KPIC'
8356       lt_prog_compiler_static='-Bstatic'
8357       ;;
8358
8359     sysv4*MP*)
8360       if test -d /usr/nec ;then
8361         lt_prog_compiler_pic='-Kconform_pic'
8362         lt_prog_compiler_static='-Bstatic'
8363       fi
8364       ;;
8365
8366     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8367       lt_prog_compiler_wl='-Wl,'
8368       lt_prog_compiler_pic='-KPIC'
8369       lt_prog_compiler_static='-Bstatic'
8370       ;;
8371
8372     unicos*)
8373       lt_prog_compiler_wl='-Wl,'
8374       lt_prog_compiler_can_build_shared=no
8375       ;;
8376
8377     uts4*)
8378       lt_prog_compiler_pic='-pic'
8379       lt_prog_compiler_static='-Bstatic'
8380       ;;
8381
8382     *)
8383       lt_prog_compiler_can_build_shared=no
8384       ;;
8385     esac
8386   fi
8387
8388 case $host_os in
8389   # For platforms which do not support PIC, -DPIC is meaningless:
8390   *djgpp*)
8391     lt_prog_compiler_pic=
8392     ;;
8393   *)
8394     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8395     ;;
8396 esac
8397
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8399 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8400 if ${lt_cv_prog_compiler_pic+:} false; then :
8401   $as_echo_n "(cached) " >&6
8402 else
8403   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8404 fi
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8406 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8407 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8408
8409 #
8410 # Check to make sure the PIC flag actually works.
8411 #
8412 if test -n "$lt_prog_compiler_pic"; then
8413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8414 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8415 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8416   $as_echo_n "(cached) " >&6
8417 else
8418   lt_cv_prog_compiler_pic_works=no
8419    ac_outfile=conftest.$ac_objext
8420    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8421    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8422    # Insert the option either (1) after the last *FLAGS variable, or
8423    # (2) before a word containing "conftest.", or (3) at the end.
8424    # Note that $ac_compile itself does not contain backslashes and begins
8425    # with a dollar sign (not a hyphen), so the echo should work correctly.
8426    # The option is referenced via a variable to avoid confusing sed.
8427    lt_compile=`echo "$ac_compile" | $SED \
8428    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8429    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8430    -e 's:$: $lt_compiler_flag:'`
8431    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8432    (eval "$lt_compile" 2>conftest.err)
8433    ac_status=$?
8434    cat conftest.err >&5
8435    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436    if (exit $ac_status) && test -s "$ac_outfile"; then
8437      # The compiler can only warn and ignore the option if not recognized
8438      # So say no if there are warnings other than the usual output.
8439      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8440      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8441      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8442        lt_cv_prog_compiler_pic_works=yes
8443      fi
8444    fi
8445    $RM conftest*
8446
8447 fi
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8449 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8450
8451 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8452     case $lt_prog_compiler_pic in
8453      "" | " "*) ;;
8454      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8455      esac
8456 else
8457     lt_prog_compiler_pic=
8458      lt_prog_compiler_can_build_shared=no
8459 fi
8460
8461 fi
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473 #
8474 # Check to make sure the static flag actually works.
8475 #
8476 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8478 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8479 if ${lt_cv_prog_compiler_static_works+:} false; then :
8480   $as_echo_n "(cached) " >&6
8481 else
8482   lt_cv_prog_compiler_static_works=no
8483    save_LDFLAGS="$LDFLAGS"
8484    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8485    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8486    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8487      # The linker can only warn and ignore the option if not recognized
8488      # So say no if there are warnings
8489      if test -s conftest.err; then
8490        # Append any errors to the config.log.
8491        cat conftest.err 1>&5
8492        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8493        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8494        if diff conftest.exp conftest.er2 >/dev/null; then
8495          lt_cv_prog_compiler_static_works=yes
8496        fi
8497      else
8498        lt_cv_prog_compiler_static_works=yes
8499      fi
8500    fi
8501    $RM -r conftest*
8502    LDFLAGS="$save_LDFLAGS"
8503
8504 fi
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8506 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8507
8508 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8509     :
8510 else
8511     lt_prog_compiler_static=
8512 fi
8513
8514
8515
8516
8517
8518
8519
8520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8521 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8522 if ${lt_cv_prog_compiler_c_o+:} false; then :
8523   $as_echo_n "(cached) " >&6
8524 else
8525   lt_cv_prog_compiler_c_o=no
8526    $RM -r conftest 2>/dev/null
8527    mkdir conftest
8528    cd conftest
8529    mkdir out
8530    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8531
8532    lt_compiler_flag="-o out/conftest2.$ac_objext"
8533    # Insert the option either (1) after the last *FLAGS variable, or
8534    # (2) before a word containing "conftest.", or (3) at the end.
8535    # Note that $ac_compile itself does not contain backslashes and begins
8536    # with a dollar sign (not a hyphen), so the echo should work correctly.
8537    lt_compile=`echo "$ac_compile" | $SED \
8538    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8539    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8540    -e 's:$: $lt_compiler_flag:'`
8541    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8542    (eval "$lt_compile" 2>out/conftest.err)
8543    ac_status=$?
8544    cat out/conftest.err >&5
8545    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8547    then
8548      # The compiler can only warn and ignore the option if not recognized
8549      # So say no if there are warnings
8550      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8551      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8552      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8553        lt_cv_prog_compiler_c_o=yes
8554      fi
8555    fi
8556    chmod u+w . 2>&5
8557    $RM conftest*
8558    # SGI C++ compiler will create directory out/ii_files/ for
8559    # template instantiation
8560    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8561    $RM out/* && rmdir out
8562    cd ..
8563    $RM -r conftest
8564    $RM conftest*
8565
8566 fi
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8568 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8569
8570
8571
8572
8573
8574
8575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8577 if ${lt_cv_prog_compiler_c_o+:} false; then :
8578   $as_echo_n "(cached) " >&6
8579 else
8580   lt_cv_prog_compiler_c_o=no
8581    $RM -r conftest 2>/dev/null
8582    mkdir conftest
8583    cd conftest
8584    mkdir out
8585    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8586
8587    lt_compiler_flag="-o out/conftest2.$ac_objext"
8588    # Insert the option either (1) after the last *FLAGS variable, or
8589    # (2) before a word containing "conftest.", or (3) at the end.
8590    # Note that $ac_compile itself does not contain backslashes and begins
8591    # with a dollar sign (not a hyphen), so the echo should work correctly.
8592    lt_compile=`echo "$ac_compile" | $SED \
8593    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8594    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8595    -e 's:$: $lt_compiler_flag:'`
8596    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8597    (eval "$lt_compile" 2>out/conftest.err)
8598    ac_status=$?
8599    cat out/conftest.err >&5
8600    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8602    then
8603      # The compiler can only warn and ignore the option if not recognized
8604      # So say no if there are warnings
8605      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8606      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8607      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8608        lt_cv_prog_compiler_c_o=yes
8609      fi
8610    fi
8611    chmod u+w . 2>&5
8612    $RM conftest*
8613    # SGI C++ compiler will create directory out/ii_files/ for
8614    # template instantiation
8615    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8616    $RM out/* && rmdir out
8617    cd ..
8618    $RM -r conftest
8619    $RM conftest*
8620
8621 fi
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8624
8625
8626
8627
8628 hard_links="nottested"
8629 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8630   # do not overwrite the value of need_locks provided by the user
8631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8632 $as_echo_n "checking if we can lock with hard links... " >&6; }
8633   hard_links=yes
8634   $RM conftest*
8635   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8636   touch conftest.a
8637   ln conftest.a conftest.b 2>&5 || hard_links=no
8638   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8640 $as_echo "$hard_links" >&6; }
8641   if test "$hard_links" = no; then
8642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8643 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8644     need_locks=warn
8645   fi
8646 else
8647   need_locks=no
8648 fi
8649
8650
8651
8652
8653
8654
8655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8656 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8657
8658   runpath_var=
8659   allow_undefined_flag=
8660   always_export_symbols=no
8661   archive_cmds=
8662   archive_expsym_cmds=
8663   compiler_needs_object=no
8664   enable_shared_with_static_runtimes=no
8665   export_dynamic_flag_spec=
8666   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8667   hardcode_automatic=no
8668   hardcode_direct=no
8669   hardcode_direct_absolute=no
8670   hardcode_libdir_flag_spec=
8671   hardcode_libdir_separator=
8672   hardcode_minus_L=no
8673   hardcode_shlibpath_var=unsupported
8674   inherit_rpath=no
8675   link_all_deplibs=unknown
8676   module_cmds=
8677   module_expsym_cmds=
8678   old_archive_from_new_cmds=
8679   old_archive_from_expsyms_cmds=
8680   thread_safe_flag_spec=
8681   whole_archive_flag_spec=
8682   # include_expsyms should be a list of space-separated symbols to be *always*
8683   # included in the symbol list
8684   include_expsyms=
8685   # exclude_expsyms can be an extended regexp of symbols to exclude
8686   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8687   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8688   # as well as any symbol that contains `d'.
8689   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8690   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8691   # platforms (ab)use it in PIC code, but their linkers get confused if
8692   # the symbol is explicitly referenced.  Since portable code cannot
8693   # rely on this symbol name, it's probably fine to never include it in
8694   # preloaded symbol tables.
8695   # Exclude shared library initialization/finalization symbols.
8696   extract_expsyms_cmds=
8697
8698   case $host_os in
8699   cygwin* | mingw* | pw32* | cegcc*)
8700     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8701     # When not using gcc, we currently assume that we are using
8702     # Microsoft Visual C++.
8703     if test "$GCC" != yes; then
8704       with_gnu_ld=no
8705     fi
8706     ;;
8707   interix*)
8708     # we just hope/assume this is gcc and not c89 (= MSVC++)
8709     with_gnu_ld=yes
8710     ;;
8711   openbsd*)
8712     with_gnu_ld=no
8713     ;;
8714   esac
8715
8716   ld_shlibs=yes
8717
8718   # On some targets, GNU ld is compatible enough with the native linker
8719   # that we're better off using the native interface for both.
8720   lt_use_gnu_ld_interface=no
8721   if test "$with_gnu_ld" = yes; then
8722     case $host_os in
8723       aix*)
8724         # The AIX port of GNU ld has always aspired to compatibility
8725         # with the native linker.  However, as the warning in the GNU ld
8726         # block says, versions before 2.19.5* couldn't really create working
8727         # shared libraries, regardless of the interface used.
8728         case `$LD -v 2>&1` in
8729           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8730           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8731           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8732           *)
8733             lt_use_gnu_ld_interface=yes
8734             ;;
8735         esac
8736         ;;
8737       *)
8738         lt_use_gnu_ld_interface=yes
8739         ;;
8740     esac
8741   fi
8742
8743   if test "$lt_use_gnu_ld_interface" = yes; then
8744     # If archive_cmds runs LD, not CC, wlarc should be empty
8745     wlarc='${wl}'
8746
8747     # Set some defaults for GNU ld with shared library support. These
8748     # are reset later if shared libraries are not supported. Putting them
8749     # here allows them to be overridden if necessary.
8750     runpath_var=LD_RUN_PATH
8751     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8752     export_dynamic_flag_spec='${wl}--export-dynamic'
8753     # ancient GNU ld didn't support --whole-archive et. al.
8754     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8755       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8756     else
8757       whole_archive_flag_spec=
8758     fi
8759     supports_anon_versioning=no
8760     case `$LD -v 2>&1` in
8761       *GNU\ gold*) supports_anon_versioning=yes ;;
8762       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8763       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8764       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8765       *\ 2.11.*) ;; # other 2.11 versions
8766       *) supports_anon_versioning=yes ;;
8767     esac
8768
8769     # See if GNU ld supports shared libraries.
8770     case $host_os in
8771     aix[3-9]*)
8772       # On AIX/PPC, the GNU linker is very broken
8773       if test "$host_cpu" != ia64; then
8774         ld_shlibs=no
8775         cat <<_LT_EOF 1>&2
8776
8777 *** Warning: the GNU linker, at least up to release 2.19, is reported
8778 *** to be unable to reliably create shared libraries on AIX.
8779 *** Therefore, libtool is disabling shared libraries support.  If you
8780 *** really care for shared libraries, you may want to install binutils
8781 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8782 *** You will then need to restart the configuration process.
8783
8784 _LT_EOF
8785       fi
8786       ;;
8787
8788     amigaos*)
8789       case $host_cpu in
8790       powerpc)
8791             # see comment about AmigaOS4 .so support
8792             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8793             archive_expsym_cmds=''
8794         ;;
8795       m68k)
8796             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)'
8797             hardcode_libdir_flag_spec='-L$libdir'
8798             hardcode_minus_L=yes
8799         ;;
8800       esac
8801       ;;
8802
8803     beos*)
8804       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8805         allow_undefined_flag=unsupported
8806         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8807         # support --undefined.  This deserves some investigation.  FIXME
8808         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8809       else
8810         ld_shlibs=no
8811       fi
8812       ;;
8813
8814     cygwin* | mingw* | pw32* | cegcc*)
8815       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8816       # as there is no search path for DLLs.
8817       hardcode_libdir_flag_spec='-L$libdir'
8818       export_dynamic_flag_spec='${wl}--export-all-symbols'
8819       allow_undefined_flag=unsupported
8820       always_export_symbols=no
8821       enable_shared_with_static_runtimes=yes
8822       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'
8823       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8824
8825       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8826         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8827         # If the export-symbols file already is a .def file (1st line
8828         # is EXPORTS), use it as is; otherwise, prepend...
8829         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8830           cp $export_symbols $output_objdir/$soname.def;
8831         else
8832           echo EXPORTS > $output_objdir/$soname.def;
8833           cat $export_symbols >> $output_objdir/$soname.def;
8834         fi~
8835         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8836       else
8837         ld_shlibs=no
8838       fi
8839       ;;
8840
8841     haiku*)
8842       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843       link_all_deplibs=yes
8844       ;;
8845
8846     interix[3-9]*)
8847       hardcode_direct=no
8848       hardcode_shlibpath_var=no
8849       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8850       export_dynamic_flag_spec='${wl}-E'
8851       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8852       # Instead, shared libraries are loaded at an image base (0x10000000 by
8853       # default) and relocated if they conflict, which is a slow very memory
8854       # consuming and fragmenting process.  To avoid this, we pick a random,
8855       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8856       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8857       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8858       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'
8859       ;;
8860
8861     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8862       tmp_diet=no
8863       if test "$host_os" = linux-dietlibc; then
8864         case $cc_basename in
8865           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8866         esac
8867       fi
8868       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8869          && test "$tmp_diet" = no
8870       then
8871         tmp_addflag=' $pic_flag'
8872         tmp_sharedflag='-shared'
8873         case $cc_basename,$host_cpu in
8874         pgcc*)                          # Portland Group C compiler
8875           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'
8876           tmp_addflag=' $pic_flag'
8877           ;;
8878         pgf77* | pgf90* | pgf95* | pgfortran*)
8879                                         # Portland Group f77 and f90 compilers
8880           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'
8881           tmp_addflag=' $pic_flag -Mnomain' ;;
8882         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8883           tmp_addflag=' -i_dynamic' ;;
8884         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8885           tmp_addflag=' -i_dynamic -nofor_main' ;;
8886         ifc* | ifort*)                  # Intel Fortran compiler
8887           tmp_addflag=' -nofor_main' ;;
8888         lf95*)                          # Lahey Fortran 8.1
8889           whole_archive_flag_spec=
8890           tmp_sharedflag='--shared' ;;
8891         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8892           tmp_sharedflag='-qmkshrobj'
8893           tmp_addflag= ;;
8894         nvcc*)  # Cuda Compiler Driver 2.2
8895           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'
8896           compiler_needs_object=yes
8897           ;;
8898         esac
8899         case `$CC -V 2>&1 | sed 5q` in
8900         *Sun\ C*)                       # Sun C 5.9
8901           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'
8902           compiler_needs_object=yes
8903           tmp_sharedflag='-G' ;;
8904         *Sun\ F*)                       # Sun Fortran 8.3
8905           tmp_sharedflag='-G' ;;
8906         esac
8907         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8908
8909         if test "x$supports_anon_versioning" = xyes; then
8910           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8911             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8912             echo "local: *; };" >> $output_objdir/$libname.ver~
8913             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8914         fi
8915
8916         case $cc_basename in
8917         xlf* | bgf* | bgxlf* | mpixlf*)
8918           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8919           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8920           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8921           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8922           if test "x$supports_anon_versioning" = xyes; then
8923             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8924               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8925               echo "local: *; };" >> $output_objdir/$libname.ver~
8926               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8927           fi
8928           ;;
8929         esac
8930       else
8931         ld_shlibs=no
8932       fi
8933       ;;
8934
8935     netbsd*)
8936       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8937         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8938         wlarc=
8939       else
8940         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8941         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8942       fi
8943       ;;
8944
8945     solaris*)
8946       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8947         ld_shlibs=no
8948         cat <<_LT_EOF 1>&2
8949
8950 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8951 *** create shared libraries on Solaris systems.  Therefore, libtool
8952 *** is disabling shared libraries support.  We urge you to upgrade GNU
8953 *** binutils to release 2.9.1 or newer.  Another option is to modify
8954 *** your PATH or compiler configuration so that the native linker is
8955 *** used, and then restart.
8956
8957 _LT_EOF
8958       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8959         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8960         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8961       else
8962         ld_shlibs=no
8963       fi
8964       ;;
8965
8966     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8967       case `$LD -v 2>&1` in
8968         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8969         ld_shlibs=no
8970         cat <<_LT_EOF 1>&2
8971
8972 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8973 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8974 *** is disabling shared libraries support.  We urge you to upgrade GNU
8975 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8976 *** your PATH or compiler configuration so that the native linker is
8977 *** used, and then restart.
8978
8979 _LT_EOF
8980         ;;
8981         *)
8982           # For security reasons, it is highly recommended that you always
8983           # use absolute paths for naming shared libraries, and exclude the
8984           # DT_RUNPATH tag from executables and libraries.  But doing so
8985           # requires that you compile everything twice, which is a pain.
8986           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8987             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8988             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8990           else
8991             ld_shlibs=no
8992           fi
8993         ;;
8994       esac
8995       ;;
8996
8997     sunos4*)
8998       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8999       wlarc=
9000       hardcode_direct=yes
9001       hardcode_shlibpath_var=no
9002       ;;
9003
9004     *)
9005       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9006         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9007         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9008       else
9009         ld_shlibs=no
9010       fi
9011       ;;
9012     esac
9013
9014     if test "$ld_shlibs" = no; then
9015       runpath_var=
9016       hardcode_libdir_flag_spec=
9017       export_dynamic_flag_spec=
9018       whole_archive_flag_spec=
9019     fi
9020   else
9021     # PORTME fill in a description of your system's linker (not GNU ld)
9022     case $host_os in
9023     aix3*)
9024       allow_undefined_flag=unsupported
9025       always_export_symbols=yes
9026       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'
9027       # Note: this linker hardcodes the directories in LIBPATH if there
9028       # are no directories specified by -L.
9029       hardcode_minus_L=yes
9030       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9031         # Neither direct hardcoding nor static linking is supported with a
9032         # broken collect2.
9033         hardcode_direct=unsupported
9034       fi
9035       ;;
9036
9037     aix[4-9]*)
9038       if test "$host_cpu" = ia64; then
9039         # On IA64, the linker does run time linking by default, so we don't
9040         # have to do anything special.
9041         aix_use_runtimelinking=no
9042         exp_sym_flag='-Bexport'
9043         no_entry_flag=""
9044       else
9045         # If we're using GNU nm, then we don't want the "-C" option.
9046         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9047         # Also, AIX nm treats weak defined symbols like other global
9048         # defined symbols, whereas GNU nm marks them as "W".
9049         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9050           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'
9051         else
9052           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'
9053         fi
9054         aix_use_runtimelinking=no
9055
9056         # Test if we are trying to use run time linking or normal
9057         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9058         # need to do runtime linking.
9059         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9060           for ld_flag in $LDFLAGS; do
9061           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9062             aix_use_runtimelinking=yes
9063             break
9064           fi
9065           done
9066           ;;
9067         esac
9068
9069         exp_sym_flag='-bexport'
9070         no_entry_flag='-bnoentry'
9071       fi
9072
9073       # When large executables or shared objects are built, AIX ld can
9074       # have problems creating the table of contents.  If linking a library
9075       # or program results in "error TOC overflow" add -mminimal-toc to
9076       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9077       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9078
9079       archive_cmds=''
9080       hardcode_direct=yes
9081       hardcode_direct_absolute=yes
9082       hardcode_libdir_separator=':'
9083       link_all_deplibs=yes
9084       file_list_spec='${wl}-f,'
9085
9086       if test "$GCC" = yes; then
9087         case $host_os in aix4.[012]|aix4.[012].*)
9088         # We only want to do this on AIX 4.2 and lower, the check
9089         # below for broken collect2 doesn't work under 4.3+
9090           collect2name=`${CC} -print-prog-name=collect2`
9091           if test -f "$collect2name" &&
9092            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9093           then
9094           # We have reworked collect2
9095           :
9096           else
9097           # We have old collect2
9098           hardcode_direct=unsupported
9099           # It fails to find uninstalled libraries when the uninstalled
9100           # path is not listed in the libpath.  Setting hardcode_minus_L
9101           # to unsupported forces relinking
9102           hardcode_minus_L=yes
9103           hardcode_libdir_flag_spec='-L$libdir'
9104           hardcode_libdir_separator=
9105           fi
9106           ;;
9107         esac
9108         shared_flag='-shared'
9109         if test "$aix_use_runtimelinking" = yes; then
9110           shared_flag="$shared_flag "'${wl}-G'
9111         fi
9112       else
9113         # not using gcc
9114         if test "$host_cpu" = ia64; then
9115         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9116         # chokes on -Wl,-G. The following line is correct:
9117           shared_flag='-G'
9118         else
9119           if test "$aix_use_runtimelinking" = yes; then
9120             shared_flag='${wl}-G'
9121           else
9122             shared_flag='${wl}-bM:SRE'
9123           fi
9124         fi
9125       fi
9126
9127       export_dynamic_flag_spec='${wl}-bexpall'
9128       # It seems that -bexpall does not export symbols beginning with
9129       # underscore (_), so it is better to generate a list of symbols to export.
9130       always_export_symbols=yes
9131       if test "$aix_use_runtimelinking" = yes; then
9132         # Warning - without using the other runtime loading flags (-brtl),
9133         # -berok will link without error, but may produce a broken library.
9134         allow_undefined_flag='-berok'
9135         # Determine the default libpath from the value encoded in an
9136         # empty executable.
9137         if test "${lt_cv_aix_libpath+set}" = set; then
9138   aix_libpath=$lt_cv_aix_libpath
9139 else
9140   if ${lt_cv_aix_libpath_+:} false; then :
9141   $as_echo_n "(cached) " >&6
9142 else
9143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h.  */
9145
9146 int
9147 main ()
9148 {
9149
9150   ;
9151   return 0;
9152 }
9153 _ACEOF
9154 if ac_fn_c_try_link "$LINENO"; then :
9155
9156   lt_aix_libpath_sed='
9157       /Import File Strings/,/^$/ {
9158           /^0/ {
9159               s/^0  *\([^ ]*\) *$/\1/
9160               p
9161           }
9162       }'
9163   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9164   # Check for a 64-bit object if we didn't find anything.
9165   if test -z "$lt_cv_aix_libpath_"; then
9166     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9167   fi
9168 fi
9169 rm -f core conftest.err conftest.$ac_objext \
9170     conftest$ac_exeext conftest.$ac_ext
9171   if test -z "$lt_cv_aix_libpath_"; then
9172     lt_cv_aix_libpath_="/usr/lib:/lib"
9173   fi
9174
9175 fi
9176
9177   aix_libpath=$lt_cv_aix_libpath_
9178 fi
9179
9180         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9181         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"
9182       else
9183         if test "$host_cpu" = ia64; then
9184           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9185           allow_undefined_flag="-z nodefs"
9186           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"
9187         else
9188          # Determine the default libpath from the value encoded in an
9189          # empty executable.
9190          if test "${lt_cv_aix_libpath+set}" = set; then
9191   aix_libpath=$lt_cv_aix_libpath
9192 else
9193   if ${lt_cv_aix_libpath_+:} false; then :
9194   $as_echo_n "(cached) " >&6
9195 else
9196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h.  */
9198
9199 int
9200 main ()
9201 {
9202
9203   ;
9204   return 0;
9205 }
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208
9209   lt_aix_libpath_sed='
9210       /Import File Strings/,/^$/ {
9211           /^0/ {
9212               s/^0  *\([^ ]*\) *$/\1/
9213               p
9214           }
9215       }'
9216   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9217   # Check for a 64-bit object if we didn't find anything.
9218   if test -z "$lt_cv_aix_libpath_"; then
9219     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9220   fi
9221 fi
9222 rm -f core conftest.err conftest.$ac_objext \
9223     conftest$ac_exeext conftest.$ac_ext
9224   if test -z "$lt_cv_aix_libpath_"; then
9225     lt_cv_aix_libpath_="/usr/lib:/lib"
9226   fi
9227
9228 fi
9229
9230   aix_libpath=$lt_cv_aix_libpath_
9231 fi
9232
9233          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9234           # Warning - without using the other run time loading flags,
9235           # -berok will link without error, but may produce a broken library.
9236           no_undefined_flag=' ${wl}-bernotok'
9237           allow_undefined_flag=' ${wl}-berok'
9238           if test "$with_gnu_ld" = yes; then
9239             # We only use this code for GNU lds that support --whole-archive.
9240             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9241           else
9242             # Exported symbols can be pulled into shared objects from archives
9243             whole_archive_flag_spec='$convenience'
9244           fi
9245           archive_cmds_need_lc=yes
9246           # This is similar to how AIX traditionally builds its shared libraries.
9247           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'
9248         fi
9249       fi
9250       ;;
9251
9252     amigaos*)
9253       case $host_cpu in
9254       powerpc)
9255             # see comment about AmigaOS4 .so support
9256             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257             archive_expsym_cmds=''
9258         ;;
9259       m68k)
9260             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)'
9261             hardcode_libdir_flag_spec='-L$libdir'
9262             hardcode_minus_L=yes
9263         ;;
9264       esac
9265       ;;
9266
9267     bsdi[45]*)
9268       export_dynamic_flag_spec=-rdynamic
9269       ;;
9270
9271     cygwin* | mingw* | pw32* | cegcc*)
9272       # When not using gcc, we currently assume that we are using
9273       # Microsoft Visual C++.
9274       # hardcode_libdir_flag_spec is actually meaningless, as there is
9275       # no search path for DLLs.
9276       case $cc_basename in
9277       cl*)
9278         # Native MSVC
9279         hardcode_libdir_flag_spec=' '
9280         allow_undefined_flag=unsupported
9281         always_export_symbols=yes
9282         file_list_spec='@'
9283         # Tell ltmain to make .lib files, not .a files.
9284         libext=lib
9285         # Tell ltmain to make .dll files, not .so files.
9286         shrext_cmds=".dll"
9287         # FIXME: Setting linknames here is a bad hack.
9288         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9289         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9290             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9291           else
9292             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9293           fi~
9294           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9295           linknames='
9296         # The linker will not automatically build a static lib if we build a DLL.
9297         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9298         enable_shared_with_static_runtimes=yes
9299         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9300         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9301         # Don't use ranlib
9302         old_postinstall_cmds='chmod 644 $oldlib'
9303         postlink_cmds='lt_outputfile="@OUTPUT@"~
9304           lt_tool_outputfile="@TOOL_OUTPUT@"~
9305           case $lt_outputfile in
9306             *.exe|*.EXE) ;;
9307             *)
9308               lt_outputfile="$lt_outputfile.exe"
9309               lt_tool_outputfile="$lt_tool_outputfile.exe"
9310               ;;
9311           esac~
9312           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9313             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9314             $RM "$lt_outputfile.manifest";
9315           fi'
9316         ;;
9317       *)
9318         # Assume MSVC wrapper
9319         hardcode_libdir_flag_spec=' '
9320         allow_undefined_flag=unsupported
9321         # Tell ltmain to make .lib files, not .a files.
9322         libext=lib
9323         # Tell ltmain to make .dll files, not .so files.
9324         shrext_cmds=".dll"
9325         # FIXME: Setting linknames here is a bad hack.
9326         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9327         # The linker will automatically build a .lib file if we build a DLL.
9328         old_archive_from_new_cmds='true'
9329         # FIXME: Should let the user specify the lib program.
9330         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9331         enable_shared_with_static_runtimes=yes
9332         ;;
9333       esac
9334       ;;
9335
9336     darwin* | rhapsody*)
9337
9338
9339   archive_cmds_need_lc=no
9340   hardcode_direct=no
9341   hardcode_automatic=yes
9342   hardcode_shlibpath_var=unsupported
9343   if test "$lt_cv_ld_force_load" = "yes"; then
9344     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\"`'
9345
9346   else
9347     whole_archive_flag_spec=''
9348   fi
9349   link_all_deplibs=yes
9350   allow_undefined_flag="$_lt_dar_allow_undefined"
9351   case $cc_basename in
9352      ifort*) _lt_dar_can_shared=yes ;;
9353      *) _lt_dar_can_shared=$GCC ;;
9354   esac
9355   if test "$_lt_dar_can_shared" = "yes"; then
9356     output_verbose_link_cmd=func_echo_all
9357     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9358     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9359     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}"
9360     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}"
9361
9362   else
9363   ld_shlibs=no
9364   fi
9365
9366       ;;
9367
9368     dgux*)
9369       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9370       hardcode_libdir_flag_spec='-L$libdir'
9371       hardcode_shlibpath_var=no
9372       ;;
9373
9374     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9375     # support.  Future versions do this automatically, but an explicit c++rt0.o
9376     # does not break anything, and helps significantly (at the cost of a little
9377     # extra space).
9378     freebsd2.2*)
9379       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9380       hardcode_libdir_flag_spec='-R$libdir'
9381       hardcode_direct=yes
9382       hardcode_shlibpath_var=no
9383       ;;
9384
9385     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9386     freebsd2.*)
9387       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9388       hardcode_direct=yes
9389       hardcode_minus_L=yes
9390       hardcode_shlibpath_var=no
9391       ;;
9392
9393     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9394     freebsd* | dragonfly*)
9395       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9396       hardcode_libdir_flag_spec='-R$libdir'
9397       hardcode_direct=yes
9398       hardcode_shlibpath_var=no
9399       ;;
9400
9401     hpux9*)
9402       if test "$GCC" = yes; then
9403         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'
9404       else
9405         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'
9406       fi
9407       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9408       hardcode_libdir_separator=:
9409       hardcode_direct=yes
9410
9411       # hardcode_minus_L: Not really in the search PATH,
9412       # but as the default location of the library.
9413       hardcode_minus_L=yes
9414       export_dynamic_flag_spec='${wl}-E'
9415       ;;
9416
9417     hpux10*)
9418       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9419         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9420       else
9421         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9422       fi
9423       if test "$with_gnu_ld" = no; then
9424         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9425         hardcode_libdir_separator=:
9426         hardcode_direct=yes
9427         hardcode_direct_absolute=yes
9428         export_dynamic_flag_spec='${wl}-E'
9429         # hardcode_minus_L: Not really in the search PATH,
9430         # but as the default location of the library.
9431         hardcode_minus_L=yes
9432       fi
9433       ;;
9434
9435     hpux11*)
9436       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9437         case $host_cpu in
9438         hppa*64*)
9439           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9440           ;;
9441         ia64*)
9442           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9443           ;;
9444         *)
9445           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9446           ;;
9447         esac
9448       else
9449         case $host_cpu in
9450         hppa*64*)
9451           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9452           ;;
9453         ia64*)
9454           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9455           ;;
9456         *)
9457
9458           # Older versions of the 11.00 compiler do not understand -b yet
9459           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9460           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9461 $as_echo_n "checking if $CC understands -b... " >&6; }
9462 if ${lt_cv_prog_compiler__b+:} false; then :
9463   $as_echo_n "(cached) " >&6
9464 else
9465   lt_cv_prog_compiler__b=no
9466    save_LDFLAGS="$LDFLAGS"
9467    LDFLAGS="$LDFLAGS -b"
9468    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9469    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9470      # The linker can only warn and ignore the option if not recognized
9471      # So say no if there are warnings
9472      if test -s conftest.err; then
9473        # Append any errors to the config.log.
9474        cat conftest.err 1>&5
9475        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9476        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9477        if diff conftest.exp conftest.er2 >/dev/null; then
9478          lt_cv_prog_compiler__b=yes
9479        fi
9480      else
9481        lt_cv_prog_compiler__b=yes
9482      fi
9483    fi
9484    $RM -r conftest*
9485    LDFLAGS="$save_LDFLAGS"
9486
9487 fi
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9489 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9490
9491 if test x"$lt_cv_prog_compiler__b" = xyes; then
9492     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9493 else
9494     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9495 fi
9496
9497           ;;
9498         esac
9499       fi
9500       if test "$with_gnu_ld" = no; then
9501         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9502         hardcode_libdir_separator=:
9503
9504         case $host_cpu in
9505         hppa*64*|ia64*)
9506           hardcode_direct=no
9507           hardcode_shlibpath_var=no
9508           ;;
9509         *)
9510           hardcode_direct=yes
9511           hardcode_direct_absolute=yes
9512           export_dynamic_flag_spec='${wl}-E'
9513
9514           # hardcode_minus_L: Not really in the search PATH,
9515           # but as the default location of the library.
9516           hardcode_minus_L=yes
9517           ;;
9518         esac
9519       fi
9520       ;;
9521
9522     irix5* | irix6* | nonstopux*)
9523       if test "$GCC" = yes; then
9524         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'
9525         # Try to use the -exported_symbol ld option, if it does not
9526         # work, assume that -exports_file does not work either and
9527         # implicitly export all symbols.
9528         # This should be the same for all languages, so no per-tag cache variable.
9529         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9530 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9531 if ${lt_cv_irix_exported_symbol+:} false; then :
9532   $as_echo_n "(cached) " >&6
9533 else
9534   save_LDFLAGS="$LDFLAGS"
9535            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9536            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h.  */
9538 int foo (void) { return 0; }
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541   lt_cv_irix_exported_symbol=yes
9542 else
9543   lt_cv_irix_exported_symbol=no
9544 fi
9545 rm -f core conftest.err conftest.$ac_objext \
9546     conftest$ac_exeext conftest.$ac_ext
9547            LDFLAGS="$save_LDFLAGS"
9548 fi
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9550 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9551         if test "$lt_cv_irix_exported_symbol" = yes; then
9552           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'
9553         fi
9554       else
9555         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'
9556         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'
9557       fi
9558       archive_cmds_need_lc='no'
9559       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9560       hardcode_libdir_separator=:
9561       inherit_rpath=yes
9562       link_all_deplibs=yes
9563       ;;
9564
9565     netbsd*)
9566       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9567         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9568       else
9569         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9570       fi
9571       hardcode_libdir_flag_spec='-R$libdir'
9572       hardcode_direct=yes
9573       hardcode_shlibpath_var=no
9574       ;;
9575
9576     newsos6)
9577       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578       hardcode_direct=yes
9579       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9580       hardcode_libdir_separator=:
9581       hardcode_shlibpath_var=no
9582       ;;
9583
9584     *nto* | *qnx*)
9585       ;;
9586
9587     openbsd*)
9588       if test -f /usr/libexec/ld.so; then
9589         hardcode_direct=yes
9590         hardcode_shlibpath_var=no
9591         hardcode_direct_absolute=yes
9592         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9593           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9594           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9595           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9596           export_dynamic_flag_spec='${wl}-E'
9597         else
9598           case $host_os in
9599            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9600              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9601              hardcode_libdir_flag_spec='-R$libdir'
9602              ;;
9603            *)
9604              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9605              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9606              ;;
9607           esac
9608         fi
9609       else
9610         ld_shlibs=no
9611       fi
9612       ;;
9613
9614     os2*)
9615       hardcode_libdir_flag_spec='-L$libdir'
9616       hardcode_minus_L=yes
9617       allow_undefined_flag=unsupported
9618       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'
9619       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9620       ;;
9621
9622     osf3*)
9623       if test "$GCC" = yes; then
9624         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9625         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'
9626       else
9627         allow_undefined_flag=' -expect_unresolved \*'
9628         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'
9629       fi
9630       archive_cmds_need_lc='no'
9631       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9632       hardcode_libdir_separator=:
9633       ;;
9634
9635     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9636       if test "$GCC" = yes; then
9637         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9638         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'
9639         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9640       else
9641         allow_undefined_flag=' -expect_unresolved \*'
9642         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'
9643         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~
9644         $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'
9645
9646         # Both c and cxx compiler support -rpath directly
9647         hardcode_libdir_flag_spec='-rpath $libdir'
9648       fi
9649       archive_cmds_need_lc='no'
9650       hardcode_libdir_separator=:
9651       ;;
9652
9653     solaris*)
9654       no_undefined_flag=' -z defs'
9655       if test "$GCC" = yes; then
9656         wlarc='${wl}'
9657         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9658         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9659           $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'
9660       else
9661         case `$CC -V 2>&1` in
9662         *"Compilers 5.0"*)
9663           wlarc=''
9664           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9666           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9667           ;;
9668         *)
9669           wlarc='${wl}'
9670           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9671           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9672           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9673           ;;
9674         esac
9675       fi
9676       hardcode_libdir_flag_spec='-R$libdir'
9677       hardcode_shlibpath_var=no
9678       case $host_os in
9679       solaris2.[0-5] | solaris2.[0-5].*) ;;
9680       *)
9681         # The compiler driver will combine and reorder linker options,
9682         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9683         # but is careful enough not to reorder.
9684         # Supported since Solaris 2.6 (maybe 2.5.1?)
9685         if test "$GCC" = yes; then
9686           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9687         else
9688           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9689         fi
9690         ;;
9691       esac
9692       link_all_deplibs=yes
9693       ;;
9694
9695     sunos4*)
9696       if test "x$host_vendor" = xsequent; then
9697         # Use $CC to link under sequent, because it throws in some extra .o
9698         # files that make .init and .fini sections work.
9699         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9700       else
9701         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9702       fi
9703       hardcode_libdir_flag_spec='-L$libdir'
9704       hardcode_direct=yes
9705       hardcode_minus_L=yes
9706       hardcode_shlibpath_var=no
9707       ;;
9708
9709     sysv4)
9710       case $host_vendor in
9711         sni)
9712           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9713           hardcode_direct=yes # is this really true???
9714         ;;
9715         siemens)
9716           ## LD is ld it makes a PLAMLIB
9717           ## CC just makes a GrossModule.
9718           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9719           reload_cmds='$CC -r -o $output$reload_objs'
9720           hardcode_direct=no
9721         ;;
9722         motorola)
9723           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9725         ;;
9726       esac
9727       runpath_var='LD_RUN_PATH'
9728       hardcode_shlibpath_var=no
9729       ;;
9730
9731     sysv4.3*)
9732       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9733       hardcode_shlibpath_var=no
9734       export_dynamic_flag_spec='-Bexport'
9735       ;;
9736
9737     sysv4*MP*)
9738       if test -d /usr/nec; then
9739         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740         hardcode_shlibpath_var=no
9741         runpath_var=LD_RUN_PATH
9742         hardcode_runpath_var=yes
9743         ld_shlibs=yes
9744       fi
9745       ;;
9746
9747     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9748       no_undefined_flag='${wl}-z,text'
9749       archive_cmds_need_lc=no
9750       hardcode_shlibpath_var=no
9751       runpath_var='LD_RUN_PATH'
9752
9753       if test "$GCC" = yes; then
9754         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756       else
9757         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9758         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759       fi
9760       ;;
9761
9762     sysv5* | sco3.2v5* | sco5v6*)
9763       # Note: We can NOT use -z defs as we might desire, because we do not
9764       # link with -lc, and that would cause any symbols used from libc to
9765       # always be unresolved, which means just about no library would
9766       # ever link correctly.  If we're not using GNU ld we use -z text
9767       # though, which does catch some bad symbols but isn't as heavy-handed
9768       # as -z defs.
9769       no_undefined_flag='${wl}-z,text'
9770       allow_undefined_flag='${wl}-z,nodefs'
9771       archive_cmds_need_lc=no
9772       hardcode_shlibpath_var=no
9773       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9774       hardcode_libdir_separator=':'
9775       link_all_deplibs=yes
9776       export_dynamic_flag_spec='${wl}-Bexport'
9777       runpath_var='LD_RUN_PATH'
9778
9779       if test "$GCC" = yes; then
9780         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9781         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9782       else
9783         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9784         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785       fi
9786       ;;
9787
9788     uts4*)
9789       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790       hardcode_libdir_flag_spec='-L$libdir'
9791       hardcode_shlibpath_var=no
9792       ;;
9793
9794     *)
9795       ld_shlibs=no
9796       ;;
9797     esac
9798
9799     if test x$host_vendor = xsni; then
9800       case $host in
9801       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9802         export_dynamic_flag_spec='${wl}-Blargedynsym'
9803         ;;
9804       esac
9805     fi
9806   fi
9807
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9809 $as_echo "$ld_shlibs" >&6; }
9810 test "$ld_shlibs" = no && can_build_shared=no
9811
9812 with_gnu_ld=$with_gnu_ld
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828 #
9829 # Do we need to explicitly link libc?
9830 #
9831 case "x$archive_cmds_need_lc" in
9832 x|xyes)
9833   # Assume -lc should be added
9834   archive_cmds_need_lc=yes
9835
9836   if test "$enable_shared" = yes && test "$GCC" = yes; then
9837     case $archive_cmds in
9838     *'~'*)
9839       # FIXME: we may have to deal with multi-command sequences.
9840       ;;
9841     '$CC '*)
9842       # Test whether the compiler implicitly links with -lc since on some
9843       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9844       # to ld, don't add -lc before -lgcc.
9845       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9846 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9847 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9848   $as_echo_n "(cached) " >&6
9849 else
9850   $RM conftest*
9851         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9852
9853         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9854   (eval $ac_compile) 2>&5
9855   ac_status=$?
9856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9857   test $ac_status = 0; } 2>conftest.err; then
9858           soname=conftest
9859           lib=conftest
9860           libobjs=conftest.$ac_objext
9861           deplibs=
9862           wl=$lt_prog_compiler_wl
9863           pic_flag=$lt_prog_compiler_pic
9864           compiler_flags=-v
9865           linker_flags=-v
9866           verstring=
9867           output_objdir=.
9868           libname=conftest
9869           lt_save_allow_undefined_flag=$allow_undefined_flag
9870           allow_undefined_flag=
9871           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9872   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9873   ac_status=$?
9874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9875   test $ac_status = 0; }
9876           then
9877             lt_cv_archive_cmds_need_lc=no
9878           else
9879             lt_cv_archive_cmds_need_lc=yes
9880           fi
9881           allow_undefined_flag=$lt_save_allow_undefined_flag
9882         else
9883           cat conftest.err 1>&5
9884         fi
9885         $RM conftest*
9886
9887 fi
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9889 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9890       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9891       ;;
9892     esac
9893   fi
9894   ;;
9895 esac
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10049 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10050
10051 if test "$GCC" = yes; then
10052   case $host_os in
10053     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10054     *) lt_awk_arg="/^libraries:/" ;;
10055   esac
10056   case $host_os in
10057     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10058     *) lt_sed_strip_eq="s,=/,/,g" ;;
10059   esac
10060   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10061   case $lt_search_path_spec in
10062   *\;*)
10063     # if the path contains ";" then we assume it to be the separator
10064     # otherwise default to the standard path separator (i.e. ":") - it is
10065     # assumed that no part of a normal pathname contains ";" but that should
10066     # okay in the real world where ";" in dirpaths is itself problematic.
10067     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10068     ;;
10069   *)
10070     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10071     ;;
10072   esac
10073   # Ok, now we have the path, separated by spaces, we can step through it
10074   # and add multilib dir if necessary.
10075   lt_tmp_lt_search_path_spec=
10076   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10077   for lt_sys_path in $lt_search_path_spec; do
10078     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10079       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10080     else
10081       test -d "$lt_sys_path" && \
10082         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10083     fi
10084   done
10085   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10086 BEGIN {RS=" "; FS="/|\n";} {
10087   lt_foo="";
10088   lt_count=0;
10089   for (lt_i = NF; lt_i > 0; lt_i--) {
10090     if ($lt_i != "" && $lt_i != ".") {
10091       if ($lt_i == "..") {
10092         lt_count++;
10093       } else {
10094         if (lt_count == 0) {
10095           lt_foo="/" $lt_i lt_foo;
10096         } else {
10097           lt_count--;
10098         }
10099       }
10100     }
10101   }
10102   if (lt_foo != "") { lt_freq[lt_foo]++; }
10103   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10104 }'`
10105   # AWK program above erroneously prepends '/' to C:/dos/paths
10106   # for these hosts.
10107   case $host_os in
10108     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10109       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10110   esac
10111   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10112 else
10113   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10114 fi
10115 library_names_spec=
10116 libname_spec='lib$name'
10117 soname_spec=
10118 shrext_cmds=".so"
10119 postinstall_cmds=
10120 postuninstall_cmds=
10121 finish_cmds=
10122 finish_eval=
10123 shlibpath_var=
10124 shlibpath_overrides_runpath=unknown
10125 version_type=none
10126 dynamic_linker="$host_os ld.so"
10127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10128 need_lib_prefix=unknown
10129 hardcode_into_libs=no
10130
10131 # when you set need_version to no, make sure it does not cause -set_version
10132 # flags to be left without arguments
10133 need_version=unknown
10134
10135 case $host_os in
10136 aix3*)
10137   version_type=linux # correct to gnu/linux during the next big refactor
10138   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10139   shlibpath_var=LIBPATH
10140
10141   # AIX 3 has no versioning support, so we append a major version to the name.
10142   soname_spec='${libname}${release}${shared_ext}$major'
10143   ;;
10144
10145 aix[4-9]*)
10146   version_type=linux # correct to gnu/linux during the next big refactor
10147   need_lib_prefix=no
10148   need_version=no
10149   hardcode_into_libs=yes
10150   if test "$host_cpu" = ia64; then
10151     # AIX 5 supports IA64
10152     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10153     shlibpath_var=LD_LIBRARY_PATH
10154   else
10155     # With GCC up to 2.95.x, collect2 would create an import file
10156     # for dependence libraries.  The import file would start with
10157     # the line `#! .'.  This would cause the generated library to
10158     # depend on `.', always an invalid library.  This was fixed in
10159     # development snapshots of GCC prior to 3.0.
10160     case $host_os in
10161       aix4 | aix4.[01] | aix4.[01].*)
10162       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10163            echo ' yes '
10164            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10165         :
10166       else
10167         can_build_shared=no
10168       fi
10169       ;;
10170     esac
10171     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10172     # soname into executable. Probably we can add versioning support to
10173     # collect2, so additional links can be useful in future.
10174     if test "$aix_use_runtimelinking" = yes; then
10175       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10176       # instead of lib<name>.a to let people know that these are not
10177       # typical AIX shared libraries.
10178       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179     else
10180       # We preserve .a as extension for shared libraries through AIX4.2
10181       # and later when we are not doing run time linking.
10182       library_names_spec='${libname}${release}.a $libname.a'
10183       soname_spec='${libname}${release}${shared_ext}$major'
10184     fi
10185     shlibpath_var=LIBPATH
10186   fi
10187   ;;
10188
10189 amigaos*)
10190   case $host_cpu in
10191   powerpc)
10192     # Since July 2007 AmigaOS4 officially supports .so libraries.
10193     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10194     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10195     ;;
10196   m68k)
10197     library_names_spec='$libname.ixlibrary $libname.a'
10198     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10199     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'
10200     ;;
10201   esac
10202   ;;
10203
10204 beos*)
10205   library_names_spec='${libname}${shared_ext}'
10206   dynamic_linker="$host_os ld.so"
10207   shlibpath_var=LIBRARY_PATH
10208   ;;
10209
10210 bsdi[45]*)
10211   version_type=linux # correct to gnu/linux during the next big refactor
10212   need_version=no
10213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214   soname_spec='${libname}${release}${shared_ext}$major'
10215   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10216   shlibpath_var=LD_LIBRARY_PATH
10217   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10218   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10219   # the default ld.so.conf also contains /usr/contrib/lib and
10220   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10221   # libtool to hard-code these into programs
10222   ;;
10223
10224 cygwin* | mingw* | pw32* | cegcc*)
10225   version_type=windows
10226   shrext_cmds=".dll"
10227   need_version=no
10228   need_lib_prefix=no
10229
10230   case $GCC,$cc_basename in
10231   yes,*)
10232     # gcc
10233     library_names_spec='$libname.dll.a'
10234     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10235     postinstall_cmds='base_file=`basename \${file}`~
10236       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10237       dldir=$destdir/`dirname \$dlpath`~
10238       test -d \$dldir || mkdir -p \$dldir~
10239       $install_prog $dir/$dlname \$dldir/$dlname~
10240       chmod a+x \$dldir/$dlname~
10241       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10242         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10243       fi'
10244     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10245       dlpath=$dir/\$dldll~
10246        $RM \$dlpath'
10247     shlibpath_overrides_runpath=yes
10248
10249     case $host_os in
10250     cygwin*)
10251       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10252       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10253
10254       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10255       ;;
10256     mingw* | cegcc*)
10257       # MinGW DLLs use traditional 'lib' prefix
10258       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10259       ;;
10260     pw32*)
10261       # pw32 DLLs use 'pw' prefix rather than 'lib'
10262       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10263       ;;
10264     esac
10265     dynamic_linker='Win32 ld.exe'
10266     ;;
10267
10268   *,cl*)
10269     # Native MSVC
10270     libname_spec='$name'
10271     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10272     library_names_spec='${libname}.dll.lib'
10273
10274     case $build_os in
10275     mingw*)
10276       sys_lib_search_path_spec=
10277       lt_save_ifs=$IFS
10278       IFS=';'
10279       for lt_path in $LIB
10280       do
10281         IFS=$lt_save_ifs
10282         # Let DOS variable expansion print the short 8.3 style file name.
10283         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10284         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10285       done
10286       IFS=$lt_save_ifs
10287       # Convert to MSYS style.
10288       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10289       ;;
10290     cygwin*)
10291       # Convert to unix form, then to dos form, then back to unix form
10292       # but this time dos style (no spaces!) so that the unix form looks
10293       # like /cygdrive/c/PROGRA~1:/cygdr...
10294       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10295       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10296       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10297       ;;
10298     *)
10299       sys_lib_search_path_spec="$LIB"
10300       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10301         # It is most probably a Windows format PATH.
10302         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10303       else
10304         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10305       fi
10306       # FIXME: find the short name or the path components, as spaces are
10307       # common. (e.g. "Program Files" -> "PROGRA~1")
10308       ;;
10309     esac
10310
10311     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10312     postinstall_cmds='base_file=`basename \${file}`~
10313       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10314       dldir=$destdir/`dirname \$dlpath`~
10315       test -d \$dldir || mkdir -p \$dldir~
10316       $install_prog $dir/$dlname \$dldir/$dlname'
10317     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10318       dlpath=$dir/\$dldll~
10319        $RM \$dlpath'
10320     shlibpath_overrides_runpath=yes
10321     dynamic_linker='Win32 link.exe'
10322     ;;
10323
10324   *)
10325     # Assume MSVC wrapper
10326     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10327     dynamic_linker='Win32 ld.exe'
10328     ;;
10329   esac
10330   # FIXME: first we should search . and the directory the executable is in
10331   shlibpath_var=PATH
10332   ;;
10333
10334 darwin* | rhapsody*)
10335   dynamic_linker="$host_os dyld"
10336   version_type=darwin
10337   need_lib_prefix=no
10338   need_version=no
10339   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10340   soname_spec='${libname}${release}${major}$shared_ext'
10341   shlibpath_overrides_runpath=yes
10342   shlibpath_var=DYLD_LIBRARY_PATH
10343   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10344
10345   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10346   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10347   ;;
10348
10349 dgux*)
10350   version_type=linux # correct to gnu/linux during the next big refactor
10351   need_lib_prefix=no
10352   need_version=no
10353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10354   soname_spec='${libname}${release}${shared_ext}$major'
10355   shlibpath_var=LD_LIBRARY_PATH
10356   ;;
10357
10358 freebsd* | dragonfly*)
10359   # DragonFly does not have aout.  When/if they implement a new
10360   # versioning mechanism, adjust this.
10361   if test -x /usr/bin/objformat; then
10362     objformat=`/usr/bin/objformat`
10363   else
10364     case $host_os in
10365     freebsd[23].*) objformat=aout ;;
10366     *) objformat=elf ;;
10367     esac
10368   fi
10369   version_type=freebsd-$objformat
10370   case $version_type in
10371     freebsd-elf*)
10372       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10373       need_version=no
10374       need_lib_prefix=no
10375       ;;
10376     freebsd-*)
10377       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10378       need_version=yes
10379       ;;
10380   esac
10381   shlibpath_var=LD_LIBRARY_PATH
10382   case $host_os in
10383   freebsd2.*)
10384     shlibpath_overrides_runpath=yes
10385     ;;
10386   freebsd3.[01]* | freebsdelf3.[01]*)
10387     shlibpath_overrides_runpath=yes
10388     hardcode_into_libs=yes
10389     ;;
10390   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10391   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10392     shlibpath_overrides_runpath=no
10393     hardcode_into_libs=yes
10394     ;;
10395   *) # from 4.6 on, and DragonFly
10396     shlibpath_overrides_runpath=yes
10397     hardcode_into_libs=yes
10398     ;;
10399   esac
10400   ;;
10401
10402 gnu*)
10403   version_type=linux # correct to gnu/linux during the next big refactor
10404   need_lib_prefix=no
10405   need_version=no
10406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10407   soname_spec='${libname}${release}${shared_ext}$major'
10408   shlibpath_var=LD_LIBRARY_PATH
10409   shlibpath_overrides_runpath=no
10410   hardcode_into_libs=yes
10411   ;;
10412
10413 haiku*)
10414   version_type=linux # correct to gnu/linux during the next big refactor
10415   need_lib_prefix=no
10416   need_version=no
10417   dynamic_linker="$host_os runtime_loader"
10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10419   soname_spec='${libname}${release}${shared_ext}$major'
10420   shlibpath_var=LIBRARY_PATH
10421   shlibpath_overrides_runpath=yes
10422   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10423   hardcode_into_libs=yes
10424   ;;
10425
10426 hpux9* | hpux10* | hpux11*)
10427   # Give a soname corresponding to the major version so that dld.sl refuses to
10428   # link against other versions.
10429   version_type=sunos
10430   need_lib_prefix=no
10431   need_version=no
10432   case $host_cpu in
10433   ia64*)
10434     shrext_cmds='.so'
10435     hardcode_into_libs=yes
10436     dynamic_linker="$host_os dld.so"
10437     shlibpath_var=LD_LIBRARY_PATH
10438     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10439     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440     soname_spec='${libname}${release}${shared_ext}$major'
10441     if test "X$HPUX_IA64_MODE" = X32; then
10442       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10443     else
10444       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10445     fi
10446     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10447     ;;
10448   hppa*64*)
10449     shrext_cmds='.sl'
10450     hardcode_into_libs=yes
10451     dynamic_linker="$host_os dld.sl"
10452     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10453     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455     soname_spec='${libname}${release}${shared_ext}$major'
10456     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10457     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10458     ;;
10459   *)
10460     shrext_cmds='.sl'
10461     dynamic_linker="$host_os dld.sl"
10462     shlibpath_var=SHLIB_PATH
10463     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10465     soname_spec='${libname}${release}${shared_ext}$major'
10466     ;;
10467   esac
10468   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10469   postinstall_cmds='chmod 555 $lib'
10470   # or fails outright, so override atomically:
10471   install_override_mode=555
10472   ;;
10473
10474 interix[3-9]*)
10475   version_type=linux # correct to gnu/linux during the next big refactor
10476   need_lib_prefix=no
10477   need_version=no
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10479   soname_spec='${libname}${release}${shared_ext}$major'
10480   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10481   shlibpath_var=LD_LIBRARY_PATH
10482   shlibpath_overrides_runpath=no
10483   hardcode_into_libs=yes
10484   ;;
10485
10486 irix5* | irix6* | nonstopux*)
10487   case $host_os in
10488     nonstopux*) version_type=nonstopux ;;
10489     *)
10490         if test "$lt_cv_prog_gnu_ld" = yes; then
10491                 version_type=linux # correct to gnu/linux during the next big refactor
10492         else
10493                 version_type=irix
10494         fi ;;
10495   esac
10496   need_lib_prefix=no
10497   need_version=no
10498   soname_spec='${libname}${release}${shared_ext}$major'
10499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10500   case $host_os in
10501   irix5* | nonstopux*)
10502     libsuff= shlibsuff=
10503     ;;
10504   *)
10505     case $LD in # libtool.m4 will add one of these switches to LD
10506     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10507       libsuff= shlibsuff= libmagic=32-bit;;
10508     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10509       libsuff=32 shlibsuff=N32 libmagic=N32;;
10510     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10511       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10512     *) libsuff= shlibsuff= libmagic=never-match;;
10513     esac
10514     ;;
10515   esac
10516   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10517   shlibpath_overrides_runpath=no
10518   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10519   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10520   hardcode_into_libs=yes
10521   ;;
10522
10523 # No shared lib support for Linux oldld, aout, or coff.
10524 linux*oldld* | linux*aout* | linux*coff*)
10525   dynamic_linker=no
10526   ;;
10527
10528 # This must be glibc/ELF.
10529 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10530   version_type=linux # correct to gnu/linux during the next big refactor
10531   need_lib_prefix=no
10532   need_version=no
10533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534   soname_spec='${libname}${release}${shared_ext}$major'
10535   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10536   shlibpath_var=LD_LIBRARY_PATH
10537   shlibpath_overrides_runpath=no
10538
10539   # Some binutils ld are patched to set DT_RUNPATH
10540   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10541   $as_echo_n "(cached) " >&6
10542 else
10543   lt_cv_shlibpath_overrides_runpath=no
10544     save_LDFLAGS=$LDFLAGS
10545     save_libdir=$libdir
10546     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10547          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10548     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h.  */
10550
10551 int
10552 main ()
10553 {
10554
10555   ;
10556   return 0;
10557 }
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10561   lt_cv_shlibpath_overrides_runpath=yes
10562 fi
10563 fi
10564 rm -f core conftest.err conftest.$ac_objext \
10565     conftest$ac_exeext conftest.$ac_ext
10566     LDFLAGS=$save_LDFLAGS
10567     libdir=$save_libdir
10568
10569 fi
10570
10571   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10572
10573   # This implies no fast_install, which is unacceptable.
10574   # Some rework will be needed to allow for fast_install
10575   # before this can be enabled.
10576   hardcode_into_libs=yes
10577
10578   # Add ABI-specific directories to the system library path.
10579   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10580
10581   # Append ld.so.conf contents to the search path
10582   if test -f /etc/ld.so.conf; then
10583     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' ' '`
10584     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10585
10586   fi
10587
10588   # We used to test for /lib/ld.so.1 and disable shared libraries on
10589   # powerpc, because MkLinux only supported shared libraries with the
10590   # GNU dynamic linker.  Since this was broken with cross compilers,
10591   # most powerpc-linux boxes support dynamic linking these days and
10592   # people can always --disable-shared, the test was removed, and we
10593   # assume the GNU/Linux dynamic linker is in use.
10594   dynamic_linker='GNU/Linux ld.so'
10595   ;;
10596
10597 netbsd*)
10598   version_type=sunos
10599   need_lib_prefix=no
10600   need_version=no
10601   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10602     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10603     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10604     dynamic_linker='NetBSD (a.out) ld.so'
10605   else
10606     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10607     soname_spec='${libname}${release}${shared_ext}$major'
10608     dynamic_linker='NetBSD ld.elf_so'
10609   fi
10610   shlibpath_var=LD_LIBRARY_PATH
10611   shlibpath_overrides_runpath=yes
10612   hardcode_into_libs=yes
10613   ;;
10614
10615 newsos6)
10616   version_type=linux # correct to gnu/linux during the next big refactor
10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618   shlibpath_var=LD_LIBRARY_PATH
10619   shlibpath_overrides_runpath=yes
10620   ;;
10621
10622 *nto* | *qnx*)
10623   version_type=qnx
10624   need_lib_prefix=no
10625   need_version=no
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LD_LIBRARY_PATH
10629   shlibpath_overrides_runpath=no
10630   hardcode_into_libs=yes
10631   dynamic_linker='ldqnx.so'
10632   ;;
10633
10634 openbsd*)
10635   version_type=sunos
10636   sys_lib_dlsearch_path_spec="/usr/lib"
10637   need_lib_prefix=no
10638   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10639   case $host_os in
10640     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10641     *)                          need_version=no  ;;
10642   esac
10643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10644   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10645   shlibpath_var=LD_LIBRARY_PATH
10646   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10647     case $host_os in
10648       openbsd2.[89] | openbsd2.[89].*)
10649         shlibpath_overrides_runpath=no
10650         ;;
10651       *)
10652         shlibpath_overrides_runpath=yes
10653         ;;
10654       esac
10655   else
10656     shlibpath_overrides_runpath=yes
10657   fi
10658   ;;
10659
10660 os2*)
10661   libname_spec='$name'
10662   shrext_cmds=".dll"
10663   need_lib_prefix=no
10664   library_names_spec='$libname${shared_ext} $libname.a'
10665   dynamic_linker='OS/2 ld.exe'
10666   shlibpath_var=LIBPATH
10667   ;;
10668
10669 osf3* | osf4* | osf5*)
10670   version_type=osf
10671   need_lib_prefix=no
10672   need_version=no
10673   soname_spec='${libname}${release}${shared_ext}$major'
10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675   shlibpath_var=LD_LIBRARY_PATH
10676   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10677   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10678   ;;
10679
10680 rdos*)
10681   dynamic_linker=no
10682   ;;
10683
10684 solaris*)
10685   version_type=linux # correct to gnu/linux during the next big refactor
10686   need_lib_prefix=no
10687   need_version=no
10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689   soname_spec='${libname}${release}${shared_ext}$major'
10690   shlibpath_var=LD_LIBRARY_PATH
10691   shlibpath_overrides_runpath=yes
10692   hardcode_into_libs=yes
10693   # ldd complains unless libraries are executable
10694   postinstall_cmds='chmod +x $lib'
10695   ;;
10696
10697 sunos4*)
10698   version_type=sunos
10699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10700   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10701   shlibpath_var=LD_LIBRARY_PATH
10702   shlibpath_overrides_runpath=yes
10703   if test "$with_gnu_ld" = yes; then
10704     need_lib_prefix=no
10705   fi
10706   need_version=yes
10707   ;;
10708
10709 sysv4 | sysv4.3*)
10710   version_type=linux # correct to gnu/linux during the next big refactor
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   shlibpath_var=LD_LIBRARY_PATH
10714   case $host_vendor in
10715     sni)
10716       shlibpath_overrides_runpath=no
10717       need_lib_prefix=no
10718       runpath_var=LD_RUN_PATH
10719       ;;
10720     siemens)
10721       need_lib_prefix=no
10722       ;;
10723     motorola)
10724       need_lib_prefix=no
10725       need_version=no
10726       shlibpath_overrides_runpath=no
10727       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10728       ;;
10729   esac
10730   ;;
10731
10732 sysv4*MP*)
10733   if test -d /usr/nec ;then
10734     version_type=linux # correct to gnu/linux during the next big refactor
10735     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10736     soname_spec='$libname${shared_ext}.$major'
10737     shlibpath_var=LD_LIBRARY_PATH
10738   fi
10739   ;;
10740
10741 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10742   version_type=freebsd-elf
10743   need_lib_prefix=no
10744   need_version=no
10745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10746   soname_spec='${libname}${release}${shared_ext}$major'
10747   shlibpath_var=LD_LIBRARY_PATH
10748   shlibpath_overrides_runpath=yes
10749   hardcode_into_libs=yes
10750   if test "$with_gnu_ld" = yes; then
10751     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10752   else
10753     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10754     case $host_os in
10755       sco3.2v5*)
10756         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10757         ;;
10758     esac
10759   fi
10760   sys_lib_dlsearch_path_spec='/usr/lib'
10761   ;;
10762
10763 tpf*)
10764   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10765   version_type=linux # correct to gnu/linux during the next big refactor
10766   need_lib_prefix=no
10767   need_version=no
10768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769   shlibpath_var=LD_LIBRARY_PATH
10770   shlibpath_overrides_runpath=no
10771   hardcode_into_libs=yes
10772   ;;
10773
10774 uts4*)
10775   version_type=linux # correct to gnu/linux during the next big refactor
10776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10777   soname_spec='${libname}${release}${shared_ext}$major'
10778   shlibpath_var=LD_LIBRARY_PATH
10779   ;;
10780
10781 *)
10782   dynamic_linker=no
10783   ;;
10784 esac
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10786 $as_echo "$dynamic_linker" >&6; }
10787 test "$dynamic_linker" = no && can_build_shared=no
10788
10789 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10790 if test "$GCC" = yes; then
10791   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10792 fi
10793
10794 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10795   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10796 fi
10797 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10798   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10799 fi
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10893 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10894 hardcode_action=
10895 if test -n "$hardcode_libdir_flag_spec" ||
10896    test -n "$runpath_var" ||
10897    test "X$hardcode_automatic" = "Xyes" ; then
10898
10899   # We can hardcode non-existent directories.
10900   if test "$hardcode_direct" != no &&
10901      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10902      # have to relink, otherwise we might link with an installed library
10903      # when we should be linking with a yet-to-be-installed one
10904      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10905      test "$hardcode_minus_L" != no; then
10906     # Linking always hardcodes the temporary library directory.
10907     hardcode_action=relink
10908   else
10909     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10910     hardcode_action=immediate
10911   fi
10912 else
10913   # We cannot hardcode anything, or else we can only hardcode existing
10914   # directories.
10915   hardcode_action=unsupported
10916 fi
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10918 $as_echo "$hardcode_action" >&6; }
10919
10920 if test "$hardcode_action" = relink ||
10921    test "$inherit_rpath" = yes; then
10922   # Fast installation is not supported
10923   enable_fast_install=no
10924 elif test "$shlibpath_overrides_runpath" = yes ||
10925      test "$enable_shared" = no; then
10926   # Fast installation is not necessary
10927   enable_fast_install=needless
10928 fi
10929
10930
10931
10932
10933
10934
10935   if test "x$enable_dlopen" != xyes; then
10936   enable_dlopen=unknown
10937   enable_dlopen_self=unknown
10938   enable_dlopen_self_static=unknown
10939 else
10940   lt_cv_dlopen=no
10941   lt_cv_dlopen_libs=
10942
10943   case $host_os in
10944   beos*)
10945     lt_cv_dlopen="load_add_on"
10946     lt_cv_dlopen_libs=
10947     lt_cv_dlopen_self=yes
10948     ;;
10949
10950   mingw* | pw32* | cegcc*)
10951     lt_cv_dlopen="LoadLibrary"
10952     lt_cv_dlopen_libs=
10953     ;;
10954
10955   cygwin*)
10956     lt_cv_dlopen="dlopen"
10957     lt_cv_dlopen_libs=
10958     ;;
10959
10960   darwin*)
10961   # if libdl is installed we need to link against it
10962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10963 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10964 if ${ac_cv_lib_dl_dlopen+:} false; then :
10965   $as_echo_n "(cached) " >&6
10966 else
10967   ac_check_lib_save_LIBS=$LIBS
10968 LIBS="-ldl  $LIBS"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h.  */
10971
10972 /* Override any GCC internal prototype to avoid an error.
10973    Use char because int might match the return type of a GCC
10974    builtin and then its argument prototype would still apply.  */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char dlopen ();
10979 int
10980 main ()
10981 {
10982 return dlopen ();
10983   ;
10984   return 0;
10985 }
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988   ac_cv_lib_dl_dlopen=yes
10989 else
10990   ac_cv_lib_dl_dlopen=no
10991 fi
10992 rm -f core conftest.err conftest.$ac_objext \
10993     conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_lib_save_LIBS
10995 fi
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10997 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10998 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10999   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11000 else
11001
11002     lt_cv_dlopen="dyld"
11003     lt_cv_dlopen_libs=
11004     lt_cv_dlopen_self=yes
11005
11006 fi
11007
11008     ;;
11009
11010   *)
11011     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11012 if test "x$ac_cv_func_shl_load" = xyes; then :
11013   lt_cv_dlopen="shl_load"
11014 else
11015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11016 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11017 if ${ac_cv_lib_dld_shl_load+:} false; then :
11018   $as_echo_n "(cached) " >&6
11019 else
11020   ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-ldld  $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h.  */
11024
11025 /* Override any GCC internal prototype to avoid an error.
11026    Use char because int might match the return type of a GCC
11027    builtin and then its argument prototype would still apply.  */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char shl_load ();
11032 int
11033 main ()
11034 {
11035 return shl_load ();
11036   ;
11037   return 0;
11038 }
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041   ac_cv_lib_dld_shl_load=yes
11042 else
11043   ac_cv_lib_dld_shl_load=no
11044 fi
11045 rm -f core conftest.err conftest.$ac_objext \
11046     conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11048 fi
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11050 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11051 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11052   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11053 else
11054   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11055 if test "x$ac_cv_func_dlopen" = xyes; then :
11056   lt_cv_dlopen="dlopen"
11057 else
11058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11059 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11060 if ${ac_cv_lib_dl_dlopen+:} false; then :
11061   $as_echo_n "(cached) " >&6
11062 else
11063   ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-ldl  $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h.  */
11067
11068 /* Override any GCC internal prototype to avoid an error.
11069    Use char because int might match the return type of a GCC
11070    builtin and then its argument prototype would still apply.  */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char dlopen ();
11075 int
11076 main ()
11077 {
11078 return dlopen ();
11079   ;
11080   return 0;
11081 }
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084   ac_cv_lib_dl_dlopen=yes
11085 else
11086   ac_cv_lib_dl_dlopen=no
11087 fi
11088 rm -f core conftest.err conftest.$ac_objext \
11089     conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11091 fi
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11093 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11094 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11095   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11096 else
11097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11098 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11099 if ${ac_cv_lib_svld_dlopen+:} false; then :
11100   $as_echo_n "(cached) " >&6
11101 else
11102   ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lsvld  $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h.  */
11106
11107 /* Override any GCC internal prototype to avoid an error.
11108    Use char because int might match the return type of a GCC
11109    builtin and then its argument prototype would still apply.  */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char dlopen ();
11114 int
11115 main ()
11116 {
11117 return dlopen ();
11118   ;
11119   return 0;
11120 }
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123   ac_cv_lib_svld_dlopen=yes
11124 else
11125   ac_cv_lib_svld_dlopen=no
11126 fi
11127 rm -f core conftest.err conftest.$ac_objext \
11128     conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11130 fi
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11132 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11133 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11134   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11135 else
11136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11137 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11138 if ${ac_cv_lib_dld_dld_link+:} false; then :
11139   $as_echo_n "(cached) " >&6
11140 else
11141   ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-ldld  $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h.  */
11145
11146 /* Override any GCC internal prototype to avoid an error.
11147    Use char because int might match the return type of a GCC
11148    builtin and then its argument prototype would still apply.  */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char dld_link ();
11153 int
11154 main ()
11155 {
11156 return dld_link ();
11157   ;
11158   return 0;
11159 }
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162   ac_cv_lib_dld_dld_link=yes
11163 else
11164   ac_cv_lib_dld_dld_link=no
11165 fi
11166 rm -f core conftest.err conftest.$ac_objext \
11167     conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11169 fi
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11171 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11172 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11173   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11174 fi
11175
11176
11177 fi
11178
11179
11180 fi
11181
11182
11183 fi
11184
11185
11186 fi
11187
11188
11189 fi
11190
11191     ;;
11192   esac
11193
11194   if test "x$lt_cv_dlopen" != xno; then
11195     enable_dlopen=yes
11196   else
11197     enable_dlopen=no
11198   fi
11199
11200   case $lt_cv_dlopen in
11201   dlopen)
11202     save_CPPFLAGS="$CPPFLAGS"
11203     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11204
11205     save_LDFLAGS="$LDFLAGS"
11206     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11207
11208     save_LIBS="$LIBS"
11209     LIBS="$lt_cv_dlopen_libs $LIBS"
11210
11211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11212 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11213 if ${lt_cv_dlopen_self+:} false; then :
11214   $as_echo_n "(cached) " >&6
11215 else
11216           if test "$cross_compiling" = yes; then :
11217   lt_cv_dlopen_self=cross
11218 else
11219   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11220   lt_status=$lt_dlunknown
11221   cat > conftest.$ac_ext <<_LT_EOF
11222 #line $LINENO "configure"
11223 #include "confdefs.h"
11224
11225 #if HAVE_DLFCN_H
11226 #include <dlfcn.h>
11227 #endif
11228
11229 #include <stdio.h>
11230
11231 #ifdef RTLD_GLOBAL
11232 #  define LT_DLGLOBAL           RTLD_GLOBAL
11233 #else
11234 #  ifdef DL_GLOBAL
11235 #    define LT_DLGLOBAL         DL_GLOBAL
11236 #  else
11237 #    define LT_DLGLOBAL         0
11238 #  endif
11239 #endif
11240
11241 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11242    find out it does not work in some platform. */
11243 #ifndef LT_DLLAZY_OR_NOW
11244 #  ifdef RTLD_LAZY
11245 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11246 #  else
11247 #    ifdef DL_LAZY
11248 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11249 #    else
11250 #      ifdef RTLD_NOW
11251 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11252 #      else
11253 #        ifdef DL_NOW
11254 #          define LT_DLLAZY_OR_NOW      DL_NOW
11255 #        else
11256 #          define LT_DLLAZY_OR_NOW      0
11257 #        endif
11258 #      endif
11259 #    endif
11260 #  endif
11261 #endif
11262
11263 /* When -fvisbility=hidden is used, assume the code has been annotated
11264    correspondingly for the symbols needed.  */
11265 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11266 int fnord () __attribute__((visibility("default")));
11267 #endif
11268
11269 int fnord () { return 42; }
11270 int main ()
11271 {
11272   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11273   int status = $lt_dlunknown;
11274
11275   if (self)
11276     {
11277       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11278       else
11279         {
11280           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11281           else puts (dlerror ());
11282         }
11283       /* dlclose (self); */
11284     }
11285   else
11286     puts (dlerror ());
11287
11288   return status;
11289 }
11290 _LT_EOF
11291   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11292   (eval $ac_link) 2>&5
11293   ac_status=$?
11294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11295   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11296     (./conftest; exit; ) >&5 2>/dev/null
11297     lt_status=$?
11298     case x$lt_status in
11299       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11300       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11301       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11302     esac
11303   else :
11304     # compilation failed
11305     lt_cv_dlopen_self=no
11306   fi
11307 fi
11308 rm -fr conftest*
11309
11310
11311 fi
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11313 $as_echo "$lt_cv_dlopen_self" >&6; }
11314
11315     if test "x$lt_cv_dlopen_self" = xyes; then
11316       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11317       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11318 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11319 if ${lt_cv_dlopen_self_static+:} false; then :
11320   $as_echo_n "(cached) " >&6
11321 else
11322           if test "$cross_compiling" = yes; then :
11323   lt_cv_dlopen_self_static=cross
11324 else
11325   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11326   lt_status=$lt_dlunknown
11327   cat > conftest.$ac_ext <<_LT_EOF
11328 #line $LINENO "configure"
11329 #include "confdefs.h"
11330
11331 #if HAVE_DLFCN_H
11332 #include <dlfcn.h>
11333 #endif
11334
11335 #include <stdio.h>
11336
11337 #ifdef RTLD_GLOBAL
11338 #  define LT_DLGLOBAL           RTLD_GLOBAL
11339 #else
11340 #  ifdef DL_GLOBAL
11341 #    define LT_DLGLOBAL         DL_GLOBAL
11342 #  else
11343 #    define LT_DLGLOBAL         0
11344 #  endif
11345 #endif
11346
11347 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11348    find out it does not work in some platform. */
11349 #ifndef LT_DLLAZY_OR_NOW
11350 #  ifdef RTLD_LAZY
11351 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11352 #  else
11353 #    ifdef DL_LAZY
11354 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11355 #    else
11356 #      ifdef RTLD_NOW
11357 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11358 #      else
11359 #        ifdef DL_NOW
11360 #          define LT_DLLAZY_OR_NOW      DL_NOW
11361 #        else
11362 #          define LT_DLLAZY_OR_NOW      0
11363 #        endif
11364 #      endif
11365 #    endif
11366 #  endif
11367 #endif
11368
11369 /* When -fvisbility=hidden is used, assume the code has been annotated
11370    correspondingly for the symbols needed.  */
11371 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11372 int fnord () __attribute__((visibility("default")));
11373 #endif
11374
11375 int fnord () { return 42; }
11376 int main ()
11377 {
11378   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11379   int status = $lt_dlunknown;
11380
11381   if (self)
11382     {
11383       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11384       else
11385         {
11386           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11387           else puts (dlerror ());
11388         }
11389       /* dlclose (self); */
11390     }
11391   else
11392     puts (dlerror ());
11393
11394   return status;
11395 }
11396 _LT_EOF
11397   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11398   (eval $ac_link) 2>&5
11399   ac_status=$?
11400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11401   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11402     (./conftest; exit; ) >&5 2>/dev/null
11403     lt_status=$?
11404     case x$lt_status in
11405       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11406       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11407       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11408     esac
11409   else :
11410     # compilation failed
11411     lt_cv_dlopen_self_static=no
11412   fi
11413 fi
11414 rm -fr conftest*
11415
11416
11417 fi
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11419 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11420     fi
11421
11422     CPPFLAGS="$save_CPPFLAGS"
11423     LDFLAGS="$save_LDFLAGS"
11424     LIBS="$save_LIBS"
11425     ;;
11426   esac
11427
11428   case $lt_cv_dlopen_self in
11429   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11430   *) enable_dlopen_self=unknown ;;
11431   esac
11432
11433   case $lt_cv_dlopen_self_static in
11434   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11435   *) enable_dlopen_self_static=unknown ;;
11436   esac
11437 fi
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455 striplib=
11456 old_striplib=
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11458 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11459 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11460   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11461   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11463 $as_echo "yes" >&6; }
11464 else
11465 # FIXME - insert some real tests, host_os isn't really good enough
11466   case $host_os in
11467   darwin*)
11468     if test -n "$STRIP" ; then
11469       striplib="$STRIP -x"
11470       old_striplib="$STRIP -S"
11471       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11472 $as_echo "yes" >&6; }
11473     else
11474       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11475 $as_echo "no" >&6; }
11476     fi
11477     ;;
11478   *)
11479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11480 $as_echo "no" >&6; }
11481     ;;
11482   esac
11483 fi
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496   # Report which library types will actually be built
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11498 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11500 $as_echo "$can_build_shared" >&6; }
11501
11502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11503 $as_echo_n "checking whether to build shared libraries... " >&6; }
11504   test "$can_build_shared" = "no" && enable_shared=no
11505
11506   # On AIX, shared libraries and static libraries use the same namespace, and
11507   # are all built from PIC.
11508   case $host_os in
11509   aix3*)
11510     test "$enable_shared" = yes && enable_static=no
11511     if test -n "$RANLIB"; then
11512       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11513       postinstall_cmds='$RANLIB $lib'
11514     fi
11515     ;;
11516
11517   aix[4-9]*)
11518     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11519       test "$enable_shared" = yes && enable_static=no
11520     fi
11521     ;;
11522   esac
11523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11524 $as_echo "$enable_shared" >&6; }
11525
11526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11527 $as_echo_n "checking whether to build static libraries... " >&6; }
11528   # Make sure either enable_shared or enable_static is yes.
11529   test "$enable_shared" = yes || enable_static=yes
11530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11531 $as_echo "$enable_static" >&6; }
11532
11533
11534
11535
11536 fi
11537 ac_ext=c
11538 ac_cpp='$CPP $CPPFLAGS'
11539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11542
11543 CC="$lt_save_CC"
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559         ac_config_commands="$ac_config_commands libtool"
11560
11561
11562
11563
11564 # Only expand once:
11565
11566
11567
11568 CC_NOUNDEFINED
11569
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11571 $as_echo_n "checking for ANSI C header files... " >&6; }
11572 if ${ac_cv_header_stdc+:} false; then :
11573   $as_echo_n "(cached) " >&6
11574 else
11575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h.  */
11577 #include <stdlib.h>
11578 #include <stdarg.h>
11579 #include <string.h>
11580 #include <float.h>
11581
11582 int
11583 main ()
11584 {
11585
11586   ;
11587   return 0;
11588 }
11589 _ACEOF
11590 if ac_fn_c_try_compile "$LINENO"; then :
11591   ac_cv_header_stdc=yes
11592 else
11593   ac_cv_header_stdc=no
11594 fi
11595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11596
11597 if test $ac_cv_header_stdc = yes; then
11598   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h.  */
11601 #include <string.h>
11602
11603 _ACEOF
11604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11605   $EGREP "memchr" >/dev/null 2>&1; then :
11606
11607 else
11608   ac_cv_header_stdc=no
11609 fi
11610 rm -f conftest*
11611
11612 fi
11613
11614 if test $ac_cv_header_stdc = yes; then
11615   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h.  */
11618 #include <stdlib.h>
11619
11620 _ACEOF
11621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11622   $EGREP "free" >/dev/null 2>&1; then :
11623
11624 else
11625   ac_cv_header_stdc=no
11626 fi
11627 rm -f conftest*
11628
11629 fi
11630
11631 if test $ac_cv_header_stdc = yes; then
11632   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11633   if test "$cross_compiling" = yes; then :
11634   :
11635 else
11636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h.  */
11638 #include <ctype.h>
11639 #include <stdlib.h>
11640 #if ((' ' & 0x0FF) == 0x020)
11641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11643 #else
11644 # define ISLOWER(c) \
11645                    (('a' <= (c) && (c) <= 'i') \
11646                      || ('j' <= (c) && (c) <= 'r') \
11647                      || ('s' <= (c) && (c) <= 'z'))
11648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11649 #endif
11650
11651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11652 int
11653 main ()
11654 {
11655   int i;
11656   for (i = 0; i < 256; i++)
11657     if (XOR (islower (i), ISLOWER (i))
11658         || toupper (i) != TOUPPER (i))
11659       return 2;
11660   return 0;
11661 }
11662 _ACEOF
11663 if ac_fn_c_try_run "$LINENO"; then :
11664
11665 else
11666   ac_cv_header_stdc=no
11667 fi
11668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11669   conftest.$ac_objext conftest.beam conftest.$ac_ext
11670 fi
11671
11672 fi
11673 fi
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11675 $as_echo "$ac_cv_header_stdc" >&6; }
11676 if test $ac_cv_header_stdc = yes; then
11677
11678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11679
11680 fi
11681
11682 ac_config_headers="$ac_config_headers include/config.h"
11683
11684
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11686 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11687 if ${ac_cv_c_const+:} false; then :
11688   $as_echo_n "(cached) " >&6
11689 else
11690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h.  */
11692
11693 int
11694 main ()
11695 {
11696
11697 #ifndef __cplusplus
11698   /* Ultrix mips cc rejects this sort of thing.  */
11699   typedef int charset[2];
11700   const charset cs = { 0, 0 };
11701   /* SunOS 4.1.1 cc rejects this.  */
11702   char const *const *pcpcc;
11703   char **ppc;
11704   /* NEC SVR4.0.2 mips cc rejects this.  */
11705   struct point {int x, y;};
11706   static struct point const zero = {0,0};
11707   /* AIX XL C 1.02.0.0 rejects this.
11708      It does not let you subtract one const X* pointer from another in
11709      an arm of an if-expression whose if-part is not a constant
11710      expression */
11711   const char *g = "string";
11712   pcpcc = &g + (g ? g-g : 0);
11713   /* HPUX 7.0 cc rejects these. */
11714   ++pcpcc;
11715   ppc = (char**) pcpcc;
11716   pcpcc = (char const *const *) ppc;
11717   { /* SCO 3.2v4 cc rejects this sort of thing.  */
11718     char tx;
11719     char *t = &tx;
11720     char const *s = 0 ? (char *) 0 : (char const *) 0;
11721
11722     *t++ = 0;
11723     if (s) return 0;
11724   }
11725   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
11726     int x[] = {25, 17};
11727     const int *foo = &x[0];
11728     ++foo;
11729   }
11730   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11731     typedef const int *iptr;
11732     iptr p = 0;
11733     ++p;
11734   }
11735   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11736        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11737     struct s { int j; const int *ap[3]; } bx;
11738     struct s *b = &bx; b->j = 5;
11739   }
11740   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11741     const int foo = 10;
11742     if (!foo) return 0;
11743   }
11744   return !cs[0] && !zero.x;
11745 #endif
11746
11747   ;
11748   return 0;
11749 }
11750 _ACEOF
11751 if ac_fn_c_try_compile "$LINENO"; then :
11752   ac_cv_c_const=yes
11753 else
11754   ac_cv_c_const=no
11755 fi
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11757 fi
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11759 $as_echo "$ac_cv_c_const" >&6; }
11760 if test $ac_cv_c_const = no; then
11761
11762 $as_echo "#define const /**/" >>confdefs.h
11763
11764 fi
11765
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11767 $as_echo_n "checking for inline... " >&6; }
11768 if ${ac_cv_c_inline+:} false; then :
11769   $as_echo_n "(cached) " >&6
11770 else
11771   ac_cv_c_inline=no
11772 for ac_kw in inline __inline__ __inline; do
11773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h.  */
11775 #ifndef __cplusplus
11776 typedef int foo_t;
11777 static $ac_kw foo_t static_foo () {return 0; }
11778 $ac_kw foo_t foo () {return 0; }
11779 #endif
11780
11781 _ACEOF
11782 if ac_fn_c_try_compile "$LINENO"; then :
11783   ac_cv_c_inline=$ac_kw
11784 fi
11785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786   test "$ac_cv_c_inline" != no && break
11787 done
11788
11789 fi
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
11791 $as_echo "$ac_cv_c_inline" >&6; }
11792
11793 case $ac_cv_c_inline in
11794   inline | yes) ;;
11795   *)
11796     case $ac_cv_c_inline in
11797       no) ac_val=;;
11798       *) ac_val=$ac_cv_c_inline;;
11799     esac
11800     cat >>confdefs.h <<_ACEOF
11801 #ifndef __cplusplus
11802 #define inline $ac_val
11803 #endif
11804 _ACEOF
11805     ;;
11806 esac
11807
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11809 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11810 if ${ac_cv_header_time+:} false; then :
11811   $as_echo_n "(cached) " >&6
11812 else
11813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h.  */
11815 #include <sys/types.h>
11816 #include <sys/time.h>
11817 #include <time.h>
11818
11819 int
11820 main ()
11821 {
11822 if ((struct tm *) 0)
11823 return 0;
11824   ;
11825   return 0;
11826 }
11827 _ACEOF
11828 if ac_fn_c_try_compile "$LINENO"; then :
11829   ac_cv_header_time=yes
11830 else
11831   ac_cv_header_time=no
11832 fi
11833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11834 fi
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11836 $as_echo "$ac_cv_header_time" >&6; }
11837 if test $ac_cv_header_time = yes; then
11838
11839 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11840
11841 fi
11842
11843
11844 if test $ac_cv_c_compiler_gnu = yes; then
11845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11846 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11847 if ${ac_cv_prog_gcc_traditional+:} false; then :
11848   $as_echo_n "(cached) " >&6
11849 else
11850     ac_pattern="Autoconf.*'x'"
11851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h.  */
11853 #include <sgtty.h>
11854 Autoconf TIOCGETP
11855 _ACEOF
11856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11857   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
11858   ac_cv_prog_gcc_traditional=yes
11859 else
11860   ac_cv_prog_gcc_traditional=no
11861 fi
11862 rm -f conftest*
11863
11864
11865   if test $ac_cv_prog_gcc_traditional = no; then
11866     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h.  */
11868 #include <termio.h>
11869 Autoconf TCGETA
11870 _ACEOF
11871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11872   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
11873   ac_cv_prog_gcc_traditional=yes
11874 fi
11875 rm -f conftest*
11876
11877   fi
11878 fi
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11880 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11881   if test $ac_cv_prog_gcc_traditional = yes; then
11882     CC="$CC -traditional"
11883   fi
11884 fi
11885
11886 for ac_func in uselocale
11887 do :
11888   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
11889 if test "x$ac_cv_func_uselocale" = xyes; then :
11890   cat >>confdefs.h <<_ACEOF
11891 #define HAVE_USELOCALE 1
11892 _ACEOF
11893
11894 fi
11895 done
11896
11897
11898
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library version" >&5
11900 $as_echo_n "checking for library version... " >&6; }
11901 SND_LIB_VERSION=$VERSION
11902 echo $VERSION > $srcdir/version
11903
11904 cat >>confdefs.h <<_ACEOF
11905 #define VERSION "$SND_LIB_VERSION"
11906 _ACEOF
11907
11908
11909 SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
11910
11911 SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
11912
11913 SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'`
11914
11915 SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'`
11916 SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'`
11917 case "$SND_LIB_EXTRASTR" in
11918   pre)   SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;;
11919   alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;;
11920   beta)  SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;;
11921   rc)    SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;;
11922   *)     SND_LIB_EXTRAVER=1000000 ;;
11923 esac
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&5
11925 $as_echo "major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; }
11926
11927
11928
11929
11930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11931
11932 if test "$enable_static" = "$enable_shared" -a "$enable_static" = "yes"; then
11933 cat <<EOF
11934   Please, do not try to compile static and shared libraries together.
11935   See INSTALL file for more details (do not use --enable-shared=yes with
11936   --enable-static=yes).
11937 EOF
11938   exit 1
11939 fi
11940
11941
11942 # Check whether --with-configdir was given.
11943 if test "${with_configdir+set}" = set; then :
11944   withval=$with_configdir; confdir="$withval"
11945 else
11946   confdir=""
11947 fi
11948
11949 if test -z "$confdir"; then
11950     eval dir="$datadir"
11951     case "$dir" in
11952     /*) ;;
11953     *) dir="$prefix/share"
11954     esac
11955     confdir="$dir/alsa"
11956 fi
11957 ALSA_CONFIG_DIR="$confdir"
11958
11959 cat >>confdefs.h <<_ACEOF
11960 #define ALSA_CONFIG_DIR "$confdir"
11961 _ACEOF
11962
11963
11964
11965 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
11966
11967
11968 # Check whether --with-plugindir was given.
11969 if test "${with_plugindir+set}" = set; then :
11970   withval=$with_plugindir; plugindir="$withval"
11971 else
11972   plugindir=""
11973 fi
11974
11975 if test -z "$plugindir"; then
11976     eval dir="$libdir"
11977     case "$dir" in
11978     /*) ;;
11979     *) dir="$dir"
11980     esac
11981     plugindir="$dir/$PACKAGE"
11982 fi
11983
11984 cat >>confdefs.h <<_ACEOF
11985 #define ALSA_PLUGIN_DIR "$plugindir"
11986 _ACEOF
11987
11988 ALSA_PLUGIN_DIR="$plugindir"
11989
11990
11991
11992 # Check whether --with-pkgconfdir was given.
11993 if test "${with_pkgconfdir+set}" = set; then :
11994   withval=$with_pkgconfdir; pkgconfdir="$withval"
11995 else
11996   pkgconfdir=""
11997 fi
11998
11999 if test -z "$pkgconfdir"; then
12000     eval dir="$libdir"
12001     case "$dir" in
12002     /*) ;;
12003     *) dir="$dir"
12004     esac
12005     pkgconfdir="$dir/pkgconfig"
12006 fi
12007
12008 cat >>confdefs.h <<_ACEOF
12009 #define ALSA_PKGCONF_DIR "$pkgconfdir"
12010 _ACEOF
12011
12012 ALSA_PKGCONF_DIR="$pkgconfdir"
12013
12014
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for versioned symbols" >&5
12016 $as_echo_n "checking for versioned symbols... " >&6; }
12017
12018 # Check whether --with-versioned was given.
12019 if test "${with_versioned+set}" = set; then :
12020   withval=$with_versioned; versioned="$withval"
12021 else
12022   versioned="yes"
12023 fi
12024
12025 if test "$versioned" = "yes"; then
12026   # it seems that GNU ld versions since 2.10 are not broken
12027   xres=`grep '^VERSION=' ${srcdir}/ltmain.sh | cut -d = -f 2 | cut -d \" -f 2`
12028   major=`echo $xres | cut -d . -f 1`
12029   minor=`echo $xres | cut -d . -f 2`
12030   pass=0
12031   if test $major -eq 1 && test $minor -gt 3; then
12032     pass=1
12033   else
12034     if test $major -gt 1; then
12035       pass=1
12036     fi
12037   fi
12038   if test $pass -eq 1; then
12039
12040 $as_echo "#define VERSIONED_SYMBOLS /**/" >>confdefs.h
12041
12042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12043 $as_echo "yes" >&6; }
12044   else
12045     { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken libtool - use libtool v1.4+; no versions" >&5
12046 $as_echo "broken libtool - use libtool v1.4+; no versions" >&6; }
12047   fi
12048 else
12049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12050 $as_echo "no" >&6; }
12051 fi
12052  if test x$versioned = xyes; then
12053   VERSIONED_SYMBOLS_TRUE=
12054   VERSIONED_SYMBOLS_FALSE='#'
12055 else
12056   VERSIONED_SYMBOLS_TRUE='#'
12057   VERSIONED_SYMBOLS_FALSE=
12058 fi
12059
12060
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbolic-functions" >&5
12062 $as_echo_n "checking for symbolic-functions... " >&6; }
12063 # Check whether --enable-symbolic-functions was given.
12064 if test "${enable_symbolic_functions+set}" = set; then :
12065   enableval=$enable_symbolic_functions; symfuncs="$enableval"
12066 else
12067   symfuncs="no"
12068 fi
12069
12070 if test "$symfuncs" = "yes"; then
12071   if ld --help | grep -q -- '-Bsymbolic-functions'; then
12072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12073 $as_echo "yes" >&6; }
12074   else
12075     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported by ld" >&5
12076 $as_echo "not supported by ld" >&6; }
12077     symfuncs="no"
12078   fi
12079 else
12080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 $as_echo "no" >&6; }
12082 fi
12083  if test x"$symfuncs" = xyes; then
12084   SYMBOLIC_FUNCTIONS_TRUE=
12085   SYMBOLIC_FUNCTIONS_FALSE='#'
12086 else
12087   SYMBOLIC_FUNCTIONS_TRUE='#'
12088   SYMBOLIC_FUNCTIONS_FALSE=
12089 fi
12090
12091
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom symbol prefixes" >&5
12093 $as_echo_n "checking for custom symbol prefixes... " >&6; }
12094 SYMBOL_PREFIX=` \
12095         echo "PREFIX=__USER_LABEL_PREFIX__" \
12096                 | ${CPP-${CC-gcc} -E} - 2>&1 \
12097                 | ${EGREP-grep} "^PREFIX=" \
12098                 | ${SED-sed} "s:^PREFIX=::"`
12099
12100 cat >>confdefs.h <<_ACEOF
12101 #define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
12102 _ACEOF
12103
12104
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
12106 $as_echo "$SYMBOL_PREFIX" >&6; }
12107
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug" >&5
12109 $as_echo_n "checking for debug... " >&6; }
12110
12111 # Check whether --with-debug was given.
12112 if test "${with_debug+set}" = set; then :
12113   withval=$with_debug; debug="$withval"
12114 else
12115   debug="yes"
12116 fi
12117
12118 if test "$debug" = "yes"; then
12119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12120 $as_echo "yes" >&6; }
12121 else
12122
12123 $as_echo "#define NDEBUG /**/" >>confdefs.h
12124
12125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12127 fi
12128
12129 if test "$debug" = "yes"; then
12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug assert" >&5
12131 $as_echo_n "checking for debug assert... " >&6; }
12132   # Check whether --enable-debug-assert was given.
12133 if test "${enable_debug_assert+set}" = set; then :
12134   enableval=$enable_debug_assert; debug_assert="$enableval"
12135 else
12136   debug_assert="no"
12137 fi
12138
12139   if test "$debug_assert" = "yes"; then
12140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12141 $as_echo "yes" >&6; }
12142
12143 $as_echo "#define ALSA_DEBUG_ASSERT /**/" >>confdefs.h
12144
12145   else
12146     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12147 $as_echo "no" >&6; }
12148   fi
12149 fi
12150
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpdir" >&5
12152 $as_echo_n "checking for tmpdir... " >&6; }
12153
12154 # Check whether --with-tmpdir was given.
12155 if test "${with_tmpdir+set}" = set; then :
12156   withval=$with_tmpdir; tmpdir="$withval"
12157 else
12158   tmpdir="/tmp"
12159 fi
12160
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmpdir" >&5
12162 $as_echo "$tmpdir" >&6; }
12163
12164 cat >>confdefs.h <<_ACEOF
12165 #define TMPDIR "$tmpdir"
12166 _ACEOF
12167
12168
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for softfloat" >&5
12170 $as_echo_n "checking for softfloat... " >&6; }
12171
12172 # Check whether --with-softfloat was given.
12173 if test "${with_softfloat+set}" = set; then :
12174   withval=$with_softfloat; case "$withval" in
12175         y|yes) softfloat=yes ;;
12176         *) softfloat=no ;;
12177    esac
12178 fi
12179
12180 if test "$softfloat" = "yes" ; then
12181
12182 $as_echo "#define HAVE_SOFT_FLOAT \"1\"" >>confdefs.h
12183
12184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12185 $as_echo "yes" >&6; }
12186 else
12187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12188 $as_echo "no" >&6; }
12189 fi
12190
12191 ALSA_DEPLIBS=""
12192 if test "$softfloat" != "yes"; then
12193   ALSA_DEPLIBS="-lm"
12194 fi
12195
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdl" >&5
12197 $as_echo_n "checking for libdl... " >&6; }
12198
12199 # Check whether --with-libdl was given.
12200 if test "${with_libdl+set}" = set; then :
12201   withval=$with_libdl;  have_libdl="$withval"
12202 else
12203    have_libdl="yes"
12204 fi
12205
12206 HAVE_LIBDL=
12207 if test "$have_libdl" = "yes"; then
12208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
12209 $as_echo_n "checking for dlsym in -ldl... " >&6; }
12210 if ${ac_cv_lib_dl_dlsym+:} false; then :
12211   $as_echo_n "(cached) " >&6
12212 else
12213   ac_check_lib_save_LIBS=$LIBS
12214 LIBS="-ldl  $LIBS"
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h.  */
12217
12218 /* Override any GCC internal prototype to avoid an error.
12219    Use char because int might match the return type of a GCC
12220    builtin and then its argument prototype would still apply.  */
12221 #ifdef __cplusplus
12222 extern "C"
12223 #endif
12224 char dlsym ();
12225 int
12226 main ()
12227 {
12228 return dlsym ();
12229   ;
12230   return 0;
12231 }
12232 _ACEOF
12233 if ac_fn_c_try_link "$LINENO"; then :
12234   ac_cv_lib_dl_dlsym=yes
12235 else
12236   ac_cv_lib_dl_dlsym=no
12237 fi
12238 rm -f core conftest.err conftest.$ac_objext \
12239     conftest$ac_exeext conftest.$ac_ext
12240 LIBS=$ac_check_lib_save_LIBS
12241 fi
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
12243 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
12244 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
12245   HAVE_LIBDL="yes"
12246 fi
12247
12248   if test "$HAVE_LIBDL" = "yes" ; then
12249     ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
12250
12251 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12252
12253   fi
12254 else
12255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12257 fi
12258  if test "$HAVE_LIBDL" = "yes"; then
12259   BUILD_MODULES_TRUE=
12260   BUILD_MODULES_FALSE='#'
12261 else
12262   BUILD_MODULES_TRUE='#'
12263   BUILD_MODULES_FALSE=
12264 fi
12265
12266
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread" >&5
12268 $as_echo_n "checking for pthread... " >&6; }
12269
12270 # Check whether --with-pthread was given.
12271 if test "${with_pthread+set}" = set; then :
12272   withval=$with_pthread;  have_pthread="$withval"
12273 else
12274    have_pthread="yes"
12275 fi
12276
12277 if test "$have_pthread" = "yes"; then
12278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
12279 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
12280 if ${ac_cv_lib_pthread_pthread_join+:} false; then :
12281   $as_echo_n "(cached) " >&6
12282 else
12283   ac_check_lib_save_LIBS=$LIBS
12284 LIBS="-lpthread  $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h.  */
12287
12288 /* Override any GCC internal prototype to avoid an error.
12289    Use char because int might match the return type of a GCC
12290    builtin and then its argument prototype would still apply.  */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char pthread_join ();
12295 int
12296 main ()
12297 {
12298 return pthread_join ();
12299   ;
12300   return 0;
12301 }
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304   ac_cv_lib_pthread_pthread_join=yes
12305 else
12306   ac_cv_lib_pthread_pthread_join=no
12307 fi
12308 rm -f core conftest.err conftest.$ac_objext \
12309     conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12311 fi
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
12313 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
12314 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
12315   HAVE_LIBPTHREAD="yes"
12316 fi
12317
12318   if test "$HAVE_LIBPTHREAD" = "yes"; then
12319     ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
12320
12321 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
12322
12323   fi
12324 else
12325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12326 $as_echo "no" >&6; }
12327 fi
12328
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
12330 $as_echo_n "checking for __thread... " >&6; }
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h.  */
12333 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) || (__GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ < 2))
12334 #error gcc has this bug: http://gcc.gnu.org/ml/gcc-bugs/2006-09/msg02275.html
12335 #endif
12336 int
12337 main ()
12338 {
12339 static __thread int p = 0
12340   ;
12341   return 0;
12342 }
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345
12346 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12347
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12349 $as_echo "yes" >&6; }
12350 else
12351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12353 fi
12354 rm -f core conftest.err conftest.$ac_objext \
12355     conftest$ac_exeext conftest.$ac_ext
12356
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librt" >&5
12358 $as_echo_n "checking for librt... " >&6; }
12359
12360 # Check whether --with-librt was given.
12361 if test "${with_librt+set}" = set; then :
12362   withval=$with_librt;  have_librt="$withval"
12363 else
12364    have_librt="yes"
12365 fi
12366
12367 if test "$have_librt" = "yes"; then
12368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12369 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12370 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
12371   $as_echo_n "(cached) " >&6
12372 else
12373   ac_check_lib_save_LIBS=$LIBS
12374 LIBS="-lrt  $LIBS"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h.  */
12377
12378 /* Override any GCC internal prototype to avoid an error.
12379    Use char because int might match the return type of a GCC
12380    builtin and then its argument prototype would still apply.  */
12381 #ifdef __cplusplus
12382 extern "C"
12383 #endif
12384 char clock_gettime ();
12385 int
12386 main ()
12387 {
12388 return clock_gettime ();
12389   ;
12390   return 0;
12391 }
12392 _ACEOF
12393 if ac_fn_c_try_link "$LINENO"; then :
12394   ac_cv_lib_rt_clock_gettime=yes
12395 else
12396   ac_cv_lib_rt_clock_gettime=no
12397 fi
12398 rm -f core conftest.err conftest.$ac_objext \
12399     conftest$ac_exeext conftest.$ac_ext
12400 LIBS=$ac_check_lib_save_LIBS
12401 fi
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12403 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12404 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
12405   HAVE_LIBRT="yes"
12406 fi
12407
12408   if test "$HAVE_LIBRT" = "yes" ; then
12409     ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
12410
12411 $as_echo "#define HAVE_LIBRT 1" >>confdefs.h
12412
12413
12414 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12415
12416   fi
12417 else
12418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12420 fi
12421
12422
12423
12424 for ac_header in wordexp.h endian.h sys/endian.h
12425 do :
12426   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12427 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12428 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12429   cat >>confdefs.h <<_ACEOF
12430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12431 _ACEOF
12432
12433 fi
12434
12435 done
12436
12437
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resmgr support" >&5
12439 $as_echo_n "checking for resmgr support... " >&6; }
12440 # Check whether --enable-resmgr was given.
12441 if test "${enable_resmgr+set}" = set; then :
12442   enableval=$enable_resmgr; resmgr="$enableval"
12443 else
12444   resmgr="no"
12445 fi
12446
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $resmgr" >&5
12448 $as_echo "$resmgr" >&6; }
12449 if test "$resmgr" = "yes"; then
12450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rsm_open_device in -lresmgr" >&5
12451 $as_echo_n "checking for rsm_open_device in -lresmgr... " >&6; }
12452 if ${ac_cv_lib_resmgr_rsm_open_device+:} false; then :
12453   $as_echo_n "(cached) " >&6
12454 else
12455   ac_check_lib_save_LIBS=$LIBS
12456 LIBS="-lresmgr  $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h.  */
12459
12460 /* Override any GCC internal prototype to avoid an error.
12461    Use char because int might match the return type of a GCC
12462    builtin and then its argument prototype would still apply.  */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char rsm_open_device ();
12467 int
12468 main ()
12469 {
12470 return rsm_open_device ();
12471   ;
12472   return 0;
12473 }
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476   ac_cv_lib_resmgr_rsm_open_device=yes
12477 else
12478   ac_cv_lib_resmgr_rsm_open_device=no
12479 fi
12480 rm -f core conftest.err conftest.$ac_objext \
12481     conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_lib_save_LIBS
12483 fi
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resmgr_rsm_open_device" >&5
12485 $as_echo "$ac_cv_lib_resmgr_rsm_open_device" >&6; }
12486 if test "x$ac_cv_lib_resmgr_rsm_open_device" = xyes; then :
12487   cat >>confdefs.h <<_ACEOF
12488 #define HAVE_LIBRESMGR 1
12489 _ACEOF
12490
12491   LIBS="-lresmgr $LIBS"
12492
12493 else
12494   as_fn_error $? "Cannot find libresmgr" "$LINENO" 5
12495 fi
12496
12497
12498 $as_echo "#define SUPPORT_RESMGR \"1\"" >>confdefs.h
12499
12500 fi
12501
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* support" >&5
12503 $as_echo_n "checking for aload* support... " >&6; }
12504 # Check whether --enable-aload was given.
12505 if test "${enable_aload+set}" = set; then :
12506   enableval=$enable_aload; aload="$enableval"
12507 else
12508   aload="yes"
12509 fi
12510
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload" >&5
12512 $as_echo "$aload" >&6; }
12513 if test "$aload" = "yes"; then
12514
12515 $as_echo "#define SUPPORT_ALOAD \"1\"" >>confdefs.h
12516
12517 fi
12518
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA device file directory" >&5
12520 $as_echo_n "checking for ALSA device file directory... " >&6; }
12521
12522 # Check whether --with-alsa-devdir was given.
12523 if test "${with_alsa_devdir+set}" = set; then :
12524   withval=$with_alsa_devdir; alsa_dev_dir="$withval"
12525 else
12526   alsa_dev_dir="/dev/snd"
12527 fi
12528
12529 if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
12530   alsa_dev_dir="$alsa_dev_dir/"
12531 fi
12532
12533 cat >>confdefs.h <<_ACEOF
12534 #define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir"
12535 _ACEOF
12536
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alsa_dev_dir" >&5
12538 $as_echo "$alsa_dev_dir" >&6; }
12539
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* device file directory" >&5
12541 $as_echo_n "checking for aload* device file directory... " >&6; }
12542
12543 # Check whether --with-aload-devdir was given.
12544 if test "${with_aload_devdir+set}" = set; then :
12545   withval=$with_aload_devdir; aload_dev_dir="$withval"
12546 else
12547   aload_dev_dir="/dev"
12548 fi
12549
12550 if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
12551   aload_dev_dir="$aload_dev_dir/"
12552 fi
12553
12554 cat >>confdefs.h <<_ACEOF
12555 #define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir"
12556 _ACEOF
12557
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload_dev_dir" >&5
12559 $as_echo "$aload_dev_dir" >&6; }
12560
12561 # Check whether --enable-mixer was given.
12562 if test "${enable_mixer+set}" = set; then :
12563   enableval=$enable_mixer; build_mixer="$enableval"
12564 else
12565   build_mixer="yes"
12566 fi
12567
12568 # Check whether --enable-pcm was given.
12569 if test "${enable_pcm+set}" = set; then :
12570   enableval=$enable_pcm; build_pcm="$enableval"
12571 else
12572   build_pcm="yes"
12573 fi
12574
12575 # Check whether --enable-rawmidi was given.
12576 if test "${enable_rawmidi+set}" = set; then :
12577   enableval=$enable_rawmidi; build_rawmidi="$enableval"
12578 else
12579   build_rawmidi="yes"
12580 fi
12581
12582 # Check whether --enable-hwdep was given.
12583 if test "${enable_hwdep+set}" = set; then :
12584   enableval=$enable_hwdep; build_hwdep="$enableval"
12585 else
12586   build_hwdep="yes"
12587 fi
12588
12589 # Check whether --enable-seq was given.
12590 if test "${enable_seq+set}" = set; then :
12591   enableval=$enable_seq; build_seq="$enableval"
12592 else
12593   build_seq="yes"
12594 fi
12595
12596 # Check whether --enable-ucm was given.
12597 if test "${enable_ucm+set}" = set; then :
12598   enableval=$enable_ucm; build_ucm="$enableval"
12599 else
12600   build_ucm="yes"
12601 fi
12602
12603 # Check whether --enable-alisp was given.
12604 if test "${enable_alisp+set}" = set; then :
12605   enableval=$enable_alisp; build_alisp="$enableval"
12606 else
12607   build_alisp="yes"
12608 fi
12609
12610 test "$softfloat" = "yes" && build_alisp="no"
12611 # Check whether --enable-old-symbols was given.
12612 if test "${enable_old_symbols+set}" = set; then :
12613   enableval=$enable_old_symbols; keep_old_symbols="$enableval"
12614 else
12615   keep_old_symbols="yes"
12616 fi
12617
12618  if test x$keep_old_symbols = xyes; then
12619   KEEP_OLD_SYMBOLS_TRUE=
12620   KEEP_OLD_SYMBOLS_FALSE='#'
12621 else
12622   KEEP_OLD_SYMBOLS_TRUE='#'
12623   KEEP_OLD_SYMBOLS_FALSE=
12624 fi
12625
12626
12627 # Check whether --enable-python was given.
12628 if test "${enable_python+set}" = set; then :
12629   enableval=$enable_python; build_python="$enableval"
12630 else
12631   build_python="yes"
12632 fi
12633
12634 PYTHON_LIBS=""
12635 PYTHON_INCLUDES=""
12636 if test "$build_python" = "yes"; then
12637
12638 # Check whether --with-pythonlibs was given.
12639 if test "${with_pythonlibs+set}" = set; then :
12640   withval=$with_pythonlibs; pythonlibs="$withval"
12641 else
12642   pythonlibs=`python-config --libs`
12643 fi
12644
12645
12646 # Check whether --with-pythonincludes was given.
12647 if test "${with_pythonincludes+set}" = set; then :
12648   withval=$with_pythonincludes; pythonincludes="$withval"
12649 else
12650   pythonincludes=`python-config --includes`
12651 fi
12652
12653   if test -z "$pythonlibs"; then
12654     echo "Unable to determine python libraries! Probably python-config is not"
12655     echo "available on this system. Please, use --with-pythonlibs and"
12656     echo "--with-pythonincludes options. Python components are disabled in this build."
12657     build_python="no"
12658   else
12659     PYTHON_LIBS="$pythonlibs"
12660     PYTHON_INCLUDES="$pythonincludes"
12661   fi
12662 fi
12663
12664
12665
12666  if test x$build_mixer = xyes; then
12667   BUILD_MIXER_TRUE=
12668   BUILD_MIXER_FALSE='#'
12669 else
12670   BUILD_MIXER_TRUE='#'
12671   BUILD_MIXER_FALSE=
12672 fi
12673
12674  if test x$build_pcm = xyes; then
12675   BUILD_PCM_TRUE=
12676   BUILD_PCM_FALSE='#'
12677 else
12678   BUILD_PCM_TRUE='#'
12679   BUILD_PCM_FALSE=
12680 fi
12681
12682  if test x$build_rawmidi = xyes; then
12683   BUILD_RAWMIDI_TRUE=
12684   BUILD_RAWMIDI_FALSE='#'
12685 else
12686   BUILD_RAWMIDI_TRUE='#'
12687   BUILD_RAWMIDI_FALSE=
12688 fi
12689
12690  if test x$build_hwdep = xyes; then
12691   BUILD_HWDEP_TRUE=
12692   BUILD_HWDEP_FALSE='#'
12693 else
12694   BUILD_HWDEP_TRUE='#'
12695   BUILD_HWDEP_FALSE=
12696 fi
12697
12698  if test x$build_seq = xyes; then
12699   BUILD_SEQ_TRUE=
12700   BUILD_SEQ_FALSE='#'
12701 else
12702   BUILD_SEQ_TRUE='#'
12703   BUILD_SEQ_FALSE=
12704 fi
12705
12706  if test x$build_ucm = xyes; then
12707   BUILD_UCM_TRUE=
12708   BUILD_UCM_FALSE='#'
12709 else
12710   BUILD_UCM_TRUE='#'
12711   BUILD_UCM_FALSE=
12712 fi
12713
12714  if test x$build_alisp = xyes; then
12715   BUILD_ALISP_TRUE=
12716   BUILD_ALISP_FALSE='#'
12717 else
12718   BUILD_ALISP_TRUE='#'
12719   BUILD_ALISP_FALSE=
12720 fi
12721
12722  if test x$build_python = xyes; then
12723   BUILD_PYTHON_TRUE=
12724   BUILD_PYTHON_FALSE='#'
12725 else
12726   BUILD_PYTHON_TRUE='#'
12727   BUILD_PYTHON_FALSE=
12728 fi
12729
12730
12731 if test "$build_mixer" = "yes"; then
12732
12733 $as_echo "#define BUILD_MIXER \"1\"" >>confdefs.h
12734
12735 fi
12736 if test "$build_pcm" = "yes"; then
12737
12738 $as_echo "#define BUILD_PCM \"1\"" >>confdefs.h
12739
12740 fi
12741 if test "$build_rawmidi" = "yes"; then
12742
12743 $as_echo "#define BUILD_RAWMIDI \"1\"" >>confdefs.h
12744
12745 fi
12746 if test "$build_hwdep" = "yes"; then
12747
12748 $as_echo "#define BUILD_HWDEP \"1\"" >>confdefs.h
12749
12750 fi
12751 if test "$build_seq" = "yes"; then
12752
12753 $as_echo "#define BUILD_SEQ \"1\"" >>confdefs.h
12754
12755 fi
12756 if test "$build_ucm" = "yes"; then
12757
12758 $as_echo "#define BUILD_UCM \"1\"" >>confdefs.h
12759
12760 fi
12761
12762
12763 if test "$build_pcm" = "yes"; then
12764
12765 # Check whether --with-pcm-plugins was given.
12766 if test "${with_pcm_plugins+set}" = set; then :
12767   withval=$with_pcm_plugins; pcm_plugins="$withval"
12768 else
12769   pcm_plugins="all"
12770 fi
12771
12772 else
12773 pcm_plugins=""
12774 fi
12775
12776
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports builtin atomic intrinsics" >&5
12778 $as_echo_n "checking whether GCC supports builtin atomic intrinsics... " >&6; }
12779 if test -z "$gcc_have_atomics"; then
12780   gcc_have_atomics=no
12781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h.  */
12783
12784 int
12785 main ()
12786 {
12787 int i;
12788      __atomic_load_n(&i, __ATOMIC_SEQ_CST);
12789      __atomic_add_fetch(&i, 0, __ATOMIC_SEQ_CST);
12790
12791   ;
12792   return 0;
12793 }
12794 _ACEOF
12795 if ac_fn_c_try_link "$LINENO"; then :
12796   gcc_have_atomics=yes
12797 else
12798   gcc_have_atomics=no
12799 fi
12800 rm -f core conftest.err conftest.$ac_objext \
12801     conftest$ac_exeext conftest.$ac_ext
12802 fi
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_have_atomics" >&5
12804 $as_echo "$gcc_have_atomics" >&6; }
12805
12806 PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul"
12807
12808 build_pcm_plugin="no"
12809 for t in $PCM_PLUGIN_LIST; do
12810   eval build_pcm_$t="no"
12811 done
12812
12813 pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'`
12814 for p in $pcm_plugins; do
12815   for t in $PCM_PLUGIN_LIST; do
12816     if test "$p" = "$t" -o "$p" = "all"; then
12817       eval build_pcm_$t="yes"
12818       build_pcm_plugin="yes"
12819     fi
12820   done
12821 done
12822
12823 if test "$build_pcm_plug" = "yes"; then
12824   build_pcm_linear="yes"
12825   build_pcm_copy="yes"
12826 fi
12827
12828 if test "$build_pcm_ioplug" = "yes"; then
12829   build_pcm_extplug="yes"
12830 fi
12831
12832 if test "$HAVE_LIBDL" != "yes"; then
12833   build_pcm_meter="no"
12834   build_pcm_ladspa="no"
12835   build_pcm_pcm_ioplug="no"
12836   build_pcm_pcm_extplug="no"
12837 fi
12838
12839 if test "$HAVE_LIBPTHREAD" != "yes"; then
12840   build_pcm_share="no"
12841 fi
12842
12843 if test "$softfloat" = "yes"; then
12844   build_pcm_lfloat="no"
12845   build_pcm_ladspa="no"
12846 fi
12847
12848 if test "$gcc_have_atomics" != "yes"; then
12849   build_pcm_meter="no"
12850 fi
12851
12852  if test x$build_pcm_plugin = xyes; then
12853   BUILD_PCM_PLUGIN_TRUE=
12854   BUILD_PCM_PLUGIN_FALSE='#'
12855 else
12856   BUILD_PCM_PLUGIN_TRUE='#'
12857   BUILD_PCM_PLUGIN_FALSE=
12858 fi
12859
12860  if test x$build_pcm_copy = xyes; then
12861   BUILD_PCM_PLUGIN_COPY_TRUE=
12862   BUILD_PCM_PLUGIN_COPY_FALSE='#'
12863 else
12864   BUILD_PCM_PLUGIN_COPY_TRUE='#'
12865   BUILD_PCM_PLUGIN_COPY_FALSE=
12866 fi
12867
12868  if test x$build_pcm_linear = xyes; then
12869   BUILD_PCM_PLUGIN_LINEAR_TRUE=
12870   BUILD_PCM_PLUGIN_LINEAR_FALSE='#'
12871 else
12872   BUILD_PCM_PLUGIN_LINEAR_TRUE='#'
12873   BUILD_PCM_PLUGIN_LINEAR_FALSE=
12874 fi
12875
12876  if test x$build_pcm_route = xyes; then
12877   BUILD_PCM_PLUGIN_ROUTE_TRUE=
12878   BUILD_PCM_PLUGIN_ROUTE_FALSE='#'
12879 else
12880   BUILD_PCM_PLUGIN_ROUTE_TRUE='#'
12881   BUILD_PCM_PLUGIN_ROUTE_FALSE=
12882 fi
12883
12884  if test x$build_pcm_mulaw = xyes; then
12885   BUILD_PCM_PLUGIN_MULAW_TRUE=
12886   BUILD_PCM_PLUGIN_MULAW_FALSE='#'
12887 else
12888   BUILD_PCM_PLUGIN_MULAW_TRUE='#'
12889   BUILD_PCM_PLUGIN_MULAW_FALSE=
12890 fi
12891
12892  if test x$build_pcm_alaw = xyes; then
12893   BUILD_PCM_PLUGIN_ALAW_TRUE=
12894   BUILD_PCM_PLUGIN_ALAW_FALSE='#'
12895 else
12896   BUILD_PCM_PLUGIN_ALAW_TRUE='#'
12897   BUILD_PCM_PLUGIN_ALAW_FALSE=
12898 fi
12899
12900  if test x$build_pcm_adpcm = xyes; then
12901   BUILD_PCM_PLUGIN_ADPCM_TRUE=
12902   BUILD_PCM_PLUGIN_ADPCM_FALSE='#'
12903 else
12904   BUILD_PCM_PLUGIN_ADPCM_TRUE='#'
12905   BUILD_PCM_PLUGIN_ADPCM_FALSE=
12906 fi
12907
12908  if test x$build_pcm_rate = xyes; then
12909   BUILD_PCM_PLUGIN_RATE_TRUE=
12910   BUILD_PCM_PLUGIN_RATE_FALSE='#'
12911 else
12912   BUILD_PCM_PLUGIN_RATE_TRUE='#'
12913   BUILD_PCM_PLUGIN_RATE_FALSE=
12914 fi
12915
12916  if test x$build_pcm_plug = xyes; then
12917   BUILD_PCM_PLUGIN_PLUG_TRUE=
12918   BUILD_PCM_PLUGIN_PLUG_FALSE='#'
12919 else
12920   BUILD_PCM_PLUGIN_PLUG_TRUE='#'
12921   BUILD_PCM_PLUGIN_PLUG_FALSE=
12922 fi
12923
12924  if test x$build_pcm_multi = xyes; then
12925   BUILD_PCM_PLUGIN_MULTI_TRUE=
12926   BUILD_PCM_PLUGIN_MULTI_FALSE='#'
12927 else
12928   BUILD_PCM_PLUGIN_MULTI_TRUE='#'
12929   BUILD_PCM_PLUGIN_MULTI_FALSE=
12930 fi
12931
12932  if test x$build_pcm_shm = xyes; then
12933   BUILD_PCM_PLUGIN_SHM_TRUE=
12934   BUILD_PCM_PLUGIN_SHM_FALSE='#'
12935 else
12936   BUILD_PCM_PLUGIN_SHM_TRUE='#'
12937   BUILD_PCM_PLUGIN_SHM_FALSE=
12938 fi
12939
12940  if test x$build_pcm_file = xyes; then
12941   BUILD_PCM_PLUGIN_FILE_TRUE=
12942   BUILD_PCM_PLUGIN_FILE_FALSE='#'
12943 else
12944   BUILD_PCM_PLUGIN_FILE_TRUE='#'
12945   BUILD_PCM_PLUGIN_FILE_FALSE=
12946 fi
12947
12948  if test x$build_pcm_null = xyes; then
12949   BUILD_PCM_PLUGIN_NULL_TRUE=
12950   BUILD_PCM_PLUGIN_NULL_FALSE='#'
12951 else
12952   BUILD_PCM_PLUGIN_NULL_TRUE='#'
12953   BUILD_PCM_PLUGIN_NULL_FALSE=
12954 fi
12955
12956  if test x$build_pcm_empty = xyes; then
12957   BUILD_PCM_PLUGIN_EMPTY_TRUE=
12958   BUILD_PCM_PLUGIN_EMPTY_FALSE='#'
12959 else
12960   BUILD_PCM_PLUGIN_EMPTY_TRUE='#'
12961   BUILD_PCM_PLUGIN_EMPTY_FALSE=
12962 fi
12963
12964  if test x$build_pcm_share = xyes; then
12965   BUILD_PCM_PLUGIN_SHARE_TRUE=
12966   BUILD_PCM_PLUGIN_SHARE_FALSE='#'
12967 else
12968   BUILD_PCM_PLUGIN_SHARE_TRUE='#'
12969   BUILD_PCM_PLUGIN_SHARE_FALSE=
12970 fi
12971
12972  if test x$build_pcm_meter = xyes; then
12973   BUILD_PCM_PLUGIN_METER_TRUE=
12974   BUILD_PCM_PLUGIN_METER_FALSE='#'
12975 else
12976   BUILD_PCM_PLUGIN_METER_TRUE='#'
12977   BUILD_PCM_PLUGIN_METER_FALSE=
12978 fi
12979
12980  if test x$build_pcm_hooks = xyes; then
12981   BUILD_PCM_PLUGIN_HOOKS_TRUE=
12982   BUILD_PCM_PLUGIN_HOOKS_FALSE='#'
12983 else
12984   BUILD_PCM_PLUGIN_HOOKS_TRUE='#'
12985   BUILD_PCM_PLUGIN_HOOKS_FALSE=
12986 fi
12987
12988  if test x$build_pcm_lfloat = xyes; then
12989   BUILD_PCM_PLUGIN_LFLOAT_TRUE=
12990   BUILD_PCM_PLUGIN_LFLOAT_FALSE='#'
12991 else
12992   BUILD_PCM_PLUGIN_LFLOAT_TRUE='#'
12993   BUILD_PCM_PLUGIN_LFLOAT_FALSE=
12994 fi
12995
12996  if test x$build_pcm_ladspa = xyes; then
12997   BUILD_PCM_PLUGIN_LADSPA_TRUE=
12998   BUILD_PCM_PLUGIN_LADSPA_FALSE='#'
12999 else
13000   BUILD_PCM_PLUGIN_LADSPA_TRUE='#'
13001   BUILD_PCM_PLUGIN_LADSPA_FALSE=
13002 fi
13003
13004  if test x$build_pcm_dmix = xyes; then
13005   BUILD_PCM_PLUGIN_DMIX_TRUE=
13006   BUILD_PCM_PLUGIN_DMIX_FALSE='#'
13007 else
13008   BUILD_PCM_PLUGIN_DMIX_TRUE='#'
13009   BUILD_PCM_PLUGIN_DMIX_FALSE=
13010 fi
13011
13012  if test x$build_pcm_dshare = xyes; then
13013   BUILD_PCM_PLUGIN_DSHARE_TRUE=
13014   BUILD_PCM_PLUGIN_DSHARE_FALSE='#'
13015 else
13016   BUILD_PCM_PLUGIN_DSHARE_TRUE='#'
13017   BUILD_PCM_PLUGIN_DSHARE_FALSE=
13018 fi
13019
13020  if test x$build_pcm_dsnoop = xyes; then
13021   BUILD_PCM_PLUGIN_DSNOOP_TRUE=
13022   BUILD_PCM_PLUGIN_DSNOOP_FALSE='#'
13023 else
13024   BUILD_PCM_PLUGIN_DSNOOP_TRUE='#'
13025   BUILD_PCM_PLUGIN_DSNOOP_FALSE=
13026 fi
13027
13028  if test x$build_pcm_asym = xyes; then
13029   BUILD_PCM_PLUGIN_ASYM_TRUE=
13030   BUILD_PCM_PLUGIN_ASYM_FALSE='#'
13031 else
13032   BUILD_PCM_PLUGIN_ASYM_TRUE='#'
13033   BUILD_PCM_PLUGIN_ASYM_FALSE=
13034 fi
13035
13036  if test x$build_pcm_iec958 = xyes; then
13037   BUILD_PCM_PLUGIN_IEC958_TRUE=
13038   BUILD_PCM_PLUGIN_IEC958_FALSE='#'
13039 else
13040   BUILD_PCM_PLUGIN_IEC958_TRUE='#'
13041   BUILD_PCM_PLUGIN_IEC958_FALSE=
13042 fi
13043
13044  if test x$build_pcm_softvol = xyes; then
13045   BUILD_PCM_PLUGIN_SOFTVOL_TRUE=
13046   BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#'
13047 else
13048   BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#'
13049   BUILD_PCM_PLUGIN_SOFTVOL_FALSE=
13050 fi
13051
13052  if test x$build_pcm_extplug = xyes; then
13053   BUILD_PCM_PLUGIN_EXTPLUG_TRUE=
13054   BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#'
13055 else
13056   BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#'
13057   BUILD_PCM_PLUGIN_EXTPLUG_FALSE=
13058 fi
13059
13060  if test x$build_pcm_ioplug = xyes; then
13061   BUILD_PCM_PLUGIN_IOPLUG_TRUE=
13062   BUILD_PCM_PLUGIN_IOPLUG_FALSE='#'
13063 else
13064   BUILD_PCM_PLUGIN_IOPLUG_TRUE='#'
13065   BUILD_PCM_PLUGIN_IOPLUG_FALSE=
13066 fi
13067
13068  if test x$build_pcm_mmap_emul = xyes; then
13069   BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE=
13070   BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#'
13071 else
13072   BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#'
13073   BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE=
13074 fi
13075
13076
13077 if test "$build_pcm_rate" = "yes"; then
13078
13079 $as_echo "#define BUILD_PCM_PLUGIN_RATE \"1\"" >>confdefs.h
13080
13081 fi
13082 if test "$build_pcm_route" = "yes"; then
13083
13084 $as_echo "#define BUILD_PCM_PLUGIN_ROUTE \"1\"" >>confdefs.h
13085
13086 fi
13087 if test "$build_pcm_lfloat" = "yes"; then
13088
13089 $as_echo "#define BUILD_PCM_PLUGIN_LFLOAT \"1\"" >>confdefs.h
13090
13091 fi
13092 if test "$build_pcm_adpcm" = "yes"; then
13093
13094 $as_echo "#define BUILD_PCM_PLUGIN_ADPCM \"1\"" >>confdefs.h
13095
13096 fi
13097 if test "$build_pcm_mulaw" = "yes"; then
13098
13099 $as_echo "#define BUILD_PCM_PLUGIN_MULAW \"1\"" >>confdefs.h
13100
13101 fi
13102 if test "$build_pcm_alaw" = "yes"; then
13103
13104 $as_echo "#define BUILD_PCM_PLUGIN_ALAW \"1\"" >>confdefs.h
13105
13106 fi
13107 if test "$build_pcm_mmap_emul" = "yes"; then
13108
13109 $as_echo "#define BUILD_PCM_PLUGIN_MMAP_EMUL \"1\"" >>confdefs.h
13110
13111 fi
13112
13113
13114 rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
13115 touch "$srcdir"/src/pcm/pcm_symbols_list.c
13116 for t in $PCM_PLUGIN_LIST; do
13117   if eval test \$build_pcm_$t = yes; then
13118     echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
13119   fi
13120 done
13121
13122
13123
13124 # Check whether --with-ctl-plugins was given.
13125 if test "${with_ctl_plugins+set}" = set; then :
13126   withval=$with_ctl_plugins; ctl_plugins="$withval"
13127 else
13128   ctl_plugins="all"
13129 fi
13130
13131
13132 CTL_PLUGIN_LIST="shm ext"
13133
13134 build_ctl_plugin="no"
13135 for t in $CTL_PLUGIN_LIST; do
13136   eval build_ctl_$t="no"
13137 done
13138
13139 ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'`
13140 for p in $ctl_plugins; do
13141   for t in $CTL_PLUGIN_LIST; do
13142     if test "$p" = "$t" -o "$p" = "all"; then
13143       eval build_ctl_$t="yes"
13144       build_ctl_plugin="yes"
13145     fi
13146   done
13147 done
13148
13149  if test x$build_ctl_plugin = xyes; then
13150   BUILD_CTL_PLUGIN_TRUE=
13151   BUILD_CTL_PLUGIN_FALSE='#'
13152 else
13153   BUILD_CTL_PLUGIN_TRUE='#'
13154   BUILD_CTL_PLUGIN_FALSE=
13155 fi
13156
13157  if test x$build_ctl_shm = xyes; then
13158   BUILD_CTL_PLUGIN_SHM_TRUE=
13159   BUILD_CTL_PLUGIN_SHM_FALSE='#'
13160 else
13161   BUILD_CTL_PLUGIN_SHM_TRUE='#'
13162   BUILD_CTL_PLUGIN_SHM_FALSE=
13163 fi
13164
13165  if test x$build_ctl_ext = xyes; then
13166   BUILD_CTL_PLUGIN_EXT_TRUE=
13167   BUILD_CTL_PLUGIN_EXT_FALSE='#'
13168 else
13169   BUILD_CTL_PLUGIN_EXT_TRUE='#'
13170   BUILD_CTL_PLUGIN_EXT_FALSE=
13171 fi
13172
13173
13174 rm -f "$srcdir"/src/control/ctl_symbols_list.c
13175 touch "$srcdir"/src/control/ctl_symbols_list.c
13176 for t in $CTL_PLUGIN_LIST; do
13177   if eval test \$build_ctl_$t = yes; then
13178     echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c
13179   fi
13180 done
13181
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for max number of cards" >&5
13183 $as_echo_n "checking for max number of cards... " >&6; }
13184
13185 # Check whether --with-max-cards was given.
13186 if test "${with_max_cards+set}" = set; then :
13187   withval=$with_max_cards;  max_cards="$withval"
13188 else
13189    max_cards="32"
13190 fi
13191
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $max_cards" >&5
13193 $as_echo "$max_cards" >&6; }
13194
13195 if test "$max_cards" -lt 1; then
13196    as_fn_error $? "Invalid max cards $max_cards" "$LINENO" 5
13197 elif test "$max_cards" -gt 256; then
13198    as_fn_error $? "Invalid max cards $max_cards" "$LINENO" 5
13199 fi
13200
13201 cat >>confdefs.h <<_ACEOF
13202 #define SND_MAX_CARDS $max_cards
13203 _ACEOF
13204
13205
13206 if test ! -L "$srcdir"/include/alsa ; then
13207   echo "Making a symlink include/alsa"
13208   rm -f "$srcdir"/include/alsa
13209   ln -sf . "$srcdir"/include/alsa
13210 fi
13211
13212 ac_config_files="$ac_config_files Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg include/Makefile include/sound/Makefile src/Versions src/Makefile src/control/Makefile src/mixer/Makefile src/pcm/Makefile src/pcm/scopes/Makefile src/rawmidi/Makefile src/timer/Makefile src/hwdep/Makefile src/seq/Makefile src/ucm/Makefile src/alisp/Makefile src/conf/Makefile src/conf/alsa.conf.d/Makefile src/conf/cards/Makefile src/conf/pcm/Makefile src/conf/ucm/Makefile src/conf/ucm/DAISY-I2S/Makefile src/conf/ucm/PandaBoard/Makefile src/conf/ucm/PandaBoardES/Makefile src/conf/ucm/SDP4430/Makefile src/conf/ucm/tegraalc5632/Makefile modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile alsalisp/Makefile aserver/Makefile test/Makefile test/lsb/Makefile utils/Makefile utils/alsa-lib.spec utils/alsa.pc"
13213
13214 cat >confcache <<\_ACEOF
13215 # This file is a shell script that caches the results of configure
13216 # tests run on this system so they can be shared between configure
13217 # scripts and configure runs, see configure's option --config-cache.
13218 # It is not useful on other systems.  If it contains results you don't
13219 # want to keep, you may remove or edit it.
13220 #
13221 # config.status only pays attention to the cache file if you give it
13222 # the --recheck option to rerun configure.
13223 #
13224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13226 # following values.
13227
13228 _ACEOF
13229
13230 # The following way of writing the cache mishandles newlines in values,
13231 # but we know of no workaround that is simple, portable, and efficient.
13232 # So, we kill variables containing newlines.
13233 # Ultrix sh set writes to stderr and can't be redirected directly,
13234 # and sets the high bit in the cache file unless we assign to the vars.
13235 (
13236   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13237     eval ac_val=\$$ac_var
13238     case $ac_val in #(
13239     *${as_nl}*)
13240       case $ac_var in #(
13241       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13243       esac
13244       case $ac_var in #(
13245       _ | IFS | as_nl) ;; #(
13246       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13247       *) { eval $ac_var=; unset $ac_var;} ;;
13248       esac ;;
13249     esac
13250   done
13251
13252   (set) 2>&1 |
13253     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13254     *${as_nl}ac_space=\ *)
13255       # `set' does not quote correctly, so add quotes: double-quote
13256       # substitution turns \\\\ into \\, and sed turns \\ into \.
13257       sed -n \
13258         "s/'/'\\\\''/g;
13259           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13260       ;; #(
13261     *)
13262       # `set' quotes correctly as required by POSIX, so do not add quotes.
13263       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13264       ;;
13265     esac |
13266     sort
13267 ) |
13268   sed '
13269      /^ac_cv_env_/b end
13270      t clear
13271      :clear
13272      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13273      t end
13274      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13275      :end' >>confcache
13276 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13277   if test -w "$cache_file"; then
13278     if test "x$cache_file" != "x/dev/null"; then
13279       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13280 $as_echo "$as_me: updating cache $cache_file" >&6;}
13281       if test ! -f "$cache_file" || test -h "$cache_file"; then
13282         cat confcache >"$cache_file"
13283       else
13284         case $cache_file in #(
13285         */* | ?:*)
13286           mv -f confcache "$cache_file"$$ &&
13287           mv -f "$cache_file"$$ "$cache_file" ;; #(
13288         *)
13289           mv -f confcache "$cache_file" ;;
13290         esac
13291       fi
13292     fi
13293   else
13294     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13295 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13296   fi
13297 fi
13298 rm -f confcache
13299
13300 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13301 # Let make expand exec_prefix.
13302 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13303
13304 DEFS=-DHAVE_CONFIG_H
13305
13306 ac_libobjs=
13307 ac_ltlibobjs=
13308 U=
13309 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13310   # 1. Remove the extension, and $U if already installed.
13311   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13312   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13313   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13314   #    will be set to the directory where LIBOBJS objects are built.
13315   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13316   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13317 done
13318 LIBOBJS=$ac_libobjs
13319
13320 LTLIBOBJS=$ac_ltlibobjs
13321
13322
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13324 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13325    if test -n "$am_sleep_pid"; then
13326      # Hide warnings about reused PIDs.
13327      wait $am_sleep_pid 2>/dev/null
13328    fi
13329    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13330 $as_echo "done" >&6; }
13331  if test -n "$EXEEXT"; then
13332   am__EXEEXT_TRUE=
13333   am__EXEEXT_FALSE='#'
13334 else
13335   am__EXEEXT_TRUE='#'
13336   am__EXEEXT_FALSE=
13337 fi
13338
13339 if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then
13340   as_fn_error $? "conditional \"INSTALL_M4\" was never defined.
13341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13342 fi
13343 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13344   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13346 fi
13347 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13348   as_fn_error $? "conditional \"AMDEP\" was never defined.
13349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13350 fi
13351 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13352   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13354 fi
13355 if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
13356   as_fn_error $? "conditional \"VERSIONED_SYMBOLS\" was never defined.
13357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13358 fi
13359 if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then
13360   as_fn_error $? "conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
13361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13362 fi
13363 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
13364   as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
13365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13366 fi
13367 if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then
13368   as_fn_error $? "conditional \"KEEP_OLD_SYMBOLS\" was never defined.
13369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13370 fi
13371 if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then
13372   as_fn_error $? "conditional \"BUILD_MIXER\" was never defined.
13373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13374 fi
13375 if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then
13376   as_fn_error $? "conditional \"BUILD_PCM\" was never defined.
13377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13378 fi
13379 if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then
13380   as_fn_error $? "conditional \"BUILD_RAWMIDI\" was never defined.
13381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13382 fi
13383 if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then
13384   as_fn_error $? "conditional \"BUILD_HWDEP\" was never defined.
13385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13386 fi
13387 if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then
13388   as_fn_error $? "conditional \"BUILD_SEQ\" was never defined.
13389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390 fi
13391 if test -z "${BUILD_UCM_TRUE}" && test -z "${BUILD_UCM_FALSE}"; then
13392   as_fn_error $? "conditional \"BUILD_UCM\" was never defined.
13393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13394 fi
13395 if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then
13396   as_fn_error $? "conditional \"BUILD_ALISP\" was never defined.
13397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13398 fi
13399 if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then
13400   as_fn_error $? "conditional \"BUILD_PYTHON\" was never defined.
13401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13402 fi
13403 if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then
13404   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN\" was never defined.
13405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13406 fi
13407 if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then
13408   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined.
13409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13410 fi
13411 if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then
13412   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined.
13413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13414 fi
13415 if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then
13416   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined.
13417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13418 fi
13419 if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then
13420   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined.
13421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13422 fi
13423 if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then
13424   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined.
13425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13426 fi
13427 if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then
13428   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined.
13429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13430 fi
13431 if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then
13432   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined.
13433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13434 fi
13435 if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then
13436   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined.
13437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13438 fi
13439 if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then
13440   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined.
13441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13442 fi
13443 if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then
13444   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined.
13445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13446 fi
13447 if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then
13448   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined.
13449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13450 fi
13451 if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then
13452   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined.
13453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13454 fi
13455 if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then
13456   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined.
13457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13458 fi
13459 if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then
13460   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined.
13461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13462 fi
13463 if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then
13464   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_METER\" was never defined.
13465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13466 fi
13467 if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then
13468   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined.
13469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13470 fi
13471 if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then
13472   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined.
13473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13474 fi
13475 if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then
13476   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined.
13477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13478 fi
13479 if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then
13480   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined.
13481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13482 fi
13483 if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then
13484   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined.
13485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13486 fi
13487 if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then
13488   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined.
13489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13490 fi
13491 if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then
13492   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined.
13493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13494 fi
13495 if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then
13496   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined.
13497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13498 fi
13499 if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then
13500   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined.
13501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13502 fi
13503 if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then
13504   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined.
13505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13506 fi
13507 if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then
13508   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined.
13509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13510 fi
13511 if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then
13512   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined.
13513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13514 fi
13515 if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then
13516   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN\" was never defined.
13517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13518 fi
13519 if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then
13520   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined.
13521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13522 fi
13523 if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then
13524   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined.
13525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13526 fi
13527
13528 : "${CONFIG_STATUS=./config.status}"
13529 ac_write_fail=0
13530 ac_clean_files_save=$ac_clean_files
13531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13534 as_write_fail=0
13535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13536 #! $SHELL
13537 # Generated by $as_me.
13538 # Run this file to recreate the current configuration.
13539 # Compiler output produced by configure, useful for debugging
13540 # configure, is in config.log if it exists.
13541
13542 debug=false
13543 ac_cs_recheck=false
13544 ac_cs_silent=false
13545
13546 SHELL=\${CONFIG_SHELL-$SHELL}
13547 export SHELL
13548 _ASEOF
13549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13550 ## -------------------- ##
13551 ## M4sh Initialization. ##
13552 ## -------------------- ##
13553
13554 # Be more Bourne compatible
13555 DUALCASE=1; export DUALCASE # for MKS sh
13556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13557   emulate sh
13558   NULLCMD=:
13559   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13560   # is contrary to our usage.  Disable this feature.
13561   alias -g '${1+"$@"}'='"$@"'
13562   setopt NO_GLOB_SUBST
13563 else
13564   case `(set -o) 2>/dev/null` in #(
13565   *posix*) :
13566     set -o posix ;; #(
13567   *) :
13568      ;;
13569 esac
13570 fi
13571
13572
13573 as_nl='
13574 '
13575 export as_nl
13576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13577 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13580 # Prefer a ksh shell builtin over an external printf program on Solaris,
13581 # but without wasting forks for bash or zsh.
13582 if test -z "$BASH_VERSION$ZSH_VERSION" \
13583     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13584   as_echo='print -r --'
13585   as_echo_n='print -rn --'
13586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13587   as_echo='printf %s\n'
13588   as_echo_n='printf %s'
13589 else
13590   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13591     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13592     as_echo_n='/usr/ucb/echo -n'
13593   else
13594     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13595     as_echo_n_body='eval
13596       arg=$1;
13597       case $arg in #(
13598       *"$as_nl"*)
13599         expr "X$arg" : "X\\(.*\\)$as_nl";
13600         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13601       esac;
13602       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13603     '
13604     export as_echo_n_body
13605     as_echo_n='sh -c $as_echo_n_body as_echo'
13606   fi
13607   export as_echo_body
13608   as_echo='sh -c $as_echo_body as_echo'
13609 fi
13610
13611 # The user is always right.
13612 if test "${PATH_SEPARATOR+set}" != set; then
13613   PATH_SEPARATOR=:
13614   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13615     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13616       PATH_SEPARATOR=';'
13617   }
13618 fi
13619
13620
13621 # IFS
13622 # We need space, tab and new line, in precisely that order.  Quoting is
13623 # there to prevent editors from complaining about space-tab.
13624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13625 # splitting by setting IFS to empty value.)
13626 IFS=" ""        $as_nl"
13627
13628 # Find who we are.  Look in the path if we contain no directory separator.
13629 as_myself=
13630 case $0 in #((
13631   *[\\/]* ) as_myself=$0 ;;
13632   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13633 for as_dir in $PATH
13634 do
13635   IFS=$as_save_IFS
13636   test -z "$as_dir" && as_dir=.
13637     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13638   done
13639 IFS=$as_save_IFS
13640
13641      ;;
13642 esac
13643 # We did not find ourselves, most probably we were run as `sh COMMAND'
13644 # in which case we are not to be found in the path.
13645 if test "x$as_myself" = x; then
13646   as_myself=$0
13647 fi
13648 if test ! -f "$as_myself"; then
13649   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13650   exit 1
13651 fi
13652
13653 # Unset variables that we do not need and which cause bugs (e.g. in
13654 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13655 # suppresses any "Segmentation fault" message there.  '((' could
13656 # trigger a bug in pdksh 5.2.14.
13657 for as_var in BASH_ENV ENV MAIL MAILPATH
13658 do eval test x\${$as_var+set} = xset \
13659   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13660 done
13661 PS1='$ '
13662 PS2='> '
13663 PS4='+ '
13664
13665 # NLS nuisances.
13666 LC_ALL=C
13667 export LC_ALL
13668 LANGUAGE=C
13669 export LANGUAGE
13670
13671 # CDPATH.
13672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13673
13674
13675 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13676 # ----------------------------------------
13677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13679 # script with STATUS, using 1 if that was 0.
13680 as_fn_error ()
13681 {
13682   as_status=$1; test $as_status -eq 0 && as_status=1
13683   if test "$4"; then
13684     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13685     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13686   fi
13687   $as_echo "$as_me: error: $2" >&2
13688   as_fn_exit $as_status
13689 } # as_fn_error
13690
13691
13692 # as_fn_set_status STATUS
13693 # -----------------------
13694 # Set $? to STATUS, without forking.
13695 as_fn_set_status ()
13696 {
13697   return $1
13698 } # as_fn_set_status
13699
13700 # as_fn_exit STATUS
13701 # -----------------
13702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13703 as_fn_exit ()
13704 {
13705   set +e
13706   as_fn_set_status $1
13707   exit $1
13708 } # as_fn_exit
13709
13710 # as_fn_unset VAR
13711 # ---------------
13712 # Portably unset VAR.
13713 as_fn_unset ()
13714 {
13715   { eval $1=; unset $1;}
13716 }
13717 as_unset=as_fn_unset
13718 # as_fn_append VAR VALUE
13719 # ----------------------
13720 # Append the text in VALUE to the end of the definition contained in VAR. Take
13721 # advantage of any shell optimizations that allow amortized linear growth over
13722 # repeated appends, instead of the typical quadratic growth present in naive
13723 # implementations.
13724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13725   eval 'as_fn_append ()
13726   {
13727     eval $1+=\$2
13728   }'
13729 else
13730   as_fn_append ()
13731   {
13732     eval $1=\$$1\$2
13733   }
13734 fi # as_fn_append
13735
13736 # as_fn_arith ARG...
13737 # ------------------
13738 # Perform arithmetic evaluation on the ARGs, and store the result in the
13739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13740 # must be portable across $(()) and expr.
13741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13742   eval 'as_fn_arith ()
13743   {
13744     as_val=$(( $* ))
13745   }'
13746 else
13747   as_fn_arith ()
13748   {
13749     as_val=`expr "$@" || test $? -eq 1`
13750   }
13751 fi # as_fn_arith
13752
13753
13754 if expr a : '\(a\)' >/dev/null 2>&1 &&
13755    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13756   as_expr=expr
13757 else
13758   as_expr=false
13759 fi
13760
13761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13762   as_basename=basename
13763 else
13764   as_basename=false
13765 fi
13766
13767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13768   as_dirname=dirname
13769 else
13770   as_dirname=false
13771 fi
13772
13773 as_me=`$as_basename -- "$0" ||
13774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13775          X"$0" : 'X\(//\)$' \| \
13776          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13777 $as_echo X/"$0" |
13778     sed '/^.*\/\([^/][^/]*\)\/*$/{
13779             s//\1/
13780             q
13781           }
13782           /^X\/\(\/\/\)$/{
13783             s//\1/
13784             q
13785           }
13786           /^X\/\(\/\).*/{
13787             s//\1/
13788             q
13789           }
13790           s/.*/./; q'`
13791
13792 # Avoid depending upon Character Ranges.
13793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13796 as_cr_digits='0123456789'
13797 as_cr_alnum=$as_cr_Letters$as_cr_digits
13798
13799 ECHO_C= ECHO_N= ECHO_T=
13800 case `echo -n x` in #(((((
13801 -n*)
13802   case `echo 'xy\c'` in
13803   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13804   xy)  ECHO_C='\c';;
13805   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13806        ECHO_T=' ';;
13807   esac;;
13808 *)
13809   ECHO_N='-n';;
13810 esac
13811
13812 rm -f conf$$ conf$$.exe conf$$.file
13813 if test -d conf$$.dir; then
13814   rm -f conf$$.dir/conf$$.file
13815 else
13816   rm -f conf$$.dir
13817   mkdir conf$$.dir 2>/dev/null
13818 fi
13819 if (echo >conf$$.file) 2>/dev/null; then
13820   if ln -s conf$$.file conf$$ 2>/dev/null; then
13821     as_ln_s='ln -s'
13822     # ... but there are two gotchas:
13823     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13824     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13825     # In both cases, we have to default to `cp -pR'.
13826     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13827       as_ln_s='cp -pR'
13828   elif ln conf$$.file conf$$ 2>/dev/null; then
13829     as_ln_s=ln
13830   else
13831     as_ln_s='cp -pR'
13832   fi
13833 else
13834   as_ln_s='cp -pR'
13835 fi
13836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13837 rmdir conf$$.dir 2>/dev/null
13838
13839
13840 # as_fn_mkdir_p
13841 # -------------
13842 # Create "$as_dir" as a directory, including parents if necessary.
13843 as_fn_mkdir_p ()
13844 {
13845
13846   case $as_dir in #(
13847   -*) as_dir=./$as_dir;;
13848   esac
13849   test -d "$as_dir" || eval $as_mkdir_p || {
13850     as_dirs=
13851     while :; do
13852       case $as_dir in #(
13853       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13854       *) as_qdir=$as_dir;;
13855       esac
13856       as_dirs="'$as_qdir' $as_dirs"
13857       as_dir=`$as_dirname -- "$as_dir" ||
13858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13859          X"$as_dir" : 'X\(//\)[^/]' \| \
13860          X"$as_dir" : 'X\(//\)$' \| \
13861          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13862 $as_echo X"$as_dir" |
13863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13864             s//\1/
13865             q
13866           }
13867           /^X\(\/\/\)[^/].*/{
13868             s//\1/
13869             q
13870           }
13871           /^X\(\/\/\)$/{
13872             s//\1/
13873             q
13874           }
13875           /^X\(\/\).*/{
13876             s//\1/
13877             q
13878           }
13879           s/.*/./; q'`
13880       test -d "$as_dir" && break
13881     done
13882     test -z "$as_dirs" || eval "mkdir $as_dirs"
13883   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13884
13885
13886 } # as_fn_mkdir_p
13887 if mkdir -p . 2>/dev/null; then
13888   as_mkdir_p='mkdir -p "$as_dir"'
13889 else
13890   test -d ./-p && rmdir ./-p
13891   as_mkdir_p=false
13892 fi
13893
13894
13895 # as_fn_executable_p FILE
13896 # -----------------------
13897 # Test if FILE is an executable regular file.
13898 as_fn_executable_p ()
13899 {
13900   test -f "$1" && test -x "$1"
13901 } # as_fn_executable_p
13902 as_test_x='test -x'
13903 as_executable_p=as_fn_executable_p
13904
13905 # Sed expression to map a string onto a valid CPP name.
13906 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13907
13908 # Sed expression to map a string onto a valid variable name.
13909 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13910
13911
13912 exec 6>&1
13913 ## ----------------------------------- ##
13914 ## Main body of $CONFIG_STATUS script. ##
13915 ## ----------------------------------- ##
13916 _ASEOF
13917 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13918
13919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13920 # Save the log message, to keep $0 and so on meaningful, and to
13921 # report actual input values of CONFIG_FILES etc. instead of their
13922 # values after options handling.
13923 ac_log="
13924 This file was extended by alsa-lib $as_me 1.0.28, which was
13925 generated by GNU Autoconf 2.69.  Invocation command line was
13926
13927   CONFIG_FILES    = $CONFIG_FILES
13928   CONFIG_HEADERS  = $CONFIG_HEADERS
13929   CONFIG_LINKS    = $CONFIG_LINKS
13930   CONFIG_COMMANDS = $CONFIG_COMMANDS
13931   $ $0 $@
13932
13933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13934 "
13935
13936 _ACEOF
13937
13938 case $ac_config_files in *"
13939 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13940 esac
13941
13942 case $ac_config_headers in *"
13943 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13944 esac
13945
13946
13947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13948 # Files that config.status was made for.
13949 config_files="$ac_config_files"
13950 config_headers="$ac_config_headers"
13951 config_commands="$ac_config_commands"
13952
13953 _ACEOF
13954
13955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13956 ac_cs_usage="\
13957 \`$as_me' instantiates files and other configuration actions
13958 from templates according to the current configuration.  Unless the files
13959 and actions are specified as TAGs, all are instantiated by default.
13960
13961 Usage: $0 [OPTION]... [TAG]...
13962
13963   -h, --help       print this help, then exit
13964   -V, --version    print version number and configuration settings, then exit
13965       --config     print configuration, then exit
13966   -q, --quiet, --silent
13967                    do not print progress messages
13968   -d, --debug      don't remove temporary files
13969       --recheck    update $as_me by reconfiguring in the same conditions
13970       --file=FILE[:TEMPLATE]
13971                    instantiate the configuration file FILE
13972       --header=FILE[:TEMPLATE]
13973                    instantiate the configuration header FILE
13974
13975 Configuration files:
13976 $config_files
13977
13978 Configuration headers:
13979 $config_headers
13980
13981 Configuration commands:
13982 $config_commands
13983
13984 Report bugs to the package provider."
13985
13986 _ACEOF
13987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13988 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13989 ac_cs_version="\\
13990 alsa-lib config.status 1.0.28
13991 configured by $0, generated by GNU Autoconf 2.69,
13992   with options \\"\$ac_cs_config\\"
13993
13994 Copyright (C) 2012 Free Software Foundation, Inc.
13995 This config.status script is free software; the Free Software Foundation
13996 gives unlimited permission to copy, distribute and modify it."
13997
13998 ac_pwd='$ac_pwd'
13999 srcdir='$srcdir'
14000 INSTALL='$INSTALL'
14001 MKDIR_P='$MKDIR_P'
14002 AWK='$AWK'
14003 test -n "\$AWK" || AWK=awk
14004 _ACEOF
14005
14006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14007 # The default lists apply if the user does not specify any file.
14008 ac_need_defaults=:
14009 while test $# != 0
14010 do
14011   case $1 in
14012   --*=?*)
14013     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14014     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14015     ac_shift=:
14016     ;;
14017   --*=)
14018     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14019     ac_optarg=
14020     ac_shift=:
14021     ;;
14022   *)
14023     ac_option=$1
14024     ac_optarg=$2
14025     ac_shift=shift
14026     ;;
14027   esac
14028
14029   case $ac_option in
14030   # Handling of the options.
14031   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14032     ac_cs_recheck=: ;;
14033   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14034     $as_echo "$ac_cs_version"; exit ;;
14035   --config | --confi | --conf | --con | --co | --c )
14036     $as_echo "$ac_cs_config"; exit ;;
14037   --debug | --debu | --deb | --de | --d | -d )
14038     debug=: ;;
14039   --file | --fil | --fi | --f )
14040     $ac_shift
14041     case $ac_optarg in
14042     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14043     '') as_fn_error $? "missing file argument" ;;
14044     esac
14045     as_fn_append CONFIG_FILES " '$ac_optarg'"
14046     ac_need_defaults=false;;
14047   --header | --heade | --head | --hea )
14048     $ac_shift
14049     case $ac_optarg in
14050     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14051     esac
14052     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14053     ac_need_defaults=false;;
14054   --he | --h)
14055     # Conflict between --help and --header
14056     as_fn_error $? "ambiguous option: \`$1'
14057 Try \`$0 --help' for more information.";;
14058   --help | --hel | -h )
14059     $as_echo "$ac_cs_usage"; exit ;;
14060   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14061   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14062     ac_cs_silent=: ;;
14063
14064   # This is an error.
14065   -*) as_fn_error $? "unrecognized option: \`$1'
14066 Try \`$0 --help' for more information." ;;
14067
14068   *) as_fn_append ac_config_targets " $1"
14069      ac_need_defaults=false ;;
14070
14071   esac
14072   shift
14073 done
14074
14075 ac_configure_extra_args=
14076
14077 if $ac_cs_silent; then
14078   exec 6>/dev/null
14079   ac_configure_extra_args="$ac_configure_extra_args --silent"
14080 fi
14081
14082 _ACEOF
14083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14084 if \$ac_cs_recheck; then
14085   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14086   shift
14087   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14088   CONFIG_SHELL='$SHELL'
14089   export CONFIG_SHELL
14090   exec "\$@"
14091 fi
14092
14093 _ACEOF
14094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14095 exec 5>>config.log
14096 {
14097   echo
14098   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14099 ## Running $as_me. ##
14100 _ASBOX
14101   $as_echo "$ac_log"
14102 } >&5
14103
14104 _ACEOF
14105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14106 #
14107 # INIT-COMMANDS
14108 #
14109 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14110
14111
14112 # The HP-UX ksh and POSIX shell print the target directory to stdout
14113 # if CDPATH is set.
14114 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14115
14116 sed_quote_subst='$sed_quote_subst'
14117 double_quote_subst='$double_quote_subst'
14118 delay_variable_subst='$delay_variable_subst'
14119 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14120 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14121 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14122 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14123 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14124 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14125 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14126 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14127 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14128 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14129 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14130 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14131 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14132 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14133 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14134 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14135 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14136 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14137 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14138 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14139 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14140 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14141 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14142 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14143 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14144 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14145 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14146 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14147 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14148 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14149 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14150 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14151 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14152 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14153 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14154 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14155 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14156 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14157 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14158 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14159 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14160 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14161 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14162 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14163 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14164 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14165 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14166 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14167 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14168 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14169 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14170 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14171 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14172 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14173 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14174 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14175 lt_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"`'
14176 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14177 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14178 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14179 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14180 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14181 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14182 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14183 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14184 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14185 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14186 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14187 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14188 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14189 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14190 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14191 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14192 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14193 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14194 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14195 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14196 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14197 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14198 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14199 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14200 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14201 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14202 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14203 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14204 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14205 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14206 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14207 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14208 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14209 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14210 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14211 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14212 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14213 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14214 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14215 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14216 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14217 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14218 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14219 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14220 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14221 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14222 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14223 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14224 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14225 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14226 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14227 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14228 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14229 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14230 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14231 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14232 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14233 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14234 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14235 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14236 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14237 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14238 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14239 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14240 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14241 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14242 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14243 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14244 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14245 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14246 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14247 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14248 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14249
14250 LTCC='$LTCC'
14251 LTCFLAGS='$LTCFLAGS'
14252 compiler='$compiler_DEFAULT'
14253
14254 # A function that is used when there is no print builtin or printf.
14255 func_fallback_echo ()
14256 {
14257   eval 'cat <<_LTECHO_EOF
14258 \$1
14259 _LTECHO_EOF'
14260 }
14261
14262 # Quote evaled strings.
14263 for var in SHELL \
14264 ECHO \
14265 PATH_SEPARATOR \
14266 SED \
14267 GREP \
14268 EGREP \
14269 FGREP \
14270 LD \
14271 NM \
14272 LN_S \
14273 lt_SP2NL \
14274 lt_NL2SP \
14275 reload_flag \
14276 OBJDUMP \
14277 deplibs_check_method \
14278 file_magic_cmd \
14279 file_magic_glob \
14280 want_nocaseglob \
14281 DLLTOOL \
14282 sharedlib_from_linklib_cmd \
14283 AR \
14284 AR_FLAGS \
14285 archiver_list_spec \
14286 STRIP \
14287 RANLIB \
14288 CC \
14289 CFLAGS \
14290 compiler \
14291 lt_cv_sys_global_symbol_pipe \
14292 lt_cv_sys_global_symbol_to_cdecl \
14293 lt_cv_sys_global_symbol_to_c_name_address \
14294 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14295 nm_file_list_spec \
14296 lt_prog_compiler_no_builtin_flag \
14297 lt_prog_compiler_pic \
14298 lt_prog_compiler_wl \
14299 lt_prog_compiler_static \
14300 lt_cv_prog_compiler_c_o \
14301 need_locks \
14302 MANIFEST_TOOL \
14303 DSYMUTIL \
14304 NMEDIT \
14305 LIPO \
14306 OTOOL \
14307 OTOOL64 \
14308 shrext_cmds \
14309 export_dynamic_flag_spec \
14310 whole_archive_flag_spec \
14311 compiler_needs_object \
14312 with_gnu_ld \
14313 allow_undefined_flag \
14314 no_undefined_flag \
14315 hardcode_libdir_flag_spec \
14316 hardcode_libdir_separator \
14317 exclude_expsyms \
14318 include_expsyms \
14319 file_list_spec \
14320 variables_saved_for_relink \
14321 libname_spec \
14322 library_names_spec \
14323 soname_spec \
14324 install_override_mode \
14325 finish_eval \
14326 old_striplib \
14327 striplib; do
14328     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14329     *[\\\\\\\`\\"\\\$]*)
14330       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14331       ;;
14332     *)
14333       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14334       ;;
14335     esac
14336 done
14337
14338 # Double-quote double-evaled strings.
14339 for var in reload_cmds \
14340 old_postinstall_cmds \
14341 old_postuninstall_cmds \
14342 old_archive_cmds \
14343 extract_expsyms_cmds \
14344 old_archive_from_new_cmds \
14345 old_archive_from_expsyms_cmds \
14346 archive_cmds \
14347 archive_expsym_cmds \
14348 module_cmds \
14349 module_expsym_cmds \
14350 export_symbols_cmds \
14351 prelink_cmds \
14352 postlink_cmds \
14353 postinstall_cmds \
14354 postuninstall_cmds \
14355 finish_cmds \
14356 sys_lib_search_path_spec \
14357 sys_lib_dlsearch_path_spec; do
14358     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14359     *[\\\\\\\`\\"\\\$]*)
14360       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14361       ;;
14362     *)
14363       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14364       ;;
14365     esac
14366 done
14367
14368 ac_aux_dir='$ac_aux_dir'
14369 xsi_shell='$xsi_shell'
14370 lt_shell_append='$lt_shell_append'
14371
14372 # See if we are running on zsh, and set the options which allow our
14373 # commands through without removal of \ escapes INIT.
14374 if test -n "\${ZSH_VERSION+set}" ; then
14375    setopt NO_GLOB_SUBST
14376 fi
14377
14378
14379     PACKAGE='$PACKAGE'
14380     VERSION='$VERSION'
14381     TIMESTAMP='$TIMESTAMP'
14382     RM='$RM'
14383     ofile='$ofile'
14384
14385
14386
14387
14388 _ACEOF
14389
14390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14391
14392 # Handling of arguments.
14393 for ac_config_target in $ac_config_targets
14394 do
14395   case $ac_config_target in
14396     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14397     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14398     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14399     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14400     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14401     "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;;
14402     "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
14403     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14404     "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;;
14405     "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;;
14406     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14407     "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;;
14408     "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;;
14409     "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;;
14410     "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;;
14411     "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;;
14412     "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;;
14413     "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;;
14414     "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;;
14415     "src/ucm/Makefile") CONFIG_FILES="$CONFIG_FILES src/ucm/Makefile" ;;
14416     "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;;
14417     "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;;
14418     "src/conf/alsa.conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/alsa.conf.d/Makefile" ;;
14419     "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;;
14420     "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;;
14421     "src/conf/ucm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/Makefile" ;;
14422     "src/conf/ucm/DAISY-I2S/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/DAISY-I2S/Makefile" ;;
14423     "src/conf/ucm/PandaBoard/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/PandaBoard/Makefile" ;;
14424     "src/conf/ucm/PandaBoardES/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/PandaBoardES/Makefile" ;;
14425     "src/conf/ucm/SDP4430/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/SDP4430/Makefile" ;;
14426     "src/conf/ucm/tegraalc5632/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/ucm/tegraalc5632/Makefile" ;;
14427     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
14428     "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;;
14429     "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;;
14430     "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;;
14431     "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;;
14432     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14433     "test/lsb/Makefile") CONFIG_FILES="$CONFIG_FILES test/lsb/Makefile" ;;
14434     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
14435     "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;;
14436     "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;;
14437
14438   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14439   esac
14440 done
14441
14442
14443 # If the user did not use the arguments to specify the items to instantiate,
14444 # then the envvar interface is used.  Set only those that are not.
14445 # We use the long form for the default assignment because of an extremely
14446 # bizarre bug on SunOS 4.1.3.
14447 if $ac_need_defaults; then
14448   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14449   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14450   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14451 fi
14452
14453 # Have a temporary directory for convenience.  Make it in the build tree
14454 # simply because there is no reason against having it here, and in addition,
14455 # creating and moving files from /tmp can sometimes cause problems.
14456 # Hook for its removal unless debugging.
14457 # Note that there is a small window in which the directory will not be cleaned:
14458 # after its creation but before its name has been assigned to `$tmp'.
14459 $debug ||
14460 {
14461   tmp= ac_tmp=
14462   trap 'exit_status=$?
14463   : "${ac_tmp:=$tmp}"
14464   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14465 ' 0
14466   trap 'as_fn_exit 1' 1 2 13 15
14467 }
14468 # Create a (secure) tmp directory for tmp files.
14469
14470 {
14471   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14472   test -d "$tmp"
14473 }  ||
14474 {
14475   tmp=./conf$$-$RANDOM
14476   (umask 077 && mkdir "$tmp")
14477 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14478 ac_tmp=$tmp
14479
14480 # Set up the scripts for CONFIG_FILES section.
14481 # No need to generate them if there are no CONFIG_FILES.
14482 # This happens for instance with `./config.status config.h'.
14483 if test -n "$CONFIG_FILES"; then
14484
14485
14486 ac_cr=`echo X | tr X '\015'`
14487 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14488 # But we know of no other shell where ac_cr would be empty at this
14489 # point, so we can use a bashism as a fallback.
14490 if test "x$ac_cr" = x; then
14491   eval ac_cr=\$\'\\r\'
14492 fi
14493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14495   ac_cs_awk_cr='\\r'
14496 else
14497   ac_cs_awk_cr=$ac_cr
14498 fi
14499
14500 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14501 _ACEOF
14502
14503
14504 {
14505   echo "cat >conf$$subs.awk <<_ACEOF" &&
14506   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14507   echo "_ACEOF"
14508 } >conf$$subs.sh ||
14509   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14511 ac_delim='%!_!# '
14512 for ac_last_try in false false false false false :; do
14513   . ./conf$$subs.sh ||
14514     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14515
14516   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14517   if test $ac_delim_n = $ac_delim_num; then
14518     break
14519   elif $ac_last_try; then
14520     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14521   else
14522     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14523   fi
14524 done
14525 rm -f conf$$subs.sh
14526
14527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14528 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14529 _ACEOF
14530 sed -n '
14531 h
14532 s/^/S["/; s/!.*/"]=/
14533 p
14534 g
14535 s/^[^!]*!//
14536 :repl
14537 t repl
14538 s/'"$ac_delim"'$//
14539 t delim
14540 :nl
14541 h
14542 s/\(.\{148\}\)..*/\1/
14543 t more1
14544 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14545 p
14546 n
14547 b repl
14548 :more1
14549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14550 p
14551 g
14552 s/.\{148\}//
14553 t nl
14554 :delim
14555 h
14556 s/\(.\{148\}\)..*/\1/
14557 t more2
14558 s/["\\]/\\&/g; s/^/"/; s/$/"/
14559 p
14560 b
14561 :more2
14562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14563 p
14564 g
14565 s/.\{148\}//
14566 t delim
14567 ' <conf$$subs.awk | sed '
14568 /^[^""]/{
14569   N
14570   s/\n//
14571 }
14572 ' >>$CONFIG_STATUS || ac_write_fail=1
14573 rm -f conf$$subs.awk
14574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14575 _ACAWK
14576 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14577   for (key in S) S_is_set[key] = 1
14578   FS = "\a"
14579
14580 }
14581 {
14582   line = $ 0
14583   nfields = split(line, field, "@")
14584   substed = 0
14585   len = length(field[1])
14586   for (i = 2; i < nfields; i++) {
14587     key = field[i]
14588     keylen = length(key)
14589     if (S_is_set[key]) {
14590       value = S[key]
14591       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14592       len += length(value) + length(field[++i])
14593       substed = 1
14594     } else
14595       len += 1 + keylen
14596   }
14597
14598   print line
14599 }
14600
14601 _ACAWK
14602 _ACEOF
14603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14605   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14606 else
14607   cat
14608 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14609   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14610 _ACEOF
14611
14612 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14613 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14614 # trailing colons and then remove the whole line if VPATH becomes empty
14615 # (actually we leave an empty line to preserve line numbers).
14616 if test "x$srcdir" = x.; then
14617   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14618 h
14619 s///
14620 s/^/:/
14621 s/[      ]*$/:/
14622 s/:\$(srcdir):/:/g
14623 s/:\${srcdir}:/:/g
14624 s/:@srcdir@:/:/g
14625 s/^:*//
14626 s/:*$//
14627 x
14628 s/\(=[   ]*\).*/\1/
14629 G
14630 s/\n//
14631 s/^[^=]*=[       ]*$//
14632 }'
14633 fi
14634
14635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14636 fi # test -n "$CONFIG_FILES"
14637
14638 # Set up the scripts for CONFIG_HEADERS section.
14639 # No need to generate them if there are no CONFIG_HEADERS.
14640 # This happens for instance with `./config.status Makefile'.
14641 if test -n "$CONFIG_HEADERS"; then
14642 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14643 BEGIN {
14644 _ACEOF
14645
14646 # Transform confdefs.h into an awk script `defines.awk', embedded as
14647 # here-document in config.status, that substitutes the proper values into
14648 # config.h.in to produce config.h.
14649
14650 # Create a delimiter string that does not exist in confdefs.h, to ease
14651 # handling of long lines.
14652 ac_delim='%!_!# '
14653 for ac_last_try in false false :; do
14654   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14655   if test -z "$ac_tt"; then
14656     break
14657   elif $ac_last_try; then
14658     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14659   else
14660     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14661   fi
14662 done
14663
14664 # For the awk script, D is an array of macro values keyed by name,
14665 # likewise P contains macro parameters if any.  Preserve backslash
14666 # newline sequences.
14667
14668 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14669 sed -n '
14670 s/.\{148\}/&'"$ac_delim"'/g
14671 t rset
14672 :rset
14673 s/^[     ]*#[    ]*define[       ][      ]*/ /
14674 t def
14675 d
14676 :def
14677 s/\\$//
14678 t bsnl
14679 s/["\\]/\\&/g
14680 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14681 D["\1"]=" \3"/p
14682 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14683 d
14684 :bsnl
14685 s/["\\]/\\&/g
14686 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14687 D["\1"]=" \3\\\\\\n"\\/p
14688 t cont
14689 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14690 t cont
14691 d
14692 :cont
14693 n
14694 s/.\{148\}/&'"$ac_delim"'/g
14695 t clear
14696 :clear
14697 s/\\$//
14698 t bsnlc
14699 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14700 d
14701 :bsnlc
14702 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14703 b cont
14704 ' <confdefs.h | sed '
14705 s/'"$ac_delim"'/"\\\
14706 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14707
14708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14709   for (key in D) D_is_set[key] = 1
14710   FS = "\a"
14711 }
14712 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14713   line = \$ 0
14714   split(line, arg, " ")
14715   if (arg[1] == "#") {
14716     defundef = arg[2]
14717     mac1 = arg[3]
14718   } else {
14719     defundef = substr(arg[1], 2)
14720     mac1 = arg[2]
14721   }
14722   split(mac1, mac2, "(") #)
14723   macro = mac2[1]
14724   prefix = substr(line, 1, index(line, defundef) - 1)
14725   if (D_is_set[macro]) {
14726     # Preserve the white space surrounding the "#".
14727     print prefix "define", macro P[macro] D[macro]
14728     next
14729   } else {
14730     # Replace #undef with comments.  This is necessary, for example,
14731     # in the case of _POSIX_SOURCE, which is predefined and required
14732     # on some systems where configure will not decide to define it.
14733     if (defundef == "undef") {
14734       print "/*", prefix defundef, macro, "*/"
14735       next
14736     }
14737   }
14738 }
14739 { print }
14740 _ACAWK
14741 _ACEOF
14742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14743   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14744 fi # test -n "$CONFIG_HEADERS"
14745
14746
14747 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14748 shift
14749 for ac_tag
14750 do
14751   case $ac_tag in
14752   :[FHLC]) ac_mode=$ac_tag; continue;;
14753   esac
14754   case $ac_mode$ac_tag in
14755   :[FHL]*:*);;
14756   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14757   :[FH]-) ac_tag=-:-;;
14758   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14759   esac
14760   ac_save_IFS=$IFS
14761   IFS=:
14762   set x $ac_tag
14763   IFS=$ac_save_IFS
14764   shift
14765   ac_file=$1
14766   shift
14767
14768   case $ac_mode in
14769   :L) ac_source=$1;;
14770   :[FH])
14771     ac_file_inputs=
14772     for ac_f
14773     do
14774       case $ac_f in
14775       -) ac_f="$ac_tmp/stdin";;
14776       *) # Look for the file first in the build tree, then in the source tree
14777          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14778          # because $ac_f cannot contain `:'.
14779          test -f "$ac_f" ||
14780            case $ac_f in
14781            [\\/$]*) false;;
14782            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14783            esac ||
14784            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14785       esac
14786       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14787       as_fn_append ac_file_inputs " '$ac_f'"
14788     done
14789
14790     # Let's still pretend it is `configure' which instantiates (i.e., don't
14791     # use $as_me), people would be surprised to read:
14792     #    /* config.h.  Generated by config.status.  */
14793     configure_input='Generated from '`
14794           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14795         `' by configure.'
14796     if test x"$ac_file" != x-; then
14797       configure_input="$ac_file.  $configure_input"
14798       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14799 $as_echo "$as_me: creating $ac_file" >&6;}
14800     fi
14801     # Neutralize special characters interpreted by sed in replacement strings.
14802     case $configure_input in #(
14803     *\&* | *\|* | *\\* )
14804        ac_sed_conf_input=`$as_echo "$configure_input" |
14805        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14806     *) ac_sed_conf_input=$configure_input;;
14807     esac
14808
14809     case $ac_tag in
14810     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14811       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14812     esac
14813     ;;
14814   esac
14815
14816   ac_dir=`$as_dirname -- "$ac_file" ||
14817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14818          X"$ac_file" : 'X\(//\)[^/]' \| \
14819          X"$ac_file" : 'X\(//\)$' \| \
14820          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14821 $as_echo X"$ac_file" |
14822     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14823             s//\1/
14824             q
14825           }
14826           /^X\(\/\/\)[^/].*/{
14827             s//\1/
14828             q
14829           }
14830           /^X\(\/\/\)$/{
14831             s//\1/
14832             q
14833           }
14834           /^X\(\/\).*/{
14835             s//\1/
14836             q
14837           }
14838           s/.*/./; q'`
14839   as_dir="$ac_dir"; as_fn_mkdir_p
14840   ac_builddir=.
14841
14842 case "$ac_dir" in
14843 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14844 *)
14845   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14846   # A ".." for each directory in $ac_dir_suffix.
14847   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14848   case $ac_top_builddir_sub in
14849   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14850   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14851   esac ;;
14852 esac
14853 ac_abs_top_builddir=$ac_pwd
14854 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14855 # for backward compatibility:
14856 ac_top_builddir=$ac_top_build_prefix
14857
14858 case $srcdir in
14859   .)  # We are building in place.
14860     ac_srcdir=.
14861     ac_top_srcdir=$ac_top_builddir_sub
14862     ac_abs_top_srcdir=$ac_pwd ;;
14863   [\\/]* | ?:[\\/]* )  # Absolute name.
14864     ac_srcdir=$srcdir$ac_dir_suffix;
14865     ac_top_srcdir=$srcdir
14866     ac_abs_top_srcdir=$srcdir ;;
14867   *) # Relative name.
14868     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14869     ac_top_srcdir=$ac_top_build_prefix$srcdir
14870     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14871 esac
14872 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14873
14874
14875   case $ac_mode in
14876   :F)
14877   #
14878   # CONFIG_FILE
14879   #
14880
14881   case $INSTALL in
14882   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14883   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14884   esac
14885   ac_MKDIR_P=$MKDIR_P
14886   case $MKDIR_P in
14887   [\\/$]* | ?:[\\/]* ) ;;
14888   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14889   esac
14890 _ACEOF
14891
14892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14893 # If the template does not know about datarootdir, expand it.
14894 # FIXME: This hack should be removed a few years after 2.60.
14895 ac_datarootdir_hack=; ac_datarootdir_seen=
14896 ac_sed_dataroot='
14897 /datarootdir/ {
14898   p
14899   q
14900 }
14901 /@datadir@/p
14902 /@docdir@/p
14903 /@infodir@/p
14904 /@localedir@/p
14905 /@mandir@/p'
14906 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14907 *datarootdir*) ac_datarootdir_seen=yes;;
14908 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14909   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14910 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14911 _ACEOF
14912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14913   ac_datarootdir_hack='
14914   s&@datadir@&$datadir&g
14915   s&@docdir@&$docdir&g
14916   s&@infodir@&$infodir&g
14917   s&@localedir@&$localedir&g
14918   s&@mandir@&$mandir&g
14919   s&\\\${datarootdir}&$datarootdir&g' ;;
14920 esac
14921 _ACEOF
14922
14923 # Neutralize VPATH when `$srcdir' = `.'.
14924 # Shell code in configure.ac might set extrasub.
14925 # FIXME: do we really want to maintain this feature?
14926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14927 ac_sed_extra="$ac_vpsub
14928 $extrasub
14929 _ACEOF
14930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14931 :t
14932 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14933 s|@configure_input@|$ac_sed_conf_input|;t t
14934 s&@top_builddir@&$ac_top_builddir_sub&;t t
14935 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14936 s&@srcdir@&$ac_srcdir&;t t
14937 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14938 s&@top_srcdir@&$ac_top_srcdir&;t t
14939 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14940 s&@builddir@&$ac_builddir&;t t
14941 s&@abs_builddir@&$ac_abs_builddir&;t t
14942 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14943 s&@INSTALL@&$ac_INSTALL&;t t
14944 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14945 $ac_datarootdir_hack
14946 "
14947 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14948   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14949
14950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14951   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14952   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14953       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14954   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14955 which seems to be undefined.  Please make sure it is defined" >&5
14956 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14957 which seems to be undefined.  Please make sure it is defined" >&2;}
14958
14959   rm -f "$ac_tmp/stdin"
14960   case $ac_file in
14961   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14962   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14963   esac \
14964   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14965  ;;
14966   :H)
14967   #
14968   # CONFIG_HEADER
14969   #
14970   if test x"$ac_file" != x-; then
14971     {
14972       $as_echo "/* $configure_input  */" \
14973       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14974     } >"$ac_tmp/config.h" \
14975       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14976     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14977       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14978 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14979     else
14980       rm -f "$ac_file"
14981       mv "$ac_tmp/config.h" "$ac_file" \
14982         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14983     fi
14984   else
14985     $as_echo "/* $configure_input  */" \
14986       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14987       || as_fn_error $? "could not create -" "$LINENO" 5
14988   fi
14989 # Compute "$ac_file"'s index in $config_headers.
14990 _am_arg="$ac_file"
14991 _am_stamp_count=1
14992 for _am_header in $config_headers :; do
14993   case $_am_header in
14994     $_am_arg | $_am_arg:* )
14995       break ;;
14996     * )
14997       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14998   esac
14999 done
15000 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15001 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15002          X"$_am_arg" : 'X\(//\)[^/]' \| \
15003          X"$_am_arg" : 'X\(//\)$' \| \
15004          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15005 $as_echo X"$_am_arg" |
15006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15007             s//\1/
15008             q
15009           }
15010           /^X\(\/\/\)[^/].*/{
15011             s//\1/
15012             q
15013           }
15014           /^X\(\/\/\)$/{
15015             s//\1/
15016             q
15017           }
15018           /^X\(\/\).*/{
15019             s//\1/
15020             q
15021           }
15022           s/.*/./; q'`/stamp-h$_am_stamp_count
15023  ;;
15024
15025   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15026 $as_echo "$as_me: executing $ac_file commands" >&6;}
15027  ;;
15028   esac
15029
15030
15031   case $ac_file$ac_mode in
15032     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15033   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15034   # are listed without --file.  Let's play safe and only enable the eval
15035   # if we detect the quoting.
15036   case $CONFIG_FILES in
15037   *\'*) eval set x "$CONFIG_FILES" ;;
15038   *)   set x $CONFIG_FILES ;;
15039   esac
15040   shift
15041   for mf
15042   do
15043     # Strip MF so we end up with the name of the file.
15044     mf=`echo "$mf" | sed -e 's/:.*$//'`
15045     # Check whether this is an Automake generated Makefile or not.
15046     # We used to match only the files named 'Makefile.in', but
15047     # some people rename them; so instead we look at the file content.
15048     # Grep'ing the first line is not enough: some people post-process
15049     # each Makefile.in and add a new line on top of each file to say so.
15050     # Grep'ing the whole file is not good either: AIX grep has a line
15051     # limit of 2048, but all sed's we know have understand at least 4000.
15052     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15053       dirpart=`$as_dirname -- "$mf" ||
15054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15055          X"$mf" : 'X\(//\)[^/]' \| \
15056          X"$mf" : 'X\(//\)$' \| \
15057          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15058 $as_echo X"$mf" |
15059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15060             s//\1/
15061             q
15062           }
15063           /^X\(\/\/\)[^/].*/{
15064             s//\1/
15065             q
15066           }
15067           /^X\(\/\/\)$/{
15068             s//\1/
15069             q
15070           }
15071           /^X\(\/\).*/{
15072             s//\1/
15073             q
15074           }
15075           s/.*/./; q'`
15076     else
15077       continue
15078     fi
15079     # Extract the definition of DEPDIR, am__include, and am__quote
15080     # from the Makefile without running 'make'.
15081     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15082     test -z "$DEPDIR" && continue
15083     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15084     test -z "am__include" && continue
15085     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15086     # Find all dependency output files, they are included files with
15087     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15088     # simplest approach to changing $(DEPDIR) to its actual value in the
15089     # expansion.
15090     for file in `sed -n "
15091       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15092          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15093       # Make sure the directory exists.
15094       test -f "$dirpart/$file" && continue
15095       fdir=`$as_dirname -- "$file" ||
15096 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15097          X"$file" : 'X\(//\)[^/]' \| \
15098          X"$file" : 'X\(//\)$' \| \
15099          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15100 $as_echo X"$file" |
15101     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15102             s//\1/
15103             q
15104           }
15105           /^X\(\/\/\)[^/].*/{
15106             s//\1/
15107             q
15108           }
15109           /^X\(\/\/\)$/{
15110             s//\1/
15111             q
15112           }
15113           /^X\(\/\).*/{
15114             s//\1/
15115             q
15116           }
15117           s/.*/./; q'`
15118       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15119       # echo "creating $dirpart/$file"
15120       echo '# dummy' > "$dirpart/$file"
15121     done
15122   done
15123 }
15124  ;;
15125     "libtool":C)
15126
15127     # See if we are running on zsh, and set the options which allow our
15128     # commands through without removal of \ escapes.
15129     if test -n "${ZSH_VERSION+set}" ; then
15130       setopt NO_GLOB_SUBST
15131     fi
15132
15133     cfgfile="${ofile}T"
15134     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15135     $RM "$cfgfile"
15136
15137     cat <<_LT_EOF >> "$cfgfile"
15138 #! $SHELL
15139
15140 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15141 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15142 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15143 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15144 #
15145 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15146 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15147 #                 Foundation, Inc.
15148 #   Written by Gordon Matzigkeit, 1996
15149 #
15150 #   This file is part of GNU Libtool.
15151 #
15152 # GNU Libtool is free software; you can redistribute it and/or
15153 # modify it under the terms of the GNU General Public License as
15154 # published by the Free Software Foundation; either version 2 of
15155 # the License, or (at your option) any later version.
15156 #
15157 # As a special exception to the GNU General Public License,
15158 # if you distribute this file as part of a program or library that
15159 # is built using GNU Libtool, you may include this file under the
15160 # same distribution terms that you use for the rest of that program.
15161 #
15162 # GNU Libtool is distributed in the hope that it will be useful,
15163 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15164 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15165 # GNU General Public License for more details.
15166 #
15167 # You should have received a copy of the GNU General Public License
15168 # along with GNU Libtool; see the file COPYING.  If not, a copy
15169 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15170 # obtained by writing to the Free Software Foundation, Inc.,
15171 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15172
15173
15174 # The names of the tagged configurations supported by this script.
15175 available_tags=""
15176
15177 # ### BEGIN LIBTOOL CONFIG
15178
15179 # Whether or not to build static libraries.
15180 build_old_libs=$enable_static
15181
15182 # Which release of libtool.m4 was used?
15183 macro_version=$macro_version
15184 macro_revision=$macro_revision
15185
15186 # Whether or not to build shared libraries.
15187 build_libtool_libs=$enable_shared
15188
15189 # What type of objects to build.
15190 pic_mode=$pic_mode
15191
15192 # Whether or not to optimize for fast installation.
15193 fast_install=$enable_fast_install
15194
15195 # Shell to use when invoking shell scripts.
15196 SHELL=$lt_SHELL
15197
15198 # An echo program that protects backslashes.
15199 ECHO=$lt_ECHO
15200
15201 # The PATH separator for the build system.
15202 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15203
15204 # The host system.
15205 host_alias=$host_alias
15206 host=$host
15207 host_os=$host_os
15208
15209 # The build system.
15210 build_alias=$build_alias
15211 build=$build
15212 build_os=$build_os
15213
15214 # A sed program that does not truncate output.
15215 SED=$lt_SED
15216
15217 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15218 Xsed="\$SED -e 1s/^X//"
15219
15220 # A grep program that handles long lines.
15221 GREP=$lt_GREP
15222
15223 # An ERE matcher.
15224 EGREP=$lt_EGREP
15225
15226 # A literal string matcher.
15227 FGREP=$lt_FGREP
15228
15229 # A BSD- or MS-compatible name lister.
15230 NM=$lt_NM
15231
15232 # Whether we need soft or hard links.
15233 LN_S=$lt_LN_S
15234
15235 # What is the maximum length of a command?
15236 max_cmd_len=$max_cmd_len
15237
15238 # Object file suffix (normally "o").
15239 objext=$ac_objext
15240
15241 # Executable file suffix (normally "").
15242 exeext=$exeext
15243
15244 # whether the shell understands "unset".
15245 lt_unset=$lt_unset
15246
15247 # turn spaces into newlines.
15248 SP2NL=$lt_lt_SP2NL
15249
15250 # turn newlines into spaces.
15251 NL2SP=$lt_lt_NL2SP
15252
15253 # convert \$build file names to \$host format.
15254 to_host_file_cmd=$lt_cv_to_host_file_cmd
15255
15256 # convert \$build files to toolchain format.
15257 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15258
15259 # An object symbol dumper.
15260 OBJDUMP=$lt_OBJDUMP
15261
15262 # Method to check whether dependent libraries are shared objects.
15263 deplibs_check_method=$lt_deplibs_check_method
15264
15265 # Command to use when deplibs_check_method = "file_magic".
15266 file_magic_cmd=$lt_file_magic_cmd
15267
15268 # How to find potential files when deplibs_check_method = "file_magic".
15269 file_magic_glob=$lt_file_magic_glob
15270
15271 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15272 want_nocaseglob=$lt_want_nocaseglob
15273
15274 # DLL creation program.
15275 DLLTOOL=$lt_DLLTOOL
15276
15277 # Command to associate shared and link libraries.
15278 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15279
15280 # The archiver.
15281 AR=$lt_AR
15282
15283 # Flags to create an archive.
15284 AR_FLAGS=$lt_AR_FLAGS
15285
15286 # How to feed a file listing to the archiver.
15287 archiver_list_spec=$lt_archiver_list_spec
15288
15289 # A symbol stripping program.
15290 STRIP=$lt_STRIP
15291
15292 # Commands used to install an old-style archive.
15293 RANLIB=$lt_RANLIB
15294 old_postinstall_cmds=$lt_old_postinstall_cmds
15295 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15296
15297 # Whether to use a lock for old archive extraction.
15298 lock_old_archive_extraction=$lock_old_archive_extraction
15299
15300 # A C compiler.
15301 LTCC=$lt_CC
15302
15303 # LTCC compiler flags.
15304 LTCFLAGS=$lt_CFLAGS
15305
15306 # Take the output of nm and produce a listing of raw symbols and C names.
15307 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15308
15309 # Transform the output of nm in a proper C declaration.
15310 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15311
15312 # Transform the output of nm in a C name address pair.
15313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15314
15315 # Transform the output of nm in a C name address pair when lib prefix is needed.
15316 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15317
15318 # Specify filename containing input files for \$NM.
15319 nm_file_list_spec=$lt_nm_file_list_spec
15320
15321 # The root where to search for dependent libraries,and in which our libraries should be installed.
15322 lt_sysroot=$lt_sysroot
15323
15324 # The name of the directory that contains temporary libtool files.
15325 objdir=$objdir
15326
15327 # Used to examine libraries when file_magic_cmd begins with "file".
15328 MAGIC_CMD=$MAGIC_CMD
15329
15330 # Must we lock files when doing compilation?
15331 need_locks=$lt_need_locks
15332
15333 # Manifest tool.
15334 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15335
15336 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15337 DSYMUTIL=$lt_DSYMUTIL
15338
15339 # Tool to change global to local symbols on Mac OS X.
15340 NMEDIT=$lt_NMEDIT
15341
15342 # Tool to manipulate fat objects and archives on Mac OS X.
15343 LIPO=$lt_LIPO
15344
15345 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15346 OTOOL=$lt_OTOOL
15347
15348 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15349 OTOOL64=$lt_OTOOL64
15350
15351 # Old archive suffix (normally "a").
15352 libext=$libext
15353
15354 # Shared library suffix (normally ".so").
15355 shrext_cmds=$lt_shrext_cmds
15356
15357 # The commands to extract the exported symbol list from a shared archive.
15358 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15359
15360 # Variables whose values should be saved in libtool wrapper scripts and
15361 # restored at link time.
15362 variables_saved_for_relink=$lt_variables_saved_for_relink
15363
15364 # Do we need the "lib" prefix for modules?
15365 need_lib_prefix=$need_lib_prefix
15366
15367 # Do we need a version for libraries?
15368 need_version=$need_version
15369
15370 # Library versioning type.
15371 version_type=$version_type
15372
15373 # Shared library runtime path variable.
15374 runpath_var=$runpath_var
15375
15376 # Shared library path variable.
15377 shlibpath_var=$shlibpath_var
15378
15379 # Is shlibpath searched before the hard-coded library search path?
15380 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15381
15382 # Format of library name prefix.
15383 libname_spec=$lt_libname_spec
15384
15385 # List of archive names.  First name is the real one, the rest are links.
15386 # The last name is the one that the linker finds with -lNAME
15387 library_names_spec=$lt_library_names_spec
15388
15389 # The coded name of the library, if different from the real name.
15390 soname_spec=$lt_soname_spec
15391
15392 # Permission mode override for installation of shared libraries.
15393 install_override_mode=$lt_install_override_mode
15394
15395 # Command to use after installation of a shared archive.
15396 postinstall_cmds=$lt_postinstall_cmds
15397
15398 # Command to use after uninstallation of a shared archive.
15399 postuninstall_cmds=$lt_postuninstall_cmds
15400
15401 # Commands used to finish a libtool library installation in a directory.
15402 finish_cmds=$lt_finish_cmds
15403
15404 # As "finish_cmds", except a single script fragment to be evaled but
15405 # not shown.
15406 finish_eval=$lt_finish_eval
15407
15408 # Whether we should hardcode library paths into libraries.
15409 hardcode_into_libs=$hardcode_into_libs
15410
15411 # Compile-time system search path for libraries.
15412 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15413
15414 # Run-time system search path for libraries.
15415 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15416
15417 # Whether dlopen is supported.
15418 dlopen_support=$enable_dlopen
15419
15420 # Whether dlopen of programs is supported.
15421 dlopen_self=$enable_dlopen_self
15422
15423 # Whether dlopen of statically linked programs is supported.
15424 dlopen_self_static=$enable_dlopen_self_static
15425
15426 # Commands to strip libraries.
15427 old_striplib=$lt_old_striplib
15428 striplib=$lt_striplib
15429
15430
15431 # The linker used to build libraries.
15432 LD=$lt_LD
15433
15434 # How to create reloadable object files.
15435 reload_flag=$lt_reload_flag
15436 reload_cmds=$lt_reload_cmds
15437
15438 # Commands used to build an old-style archive.
15439 old_archive_cmds=$lt_old_archive_cmds
15440
15441 # A language specific compiler.
15442 CC=$lt_compiler
15443
15444 # Is the compiler the GNU compiler?
15445 with_gcc=$GCC
15446
15447 # Compiler flag to turn off builtin functions.
15448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15449
15450 # Additional compiler flags for building library objects.
15451 pic_flag=$lt_lt_prog_compiler_pic
15452
15453 # How to pass a linker flag through the compiler.
15454 wl=$lt_lt_prog_compiler_wl
15455
15456 # Compiler flag to prevent dynamic linking.
15457 link_static_flag=$lt_lt_prog_compiler_static
15458
15459 # Does compiler simultaneously support -c and -o options?
15460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15461
15462 # Whether or not to add -lc for building shared libraries.
15463 build_libtool_need_lc=$archive_cmds_need_lc
15464
15465 # Whether or not to disallow shared libs when runtime libs are static.
15466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15467
15468 # Compiler flag to allow reflexive dlopens.
15469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15470
15471 # Compiler flag to generate shared objects directly from archives.
15472 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15473
15474 # Whether the compiler copes with passing no objects directly.
15475 compiler_needs_object=$lt_compiler_needs_object
15476
15477 # Create an old-style archive from a shared archive.
15478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15479
15480 # Create a temporary old-style archive to link instead of a shared archive.
15481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15482
15483 # Commands used to build a shared archive.
15484 archive_cmds=$lt_archive_cmds
15485 archive_expsym_cmds=$lt_archive_expsym_cmds
15486
15487 # Commands used to build a loadable module if different from building
15488 # a shared archive.
15489 module_cmds=$lt_module_cmds
15490 module_expsym_cmds=$lt_module_expsym_cmds
15491
15492 # Whether we are building with GNU ld or not.
15493 with_gnu_ld=$lt_with_gnu_ld
15494
15495 # Flag that allows shared libraries with undefined symbols to be built.
15496 allow_undefined_flag=$lt_allow_undefined_flag
15497
15498 # Flag that enforces no undefined symbols.
15499 no_undefined_flag=$lt_no_undefined_flag
15500
15501 # Flag to hardcode \$libdir into a binary during linking.
15502 # This must work even if \$libdir does not exist
15503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15504
15505 # Whether we need a single "-rpath" flag with a separated argument.
15506 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15507
15508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15509 # DIR into the resulting binary.
15510 hardcode_direct=$hardcode_direct
15511
15512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15513 # DIR into the resulting binary and the resulting library dependency is
15514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15515 # library is relocated.
15516 hardcode_direct_absolute=$hardcode_direct_absolute
15517
15518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15519 # into the resulting binary.
15520 hardcode_minus_L=$hardcode_minus_L
15521
15522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15523 # into the resulting binary.
15524 hardcode_shlibpath_var=$hardcode_shlibpath_var
15525
15526 # Set to "yes" if building a shared library automatically hardcodes DIR
15527 # into the library and all subsequent libraries and executables linked
15528 # against it.
15529 hardcode_automatic=$hardcode_automatic
15530
15531 # Set to yes if linker adds runtime paths of dependent libraries
15532 # to runtime path list.
15533 inherit_rpath=$inherit_rpath
15534
15535 # Whether libtool must link a program against all its dependency libraries.
15536 link_all_deplibs=$link_all_deplibs
15537
15538 # Set to "yes" if exported symbols are required.
15539 always_export_symbols=$always_export_symbols
15540
15541 # The commands to list exported symbols.
15542 export_symbols_cmds=$lt_export_symbols_cmds
15543
15544 # Symbols that should not be listed in the preloaded symbols.
15545 exclude_expsyms=$lt_exclude_expsyms
15546
15547 # Symbols that must always be exported.
15548 include_expsyms=$lt_include_expsyms
15549
15550 # Commands necessary for linking programs (against libraries) with templates.
15551 prelink_cmds=$lt_prelink_cmds
15552
15553 # Commands necessary for finishing linking programs.
15554 postlink_cmds=$lt_postlink_cmds
15555
15556 # Specify filename containing input files.
15557 file_list_spec=$lt_file_list_spec
15558
15559 # How to hardcode a shared library path into an executable.
15560 hardcode_action=$hardcode_action
15561
15562 # ### END LIBTOOL CONFIG
15563
15564 _LT_EOF
15565
15566   case $host_os in
15567   aix3*)
15568     cat <<\_LT_EOF >> "$cfgfile"
15569 # AIX sometimes has problems with the GCC collect2 program.  For some
15570 # reason, if we set the COLLECT_NAMES environment variable, the problems
15571 # vanish in a puff of smoke.
15572 if test "X${COLLECT_NAMES+set}" != Xset; then
15573   COLLECT_NAMES=
15574   export COLLECT_NAMES
15575 fi
15576 _LT_EOF
15577     ;;
15578   esac
15579
15580
15581 ltmain="$ac_aux_dir/ltmain.sh"
15582
15583
15584   # We use sed instead of cat because bash on DJGPP gets confused if
15585   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15586   # text mode, it properly converts lines to CR/LF.  This bash problem
15587   # is reportedly fixed, but why not run on old versions too?
15588   sed '$q' "$ltmain" >> "$cfgfile" \
15589      || (rm -f "$cfgfile"; exit 1)
15590
15591   if test x"$xsi_shell" = xyes; then
15592   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15593 func_dirname ()\
15594 {\
15595 \    case ${1} in\
15596 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15597 \      *  ) func_dirname_result="${3}" ;;\
15598 \    esac\
15599 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15600   && mv -f "$cfgfile.tmp" "$cfgfile" \
15601     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15602 test 0 -eq $? || _lt_function_replace_fail=:
15603
15604
15605   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15606 func_basename ()\
15607 {\
15608 \    func_basename_result="${1##*/}"\
15609 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15610   && mv -f "$cfgfile.tmp" "$cfgfile" \
15611     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15612 test 0 -eq $? || _lt_function_replace_fail=:
15613
15614
15615   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15616 func_dirname_and_basename ()\
15617 {\
15618 \    case ${1} in\
15619 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15620 \      *  ) func_dirname_result="${3}" ;;\
15621 \    esac\
15622 \    func_basename_result="${1##*/}"\
15623 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15624   && mv -f "$cfgfile.tmp" "$cfgfile" \
15625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15626 test 0 -eq $? || _lt_function_replace_fail=:
15627
15628
15629   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15630 func_stripname ()\
15631 {\
15632 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15633 \    # positional parameters, so assign one to ordinary parameter first.\
15634 \    func_stripname_result=${3}\
15635 \    func_stripname_result=${func_stripname_result#"${1}"}\
15636 \    func_stripname_result=${func_stripname_result%"${2}"}\
15637 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15638   && mv -f "$cfgfile.tmp" "$cfgfile" \
15639     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15640 test 0 -eq $? || _lt_function_replace_fail=:
15641
15642
15643   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15644 func_split_long_opt ()\
15645 {\
15646 \    func_split_long_opt_name=${1%%=*}\
15647 \    func_split_long_opt_arg=${1#*=}\
15648 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15649   && mv -f "$cfgfile.tmp" "$cfgfile" \
15650     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15651 test 0 -eq $? || _lt_function_replace_fail=:
15652
15653
15654   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15655 func_split_short_opt ()\
15656 {\
15657 \    func_split_short_opt_arg=${1#??}\
15658 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15659 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15660   && mv -f "$cfgfile.tmp" "$cfgfile" \
15661     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15662 test 0 -eq $? || _lt_function_replace_fail=:
15663
15664
15665   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15666 func_lo2o ()\
15667 {\
15668 \    case ${1} in\
15669 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15670 \      *)    func_lo2o_result=${1} ;;\
15671 \    esac\
15672 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15673   && mv -f "$cfgfile.tmp" "$cfgfile" \
15674     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15675 test 0 -eq $? || _lt_function_replace_fail=:
15676
15677
15678   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15679 func_xform ()\
15680 {\
15681     func_xform_result=${1%.*}.lo\
15682 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15683   && mv -f "$cfgfile.tmp" "$cfgfile" \
15684     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15685 test 0 -eq $? || _lt_function_replace_fail=:
15686
15687
15688   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15689 func_arith ()\
15690 {\
15691     func_arith_result=$(( $* ))\
15692 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15693   && mv -f "$cfgfile.tmp" "$cfgfile" \
15694     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15695 test 0 -eq $? || _lt_function_replace_fail=:
15696
15697
15698   sed -e '/^func_len ()$/,/^} # func_len /c\
15699 func_len ()\
15700 {\
15701     func_len_result=${#1}\
15702 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15703   && mv -f "$cfgfile.tmp" "$cfgfile" \
15704     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15705 test 0 -eq $? || _lt_function_replace_fail=:
15706
15707 fi
15708
15709 if test x"$lt_shell_append" = xyes; then
15710   sed -e '/^func_append ()$/,/^} # func_append /c\
15711 func_append ()\
15712 {\
15713     eval "${1}+=\\${2}"\
15714 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15715   && mv -f "$cfgfile.tmp" "$cfgfile" \
15716     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15717 test 0 -eq $? || _lt_function_replace_fail=:
15718
15719
15720   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15721 func_append_quoted ()\
15722 {\
15723 \    func_quote_for_eval "${2}"\
15724 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15725 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15726   && mv -f "$cfgfile.tmp" "$cfgfile" \
15727     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15728 test 0 -eq $? || _lt_function_replace_fail=:
15729
15730
15731   # Save a `func_append' function call where possible by direct use of '+='
15732   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15733     && mv -f "$cfgfile.tmp" "$cfgfile" \
15734       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15735   test 0 -eq $? || _lt_function_replace_fail=:
15736 else
15737   # Save a `func_append' function call even when '+=' is not available
15738   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15739     && mv -f "$cfgfile.tmp" "$cfgfile" \
15740       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15741   test 0 -eq $? || _lt_function_replace_fail=:
15742 fi
15743
15744 if test x"$_lt_function_replace_fail" = x":"; then
15745   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15746 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15747 fi
15748
15749
15750    mv -f "$cfgfile" "$ofile" ||
15751     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15752   chmod +x "$ofile"
15753
15754  ;;
15755
15756   esac
15757 done # for ac_tag
15758
15759
15760 as_fn_exit 0
15761 _ACEOF
15762 ac_clean_files=$ac_clean_files_save
15763
15764 test $ac_write_fail = 0 ||
15765   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15766
15767
15768 # configure is writing to config.log, and then calls config.status.
15769 # config.status does its own redirection, appending to config.log.
15770 # Unfortunately, on DOS this fails, as config.log is still kept open
15771 # by configure, so config.status won't be able to write to it; its
15772 # output is simply discarded.  So we exec the FD to /dev/null,
15773 # effectively closing config.log, so it can be properly (re)opened and
15774 # appended to by config.status.  When coming back to configure, we
15775 # need to make the FD available again.
15776 if test "$no_create" != yes; then
15777   ac_cs_success=:
15778   ac_config_status_args=
15779   test "$silent" = yes &&
15780     ac_config_status_args="$ac_config_status_args --quiet"
15781   exec 5>/dev/null
15782   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15783   exec 5>>config.log
15784   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15785   # would make configure fail if this is the last instruction.
15786   $ac_cs_success || as_fn_exit 1
15787 fi
15788 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15789   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15790 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15791 fi
15792
15793
15794 echo "Creating asoundlib.h..."
15795 cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
15796 test "$ac_cv_header_endian_h" = "yes" && echo "#include <endian.h>" >> include/asoundlib.h
15797 if test "$ac_cv_header_sys_endian_h" = "yes"; then
15798 cat >> include/asoundlib.h <<EOF
15799 #include <sys/endian.h>
15800 #ifndef __BYTE_ORDER
15801 #define __BYTE_ORDER BYTE_ORDER
15802 #endif
15803 #ifndef __LITTLE_ENDIAN
15804 #define __LITTLE_ENDIAN LITTLE_ENDIAN
15805 #endif
15806 #ifndef __BIG_ENDIAN
15807 #define __BIG_ENDIAN BIG_ENDIAN
15808 #endif
15809 EOF
15810 fi
15811 cat >> include/asoundlib.h <<EOF
15812
15813 #ifndef __GNUC__
15814 #define __inline__ inline
15815 #endif
15816
15817 #include <alsa/asoundef.h>
15818 #include <alsa/version.h>
15819 #include <alsa/global.h>
15820 #include <alsa/input.h>
15821 #include <alsa/output.h>
15822 #include <alsa/error.h>
15823 #include <alsa/conf.h>
15824 EOF
15825 test "$build_pcm" = "yes" && echo "#include <alsa/pcm.h>" >> include/asoundlib.h
15826 test "$build_rawmidi" = "yes" && echo "#include <alsa/rawmidi.h>" >> include/asoundlib.h
15827 test "$build_pcm" = "yes" && echo "#include <alsa/timer.h>" >> include/asoundlib.h
15828 test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h
15829 echo "#include <alsa/control.h>" >> include/asoundlib.h
15830 test "$build_mixer" = "yes" && echo "#include <alsa/mixer.h>" >> include/asoundlib.h
15831 test "$build_seq" = "yes" && echo "#include <alsa/seq_event.h>" >> include/asoundlib.h
15832 test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h
15833 test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h
15834 test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h
15835 cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h
15836