Tizen 2.1 base
[external/alsa-lib.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$1; test $as_status -eq 0 && as_status=1
367   if test "$4"; then
368     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370   fi
371   $as_echo "$as_me: error: $2" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
532
533 case X$lt_ECHO in
534 X*--fallback-echo)
535   # Remove one level of quotation (which was required for Make).
536   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537   ;;
538 esac
539
540 ECHO=${lt_ECHO-echo}
541 if test "X$1" = X--no-reexec; then
542   # Discard the --no-reexec flag, and continue.
543   shift
544 elif test "X$1" = X--fallback-echo; then
545   # Avoid inline document here, it may be left over
546   :
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548   # Yippee, $ECHO works!
549   :
550 else
551   # Restart under the correct shell.
552   exec $SHELL "$0" --no-reexec ${1+"$@"}
553 fi
554
555 if test "X$1" = X--fallback-echo; then
556   # used as fallback echo
557   shift
558   cat <<_LT_EOF
559 $*
560 _LT_EOF
561   exit 0
562 fi
563
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
565 # if CDPATH is set.
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
568 if test -z "$lt_ECHO"; then
569   if test "X${echo_test_string+set}" != Xset; then
570     # find a string as large as possible, as long as the shell can cope with it
571     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575       then
576         break
577       fi
578     done
579   fi
580
581   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583      test "X$echo_testing_string" = "X$echo_test_string"; then
584     :
585   else
586     # The Solaris, AIX, and Digital Unix default echo programs unquote
587     # backslashes.  This makes it impossible to quote backslashes using
588     #   echo "$something" | sed 's/\\/\\\\/g'
589     #
590     # So, first we look for a working echo in the user's PATH.
591
592     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593     for dir in $PATH /usr/ucb; do
594       IFS="$lt_save_ifs"
595       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598          test "X$echo_testing_string" = "X$echo_test_string"; then
599         ECHO="$dir/echo"
600         break
601       fi
602     done
603     IFS="$lt_save_ifs"
604
605     if test "X$ECHO" = Xecho; then
606       # We didn't find a better echo, so look for alternatives.
607       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609          test "X$echo_testing_string" = "X$echo_test_string"; then
610         # This shell has a builtin print -r that does the trick.
611         ECHO='print -r'
612       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613            test "X$CONFIG_SHELL" != X/bin/ksh; then
614         # If we have ksh, try running configure again with it.
615         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616         export ORIGINAL_CONFIG_SHELL
617         CONFIG_SHELL=/bin/ksh
618         export CONFIG_SHELL
619         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620       else
621         # Try using printf.
622         ECHO='printf %s\n'
623         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625            test "X$echo_testing_string" = "X$echo_test_string"; then
626           # Cool, printf works
627           :
628         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629              test "X$echo_testing_string" = 'X\t' &&
630              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631              test "X$echo_testing_string" = "X$echo_test_string"; then
632           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633           export CONFIG_SHELL
634           SHELL="$CONFIG_SHELL"
635           export SHELL
636           ECHO="$CONFIG_SHELL $0 --fallback-echo"
637         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638              test "X$echo_testing_string" = 'X\t' &&
639              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640              test "X$echo_testing_string" = "X$echo_test_string"; then
641           ECHO="$CONFIG_SHELL $0 --fallback-echo"
642         else
643           # maybe with a smaller string...
644           prev=:
645
646           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648             then
649               break
650             fi
651             prev="$cmd"
652           done
653
654           if test "$prev" != 'sed 50q "$0"'; then
655             echo_test_string=`eval $prev`
656             export echo_test_string
657             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658           else
659             # Oops.  We lost completely, so just stick with echo.
660             ECHO=echo
661           fi
662         fi
663       fi
664     fi
665   fi
666 fi
667
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
670 lt_ECHO=$ECHO
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673 fi
674
675
676
677
678 test -n "$DJDIR" || exec 7<&0 </dev/null
679 exec 6>&1
680
681 # Name of the host.
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686 #
687 # Initializations.
688 #
689 ac_default_prefix=/usr/local
690 ac_clean_files=
691 ac_config_libobj_dir=.
692 LIBOBJS=
693 cross_compiling=no
694 subdirs=
695 MFLAGS=
696 MAKEFLAGS=
697
698 # Identity of this package.
699 PACKAGE_NAME=
700 PACKAGE_TARNAME=
701 PACKAGE_VERSION=
702 PACKAGE_STRING=
703 PACKAGE_BUGREPORT=
704 PACKAGE_URL=
705
706 ac_unique_file="src/control/control.c"
707 ac_default_prefix=/usr
708 # Factoring default headers for most tests.
709 ac_includes_default="\
710 #include <stdio.h>
711 #ifdef HAVE_SYS_TYPES_H
712 # include <sys/types.h>
713 #endif
714 #ifdef HAVE_SYS_STAT_H
715 # include <sys/stat.h>
716 #endif
717 #ifdef STDC_HEADERS
718 # include <stdlib.h>
719 # include <stddef.h>
720 #else
721 # ifdef HAVE_STDLIB_H
722 #  include <stdlib.h>
723 # endif
724 #endif
725 #ifdef HAVE_STRING_H
726 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #  include <memory.h>
728 # endif
729 # include <string.h>
730 #endif
731 #ifdef HAVE_STRINGS_H
732 # include <strings.h>
733 #endif
734 #ifdef HAVE_INTTYPES_H
735 # include <inttypes.h>
736 #endif
737 #ifdef HAVE_STDINT_H
738 # include <stdint.h>
739 #endif
740 #ifdef HAVE_UNISTD_H
741 # include <unistd.h>
742 #endif"
743
744 ac_subst_vars='am__EXEEXT_FALSE
745 am__EXEEXT_TRUE
746 LTLIBOBJS
747 LIBOBJS
748 BUILD_CTL_PLUGIN_EXT_FALSE
749 BUILD_CTL_PLUGIN_EXT_TRUE
750 BUILD_CTL_PLUGIN_SHM_FALSE
751 BUILD_CTL_PLUGIN_SHM_TRUE
752 BUILD_CTL_PLUGIN_FALSE
753 BUILD_CTL_PLUGIN_TRUE
754 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE
755 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE
756 BUILD_PCM_PLUGIN_IOPLUG_FALSE
757 BUILD_PCM_PLUGIN_IOPLUG_TRUE
758 BUILD_PCM_PLUGIN_EXTPLUG_FALSE
759 BUILD_PCM_PLUGIN_EXTPLUG_TRUE
760 BUILD_PCM_PLUGIN_SOFTVOL_FALSE
761 BUILD_PCM_PLUGIN_SOFTVOL_TRUE
762 BUILD_PCM_PLUGIN_IEC958_FALSE
763 BUILD_PCM_PLUGIN_IEC958_TRUE
764 BUILD_PCM_PLUGIN_ASYM_FALSE
765 BUILD_PCM_PLUGIN_ASYM_TRUE
766 BUILD_PCM_PLUGIN_DSNOOP_FALSE
767 BUILD_PCM_PLUGIN_DSNOOP_TRUE
768 BUILD_PCM_PLUGIN_DSHARE_FALSE
769 BUILD_PCM_PLUGIN_DSHARE_TRUE
770 BUILD_PCM_PLUGIN_DMIX_FALSE
771 BUILD_PCM_PLUGIN_DMIX_TRUE
772 BUILD_PCM_PLUGIN_LADSPA_FALSE
773 BUILD_PCM_PLUGIN_LADSPA_TRUE
774 BUILD_PCM_PLUGIN_LFLOAT_FALSE
775 BUILD_PCM_PLUGIN_LFLOAT_TRUE
776 BUILD_PCM_PLUGIN_HOOKS_FALSE
777 BUILD_PCM_PLUGIN_HOOKS_TRUE
778 BUILD_PCM_PLUGIN_METER_FALSE
779 BUILD_PCM_PLUGIN_METER_TRUE
780 BUILD_PCM_PLUGIN_SHARE_FALSE
781 BUILD_PCM_PLUGIN_SHARE_TRUE
782 BUILD_PCM_PLUGIN_EMPTY_FALSE
783 BUILD_PCM_PLUGIN_EMPTY_TRUE
784 BUILD_PCM_PLUGIN_NULL_FALSE
785 BUILD_PCM_PLUGIN_NULL_TRUE
786 BUILD_PCM_PLUGIN_FILE_FALSE
787 BUILD_PCM_PLUGIN_FILE_TRUE
788 BUILD_PCM_PLUGIN_SHM_FALSE
789 BUILD_PCM_PLUGIN_SHM_TRUE
790 BUILD_PCM_PLUGIN_MULTI_FALSE
791 BUILD_PCM_PLUGIN_MULTI_TRUE
792 BUILD_PCM_PLUGIN_PLUG_FALSE
793 BUILD_PCM_PLUGIN_PLUG_TRUE
794 BUILD_PCM_PLUGIN_RATE_FALSE
795 BUILD_PCM_PLUGIN_RATE_TRUE
796 BUILD_PCM_PLUGIN_ADPCM_FALSE
797 BUILD_PCM_PLUGIN_ADPCM_TRUE
798 BUILD_PCM_PLUGIN_ALAW_FALSE
799 BUILD_PCM_PLUGIN_ALAW_TRUE
800 BUILD_PCM_PLUGIN_MULAW_FALSE
801 BUILD_PCM_PLUGIN_MULAW_TRUE
802 BUILD_PCM_PLUGIN_ROUTE_FALSE
803 BUILD_PCM_PLUGIN_ROUTE_TRUE
804 BUILD_PCM_PLUGIN_LINEAR_FALSE
805 BUILD_PCM_PLUGIN_LINEAR_TRUE
806 BUILD_PCM_PLUGIN_COPY_FALSE
807 BUILD_PCM_PLUGIN_COPY_TRUE
808 BUILD_PCM_PLUGIN_FALSE
809 BUILD_PCM_PLUGIN_TRUE
810 BUILD_PYTHON_FALSE
811 BUILD_PYTHON_TRUE
812 BUILD_ALISP_FALSE
813 BUILD_ALISP_TRUE
814 BUILD_UCM_FALSE
815 BUILD_UCM_TRUE
816 BUILD_SEQ_FALSE
817 BUILD_SEQ_TRUE
818 BUILD_HWDEP_FALSE
819 BUILD_HWDEP_TRUE
820 BUILD_RAWMIDI_FALSE
821 BUILD_RAWMIDI_TRUE
822 BUILD_PCM_FALSE
823 BUILD_PCM_TRUE
824 BUILD_MIXER_FALSE
825 BUILD_MIXER_TRUE
826 PYTHON_INCLUDES
827 PYTHON_LIBS
828 KEEP_OLD_SYMBOLS_FALSE
829 KEEP_OLD_SYMBOLS_TRUE
830 ALSA_DEPLIBS
831 BUILD_MODULES_FALSE
832 BUILD_MODULES_TRUE
833 SYMBOL_PREFIX
834 SYMBOLIC_FUNCTIONS_FALSE
835 SYMBOLIC_FUNCTIONS_TRUE
836 VERSIONED_SYMBOLS_FALSE
837 VERSIONED_SYMBOLS_TRUE
838 ALSA_PLUGIN_DIR
839 ALSA_CONFIG_DIR
840 LIBTOOL_VERSION_INFO
841 SND_LIB_EXTRAVER
842 SND_LIB_SUBMINOR
843 SND_LIB_MINOR
844 SND_LIB_MAJOR
845 SND_LIB_VERSION
846 ALSA_HSEARCH_R_FALSE
847 ALSA_HSEARCH_R_TRUE
848 OTOOL64
849 OTOOL
850 LIPO
851 NMEDIT
852 DSYMUTIL
853 lt_ECHO
854 RANLIB
855 AR
856 OBJDUMP
857 NM
858 ac_ct_DUMPBIN
859 DUMPBIN
860 LD
861 FGREP
862 EGREP
863 GREP
864 SED
865 LIBTOOL
866 LN_S
867 CPP
868 am__fastdepCC_FALSE
869 am__fastdepCC_TRUE
870 CCDEPMODE
871 AMDEPBACKSLASH
872 AMDEP_FALSE
873 AMDEP_TRUE
874 am__quote
875 am__include
876 DEPDIR
877 OBJEXT
878 EXEEXT
879 ac_ct_CC
880 CPPFLAGS
881 LDFLAGS
882 CFLAGS
883 CC
884 AM_BACKSLASH
885 AM_DEFAULT_VERBOSITY
886 INSTALL_M4_FALSE
887 INSTALL_M4_TRUE
888 am__untar
889 am__tar
890 AMTAR
891 am__leading_dot
892 SET_MAKE
893 AWK
894 mkdir_p
895 MKDIR_P
896 INSTALL_STRIP_PROGRAM
897 STRIP
898 install_sh
899 MAKEINFO
900 AUTOHEADER
901 AUTOMAKE
902 AUTOCONF
903 ACLOCAL
904 VERSION
905 PACKAGE
906 CYGPATH_W
907 am__isrc
908 INSTALL_DATA
909 INSTALL_SCRIPT
910 INSTALL_PROGRAM
911 host_os
912 host_vendor
913 host_cpu
914 host
915 build_os
916 build_vendor
917 build_cpu
918 build
919 target_alias
920 host_alias
921 build_alias
922 LIBS
923 ECHO_T
924 ECHO_N
925 ECHO_C
926 DEFS
927 mandir
928 localedir
929 libdir
930 psdir
931 pdfdir
932 dvidir
933 htmldir
934 infodir
935 docdir
936 oldincludedir
937 includedir
938 localstatedir
939 sharedstatedir
940 sysconfdir
941 datadir
942 datarootdir
943 libexecdir
944 sbindir
945 bindir
946 program_transform_name
947 prefix
948 exec_prefix
949 PACKAGE_URL
950 PACKAGE_BUGREPORT
951 PACKAGE_STRING
952 PACKAGE_VERSION
953 PACKAGE_TARNAME
954 PACKAGE_NAME
955 PATH_SEPARATOR
956 SHELL'
957 ac_subst_files=''
958 ac_user_opts='
959 enable_option_checking
960 enable_silent_rules
961 enable_dependency_tracking
962 enable_static
963 enable_shared
964 with_pic
965 enable_fast_install
966 with_gnu_ld
967 enable_libtool_lock
968 with_configdir
969 with_plugindir
970 with_versioned
971 enable_symbolic_functions
972 with_debug
973 enable_debug_assert
974 with_tmpdir
975 with_softfloat
976 with_libdl
977 with_pthread
978 with_librt
979 enable_resmgr
980 enable_aload
981 with_alsa_devdir
982 with_aload_devdir
983 enable_mixer
984 enable_pcm
985 enable_rawmidi
986 enable_hwdep
987 enable_seq
988 enable_ucm
989 enable_alisp
990 enable_old_symbols
991 enable_python
992 with_pythonlibs
993 with_pythonincludes
994 with_pcm_plugins
995 with_ctl_plugins
996 '
997       ac_precious_vars='build_alias
998 host_alias
999 target_alias
1000 CC
1001 CFLAGS
1002 LDFLAGS
1003 LIBS
1004 CPPFLAGS
1005 CPP'
1006
1007
1008 # Initialize some variables set by options.
1009 ac_init_help=
1010 ac_init_version=false
1011 ac_unrecognized_opts=
1012 ac_unrecognized_sep=
1013 # The variables have the same names as the options, with
1014 # dashes changed to underlines.
1015 cache_file=/dev/null
1016 exec_prefix=NONE
1017 no_create=
1018 no_recursion=
1019 prefix=NONE
1020 program_prefix=NONE
1021 program_suffix=NONE
1022 program_transform_name=s,x,x,
1023 silent=
1024 site=
1025 srcdir=
1026 verbose=
1027 x_includes=NONE
1028 x_libraries=NONE
1029
1030 # Installation directory options.
1031 # These are left unexpanded so users can "make install exec_prefix=/foo"
1032 # and all the variables that are supposed to be based on exec_prefix
1033 # by default will actually change.
1034 # Use braces instead of parens because sh, perl, etc. also accept them.
1035 # (The list follows the same order as the GNU Coding Standards.)
1036 bindir='${exec_prefix}/bin'
1037 sbindir='${exec_prefix}/sbin'
1038 libexecdir='${exec_prefix}/libexec'
1039 datarootdir='${prefix}/share'
1040 datadir='${datarootdir}'
1041 sysconfdir='${prefix}/etc'
1042 sharedstatedir='${prefix}/com'
1043 localstatedir='${prefix}/var'
1044 includedir='${prefix}/include'
1045 oldincludedir='/usr/include'
1046 docdir='${datarootdir}/doc/${PACKAGE}'
1047 infodir='${datarootdir}/info'
1048 htmldir='${docdir}'
1049 dvidir='${docdir}'
1050 pdfdir='${docdir}'
1051 psdir='${docdir}'
1052 libdir='${exec_prefix}/lib'
1053 localedir='${datarootdir}/locale'
1054 mandir='${datarootdir}/man'
1055
1056 ac_prev=
1057 ac_dashdash=
1058 for ac_option
1059 do
1060   # If the previous option needs an argument, assign it.
1061   if test -n "$ac_prev"; then
1062     eval $ac_prev=\$ac_option
1063     ac_prev=
1064     continue
1065   fi
1066
1067   case $ac_option in
1068   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1069   *=)   ac_optarg= ;;
1070   *)    ac_optarg=yes ;;
1071   esac
1072
1073   # Accept the important Cygnus configure options, so we can diagnose typos.
1074
1075   case $ac_dashdash$ac_option in
1076   --)
1077     ac_dashdash=yes ;;
1078
1079   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1080     ac_prev=bindir ;;
1081   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1082     bindir=$ac_optarg ;;
1083
1084   -build | --build | --buil | --bui | --bu)
1085     ac_prev=build_alias ;;
1086   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1087     build_alias=$ac_optarg ;;
1088
1089   -cache-file | --cache-file | --cache-fil | --cache-fi \
1090   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1091     ac_prev=cache_file ;;
1092   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1093   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1094     cache_file=$ac_optarg ;;
1095
1096   --config-cache | -C)
1097     cache_file=config.cache ;;
1098
1099   -datadir | --datadir | --datadi | --datad)
1100     ac_prev=datadir ;;
1101   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1102     datadir=$ac_optarg ;;
1103
1104   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1105   | --dataroo | --dataro | --datar)
1106     ac_prev=datarootdir ;;
1107   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1108   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1109     datarootdir=$ac_optarg ;;
1110
1111   -disable-* | --disable-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error $? "invalid feature name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "enable_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval enable_$ac_useropt=no ;;
1126
1127   -docdir | --docdir | --docdi | --doc | --do)
1128     ac_prev=docdir ;;
1129   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1130     docdir=$ac_optarg ;;
1131
1132   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1133     ac_prev=dvidir ;;
1134   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1135     dvidir=$ac_optarg ;;
1136
1137   -enable-* | --enable-*)
1138     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1139     # Reject names that are not valid shell variable names.
1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141       as_fn_error $? "invalid feature name: $ac_useropt"
1142     ac_useropt_orig=$ac_useropt
1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144     case $ac_user_opts in
1145       *"
1146 "enable_$ac_useropt"
1147 "*) ;;
1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1149          ac_unrecognized_sep=', ';;
1150     esac
1151     eval enable_$ac_useropt=\$ac_optarg ;;
1152
1153   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1154   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1155   | --exec | --exe | --ex)
1156     ac_prev=exec_prefix ;;
1157   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1158   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1159   | --exec=* | --exe=* | --ex=*)
1160     exec_prefix=$ac_optarg ;;
1161
1162   -gas | --gas | --ga | --g)
1163     # Obsolete; use --with-gas.
1164     with_gas=yes ;;
1165
1166   -help | --help | --hel | --he | -h)
1167     ac_init_help=long ;;
1168   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1169     ac_init_help=recursive ;;
1170   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1171     ac_init_help=short ;;
1172
1173   -host | --host | --hos | --ho)
1174     ac_prev=host_alias ;;
1175   -host=* | --host=* | --hos=* | --ho=*)
1176     host_alias=$ac_optarg ;;
1177
1178   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1179     ac_prev=htmldir ;;
1180   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1181   | --ht=*)
1182     htmldir=$ac_optarg ;;
1183
1184   -includedir | --includedir | --includedi | --included | --include \
1185   | --includ | --inclu | --incl | --inc)
1186     ac_prev=includedir ;;
1187   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1188   | --includ=* | --inclu=* | --incl=* | --inc=*)
1189     includedir=$ac_optarg ;;
1190
1191   -infodir | --infodir | --infodi | --infod | --info | --inf)
1192     ac_prev=infodir ;;
1193   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1194     infodir=$ac_optarg ;;
1195
1196   -libdir | --libdir | --libdi | --libd)
1197     ac_prev=libdir ;;
1198   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1199     libdir=$ac_optarg ;;
1200
1201   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1202   | --libexe | --libex | --libe)
1203     ac_prev=libexecdir ;;
1204   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1205   | --libexe=* | --libex=* | --libe=*)
1206     libexecdir=$ac_optarg ;;
1207
1208   -localedir | --localedir | --localedi | --localed | --locale)
1209     ac_prev=localedir ;;
1210   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1211     localedir=$ac_optarg ;;
1212
1213   -localstatedir | --localstatedir | --localstatedi | --localstated \
1214   | --localstate | --localstat | --localsta | --localst | --locals)
1215     ac_prev=localstatedir ;;
1216   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1217   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1218     localstatedir=$ac_optarg ;;
1219
1220   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1221     ac_prev=mandir ;;
1222   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1223     mandir=$ac_optarg ;;
1224
1225   -nfp | --nfp | --nf)
1226     # Obsolete; use --without-fp.
1227     with_fp=no ;;
1228
1229   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1230   | --no-cr | --no-c | -n)
1231     no_create=yes ;;
1232
1233   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1234   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1235     no_recursion=yes ;;
1236
1237   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1238   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1239   | --oldin | --oldi | --old | --ol | --o)
1240     ac_prev=oldincludedir ;;
1241   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1242   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1243   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1244     oldincludedir=$ac_optarg ;;
1245
1246   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1247     ac_prev=prefix ;;
1248   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1249     prefix=$ac_optarg ;;
1250
1251   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1252   | --program-pre | --program-pr | --program-p)
1253     ac_prev=program_prefix ;;
1254   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1255   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1256     program_prefix=$ac_optarg ;;
1257
1258   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1259   | --program-suf | --program-su | --program-s)
1260     ac_prev=program_suffix ;;
1261   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1262   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1263     program_suffix=$ac_optarg ;;
1264
1265   -program-transform-name | --program-transform-name \
1266   | --program-transform-nam | --program-transform-na \
1267   | --program-transform-n | --program-transform- \
1268   | --program-transform | --program-transfor \
1269   | --program-transfo | --program-transf \
1270   | --program-trans | --program-tran \
1271   | --progr-tra | --program-tr | --program-t)
1272     ac_prev=program_transform_name ;;
1273   -program-transform-name=* | --program-transform-name=* \
1274   | --program-transform-nam=* | --program-transform-na=* \
1275   | --program-transform-n=* | --program-transform-=* \
1276   | --program-transform=* | --program-transfor=* \
1277   | --program-transfo=* | --program-transf=* \
1278   | --program-trans=* | --program-tran=* \
1279   | --progr-tra=* | --program-tr=* | --program-t=*)
1280     program_transform_name=$ac_optarg ;;
1281
1282   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1283     ac_prev=pdfdir ;;
1284   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1285     pdfdir=$ac_optarg ;;
1286
1287   -psdir | --psdir | --psdi | --psd | --ps)
1288     ac_prev=psdir ;;
1289   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1290     psdir=$ac_optarg ;;
1291
1292   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1293   | -silent | --silent | --silen | --sile | --sil)
1294     silent=yes ;;
1295
1296   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1297     ac_prev=sbindir ;;
1298   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1299   | --sbi=* | --sb=*)
1300     sbindir=$ac_optarg ;;
1301
1302   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1303   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1304   | --sharedst | --shareds | --shared | --share | --shar \
1305   | --sha | --sh)
1306     ac_prev=sharedstatedir ;;
1307   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1308   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1309   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1310   | --sha=* | --sh=*)
1311     sharedstatedir=$ac_optarg ;;
1312
1313   -site | --site | --sit)
1314     ac_prev=site ;;
1315   -site=* | --site=* | --sit=*)
1316     site=$ac_optarg ;;
1317
1318   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1319     ac_prev=srcdir ;;
1320   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1321     srcdir=$ac_optarg ;;
1322
1323   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1324   | --syscon | --sysco | --sysc | --sys | --sy)
1325     ac_prev=sysconfdir ;;
1326   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1327   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1328     sysconfdir=$ac_optarg ;;
1329
1330   -target | --target | --targe | --targ | --tar | --ta | --t)
1331     ac_prev=target_alias ;;
1332   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1333     target_alias=$ac_optarg ;;
1334
1335   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1336     verbose=yes ;;
1337
1338   -version | --version | --versio | --versi | --vers | -V)
1339     ac_init_version=: ;;
1340
1341   -with-* | --with-*)
1342     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1343     # Reject names that are not valid shell variable names.
1344     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1345       as_fn_error $? "invalid package name: $ac_useropt"
1346     ac_useropt_orig=$ac_useropt
1347     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1348     case $ac_user_opts in
1349       *"
1350 "with_$ac_useropt"
1351 "*) ;;
1352       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1353          ac_unrecognized_sep=', ';;
1354     esac
1355     eval with_$ac_useropt=\$ac_optarg ;;
1356
1357   -without-* | --without-*)
1358     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1359     # Reject names that are not valid shell variable names.
1360     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1361       as_fn_error $? "invalid package name: $ac_useropt"
1362     ac_useropt_orig=$ac_useropt
1363     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1364     case $ac_user_opts in
1365       *"
1366 "with_$ac_useropt"
1367 "*) ;;
1368       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1369          ac_unrecognized_sep=', ';;
1370     esac
1371     eval with_$ac_useropt=no ;;
1372
1373   --x)
1374     # Obsolete; use --with-x.
1375     with_x=yes ;;
1376
1377   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1378   | --x-incl | --x-inc | --x-in | --x-i)
1379     ac_prev=x_includes ;;
1380   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1381   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1382     x_includes=$ac_optarg ;;
1383
1384   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1385   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1386     ac_prev=x_libraries ;;
1387   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1388   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1389     x_libraries=$ac_optarg ;;
1390
1391   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1392 Try \`$0 --help' for more information"
1393     ;;
1394
1395   *=*)
1396     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1397     # Reject names that are not valid shell variable names.
1398     case $ac_envvar in #(
1399       '' | [0-9]* | *[!_$as_cr_alnum]* )
1400       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1401     esac
1402     eval $ac_envvar=\$ac_optarg
1403     export $ac_envvar ;;
1404
1405   *)
1406     # FIXME: should be removed in autoconf 3.0.
1407     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1408     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1410     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1411     ;;
1412
1413   esac
1414 done
1415
1416 if test -n "$ac_prev"; then
1417   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1418   as_fn_error $? "missing argument to $ac_option"
1419 fi
1420
1421 if test -n "$ac_unrecognized_opts"; then
1422   case $enable_option_checking in
1423     no) ;;
1424     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1425     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1426   esac
1427 fi
1428
1429 # Check all directory arguments for consistency.
1430 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1431                 datadir sysconfdir sharedstatedir localstatedir includedir \
1432                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1433                 libdir localedir mandir
1434 do
1435   eval ac_val=\$$ac_var
1436   # Remove trailing slashes.
1437   case $ac_val in
1438     */ )
1439       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1440       eval $ac_var=\$ac_val;;
1441   esac
1442   # Be sure to have absolute directory names.
1443   case $ac_val in
1444     [\\/$]* | ?:[\\/]* )  continue;;
1445     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446   esac
1447   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1448 done
1449
1450 # There might be people who depend on the old broken behavior: `$host'
1451 # used to hold the argument of --host etc.
1452 # FIXME: To remove some day.
1453 build=$build_alias
1454 host=$host_alias
1455 target=$target_alias
1456
1457 # FIXME: To remove some day.
1458 if test "x$host_alias" != x; then
1459   if test "x$build_alias" = x; then
1460     cross_compiling=maybe
1461     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1462     If a cross compiler is detected then cross compile mode will be used" >&2
1463   elif test "x$build_alias" != "x$host_alias"; then
1464     cross_compiling=yes
1465   fi
1466 fi
1467
1468 ac_tool_prefix=
1469 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1470
1471 test "$silent" = yes && exec 6>/dev/null
1472
1473
1474 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1475 ac_ls_di=`ls -di .` &&
1476 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1477   as_fn_error $? "working directory cannot be determined"
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479   as_fn_error $? "pwd does not report name of working directory"
1480
1481
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484   ac_srcdir_defaulted=yes
1485   # Try the directory containing this script, then the parent directory.
1486   ac_confdir=`$as_dirname -- "$as_myself" ||
1487 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488          X"$as_myself" : 'X\(//\)[^/]' \| \
1489          X"$as_myself" : 'X\(//\)$' \| \
1490          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1491 $as_echo X"$as_myself" |
1492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493             s//\1/
1494             q
1495           }
1496           /^X\(\/\/\)[^/].*/{
1497             s//\1/
1498             q
1499           }
1500           /^X\(\/\/\)$/{
1501             s//\1/
1502             q
1503           }
1504           /^X\(\/\).*/{
1505             s//\1/
1506             q
1507           }
1508           s/.*/./; q'`
1509   srcdir=$ac_confdir
1510   if test ! -r "$srcdir/$ac_unique_file"; then
1511     srcdir=..
1512   fi
1513 else
1514   ac_srcdir_defaulted=no
1515 fi
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1519 fi
1520 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1521 ac_abs_confdir=`(
1522         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1523         pwd)`
1524 # When building in place, set srcdir=.
1525 if test "$ac_abs_confdir" = "$ac_pwd"; then
1526   srcdir=.
1527 fi
1528 # Remove unnecessary trailing slashes from srcdir.
1529 # Double slashes in file names in object file debugging info
1530 # mess up M-x gdb in Emacs.
1531 case $srcdir in
1532 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1533 esac
1534 for ac_var in $ac_precious_vars; do
1535   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1536   eval ac_env_${ac_var}_value=\$${ac_var}
1537   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1538   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1539 done
1540
1541 #
1542 # Report the --help message.
1543 #
1544 if test "$ac_init_help" = "long"; then
1545   # Omit some internal or obsolete options to make the list less imposing.
1546   # This message is too long to be a string in the A/UX 3.1 sh.
1547   cat <<_ACEOF
1548 \`configure' configures this package to adapt to many kinds of systems.
1549
1550 Usage: $0 [OPTION]... [VAR=VALUE]...
1551
1552 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1553 VAR=VALUE.  See below for descriptions of some of the useful variables.
1554
1555 Defaults for the options are specified in brackets.
1556
1557 Configuration:
1558   -h, --help              display this help and exit
1559       --help=short        display options specific to this package
1560       --help=recursive    display the short help of all the included packages
1561   -V, --version           display version information and exit
1562   -q, --quiet, --silent   do not print \`checking ...' messages
1563       --cache-file=FILE   cache test results in FILE [disabled]
1564   -C, --config-cache      alias for \`--cache-file=config.cache'
1565   -n, --no-create         do not create output files
1566       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1567
1568 Installation directories:
1569   --prefix=PREFIX         install architecture-independent files in PREFIX
1570                           [$ac_default_prefix]
1571   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1572                           [PREFIX]
1573
1574 By default, \`make install' will install all the files in
1575 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1576 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1577 for instance \`--prefix=\$HOME'.
1578
1579 For better control, use the options below.
1580
1581 Fine tuning of the installation directories:
1582   --bindir=DIR            user executables [EPREFIX/bin]
1583   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1584   --libexecdir=DIR        program executables [EPREFIX/libexec]
1585   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1586   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1587   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1588   --libdir=DIR            object code libraries [EPREFIX/lib]
1589   --includedir=DIR        C header files [PREFIX/include]
1590   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1591   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1592   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1593   --infodir=DIR           info documentation [DATAROOTDIR/info]
1594   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1595   --mandir=DIR            man documentation [DATAROOTDIR/man]
1596   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1597   --htmldir=DIR           html documentation [DOCDIR]
1598   --dvidir=DIR            dvi documentation [DOCDIR]
1599   --pdfdir=DIR            pdf documentation [DOCDIR]
1600   --psdir=DIR             ps documentation [DOCDIR]
1601 _ACEOF
1602
1603   cat <<\_ACEOF
1604
1605 Program names:
1606   --program-prefix=PREFIX            prepend PREFIX to installed program names
1607   --program-suffix=SUFFIX            append SUFFIX to installed program names
1608   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1609
1610 System types:
1611   --build=BUILD     configure for building on BUILD [guessed]
1612   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1613 _ACEOF
1614 fi
1615
1616 if test -n "$ac_init_help"; then
1617
1618   cat <<\_ACEOF
1619
1620 Optional Features:
1621   --disable-option-checking  ignore unrecognized --enable/--with options
1622   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1623   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1624   --enable-silent-rules          less verbose build output (undo: `make V=1')
1625   --disable-silent-rules         verbose build output (undo: `make V=0')
1626   --disable-dependency-tracking  speeds up one-time build
1627   --enable-dependency-tracking   do not reject slow dependency extractors
1628   --enable-static[=PKGS]  build static libraries [default=no]
1629   --enable-shared[=PKGS]  build shared libraries [default=yes]
1630   --enable-fast-install[=PKGS]
1631                           optimize for fast installation [default=yes]
1632   --disable-libtool-lock  avoid locking (might break parallel builds)
1633   --enable-symbolic-functions
1634                           use -Bsymbolic-functions option if available
1635                           (optmization for size and speed)
1636   --enable-debug          enable assert call at the default error message
1637                           handler
1638   --enable-resmgr         support resmgr (optional)
1639   --disable-aload         disable reading /dev/aload*
1640   --disable-mixer         disable the mixer component
1641   --disable-pcm           disable the PCM component
1642   --disable-rawmidi       disable the raw MIDI component
1643   --disable-hwdep         disable the hwdep component
1644   --disable-seq           disable the sequencer component
1645   --disable-ucm           disable the use-case-manager component
1646   --disable-alisp         disable the alisp component
1647   --disable-old-symbols   disable old obsoleted symbols
1648   --disable-python        disable the python components
1649
1650 Optional Packages:
1651   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1652   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1653   --with-pic              try to use only PIC/non-PIC objects [default=use
1654                           both]
1655   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1656   --with-configdir=dir    path where ALSA config files are stored
1657   --with-plugindir=dir    path where ALSA plugin files are stored
1658   --with-versioned        shared library will be compiled with versioned
1659                           symbols (default = yes)
1660   --with-debug            library will be compiled with asserts (default =
1661                           yes)
1662   --with-tmpdir=directory directory to put tmp socket files (/tmp)
1663   --with-softfloat        do you have floating point unit on this machine?
1664                           (optional)
1665   --with-libdl            Use libdl for plugins (default = yes)
1666   --with-pthread          Use pthread (default = yes)
1667   --with-librt            Use librt for monotonic clock (default = yes)
1668   --with-alsa-devdir=dir  directory with ALSA device files (default /dev/snd)
1669   --with-aload-devdir=dir directory with aload* device files (default /dev)
1670   --with-pythonlibs=ldflags
1671                           specify python libraries (-lpthread -lm -ldl
1672                           -lpython2.4)
1673   --with-pythonincludes=Cflags
1674                           specify python C header files
1675                           (-I/usr/include/python)
1676   --with-pcm-plugins=<list>
1677                           build PCM plugins (default = all)
1678   --with-ctl-plugins=<list>
1679                           build control plugins (default = all)
1680
1681 Some influential environment variables:
1682   CC          C compiler command
1683   CFLAGS      C compiler flags
1684   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1685               nonstandard directory <lib dir>
1686   LIBS        libraries to pass to the linker, e.g. -l<library>
1687   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1688               you have headers in a nonstandard directory <include dir>
1689   CPP         C preprocessor
1690
1691 Use these variables to override the choices made by `configure' or to help
1692 it to find libraries and programs with nonstandard names/locations.
1693
1694 Report bugs to the package provider.
1695 _ACEOF
1696 ac_status=$?
1697 fi
1698
1699 if test "$ac_init_help" = "recursive"; then
1700   # If there are subdirs, report their specific --help.
1701   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1702     test -d "$ac_dir" ||
1703       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1704       continue
1705     ac_builddir=.
1706
1707 case "$ac_dir" in
1708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1709 *)
1710   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1711   # A ".." for each directory in $ac_dir_suffix.
1712   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1713   case $ac_top_builddir_sub in
1714   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1715   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1716   esac ;;
1717 esac
1718 ac_abs_top_builddir=$ac_pwd
1719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1720 # for backward compatibility:
1721 ac_top_builddir=$ac_top_build_prefix
1722
1723 case $srcdir in
1724   .)  # We are building in place.
1725     ac_srcdir=.
1726     ac_top_srcdir=$ac_top_builddir_sub
1727     ac_abs_top_srcdir=$ac_pwd ;;
1728   [\\/]* | ?:[\\/]* )  # Absolute name.
1729     ac_srcdir=$srcdir$ac_dir_suffix;
1730     ac_top_srcdir=$srcdir
1731     ac_abs_top_srcdir=$srcdir ;;
1732   *) # Relative name.
1733     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1734     ac_top_srcdir=$ac_top_build_prefix$srcdir
1735     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1736 esac
1737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1738
1739     cd "$ac_dir" || { ac_status=$?; continue; }
1740     # Check for guested configure.
1741     if test -f "$ac_srcdir/configure.gnu"; then
1742       echo &&
1743       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1744     elif test -f "$ac_srcdir/configure"; then
1745       echo &&
1746       $SHELL "$ac_srcdir/configure" --help=recursive
1747     else
1748       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1749     fi || ac_status=$?
1750     cd "$ac_pwd" || { ac_status=$?; break; }
1751   done
1752 fi
1753
1754 test -n "$ac_init_help" && exit $ac_status
1755 if $ac_init_version; then
1756   cat <<\_ACEOF
1757 configure
1758 generated by GNU Autoconf 2.67
1759
1760 Copyright (C) 2010 Free Software Foundation, Inc.
1761 This configure script is free software; the Free Software Foundation
1762 gives unlimited permission to copy, distribute and modify it.
1763 _ACEOF
1764   exit
1765 fi
1766
1767 ## ------------------------ ##
1768 ## Autoconf initialization. ##
1769 ## ------------------------ ##
1770
1771 # ac_fn_c_try_compile LINENO
1772 # --------------------------
1773 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1774 ac_fn_c_try_compile ()
1775 {
1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777   rm -f conftest.$ac_objext
1778   if { { ac_try="$ac_compile"
1779 case "(($ac_try" in
1780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781   *) ac_try_echo=$ac_try;;
1782 esac
1783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785   (eval "$ac_compile") 2>conftest.err
1786   ac_status=$?
1787   if test -s conftest.err; then
1788     grep -v '^ *+' conftest.err >conftest.er1
1789     cat conftest.er1 >&5
1790     mv -f conftest.er1 conftest.err
1791   fi
1792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793   test $ac_status = 0; } && {
1794          test -z "$ac_c_werror_flag" ||
1795          test ! -s conftest.err
1796        } && test -s conftest.$ac_objext; then :
1797   ac_retval=0
1798 else
1799   $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1801
1802         ac_retval=1
1803 fi
1804   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805   as_fn_set_status $ac_retval
1806
1807 } # ac_fn_c_try_compile
1808
1809 # ac_fn_c_try_cpp LINENO
1810 # ----------------------
1811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812 ac_fn_c_try_cpp ()
1813 {
1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815   if { { ac_try="$ac_cpp conftest.$ac_ext"
1816 case "(($ac_try" in
1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818   *) ac_try_echo=$ac_try;;
1819 esac
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823   ac_status=$?
1824   if test -s conftest.err; then
1825     grep -v '^ *+' conftest.err >conftest.er1
1826     cat conftest.er1 >&5
1827     mv -f conftest.er1 conftest.err
1828   fi
1829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830   test $ac_status = 0; } > conftest.i && {
1831          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1832          test ! -s conftest.err
1833        }; then :
1834   ac_retval=0
1835 else
1836   $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1838
1839     ac_retval=1
1840 fi
1841   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842   as_fn_set_status $ac_retval
1843
1844 } # ac_fn_c_try_cpp
1845
1846 # ac_fn_c_try_link LINENO
1847 # -----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
1849 ac_fn_c_try_link ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   rm -f conftest.$ac_objext conftest$ac_exeext
1853   if { { ac_try="$ac_link"
1854 case "(($ac_try" in
1855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856   *) ac_try_echo=$ac_try;;
1857 esac
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860   (eval "$ac_link") 2>conftest.err
1861   ac_status=$?
1862   if test -s conftest.err; then
1863     grep -v '^ *+' conftest.err >conftest.er1
1864     cat conftest.er1 >&5
1865     mv -f conftest.er1 conftest.err
1866   fi
1867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868   test $ac_status = 0; } && {
1869          test -z "$ac_c_werror_flag" ||
1870          test ! -s conftest.err
1871        } && test -s conftest$ac_exeext && {
1872          test "$cross_compiling" = yes ||
1873          $as_test_x conftest$ac_exeext
1874        }; then :
1875   ac_retval=0
1876 else
1877   $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1879
1880         ac_retval=1
1881 fi
1882   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1883   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1884   # interfere with the next link command; also delete a directory that is
1885   # left behind by Apple's compiler.  We do this before executing the actions.
1886   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888   as_fn_set_status $ac_retval
1889
1890 } # ac_fn_c_try_link
1891
1892 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1893 # -------------------------------------------------------
1894 # Tests whether HEADER exists and can be compiled using the include files in
1895 # INCLUDES, setting the cache variable VAR accordingly.
1896 ac_fn_c_check_header_compile ()
1897 {
1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval "test \"\${$3+set}\"" = set; then :
1902   $as_echo_n "(cached) " >&6
1903 else
1904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h.  */
1906 $4
1907 #include <$2>
1908 _ACEOF
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910   eval "$3=yes"
1911 else
1912   eval "$3=no"
1913 fi
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1915 fi
1916 eval ac_res=\$$3
1917                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920
1921 } # ac_fn_c_check_header_compile
1922
1923 # ac_fn_c_try_run LINENO
1924 # ----------------------
1925 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1926 # that executables *can* be run.
1927 ac_fn_c_try_run ()
1928 {
1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930   if { { ac_try="$ac_link"
1931 case "(($ac_try" in
1932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933   *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937   (eval "$ac_link") 2>&5
1938   ac_status=$?
1939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1941   { { case "(($ac_try" in
1942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943   *) ac_try_echo=$ac_try;;
1944 esac
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947   (eval "$ac_try") 2>&5
1948   ac_status=$?
1949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950   test $ac_status = 0; }; }; then :
1951   ac_retval=0
1952 else
1953   $as_echo "$as_me: program exited with status $ac_status" >&5
1954        $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1956
1957        ac_retval=$ac_status
1958 fi
1959   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1960   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961   as_fn_set_status $ac_retval
1962
1963 } # ac_fn_c_try_run
1964
1965 # ac_fn_c_check_func LINENO FUNC VAR
1966 # ----------------------------------
1967 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1968 ac_fn_c_check_func ()
1969 {
1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if eval "test \"\${$3+set}\"" = set; then :
1974   $as_echo_n "(cached) " >&6
1975 else
1976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h.  */
1978 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1980 #define $2 innocuous_$2
1981
1982 /* System header to define __stub macros and hopefully few prototypes,
1983     which can conflict with char $2 (); below.
1984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1985     <limits.h> exists even on freestanding compilers.  */
1986
1987 #ifdef __STDC__
1988 # include <limits.h>
1989 #else
1990 # include <assert.h>
1991 #endif
1992
1993 #undef $2
1994
1995 /* Override any GCC internal prototype to avoid an error.
1996    Use char because int might match the return type of a GCC
1997    builtin and then its argument prototype would still apply.  */
1998 #ifdef __cplusplus
1999 extern "C"
2000 #endif
2001 char $2 ();
2002 /* The GNU C library defines this for functions which it implements
2003     to always fail with ENOSYS.  Some functions are actually named
2004     something starting with __ and the normal name is an alias.  */
2005 #if defined __stub_$2 || defined __stub___$2
2006 choke me
2007 #endif
2008
2009 int
2010 main ()
2011 {
2012 return $2 ();
2013   ;
2014   return 0;
2015 }
2016 _ACEOF
2017 if ac_fn_c_try_link "$LINENO"; then :
2018   eval "$3=yes"
2019 else
2020   eval "$3=no"
2021 fi
2022 rm -f core conftest.err conftest.$ac_objext \
2023     conftest$ac_exeext conftest.$ac_ext
2024 fi
2025 eval ac_res=\$$3
2026                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029
2030 } # ac_fn_c_check_func
2031
2032 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # -------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2036 # accordingly.
2037 ac_fn_c_check_header_mongrel ()
2038 {
2039   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040   if eval "test \"\${$3+set}\"" = set; then :
2041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if eval "test \"\${$3+set}\"" = set; then :
2044   $as_echo_n "(cached) " >&6
2045 fi
2046 eval ac_res=\$$3
2047                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 else
2050   # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h.  */
2055 $4
2056 #include <$2>
2057 _ACEOF
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059   ac_header_compiler=yes
2060 else
2061   ac_header_compiler=no
2062 fi
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2066
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h.  */
2072 #include <$2>
2073 _ACEOF
2074 if ac_fn_c_try_cpp "$LINENO"; then :
2075   ac_header_preproc=yes
2076 else
2077   ac_header_preproc=no
2078 fi
2079 rm -f conftest.err conftest.i conftest.$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2082
2083 # So?  What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2085   yes:no: )
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2090     ;;
2091   no:yes:* )
2092     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2096     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2100     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102     ;;
2103 esac
2104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2105 $as_echo_n "checking for $2... " >&6; }
2106 if eval "test \"\${$3+set}\"" = set; then :
2107   $as_echo_n "(cached) " >&6
2108 else
2109   eval "$3=\$ac_header_compiler"
2110 fi
2111 eval ac_res=\$$3
2112                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 fi
2115   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2116
2117 } # ac_fn_c_check_header_mongrel
2118 cat >config.log <<_ACEOF
2119 This file contains any messages produced by compilers while
2120 running configure, to aid debugging if configure makes a mistake.
2121
2122 It was created by $as_me, which was
2123 generated by GNU Autoconf 2.67.  Invocation command line was
2124
2125   $ $0 $@
2126
2127 _ACEOF
2128 exec 5>>config.log
2129 {
2130 cat <<_ASUNAME
2131 ## --------- ##
2132 ## Platform. ##
2133 ## --------- ##
2134
2135 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2136 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2137 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2138 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2139 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2140
2141 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2142 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2143
2144 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2145 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2146 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2147 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2148 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2149 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2150 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2151
2152 _ASUNAME
2153
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2156 do
2157   IFS=$as_save_IFS
2158   test -z "$as_dir" && as_dir=.
2159     $as_echo "PATH: $as_dir"
2160   done
2161 IFS=$as_save_IFS
2162
2163 } >&5
2164
2165 cat >&5 <<_ACEOF
2166
2167
2168 ## ----------- ##
2169 ## Core tests. ##
2170 ## ----------- ##
2171
2172 _ACEOF
2173
2174
2175 # Keep a trace of the command line.
2176 # Strip out --no-create and --no-recursion so they do not pile up.
2177 # Strip out --silent because we don't want to record it for future runs.
2178 # Also quote any args containing shell meta-characters.
2179 # Make two passes to allow for proper duplicate-argument suppression.
2180 ac_configure_args=
2181 ac_configure_args0=
2182 ac_configure_args1=
2183 ac_must_keep_next=false
2184 for ac_pass in 1 2
2185 do
2186   for ac_arg
2187   do
2188     case $ac_arg in
2189     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2190     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2191     | -silent | --silent | --silen | --sile | --sil)
2192       continue ;;
2193     *\'*)
2194       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2195     esac
2196     case $ac_pass in
2197     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2198     2)
2199       as_fn_append ac_configure_args1 " '$ac_arg'"
2200       if test $ac_must_keep_next = true; then
2201         ac_must_keep_next=false # Got value, back to normal.
2202       else
2203         case $ac_arg in
2204           *=* | --config-cache | -C | -disable-* | --disable-* \
2205           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2206           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2207           | -with-* | --with-* | -without-* | --without-* | --x)
2208             case "$ac_configure_args0 " in
2209               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2210             esac
2211             ;;
2212           -* ) ac_must_keep_next=true ;;
2213         esac
2214       fi
2215       as_fn_append ac_configure_args " '$ac_arg'"
2216       ;;
2217     esac
2218   done
2219 done
2220 { ac_configure_args0=; unset ac_configure_args0;}
2221 { ac_configure_args1=; unset ac_configure_args1;}
2222
2223 # When interrupted or exit'd, cleanup temporary files, and complete
2224 # config.log.  We remove comments because anyway the quotes in there
2225 # would cause problems or look ugly.
2226 # WARNING: Use '\'' to represent an apostrophe within the trap.
2227 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2228 trap 'exit_status=$?
2229   # Save into config.log some information that might help in debugging.
2230   {
2231     echo
2232
2233     $as_echo "## ---------------- ##
2234 ## Cache variables. ##
2235 ## ---------------- ##"
2236     echo
2237     # The following way of writing the cache mishandles newlines in values,
2238 (
2239   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2240     eval ac_val=\$$ac_var
2241     case $ac_val in #(
2242     *${as_nl}*)
2243       case $ac_var in #(
2244       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2246       esac
2247       case $ac_var in #(
2248       _ | IFS | as_nl) ;; #(
2249       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2250       *) { eval $ac_var=; unset $ac_var;} ;;
2251       esac ;;
2252     esac
2253   done
2254   (set) 2>&1 |
2255     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2256     *${as_nl}ac_space=\ *)
2257       sed -n \
2258         "s/'\''/'\''\\\\'\'''\''/g;
2259           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2260       ;; #(
2261     *)
2262       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263       ;;
2264     esac |
2265     sort
2266 )
2267     echo
2268
2269     $as_echo "## ----------------- ##
2270 ## Output variables. ##
2271 ## ----------------- ##"
2272     echo
2273     for ac_var in $ac_subst_vars
2274     do
2275       eval ac_val=\$$ac_var
2276       case $ac_val in
2277       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278       esac
2279       $as_echo "$ac_var='\''$ac_val'\''"
2280     done | sort
2281     echo
2282
2283     if test -n "$ac_subst_files"; then
2284       $as_echo "## ------------------- ##
2285 ## File substitutions. ##
2286 ## ------------------- ##"
2287       echo
2288       for ac_var in $ac_subst_files
2289       do
2290         eval ac_val=\$$ac_var
2291         case $ac_val in
2292         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293         esac
2294         $as_echo "$ac_var='\''$ac_val'\''"
2295       done | sort
2296       echo
2297     fi
2298
2299     if test -s confdefs.h; then
2300       $as_echo "## ----------- ##
2301 ## confdefs.h. ##
2302 ## ----------- ##"
2303       echo
2304       cat confdefs.h
2305       echo
2306     fi
2307     test "$ac_signal" != 0 &&
2308       $as_echo "$as_me: caught signal $ac_signal"
2309     $as_echo "$as_me: exit $exit_status"
2310   } >&5
2311   rm -f core *.core core.conftest.* &&
2312     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313     exit $exit_status
2314 ' 0
2315 for ac_signal in 1 2 13 15; do
2316   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2317 done
2318 ac_signal=0
2319
2320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2321 rm -f -r conftest* confdefs.h
2322
2323 $as_echo "/* confdefs.h */" > confdefs.h
2324
2325 # Predefined preprocessor variables.
2326
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_NAME "$PACKAGE_NAME"
2329 _ACEOF
2330
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2333 _ACEOF
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 _ACEOF
2338
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 _ACEOF
2342
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2345 _ACEOF
2346
2347 cat >>confdefs.h <<_ACEOF
2348 #define PACKAGE_URL "$PACKAGE_URL"
2349 _ACEOF
2350
2351
2352 # Let the site file select an alternate cache file if it wants to.
2353 # Prefer an explicitly selected file to automatically selected ones.
2354 ac_site_file1=NONE
2355 ac_site_file2=NONE
2356 if test -n "$CONFIG_SITE"; then
2357   # We do not want a PATH search for config.site.
2358   case $CONFIG_SITE in #((
2359     -*)  ac_site_file1=./$CONFIG_SITE;;
2360     */*) ac_site_file1=$CONFIG_SITE;;
2361     *)   ac_site_file1=./$CONFIG_SITE;;
2362   esac
2363 elif test "x$prefix" != xNONE; then
2364   ac_site_file1=$prefix/share/config.site
2365   ac_site_file2=$prefix/etc/config.site
2366 else
2367   ac_site_file1=$ac_default_prefix/share/config.site
2368   ac_site_file2=$ac_default_prefix/etc/config.site
2369 fi
2370 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2371 do
2372   test "x$ac_site_file" = xNONE && continue
2373   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2374     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2375 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2376     sed 's/^/| /' "$ac_site_file" >&5
2377     . "$ac_site_file" \
2378       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2380 as_fn_error $? "failed to load site script $ac_site_file
2381 See \`config.log' for more details" "$LINENO" 5 ; }
2382   fi
2383 done
2384
2385 if test -r "$cache_file"; then
2386   # Some versions of bash will fail to source /dev/null (special files
2387   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2388   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2389     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2390 $as_echo "$as_me: loading cache $cache_file" >&6;}
2391     case $cache_file in
2392       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2393       *)                      . "./$cache_file";;
2394     esac
2395   fi
2396 else
2397   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2398 $as_echo "$as_me: creating cache $cache_file" >&6;}
2399   >$cache_file
2400 fi
2401
2402 # Check that the precious variables saved in the cache have kept the same
2403 # value.
2404 ac_cache_corrupted=false
2405 for ac_var in $ac_precious_vars; do
2406   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2407   eval ac_new_set=\$ac_env_${ac_var}_set
2408   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2409   eval ac_new_val=\$ac_env_${ac_var}_value
2410   case $ac_old_set,$ac_new_set in
2411     set,)
2412       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2413 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2414       ac_cache_corrupted=: ;;
2415     ,set)
2416       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2417 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2418       ac_cache_corrupted=: ;;
2419     ,);;
2420     *)
2421       if test "x$ac_old_val" != "x$ac_new_val"; then
2422         # differences in whitespace do not lead to failure.
2423         ac_old_val_w=`echo x $ac_old_val`
2424         ac_new_val_w=`echo x $ac_new_val`
2425         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2426           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2427 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2428           ac_cache_corrupted=:
2429         else
2430           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2431 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2432           eval $ac_var=\$ac_old_val
2433         fi
2434         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2435 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2436         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2437 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2438       fi;;
2439   esac
2440   # Pass precious variables to config.status.
2441   if test "$ac_new_set" = set; then
2442     case $ac_new_val in
2443     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2444     *) ac_arg=$ac_var=$ac_new_val ;;
2445     esac
2446     case " $ac_configure_args " in
2447       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2448       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2449     esac
2450   fi
2451 done
2452 if $ac_cache_corrupted; then
2453   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2455   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2456 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2457   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2458 fi
2459 ## -------------------- ##
2460 ## Main body of script. ##
2461 ## -------------------- ##
2462
2463 ac_ext=c
2464 ac_cpp='$CPP $CPPFLAGS'
2465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2468
2469
2470
2471
2472
2473 ac_aux_dir=
2474 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2475   if test -f "$ac_dir/install-sh"; then
2476     ac_aux_dir=$ac_dir
2477     ac_install_sh="$ac_aux_dir/install-sh -c"
2478     break
2479   elif test -f "$ac_dir/install.sh"; then
2480     ac_aux_dir=$ac_dir
2481     ac_install_sh="$ac_aux_dir/install.sh -c"
2482     break
2483   elif test -f "$ac_dir/shtool"; then
2484     ac_aux_dir=$ac_dir
2485     ac_install_sh="$ac_aux_dir/shtool install -c"
2486     break
2487   fi
2488 done
2489 if test -z "$ac_aux_dir"; then
2490   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2491 fi
2492
2493 # These three variables are undocumented and unsupported,
2494 # and are intended to be withdrawn in a future Autoconf release.
2495 # They can cause serious problems if a builder's source tree is in a directory
2496 # whose full name contains unusual characters.
2497 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2498 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2499 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2500
2501
2502 # Make sure we can run config.sub.
2503 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2504   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2505
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2507 $as_echo_n "checking build system type... " >&6; }
2508 if test "${ac_cv_build+set}" = set; then :
2509   $as_echo_n "(cached) " >&6
2510 else
2511   ac_build_alias=$build_alias
2512 test "x$ac_build_alias" = x &&
2513   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2514 test "x$ac_build_alias" = x &&
2515   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2517   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2518
2519 fi
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2521 $as_echo "$ac_cv_build" >&6; }
2522 case $ac_cv_build in
2523 *-*-*) ;;
2524 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2525 esac
2526 build=$ac_cv_build
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_build
2529 shift
2530 build_cpu=$1
2531 build_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 build_os=$*
2536 IFS=$ac_save_IFS
2537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2541 $as_echo_n "checking host system type... " >&6; }
2542 if test "${ac_cv_host+set}" = set; then :
2543   $as_echo_n "(cached) " >&6
2544 else
2545   if test "x$host_alias" = x; then
2546   ac_cv_host=$ac_cv_build
2547 else
2548   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2549     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2550 fi
2551
2552 fi
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2554 $as_echo "$ac_cv_host" >&6; }
2555 case $ac_cv_host in
2556 *-*-*) ;;
2557 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2558 esac
2559 host=$ac_cv_host
2560 ac_save_IFS=$IFS; IFS='-'
2561 set x $ac_cv_host
2562 shift
2563 host_cpu=$1
2564 host_vendor=$2
2565 shift; shift
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2568 host_os=$*
2569 IFS=$ac_save_IFS
2570 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2571
2572
2573 am__api_version='1.11'
2574
2575 # Find a good install program.  We prefer a C program (faster),
2576 # so one script is as good as another.  But avoid the broken or
2577 # incompatible versions:
2578 # SysV /etc/install, /usr/sbin/install
2579 # SunOS /usr/etc/install
2580 # IRIX /sbin/install
2581 # AIX /bin/install
2582 # AmigaOS /C/install, which installs bootblocks on floppy discs
2583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2586 # OS/2's system install, which has a completely different semantic
2587 # ./install, which can be erroneously created by make from ./install.sh.
2588 # Reject install programs that cannot install multiple files.
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2590 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2591 if test -z "$INSTALL"; then
2592 if test "${ac_cv_path_install+set}" = set; then :
2593   $as_echo_n "(cached) " >&6
2594 else
2595   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2597 do
2598   IFS=$as_save_IFS
2599   test -z "$as_dir" && as_dir=.
2600     # Account for people who put trailing slashes in PATH elements.
2601 case $as_dir/ in #((
2602   ./ | .// | /[cC]/* | \
2603   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2604   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2605   /usr/ucb/* ) ;;
2606   *)
2607     # OSF1 and SCO ODT 3.0 have their own names for install.
2608     # Don't use installbsd from OSF since it installs stuff as root
2609     # by default.
2610     for ac_prog in ginstall scoinst install; do
2611       for ac_exec_ext in '' $ac_executable_extensions; do
2612         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2613           if test $ac_prog = install &&
2614             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2615             # AIX install.  It has an incompatible calling convention.
2616             :
2617           elif test $ac_prog = install &&
2618             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2619             # program-specific install script used by HP pwplus--don't use.
2620             :
2621           else
2622             rm -rf conftest.one conftest.two conftest.dir
2623             echo one > conftest.one
2624             echo two > conftest.two
2625             mkdir conftest.dir
2626             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2627               test -s conftest.one && test -s conftest.two &&
2628               test -s conftest.dir/conftest.one &&
2629               test -s conftest.dir/conftest.two
2630             then
2631               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2632               break 3
2633             fi
2634           fi
2635         fi
2636       done
2637     done
2638     ;;
2639 esac
2640
2641   done
2642 IFS=$as_save_IFS
2643
2644 rm -rf conftest.one conftest.two conftest.dir
2645
2646 fi
2647   if test "${ac_cv_path_install+set}" = set; then
2648     INSTALL=$ac_cv_path_install
2649   else
2650     # As a last resort, use the slow shell script.  Don't cache a
2651     # value for INSTALL within a source directory, because that will
2652     # break other packages using the cache if that directory is
2653     # removed, or if the value is a relative name.
2654     INSTALL=$ac_install_sh
2655   fi
2656 fi
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2658 $as_echo "$INSTALL" >&6; }
2659
2660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2661 # It thinks the first close brace ends the variable substitution.
2662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2663
2664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2665
2666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2667
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2669 $as_echo_n "checking whether build environment is sane... " >&6; }
2670 # Just in case
2671 sleep 1
2672 echo timestamp > conftest.file
2673 # Reject unsafe characters in $srcdir or the absolute working directory
2674 # name.  Accept space and tab only in the latter.
2675 am_lf='
2676 '
2677 case `pwd` in
2678   *[\\\"\#\$\&\'\`$am_lf]*)
2679     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2680 esac
2681 case $srcdir in
2682   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2683     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2684 esac
2685
2686 # Do `set' in a subshell so we don't clobber the current shell's
2687 # arguments.  Must try -L first in case configure is actually a
2688 # symlink; some systems play weird games with the mod time of symlinks
2689 # (eg FreeBSD returns the mod time of the symlink's containing
2690 # directory).
2691 if (
2692    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2693    if test "$*" = "X"; then
2694       # -L didn't work.
2695       set X `ls -t "$srcdir/configure" conftest.file`
2696    fi
2697    rm -f conftest.file
2698    if test "$*" != "X $srcdir/configure conftest.file" \
2699       && test "$*" != "X conftest.file $srcdir/configure"; then
2700
2701       # If neither matched, then we have a broken ls.  This can happen
2702       # if, for instance, CONFIG_SHELL is bash and it inherits a
2703       # broken ls alias from the environment.  This has actually
2704       # happened.  Such a system could not be considered "sane".
2705       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2706 alias in your environment" "$LINENO" 5
2707    fi
2708
2709    test "$2" = conftest.file
2710    )
2711 then
2712    # Ok.
2713    :
2714 else
2715    as_fn_error $? "newly created file is older than distributed files!
2716 Check your system clock" "$LINENO" 5
2717 fi
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2719 $as_echo "yes" >&6; }
2720 test "$program_prefix" != NONE &&
2721   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2722 # Use a double $ so make ignores it.
2723 test "$program_suffix" != NONE &&
2724   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2725 # Double any \ or $.
2726 # By default was `s,x,x', remove it if useless.
2727 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2728 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2729
2730 # expand $ac_aux_dir to an absolute path
2731 am_aux_dir=`cd $ac_aux_dir && pwd`
2732
2733 if test x"${MISSING+set}" != xset; then
2734   case $am_aux_dir in
2735   *\ * | *\     *)
2736     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2737   *)
2738     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2739   esac
2740 fi
2741 # Use eval to expand $SHELL
2742 if eval "$MISSING --run true"; then
2743   am_missing_run="$MISSING --run "
2744 else
2745   am_missing_run=
2746   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2747 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2748 fi
2749
2750 if test x"${install_sh}" != xset; then
2751   case $am_aux_dir in
2752   *\ * | *\     *)
2753     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2754   *)
2755     install_sh="\${SHELL} $am_aux_dir/install-sh"
2756   esac
2757 fi
2758
2759 # Installed binaries are usually stripped using `strip' when the user
2760 # run `make install-strip'.  However `strip' might not be the right
2761 # tool to use in cross-compilation environments, therefore Automake
2762 # will honor the `STRIP' environment variable to overrule this program.
2763 if test "$cross_compiling" != no; then
2764   if test -n "$ac_tool_prefix"; then
2765   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2766 set dummy ${ac_tool_prefix}strip; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_STRIP+set}" = set; then :
2770   $as_echo_n "(cached) " >&6
2771 else
2772   if test -n "$STRIP"; then
2773   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2774 else
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 for as_dir in $PATH
2777 do
2778   IFS=$as_save_IFS
2779   test -z "$as_dir" && as_dir=.
2780     for ac_exec_ext in '' $ac_executable_extensions; do
2781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784     break 2
2785   fi
2786 done
2787   done
2788 IFS=$as_save_IFS
2789
2790 fi
2791 fi
2792 STRIP=$ac_cv_prog_STRIP
2793 if test -n "$STRIP"; then
2794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2795 $as_echo "$STRIP" >&6; }
2796 else
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2799 fi
2800
2801
2802 fi
2803 if test -z "$ac_cv_prog_STRIP"; then
2804   ac_ct_STRIP=$STRIP
2805   # Extract the first word of "strip", so it can be a program name with args.
2806 set dummy strip; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2810   $as_echo_n "(cached) " >&6
2811 else
2812   if test -n "$ac_ct_STRIP"; then
2813   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2814 else
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2817 do
2818   IFS=$as_save_IFS
2819   test -z "$as_dir" && as_dir=.
2820     for ac_exec_ext in '' $ac_executable_extensions; do
2821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822     ac_cv_prog_ac_ct_STRIP="strip"
2823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824     break 2
2825   fi
2826 done
2827   done
2828 IFS=$as_save_IFS
2829
2830 fi
2831 fi
2832 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2833 if test -n "$ac_ct_STRIP"; then
2834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2835 $as_echo "$ac_ct_STRIP" >&6; }
2836 else
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2839 fi
2840
2841   if test "x$ac_ct_STRIP" = x; then
2842     STRIP=":"
2843   else
2844     case $cross_compiling:$ac_tool_warned in
2845 yes:)
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848 ac_tool_warned=yes ;;
2849 esac
2850     STRIP=$ac_ct_STRIP
2851   fi
2852 else
2853   STRIP="$ac_cv_prog_STRIP"
2854 fi
2855
2856 fi
2857 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2858
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2860 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2861 if test -z "$MKDIR_P"; then
2862   if test "${ac_cv_path_mkdir+set}" = set; then :
2863   $as_echo_n "(cached) " >&6
2864 else
2865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2867 do
2868   IFS=$as_save_IFS
2869   test -z "$as_dir" && as_dir=.
2870     for ac_prog in mkdir gmkdir; do
2871          for ac_exec_ext in '' $ac_executable_extensions; do
2872            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2873            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2874              'mkdir (GNU coreutils) '* | \
2875              'mkdir (coreutils) '* | \
2876              'mkdir (fileutils) '4.1*)
2877                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2878                break 3;;
2879            esac
2880          done
2881        done
2882   done
2883 IFS=$as_save_IFS
2884
2885 fi
2886
2887   test -d ./--version && rmdir ./--version
2888   if test "${ac_cv_path_mkdir+set}" = set; then
2889     MKDIR_P="$ac_cv_path_mkdir -p"
2890   else
2891     # As a last resort, use the slow shell script.  Don't cache a
2892     # value for MKDIR_P within a source directory, because that will
2893     # break other packages using the cache if that directory is
2894     # removed, or if the value is a relative name.
2895     MKDIR_P="$ac_install_sh -d"
2896   fi
2897 fi
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2899 $as_echo "$MKDIR_P" >&6; }
2900
2901 mkdir_p="$MKDIR_P"
2902 case $mkdir_p in
2903   [\\/$]* | ?:[\\/]*) ;;
2904   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2905 esac
2906
2907 for ac_prog in gawk mawk nawk awk
2908 do
2909   # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy $ac_prog; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_AWK+set}" = set; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   if test -n "$AWK"; then
2917   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924     for ac_exec_ext in '' $ac_executable_extensions; do
2925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926     ac_cv_prog_AWK="$ac_prog"
2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931   done
2932 IFS=$as_save_IFS
2933
2934 fi
2935 fi
2936 AWK=$ac_cv_prog_AWK
2937 if test -n "$AWK"; then
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2939 $as_echo "$AWK" >&6; }
2940 else
2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2943 fi
2944
2945
2946   test -n "$AWK" && break
2947 done
2948
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2950 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2951 set x ${MAKE-make}
2952 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2953 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   cat >conftest.make <<\_ACEOF
2957 SHELL = /bin/sh
2958 all:
2959         @echo '@@@%%%=$(MAKE)=@@@%%%'
2960 _ACEOF
2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2963   *@@@%%%=?*=@@@%%%*)
2964     eval ac_cv_prog_make_${ac_make}_set=yes;;
2965   *)
2966     eval ac_cv_prog_make_${ac_make}_set=no;;
2967 esac
2968 rm -f conftest.make
2969 fi
2970 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2972 $as_echo "yes" >&6; }
2973   SET_MAKE=
2974 else
2975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977   SET_MAKE="MAKE=${MAKE-make}"
2978 fi
2979
2980 rm -rf .tst 2>/dev/null
2981 mkdir .tst 2>/dev/null
2982 if test -d .tst; then
2983   am__leading_dot=.
2984 else
2985   am__leading_dot=_
2986 fi
2987 rmdir .tst 2>/dev/null
2988
2989 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2990   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2991   # is not polluted with repeated "-I."
2992   am__isrc=' -I$(srcdir)'
2993   # test to see if srcdir already configured
2994   if test -f $srcdir/config.status; then
2995     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2996   fi
2997 fi
2998
2999 # test whether we have cygpath
3000 if test -z "$CYGPATH_W"; then
3001   if (cygpath --version) >/dev/null 2>/dev/null; then
3002     CYGPATH_W='cygpath -w'
3003   else
3004     CYGPATH_W=echo
3005   fi
3006 fi
3007
3008
3009 # Define the identity of the package.
3010  PACKAGE=alsa-lib
3011  VERSION=1.0.24.1
3012
3013
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE "$PACKAGE"
3016 _ACEOF
3017
3018
3019 cat >>confdefs.h <<_ACEOF
3020 #define VERSION "$VERSION"
3021 _ACEOF
3022
3023 # Some tools Automake needs.
3024
3025 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3026
3027
3028 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3029
3030
3031 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3032
3033
3034 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3035
3036
3037 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3038
3039 # We need awk for the "check" target.  The system "awk" is bad on
3040 # some platforms.
3041 # Always define AMTAR for backward compatibility.
3042
3043 AMTAR=${AMTAR-"${am_missing_run}tar"}
3044
3045 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3046
3047
3048
3049
3050
3051 eval LIBTOOL_VERSION_INFO="2:0:0"
3052  if test -n "${ACLOCAL}"; then
3053   INSTALL_M4_TRUE=
3054   INSTALL_M4_FALSE='#'
3055 else
3056   INSTALL_M4_TRUE='#'
3057   INSTALL_M4_FALSE=
3058 fi
3059
3060
3061 # Test for new silent rules and enable only if they are available
3062 # Check whether --enable-silent-rules was given.
3063 if test "${enable_silent_rules+set}" = set; then :
3064   enableval=$enable_silent_rules;
3065 fi
3066
3067 case $enable_silent_rules in
3068 yes) AM_DEFAULT_VERBOSITY=0;;
3069 no)  AM_DEFAULT_VERBOSITY=1;;
3070 *)   AM_DEFAULT_VERBOSITY=0;;
3071 esac
3072 AM_BACKSLASH='\'
3073
3074
3075
3076
3077
3078 if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
3079 then
3080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compiler" >&5
3081 $as_echo_n "checking for cross-compiler... " >&6; }
3082
3083   which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
3084   which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
3085   && CC=${host_cpu}-${host-os}-gcc
3086   which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
3087   && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
3088
3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3091 fi
3092
3093 CFLAGS="$CFLAGS -D_GNU_SOURCE"
3094
3095
3096 ac_ext=c
3097 ac_cpp='$CPP $CPPFLAGS'
3098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101 if test -n "$ac_tool_prefix"; then
3102   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3103 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if test "${ac_cv_prog_CC+set}" = set; then :
3107   $as_echo_n "(cached) " >&6
3108 else
3109   if test -n "$CC"; then
3110   ac_cv_prog_CC="$CC" # Let the user override the test.
3111 else
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 for as_dir in $PATH
3114 do
3115   IFS=$as_save_IFS
3116   test -z "$as_dir" && as_dir=.
3117     for ac_exec_ext in '' $ac_executable_extensions; do
3118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121     break 2
3122   fi
3123 done
3124   done
3125 IFS=$as_save_IFS
3126
3127 fi
3128 fi
3129 CC=$ac_cv_prog_CC
3130 if test -n "$CC"; then
3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 $as_echo "$CC" >&6; }
3133 else
3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3136 fi
3137
3138
3139 fi
3140 if test -z "$ac_cv_prog_CC"; then
3141   ac_ct_CC=$CC
3142   # Extract the first word of "gcc", so it can be a program name with args.
3143 set dummy gcc; ac_word=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3147   $as_echo_n "(cached) " >&6
3148 else
3149   if test -n "$ac_ct_CC"; then
3150   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3151 else
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 for as_dir in $PATH
3154 do
3155   IFS=$as_save_IFS
3156   test -z "$as_dir" && as_dir=.
3157     for ac_exec_ext in '' $ac_executable_extensions; do
3158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159     ac_cv_prog_ac_ct_CC="gcc"
3160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161     break 2
3162   fi
3163 done
3164   done
3165 IFS=$as_save_IFS
3166
3167 fi
3168 fi
3169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3170 if test -n "$ac_ct_CC"; then
3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3172 $as_echo "$ac_ct_CC" >&6; }
3173 else
3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3176 fi
3177
3178   if test "x$ac_ct_CC" = x; then
3179     CC=""
3180   else
3181     case $cross_compiling:$ac_tool_warned in
3182 yes:)
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3185 ac_tool_warned=yes ;;
3186 esac
3187     CC=$ac_ct_CC
3188   fi
3189 else
3190   CC="$ac_cv_prog_CC"
3191 fi
3192
3193 if test -z "$CC"; then
3194           if test -n "$ac_tool_prefix"; then
3195     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3196 set dummy ${ac_tool_prefix}cc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if test "${ac_cv_prog_CC+set}" = set; then :
3200   $as_echo_n "(cached) " >&6
3201 else
3202   if test -n "$CC"; then
3203   ac_cv_prog_CC="$CC" # Let the user override the test.
3204 else
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3207 do
3208   IFS=$as_save_IFS
3209   test -z "$as_dir" && as_dir=.
3210     for ac_exec_ext in '' $ac_executable_extensions; do
3211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212     ac_cv_prog_CC="${ac_tool_prefix}cc"
3213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214     break 2
3215   fi
3216 done
3217   done
3218 IFS=$as_save_IFS
3219
3220 fi
3221 fi
3222 CC=$ac_cv_prog_CC
3223 if test -n "$CC"; then
3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3226 else
3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 fi
3230
3231
3232   fi
3233 fi
3234 if test -z "$CC"; then
3235   # Extract the first word of "cc", so it can be a program name with args.
3236 set dummy cc; ac_word=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if test "${ac_cv_prog_CC+set}" = set; then :
3240   $as_echo_n "(cached) " >&6
3241 else
3242   if test -n "$CC"; then
3243   ac_cv_prog_CC="$CC" # Let the user override the test.
3244 else
3245   ac_prog_rejected=no
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 for as_dir in $PATH
3248 do
3249   IFS=$as_save_IFS
3250   test -z "$as_dir" && as_dir=.
3251     for ac_exec_ext in '' $ac_executable_extensions; do
3252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3254        ac_prog_rejected=yes
3255        continue
3256      fi
3257     ac_cv_prog_CC="cc"
3258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259     break 2
3260   fi
3261 done
3262   done
3263 IFS=$as_save_IFS
3264
3265 if test $ac_prog_rejected = yes; then
3266   # We found a bogon in the path, so make sure we never use it.
3267   set dummy $ac_cv_prog_CC
3268   shift
3269   if test $# != 0; then
3270     # We chose a different compiler from the bogus one.
3271     # However, it has the same basename, so the bogon will be chosen
3272     # first if we set CC to just the basename; use the full file name.
3273     shift
3274     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3275   fi
3276 fi
3277 fi
3278 fi
3279 CC=$ac_cv_prog_CC
3280 if test -n "$CC"; then
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3282 $as_echo "$CC" >&6; }
3283 else
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 fi
3287
3288
3289 fi
3290 if test -z "$CC"; then
3291   if test -n "$ac_tool_prefix"; then
3292   for ac_prog in cl.exe
3293   do
3294     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3295 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297 $as_echo_n "checking for $ac_word... " >&6; }
3298 if test "${ac_cv_prog_CC+set}" = set; then :
3299   $as_echo_n "(cached) " >&6
3300 else
3301   if test -n "$CC"; then
3302   ac_cv_prog_CC="$CC" # Let the user override the test.
3303 else
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 for as_dir in $PATH
3306 do
3307   IFS=$as_save_IFS
3308   test -z "$as_dir" && as_dir=.
3309     for ac_exec_ext in '' $ac_executable_extensions; do
3310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313     break 2
3314   fi
3315 done
3316   done
3317 IFS=$as_save_IFS
3318
3319 fi
3320 fi
3321 CC=$ac_cv_prog_CC
3322 if test -n "$CC"; then
3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324 $as_echo "$CC" >&6; }
3325 else
3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3328 fi
3329
3330
3331     test -n "$CC" && break
3332   done
3333 fi
3334 if test -z "$CC"; then
3335   ac_ct_CC=$CC
3336   for ac_prog in cl.exe
3337 do
3338   # Extract the first word of "$ac_prog", so it can be a program name with args.
3339 set dummy $ac_prog; ac_word=$2
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341 $as_echo_n "checking for $ac_word... " >&6; }
3342 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3343   $as_echo_n "(cached) " >&6
3344 else
3345   if test -n "$ac_ct_CC"; then
3346   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3347 else
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 for as_dir in $PATH
3350 do
3351   IFS=$as_save_IFS
3352   test -z "$as_dir" && as_dir=.
3353     for ac_exec_ext in '' $ac_executable_extensions; do
3354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3355     ac_cv_prog_ac_ct_CC="$ac_prog"
3356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357     break 2
3358   fi
3359 done
3360   done
3361 IFS=$as_save_IFS
3362
3363 fi
3364 fi
3365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3366 if test -n "$ac_ct_CC"; then
3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3368 $as_echo "$ac_ct_CC" >&6; }
3369 else
3370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3372 fi
3373
3374
3375   test -n "$ac_ct_CC" && break
3376 done
3377
3378   if test "x$ac_ct_CC" = x; then
3379     CC=""
3380   else
3381     case $cross_compiling:$ac_tool_warned in
3382 yes:)
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3385 ac_tool_warned=yes ;;
3386 esac
3387     CC=$ac_ct_CC
3388   fi
3389 fi
3390
3391 fi
3392
3393
3394 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396 as_fn_error $? "no acceptable C compiler found in \$PATH
3397 See \`config.log' for more details" "$LINENO" 5 ; }
3398
3399 # Provide some information about the compiler.
3400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3401 set X $ac_compile
3402 ac_compiler=$2
3403 for ac_option in --version -v -V -qversion; do
3404   { { ac_try="$ac_compiler $ac_option >&5"
3405 case "(($ac_try" in
3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407   *) ac_try_echo=$ac_try;;
3408 esac
3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3410 $as_echo "$ac_try_echo"; } >&5
3411   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3412   ac_status=$?
3413   if test -s conftest.err; then
3414     sed '10a\
3415 ... rest of stderr output deleted ...
3416          10q' conftest.err >conftest.er1
3417     cat conftest.er1 >&5
3418   fi
3419   rm -f conftest.er1 conftest.err
3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421   test $ac_status = 0; }
3422 done
3423
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h.  */
3426
3427 int
3428 main ()
3429 {
3430
3431   ;
3432   return 0;
3433 }
3434 _ACEOF
3435 ac_clean_files_save=$ac_clean_files
3436 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3437 # Try to create an executable without -o first, disregard a.out.
3438 # It will help us diagnose broken compilers, and finding out an intuition
3439 # of exeext.
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3441 $as_echo_n "checking whether the C compiler works... " >&6; }
3442 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3443
3444 # The possible output files:
3445 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3446
3447 ac_rmfiles=
3448 for ac_file in $ac_files
3449 do
3450   case $ac_file in
3451     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3452     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3453   esac
3454 done
3455 rm -f $ac_rmfiles
3456
3457 if { { ac_try="$ac_link_default"
3458 case "(($ac_try" in
3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460   *) ac_try_echo=$ac_try;;
3461 esac
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464   (eval "$ac_link_default") 2>&5
3465   ac_status=$?
3466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467   test $ac_status = 0; }; then :
3468   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3469 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3470 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3471 # so that the user can short-circuit this test for compilers unknown to
3472 # Autoconf.
3473 for ac_file in $ac_files ''
3474 do
3475   test -f "$ac_file" || continue
3476   case $ac_file in
3477     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3478         ;;
3479     [ab].out )
3480         # We found the default executable, but exeext='' is most
3481         # certainly right.
3482         break;;
3483     *.* )
3484         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3485         then :; else
3486            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3487         fi
3488         # We set ac_cv_exeext here because the later test for it is not
3489         # safe: cross compilers may not add the suffix if given an `-o'
3490         # argument, so we may need to know it at that point already.
3491         # Even if this section looks crufty: it has the advantage of
3492         # actually working.
3493         break;;
3494     * )
3495         break;;
3496   esac
3497 done
3498 test "$ac_cv_exeext" = no && ac_cv_exeext=
3499
3500 else
3501   ac_file=''
3502 fi
3503 if test -z "$ac_file"; then :
3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 $as_echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3508
3509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 as_fn_error 77 "C compiler cannot create executables
3512 See \`config.log' for more details" "$LINENO" 5 ; }
3513 else
3514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3515 $as_echo "yes" >&6; }
3516 fi
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3518 $as_echo_n "checking for C compiler default output file name... " >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3520 $as_echo "$ac_file" >&6; }
3521 ac_exeext=$ac_cv_exeext
3522
3523 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3524 ac_clean_files=$ac_clean_files_save
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3526 $as_echo_n "checking for suffix of executables... " >&6; }
3527 if { { ac_try="$ac_link"
3528 case "(($ac_try" in
3529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530   *) ac_try_echo=$ac_try;;
3531 esac
3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533 $as_echo "$ac_try_echo"; } >&5
3534   (eval "$ac_link") 2>&5
3535   ac_status=$?
3536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537   test $ac_status = 0; }; then :
3538   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3539 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3540 # work properly (i.e., refer to `conftest.exe'), while it won't with
3541 # `rm'.
3542 for ac_file in conftest.exe conftest conftest.*; do
3543   test -f "$ac_file" || continue
3544   case $ac_file in
3545     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3546     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3547           break;;
3548     * ) break;;
3549   esac
3550 done
3551 else
3552   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3555 See \`config.log' for more details" "$LINENO" 5 ; }
3556 fi
3557 rm -f conftest conftest$ac_cv_exeext
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3559 $as_echo "$ac_cv_exeext" >&6; }
3560
3561 rm -f conftest.$ac_ext
3562 EXEEXT=$ac_cv_exeext
3563 ac_exeext=$EXEEXT
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h.  */
3566 #include <stdio.h>
3567 int
3568 main ()
3569 {
3570 FILE *f = fopen ("conftest.out", "w");
3571  return ferror (f) || fclose (f) != 0;
3572
3573   ;
3574   return 0;
3575 }
3576 _ACEOF
3577 ac_clean_files="$ac_clean_files conftest.out"
3578 # Check that the compiler produces executables we can run.  If not, either
3579 # the compiler is broken, or we cross compile.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3581 $as_echo_n "checking whether we are cross compiling... " >&6; }
3582 if test "$cross_compiling" != yes; then
3583   { { ac_try="$ac_link"
3584 case "(($ac_try" in
3585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586   *) ac_try_echo=$ac_try;;
3587 esac
3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3589 $as_echo "$ac_try_echo"; } >&5
3590   (eval "$ac_link") 2>&5
3591   ac_status=$?
3592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593   test $ac_status = 0; }
3594   if { ac_try='./conftest$ac_cv_exeext'
3595   { { case "(($ac_try" in
3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597   *) ac_try_echo=$ac_try;;
3598 esac
3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600 $as_echo "$ac_try_echo"; } >&5
3601   (eval "$ac_try") 2>&5
3602   ac_status=$?
3603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604   test $ac_status = 0; }; }; then
3605     cross_compiling=no
3606   else
3607     if test "$cross_compiling" = maybe; then
3608         cross_compiling=yes
3609     else
3610         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3612 as_fn_error $? "cannot run C compiled programs.
3613 If you meant to cross compile, use \`--host'.
3614 See \`config.log' for more details" "$LINENO" 5 ; }
3615     fi
3616   fi
3617 fi
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3619 $as_echo "$cross_compiling" >&6; }
3620
3621 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3622 ac_clean_files=$ac_clean_files_save
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3624 $as_echo_n "checking for suffix of object files... " >&6; }
3625 if test "${ac_cv_objext+set}" = set; then :
3626   $as_echo_n "(cached) " >&6
3627 else
3628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h.  */
3630
3631 int
3632 main ()
3633 {
3634
3635   ;
3636   return 0;
3637 }
3638 _ACEOF
3639 rm -f conftest.o conftest.obj
3640 if { { ac_try="$ac_compile"
3641 case "(($ac_try" in
3642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643   *) ac_try_echo=$ac_try;;
3644 esac
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647   (eval "$ac_compile") 2>&5
3648   ac_status=$?
3649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650   test $ac_status = 0; }; then :
3651   for ac_file in conftest.o conftest.obj conftest.*; do
3652   test -f "$ac_file" || continue;
3653   case $ac_file in
3654     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3655     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3656        break;;
3657   esac
3658 done
3659 else
3660   $as_echo "$as_me: failed program was:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3662
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "cannot compute suffix of object files: cannot compile
3666 See \`config.log' for more details" "$LINENO" 5 ; }
3667 fi
3668 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3671 $as_echo "$ac_cv_objext" >&6; }
3672 OBJEXT=$ac_cv_objext
3673 ac_objext=$OBJEXT
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3675 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3676 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3677   $as_echo_n "(cached) " >&6
3678 else
3679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h.  */
3681
3682 int
3683 main ()
3684 {
3685 #ifndef __GNUC__
3686        choke me
3687 #endif
3688
3689   ;
3690   return 0;
3691 }
3692 _ACEOF
3693 if ac_fn_c_try_compile "$LINENO"; then :
3694   ac_compiler_gnu=yes
3695 else
3696   ac_compiler_gnu=no
3697 fi
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3700
3701 fi
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3703 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3704 if test $ac_compiler_gnu = yes; then
3705   GCC=yes
3706 else
3707   GCC=
3708 fi
3709 ac_test_CFLAGS=${CFLAGS+set}
3710 ac_save_CFLAGS=$CFLAGS
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3712 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3713 if test "${ac_cv_prog_cc_g+set}" = set; then :
3714   $as_echo_n "(cached) " >&6
3715 else
3716   ac_save_c_werror_flag=$ac_c_werror_flag
3717    ac_c_werror_flag=yes
3718    ac_cv_prog_cc_g=no
3719    CFLAGS="-g"
3720    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h.  */
3722
3723 int
3724 main ()
3725 {
3726
3727   ;
3728   return 0;
3729 }
3730 _ACEOF
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732   ac_cv_prog_cc_g=yes
3733 else
3734   CFLAGS=""
3735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h.  */
3737
3738 int
3739 main ()
3740 {
3741
3742   ;
3743   return 0;
3744 }
3745 _ACEOF
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747
3748 else
3749   ac_c_werror_flag=$ac_save_c_werror_flag
3750          CFLAGS="-g"
3751          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h.  */
3753
3754 int
3755 main ()
3756 {
3757
3758   ;
3759   return 0;
3760 }
3761 _ACEOF
3762 if ac_fn_c_try_compile "$LINENO"; then :
3763   ac_cv_prog_cc_g=yes
3764 fi
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 fi
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 fi
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770    ac_c_werror_flag=$ac_save_c_werror_flag
3771 fi
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3773 $as_echo "$ac_cv_prog_cc_g" >&6; }
3774 if test "$ac_test_CFLAGS" = set; then
3775   CFLAGS=$ac_save_CFLAGS
3776 elif test $ac_cv_prog_cc_g = yes; then
3777   if test "$GCC" = yes; then
3778     CFLAGS="-g -O2"
3779   else
3780     CFLAGS="-g"
3781   fi
3782 else
3783   if test "$GCC" = yes; then
3784     CFLAGS="-O2"
3785   else
3786     CFLAGS=
3787   fi
3788 fi
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3790 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3791 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3792   $as_echo_n "(cached) " >&6
3793 else
3794   ac_cv_prog_cc_c89=no
3795 ac_save_CC=$CC
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h.  */
3798 #include <stdarg.h>
3799 #include <stdio.h>
3800 #include <sys/types.h>
3801 #include <sys/stat.h>
3802 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3803 struct buf { int x; };
3804 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3805 static char *e (p, i)
3806      char **p;
3807      int i;
3808 {
3809   return p[i];
3810 }
3811 static char *f (char * (*g) (char **, int), char **p, ...)
3812 {
3813   char *s;
3814   va_list v;
3815   va_start (v,p);
3816   s = g (p, va_arg (v,int));
3817   va_end (v);
3818   return s;
3819 }
3820
3821 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3822    function prototypes and stuff, but not '\xHH' hex character constants.
3823    These don't provoke an error unfortunately, instead are silently treated
3824    as 'x'.  The following induces an error, until -std is added to get
3825    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3826    array size at least.  It's necessary to write '\x00'==0 to get something
3827    that's true only with -std.  */
3828 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3829
3830 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3831    inside strings and character constants.  */
3832 #define FOO(x) 'x'
3833 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3834
3835 int test (int i, double x);
3836 struct s1 {int (*f) (int a);};
3837 struct s2 {int (*f) (double a);};
3838 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3839 int argc;
3840 char **argv;
3841 int
3842 main ()
3843 {
3844 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3845   ;
3846   return 0;
3847 }
3848 _ACEOF
3849 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3850         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3851 do
3852   CC="$ac_save_CC $ac_arg"
3853   if ac_fn_c_try_compile "$LINENO"; then :
3854   ac_cv_prog_cc_c89=$ac_arg
3855 fi
3856 rm -f core conftest.err conftest.$ac_objext
3857   test "x$ac_cv_prog_cc_c89" != "xno" && break
3858 done
3859 rm -f conftest.$ac_ext
3860 CC=$ac_save_CC
3861
3862 fi
3863 # AC_CACHE_VAL
3864 case "x$ac_cv_prog_cc_c89" in
3865   x)
3866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3867 $as_echo "none needed" >&6; } ;;
3868   xno)
3869     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3870 $as_echo "unsupported" >&6; } ;;
3871   *)
3872     CC="$CC $ac_cv_prog_cc_c89"
3873     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3874 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3875 esac
3876 if test "x$ac_cv_prog_cc_c89" != xno; then :
3877
3878 fi
3879
3880 ac_ext=c
3881 ac_cpp='$CPP $CPPFLAGS'
3882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3885 DEPDIR="${am__leading_dot}deps"
3886
3887 ac_config_commands="$ac_config_commands depfiles"
3888
3889
3890 am_make=${MAKE-make}
3891 cat > confinc << 'END'
3892 am__doit:
3893         @echo this is the am__doit target
3894 .PHONY: am__doit
3895 END
3896 # If we don't find an include directive, just comment out the code.
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3898 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3899 am__include="#"
3900 am__quote=
3901 _am_result=none
3902 # First try GNU make style include.
3903 echo "include confinc" > confmf
3904 # Ignore all kinds of additional output from `make'.
3905 case `$am_make -s -f confmf 2> /dev/null` in #(
3906 *the\ am__doit\ target*)
3907   am__include=include
3908   am__quote=
3909   _am_result=GNU
3910   ;;
3911 esac
3912 # Now try BSD make style include.
3913 if test "$am__include" = "#"; then
3914    echo '.include "confinc"' > confmf
3915    case `$am_make -s -f confmf 2> /dev/null` in #(
3916    *the\ am__doit\ target*)
3917      am__include=.include
3918      am__quote="\""
3919      _am_result=BSD
3920      ;;
3921    esac
3922 fi
3923
3924
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3926 $as_echo "$_am_result" >&6; }
3927 rm -f confinc confmf
3928
3929 # Check whether --enable-dependency-tracking was given.
3930 if test "${enable_dependency_tracking+set}" = set; then :
3931   enableval=$enable_dependency_tracking;
3932 fi
3933
3934 if test "x$enable_dependency_tracking" != xno; then
3935   am_depcomp="$ac_aux_dir/depcomp"
3936   AMDEPBACKSLASH='\'
3937 fi
3938  if test "x$enable_dependency_tracking" != xno; then
3939   AMDEP_TRUE=
3940   AMDEP_FALSE='#'
3941 else
3942   AMDEP_TRUE='#'
3943   AMDEP_FALSE=
3944 fi
3945
3946
3947
3948 depcc="$CC"   am_compiler_list=
3949
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3951 $as_echo_n "checking dependency style of $depcc... " >&6; }
3952 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3953   $as_echo_n "(cached) " >&6
3954 else
3955   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3956   # We make a subdir and do the tests there.  Otherwise we can end up
3957   # making bogus files that we don't know about and never remove.  For
3958   # instance it was reported that on HP-UX the gcc test will end up
3959   # making a dummy file named `D' -- because `-MD' means `put the output
3960   # in D'.
3961   mkdir conftest.dir
3962   # Copy depcomp to subdir because otherwise we won't find it if we're
3963   # using a relative directory.
3964   cp "$am_depcomp" conftest.dir
3965   cd conftest.dir
3966   # We will build objects and dependencies in a subdirectory because
3967   # it helps to detect inapplicable dependency modes.  For instance
3968   # both Tru64's cc and ICC support -MD to output dependencies as a
3969   # side effect of compilation, but ICC will put the dependencies in
3970   # the current directory while Tru64 will put them in the object
3971   # directory.
3972   mkdir sub
3973
3974   am_cv_CC_dependencies_compiler_type=none
3975   if test "$am_compiler_list" = ""; then
3976      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3977   fi
3978   am__universal=false
3979   case " $depcc " in #(
3980      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3981      esac
3982
3983   for depmode in $am_compiler_list; do
3984     # Setup a source with many dependencies, because some compilers
3985     # like to wrap large dependency lists on column 80 (with \), and
3986     # we should not choose a depcomp mode which is confused by this.
3987     #
3988     # We need to recreate these files for each test, as the compiler may
3989     # overwrite some of them when testing with obscure command lines.
3990     # This happens at least with the AIX C compiler.
3991     : > sub/conftest.c
3992     for i in 1 2 3 4 5 6; do
3993       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3994       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3995       # Solaris 8's {/usr,}/bin/sh.
3996       touch sub/conftst$i.h
3997     done
3998     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3999
4000     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4001     # mode.  It turns out that the SunPro C++ compiler does not properly
4002     # handle `-M -o', and we need to detect this.  Also, some Intel
4003     # versions had trouble with output in subdirs
4004     am__obj=sub/conftest.${OBJEXT-o}
4005     am__minus_obj="-o $am__obj"
4006     case $depmode in
4007     gcc)
4008       # This depmode causes a compiler race in universal mode.
4009       test "$am__universal" = false || continue
4010       ;;
4011     nosideeffect)
4012       # after this tag, mechanisms are not by side-effect, so they'll
4013       # only be used when explicitly requested
4014       if test "x$enable_dependency_tracking" = xyes; then
4015         continue
4016       else
4017         break
4018       fi
4019       ;;
4020     msvisualcpp | msvcmsys)
4021       # This compiler won't grok `-c -o', but also, the minuso test has
4022       # not run yet.  These depmodes are late enough in the game, and
4023       # so weak that their functioning should not be impacted.
4024       am__obj=conftest.${OBJEXT-o}
4025       am__minus_obj=
4026       ;;
4027     none) break ;;
4028     esac
4029     if depmode=$depmode \
4030        source=sub/conftest.c object=$am__obj \
4031        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4032        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4033          >/dev/null 2>conftest.err &&
4034        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4035        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4036        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4037        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4038       # icc doesn't choke on unknown options, it will just issue warnings
4039       # or remarks (even with -Werror).  So we grep stderr for any message
4040       # that says an option was ignored or not supported.
4041       # When given -MP, icc 7.0 and 7.1 complain thusly:
4042       #   icc: Command line warning: ignoring option '-M'; no argument required
4043       # The diagnosis changed in icc 8.0:
4044       #   icc: Command line remark: option '-MP' not supported
4045       if (grep 'ignoring option' conftest.err ||
4046           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4047         am_cv_CC_dependencies_compiler_type=$depmode
4048         break
4049       fi
4050     fi
4051   done
4052
4053   cd ..
4054   rm -rf conftest.dir
4055 else
4056   am_cv_CC_dependencies_compiler_type=none
4057 fi
4058
4059 fi
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4061 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4062 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4063
4064  if
4065   test "x$enable_dependency_tracking" != xno \
4066   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4067   am__fastdepCC_TRUE=
4068   am__fastdepCC_FALSE='#'
4069 else
4070   am__fastdepCC_TRUE='#'
4071   am__fastdepCC_FALSE=
4072 fi
4073
4074
4075 ac_ext=c
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4082 # On Suns, sometimes $CPP names a directory.
4083 if test -n "$CPP" && test -d "$CPP"; then
4084   CPP=
4085 fi
4086 if test -z "$CPP"; then
4087   if test "${ac_cv_prog_CPP+set}" = set; then :
4088   $as_echo_n "(cached) " >&6
4089 else
4090       # Double quotes because CPP needs to be expanded
4091     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4092     do
4093       ac_preproc_ok=false
4094 for ac_c_preproc_warn_flag in '' yes
4095 do
4096   # Use a header file that comes with gcc, so configuring glibc
4097   # with a fresh cross-compiler works.
4098   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4099   # <limits.h> exists even on freestanding compilers.
4100   # On the NeXT, cc -E runs the code through the compiler's parser,
4101   # not just through cpp. "Syntax error" is here to catch this case.
4102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h.  */
4104 #ifdef __STDC__
4105 # include <limits.h>
4106 #else
4107 # include <assert.h>
4108 #endif
4109                      Syntax error
4110 _ACEOF
4111 if ac_fn_c_try_cpp "$LINENO"; then :
4112
4113 else
4114   # Broken: fails on valid input.
4115 continue
4116 fi
4117 rm -f conftest.err conftest.i conftest.$ac_ext
4118
4119   # OK, works on sane cases.  Now check whether nonexistent headers
4120   # can be detected and how.
4121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h.  */
4123 #include <ac_nonexistent.h>
4124 _ACEOF
4125 if ac_fn_c_try_cpp "$LINENO"; then :
4126   # Broken: success on invalid input.
4127 continue
4128 else
4129   # Passes both tests.
4130 ac_preproc_ok=:
4131 break
4132 fi
4133 rm -f conftest.err conftest.i conftest.$ac_ext
4134
4135 done
4136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4137 rm -f conftest.i conftest.err conftest.$ac_ext
4138 if $ac_preproc_ok; then :
4139   break
4140 fi
4141
4142     done
4143     ac_cv_prog_CPP=$CPP
4144
4145 fi
4146   CPP=$ac_cv_prog_CPP
4147 else
4148   ac_cv_prog_CPP=$CPP
4149 fi
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4151 $as_echo "$CPP" >&6; }
4152 ac_preproc_ok=false
4153 for ac_c_preproc_warn_flag in '' yes
4154 do
4155   # Use a header file that comes with gcc, so configuring glibc
4156   # with a fresh cross-compiler works.
4157   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4158   # <limits.h> exists even on freestanding compilers.
4159   # On the NeXT, cc -E runs the code through the compiler's parser,
4160   # not just through cpp. "Syntax error" is here to catch this case.
4161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h.  */
4163 #ifdef __STDC__
4164 # include <limits.h>
4165 #else
4166 # include <assert.h>
4167 #endif
4168                      Syntax error
4169 _ACEOF
4170 if ac_fn_c_try_cpp "$LINENO"; then :
4171
4172 else
4173   # Broken: fails on valid input.
4174 continue
4175 fi
4176 rm -f conftest.err conftest.i conftest.$ac_ext
4177
4178   # OK, works on sane cases.  Now check whether nonexistent headers
4179   # can be detected and how.
4180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h.  */
4182 #include <ac_nonexistent.h>
4183 _ACEOF
4184 if ac_fn_c_try_cpp "$LINENO"; then :
4185   # Broken: success on invalid input.
4186 continue
4187 else
4188   # Passes both tests.
4189 ac_preproc_ok=:
4190 break
4191 fi
4192 rm -f conftest.err conftest.i conftest.$ac_ext
4193
4194 done
4195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4196 rm -f conftest.i conftest.err conftest.$ac_ext
4197 if $ac_preproc_ok; then :
4198
4199 else
4200   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4203 See \`config.log' for more details" "$LINENO" 5 ; }
4204 fi
4205
4206 ac_ext=c
4207 ac_cpp='$CPP $CPPFLAGS'
4208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211
4212
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4214 $as_echo_n "checking whether ln -s works... " >&6; }
4215 LN_S=$as_ln_s
4216 if test "$LN_S" = "ln -s"; then
4217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218 $as_echo "yes" >&6; }
4219 else
4220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4221 $as_echo "no, using $LN_S" >&6; }
4222 fi
4223
4224 # Check whether --enable-static was given.
4225 if test "${enable_static+set}" = set; then :
4226   enableval=$enable_static; p=${PACKAGE-default}
4227     case $enableval in
4228     yes) enable_static=yes ;;
4229     no) enable_static=no ;;
4230     *)
4231      enable_static=no
4232       # Look at the argument we got.  We use all the common list separators.
4233       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4234       for pkg in $enableval; do
4235         IFS="$lt_save_ifs"
4236         if test "X$pkg" = "X$p"; then
4237           enable_static=yes
4238         fi
4239       done
4240       IFS="$lt_save_ifs"
4241       ;;
4242     esac
4243 else
4244   enable_static=no
4245 fi
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255 enable_dlopen=yes
4256
4257
4258
4259 case `pwd` in
4260   *\ * | *\     *)
4261     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4262 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4263 esac
4264
4265
4266
4267 macro_version='2.2.6b'
4268 macro_revision='1.3017'
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282 ltmain="$ac_aux_dir/ltmain.sh"
4283
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4285 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4286 if test "${ac_cv_path_SED+set}" = set; then :
4287   $as_echo_n "(cached) " >&6
4288 else
4289             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4290      for ac_i in 1 2 3 4 5 6 7; do
4291        ac_script="$ac_script$as_nl$ac_script"
4292      done
4293      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4294      { ac_script=; unset ac_script;}
4295      if test -z "$SED"; then
4296   ac_path_SED_found=false
4297   # Loop through the user's path and test for each of PROGNAME-LIST
4298   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 for as_dir in $PATH
4300 do
4301   IFS=$as_save_IFS
4302   test -z "$as_dir" && as_dir=.
4303     for ac_prog in sed gsed; do
4304     for ac_exec_ext in '' $ac_executable_extensions; do
4305       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4306       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4307 # Check for GNU ac_path_SED and select it if it is found.
4308   # Check for GNU $ac_path_SED
4309 case `"$ac_path_SED" --version 2>&1` in
4310 *GNU*)
4311   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4312 *)
4313   ac_count=0
4314   $as_echo_n 0123456789 >"conftest.in"
4315   while :
4316   do
4317     cat "conftest.in" "conftest.in" >"conftest.tmp"
4318     mv "conftest.tmp" "conftest.in"
4319     cp "conftest.in" "conftest.nl"
4320     $as_echo '' >> "conftest.nl"
4321     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4322     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4323     as_fn_arith $ac_count + 1 && ac_count=$as_val
4324     if test $ac_count -gt ${ac_path_SED_max-0}; then
4325       # Best one so far, save it but keep looking for a better one
4326       ac_cv_path_SED="$ac_path_SED"
4327       ac_path_SED_max=$ac_count
4328     fi
4329     # 10*(2^10) chars as input seems more than enough
4330     test $ac_count -gt 10 && break
4331   done
4332   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4333 esac
4334
4335       $ac_path_SED_found && break 3
4336     done
4337   done
4338   done
4339 IFS=$as_save_IFS
4340   if test -z "$ac_cv_path_SED"; then
4341     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4342   fi
4343 else
4344   ac_cv_path_SED=$SED
4345 fi
4346
4347 fi
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4349 $as_echo "$ac_cv_path_SED" >&6; }
4350  SED="$ac_cv_path_SED"
4351   rm -f conftest.sed
4352
4353 test -z "$SED" && SED=sed
4354 Xsed="$SED -e 1s/^X//"
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4367 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4368 if test "${ac_cv_path_GREP+set}" = set; then :
4369   $as_echo_n "(cached) " >&6
4370 else
4371   if test -z "$GREP"; then
4372   ac_path_GREP_found=false
4373   # Loop through the user's path and test for each of PROGNAME-LIST
4374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4376 do
4377   IFS=$as_save_IFS
4378   test -z "$as_dir" && as_dir=.
4379     for ac_prog in grep ggrep; do
4380     for ac_exec_ext in '' $ac_executable_extensions; do
4381       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4382       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4383 # Check for GNU ac_path_GREP and select it if it is found.
4384   # Check for GNU $ac_path_GREP
4385 case `"$ac_path_GREP" --version 2>&1` in
4386 *GNU*)
4387   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4388 *)
4389   ac_count=0
4390   $as_echo_n 0123456789 >"conftest.in"
4391   while :
4392   do
4393     cat "conftest.in" "conftest.in" >"conftest.tmp"
4394     mv "conftest.tmp" "conftest.in"
4395     cp "conftest.in" "conftest.nl"
4396     $as_echo 'GREP' >> "conftest.nl"
4397     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4398     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4399     as_fn_arith $ac_count + 1 && ac_count=$as_val
4400     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4401       # Best one so far, save it but keep looking for a better one
4402       ac_cv_path_GREP="$ac_path_GREP"
4403       ac_path_GREP_max=$ac_count
4404     fi
4405     # 10*(2^10) chars as input seems more than enough
4406     test $ac_count -gt 10 && break
4407   done
4408   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4409 esac
4410
4411       $ac_path_GREP_found && break 3
4412     done
4413   done
4414   done
4415 IFS=$as_save_IFS
4416   if test -z "$ac_cv_path_GREP"; then
4417     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4418   fi
4419 else
4420   ac_cv_path_GREP=$GREP
4421 fi
4422
4423 fi
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4425 $as_echo "$ac_cv_path_GREP" >&6; }
4426  GREP="$ac_cv_path_GREP"
4427
4428
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4430 $as_echo_n "checking for egrep... " >&6; }
4431 if test "${ac_cv_path_EGREP+set}" = set; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4435    then ac_cv_path_EGREP="$GREP -E"
4436    else
4437      if test -z "$EGREP"; then
4438   ac_path_EGREP_found=false
4439   # Loop through the user's path and test for each of PROGNAME-LIST
4440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4442 do
4443   IFS=$as_save_IFS
4444   test -z "$as_dir" && as_dir=.
4445     for ac_prog in egrep; do
4446     for ac_exec_ext in '' $ac_executable_extensions; do
4447       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4448       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4449 # Check for GNU ac_path_EGREP and select it if it is found.
4450   # Check for GNU $ac_path_EGREP
4451 case `"$ac_path_EGREP" --version 2>&1` in
4452 *GNU*)
4453   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4454 *)
4455   ac_count=0
4456   $as_echo_n 0123456789 >"conftest.in"
4457   while :
4458   do
4459     cat "conftest.in" "conftest.in" >"conftest.tmp"
4460     mv "conftest.tmp" "conftest.in"
4461     cp "conftest.in" "conftest.nl"
4462     $as_echo 'EGREP' >> "conftest.nl"
4463     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4464     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4465     as_fn_arith $ac_count + 1 && ac_count=$as_val
4466     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4467       # Best one so far, save it but keep looking for a better one
4468       ac_cv_path_EGREP="$ac_path_EGREP"
4469       ac_path_EGREP_max=$ac_count
4470     fi
4471     # 10*(2^10) chars as input seems more than enough
4472     test $ac_count -gt 10 && break
4473   done
4474   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4475 esac
4476
4477       $ac_path_EGREP_found && break 3
4478     done
4479   done
4480   done
4481 IFS=$as_save_IFS
4482   if test -z "$ac_cv_path_EGREP"; then
4483     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4484   fi
4485 else
4486   ac_cv_path_EGREP=$EGREP
4487 fi
4488
4489    fi
4490 fi
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4492 $as_echo "$ac_cv_path_EGREP" >&6; }
4493  EGREP="$ac_cv_path_EGREP"
4494
4495
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4497 $as_echo_n "checking for fgrep... " >&6; }
4498 if test "${ac_cv_path_FGREP+set}" = set; then :
4499   $as_echo_n "(cached) " >&6
4500 else
4501   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4502    then ac_cv_path_FGREP="$GREP -F"
4503    else
4504      if test -z "$FGREP"; then
4505   ac_path_FGREP_found=false
4506   # Loop through the user's path and test for each of PROGNAME-LIST
4507   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4509 do
4510   IFS=$as_save_IFS
4511   test -z "$as_dir" && as_dir=.
4512     for ac_prog in fgrep; do
4513     for ac_exec_ext in '' $ac_executable_extensions; do
4514       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4515       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4516 # Check for GNU ac_path_FGREP and select it if it is found.
4517   # Check for GNU $ac_path_FGREP
4518 case `"$ac_path_FGREP" --version 2>&1` in
4519 *GNU*)
4520   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4521 *)
4522   ac_count=0
4523   $as_echo_n 0123456789 >"conftest.in"
4524   while :
4525   do
4526     cat "conftest.in" "conftest.in" >"conftest.tmp"
4527     mv "conftest.tmp" "conftest.in"
4528     cp "conftest.in" "conftest.nl"
4529     $as_echo 'FGREP' >> "conftest.nl"
4530     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4531     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4532     as_fn_arith $ac_count + 1 && ac_count=$as_val
4533     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4534       # Best one so far, save it but keep looking for a better one
4535       ac_cv_path_FGREP="$ac_path_FGREP"
4536       ac_path_FGREP_max=$ac_count
4537     fi
4538     # 10*(2^10) chars as input seems more than enough
4539     test $ac_count -gt 10 && break
4540   done
4541   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4542 esac
4543
4544       $ac_path_FGREP_found && break 3
4545     done
4546   done
4547   done
4548 IFS=$as_save_IFS
4549   if test -z "$ac_cv_path_FGREP"; then
4550     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4551   fi
4552 else
4553   ac_cv_path_FGREP=$FGREP
4554 fi
4555
4556    fi
4557 fi
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4559 $as_echo "$ac_cv_path_FGREP" >&6; }
4560  FGREP="$ac_cv_path_FGREP"
4561
4562
4563 test -z "$GREP" && GREP=grep
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583 # Check whether --with-gnu-ld was given.
4584 if test "${with_gnu_ld+set}" = set; then :
4585   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4586 else
4587   with_gnu_ld=no
4588 fi
4589
4590 ac_prog=ld
4591 if test "$GCC" = yes; then
4592   # Check if gcc -print-prog-name=ld gives a path.
4593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4594 $as_echo_n "checking for ld used by $CC... " >&6; }
4595   case $host in
4596   *-*-mingw*)
4597     # gcc leaves a trailing carriage return which upsets mingw
4598     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4599   *)
4600     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4601   esac
4602   case $ac_prog in
4603     # Accept absolute paths.
4604     [\\/]* | ?:[\\/]*)
4605       re_direlt='/[^/][^/]*/\.\./'
4606       # Canonicalize the pathname of ld
4607       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4608       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4609         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4610       done
4611       test -z "$LD" && LD="$ac_prog"
4612       ;;
4613   "")
4614     # If it fails, then pretend we aren't using GCC.
4615     ac_prog=ld
4616     ;;
4617   *)
4618     # If it is relative, then search for the first ld in PATH.
4619     with_gnu_ld=unknown
4620     ;;
4621   esac
4622 elif test "$with_gnu_ld" = yes; then
4623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4624 $as_echo_n "checking for GNU ld... " >&6; }
4625 else
4626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4627 $as_echo_n "checking for non-GNU ld... " >&6; }
4628 fi
4629 if test "${lt_cv_path_LD+set}" = set; then :
4630   $as_echo_n "(cached) " >&6
4631 else
4632   if test -z "$LD"; then
4633   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4634   for ac_dir in $PATH; do
4635     IFS="$lt_save_ifs"
4636     test -z "$ac_dir" && ac_dir=.
4637     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4638       lt_cv_path_LD="$ac_dir/$ac_prog"
4639       # Check to see if the program is GNU ld.  I'd rather use --version,
4640       # but apparently some variants of GNU ld only accept -v.
4641       # Break only if it was the GNU/non-GNU ld that we prefer.
4642       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4643       *GNU* | *'with BFD'*)
4644         test "$with_gnu_ld" != no && break
4645         ;;
4646       *)
4647         test "$with_gnu_ld" != yes && break
4648         ;;
4649       esac
4650     fi
4651   done
4652   IFS="$lt_save_ifs"
4653 else
4654   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4655 fi
4656 fi
4657
4658 LD="$lt_cv_path_LD"
4659 if test -n "$LD"; then
4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4661 $as_echo "$LD" >&6; }
4662 else
4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4665 fi
4666 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4668 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4669 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4670   $as_echo_n "(cached) " >&6
4671 else
4672   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4673 case `$LD -v 2>&1 </dev/null` in
4674 *GNU* | *'with BFD'*)
4675   lt_cv_prog_gnu_ld=yes
4676   ;;
4677 *)
4678   lt_cv_prog_gnu_ld=no
4679   ;;
4680 esac
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4683 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4684 with_gnu_ld=$lt_cv_prog_gnu_ld
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4695 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4696 if test "${lt_cv_path_NM+set}" = set; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   if test -n "$NM"; then
4700   # Let the user override the test.
4701   lt_cv_path_NM="$NM"
4702 else
4703   lt_nm_to_check="${ac_tool_prefix}nm"
4704   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4705     lt_nm_to_check="$lt_nm_to_check nm"
4706   fi
4707   for lt_tmp_nm in $lt_nm_to_check; do
4708     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4709     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4710       IFS="$lt_save_ifs"
4711       test -z "$ac_dir" && ac_dir=.
4712       tmp_nm="$ac_dir/$lt_tmp_nm"
4713       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4714         # Check to see if the nm accepts a BSD-compat flag.
4715         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4716         #   nm: unknown option "B" ignored
4717         # Tru64's nm complains that /dev/null is an invalid object file
4718         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4719         */dev/null* | *'Invalid file or object type'*)
4720           lt_cv_path_NM="$tmp_nm -B"
4721           break
4722           ;;
4723         *)
4724           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4725           */dev/null*)
4726             lt_cv_path_NM="$tmp_nm -p"
4727             break
4728             ;;
4729           *)
4730             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4731             continue # so that we can try to find one that supports BSD flags
4732             ;;
4733           esac
4734           ;;
4735         esac
4736       fi
4737     done
4738     IFS="$lt_save_ifs"
4739   done
4740   : ${lt_cv_path_NM=no}
4741 fi
4742 fi
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4744 $as_echo "$lt_cv_path_NM" >&6; }
4745 if test "$lt_cv_path_NM" != "no"; then
4746   NM="$lt_cv_path_NM"
4747 else
4748   # Didn't find any BSD compatible name lister, look for dumpbin.
4749   if test -n "$ac_tool_prefix"; then
4750   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4751   do
4752     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4757   $as_echo_n "(cached) " >&6
4758 else
4759   if test -n "$DUMPBIN"; then
4760   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4761 else
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4764 do
4765   IFS=$as_save_IFS
4766   test -z "$as_dir" && as_dir=.
4767     for ac_exec_ext in '' $ac_executable_extensions; do
4768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4769     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771     break 2
4772   fi
4773 done
4774   done
4775 IFS=$as_save_IFS
4776
4777 fi
4778 fi
4779 DUMPBIN=$ac_cv_prog_DUMPBIN
4780 if test -n "$DUMPBIN"; then
4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4782 $as_echo "$DUMPBIN" >&6; }
4783 else
4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4786 fi
4787
4788
4789     test -n "$DUMPBIN" && break
4790   done
4791 fi
4792 if test -z "$DUMPBIN"; then
4793   ac_ct_DUMPBIN=$DUMPBIN
4794   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4795 do
4796   # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy $ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   if test -n "$ac_ct_DUMPBIN"; then
4804   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4808 do
4809   IFS=$as_save_IFS
4810   test -z "$as_dir" && as_dir=.
4811     for ac_exec_ext in '' $ac_executable_extensions; do
4812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4813     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815     break 2
4816   fi
4817 done
4818   done
4819 IFS=$as_save_IFS
4820
4821 fi
4822 fi
4823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4824 if test -n "$ac_ct_DUMPBIN"; then
4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4826 $as_echo "$ac_ct_DUMPBIN" >&6; }
4827 else
4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 fi
4831
4832
4833   test -n "$ac_ct_DUMPBIN" && break
4834 done
4835
4836   if test "x$ac_ct_DUMPBIN" = x; then
4837     DUMPBIN=":"
4838   else
4839     case $cross_compiling:$ac_tool_warned in
4840 yes:)
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4843 ac_tool_warned=yes ;;
4844 esac
4845     DUMPBIN=$ac_ct_DUMPBIN
4846   fi
4847 fi
4848
4849
4850   if test "$DUMPBIN" != ":"; then
4851     NM="$DUMPBIN"
4852   fi
4853 fi
4854 test -z "$NM" && NM=nm
4855
4856
4857
4858
4859
4860
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4862 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4863 if test "${lt_cv_nm_interface+set}" = set; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   lt_cv_nm_interface="BSD nm"
4867   echo "int some_variable = 0;" > conftest.$ac_ext
4868   (eval echo "\"\$as_me:4868: $ac_compile\"" >&5)
4869   (eval "$ac_compile" 2>conftest.err)
4870   cat conftest.err >&5
4871   (eval echo "\"\$as_me:4871: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4872   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4873   cat conftest.err >&5
4874   (eval echo "\"\$as_me:4874: output\"" >&5)
4875   cat conftest.out >&5
4876   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4877     lt_cv_nm_interface="MS dumpbin"
4878   fi
4879   rm -f conftest*
4880 fi
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4882 $as_echo "$lt_cv_nm_interface" >&6; }
4883
4884 # find the maximum length of command line arguments
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4886 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4887 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4888   $as_echo_n "(cached) " >&6
4889 else
4890     i=0
4891   teststring="ABCD"
4892
4893   case $build_os in
4894   msdosdjgpp*)
4895     # On DJGPP, this test can blow up pretty badly due to problems in libc
4896     # (any single argument exceeding 2000 bytes causes a buffer overrun
4897     # during glob expansion).  Even if it were fixed, the result of this
4898     # check would be larger than it should be.
4899     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4900     ;;
4901
4902   gnu*)
4903     # Under GNU Hurd, this test is not required because there is
4904     # no limit to the length of command line arguments.
4905     # Libtool will interpret -1 as no limit whatsoever
4906     lt_cv_sys_max_cmd_len=-1;
4907     ;;
4908
4909   cygwin* | mingw* | cegcc*)
4910     # On Win9x/ME, this test blows up -- it succeeds, but takes
4911     # about 5 minutes as the teststring grows exponentially.
4912     # Worse, since 9x/ME are not pre-emptively multitasking,
4913     # you end up with a "frozen" computer, even though with patience
4914     # the test eventually succeeds (with a max line length of 256k).
4915     # Instead, let's just punt: use the minimum linelength reported by
4916     # all of the supported platforms: 8192 (on NT/2K/XP).
4917     lt_cv_sys_max_cmd_len=8192;
4918     ;;
4919
4920   amigaos*)
4921     # On AmigaOS with pdksh, this test takes hours, literally.
4922     # So we just punt and use a minimum line length of 8192.
4923     lt_cv_sys_max_cmd_len=8192;
4924     ;;
4925
4926   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4927     # This has been around since 386BSD, at least.  Likely further.
4928     if test -x /sbin/sysctl; then
4929       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4930     elif test -x /usr/sbin/sysctl; then
4931       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4932     else
4933       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4934     fi
4935     # And add a safety zone
4936     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4937     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4938     ;;
4939
4940   interix*)
4941     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4942     lt_cv_sys_max_cmd_len=196608
4943     ;;
4944
4945   osf*)
4946     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4947     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4948     # nice to cause kernel panics so lets avoid the loop below.
4949     # First set a reasonable default.
4950     lt_cv_sys_max_cmd_len=16384
4951     #
4952     if test -x /sbin/sysconfig; then
4953       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4954         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4955       esac
4956     fi
4957     ;;
4958   sco3.2v5*)
4959     lt_cv_sys_max_cmd_len=102400
4960     ;;
4961   sysv5* | sco5v6* | sysv4.2uw2*)
4962     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4963     if test -n "$kargmax"; then
4964       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4965     else
4966       lt_cv_sys_max_cmd_len=32768
4967     fi
4968     ;;
4969   *)
4970     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4971     if test -n "$lt_cv_sys_max_cmd_len"; then
4972       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4973       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4974     else
4975       # Make teststring a little bigger before we do anything with it.
4976       # a 1K string should be a reasonable start.
4977       for i in 1 2 3 4 5 6 7 8 ; do
4978         teststring=$teststring$teststring
4979       done
4980       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4981       # If test is not a shell built-in, we'll probably end up computing a
4982       # maximum length that is only half of the actual maximum length, but
4983       # we can't tell.
4984       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4985                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4986               test $i != 17 # 1/2 MB should be enough
4987       do
4988         i=`expr $i + 1`
4989         teststring=$teststring$teststring
4990       done
4991       # Only check the string length outside the loop.
4992       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4993       teststring=
4994       # Add a significant safety factor because C++ compilers can tack on
4995       # massive amounts of additional arguments before passing them to the
4996       # linker.  It appears as though 1/2 is a usable value.
4997       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4998     fi
4999     ;;
5000   esac
5001
5002 fi
5003
5004 if test -n $lt_cv_sys_max_cmd_len ; then
5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5006 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5007 else
5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5009 $as_echo "none" >&6; }
5010 fi
5011 max_cmd_len=$lt_cv_sys_max_cmd_len
5012
5013
5014
5015
5016
5017
5018 : ${CP="cp -f"}
5019 : ${MV="mv -f"}
5020 : ${RM="rm -f"}
5021
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5023 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5024 # Try some XSI features
5025 xsi_shell=no
5026 ( _lt_dummy="a/b/c"
5027   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5028       = c,a/b,, \
5029     && eval 'test $(( 1 + 1 )) -eq 2 \
5030     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5031   && xsi_shell=yes
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5033 $as_echo "$xsi_shell" >&6; }
5034
5035
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5037 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5038 lt_shell_append=no
5039 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5040     >/dev/null 2>&1 \
5041   && lt_shell_append=yes
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5043 $as_echo "$lt_shell_append" >&6; }
5044
5045
5046 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5047   lt_unset=unset
5048 else
5049   lt_unset=false
5050 fi
5051
5052
5053
5054
5055
5056 # test EBCDIC or ASCII
5057 case `echo X|tr X '\101'` in
5058  A) # ASCII based system
5059     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5060   lt_SP2NL='tr \040 \012'
5061   lt_NL2SP='tr \015\012 \040\040'
5062   ;;
5063  *) # EBCDIC based system
5064   lt_SP2NL='tr \100 \n'
5065   lt_NL2SP='tr \r\n \100\100'
5066   ;;
5067 esac
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5078 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5079 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5080   $as_echo_n "(cached) " >&6
5081 else
5082   lt_cv_ld_reload_flag='-r'
5083 fi
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5085 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5086 reload_flag=$lt_cv_ld_reload_flag
5087 case $reload_flag in
5088 "" | " "*) ;;
5089 *) reload_flag=" $reload_flag" ;;
5090 esac
5091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5092 case $host_os in
5093   darwin*)
5094     if test "$GCC" = yes; then
5095       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5096     else
5097       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5098     fi
5099     ;;
5100 esac
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110 if test -n "$ac_tool_prefix"; then
5111   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5112 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5116   $as_echo_n "(cached) " >&6
5117 else
5118   if test -n "$OBJDUMP"; then
5119   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5123 do
5124   IFS=$as_save_IFS
5125   test -z "$as_dir" && as_dir=.
5126     for ac_exec_ext in '' $ac_executable_extensions; do
5127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130     break 2
5131   fi
5132 done
5133   done
5134 IFS=$as_save_IFS
5135
5136 fi
5137 fi
5138 OBJDUMP=$ac_cv_prog_OBJDUMP
5139 if test -n "$OBJDUMP"; then
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5141 $as_echo "$OBJDUMP" >&6; }
5142 else
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5145 fi
5146
5147
5148 fi
5149 if test -z "$ac_cv_prog_OBJDUMP"; then
5150   ac_ct_OBJDUMP=$OBJDUMP
5151   # Extract the first word of "objdump", so it can be a program name with args.
5152 set dummy objdump; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5156   $as_echo_n "(cached) " >&6
5157 else
5158   if test -n "$ac_ct_OBJDUMP"; then
5159   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5160 else
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH
5163 do
5164   IFS=$as_save_IFS
5165   test -z "$as_dir" && as_dir=.
5166     for ac_exec_ext in '' $ac_executable_extensions; do
5167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170     break 2
5171   fi
5172 done
5173   done
5174 IFS=$as_save_IFS
5175
5176 fi
5177 fi
5178 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5179 if test -n "$ac_ct_OBJDUMP"; then
5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5181 $as_echo "$ac_ct_OBJDUMP" >&6; }
5182 else
5183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5185 fi
5186
5187   if test "x$ac_ct_OBJDUMP" = x; then
5188     OBJDUMP="false"
5189   else
5190     case $cross_compiling:$ac_tool_warned in
5191 yes:)
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196     OBJDUMP=$ac_ct_OBJDUMP
5197   fi
5198 else
5199   OBJDUMP="$ac_cv_prog_OBJDUMP"
5200 fi
5201
5202 test -z "$OBJDUMP" && OBJDUMP=objdump
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5213 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5214 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5215   $as_echo_n "(cached) " >&6
5216 else
5217   lt_cv_file_magic_cmd='$MAGIC_CMD'
5218 lt_cv_file_magic_test_file=
5219 lt_cv_deplibs_check_method='unknown'
5220 # Need to set the preceding variable on all platforms that support
5221 # interlibrary dependencies.
5222 # 'none' -- dependencies not supported.
5223 # `unknown' -- same as none, but documents that we really don't know.
5224 # 'pass_all' -- all dependencies passed with no checks.
5225 # 'test_compile' -- check by making test program.
5226 # 'file_magic [[regex]]' -- check by looking for files in library path
5227 # which responds to the $file_magic_cmd with a given extended regex.
5228 # If you have `file' or equivalent on your system and you're not sure
5229 # whether `pass_all' will *always* work, you probably want this one.
5230
5231 case $host_os in
5232 aix[4-9]*)
5233   lt_cv_deplibs_check_method=pass_all
5234   ;;
5235
5236 beos*)
5237   lt_cv_deplibs_check_method=pass_all
5238   ;;
5239
5240 bsdi[45]*)
5241   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5242   lt_cv_file_magic_cmd='/usr/bin/file -L'
5243   lt_cv_file_magic_test_file=/shlib/libc.so
5244   ;;
5245
5246 cygwin*)
5247   # func_win32_libid is a shell function defined in ltmain.sh
5248   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5249   lt_cv_file_magic_cmd='func_win32_libid'
5250   ;;
5251
5252 mingw* | pw32*)
5253   # Base MSYS/MinGW do not provide the 'file' command needed by
5254   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5255   # unless we find 'file', for example because we are cross-compiling.
5256   if ( file / ) >/dev/null 2>&1; then
5257     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5258     lt_cv_file_magic_cmd='func_win32_libid'
5259   else
5260     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5261     lt_cv_file_magic_cmd='$OBJDUMP -f'
5262   fi
5263   ;;
5264
5265 cegcc)
5266   # use the weaker test based on 'objdump'. See mingw*.
5267   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5268   lt_cv_file_magic_cmd='$OBJDUMP -f'
5269   ;;
5270
5271 darwin* | rhapsody*)
5272   lt_cv_deplibs_check_method=pass_all
5273   ;;
5274
5275 freebsd* | dragonfly*)
5276   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5277     case $host_cpu in
5278     i*86 )
5279       # Not sure whether the presence of OpenBSD here was a mistake.
5280       # Let's accept both of them until this is cleared up.
5281       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5282       lt_cv_file_magic_cmd=/usr/bin/file
5283       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5284       ;;
5285     esac
5286   else
5287     lt_cv_deplibs_check_method=pass_all
5288   fi
5289   ;;
5290
5291 gnu*)
5292   lt_cv_deplibs_check_method=pass_all
5293   ;;
5294
5295 hpux10.20* | hpux11*)
5296   lt_cv_file_magic_cmd=/usr/bin/file
5297   case $host_cpu in
5298   ia64*)
5299     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5300     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5301     ;;
5302   hppa*64*)
5303     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5304     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5305     ;;
5306   *)
5307     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5308     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5309     ;;
5310   esac
5311   ;;
5312
5313 interix[3-9]*)
5314   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5315   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5316   ;;
5317
5318 irix5* | irix6* | nonstopux*)
5319   case $LD in
5320   *-32|*"-32 ") libmagic=32-bit;;
5321   *-n32|*"-n32 ") libmagic=N32;;
5322   *-64|*"-64 ") libmagic=64-bit;;
5323   *) libmagic=never-match;;
5324   esac
5325   lt_cv_deplibs_check_method=pass_all
5326   ;;
5327
5328 # This must be Linux ELF.
5329 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5330   lt_cv_deplibs_check_method=pass_all
5331   ;;
5332
5333 netbsd* | netbsdelf*-gnu)
5334   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5335     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5336   else
5337     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5338   fi
5339   ;;
5340
5341 newos6*)
5342   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5343   lt_cv_file_magic_cmd=/usr/bin/file
5344   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5345   ;;
5346
5347 *nto* | *qnx*)
5348   lt_cv_deplibs_check_method=pass_all
5349   ;;
5350
5351 openbsd*)
5352   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5353     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5354   else
5355     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5356   fi
5357   ;;
5358
5359 osf3* | osf4* | osf5*)
5360   lt_cv_deplibs_check_method=pass_all
5361   ;;
5362
5363 rdos*)
5364   lt_cv_deplibs_check_method=pass_all
5365   ;;
5366
5367 solaris*)
5368   lt_cv_deplibs_check_method=pass_all
5369   ;;
5370
5371 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5372   lt_cv_deplibs_check_method=pass_all
5373   ;;
5374
5375 sysv4 | sysv4.3*)
5376   case $host_vendor in
5377   motorola)
5378     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]'
5379     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5380     ;;
5381   ncr)
5382     lt_cv_deplibs_check_method=pass_all
5383     ;;
5384   sequent)
5385     lt_cv_file_magic_cmd='/bin/file'
5386     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5387     ;;
5388   sni)
5389     lt_cv_file_magic_cmd='/bin/file'
5390     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5391     lt_cv_file_magic_test_file=/lib/libc.so
5392     ;;
5393   siemens)
5394     lt_cv_deplibs_check_method=pass_all
5395     ;;
5396   pc)
5397     lt_cv_deplibs_check_method=pass_all
5398     ;;
5399   esac
5400   ;;
5401
5402 tpf*)
5403   lt_cv_deplibs_check_method=pass_all
5404   ;;
5405 esac
5406
5407 fi
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5409 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5410 file_magic_cmd=$lt_cv_file_magic_cmd
5411 deplibs_check_method=$lt_cv_deplibs_check_method
5412 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425 if test -n "$ac_tool_prefix"; then
5426   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ar; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if test "${ac_cv_prog_AR+set}" = set; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   if test -n "$AR"; then
5434   ac_cv_prog_AR="$AR" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5438 do
5439   IFS=$as_save_IFS
5440   test -z "$as_dir" && as_dir=.
5441     for ac_exec_ext in '' $ac_executable_extensions; do
5442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443     ac_cv_prog_AR="${ac_tool_prefix}ar"
5444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445     break 2
5446   fi
5447 done
5448   done
5449 IFS=$as_save_IFS
5450
5451 fi
5452 fi
5453 AR=$ac_cv_prog_AR
5454 if test -n "$AR"; then
5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5456 $as_echo "$AR" >&6; }
5457 else
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5460 fi
5461
5462
5463 fi
5464 if test -z "$ac_cv_prog_AR"; then
5465   ac_ct_AR=$AR
5466   # Extract the first word of "ar", so it can be a program name with args.
5467 set dummy ar; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5471   $as_echo_n "(cached) " >&6
5472 else
5473   if test -n "$ac_ct_AR"; then
5474   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5478 do
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481     for ac_exec_ext in '' $ac_executable_extensions; do
5482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483     ac_cv_prog_ac_ct_AR="ar"
5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485     break 2
5486   fi
5487 done
5488   done
5489 IFS=$as_save_IFS
5490
5491 fi
5492 fi
5493 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5494 if test -n "$ac_ct_AR"; then
5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5496 $as_echo "$ac_ct_AR" >&6; }
5497 else
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5500 fi
5501
5502   if test "x$ac_ct_AR" = x; then
5503     AR="false"
5504   else
5505     case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511     AR=$ac_ct_AR
5512   fi
5513 else
5514   AR="$ac_cv_prog_AR"
5515 fi
5516
5517 test -z "$AR" && AR=ar
5518 test -z "$AR_FLAGS" && AR_FLAGS=cru
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530 if test -n "$ac_tool_prefix"; then
5531   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5532 set dummy ${ac_tool_prefix}strip; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if test "${ac_cv_prog_STRIP+set}" = set; then :
5536   $as_echo_n "(cached) " >&6
5537 else
5538   if test -n "$STRIP"; then
5539   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5540 else
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5543 do
5544   IFS=$as_save_IFS
5545   test -z "$as_dir" && as_dir=.
5546     for ac_exec_ext in '' $ac_executable_extensions; do
5547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550     break 2
5551   fi
5552 done
5553   done
5554 IFS=$as_save_IFS
5555
5556 fi
5557 fi
5558 STRIP=$ac_cv_prog_STRIP
5559 if test -n "$STRIP"; then
5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5561 $as_echo "$STRIP" >&6; }
5562 else
5563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5565 fi
5566
5567
5568 fi
5569 if test -z "$ac_cv_prog_STRIP"; then
5570   ac_ct_STRIP=$STRIP
5571   # Extract the first word of "strip", so it can be a program name with args.
5572 set dummy strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   if test -n "$ac_ct_STRIP"; then
5579   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5583 do
5584   IFS=$as_save_IFS
5585   test -z "$as_dir" && as_dir=.
5586     for ac_exec_ext in '' $ac_executable_extensions; do
5587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588     ac_cv_prog_ac_ct_STRIP="strip"
5589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590     break 2
5591   fi
5592 done
5593   done
5594 IFS=$as_save_IFS
5595
5596 fi
5597 fi
5598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5599 if test -n "$ac_ct_STRIP"; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5601 $as_echo "$ac_ct_STRIP" >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606
5607   if test "x$ac_ct_STRIP" = x; then
5608     STRIP=":"
5609   else
5610     case $cross_compiling:$ac_tool_warned in
5611 yes:)
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5614 ac_tool_warned=yes ;;
5615 esac
5616     STRIP=$ac_ct_STRIP
5617   fi
5618 else
5619   STRIP="$ac_cv_prog_STRIP"
5620 fi
5621
5622 test -z "$STRIP" && STRIP=:
5623
5624
5625
5626
5627
5628
5629 if test -n "$ac_tool_prefix"; then
5630   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5631 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5635   $as_echo_n "(cached) " >&6
5636 else
5637   if test -n "$RANLIB"; then
5638   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5639 else
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5642 do
5643   IFS=$as_save_IFS
5644   test -z "$as_dir" && as_dir=.
5645     for ac_exec_ext in '' $ac_executable_extensions; do
5646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649     break 2
5650   fi
5651 done
5652   done
5653 IFS=$as_save_IFS
5654
5655 fi
5656 fi
5657 RANLIB=$ac_cv_prog_RANLIB
5658 if test -n "$RANLIB"; then
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5660 $as_echo "$RANLIB" >&6; }
5661 else
5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5664 fi
5665
5666
5667 fi
5668 if test -z "$ac_cv_prog_RANLIB"; then
5669   ac_ct_RANLIB=$RANLIB
5670   # Extract the first word of "ranlib", so it can be a program name with args.
5671 set dummy ranlib; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5675   $as_echo_n "(cached) " >&6
5676 else
5677   if test -n "$ac_ct_RANLIB"; then
5678   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683   IFS=$as_save_IFS
5684   test -z "$as_dir" && as_dir=.
5685     for ac_exec_ext in '' $ac_executable_extensions; do
5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687     ac_cv_prog_ac_ct_RANLIB="ranlib"
5688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689     break 2
5690   fi
5691 done
5692   done
5693 IFS=$as_save_IFS
5694
5695 fi
5696 fi
5697 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5698 if test -n "$ac_ct_RANLIB"; then
5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5700 $as_echo "$ac_ct_RANLIB" >&6; }
5701 else
5702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706   if test "x$ac_ct_RANLIB" = x; then
5707     RANLIB=":"
5708   else
5709     case $cross_compiling:$ac_tool_warned in
5710 yes:)
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5713 ac_tool_warned=yes ;;
5714 esac
5715     RANLIB=$ac_ct_RANLIB
5716   fi
5717 else
5718   RANLIB="$ac_cv_prog_RANLIB"
5719 fi
5720
5721 test -z "$RANLIB" && RANLIB=:
5722
5723
5724
5725
5726
5727
5728 # Determine commands to create old-style static archives.
5729 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5730 old_postinstall_cmds='chmod 644 $oldlib'
5731 old_postuninstall_cmds=
5732
5733 if test -n "$RANLIB"; then
5734   case $host_os in
5735   openbsd*)
5736     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5737     ;;
5738   *)
5739     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5740     ;;
5741   esac
5742   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5743 fi
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778 # If no C compiler was specified, use CC.
5779 LTCC=${LTCC-"$CC"}
5780
5781 # If no C compiler flags were specified, use CFLAGS.
5782 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5783
5784 # Allow CC to be a program name with arguments.
5785 compiler=$CC
5786
5787
5788 # Check for command to grab the raw symbol name followed by C symbol from nm.
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5790 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5791 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5792   $as_echo_n "(cached) " >&6
5793 else
5794
5795 # These are sane defaults that work on at least a few old systems.
5796 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5797
5798 # Character class describing NM global symbol codes.
5799 symcode='[BCDEGRST]'
5800
5801 # Regexp to match symbols that can be accessed directly from C.
5802 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5803
5804 # Define system-specific variables.
5805 case $host_os in
5806 aix*)
5807   symcode='[BCDT]'
5808   ;;
5809 cygwin* | mingw* | pw32* | cegcc*)
5810   symcode='[ABCDGISTW]'
5811   ;;
5812 hpux*)
5813   if test "$host_cpu" = ia64; then
5814     symcode='[ABCDEGRST]'
5815   fi
5816   ;;
5817 irix* | nonstopux*)
5818   symcode='[BCDEGRST]'
5819   ;;
5820 osf*)
5821   symcode='[BCDEGQRST]'
5822   ;;
5823 solaris*)
5824   symcode='[BDRT]'
5825   ;;
5826 sco3.2v5*)
5827   symcode='[DT]'
5828   ;;
5829 sysv4.2uw2*)
5830   symcode='[DT]'
5831   ;;
5832 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5833   symcode='[ABDT]'
5834   ;;
5835 sysv4)
5836   symcode='[DFNSTU]'
5837   ;;
5838 esac
5839
5840 # If we're using GNU nm, then use its standard symbol codes.
5841 case `$NM -V 2>&1` in
5842 *GNU* | *'with BFD'*)
5843   symcode='[ABCDGIRSTW]' ;;
5844 esac
5845
5846 # Transform an extracted symbol line into a proper C declaration.
5847 # Some systems (esp. on ia64) link data and code symbols differently,
5848 # so use this general approach.
5849 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5850
5851 # Transform an extracted symbol line into symbol name and symbol address
5852 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5853 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'"
5854
5855 # Handle CRLF in mingw tool chain
5856 opt_cr=
5857 case $build_os in
5858 mingw*)
5859   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5860   ;;
5861 esac
5862
5863 # Try without a prefix underscore, then with it.
5864 for ac_symprfx in "" "_"; do
5865
5866   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5867   symxfrm="\\1 $ac_symprfx\\2 \\2"
5868
5869   # Write the raw and C identifiers.
5870   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5871     # Fake it for dumpbin and say T for any non-static function
5872     # and D for any global variable.
5873     # Also find C++ and __fastcall symbols from MSVC++,
5874     # which start with @ or ?.
5875     lt_cv_sys_global_symbol_pipe="$AWK '"\
5876 "     {last_section=section; section=\$ 3};"\
5877 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5878 "     \$ 0!~/External *\|/{next};"\
5879 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5880 "     {if(hide[section]) next};"\
5881 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5882 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5883 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5884 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5885 "     ' prfx=^$ac_symprfx"
5886   else
5887     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5888   fi
5889
5890   # Check to see that the pipe works correctly.
5891   pipe_works=no
5892
5893   rm -f conftest*
5894   cat > conftest.$ac_ext <<_LT_EOF
5895 #ifdef __cplusplus
5896 extern "C" {
5897 #endif
5898 char nm_test_var;
5899 void nm_test_func(void);
5900 void nm_test_func(void){}
5901 #ifdef __cplusplus
5902 }
5903 #endif
5904 int main(){nm_test_var='a';nm_test_func();return(0);}
5905 _LT_EOF
5906
5907   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5908   (eval $ac_compile) 2>&5
5909   ac_status=$?
5910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5911   test $ac_status = 0; }; then
5912     # Now try to grab the symbols.
5913     nlist=conftest.nm
5914     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5915   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5916   ac_status=$?
5917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5918   test $ac_status = 0; } && test -s "$nlist"; then
5919       # Try sorting and uniquifying the output.
5920       if sort "$nlist" | uniq > "$nlist"T; then
5921         mv -f "$nlist"T "$nlist"
5922       else
5923         rm -f "$nlist"T
5924       fi
5925
5926       # Make sure that we snagged all the symbols we need.
5927       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5928         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5929           cat <<_LT_EOF > conftest.$ac_ext
5930 #ifdef __cplusplus
5931 extern "C" {
5932 #endif
5933
5934 _LT_EOF
5935           # Now generate the symbol file.
5936           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5937
5938           cat <<_LT_EOF >> conftest.$ac_ext
5939
5940 /* The mapping between symbol names and symbols.  */
5941 const struct {
5942   const char *name;
5943   void       *address;
5944 }
5945 lt__PROGRAM__LTX_preloaded_symbols[] =
5946 {
5947   { "@PROGRAM@", (void *) 0 },
5948 _LT_EOF
5949           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5950           cat <<\_LT_EOF >> conftest.$ac_ext
5951   {0, (void *) 0}
5952 };
5953
5954 /* This works around a problem in FreeBSD linker */
5955 #ifdef FREEBSD_WORKAROUND
5956 static const void *lt_preloaded_setup() {
5957   return lt__PROGRAM__LTX_preloaded_symbols;
5958 }
5959 #endif
5960
5961 #ifdef __cplusplus
5962 }
5963 #endif
5964 _LT_EOF
5965           # Now try linking the two files.
5966           mv conftest.$ac_objext conftstm.$ac_objext
5967           lt_save_LIBS="$LIBS"
5968           lt_save_CFLAGS="$CFLAGS"
5969           LIBS="conftstm.$ac_objext"
5970           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5971           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5972   (eval $ac_link) 2>&5
5973   ac_status=$?
5974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5975   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5976             pipe_works=yes
5977           fi
5978           LIBS="$lt_save_LIBS"
5979           CFLAGS="$lt_save_CFLAGS"
5980         else
5981           echo "cannot find nm_test_func in $nlist" >&5
5982         fi
5983       else
5984         echo "cannot find nm_test_var in $nlist" >&5
5985       fi
5986     else
5987       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5988     fi
5989   else
5990     echo "$progname: failed program was:" >&5
5991     cat conftest.$ac_ext >&5
5992   fi
5993   rm -rf conftest* conftst*
5994
5995   # Do not use the global_symbol_pipe unless it works.
5996   if test "$pipe_works" = yes; then
5997     break
5998   else
5999     lt_cv_sys_global_symbol_pipe=
6000   fi
6001 done
6002
6003 fi
6004
6005 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6006   lt_cv_sys_global_symbol_to_cdecl=
6007 fi
6008 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6010 $as_echo "failed" >&6; }
6011 else
6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6013 $as_echo "ok" >&6; }
6014 fi
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038 # Check whether --enable-libtool-lock was given.
6039 if test "${enable_libtool_lock+set}" = set; then :
6040   enableval=$enable_libtool_lock;
6041 fi
6042
6043 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6044
6045 # Some flags need to be propagated to the compiler or linker for good
6046 # libtool support.
6047 case $host in
6048 ia64-*-hpux*)
6049   # Find out which ABI we are using.
6050   echo 'int i;' > conftest.$ac_ext
6051   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6052   (eval $ac_compile) 2>&5
6053   ac_status=$?
6054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6055   test $ac_status = 0; }; then
6056     case `/usr/bin/file conftest.$ac_objext` in
6057       *ELF-32*)
6058         HPUX_IA64_MODE="32"
6059         ;;
6060       *ELF-64*)
6061         HPUX_IA64_MODE="64"
6062         ;;
6063     esac
6064   fi
6065   rm -rf conftest*
6066   ;;
6067 *-*-irix6*)
6068   # Find out which ABI we are using.
6069   echo '#line 6069 "configure"' > conftest.$ac_ext
6070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6071   (eval $ac_compile) 2>&5
6072   ac_status=$?
6073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6074   test $ac_status = 0; }; then
6075     if test "$lt_cv_prog_gnu_ld" = yes; then
6076       case `/usr/bin/file conftest.$ac_objext` in
6077         *32-bit*)
6078           LD="${LD-ld} -melf32bsmip"
6079           ;;
6080         *N32*)
6081           LD="${LD-ld} -melf32bmipn32"
6082           ;;
6083         *64-bit*)
6084           LD="${LD-ld} -melf64bmip"
6085         ;;
6086       esac
6087     else
6088       case `/usr/bin/file conftest.$ac_objext` in
6089         *32-bit*)
6090           LD="${LD-ld} -32"
6091           ;;
6092         *N32*)
6093           LD="${LD-ld} -n32"
6094           ;;
6095         *64-bit*)
6096           LD="${LD-ld} -64"
6097           ;;
6098       esac
6099     fi
6100   fi
6101   rm -rf conftest*
6102   ;;
6103
6104 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6105 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6106   # Find out which ABI we are using.
6107   echo 'int i;' > conftest.$ac_ext
6108   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6109   (eval $ac_compile) 2>&5
6110   ac_status=$?
6111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6112   test $ac_status = 0; }; then
6113     case `/usr/bin/file conftest.o` in
6114       *32-bit*)
6115         case $host in
6116           x86_64-*kfreebsd*-gnu)
6117             LD="${LD-ld} -m elf_i386_fbsd"
6118             ;;
6119           x86_64-*linux*)
6120             LD="${LD-ld} -m elf_i386"
6121             ;;
6122           ppc64-*linux*|powerpc64-*linux*)
6123             LD="${LD-ld} -m elf32ppclinux"
6124             ;;
6125           s390x-*linux*)
6126             LD="${LD-ld} -m elf_s390"
6127             ;;
6128           sparc64-*linux*)
6129             LD="${LD-ld} -m elf32_sparc"
6130             ;;
6131         esac
6132         ;;
6133       *64-bit*)
6134         case $host in
6135           x86_64-*kfreebsd*-gnu)
6136             LD="${LD-ld} -m elf_x86_64_fbsd"
6137             ;;
6138           x86_64-*linux*)
6139             LD="${LD-ld} -m elf_x86_64"
6140             ;;
6141           ppc*-*linux*|powerpc*-*linux*)
6142             LD="${LD-ld} -m elf64ppc"
6143             ;;
6144           s390*-*linux*|s390*-*tpf*)
6145             LD="${LD-ld} -m elf64_s390"
6146             ;;
6147           sparc*-*linux*)
6148             LD="${LD-ld} -m elf64_sparc"
6149             ;;
6150         esac
6151         ;;
6152     esac
6153   fi
6154   rm -rf conftest*
6155   ;;
6156
6157 *-*-sco3.2v5*)
6158   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6159   SAVE_CFLAGS="$CFLAGS"
6160   CFLAGS="$CFLAGS -belf"
6161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6162 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6163 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6164   $as_echo_n "(cached) " >&6
6165 else
6166   ac_ext=c
6167 ac_cpp='$CPP $CPPFLAGS'
6168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6171
6172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h.  */
6174
6175 int
6176 main ()
6177 {
6178
6179   ;
6180   return 0;
6181 }
6182 _ACEOF
6183 if ac_fn_c_try_link "$LINENO"; then :
6184   lt_cv_cc_needs_belf=yes
6185 else
6186   lt_cv_cc_needs_belf=no
6187 fi
6188 rm -f core conftest.err conftest.$ac_objext \
6189     conftest$ac_exeext conftest.$ac_ext
6190      ac_ext=c
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195
6196 fi
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6198 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6199   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6200     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6201     CFLAGS="$SAVE_CFLAGS"
6202   fi
6203   ;;
6204 sparc*-*solaris*)
6205   # Find out which ABI we are using.
6206   echo 'int i;' > conftest.$ac_ext
6207   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6208   (eval $ac_compile) 2>&5
6209   ac_status=$?
6210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6211   test $ac_status = 0; }; then
6212     case `/usr/bin/file conftest.o` in
6213     *64-bit*)
6214       case $lt_cv_prog_gnu_ld in
6215       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6216       *)
6217         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6218           LD="${LD-ld} -64"
6219         fi
6220         ;;
6221       esac
6222       ;;
6223     esac
6224   fi
6225   rm -rf conftest*
6226   ;;
6227 esac
6228
6229 need_locks="$enable_libtool_lock"
6230
6231
6232   case $host_os in
6233     rhapsody* | darwin*)
6234     if test -n "$ac_tool_prefix"; then
6235   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6236 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6240   $as_echo_n "(cached) " >&6
6241 else
6242   if test -n "$DSYMUTIL"; then
6243   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6247 do
6248   IFS=$as_save_IFS
6249   test -z "$as_dir" && as_dir=.
6250     for ac_exec_ext in '' $ac_executable_extensions; do
6251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254     break 2
6255   fi
6256 done
6257   done
6258 IFS=$as_save_IFS
6259
6260 fi
6261 fi
6262 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6263 if test -n "$DSYMUTIL"; then
6264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6265 $as_echo "$DSYMUTIL" >&6; }
6266 else
6267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6269 fi
6270
6271
6272 fi
6273 if test -z "$ac_cv_prog_DSYMUTIL"; then
6274   ac_ct_DSYMUTIL=$DSYMUTIL
6275   # Extract the first word of "dsymutil", so it can be a program name with args.
6276 set dummy dsymutil; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6280   $as_echo_n "(cached) " >&6
6281 else
6282   if test -n "$ac_ct_DSYMUTIL"; then
6283   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6284 else
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH
6287 do
6288   IFS=$as_save_IFS
6289   test -z "$as_dir" && as_dir=.
6290     for ac_exec_ext in '' $ac_executable_extensions; do
6291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294     break 2
6295   fi
6296 done
6297   done
6298 IFS=$as_save_IFS
6299
6300 fi
6301 fi
6302 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6303 if test -n "$ac_ct_DSYMUTIL"; then
6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6305 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6306 else
6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6309 fi
6310
6311   if test "x$ac_ct_DSYMUTIL" = x; then
6312     DSYMUTIL=":"
6313   else
6314     case $cross_compiling:$ac_tool_warned in
6315 yes:)
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6318 ac_tool_warned=yes ;;
6319 esac
6320     DSYMUTIL=$ac_ct_DSYMUTIL
6321   fi
6322 else
6323   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6324 fi
6325
6326     if test -n "$ac_tool_prefix"; then
6327   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6332   $as_echo_n "(cached) " >&6
6333 else
6334   if test -n "$NMEDIT"; then
6335   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6336 else
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6339 do
6340   IFS=$as_save_IFS
6341   test -z "$as_dir" && as_dir=.
6342     for ac_exec_ext in '' $ac_executable_extensions; do
6343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346     break 2
6347   fi
6348 done
6349   done
6350 IFS=$as_save_IFS
6351
6352 fi
6353 fi
6354 NMEDIT=$ac_cv_prog_NMEDIT
6355 if test -n "$NMEDIT"; then
6356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6357 $as_echo "$NMEDIT" >&6; }
6358 else
6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6361 fi
6362
6363
6364 fi
6365 if test -z "$ac_cv_prog_NMEDIT"; then
6366   ac_ct_NMEDIT=$NMEDIT
6367   # Extract the first word of "nmedit", so it can be a program name with args.
6368 set dummy nmedit; ac_word=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 $as_echo_n "checking for $ac_word... " >&6; }
6371 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6372   $as_echo_n "(cached) " >&6
6373 else
6374   if test -n "$ac_ct_NMEDIT"; then
6375   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6376 else
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 for as_dir in $PATH
6379 do
6380   IFS=$as_save_IFS
6381   test -z "$as_dir" && as_dir=.
6382     for ac_exec_ext in '' $ac_executable_extensions; do
6383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386     break 2
6387   fi
6388 done
6389   done
6390 IFS=$as_save_IFS
6391
6392 fi
6393 fi
6394 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6395 if test -n "$ac_ct_NMEDIT"; then
6396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6397 $as_echo "$ac_ct_NMEDIT" >&6; }
6398 else
6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6401 fi
6402
6403   if test "x$ac_ct_NMEDIT" = x; then
6404     NMEDIT=":"
6405   else
6406     case $cross_compiling:$ac_tool_warned in
6407 yes:)
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6410 ac_tool_warned=yes ;;
6411 esac
6412     NMEDIT=$ac_ct_NMEDIT
6413   fi
6414 else
6415   NMEDIT="$ac_cv_prog_NMEDIT"
6416 fi
6417
6418     if test -n "$ac_tool_prefix"; then
6419   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if test "${ac_cv_prog_LIPO+set}" = set; then :
6424   $as_echo_n "(cached) " >&6
6425 else
6426   if test -n "$LIPO"; then
6427   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6431 do
6432   IFS=$as_save_IFS
6433   test -z "$as_dir" && as_dir=.
6434     for ac_exec_ext in '' $ac_executable_extensions; do
6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438     break 2
6439   fi
6440 done
6441   done
6442 IFS=$as_save_IFS
6443
6444 fi
6445 fi
6446 LIPO=$ac_cv_prog_LIPO
6447 if test -n "$LIPO"; then
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6449 $as_echo "$LIPO" >&6; }
6450 else
6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6453 fi
6454
6455
6456 fi
6457 if test -z "$ac_cv_prog_LIPO"; then
6458   ac_ct_LIPO=$LIPO
6459   # Extract the first word of "lipo", so it can be a program name with args.
6460 set dummy lipo; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$ac_ct_LIPO"; then
6467   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_ac_ct_LIPO="lipo"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6487 if test -n "$ac_ct_LIPO"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6489 $as_echo "$ac_ct_LIPO" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6494
6495   if test "x$ac_ct_LIPO" = x; then
6496     LIPO=":"
6497   else
6498     case $cross_compiling:$ac_tool_warned in
6499 yes:)
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6503 esac
6504     LIPO=$ac_ct_LIPO
6505   fi
6506 else
6507   LIPO="$ac_cv_prog_LIPO"
6508 fi
6509
6510     if test -n "$ac_tool_prefix"; then
6511   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}otool; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6516   $as_echo_n "(cached) " >&6
6517 else
6518   if test -n "$OTOOL"; then
6519   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524   IFS=$as_save_IFS
6525   test -z "$as_dir" && as_dir=.
6526     for ac_exec_ext in '' $ac_executable_extensions; do
6527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530     break 2
6531   fi
6532 done
6533   done
6534 IFS=$as_save_IFS
6535
6536 fi
6537 fi
6538 OTOOL=$ac_cv_prog_OTOOL
6539 if test -n "$OTOOL"; then
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6541 $as_echo "$OTOOL" >&6; }
6542 else
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6546
6547
6548 fi
6549 if test -z "$ac_cv_prog_OTOOL"; then
6550   ac_ct_OTOOL=$OTOOL
6551   # Extract the first word of "otool", so it can be a program name with args.
6552 set dummy otool; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6556   $as_echo_n "(cached) " >&6
6557 else
6558   if test -n "$ac_ct_OTOOL"; then
6559   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6563 do
6564   IFS=$as_save_IFS
6565   test -z "$as_dir" && as_dir=.
6566     for ac_exec_ext in '' $ac_executable_extensions; do
6567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568     ac_cv_prog_ac_ct_OTOOL="otool"
6569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570     break 2
6571   fi
6572 done
6573   done
6574 IFS=$as_save_IFS
6575
6576 fi
6577 fi
6578 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6579 if test -n "$ac_ct_OTOOL"; then
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6581 $as_echo "$ac_ct_OTOOL" >&6; }
6582 else
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6585 fi
6586
6587   if test "x$ac_ct_OTOOL" = x; then
6588     OTOOL=":"
6589   else
6590     case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596     OTOOL=$ac_ct_OTOOL
6597   fi
6598 else
6599   OTOOL="$ac_cv_prog_OTOOL"
6600 fi
6601
6602     if test -n "$ac_tool_prefix"; then
6603   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6608   $as_echo_n "(cached) " >&6
6609 else
6610   if test -n "$OTOOL64"; then
6611   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6615 do
6616   IFS=$as_save_IFS
6617   test -z "$as_dir" && as_dir=.
6618     for ac_exec_ext in '' $ac_executable_extensions; do
6619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622     break 2
6623   fi
6624 done
6625   done
6626 IFS=$as_save_IFS
6627
6628 fi
6629 fi
6630 OTOOL64=$ac_cv_prog_OTOOL64
6631 if test -n "$OTOOL64"; then
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6633 $as_echo "$OTOOL64" >&6; }
6634 else
6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6637 fi
6638
6639
6640 fi
6641 if test -z "$ac_cv_prog_OTOOL64"; then
6642   ac_ct_OTOOL64=$OTOOL64
6643   # Extract the first word of "otool64", so it can be a program name with args.
6644 set dummy otool64; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6648   $as_echo_n "(cached) " >&6
6649 else
6650   if test -n "$ac_ct_OTOOL64"; then
6651   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6655 do
6656   IFS=$as_save_IFS
6657   test -z "$as_dir" && as_dir=.
6658     for ac_exec_ext in '' $ac_executable_extensions; do
6659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660     ac_cv_prog_ac_ct_OTOOL64="otool64"
6661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662     break 2
6663   fi
6664 done
6665   done
6666 IFS=$as_save_IFS
6667
6668 fi
6669 fi
6670 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6671 if test -n "$ac_ct_OTOOL64"; then
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6673 $as_echo "$ac_ct_OTOOL64" >&6; }
6674 else
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6677 fi
6678
6679   if test "x$ac_ct_OTOOL64" = x; then
6680     OTOOL64=":"
6681   else
6682     case $cross_compiling:$ac_tool_warned in
6683 yes:)
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6687 esac
6688     OTOOL64=$ac_ct_OTOOL64
6689   fi
6690 else
6691   OTOOL64="$ac_cv_prog_OTOOL64"
6692 fi
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6721 $as_echo_n "checking for -single_module linker flag... " >&6; }
6722 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6723   $as_echo_n "(cached) " >&6
6724 else
6725   lt_cv_apple_cc_single_mod=no
6726       if test -z "${LT_MULTI_MODULE}"; then
6727         # By default we will add the -single_module flag. You can override
6728         # by either setting the environment variable LT_MULTI_MODULE
6729         # non-empty at configure time, or by adding -multi_module to the
6730         # link flags.
6731         rm -rf libconftest.dylib*
6732         echo "int foo(void){return 1;}" > conftest.c
6733         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6734 -dynamiclib -Wl,-single_module conftest.c" >&5
6735         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6736           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6737         _lt_result=$?
6738         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6739           lt_cv_apple_cc_single_mod=yes
6740         else
6741           cat conftest.err >&5
6742         fi
6743         rm -rf libconftest.dylib*
6744         rm -f conftest.*
6745       fi
6746 fi
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6748 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6750 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6751 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6752   $as_echo_n "(cached) " >&6
6753 else
6754   lt_cv_ld_exported_symbols_list=no
6755       save_LDFLAGS=$LDFLAGS
6756       echo "_main" > conftest.sym
6757       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h.  */
6760
6761 int
6762 main ()
6763 {
6764
6765   ;
6766   return 0;
6767 }
6768 _ACEOF
6769 if ac_fn_c_try_link "$LINENO"; then :
6770   lt_cv_ld_exported_symbols_list=yes
6771 else
6772   lt_cv_ld_exported_symbols_list=no
6773 fi
6774 rm -f core conftest.err conftest.$ac_objext \
6775     conftest$ac_exeext conftest.$ac_ext
6776         LDFLAGS="$save_LDFLAGS"
6777
6778 fi
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6780 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6781     case $host_os in
6782     rhapsody* | darwin1.[012])
6783       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6784     darwin1.*)
6785       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6786     darwin*) # darwin 5.x on
6787       # if running on 10.5 or later, the deployment target defaults
6788       # to the OS version, if on x86, and 10.4, the deployment
6789       # target defaults to 10.4. Don't you love it?
6790       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6791         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6792           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6793         10.[012]*)
6794           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6795         10.*)
6796           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6797       esac
6798     ;;
6799   esac
6800     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6801       _lt_dar_single_mod='$single_module'
6802     fi
6803     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6804       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6805     else
6806       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6807     fi
6808     if test "$DSYMUTIL" != ":"; then
6809       _lt_dsymutil='~$DSYMUTIL $lib || :'
6810     else
6811       _lt_dsymutil=
6812     fi
6813     ;;
6814   esac
6815
6816
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6818 $as_echo_n "checking for ANSI C header files... " >&6; }
6819 if test "${ac_cv_header_stdc+set}" = set; then :
6820   $as_echo_n "(cached) " >&6
6821 else
6822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h.  */
6824 #include <stdlib.h>
6825 #include <stdarg.h>
6826 #include <string.h>
6827 #include <float.h>
6828
6829 int
6830 main ()
6831 {
6832
6833   ;
6834   return 0;
6835 }
6836 _ACEOF
6837 if ac_fn_c_try_compile "$LINENO"; then :
6838   ac_cv_header_stdc=yes
6839 else
6840   ac_cv_header_stdc=no
6841 fi
6842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6843
6844 if test $ac_cv_header_stdc = yes; then
6845   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h.  */
6848 #include <string.h>
6849
6850 _ACEOF
6851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6852   $EGREP "memchr" >/dev/null 2>&1; then :
6853
6854 else
6855   ac_cv_header_stdc=no
6856 fi
6857 rm -f conftest*
6858
6859 fi
6860
6861 if test $ac_cv_header_stdc = yes; then
6862   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h.  */
6865 #include <stdlib.h>
6866
6867 _ACEOF
6868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6869   $EGREP "free" >/dev/null 2>&1; then :
6870
6871 else
6872   ac_cv_header_stdc=no
6873 fi
6874 rm -f conftest*
6875
6876 fi
6877
6878 if test $ac_cv_header_stdc = yes; then
6879   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6880   if test "$cross_compiling" = yes; then :
6881   :
6882 else
6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h.  */
6885 #include <ctype.h>
6886 #include <stdlib.h>
6887 #if ((' ' & 0x0FF) == 0x020)
6888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6890 #else
6891 # define ISLOWER(c) \
6892                    (('a' <= (c) && (c) <= 'i') \
6893                      || ('j' <= (c) && (c) <= 'r') \
6894                      || ('s' <= (c) && (c) <= 'z'))
6895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6896 #endif
6897
6898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6899 int
6900 main ()
6901 {
6902   int i;
6903   for (i = 0; i < 256; i++)
6904     if (XOR (islower (i), ISLOWER (i))
6905         || toupper (i) != TOUPPER (i))
6906       return 2;
6907   return 0;
6908 }
6909 _ACEOF
6910 if ac_fn_c_try_run "$LINENO"; then :
6911
6912 else
6913   ac_cv_header_stdc=no
6914 fi
6915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6916   conftest.$ac_objext conftest.beam conftest.$ac_ext
6917 fi
6918
6919 fi
6920 fi
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6922 $as_echo "$ac_cv_header_stdc" >&6; }
6923 if test $ac_cv_header_stdc = yes; then
6924
6925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6926
6927 fi
6928
6929 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6930 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6931                   inttypes.h stdint.h unistd.h
6932 do :
6933   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6934 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6935 "
6936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6937   cat >>confdefs.h <<_ACEOF
6938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6939 _ACEOF
6940
6941 fi
6942
6943 done
6944
6945
6946 for ac_header in dlfcn.h
6947 do :
6948   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6949 "
6950 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6951   cat >>confdefs.h <<_ACEOF
6952 #define HAVE_DLFCN_H 1
6953 _ACEOF
6954
6955 fi
6956
6957 done
6958
6959
6960
6961 # Set options
6962
6963
6964
6965
6966   enable_win32_dll=no
6967
6968
6969             # Check whether --enable-shared was given.
6970 if test "${enable_shared+set}" = set; then :
6971   enableval=$enable_shared; p=${PACKAGE-default}
6972     case $enableval in
6973     yes) enable_shared=yes ;;
6974     no) enable_shared=no ;;
6975     *)
6976       enable_shared=no
6977       # Look at the argument we got.  We use all the common list separators.
6978       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6979       for pkg in $enableval; do
6980         IFS="$lt_save_ifs"
6981         if test "X$pkg" = "X$p"; then
6982           enable_shared=yes
6983         fi
6984       done
6985       IFS="$lt_save_ifs"
6986       ;;
6987     esac
6988 else
6989   enable_shared=yes
6990 fi
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002 # Check whether --with-pic was given.
7003 if test "${with_pic+set}" = set; then :
7004   withval=$with_pic; pic_mode="$withval"
7005 else
7006   pic_mode=default
7007 fi
7008
7009
7010 test -z "$pic_mode" && pic_mode=default
7011
7012
7013
7014
7015
7016
7017
7018   # Check whether --enable-fast-install was given.
7019 if test "${enable_fast_install+set}" = set; then :
7020   enableval=$enable_fast_install; p=${PACKAGE-default}
7021     case $enableval in
7022     yes) enable_fast_install=yes ;;
7023     no) enable_fast_install=no ;;
7024     *)
7025       enable_fast_install=no
7026       # Look at the argument we got.  We use all the common list separators.
7027       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7028       for pkg in $enableval; do
7029         IFS="$lt_save_ifs"
7030         if test "X$pkg" = "X$p"; then
7031           enable_fast_install=yes
7032         fi
7033       done
7034       IFS="$lt_save_ifs"
7035       ;;
7036     esac
7037 else
7038   enable_fast_install=yes
7039 fi
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051 # This can be used to rebuild libtool when needed
7052 LIBTOOL_DEPS="$ltmain"
7053
7054 # Always use our own libtool.
7055 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081 test -z "$LN_S" && LN_S="ln -s"
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096 if test -n "${ZSH_VERSION+set}" ; then
7097    setopt NO_GLOB_SUBST
7098 fi
7099
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7101 $as_echo_n "checking for objdir... " >&6; }
7102 if test "${lt_cv_objdir+set}" = set; then :
7103   $as_echo_n "(cached) " >&6
7104 else
7105   rm -f .libs 2>/dev/null
7106 mkdir .libs 2>/dev/null
7107 if test -d .libs; then
7108   lt_cv_objdir=.libs
7109 else
7110   # MS-DOS does not allow filenames that begin with a dot.
7111   lt_cv_objdir=_libs
7112 fi
7113 rmdir .libs 2>/dev/null
7114 fi
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7116 $as_echo "$lt_cv_objdir" >&6; }
7117 objdir=$lt_cv_objdir
7118
7119
7120
7121
7122
7123 cat >>confdefs.h <<_ACEOF
7124 #define LT_OBJDIR "$lt_cv_objdir/"
7125 _ACEOF
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143 case $host_os in
7144 aix3*)
7145   # AIX sometimes has problems with the GCC collect2 program.  For some
7146   # reason, if we set the COLLECT_NAMES environment variable, the problems
7147   # vanish in a puff of smoke.
7148   if test "X${COLLECT_NAMES+set}" != Xset; then
7149     COLLECT_NAMES=
7150     export COLLECT_NAMES
7151   fi
7152   ;;
7153 esac
7154
7155 # Sed substitution that helps us do robust quoting.  It backslashifies
7156 # metacharacters that are still active within double-quoted strings.
7157 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7158
7159 # Same as above, but do not quote variable references.
7160 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7161
7162 # Sed substitution to delay expansion of an escaped shell variable in a
7163 # double_quote_subst'ed string.
7164 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7165
7166 # Sed substitution to delay expansion of an escaped single quote.
7167 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7168
7169 # Sed substitution to avoid accidental globbing in evaled expressions
7170 no_glob_subst='s/\*/\\\*/g'
7171
7172 # Global variables:
7173 ofile=libtool
7174 can_build_shared=yes
7175
7176 # All known linkers require a `.a' archive for static linking (except MSVC,
7177 # which needs '.lib').
7178 libext=a
7179
7180 with_gnu_ld="$lt_cv_prog_gnu_ld"
7181
7182 old_CC="$CC"
7183 old_CFLAGS="$CFLAGS"
7184
7185 # Set sane defaults for various variables
7186 test -z "$CC" && CC=cc
7187 test -z "$LTCC" && LTCC=$CC
7188 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7189 test -z "$LD" && LD=ld
7190 test -z "$ac_objext" && ac_objext=o
7191
7192 for cc_temp in $compiler""; do
7193   case $cc_temp in
7194     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7195     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7196     \-*) ;;
7197     *) break;;
7198   esac
7199 done
7200 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7201
7202
7203 # Only perform the check for file, if the check method requires it
7204 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7205 case $deplibs_check_method in
7206 file_magic*)
7207   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7209 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7210 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7211   $as_echo_n "(cached) " >&6
7212 else
7213   case $MAGIC_CMD in
7214 [\\/*] |  ?:[\\/]*)
7215   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7216   ;;
7217 *)
7218   lt_save_MAGIC_CMD="$MAGIC_CMD"
7219   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7220   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7221   for ac_dir in $ac_dummy; do
7222     IFS="$lt_save_ifs"
7223     test -z "$ac_dir" && ac_dir=.
7224     if test -f $ac_dir/${ac_tool_prefix}file; then
7225       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7226       if test -n "$file_magic_test_file"; then
7227         case $deplibs_check_method in
7228         "file_magic "*)
7229           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7230           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7231           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7232             $EGREP "$file_magic_regex" > /dev/null; then
7233             :
7234           else
7235             cat <<_LT_EOF 1>&2
7236
7237 *** Warning: the command libtool uses to detect shared libraries,
7238 *** $file_magic_cmd, produces output that libtool cannot recognize.
7239 *** The result is that libtool may fail to recognize shared libraries
7240 *** as such.  This will affect the creation of libtool libraries that
7241 *** depend on shared libraries, but programs linked with such libtool
7242 *** libraries will work regardless of this problem.  Nevertheless, you
7243 *** may want to report the problem to your system manager and/or to
7244 *** bug-libtool@gnu.org
7245
7246 _LT_EOF
7247           fi ;;
7248         esac
7249       fi
7250       break
7251     fi
7252   done
7253   IFS="$lt_save_ifs"
7254   MAGIC_CMD="$lt_save_MAGIC_CMD"
7255   ;;
7256 esac
7257 fi
7258
7259 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7260 if test -n "$MAGIC_CMD"; then
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7262 $as_echo "$MAGIC_CMD" >&6; }
7263 else
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268
7269
7270
7271
7272 if test -z "$lt_cv_path_MAGIC_CMD"; then
7273   if test -n "$ac_tool_prefix"; then
7274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7275 $as_echo_n "checking for file... " >&6; }
7276 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   case $MAGIC_CMD in
7280 [\\/*] |  ?:[\\/]*)
7281   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7282   ;;
7283 *)
7284   lt_save_MAGIC_CMD="$MAGIC_CMD"
7285   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7286   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7287   for ac_dir in $ac_dummy; do
7288     IFS="$lt_save_ifs"
7289     test -z "$ac_dir" && ac_dir=.
7290     if test -f $ac_dir/file; then
7291       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7292       if test -n "$file_magic_test_file"; then
7293         case $deplibs_check_method in
7294         "file_magic "*)
7295           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7296           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7297           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7298             $EGREP "$file_magic_regex" > /dev/null; then
7299             :
7300           else
7301             cat <<_LT_EOF 1>&2
7302
7303 *** Warning: the command libtool uses to detect shared libraries,
7304 *** $file_magic_cmd, produces output that libtool cannot recognize.
7305 *** The result is that libtool may fail to recognize shared libraries
7306 *** as such.  This will affect the creation of libtool libraries that
7307 *** depend on shared libraries, but programs linked with such libtool
7308 *** libraries will work regardless of this problem.  Nevertheless, you
7309 *** may want to report the problem to your system manager and/or to
7310 *** bug-libtool@gnu.org
7311
7312 _LT_EOF
7313           fi ;;
7314         esac
7315       fi
7316       break
7317     fi
7318   done
7319   IFS="$lt_save_ifs"
7320   MAGIC_CMD="$lt_save_MAGIC_CMD"
7321   ;;
7322 esac
7323 fi
7324
7325 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7326 if test -n "$MAGIC_CMD"; then
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7328 $as_echo "$MAGIC_CMD" >&6; }
7329 else
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7332 fi
7333
7334
7335   else
7336     MAGIC_CMD=:
7337   fi
7338 fi
7339
7340   fi
7341   ;;
7342 esac
7343
7344 # Use C for the default configuration in the libtool script
7345
7346 lt_save_CC="$CC"
7347 ac_ext=c
7348 ac_cpp='$CPP $CPPFLAGS'
7349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7352
7353
7354 # Source file extension for C test sources.
7355 ac_ext=c
7356
7357 # Object file extension for compiled C test sources.
7358 objext=o
7359 objext=$objext
7360
7361 # Code to be used in simple compile tests
7362 lt_simple_compile_test_code="int some_variable = 0;"
7363
7364 # Code to be used in simple link tests
7365 lt_simple_link_test_code='int main(){return(0);}'
7366
7367
7368
7369
7370
7371
7372
7373 # If no C compiler was specified, use CC.
7374 LTCC=${LTCC-"$CC"}
7375
7376 # If no C compiler flags were specified, use CFLAGS.
7377 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7378
7379 # Allow CC to be a program name with arguments.
7380 compiler=$CC
7381
7382 # Save the default compiler, since it gets overwritten when the other
7383 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7384 compiler_DEFAULT=$CC
7385
7386 # save warnings/boilerplate of simple test code
7387 ac_outfile=conftest.$ac_objext
7388 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7389 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7390 _lt_compiler_boilerplate=`cat conftest.err`
7391 $RM conftest*
7392
7393 ac_outfile=conftest.$ac_objext
7394 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7395 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7396 _lt_linker_boilerplate=`cat conftest.err`
7397 $RM -r conftest*
7398
7399
7400 if test -n "$compiler"; then
7401
7402 lt_prog_compiler_no_builtin_flag=
7403
7404 if test "$GCC" = yes; then
7405   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7406
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7408 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7409 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7410   $as_echo_n "(cached) " >&6
7411 else
7412   lt_cv_prog_compiler_rtti_exceptions=no
7413    ac_outfile=conftest.$ac_objext
7414    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7415    lt_compiler_flag="-fno-rtti -fno-exceptions"
7416    # Insert the option either (1) after the last *FLAGS variable, or
7417    # (2) before a word containing "conftest.", or (3) at the end.
7418    # Note that $ac_compile itself does not contain backslashes and begins
7419    # with a dollar sign (not a hyphen), so the echo should work correctly.
7420    # The option is referenced via a variable to avoid confusing sed.
7421    lt_compile=`echo "$ac_compile" | $SED \
7422    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7423    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7424    -e 's:$: $lt_compiler_flag:'`
7425    (eval echo "\"\$as_me:7425: $lt_compile\"" >&5)
7426    (eval "$lt_compile" 2>conftest.err)
7427    ac_status=$?
7428    cat conftest.err >&5
7429    echo "$as_me:7429: \$? = $ac_status" >&5
7430    if (exit $ac_status) && test -s "$ac_outfile"; then
7431      # The compiler can only warn and ignore the option if not recognized
7432      # So say no if there are warnings other than the usual output.
7433      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7434      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7435      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7436        lt_cv_prog_compiler_rtti_exceptions=yes
7437      fi
7438    fi
7439    $RM conftest*
7440
7441 fi
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7443 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7444
7445 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7446     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7447 else
7448     :
7449 fi
7450
7451 fi
7452
7453
7454
7455
7456
7457
7458   lt_prog_compiler_wl=
7459 lt_prog_compiler_pic=
7460 lt_prog_compiler_static=
7461
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7463 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7464
7465   if test "$GCC" = yes; then
7466     lt_prog_compiler_wl='-Wl,'
7467     lt_prog_compiler_static='-static'
7468
7469     case $host_os in
7470       aix*)
7471       # All AIX code is PIC.
7472       if test "$host_cpu" = ia64; then
7473         # AIX 5 now supports IA64 processor
7474         lt_prog_compiler_static='-Bstatic'
7475       fi
7476       ;;
7477
7478     amigaos*)
7479       case $host_cpu in
7480       powerpc)
7481             # see comment about AmigaOS4 .so support
7482             lt_prog_compiler_pic='-fPIC'
7483         ;;
7484       m68k)
7485             # FIXME: we need at least 68020 code to build shared libraries, but
7486             # adding the `-m68020' flag to GCC prevents building anything better,
7487             # like `-m68040'.
7488             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7489         ;;
7490       esac
7491       ;;
7492
7493     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7494       # PIC is the default for these OSes.
7495       ;;
7496
7497     mingw* | cygwin* | pw32* | os2* | cegcc*)
7498       # This hack is so that the source file can tell whether it is being
7499       # built for inclusion in a dll (and should export symbols for example).
7500       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7501       # (--disable-auto-import) libraries
7502       lt_prog_compiler_pic='-DDLL_EXPORT'
7503       ;;
7504
7505     darwin* | rhapsody*)
7506       # PIC is the default on this platform
7507       # Common symbols not allowed in MH_DYLIB files
7508       lt_prog_compiler_pic='-fno-common'
7509       ;;
7510
7511     hpux*)
7512       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7513       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7514       # sets the default TLS model and affects inlining.
7515       case $host_cpu in
7516       hppa*64*)
7517         # +Z the default
7518         ;;
7519       *)
7520         lt_prog_compiler_pic='-fPIC'
7521         ;;
7522       esac
7523       ;;
7524
7525     interix[3-9]*)
7526       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7527       # Instead, we relocate shared libraries at runtime.
7528       ;;
7529
7530     msdosdjgpp*)
7531       # Just because we use GCC doesn't mean we suddenly get shared libraries
7532       # on systems that don't support them.
7533       lt_prog_compiler_can_build_shared=no
7534       enable_shared=no
7535       ;;
7536
7537     *nto* | *qnx*)
7538       # QNX uses GNU C++, but need to define -shared option too, otherwise
7539       # it will coredump.
7540       lt_prog_compiler_pic='-fPIC -shared'
7541       ;;
7542
7543     sysv4*MP*)
7544       if test -d /usr/nec; then
7545         lt_prog_compiler_pic=-Kconform_pic
7546       fi
7547       ;;
7548
7549     *)
7550       lt_prog_compiler_pic='-fPIC'
7551       ;;
7552     esac
7553   else
7554     # PORTME Check for flag to pass linker flags through the system compiler.
7555     case $host_os in
7556     aix*)
7557       lt_prog_compiler_wl='-Wl,'
7558       if test "$host_cpu" = ia64; then
7559         # AIX 5 now supports IA64 processor
7560         lt_prog_compiler_static='-Bstatic'
7561       else
7562         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7563       fi
7564       ;;
7565
7566     mingw* | cygwin* | pw32* | os2* | cegcc*)
7567       # This hack is so that the source file can tell whether it is being
7568       # built for inclusion in a dll (and should export symbols for example).
7569       lt_prog_compiler_pic='-DDLL_EXPORT'
7570       ;;
7571
7572     hpux9* | hpux10* | hpux11*)
7573       lt_prog_compiler_wl='-Wl,'
7574       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7575       # not for PA HP-UX.
7576       case $host_cpu in
7577       hppa*64*|ia64*)
7578         # +Z the default
7579         ;;
7580       *)
7581         lt_prog_compiler_pic='+Z'
7582         ;;
7583       esac
7584       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7585       lt_prog_compiler_static='${wl}-a ${wl}archive'
7586       ;;
7587
7588     irix5* | irix6* | nonstopux*)
7589       lt_prog_compiler_wl='-Wl,'
7590       # PIC (with -KPIC) is the default.
7591       lt_prog_compiler_static='-non_shared'
7592       ;;
7593
7594     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7595       case $cc_basename in
7596       # old Intel for x86_64 which still supported -KPIC.
7597       ecc*)
7598         lt_prog_compiler_wl='-Wl,'
7599         lt_prog_compiler_pic='-KPIC'
7600         lt_prog_compiler_static='-static'
7601         ;;
7602       # icc used to be incompatible with GCC.
7603       # ICC 10 doesn't accept -KPIC any more.
7604       icc* | ifort*)
7605         lt_prog_compiler_wl='-Wl,'
7606         lt_prog_compiler_pic='-fPIC'
7607         lt_prog_compiler_static='-static'
7608         ;;
7609       # Lahey Fortran 8.1.
7610       lf95*)
7611         lt_prog_compiler_wl='-Wl,'
7612         lt_prog_compiler_pic='--shared'
7613         lt_prog_compiler_static='--static'
7614         ;;
7615       pgcc* | pgf77* | pgf90* | pgf95*)
7616         # Portland Group compilers (*not* the Pentium gcc compiler,
7617         # which looks to be a dead project)
7618         lt_prog_compiler_wl='-Wl,'
7619         lt_prog_compiler_pic='-fpic'
7620         lt_prog_compiler_static='-Bstatic'
7621         ;;
7622       ccc*)
7623         lt_prog_compiler_wl='-Wl,'
7624         # All Alpha code is PIC.
7625         lt_prog_compiler_static='-non_shared'
7626         ;;
7627       xl*)
7628         # IBM XL C 8.0/Fortran 10.1 on PPC
7629         lt_prog_compiler_wl='-Wl,'
7630         lt_prog_compiler_pic='-qpic'
7631         lt_prog_compiler_static='-qstaticlink'
7632         ;;
7633       *)
7634         case `$CC -V 2>&1 | sed 5q` in
7635         *Sun\ C*)
7636           # Sun C 5.9
7637           lt_prog_compiler_pic='-KPIC'
7638           lt_prog_compiler_static='-Bstatic'
7639           lt_prog_compiler_wl='-Wl,'
7640           ;;
7641         *Sun\ F*)
7642           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7643           lt_prog_compiler_pic='-KPIC'
7644           lt_prog_compiler_static='-Bstatic'
7645           lt_prog_compiler_wl=''
7646           ;;
7647         esac
7648         ;;
7649       esac
7650       ;;
7651
7652     newsos6)
7653       lt_prog_compiler_pic='-KPIC'
7654       lt_prog_compiler_static='-Bstatic'
7655       ;;
7656
7657     *nto* | *qnx*)
7658       # QNX uses GNU C++, but need to define -shared option too, otherwise
7659       # it will coredump.
7660       lt_prog_compiler_pic='-fPIC -shared'
7661       ;;
7662
7663     osf3* | osf4* | osf5*)
7664       lt_prog_compiler_wl='-Wl,'
7665       # All OSF/1 code is PIC.
7666       lt_prog_compiler_static='-non_shared'
7667       ;;
7668
7669     rdos*)
7670       lt_prog_compiler_static='-non_shared'
7671       ;;
7672
7673     solaris*)
7674       lt_prog_compiler_pic='-KPIC'
7675       lt_prog_compiler_static='-Bstatic'
7676       case $cc_basename in
7677       f77* | f90* | f95*)
7678         lt_prog_compiler_wl='-Qoption ld ';;
7679       *)
7680         lt_prog_compiler_wl='-Wl,';;
7681       esac
7682       ;;
7683
7684     sunos4*)
7685       lt_prog_compiler_wl='-Qoption ld '
7686       lt_prog_compiler_pic='-PIC'
7687       lt_prog_compiler_static='-Bstatic'
7688       ;;
7689
7690     sysv4 | sysv4.2uw2* | sysv4.3*)
7691       lt_prog_compiler_wl='-Wl,'
7692       lt_prog_compiler_pic='-KPIC'
7693       lt_prog_compiler_static='-Bstatic'
7694       ;;
7695
7696     sysv4*MP*)
7697       if test -d /usr/nec ;then
7698         lt_prog_compiler_pic='-Kconform_pic'
7699         lt_prog_compiler_static='-Bstatic'
7700       fi
7701       ;;
7702
7703     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7704       lt_prog_compiler_wl='-Wl,'
7705       lt_prog_compiler_pic='-KPIC'
7706       lt_prog_compiler_static='-Bstatic'
7707       ;;
7708
7709     unicos*)
7710       lt_prog_compiler_wl='-Wl,'
7711       lt_prog_compiler_can_build_shared=no
7712       ;;
7713
7714     uts4*)
7715       lt_prog_compiler_pic='-pic'
7716       lt_prog_compiler_static='-Bstatic'
7717       ;;
7718
7719     *)
7720       lt_prog_compiler_can_build_shared=no
7721       ;;
7722     esac
7723   fi
7724
7725 case $host_os in
7726   # For platforms which do not support PIC, -DPIC is meaningless:
7727   *djgpp*)
7728     lt_prog_compiler_pic=
7729     ;;
7730   *)
7731     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7732     ;;
7733 esac
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7735 $as_echo "$lt_prog_compiler_pic" >&6; }
7736
7737
7738
7739
7740
7741
7742 #
7743 # Check to make sure the PIC flag actually works.
7744 #
7745 if test -n "$lt_prog_compiler_pic"; then
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7747 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7748 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751   lt_cv_prog_compiler_pic_works=no
7752    ac_outfile=conftest.$ac_objext
7753    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7754    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7755    # Insert the option either (1) after the last *FLAGS variable, or
7756    # (2) before a word containing "conftest.", or (3) at the end.
7757    # Note that $ac_compile itself does not contain backslashes and begins
7758    # with a dollar sign (not a hyphen), so the echo should work correctly.
7759    # The option is referenced via a variable to avoid confusing sed.
7760    lt_compile=`echo "$ac_compile" | $SED \
7761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7763    -e 's:$: $lt_compiler_flag:'`
7764    (eval echo "\"\$as_me:7764: $lt_compile\"" >&5)
7765    (eval "$lt_compile" 2>conftest.err)
7766    ac_status=$?
7767    cat conftest.err >&5
7768    echo "$as_me:7768: \$? = $ac_status" >&5
7769    if (exit $ac_status) && test -s "$ac_outfile"; then
7770      # The compiler can only warn and ignore the option if not recognized
7771      # So say no if there are warnings other than the usual output.
7772      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7773      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7774      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7775        lt_cv_prog_compiler_pic_works=yes
7776      fi
7777    fi
7778    $RM conftest*
7779
7780 fi
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7782 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7783
7784 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7785     case $lt_prog_compiler_pic in
7786      "" | " "*) ;;
7787      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7788      esac
7789 else
7790     lt_prog_compiler_pic=
7791      lt_prog_compiler_can_build_shared=no
7792 fi
7793
7794 fi
7795
7796
7797
7798
7799
7800
7801 #
7802 # Check to make sure the static flag actually works.
7803 #
7804 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7807 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7808   $as_echo_n "(cached) " >&6
7809 else
7810   lt_cv_prog_compiler_static_works=no
7811    save_LDFLAGS="$LDFLAGS"
7812    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7813    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7814    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7815      # The linker can only warn and ignore the option if not recognized
7816      # So say no if there are warnings
7817      if test -s conftest.err; then
7818        # Append any errors to the config.log.
7819        cat conftest.err 1>&5
7820        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7821        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7822        if diff conftest.exp conftest.er2 >/dev/null; then
7823          lt_cv_prog_compiler_static_works=yes
7824        fi
7825      else
7826        lt_cv_prog_compiler_static_works=yes
7827      fi
7828    fi
7829    $RM -r conftest*
7830    LDFLAGS="$save_LDFLAGS"
7831
7832 fi
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7834 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7835
7836 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7837     :
7838 else
7839     lt_prog_compiler_static=
7840 fi
7841
7842
7843
7844
7845
7846
7847
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7850 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7851   $as_echo_n "(cached) " >&6
7852 else
7853   lt_cv_prog_compiler_c_o=no
7854    $RM -r conftest 2>/dev/null
7855    mkdir conftest
7856    cd conftest
7857    mkdir out
7858    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7859
7860    lt_compiler_flag="-o out/conftest2.$ac_objext"
7861    # Insert the option either (1) after the last *FLAGS variable, or
7862    # (2) before a word containing "conftest.", or (3) at the end.
7863    # Note that $ac_compile itself does not contain backslashes and begins
7864    # with a dollar sign (not a hyphen), so the echo should work correctly.
7865    lt_compile=`echo "$ac_compile" | $SED \
7866    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7867    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7868    -e 's:$: $lt_compiler_flag:'`
7869    (eval echo "\"\$as_me:7869: $lt_compile\"" >&5)
7870    (eval "$lt_compile" 2>out/conftest.err)
7871    ac_status=$?
7872    cat out/conftest.err >&5
7873    echo "$as_me:7873: \$? = $ac_status" >&5
7874    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7875    then
7876      # The compiler can only warn and ignore the option if not recognized
7877      # So say no if there are warnings
7878      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7879      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7880      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7881        lt_cv_prog_compiler_c_o=yes
7882      fi
7883    fi
7884    chmod u+w . 2>&5
7885    $RM conftest*
7886    # SGI C++ compiler will create directory out/ii_files/ for
7887    # template instantiation
7888    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7889    $RM out/* && rmdir out
7890    cd ..
7891    $RM -r conftest
7892    $RM conftest*
7893
7894 fi
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7896 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7897
7898
7899
7900
7901
7902
7903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7906   $as_echo_n "(cached) " >&6
7907 else
7908   lt_cv_prog_compiler_c_o=no
7909    $RM -r conftest 2>/dev/null
7910    mkdir conftest
7911    cd conftest
7912    mkdir out
7913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7914
7915    lt_compiler_flag="-o out/conftest2.$ac_objext"
7916    # Insert the option either (1) after the last *FLAGS variable, or
7917    # (2) before a word containing "conftest.", or (3) at the end.
7918    # Note that $ac_compile itself does not contain backslashes and begins
7919    # with a dollar sign (not a hyphen), so the echo should work correctly.
7920    lt_compile=`echo "$ac_compile" | $SED \
7921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7923    -e 's:$: $lt_compiler_flag:'`
7924    (eval echo "\"\$as_me:7924: $lt_compile\"" >&5)
7925    (eval "$lt_compile" 2>out/conftest.err)
7926    ac_status=$?
7927    cat out/conftest.err >&5
7928    echo "$as_me:7928: \$? = $ac_status" >&5
7929    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7930    then
7931      # The compiler can only warn and ignore the option if not recognized
7932      # So say no if there are warnings
7933      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7934      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7935      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7936        lt_cv_prog_compiler_c_o=yes
7937      fi
7938    fi
7939    chmod u+w . 2>&5
7940    $RM conftest*
7941    # SGI C++ compiler will create directory out/ii_files/ for
7942    # template instantiation
7943    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7944    $RM out/* && rmdir out
7945    cd ..
7946    $RM -r conftest
7947    $RM conftest*
7948
7949 fi
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7952
7953
7954
7955
7956 hard_links="nottested"
7957 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7958   # do not overwrite the value of need_locks provided by the user
7959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7960 $as_echo_n "checking if we can lock with hard links... " >&6; }
7961   hard_links=yes
7962   $RM conftest*
7963   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7964   touch conftest.a
7965   ln conftest.a conftest.b 2>&5 || hard_links=no
7966   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7968 $as_echo "$hard_links" >&6; }
7969   if test "$hard_links" = no; then
7970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7972     need_locks=warn
7973   fi
7974 else
7975   need_locks=no
7976 fi
7977
7978
7979
7980
7981
7982
7983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7984 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7985
7986   runpath_var=
7987   allow_undefined_flag=
7988   always_export_symbols=no
7989   archive_cmds=
7990   archive_expsym_cmds=
7991   compiler_needs_object=no
7992   enable_shared_with_static_runtimes=no
7993   export_dynamic_flag_spec=
7994   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7995   hardcode_automatic=no
7996   hardcode_direct=no
7997   hardcode_direct_absolute=no
7998   hardcode_libdir_flag_spec=
7999   hardcode_libdir_flag_spec_ld=
8000   hardcode_libdir_separator=
8001   hardcode_minus_L=no
8002   hardcode_shlibpath_var=unsupported
8003   inherit_rpath=no
8004   link_all_deplibs=unknown
8005   module_cmds=
8006   module_expsym_cmds=
8007   old_archive_from_new_cmds=
8008   old_archive_from_expsyms_cmds=
8009   thread_safe_flag_spec=
8010   whole_archive_flag_spec=
8011   # include_expsyms should be a list of space-separated symbols to be *always*
8012   # included in the symbol list
8013   include_expsyms=
8014   # exclude_expsyms can be an extended regexp of symbols to exclude
8015   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8016   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8017   # as well as any symbol that contains `d'.
8018   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8019   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8020   # platforms (ab)use it in PIC code, but their linkers get confused if
8021   # the symbol is explicitly referenced.  Since portable code cannot
8022   # rely on this symbol name, it's probably fine to never include it in
8023   # preloaded symbol tables.
8024   # Exclude shared library initialization/finalization symbols.
8025   extract_expsyms_cmds=
8026
8027   case $host_os in
8028   cygwin* | mingw* | pw32* | cegcc*)
8029     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8030     # When not using gcc, we currently assume that we are using
8031     # Microsoft Visual C++.
8032     if test "$GCC" != yes; then
8033       with_gnu_ld=no
8034     fi
8035     ;;
8036   interix*)
8037     # we just hope/assume this is gcc and not c89 (= MSVC++)
8038     with_gnu_ld=yes
8039     ;;
8040   openbsd*)
8041     with_gnu_ld=no
8042     ;;
8043   linux* | k*bsd*-gnu)
8044     link_all_deplibs=no
8045     ;;
8046   esac
8047
8048   ld_shlibs=yes
8049   if test "$with_gnu_ld" = yes; then
8050     # If archive_cmds runs LD, not CC, wlarc should be empty
8051     wlarc='${wl}'
8052
8053     # Set some defaults for GNU ld with shared library support. These
8054     # are reset later if shared libraries are not supported. Putting them
8055     # here allows them to be overridden if necessary.
8056     runpath_var=LD_RUN_PATH
8057     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8058     export_dynamic_flag_spec='${wl}--export-dynamic'
8059     # ancient GNU ld didn't support --whole-archive et. al.
8060     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8061       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8062     else
8063       whole_archive_flag_spec=
8064     fi
8065     supports_anon_versioning=no
8066     case `$LD -v 2>&1` in
8067       *GNU\ gold*) supports_anon_versioning=yes ;;
8068       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8069       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8070       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8071       *\ 2.11.*) ;; # other 2.11 versions
8072       *) supports_anon_versioning=yes ;;
8073     esac
8074
8075     # See if GNU ld supports shared libraries.
8076     case $host_os in
8077     aix[3-9]*)
8078       # On AIX/PPC, the GNU linker is very broken
8079       if test "$host_cpu" != ia64; then
8080         ld_shlibs=no
8081         cat <<_LT_EOF 1>&2
8082
8083 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8084 *** to be unable to reliably create shared libraries on AIX.
8085 *** Therefore, libtool is disabling shared libraries support.  If you
8086 *** really care for shared libraries, you may want to modify your PATH
8087 *** so that a non-GNU linker is found, and then restart.
8088
8089 _LT_EOF
8090       fi
8091       ;;
8092
8093     amigaos*)
8094       case $host_cpu in
8095       powerpc)
8096             # see comment about AmigaOS4 .so support
8097             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8098             archive_expsym_cmds=''
8099         ;;
8100       m68k)
8101             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)'
8102             hardcode_libdir_flag_spec='-L$libdir'
8103             hardcode_minus_L=yes
8104         ;;
8105       esac
8106       ;;
8107
8108     beos*)
8109       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8110         allow_undefined_flag=unsupported
8111         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8112         # support --undefined.  This deserves some investigation.  FIXME
8113         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8114       else
8115         ld_shlibs=no
8116       fi
8117       ;;
8118
8119     cygwin* | mingw* | pw32* | cegcc*)
8120       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8121       # as there is no search path for DLLs.
8122       hardcode_libdir_flag_spec='-L$libdir'
8123       allow_undefined_flag=unsupported
8124       always_export_symbols=no
8125       enable_shared_with_static_runtimes=yes
8126       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8127
8128       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8129         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8130         # If the export-symbols file already is a .def file (1st line
8131         # is EXPORTS), use it as is; otherwise, prepend...
8132         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8133           cp $export_symbols $output_objdir/$soname.def;
8134         else
8135           echo EXPORTS > $output_objdir/$soname.def;
8136           cat $export_symbols >> $output_objdir/$soname.def;
8137         fi~
8138         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8139       else
8140         ld_shlibs=no
8141       fi
8142       ;;
8143
8144     interix[3-9]*)
8145       hardcode_direct=no
8146       hardcode_shlibpath_var=no
8147       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8148       export_dynamic_flag_spec='${wl}-E'
8149       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8150       # Instead, shared libraries are loaded at an image base (0x10000000 by
8151       # default) and relocated if they conflict, which is a slow very memory
8152       # consuming and fragmenting process.  To avoid this, we pick a random,
8153       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8154       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8155       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8156       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'
8157       ;;
8158
8159     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8160       tmp_diet=no
8161       if test "$host_os" = linux-dietlibc; then
8162         case $cc_basename in
8163           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8164         esac
8165       fi
8166       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8167          && test "$tmp_diet" = no
8168       then
8169         tmp_addflag=
8170         tmp_sharedflag='-shared'
8171         case $cc_basename,$host_cpu in
8172         pgcc*)                          # Portland Group C compiler
8173           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8174           tmp_addflag=' $pic_flag'
8175           ;;
8176         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8177           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8178           tmp_addflag=' $pic_flag -Mnomain' ;;
8179         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8180           tmp_addflag=' -i_dynamic' ;;
8181         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8182           tmp_addflag=' -i_dynamic -nofor_main' ;;
8183         ifc* | ifort*)                  # Intel Fortran compiler
8184           tmp_addflag=' -nofor_main' ;;
8185         lf95*)                          # Lahey Fortran 8.1
8186           whole_archive_flag_spec=
8187           tmp_sharedflag='--shared' ;;
8188         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8189           tmp_sharedflag='-qmkshrobj'
8190           tmp_addflag= ;;
8191         esac
8192         case `$CC -V 2>&1 | sed 5q` in
8193         *Sun\ C*)                       # Sun C 5.9
8194           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8195           compiler_needs_object=yes
8196           tmp_sharedflag='-G' ;;
8197         *Sun\ F*)                       # Sun Fortran 8.3
8198           tmp_sharedflag='-G' ;;
8199         esac
8200         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8201
8202         if test "x$supports_anon_versioning" = xyes; then
8203           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8204             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8205             echo "local: *; };" >> $output_objdir/$libname.ver~
8206             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8207         fi
8208
8209         case $cc_basename in
8210         xlf*)
8211           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8212           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8213           hardcode_libdir_flag_spec=
8214           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8215           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8216           if test "x$supports_anon_versioning" = xyes; then
8217             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8218               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8219               echo "local: *; };" >> $output_objdir/$libname.ver~
8220               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8221           fi
8222           ;;
8223         esac
8224       else
8225         ld_shlibs=no
8226       fi
8227       ;;
8228
8229     netbsd* | netbsdelf*-gnu)
8230       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8231         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8232         wlarc=
8233       else
8234         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8235         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8236       fi
8237       ;;
8238
8239     solaris*)
8240       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8241         ld_shlibs=no
8242         cat <<_LT_EOF 1>&2
8243
8244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8245 *** create shared libraries on Solaris systems.  Therefore, libtool
8246 *** is disabling shared libraries support.  We urge you to upgrade GNU
8247 *** binutils to release 2.9.1 or newer.  Another option is to modify
8248 *** your PATH or compiler configuration so that the native linker is
8249 *** used, and then restart.
8250
8251 _LT_EOF
8252       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8253         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8254         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8255       else
8256         ld_shlibs=no
8257       fi
8258       ;;
8259
8260     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8261       case `$LD -v 2>&1` in
8262         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8263         ld_shlibs=no
8264         cat <<_LT_EOF 1>&2
8265
8266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8267 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8268 *** is disabling shared libraries support.  We urge you to upgrade GNU
8269 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8270 *** your PATH or compiler configuration so that the native linker is
8271 *** used, and then restart.
8272
8273 _LT_EOF
8274         ;;
8275         *)
8276           # For security reasons, it is highly recommended that you always
8277           # use absolute paths for naming shared libraries, and exclude the
8278           # DT_RUNPATH tag from executables and libraries.  But doing so
8279           # requires that you compile everything twice, which is a pain.
8280           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8281             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8282             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8283             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8284           else
8285             ld_shlibs=no
8286           fi
8287         ;;
8288       esac
8289       ;;
8290
8291     sunos4*)
8292       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8293       wlarc=
8294       hardcode_direct=yes
8295       hardcode_shlibpath_var=no
8296       ;;
8297
8298     *)
8299       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8300         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8301         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8302       else
8303         ld_shlibs=no
8304       fi
8305       ;;
8306     esac
8307
8308     if test "$ld_shlibs" = no; then
8309       runpath_var=
8310       hardcode_libdir_flag_spec=
8311       export_dynamic_flag_spec=
8312       whole_archive_flag_spec=
8313     fi
8314   else
8315     # PORTME fill in a description of your system's linker (not GNU ld)
8316     case $host_os in
8317     aix3*)
8318       allow_undefined_flag=unsupported
8319       always_export_symbols=yes
8320       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'
8321       # Note: this linker hardcodes the directories in LIBPATH if there
8322       # are no directories specified by -L.
8323       hardcode_minus_L=yes
8324       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8325         # Neither direct hardcoding nor static linking is supported with a
8326         # broken collect2.
8327         hardcode_direct=unsupported
8328       fi
8329       ;;
8330
8331     aix[4-9]*)
8332       if test "$host_cpu" = ia64; then
8333         # On IA64, the linker does run time linking by default, so we don't
8334         # have to do anything special.
8335         aix_use_runtimelinking=no
8336         exp_sym_flag='-Bexport'
8337         no_entry_flag=""
8338       else
8339         # If we're using GNU nm, then we don't want the "-C" option.
8340         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8341         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8342           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8343         else
8344           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'
8345         fi
8346         aix_use_runtimelinking=no
8347
8348         # Test if we are trying to use run time linking or normal
8349         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8350         # need to do runtime linking.
8351         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8352           for ld_flag in $LDFLAGS; do
8353           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8354             aix_use_runtimelinking=yes
8355             break
8356           fi
8357           done
8358           ;;
8359         esac
8360
8361         exp_sym_flag='-bexport'
8362         no_entry_flag='-bnoentry'
8363       fi
8364
8365       # When large executables or shared objects are built, AIX ld can
8366       # have problems creating the table of contents.  If linking a library
8367       # or program results in "error TOC overflow" add -mminimal-toc to
8368       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8369       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8370
8371       archive_cmds=''
8372       hardcode_direct=yes
8373       hardcode_direct_absolute=yes
8374       hardcode_libdir_separator=':'
8375       link_all_deplibs=yes
8376       file_list_spec='${wl}-f,'
8377
8378       if test "$GCC" = yes; then
8379         case $host_os in aix4.[012]|aix4.[012].*)
8380         # We only want to do this on AIX 4.2 and lower, the check
8381         # below for broken collect2 doesn't work under 4.3+
8382           collect2name=`${CC} -print-prog-name=collect2`
8383           if test -f "$collect2name" &&
8384            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8385           then
8386           # We have reworked collect2
8387           :
8388           else
8389           # We have old collect2
8390           hardcode_direct=unsupported
8391           # It fails to find uninstalled libraries when the uninstalled
8392           # path is not listed in the libpath.  Setting hardcode_minus_L
8393           # to unsupported forces relinking
8394           hardcode_minus_L=yes
8395           hardcode_libdir_flag_spec='-L$libdir'
8396           hardcode_libdir_separator=
8397           fi
8398           ;;
8399         esac
8400         shared_flag='-shared'
8401         if test "$aix_use_runtimelinking" = yes; then
8402           shared_flag="$shared_flag "'${wl}-G'
8403         fi
8404         link_all_deplibs=no
8405       else
8406         # not using gcc
8407         if test "$host_cpu" = ia64; then
8408         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8409         # chokes on -Wl,-G. The following line is correct:
8410           shared_flag='-G'
8411         else
8412           if test "$aix_use_runtimelinking" = yes; then
8413             shared_flag='${wl}-G'
8414           else
8415             shared_flag='${wl}-bM:SRE'
8416           fi
8417         fi
8418       fi
8419
8420       export_dynamic_flag_spec='${wl}-bexpall'
8421       # It seems that -bexpall does not export symbols beginning with
8422       # underscore (_), so it is better to generate a list of symbols to export.
8423       always_export_symbols=yes
8424       if test "$aix_use_runtimelinking" = yes; then
8425         # Warning - without using the other runtime loading flags (-brtl),
8426         # -berok will link without error, but may produce a broken library.
8427         allow_undefined_flag='-berok'
8428         # Determine the default libpath from the value encoded in an
8429         # empty executable.
8430         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h.  */
8432
8433 int
8434 main ()
8435 {
8436
8437   ;
8438   return 0;
8439 }
8440 _ACEOF
8441 if ac_fn_c_try_link "$LINENO"; then :
8442
8443 lt_aix_libpath_sed='
8444     /Import File Strings/,/^$/ {
8445         /^0/ {
8446             s/^0  *\(.*\)$/\1/
8447             p
8448         }
8449     }'
8450 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8451 # Check for a 64-bit object if we didn't find anything.
8452 if test -z "$aix_libpath"; then
8453   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8454 fi
8455 fi
8456 rm -f core conftest.err conftest.$ac_objext \
8457     conftest$ac_exeext conftest.$ac_ext
8458 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8459
8460         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8461         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8462       else
8463         if test "$host_cpu" = ia64; then
8464           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8465           allow_undefined_flag="-z nodefs"
8466           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"
8467         else
8468          # Determine the default libpath from the value encoded in an
8469          # empty executable.
8470          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h.  */
8472
8473 int
8474 main ()
8475 {
8476
8477   ;
8478   return 0;
8479 }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482
8483 lt_aix_libpath_sed='
8484     /Import File Strings/,/^$/ {
8485         /^0/ {
8486             s/^0  *\(.*\)$/\1/
8487             p
8488         }
8489     }'
8490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8491 # Check for a 64-bit object if we didn't find anything.
8492 if test -z "$aix_libpath"; then
8493   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8494 fi
8495 fi
8496 rm -f core conftest.err conftest.$ac_objext \
8497     conftest$ac_exeext conftest.$ac_ext
8498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8499
8500          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8501           # Warning - without using the other run time loading flags,
8502           # -berok will link without error, but may produce a broken library.
8503           no_undefined_flag=' ${wl}-bernotok'
8504           allow_undefined_flag=' ${wl}-berok'
8505           # Exported symbols can be pulled into shared objects from archives
8506           whole_archive_flag_spec='$convenience'
8507           archive_cmds_need_lc=yes
8508           # This is similar to how AIX traditionally builds its shared libraries.
8509           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'
8510         fi
8511       fi
8512       ;;
8513
8514     amigaos*)
8515       case $host_cpu in
8516       powerpc)
8517             # see comment about AmigaOS4 .so support
8518             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8519             archive_expsym_cmds=''
8520         ;;
8521       m68k)
8522             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)'
8523             hardcode_libdir_flag_spec='-L$libdir'
8524             hardcode_minus_L=yes
8525         ;;
8526       esac
8527       ;;
8528
8529     bsdi[45]*)
8530       export_dynamic_flag_spec=-rdynamic
8531       ;;
8532
8533     cygwin* | mingw* | pw32* | cegcc*)
8534       # When not using gcc, we currently assume that we are using
8535       # Microsoft Visual C++.
8536       # hardcode_libdir_flag_spec is actually meaningless, as there is
8537       # no search path for DLLs.
8538       hardcode_libdir_flag_spec=' '
8539       allow_undefined_flag=unsupported
8540       # Tell ltmain to make .lib files, not .a files.
8541       libext=lib
8542       # Tell ltmain to make .dll files, not .so files.
8543       shrext_cmds=".dll"
8544       # FIXME: Setting linknames here is a bad hack.
8545       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8546       # The linker will automatically build a .lib file if we build a DLL.
8547       old_archive_from_new_cmds='true'
8548       # FIXME: Should let the user specify the lib program.
8549       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8550       fix_srcfile_path='`cygpath -w "$srcfile"`'
8551       enable_shared_with_static_runtimes=yes
8552       ;;
8553
8554     darwin* | rhapsody*)
8555
8556
8557   archive_cmds_need_lc=no
8558   hardcode_direct=no
8559   hardcode_automatic=yes
8560   hardcode_shlibpath_var=unsupported
8561   whole_archive_flag_spec=''
8562   link_all_deplibs=yes
8563   allow_undefined_flag="$_lt_dar_allow_undefined"
8564   case $cc_basename in
8565      ifort*) _lt_dar_can_shared=yes ;;
8566      *) _lt_dar_can_shared=$GCC ;;
8567   esac
8568   if test "$_lt_dar_can_shared" = "yes"; then
8569     output_verbose_link_cmd=echo
8570     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8571     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8572     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}"
8573     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}"
8574
8575   else
8576   ld_shlibs=no
8577   fi
8578
8579       ;;
8580
8581     dgux*)
8582       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8583       hardcode_libdir_flag_spec='-L$libdir'
8584       hardcode_shlibpath_var=no
8585       ;;
8586
8587     freebsd1*)
8588       ld_shlibs=no
8589       ;;
8590
8591     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8592     # support.  Future versions do this automatically, but an explicit c++rt0.o
8593     # does not break anything, and helps significantly (at the cost of a little
8594     # extra space).
8595     freebsd2.2*)
8596       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8597       hardcode_libdir_flag_spec='-R$libdir'
8598       hardcode_direct=yes
8599       hardcode_shlibpath_var=no
8600       ;;
8601
8602     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8603     freebsd2*)
8604       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8605       hardcode_direct=yes
8606       hardcode_minus_L=yes
8607       hardcode_shlibpath_var=no
8608       ;;
8609
8610     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8611     freebsd* | dragonfly*)
8612       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8613       hardcode_libdir_flag_spec='-R$libdir'
8614       hardcode_direct=yes
8615       hardcode_shlibpath_var=no
8616       ;;
8617
8618     hpux9*)
8619       if test "$GCC" = yes; then
8620         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8621       else
8622         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'
8623       fi
8624       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8625       hardcode_libdir_separator=:
8626       hardcode_direct=yes
8627
8628       # hardcode_minus_L: Not really in the search PATH,
8629       # but as the default location of the library.
8630       hardcode_minus_L=yes
8631       export_dynamic_flag_spec='${wl}-E'
8632       ;;
8633
8634     hpux10*)
8635       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8636         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8637       else
8638         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8639       fi
8640       if test "$with_gnu_ld" = no; then
8641         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8642         hardcode_libdir_flag_spec_ld='+b $libdir'
8643         hardcode_libdir_separator=:
8644         hardcode_direct=yes
8645         hardcode_direct_absolute=yes
8646         export_dynamic_flag_spec='${wl}-E'
8647         # hardcode_minus_L: Not really in the search PATH,
8648         # but as the default location of the library.
8649         hardcode_minus_L=yes
8650       fi
8651       ;;
8652
8653     hpux11*)
8654       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8655         case $host_cpu in
8656         hppa*64*)
8657           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658           ;;
8659         ia64*)
8660           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8661           ;;
8662         *)
8663           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8664           ;;
8665         esac
8666       else
8667         case $host_cpu in
8668         hppa*64*)
8669           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8670           ;;
8671         ia64*)
8672           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8673           ;;
8674         *)
8675           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8676           ;;
8677         esac
8678       fi
8679       if test "$with_gnu_ld" = no; then
8680         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8681         hardcode_libdir_separator=:
8682
8683         case $host_cpu in
8684         hppa*64*|ia64*)
8685           hardcode_direct=no
8686           hardcode_shlibpath_var=no
8687           ;;
8688         *)
8689           hardcode_direct=yes
8690           hardcode_direct_absolute=yes
8691           export_dynamic_flag_spec='${wl}-E'
8692
8693           # hardcode_minus_L: Not really in the search PATH,
8694           # but as the default location of the library.
8695           hardcode_minus_L=yes
8696           ;;
8697         esac
8698       fi
8699       ;;
8700
8701     irix5* | irix6* | nonstopux*)
8702       if test "$GCC" = yes; then
8703         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8704         # Try to use the -exported_symbol ld option, if it does not
8705         # work, assume that -exports_file does not work either and
8706         # implicitly export all symbols.
8707         save_LDFLAGS="$LDFLAGS"
8708         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8709         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h.  */
8711 int foo(void) {}
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8715
8716 fi
8717 rm -f core conftest.err conftest.$ac_objext \
8718     conftest$ac_exeext conftest.$ac_ext
8719         LDFLAGS="$save_LDFLAGS"
8720       else
8721         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8722         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8723       fi
8724       archive_cmds_need_lc='no'
8725       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8726       hardcode_libdir_separator=:
8727       inherit_rpath=yes
8728       link_all_deplibs=yes
8729       ;;
8730
8731     netbsd* | netbsdelf*-gnu)
8732       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8733         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8734       else
8735         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8736       fi
8737       hardcode_libdir_flag_spec='-R$libdir'
8738       hardcode_direct=yes
8739       hardcode_shlibpath_var=no
8740       ;;
8741
8742     newsos6)
8743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744       hardcode_direct=yes
8745       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8746       hardcode_libdir_separator=:
8747       hardcode_shlibpath_var=no
8748       ;;
8749
8750     *nto* | *qnx*)
8751       ;;
8752
8753     openbsd*)
8754       if test -f /usr/libexec/ld.so; then
8755         hardcode_direct=yes
8756         hardcode_shlibpath_var=no
8757         hardcode_direct_absolute=yes
8758         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8759           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8760           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8761           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8762           export_dynamic_flag_spec='${wl}-E'
8763         else
8764           case $host_os in
8765            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8766              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8767              hardcode_libdir_flag_spec='-R$libdir'
8768              ;;
8769            *)
8770              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8771              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8772              ;;
8773           esac
8774         fi
8775       else
8776         ld_shlibs=no
8777       fi
8778       ;;
8779
8780     os2*)
8781       hardcode_libdir_flag_spec='-L$libdir'
8782       hardcode_minus_L=yes
8783       allow_undefined_flag=unsupported
8784       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'
8785       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8786       ;;
8787
8788     osf3*)
8789       if test "$GCC" = yes; then
8790         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8791         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8792       else
8793         allow_undefined_flag=' -expect_unresolved \*'
8794         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8795       fi
8796       archive_cmds_need_lc='no'
8797       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8798       hardcode_libdir_separator=:
8799       ;;
8800
8801     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8802       if test "$GCC" = yes; then
8803         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8804         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8805         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8806       else
8807         allow_undefined_flag=' -expect_unresolved \*'
8808         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8809         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~
8810         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8811
8812         # Both c and cxx compiler support -rpath directly
8813         hardcode_libdir_flag_spec='-rpath $libdir'
8814       fi
8815       archive_cmds_need_lc='no'
8816       hardcode_libdir_separator=:
8817       ;;
8818
8819     solaris*)
8820       no_undefined_flag=' -z defs'
8821       if test "$GCC" = yes; then
8822         wlarc='${wl}'
8823         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8824         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8825           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8826       else
8827         case `$CC -V 2>&1` in
8828         *"Compilers 5.0"*)
8829           wlarc=''
8830           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8831           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8832           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8833           ;;
8834         *)
8835           wlarc='${wl}'
8836           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8837           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8838           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8839           ;;
8840         esac
8841       fi
8842       hardcode_libdir_flag_spec='-R$libdir'
8843       hardcode_shlibpath_var=no
8844       case $host_os in
8845       solaris2.[0-5] | solaris2.[0-5].*) ;;
8846       *)
8847         # The compiler driver will combine and reorder linker options,
8848         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8849         # but is careful enough not to reorder.
8850         # Supported since Solaris 2.6 (maybe 2.5.1?)
8851         if test "$GCC" = yes; then
8852           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8853         else
8854           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8855         fi
8856         ;;
8857       esac
8858       link_all_deplibs=yes
8859       ;;
8860
8861     sunos4*)
8862       if test "x$host_vendor" = xsequent; then
8863         # Use $CC to link under sequent, because it throws in some extra .o
8864         # files that make .init and .fini sections work.
8865         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8866       else
8867         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8868       fi
8869       hardcode_libdir_flag_spec='-L$libdir'
8870       hardcode_direct=yes
8871       hardcode_minus_L=yes
8872       hardcode_shlibpath_var=no
8873       ;;
8874
8875     sysv4)
8876       case $host_vendor in
8877         sni)
8878           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8879           hardcode_direct=yes # is this really true???
8880         ;;
8881         siemens)
8882           ## LD is ld it makes a PLAMLIB
8883           ## CC just makes a GrossModule.
8884           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8885           reload_cmds='$CC -r -o $output$reload_objs'
8886           hardcode_direct=no
8887         ;;
8888         motorola)
8889           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8890           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8891         ;;
8892       esac
8893       runpath_var='LD_RUN_PATH'
8894       hardcode_shlibpath_var=no
8895       ;;
8896
8897     sysv4.3*)
8898       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8899       hardcode_shlibpath_var=no
8900       export_dynamic_flag_spec='-Bexport'
8901       ;;
8902
8903     sysv4*MP*)
8904       if test -d /usr/nec; then
8905         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906         hardcode_shlibpath_var=no
8907         runpath_var=LD_RUN_PATH
8908         hardcode_runpath_var=yes
8909         ld_shlibs=yes
8910       fi
8911       ;;
8912
8913     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8914       no_undefined_flag='${wl}-z,text'
8915       archive_cmds_need_lc=no
8916       hardcode_shlibpath_var=no
8917       runpath_var='LD_RUN_PATH'
8918
8919       if test "$GCC" = yes; then
8920         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8921         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8922       else
8923         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8924         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8925       fi
8926       ;;
8927
8928     sysv5* | sco3.2v5* | sco5v6*)
8929       # Note: We can NOT use -z defs as we might desire, because we do not
8930       # link with -lc, and that would cause any symbols used from libc to
8931       # always be unresolved, which means just about no library would
8932       # ever link correctly.  If we're not using GNU ld we use -z text
8933       # though, which does catch some bad symbols but isn't as heavy-handed
8934       # as -z defs.
8935       no_undefined_flag='${wl}-z,text'
8936       allow_undefined_flag='${wl}-z,nodefs'
8937       archive_cmds_need_lc=no
8938       hardcode_shlibpath_var=no
8939       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8940       hardcode_libdir_separator=':'
8941       link_all_deplibs=yes
8942       export_dynamic_flag_spec='${wl}-Bexport'
8943       runpath_var='LD_RUN_PATH'
8944
8945       if test "$GCC" = yes; then
8946         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8947         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948       else
8949         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8950         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8951       fi
8952       ;;
8953
8954     uts4*)
8955       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8956       hardcode_libdir_flag_spec='-L$libdir'
8957       hardcode_shlibpath_var=no
8958       ;;
8959
8960     *)
8961       ld_shlibs=no
8962       ;;
8963     esac
8964
8965     if test x$host_vendor = xsni; then
8966       case $host in
8967       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8968         export_dynamic_flag_spec='${wl}-Blargedynsym'
8969         ;;
8970       esac
8971     fi
8972   fi
8973
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8975 $as_echo "$ld_shlibs" >&6; }
8976 test "$ld_shlibs" = no && can_build_shared=no
8977
8978 with_gnu_ld=$with_gnu_ld
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994 #
8995 # Do we need to explicitly link libc?
8996 #
8997 case "x$archive_cmds_need_lc" in
8998 x|xyes)
8999   # Assume -lc should be added
9000   archive_cmds_need_lc=yes
9001
9002   if test "$enable_shared" = yes && test "$GCC" = yes; then
9003     case $archive_cmds in
9004     *'~'*)
9005       # FIXME: we may have to deal with multi-command sequences.
9006       ;;
9007     '$CC '*)
9008       # Test whether the compiler implicitly links with -lc since on some
9009       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9010       # to ld, don't add -lc before -lgcc.
9011       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9013       $RM conftest*
9014       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9015
9016       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9017   (eval $ac_compile) 2>&5
9018   ac_status=$?
9019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9020   test $ac_status = 0; } 2>conftest.err; then
9021         soname=conftest
9022         lib=conftest
9023         libobjs=conftest.$ac_objext
9024         deplibs=
9025         wl=$lt_prog_compiler_wl
9026         pic_flag=$lt_prog_compiler_pic
9027         compiler_flags=-v
9028         linker_flags=-v
9029         verstring=
9030         output_objdir=.
9031         libname=conftest
9032         lt_save_allow_undefined_flag=$allow_undefined_flag
9033         allow_undefined_flag=
9034         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9035   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9036   ac_status=$?
9037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9038   test $ac_status = 0; }
9039         then
9040           archive_cmds_need_lc=no
9041         else
9042           archive_cmds_need_lc=yes
9043         fi
9044         allow_undefined_flag=$lt_save_allow_undefined_flag
9045       else
9046         cat conftest.err 1>&5
9047       fi
9048       $RM conftest*
9049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9050 $as_echo "$archive_cmds_need_lc" >&6; }
9051       ;;
9052     esac
9053   fi
9054   ;;
9055 esac
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9214 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9215
9216 if test "$GCC" = yes; then
9217   case $host_os in
9218     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9219     *) lt_awk_arg="/^libraries:/" ;;
9220   esac
9221   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9222   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9223     # if the path contains ";" then we assume it to be the separator
9224     # otherwise default to the standard path separator (i.e. ":") - it is
9225     # assumed that no part of a normal pathname contains ";" but that should
9226     # okay in the real world where ";" in dirpaths is itself problematic.
9227     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9228   else
9229     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9230   fi
9231   # Ok, now we have the path, separated by spaces, we can step through it
9232   # and add multilib dir if necessary.
9233   lt_tmp_lt_search_path_spec=
9234   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9235   for lt_sys_path in $lt_search_path_spec; do
9236     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9237       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9238     else
9239       test -d "$lt_sys_path" && \
9240         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9241     fi
9242   done
9243   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9244 BEGIN {RS=" "; FS="/|\n";} {
9245   lt_foo="";
9246   lt_count=0;
9247   for (lt_i = NF; lt_i > 0; lt_i--) {
9248     if ($lt_i != "" && $lt_i != ".") {
9249       if ($lt_i == "..") {
9250         lt_count++;
9251       } else {
9252         if (lt_count == 0) {
9253           lt_foo="/" $lt_i lt_foo;
9254         } else {
9255           lt_count--;
9256         }
9257       }
9258     }
9259   }
9260   if (lt_foo != "") { lt_freq[lt_foo]++; }
9261   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9262 }'`
9263   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9264 else
9265   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9266 fi
9267 library_names_spec=
9268 libname_spec='lib$name'
9269 soname_spec=
9270 shrext_cmds=".so"
9271 postinstall_cmds=
9272 postuninstall_cmds=
9273 finish_cmds=
9274 finish_eval=
9275 shlibpath_var=
9276 shlibpath_overrides_runpath=unknown
9277 version_type=none
9278 dynamic_linker="$host_os ld.so"
9279 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9280 need_lib_prefix=unknown
9281 hardcode_into_libs=no
9282
9283 # when you set need_version to no, make sure it does not cause -set_version
9284 # flags to be left without arguments
9285 need_version=unknown
9286
9287 case $host_os in
9288 aix3*)
9289   version_type=linux
9290   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9291   shlibpath_var=LIBPATH
9292
9293   # AIX 3 has no versioning support, so we append a major version to the name.
9294   soname_spec='${libname}${release}${shared_ext}$major'
9295   ;;
9296
9297 aix[4-9]*)
9298   version_type=linux
9299   need_lib_prefix=no
9300   need_version=no
9301   hardcode_into_libs=yes
9302   if test "$host_cpu" = ia64; then
9303     # AIX 5 supports IA64
9304     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9305     shlibpath_var=LD_LIBRARY_PATH
9306   else
9307     # With GCC up to 2.95.x, collect2 would create an import file
9308     # for dependence libraries.  The import file would start with
9309     # the line `#! .'.  This would cause the generated library to
9310     # depend on `.', always an invalid library.  This was fixed in
9311     # development snapshots of GCC prior to 3.0.
9312     case $host_os in
9313       aix4 | aix4.[01] | aix4.[01].*)
9314       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9315            echo ' yes '
9316            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9317         :
9318       else
9319         can_build_shared=no
9320       fi
9321       ;;
9322     esac
9323     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9324     # soname into executable. Probably we can add versioning support to
9325     # collect2, so additional links can be useful in future.
9326     if test "$aix_use_runtimelinking" = yes; then
9327       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9328       # instead of lib<name>.a to let people know that these are not
9329       # typical AIX shared libraries.
9330       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9331     else
9332       # We preserve .a as extension for shared libraries through AIX4.2
9333       # and later when we are not doing run time linking.
9334       library_names_spec='${libname}${release}.a $libname.a'
9335       soname_spec='${libname}${release}${shared_ext}$major'
9336     fi
9337     shlibpath_var=LIBPATH
9338   fi
9339   ;;
9340
9341 amigaos*)
9342   case $host_cpu in
9343   powerpc)
9344     # Since July 2007 AmigaOS4 officially supports .so libraries.
9345     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9346     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9347     ;;
9348   m68k)
9349     library_names_spec='$libname.ixlibrary $libname.a'
9350     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9351     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9352     ;;
9353   esac
9354   ;;
9355
9356 beos*)
9357   library_names_spec='${libname}${shared_ext}'
9358   dynamic_linker="$host_os ld.so"
9359   shlibpath_var=LIBRARY_PATH
9360   ;;
9361
9362 bsdi[45]*)
9363   version_type=linux
9364   need_version=no
9365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9366   soname_spec='${libname}${release}${shared_ext}$major'
9367   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9368   shlibpath_var=LD_LIBRARY_PATH
9369   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9370   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9371   # the default ld.so.conf also contains /usr/contrib/lib and
9372   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9373   # libtool to hard-code these into programs
9374   ;;
9375
9376 cygwin* | mingw* | pw32* | cegcc*)
9377   version_type=windows
9378   shrext_cmds=".dll"
9379   need_version=no
9380   need_lib_prefix=no
9381
9382   case $GCC,$host_os in
9383   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9384     library_names_spec='$libname.dll.a'
9385     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9386     postinstall_cmds='base_file=`basename \${file}`~
9387       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9388       dldir=$destdir/`dirname \$dlpath`~
9389       test -d \$dldir || mkdir -p \$dldir~
9390       $install_prog $dir/$dlname \$dldir/$dlname~
9391       chmod a+x \$dldir/$dlname~
9392       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9393         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9394       fi'
9395     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9396       dlpath=$dir/\$dldll~
9397        $RM \$dlpath'
9398     shlibpath_overrides_runpath=yes
9399
9400     case $host_os in
9401     cygwin*)
9402       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9403       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9404       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9405       ;;
9406     mingw* | cegcc*)
9407       # MinGW DLLs use traditional 'lib' prefix
9408       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9409       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9410       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9411         # It is most probably a Windows format PATH printed by
9412         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9413         # path with ; separators, and with drive letters. We can handle the
9414         # drive letters (cygwin fileutils understands them), so leave them,
9415         # especially as we might pass files found there to a mingw objdump,
9416         # which wouldn't understand a cygwinified path. Ahh.
9417         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9418       else
9419         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9420       fi
9421       ;;
9422     pw32*)
9423       # pw32 DLLs use 'pw' prefix rather than 'lib'
9424       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9425       ;;
9426     esac
9427     ;;
9428
9429   *)
9430     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9431     ;;
9432   esac
9433   dynamic_linker='Win32 ld.exe'
9434   # FIXME: first we should search . and the directory the executable is in
9435   shlibpath_var=PATH
9436   ;;
9437
9438 darwin* | rhapsody*)
9439   dynamic_linker="$host_os dyld"
9440   version_type=darwin
9441   need_lib_prefix=no
9442   need_version=no
9443   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9444   soname_spec='${libname}${release}${major}$shared_ext'
9445   shlibpath_overrides_runpath=yes
9446   shlibpath_var=DYLD_LIBRARY_PATH
9447   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9448
9449   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9450   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9451   ;;
9452
9453 dgux*)
9454   version_type=linux
9455   need_lib_prefix=no
9456   need_version=no
9457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9458   soname_spec='${libname}${release}${shared_ext}$major'
9459   shlibpath_var=LD_LIBRARY_PATH
9460   ;;
9461
9462 freebsd1*)
9463   dynamic_linker=no
9464   ;;
9465
9466 freebsd* | dragonfly*)
9467   # DragonFly does not have aout.  When/if they implement a new
9468   # versioning mechanism, adjust this.
9469   if test -x /usr/bin/objformat; then
9470     objformat=`/usr/bin/objformat`
9471   else
9472     case $host_os in
9473     freebsd[123]*) objformat=aout ;;
9474     *) objformat=elf ;;
9475     esac
9476   fi
9477   version_type=freebsd-$objformat
9478   case $version_type in
9479     freebsd-elf*)
9480       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9481       need_version=no
9482       need_lib_prefix=no
9483       ;;
9484     freebsd-*)
9485       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9486       need_version=yes
9487       ;;
9488   esac
9489   shlibpath_var=LD_LIBRARY_PATH
9490   case $host_os in
9491   freebsd2*)
9492     shlibpath_overrides_runpath=yes
9493     ;;
9494   freebsd3.[01]* | freebsdelf3.[01]*)
9495     shlibpath_overrides_runpath=yes
9496     hardcode_into_libs=yes
9497     ;;
9498   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9499   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9500     shlibpath_overrides_runpath=no
9501     hardcode_into_libs=yes
9502     ;;
9503   *) # from 4.6 on, and DragonFly
9504     shlibpath_overrides_runpath=yes
9505     hardcode_into_libs=yes
9506     ;;
9507   esac
9508   ;;
9509
9510 gnu*)
9511   version_type=linux
9512   need_lib_prefix=no
9513   need_version=no
9514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9515   soname_spec='${libname}${release}${shared_ext}$major'
9516   shlibpath_var=LD_LIBRARY_PATH
9517   hardcode_into_libs=yes
9518   ;;
9519
9520 hpux9* | hpux10* | hpux11*)
9521   # Give a soname corresponding to the major version so that dld.sl refuses to
9522   # link against other versions.
9523   version_type=sunos
9524   need_lib_prefix=no
9525   need_version=no
9526   case $host_cpu in
9527   ia64*)
9528     shrext_cmds='.so'
9529     hardcode_into_libs=yes
9530     dynamic_linker="$host_os dld.so"
9531     shlibpath_var=LD_LIBRARY_PATH
9532     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9533     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534     soname_spec='${libname}${release}${shared_ext}$major'
9535     if test "X$HPUX_IA64_MODE" = X32; then
9536       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9537     else
9538       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9539     fi
9540     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9541     ;;
9542   hppa*64*)
9543     shrext_cmds='.sl'
9544     hardcode_into_libs=yes
9545     dynamic_linker="$host_os dld.sl"
9546     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9547     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549     soname_spec='${libname}${release}${shared_ext}$major'
9550     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9551     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9552     ;;
9553   *)
9554     shrext_cmds='.sl'
9555     dynamic_linker="$host_os dld.sl"
9556     shlibpath_var=SHLIB_PATH
9557     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9558     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9559     soname_spec='${libname}${release}${shared_ext}$major'
9560     ;;
9561   esac
9562   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9563   postinstall_cmds='chmod 555 $lib'
9564   ;;
9565
9566 interix[3-9]*)
9567   version_type=linux
9568   need_lib_prefix=no
9569   need_version=no
9570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9571   soname_spec='${libname}${release}${shared_ext}$major'
9572   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9573   shlibpath_var=LD_LIBRARY_PATH
9574   shlibpath_overrides_runpath=no
9575   hardcode_into_libs=yes
9576   ;;
9577
9578 irix5* | irix6* | nonstopux*)
9579   case $host_os in
9580     nonstopux*) version_type=nonstopux ;;
9581     *)
9582         if test "$lt_cv_prog_gnu_ld" = yes; then
9583                 version_type=linux
9584         else
9585                 version_type=irix
9586         fi ;;
9587   esac
9588   need_lib_prefix=no
9589   need_version=no
9590   soname_spec='${libname}${release}${shared_ext}$major'
9591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9592   case $host_os in
9593   irix5* | nonstopux*)
9594     libsuff= shlibsuff=
9595     ;;
9596   *)
9597     case $LD in # libtool.m4 will add one of these switches to LD
9598     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9599       libsuff= shlibsuff= libmagic=32-bit;;
9600     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9601       libsuff=32 shlibsuff=N32 libmagic=N32;;
9602     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9603       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9604     *) libsuff= shlibsuff= libmagic=never-match;;
9605     esac
9606     ;;
9607   esac
9608   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9609   shlibpath_overrides_runpath=no
9610   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9611   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9612   hardcode_into_libs=yes
9613   ;;
9614
9615 # No shared lib support for Linux oldld, aout, or coff.
9616 linux*oldld* | linux*aout* | linux*coff*)
9617   dynamic_linker=no
9618   ;;
9619
9620 # This must be Linux ELF.
9621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9622   version_type=linux
9623   need_lib_prefix=no
9624   need_version=no
9625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9626   soname_spec='${libname}${release}${shared_ext}$major'
9627   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9628   shlibpath_var=LD_LIBRARY_PATH
9629   shlibpath_overrides_runpath=no
9630   # Some binutils ld are patched to set DT_RUNPATH
9631   save_LDFLAGS=$LDFLAGS
9632   save_libdir=$libdir
9633   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9634        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h.  */
9637
9638 int
9639 main ()
9640 {
9641
9642   ;
9643   return 0;
9644 }
9645 _ACEOF
9646 if ac_fn_c_try_link "$LINENO"; then :
9647   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9648   shlibpath_overrides_runpath=yes
9649 fi
9650 fi
9651 rm -f core conftest.err conftest.$ac_objext \
9652     conftest$ac_exeext conftest.$ac_ext
9653   LDFLAGS=$save_LDFLAGS
9654   libdir=$save_libdir
9655
9656   # This implies no fast_install, which is unacceptable.
9657   # Some rework will be needed to allow for fast_install
9658   # before this can be enabled.
9659   hardcode_into_libs=yes
9660
9661   # Append ld.so.conf contents to the search path
9662   if test -f /etc/ld.so.conf; then
9663     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;/^$/d' | tr '\n' ' '`
9664     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9665   fi
9666
9667   # We used to test for /lib/ld.so.1 and disable shared libraries on
9668   # powerpc, because MkLinux only supported shared libraries with the
9669   # GNU dynamic linker.  Since this was broken with cross compilers,
9670   # most powerpc-linux boxes support dynamic linking these days and
9671   # people can always --disable-shared, the test was removed, and we
9672   # assume the GNU/Linux dynamic linker is in use.
9673   dynamic_linker='GNU/Linux ld.so'
9674   ;;
9675
9676 netbsdelf*-gnu)
9677   version_type=linux
9678   need_lib_prefix=no
9679   need_version=no
9680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9681   soname_spec='${libname}${release}${shared_ext}$major'
9682   shlibpath_var=LD_LIBRARY_PATH
9683   shlibpath_overrides_runpath=no
9684   hardcode_into_libs=yes
9685   dynamic_linker='NetBSD ld.elf_so'
9686   ;;
9687
9688 netbsd*)
9689   version_type=sunos
9690   need_lib_prefix=no
9691   need_version=no
9692   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9693     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9694     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9695     dynamic_linker='NetBSD (a.out) ld.so'
9696   else
9697     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9698     soname_spec='${libname}${release}${shared_ext}$major'
9699     dynamic_linker='NetBSD ld.elf_so'
9700   fi
9701   shlibpath_var=LD_LIBRARY_PATH
9702   shlibpath_overrides_runpath=yes
9703   hardcode_into_libs=yes
9704   ;;
9705
9706 newsos6)
9707   version_type=linux
9708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9709   shlibpath_var=LD_LIBRARY_PATH
9710   shlibpath_overrides_runpath=yes
9711   ;;
9712
9713 *nto* | *qnx*)
9714   version_type=qnx
9715   need_lib_prefix=no
9716   need_version=no
9717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9718   soname_spec='${libname}${release}${shared_ext}$major'
9719   shlibpath_var=LD_LIBRARY_PATH
9720   shlibpath_overrides_runpath=no
9721   hardcode_into_libs=yes
9722   dynamic_linker='ldqnx.so'
9723   ;;
9724
9725 openbsd*)
9726   version_type=sunos
9727   sys_lib_dlsearch_path_spec="/usr/lib"
9728   need_lib_prefix=no
9729   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9730   case $host_os in
9731     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9732     *)                          need_version=no  ;;
9733   esac
9734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9735   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9736   shlibpath_var=LD_LIBRARY_PATH
9737   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9738     case $host_os in
9739       openbsd2.[89] | openbsd2.[89].*)
9740         shlibpath_overrides_runpath=no
9741         ;;
9742       *)
9743         shlibpath_overrides_runpath=yes
9744         ;;
9745       esac
9746   else
9747     shlibpath_overrides_runpath=yes
9748   fi
9749   ;;
9750
9751 os2*)
9752   libname_spec='$name'
9753   shrext_cmds=".dll"
9754   need_lib_prefix=no
9755   library_names_spec='$libname${shared_ext} $libname.a'
9756   dynamic_linker='OS/2 ld.exe'
9757   shlibpath_var=LIBPATH
9758   ;;
9759
9760 osf3* | osf4* | osf5*)
9761   version_type=osf
9762   need_lib_prefix=no
9763   need_version=no
9764   soname_spec='${libname}${release}${shared_ext}$major'
9765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9766   shlibpath_var=LD_LIBRARY_PATH
9767   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9768   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9769   ;;
9770
9771 rdos*)
9772   dynamic_linker=no
9773   ;;
9774
9775 solaris*)
9776   version_type=linux
9777   need_lib_prefix=no
9778   need_version=no
9779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780   soname_spec='${libname}${release}${shared_ext}$major'
9781   shlibpath_var=LD_LIBRARY_PATH
9782   shlibpath_overrides_runpath=yes
9783   hardcode_into_libs=yes
9784   # ldd complains unless libraries are executable
9785   postinstall_cmds='chmod +x $lib'
9786   ;;
9787
9788 sunos4*)
9789   version_type=sunos
9790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9791   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9792   shlibpath_var=LD_LIBRARY_PATH
9793   shlibpath_overrides_runpath=yes
9794   if test "$with_gnu_ld" = yes; then
9795     need_lib_prefix=no
9796   fi
9797   need_version=yes
9798   ;;
9799
9800 sysv4 | sysv4.3*)
9801   version_type=linux
9802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9803   soname_spec='${libname}${release}${shared_ext}$major'
9804   shlibpath_var=LD_LIBRARY_PATH
9805   case $host_vendor in
9806     sni)
9807       shlibpath_overrides_runpath=no
9808       need_lib_prefix=no
9809       runpath_var=LD_RUN_PATH
9810       ;;
9811     siemens)
9812       need_lib_prefix=no
9813       ;;
9814     motorola)
9815       need_lib_prefix=no
9816       need_version=no
9817       shlibpath_overrides_runpath=no
9818       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9819       ;;
9820   esac
9821   ;;
9822
9823 sysv4*MP*)
9824   if test -d /usr/nec ;then
9825     version_type=linux
9826     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9827     soname_spec='$libname${shared_ext}.$major'
9828     shlibpath_var=LD_LIBRARY_PATH
9829   fi
9830   ;;
9831
9832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9833   version_type=freebsd-elf
9834   need_lib_prefix=no
9835   need_version=no
9836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9837   soname_spec='${libname}${release}${shared_ext}$major'
9838   shlibpath_var=LD_LIBRARY_PATH
9839   shlibpath_overrides_runpath=yes
9840   hardcode_into_libs=yes
9841   if test "$with_gnu_ld" = yes; then
9842     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9843   else
9844     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9845     case $host_os in
9846       sco3.2v5*)
9847         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9848         ;;
9849     esac
9850   fi
9851   sys_lib_dlsearch_path_spec='/usr/lib'
9852   ;;
9853
9854 tpf*)
9855   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9856   version_type=linux
9857   need_lib_prefix=no
9858   need_version=no
9859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9860   shlibpath_var=LD_LIBRARY_PATH
9861   shlibpath_overrides_runpath=no
9862   hardcode_into_libs=yes
9863   ;;
9864
9865 uts4*)
9866   version_type=linux
9867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9868   soname_spec='${libname}${release}${shared_ext}$major'
9869   shlibpath_var=LD_LIBRARY_PATH
9870   ;;
9871
9872 *)
9873   dynamic_linker=no
9874   ;;
9875 esac
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9877 $as_echo "$dynamic_linker" >&6; }
9878 test "$dynamic_linker" = no && can_build_shared=no
9879
9880 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9881 if test "$GCC" = yes; then
9882   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9883 fi
9884
9885 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9886   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9887 fi
9888 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9889   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9890 fi
9891
9892
9893
9894
9895
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9979 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9980 hardcode_action=
9981 if test -n "$hardcode_libdir_flag_spec" ||
9982    test -n "$runpath_var" ||
9983    test "X$hardcode_automatic" = "Xyes" ; then
9984
9985   # We can hardcode non-existent directories.
9986   if test "$hardcode_direct" != no &&
9987      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9988      # have to relink, otherwise we might link with an installed library
9989      # when we should be linking with a yet-to-be-installed one
9990      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9991      test "$hardcode_minus_L" != no; then
9992     # Linking always hardcodes the temporary library directory.
9993     hardcode_action=relink
9994   else
9995     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9996     hardcode_action=immediate
9997   fi
9998 else
9999   # We cannot hardcode anything, or else we can only hardcode existing
10000   # directories.
10001   hardcode_action=unsupported
10002 fi
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10004 $as_echo "$hardcode_action" >&6; }
10005
10006 if test "$hardcode_action" = relink ||
10007    test "$inherit_rpath" = yes; then
10008   # Fast installation is not supported
10009   enable_fast_install=no
10010 elif test "$shlibpath_overrides_runpath" = yes ||
10011      test "$enable_shared" = no; then
10012   # Fast installation is not necessary
10013   enable_fast_install=needless
10014 fi
10015
10016
10017
10018
10019
10020
10021   if test "x$enable_dlopen" != xyes; then
10022   enable_dlopen=unknown
10023   enable_dlopen_self=unknown
10024   enable_dlopen_self_static=unknown
10025 else
10026   lt_cv_dlopen=no
10027   lt_cv_dlopen_libs=
10028
10029   case $host_os in
10030   beos*)
10031     lt_cv_dlopen="load_add_on"
10032     lt_cv_dlopen_libs=
10033     lt_cv_dlopen_self=yes
10034     ;;
10035
10036   mingw* | pw32* | cegcc*)
10037     lt_cv_dlopen="LoadLibrary"
10038     lt_cv_dlopen_libs=
10039     ;;
10040
10041   cygwin*)
10042     lt_cv_dlopen="dlopen"
10043     lt_cv_dlopen_libs=
10044     ;;
10045
10046   darwin*)
10047   # if libdl is installed we need to link against it
10048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10049 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10050 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10051   $as_echo_n "(cached) " >&6
10052 else
10053   ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-ldl  $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h.  */
10057
10058 /* Override any GCC internal prototype to avoid an error.
10059    Use char because int might match the return type of a GCC
10060    builtin and then its argument prototype would still apply.  */
10061 #ifdef __cplusplus
10062 extern "C"
10063 #endif
10064 char dlopen ();
10065 int
10066 main ()
10067 {
10068 return dlopen ();
10069   ;
10070   return 0;
10071 }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074   ac_cv_lib_dl_dlopen=yes
10075 else
10076   ac_cv_lib_dl_dlopen=no
10077 fi
10078 rm -f core conftest.err conftest.$ac_objext \
10079     conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
10081 fi
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10083 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10084 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10085   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10086 else
10087
10088     lt_cv_dlopen="dyld"
10089     lt_cv_dlopen_libs=
10090     lt_cv_dlopen_self=yes
10091
10092 fi
10093
10094     ;;
10095
10096   *)
10097     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10098 if test "x$ac_cv_func_shl_load" = x""yes; then :
10099   lt_cv_dlopen="shl_load"
10100 else
10101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10102 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10103 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10104   $as_echo_n "(cached) " >&6
10105 else
10106   ac_check_lib_save_LIBS=$LIBS
10107 LIBS="-ldld  $LIBS"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h.  */
10110
10111 /* Override any GCC internal prototype to avoid an error.
10112    Use char because int might match the return type of a GCC
10113    builtin and then its argument prototype would still apply.  */
10114 #ifdef __cplusplus
10115 extern "C"
10116 #endif
10117 char shl_load ();
10118 int
10119 main ()
10120 {
10121 return shl_load ();
10122   ;
10123   return 0;
10124 }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127   ac_cv_lib_dld_shl_load=yes
10128 else
10129   ac_cv_lib_dld_shl_load=no
10130 fi
10131 rm -f core conftest.err conftest.$ac_objext \
10132     conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
10134 fi
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10136 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10137 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10138   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10139 else
10140   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10141 if test "x$ac_cv_func_dlopen" = x""yes; then :
10142   lt_cv_dlopen="dlopen"
10143 else
10144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10145 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10146 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10147   $as_echo_n "(cached) " >&6
10148 else
10149   ac_check_lib_save_LIBS=$LIBS
10150 LIBS="-ldl  $LIBS"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h.  */
10153
10154 /* Override any GCC internal prototype to avoid an error.
10155    Use char because int might match the return type of a GCC
10156    builtin and then its argument prototype would still apply.  */
10157 #ifdef __cplusplus
10158 extern "C"
10159 #endif
10160 char dlopen ();
10161 int
10162 main ()
10163 {
10164 return dlopen ();
10165   ;
10166   return 0;
10167 }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170   ac_cv_lib_dl_dlopen=yes
10171 else
10172   ac_cv_lib_dl_dlopen=no
10173 fi
10174 rm -f core conftest.err conftest.$ac_objext \
10175     conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_lib_save_LIBS
10177 fi
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10179 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10180 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10181   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10182 else
10183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10184 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10185 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10186   $as_echo_n "(cached) " >&6
10187 else
10188   ac_check_lib_save_LIBS=$LIBS
10189 LIBS="-lsvld  $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h.  */
10192
10193 /* Override any GCC internal prototype to avoid an error.
10194    Use char because int might match the return type of a GCC
10195    builtin and then its argument prototype would still apply.  */
10196 #ifdef __cplusplus
10197 extern "C"
10198 #endif
10199 char dlopen ();
10200 int
10201 main ()
10202 {
10203 return dlopen ();
10204   ;
10205   return 0;
10206 }
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209   ac_cv_lib_svld_dlopen=yes
10210 else
10211   ac_cv_lib_svld_dlopen=no
10212 fi
10213 rm -f core conftest.err conftest.$ac_objext \
10214     conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_lib_save_LIBS
10216 fi
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10218 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10219 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10220   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10221 else
10222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10223 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10224 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10225   $as_echo_n "(cached) " >&6
10226 else
10227   ac_check_lib_save_LIBS=$LIBS
10228 LIBS="-ldld  $LIBS"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h.  */
10231
10232 /* Override any GCC internal prototype to avoid an error.
10233    Use char because int might match the return type of a GCC
10234    builtin and then its argument prototype would still apply.  */
10235 #ifdef __cplusplus
10236 extern "C"
10237 #endif
10238 char dld_link ();
10239 int
10240 main ()
10241 {
10242 return dld_link ();
10243   ;
10244   return 0;
10245 }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248   ac_cv_lib_dld_dld_link=yes
10249 else
10250   ac_cv_lib_dld_dld_link=no
10251 fi
10252 rm -f core conftest.err conftest.$ac_objext \
10253     conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_lib_save_LIBS
10255 fi
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10257 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10258 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10259   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10260 fi
10261
10262
10263 fi
10264
10265
10266 fi
10267
10268
10269 fi
10270
10271
10272 fi
10273
10274
10275 fi
10276
10277     ;;
10278   esac
10279
10280   if test "x$lt_cv_dlopen" != xno; then
10281     enable_dlopen=yes
10282   else
10283     enable_dlopen=no
10284   fi
10285
10286   case $lt_cv_dlopen in
10287   dlopen)
10288     save_CPPFLAGS="$CPPFLAGS"
10289     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10290
10291     save_LDFLAGS="$LDFLAGS"
10292     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10293
10294     save_LIBS="$LIBS"
10295     LIBS="$lt_cv_dlopen_libs $LIBS"
10296
10297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10298 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10299 if test "${lt_cv_dlopen_self+set}" = set; then :
10300   $as_echo_n "(cached) " >&6
10301 else
10302           if test "$cross_compiling" = yes; then :
10303   lt_cv_dlopen_self=cross
10304 else
10305   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10306   lt_status=$lt_dlunknown
10307   cat > conftest.$ac_ext <<_LT_EOF
10308 #line 10308 "configure"
10309 #include "confdefs.h"
10310
10311 #if HAVE_DLFCN_H
10312 #include <dlfcn.h>
10313 #endif
10314
10315 #include <stdio.h>
10316
10317 #ifdef RTLD_GLOBAL
10318 #  define LT_DLGLOBAL           RTLD_GLOBAL
10319 #else
10320 #  ifdef DL_GLOBAL
10321 #    define LT_DLGLOBAL         DL_GLOBAL
10322 #  else
10323 #    define LT_DLGLOBAL         0
10324 #  endif
10325 #endif
10326
10327 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10328    find out it does not work in some platform. */
10329 #ifndef LT_DLLAZY_OR_NOW
10330 #  ifdef RTLD_LAZY
10331 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10332 #  else
10333 #    ifdef DL_LAZY
10334 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10335 #    else
10336 #      ifdef RTLD_NOW
10337 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10338 #      else
10339 #        ifdef DL_NOW
10340 #          define LT_DLLAZY_OR_NOW      DL_NOW
10341 #        else
10342 #          define LT_DLLAZY_OR_NOW      0
10343 #        endif
10344 #      endif
10345 #    endif
10346 #  endif
10347 #endif
10348
10349 void fnord() { int i=42;}
10350 int main ()
10351 {
10352   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10353   int status = $lt_dlunknown;
10354
10355   if (self)
10356     {
10357       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10358       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10359       /* dlclose (self); */
10360     }
10361   else
10362     puts (dlerror ());
10363
10364   return status;
10365 }
10366 _LT_EOF
10367   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10368   (eval $ac_link) 2>&5
10369   ac_status=$?
10370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10371   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10372     (./conftest; exit; ) >&5 2>/dev/null
10373     lt_status=$?
10374     case x$lt_status in
10375       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10376       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10377       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10378     esac
10379   else :
10380     # compilation failed
10381     lt_cv_dlopen_self=no
10382   fi
10383 fi
10384 rm -fr conftest*
10385
10386
10387 fi
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10389 $as_echo "$lt_cv_dlopen_self" >&6; }
10390
10391     if test "x$lt_cv_dlopen_self" = xyes; then
10392       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10393       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10394 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10395 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10396   $as_echo_n "(cached) " >&6
10397 else
10398           if test "$cross_compiling" = yes; then :
10399   lt_cv_dlopen_self_static=cross
10400 else
10401   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10402   lt_status=$lt_dlunknown
10403   cat > conftest.$ac_ext <<_LT_EOF
10404 #line 10404 "configure"
10405 #include "confdefs.h"
10406
10407 #if HAVE_DLFCN_H
10408 #include <dlfcn.h>
10409 #endif
10410
10411 #include <stdio.h>
10412
10413 #ifdef RTLD_GLOBAL
10414 #  define LT_DLGLOBAL           RTLD_GLOBAL
10415 #else
10416 #  ifdef DL_GLOBAL
10417 #    define LT_DLGLOBAL         DL_GLOBAL
10418 #  else
10419 #    define LT_DLGLOBAL         0
10420 #  endif
10421 #endif
10422
10423 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10424    find out it does not work in some platform. */
10425 #ifndef LT_DLLAZY_OR_NOW
10426 #  ifdef RTLD_LAZY
10427 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10428 #  else
10429 #    ifdef DL_LAZY
10430 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10431 #    else
10432 #      ifdef RTLD_NOW
10433 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10434 #      else
10435 #        ifdef DL_NOW
10436 #          define LT_DLLAZY_OR_NOW      DL_NOW
10437 #        else
10438 #          define LT_DLLAZY_OR_NOW      0
10439 #        endif
10440 #      endif
10441 #    endif
10442 #  endif
10443 #endif
10444
10445 void fnord() { int i=42;}
10446 int main ()
10447 {
10448   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10449   int status = $lt_dlunknown;
10450
10451   if (self)
10452     {
10453       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10454       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10455       /* dlclose (self); */
10456     }
10457   else
10458     puts (dlerror ());
10459
10460   return status;
10461 }
10462 _LT_EOF
10463   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10464   (eval $ac_link) 2>&5
10465   ac_status=$?
10466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10467   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10468     (./conftest; exit; ) >&5 2>/dev/null
10469     lt_status=$?
10470     case x$lt_status in
10471       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10472       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10473       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10474     esac
10475   else :
10476     # compilation failed
10477     lt_cv_dlopen_self_static=no
10478   fi
10479 fi
10480 rm -fr conftest*
10481
10482
10483 fi
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10485 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10486     fi
10487
10488     CPPFLAGS="$save_CPPFLAGS"
10489     LDFLAGS="$save_LDFLAGS"
10490     LIBS="$save_LIBS"
10491     ;;
10492   esac
10493
10494   case $lt_cv_dlopen_self in
10495   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10496   *) enable_dlopen_self=unknown ;;
10497   esac
10498
10499   case $lt_cv_dlopen_self_static in
10500   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10501   *) enable_dlopen_self_static=unknown ;;
10502   esac
10503 fi
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521 striplib=
10522 old_striplib=
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10524 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10525 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10526   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10527   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10529 $as_echo "yes" >&6; }
10530 else
10531 # FIXME - insert some real tests, host_os isn't really good enough
10532   case $host_os in
10533   darwin*)
10534     if test -n "$STRIP" ; then
10535       striplib="$STRIP -x"
10536       old_striplib="$STRIP -S"
10537       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10538 $as_echo "yes" >&6; }
10539     else
10540       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 $as_echo "no" >&6; }
10542     fi
10543     ;;
10544   *)
10545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
10547     ;;
10548   esac
10549 fi
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562   # Report which library types will actually be built
10563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10564 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10566 $as_echo "$can_build_shared" >&6; }
10567
10568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10569 $as_echo_n "checking whether to build shared libraries... " >&6; }
10570   test "$can_build_shared" = "no" && enable_shared=no
10571
10572   # On AIX, shared libraries and static libraries use the same namespace, and
10573   # are all built from PIC.
10574   case $host_os in
10575   aix3*)
10576     test "$enable_shared" = yes && enable_static=no
10577     if test -n "$RANLIB"; then
10578       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10579       postinstall_cmds='$RANLIB $lib'
10580     fi
10581     ;;
10582
10583   aix[4-9]*)
10584     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10585       test "$enable_shared" = yes && enable_static=no
10586     fi
10587     ;;
10588   esac
10589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10590 $as_echo "$enable_shared" >&6; }
10591
10592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10593 $as_echo_n "checking whether to build static libraries... " >&6; }
10594   # Make sure either enable_shared or enable_static is yes.
10595   test "$enable_shared" = yes || enable_static=yes
10596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10597 $as_echo "$enable_static" >&6; }
10598
10599
10600
10601
10602 fi
10603 ac_ext=c
10604 ac_cpp='$CPP $CPPFLAGS'
10605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10608
10609 CC="$lt_save_CC"
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623         ac_config_commands="$ac_config_commands libtool"
10624
10625
10626
10627
10628 # Only expand once:
10629
10630
10631
10632 CC_NOUNDEFINED
10633
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10635 $as_echo_n "checking for ANSI C header files... " >&6; }
10636 if test "${ac_cv_header_stdc+set}" = set; then :
10637   $as_echo_n "(cached) " >&6
10638 else
10639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h.  */
10641 #include <stdlib.h>
10642 #include <stdarg.h>
10643 #include <string.h>
10644 #include <float.h>
10645
10646 int
10647 main ()
10648 {
10649
10650   ;
10651   return 0;
10652 }
10653 _ACEOF
10654 if ac_fn_c_try_compile "$LINENO"; then :
10655   ac_cv_header_stdc=yes
10656 else
10657   ac_cv_header_stdc=no
10658 fi
10659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10660
10661 if test $ac_cv_header_stdc = yes; then
10662   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h.  */
10665 #include <string.h>
10666
10667 _ACEOF
10668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10669   $EGREP "memchr" >/dev/null 2>&1; then :
10670
10671 else
10672   ac_cv_header_stdc=no
10673 fi
10674 rm -f conftest*
10675
10676 fi
10677
10678 if test $ac_cv_header_stdc = yes; then
10679   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h.  */
10682 #include <stdlib.h>
10683
10684 _ACEOF
10685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10686   $EGREP "free" >/dev/null 2>&1; then :
10687
10688 else
10689   ac_cv_header_stdc=no
10690 fi
10691 rm -f conftest*
10692
10693 fi
10694
10695 if test $ac_cv_header_stdc = yes; then
10696   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10697   if test "$cross_compiling" = yes; then :
10698   :
10699 else
10700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h.  */
10702 #include <ctype.h>
10703 #include <stdlib.h>
10704 #if ((' ' & 0x0FF) == 0x020)
10705 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10706 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10707 #else
10708 # define ISLOWER(c) \
10709                    (('a' <= (c) && (c) <= 'i') \
10710                      || ('j' <= (c) && (c) <= 'r') \
10711                      || ('s' <= (c) && (c) <= 'z'))
10712 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10713 #endif
10714
10715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10716 int
10717 main ()
10718 {
10719   int i;
10720   for (i = 0; i < 256; i++)
10721     if (XOR (islower (i), ISLOWER (i))
10722         || toupper (i) != TOUPPER (i))
10723       return 2;
10724   return 0;
10725 }
10726 _ACEOF
10727 if ac_fn_c_try_run "$LINENO"; then :
10728
10729 else
10730   ac_cv_header_stdc=no
10731 fi
10732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10733   conftest.$ac_objext conftest.beam conftest.$ac_ext
10734 fi
10735
10736 fi
10737 fi
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10739 $as_echo "$ac_cv_header_stdc" >&6; }
10740 if test $ac_cv_header_stdc = yes; then
10741
10742 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10743
10744 fi
10745
10746 ac_config_headers="$ac_config_headers include/config.h"
10747
10748
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
10750 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
10751 if test "${ac_cv_c_const+set}" = set; then :
10752   $as_echo_n "(cached) " >&6
10753 else
10754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h.  */
10756
10757 int
10758 main ()
10759 {
10760 /* FIXME: Include the comments suggested by Paul. */
10761 #ifndef __cplusplus
10762   /* Ultrix mips cc rejects this.  */
10763   typedef int charset[2];
10764   const charset cs;
10765   /* SunOS 4.1.1 cc rejects this.  */
10766   char const *const *pcpcc;
10767   char **ppc;
10768   /* NEC SVR4.0.2 mips cc rejects this.  */
10769   struct point {int x, y;};
10770   static struct point const zero = {0,0};
10771   /* AIX XL C 1.02.0.0 rejects this.
10772      It does not let you subtract one const X* pointer from another in
10773      an arm of an if-expression whose if-part is not a constant
10774      expression */
10775   const char *g = "string";
10776   pcpcc = &g + (g ? g-g : 0);
10777   /* HPUX 7.0 cc rejects these. */
10778   ++pcpcc;
10779   ppc = (char**) pcpcc;
10780   pcpcc = (char const *const *) ppc;
10781   { /* SCO 3.2v4 cc rejects this.  */
10782     char *t;
10783     char const *s = 0 ? (char *) 0 : (char const *) 0;
10784
10785     *t++ = 0;
10786     if (s) return 0;
10787   }
10788   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
10789     int x[] = {25, 17};
10790     const int *foo = &x[0];
10791     ++foo;
10792   }
10793   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10794     typedef const int *iptr;
10795     iptr p = 0;
10796     ++p;
10797   }
10798   { /* AIX XL C 1.02.0.0 rejects this saying
10799        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10800     struct s { int j; const int *ap[3]; };
10801     struct s *b; b->j = 5;
10802   }
10803   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10804     const int foo = 10;
10805     if (!foo) return 0;
10806   }
10807   return !cs[0] && !zero.x;
10808 #endif
10809
10810   ;
10811   return 0;
10812 }
10813 _ACEOF
10814 if ac_fn_c_try_compile "$LINENO"; then :
10815   ac_cv_c_const=yes
10816 else
10817   ac_cv_c_const=no
10818 fi
10819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10820 fi
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
10822 $as_echo "$ac_cv_c_const" >&6; }
10823 if test $ac_cv_c_const = no; then
10824
10825 $as_echo "#define const /**/" >>confdefs.h
10826
10827 fi
10828
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
10830 $as_echo_n "checking for inline... " >&6; }
10831 if test "${ac_cv_c_inline+set}" = set; then :
10832   $as_echo_n "(cached) " >&6
10833 else
10834   ac_cv_c_inline=no
10835 for ac_kw in inline __inline__ __inline; do
10836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h.  */
10838 #ifndef __cplusplus
10839 typedef int foo_t;
10840 static $ac_kw foo_t static_foo () {return 0; }
10841 $ac_kw foo_t foo () {return 0; }
10842 #endif
10843
10844 _ACEOF
10845 if ac_fn_c_try_compile "$LINENO"; then :
10846   ac_cv_c_inline=$ac_kw
10847 fi
10848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10849   test "$ac_cv_c_inline" != no && break
10850 done
10851
10852 fi
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
10854 $as_echo "$ac_cv_c_inline" >&6; }
10855
10856 case $ac_cv_c_inline in
10857   inline | yes) ;;
10858   *)
10859     case $ac_cv_c_inline in
10860       no) ac_val=;;
10861       *) ac_val=$ac_cv_c_inline;;
10862     esac
10863     cat >>confdefs.h <<_ACEOF
10864 #ifndef __cplusplus
10865 #define inline $ac_val
10866 #endif
10867 _ACEOF
10868     ;;
10869 esac
10870
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
10872 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
10873 if test "${ac_cv_header_time+set}" = set; then :
10874   $as_echo_n "(cached) " >&6
10875 else
10876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h.  */
10878 #include <sys/types.h>
10879 #include <sys/time.h>
10880 #include <time.h>
10881
10882 int
10883 main ()
10884 {
10885 if ((struct tm *) 0)
10886 return 0;
10887   ;
10888   return 0;
10889 }
10890 _ACEOF
10891 if ac_fn_c_try_compile "$LINENO"; then :
10892   ac_cv_header_time=yes
10893 else
10894   ac_cv_header_time=no
10895 fi
10896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10897 fi
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
10899 $as_echo "$ac_cv_header_time" >&6; }
10900 if test $ac_cv_header_time = yes; then
10901
10902 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
10903
10904 fi
10905
10906
10907 if test $ac_cv_c_compiler_gnu = yes; then
10908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
10909 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10910 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
10911   $as_echo_n "(cached) " >&6
10912 else
10913     ac_pattern="Autoconf.*'x'"
10914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h.  */
10916 #include <sgtty.h>
10917 Autoconf TIOCGETP
10918 _ACEOF
10919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10920   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
10921   ac_cv_prog_gcc_traditional=yes
10922 else
10923   ac_cv_prog_gcc_traditional=no
10924 fi
10925 rm -f conftest*
10926
10927
10928   if test $ac_cv_prog_gcc_traditional = no; then
10929     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h.  */
10931 #include <termio.h>
10932 Autoconf TCGETA
10933 _ACEOF
10934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10935   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
10936   ac_cv_prog_gcc_traditional=yes
10937 fi
10938 rm -f conftest*
10939
10940   fi
10941 fi
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
10943 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10944   if test $ac_cv_prog_gcc_traditional = yes; then
10945     CC="$CC -traditional"
10946   fi
10947 fi
10948
10949 ac_fn_c_check_func "$LINENO" "hsearch_r" "ac_cv_func_hsearch_r"
10950 if test "x$ac_cv_func_hsearch_r" = x""yes; then :
10951   HAVE_HSEARCH_R=yes
10952 fi
10953
10954  if test "x$HAVE_HSEARCH_R" != xyes; then
10955   ALSA_HSEARCH_R_TRUE=
10956   ALSA_HSEARCH_R_FALSE='#'
10957 else
10958   ALSA_HSEARCH_R_TRUE='#'
10959   ALSA_HSEARCH_R_FALSE=
10960 fi
10961
10962 for ac_func in uselocale
10963 do :
10964   ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
10965 if test "x$ac_cv_func_uselocale" = x""yes; then :
10966   cat >>confdefs.h <<_ACEOF
10967 #define HAVE_USELOCALE 1
10968 _ACEOF
10969
10970 fi
10971 done
10972
10973
10974
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library version" >&5
10976 $as_echo_n "checking for library version... " >&6; }
10977 SND_LIB_VERSION=$VERSION
10978 echo $VERSION > $srcdir/version
10979
10980 cat >>confdefs.h <<_ACEOF
10981 #define VERSION "$SND_LIB_VERSION"
10982 _ACEOF
10983
10984
10985 SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
10986
10987 SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
10988
10989 SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'`
10990
10991 SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'`
10992 SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'`
10993 case "$SND_LIB_EXTRASTR" in
10994   pre)   SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;;
10995   alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;;
10996   beta)  SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;;
10997   rc)    SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;;
10998   *)     SND_LIB_EXTRAVER=1000000 ;;
10999 esac
11000 { $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
11001 $as_echo "major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; }
11002
11003
11004
11005
11006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11007
11008
11009 # Check whether --with-configdir was given.
11010 if test "${with_configdir+set}" = set; then :
11011   withval=$with_configdir; confdir="$withval"
11012 else
11013   confdir=""
11014 fi
11015
11016 if test -z "$confdir"; then
11017     eval dir="$datadir"
11018     case "$dir" in
11019     /*) ;;
11020     *) dir="$prefix/share"
11021     esac
11022     confdir="$dir/alsa"
11023 fi
11024 ALSA_CONFIG_DIR="$confdir"
11025
11026 cat >>confdefs.h <<_ACEOF
11027 #define ALSA_CONFIG_DIR "$confdir"
11028 _ACEOF
11029
11030
11031
11032 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
11033
11034
11035 # Check whether --with-plugindir was given.
11036 if test "${with_plugindir+set}" = set; then :
11037   withval=$with_plugindir; plugindir="$withval"
11038 else
11039   plugindir=""
11040 fi
11041
11042 if test -z "$plugindir"; then
11043     eval dir="$libdir"
11044     case "$dir" in
11045     /*) ;;
11046     *) dir="$dir"
11047     esac
11048     plugindir="$dir/$PACKAGE"
11049 fi
11050
11051 cat >>confdefs.h <<_ACEOF
11052 #define ALSA_PLUGIN_DIR "$plugindir"
11053 _ACEOF
11054
11055 ALSA_PLUGIN_DIR="$plugindir"
11056
11057
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for versioned symbols" >&5
11059 $as_echo_n "checking for versioned symbols... " >&6; }
11060
11061 # Check whether --with-versioned was given.
11062 if test "${with_versioned+set}" = set; then :
11063   withval=$with_versioned; versioned="$withval"
11064 else
11065   versioned="yes"
11066 fi
11067
11068 if test "$versioned" = "yes"; then
11069   # it seems that GNU ld versions since 2.10 are not broken
11070   xres=`grep '^VERSION=' ${srcdir}/ltmain.sh | cut -d = -f 2 | cut -d \" -f 2`
11071   major=`echo $xres | cut -d . -f 1`
11072   minor=`echo $xres | cut -d . -f 2`
11073   pass=0
11074   if test $major -eq 1 && test $minor -gt 3; then
11075     pass=1
11076   else
11077     if test $major -gt 1; then
11078       pass=1
11079     fi
11080   fi
11081   if test $pass -eq 1; then
11082
11083 $as_echo "#define VERSIONED_SYMBOLS /**/" >>confdefs.h
11084
11085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11086 $as_echo "yes" >&6; }
11087   else
11088     { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken libtool - use libtool v1.4+; no versions" >&5
11089 $as_echo "broken libtool - use libtool v1.4+; no versions" >&6; }
11090   fi
11091 else
11092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11094 fi
11095  if test x$versioned = xyes; then
11096   VERSIONED_SYMBOLS_TRUE=
11097   VERSIONED_SYMBOLS_FALSE='#'
11098 else
11099   VERSIONED_SYMBOLS_TRUE='#'
11100   VERSIONED_SYMBOLS_FALSE=
11101 fi
11102
11103
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbolic-functions" >&5
11105 $as_echo_n "checking for symbolic-functions... " >&6; }
11106 # Check whether --enable-symbolic-functions was given.
11107 if test "${enable_symbolic_functions+set}" = set; then :
11108   enableval=$enable_symbolic_functions; symfuncs="$enableval"
11109 else
11110   symfuncs="no"
11111 fi
11112
11113 if test "$symfuncs" = "yes"; then
11114   if ld --help | grep -q -- '-Bsymbolic-functions'; then
11115     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11116 $as_echo "yes" >&6; }
11117   else
11118     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported by ld" >&5
11119 $as_echo "not supported by ld" >&6; }
11120     symfuncs="no"
11121   fi
11122 else
11123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11125 fi
11126  if test x"$symfuncs" = xyes; then
11127   SYMBOLIC_FUNCTIONS_TRUE=
11128   SYMBOLIC_FUNCTIONS_FALSE='#'
11129 else
11130   SYMBOLIC_FUNCTIONS_TRUE='#'
11131   SYMBOLIC_FUNCTIONS_FALSE=
11132 fi
11133
11134
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom symbol prefixes" >&5
11136 $as_echo_n "checking for custom symbol prefixes... " >&6; }
11137 SYMBOL_PREFIX=` \
11138         echo "PREFIX=__USER_LABEL_PREFIX__" \
11139                 | ${CPP-${CC-gcc} -E} - 2>&1 \
11140                 | ${EGREP-grep} "^PREFIX=" \
11141                 | ${SED-sed} "s:^PREFIX=::"`
11142
11143 cat >>confdefs.h <<_ACEOF
11144 #define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
11145 _ACEOF
11146
11147
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
11149 $as_echo "$SYMBOL_PREFIX" >&6; }
11150
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug" >&5
11152 $as_echo_n "checking for debug... " >&6; }
11153
11154 # Check whether --with-debug was given.
11155 if test "${with_debug+set}" = set; then :
11156   withval=$with_debug; debug="$withval"
11157 else
11158   debug="yes"
11159 fi
11160
11161 if test "$debug" = "yes"; then
11162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11163 $as_echo "yes" >&6; }
11164 else
11165
11166 $as_echo "#define NDEBUG /**/" >>confdefs.h
11167
11168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
11170 fi
11171
11172 if test "$debug" = "yes"; then
11173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug assert" >&5
11174 $as_echo_n "checking for debug assert... " >&6; }
11175   # Check whether --enable-debug-assert was given.
11176 if test "${enable_debug_assert+set}" = set; then :
11177   enableval=$enable_debug_assert; debug_assert="$enableval"
11178 else
11179   debug_assert="no"
11180 fi
11181
11182   if test "$debug_assert" = "yes"; then
11183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11184 $as_echo "yes" >&6; }
11185
11186 $as_echo "#define ALSA_DEBUG_ASSERT /**/" >>confdefs.h
11187
11188   else
11189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11190 $as_echo "no" >&6; }
11191   fi
11192 fi
11193
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpdir" >&5
11195 $as_echo_n "checking for tmpdir... " >&6; }
11196
11197 # Check whether --with-tmpdir was given.
11198 if test "${with_tmpdir+set}" = set; then :
11199   withval=$with_tmpdir; tmpdir="$withval"
11200 else
11201   tmpdir="/tmp"
11202 fi
11203
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmpdir" >&5
11205 $as_echo "$tmpdir" >&6; }
11206
11207 cat >>confdefs.h <<_ACEOF
11208 #define TMPDIR "$tmpdir"
11209 _ACEOF
11210
11211
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for softfloat" >&5
11213 $as_echo_n "checking for softfloat... " >&6; }
11214
11215 # Check whether --with-softfloat was given.
11216 if test "${with_softfloat+set}" = set; then :
11217   withval=$with_softfloat; case "$withval" in
11218         y|yes) softfloat=yes ;;
11219         *) softfloat=no ;;
11220    esac
11221 fi
11222
11223 if test "$softfloat" = "yes" ; then
11224
11225 $as_echo "#define HAVE_SOFT_FLOAT \"1\"" >>confdefs.h
11226
11227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11228 $as_echo "yes" >&6; }
11229 else
11230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11232 fi
11233
11234 ALSA_DEPLIBS=""
11235 if test "$softfloat" != "yes"; then
11236   ALSA_DEPLIBS="-lm"
11237 fi
11238
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdl" >&5
11240 $as_echo_n "checking for libdl... " >&6; }
11241
11242 # Check whether --with-libdl was given.
11243 if test "${with_libdl+set}" = set; then :
11244   withval=$with_libdl;  have_libdl="$withval"
11245 else
11246    have_libdl="yes"
11247 fi
11248
11249 if test "$have_libdl" = "yes"; then
11250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
11251 $as_echo_n "checking for dlsym in -ldl... " >&6; }
11252 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
11253   $as_echo_n "(cached) " >&6
11254 else
11255   ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-ldl  $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h.  */
11259
11260 /* Override any GCC internal prototype to avoid an error.
11261    Use char because int might match the return type of a GCC
11262    builtin and then its argument prototype would still apply.  */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char dlsym ();
11267 int
11268 main ()
11269 {
11270 return dlsym ();
11271   ;
11272   return 0;
11273 }
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276   ac_cv_lib_dl_dlsym=yes
11277 else
11278   ac_cv_lib_dl_dlsym=no
11279 fi
11280 rm -f core conftest.err conftest.$ac_objext \
11281     conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11283 fi
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
11285 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
11286 if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
11287   HAVE_LIBDL="yes"
11288 fi
11289
11290   if test "$HAVE_LIBDL" = "yes" ; then
11291     ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
11292
11293 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11294
11295   fi
11296 else
11297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11298 $as_echo "no" >&6; }
11299 fi
11300  if test "$HAVE_LIBDL"="yes"; then
11301   BUILD_MODULES_TRUE=
11302   BUILD_MODULES_FALSE='#'
11303 else
11304   BUILD_MODULES_TRUE='#'
11305   BUILD_MODULES_FALSE=
11306 fi
11307
11308
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread" >&5
11310 $as_echo_n "checking for pthread... " >&6; }
11311
11312 # Check whether --with-pthread was given.
11313 if test "${with_pthread+set}" = set; then :
11314   withval=$with_pthread;  have_pthread="$withval"
11315 else
11316    have_pthread="yes"
11317 fi
11318
11319 if test "$have_pthread" = "yes"; then
11320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
11321 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
11322 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
11323   $as_echo_n "(cached) " >&6
11324 else
11325   ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lpthread  $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h.  */
11329
11330 /* Override any GCC internal prototype to avoid an error.
11331    Use char because int might match the return type of a GCC
11332    builtin and then its argument prototype would still apply.  */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char pthread_join ();
11337 int
11338 main ()
11339 {
11340 return pthread_join ();
11341   ;
11342   return 0;
11343 }
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346   ac_cv_lib_pthread_pthread_join=yes
11347 else
11348   ac_cv_lib_pthread_pthread_join=no
11349 fi
11350 rm -f core conftest.err conftest.$ac_objext \
11351     conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11353 fi
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
11355 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
11356 if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :
11357   HAVE_LIBPTHREAD="yes"
11358 fi
11359
11360   if test "$HAVE_LIBPTHREAD" = "yes"; then
11361     ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
11362
11363 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
11364
11365   fi
11366 else
11367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11369 fi
11370
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librt" >&5
11372 $as_echo_n "checking for librt... " >&6; }
11373
11374 # Check whether --with-librt was given.
11375 if test "${with_librt+set}" = set; then :
11376   withval=$with_librt;  have_librt="$withval"
11377 else
11378    have_librt="yes"
11379 fi
11380
11381 if test "$have_librt" = "yes"; then
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
11383 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
11384 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
11385   $as_echo_n "(cached) " >&6
11386 else
11387   ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lrt  $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h.  */
11391
11392 /* Override any GCC internal prototype to avoid an error.
11393    Use char because int might match the return type of a GCC
11394    builtin and then its argument prototype would still apply.  */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char clock_gettime ();
11399 int
11400 main ()
11401 {
11402 return clock_gettime ();
11403   ;
11404   return 0;
11405 }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408   ac_cv_lib_rt_clock_gettime=yes
11409 else
11410   ac_cv_lib_rt_clock_gettime=no
11411 fi
11412 rm -f core conftest.err conftest.$ac_objext \
11413     conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11415 fi
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
11417 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
11418 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
11419   HAVE_LIBRT="yes"
11420 fi
11421
11422   if test "$HAVE_LIBRT" = "yes" ; then
11423     ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
11424
11425 $as_echo "#define HAVE_LIBRT 1" >>confdefs.h
11426
11427
11428 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
11429
11430   fi
11431 else
11432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11434 fi
11435
11436
11437
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
11439 $as_echo_n "checking for architecture... " >&6; }
11440 case "$host" in
11441 i?86*)
11442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
11443 $as_echo "x86" >&6; }
11444   ;;
11445 x86_64*)
11446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
11447 $as_echo "x86" >&6; }
11448   ;;
11449 alpha*)
11450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: alpha" >&5
11451 $as_echo "alpha" >&6; }
11452   ;;
11453 powerpc*|ppc*)
11454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ppc" >&5
11455 $as_echo "ppc" >&6; }
11456   CPPFLAGS="$CPPFLAGS -D__ppc__"
11457   ;;
11458 ia64*)
11459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
11460 $as_echo "ia64" >&6; }
11461   CPPFLAGS="$CPPFLAGS -D__ia64__"
11462   ;;
11463 mips*)
11464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: mips" >&5
11465 $as_echo "mips" >&6; }
11466   CPPFLAGS="$CPPFLAGS -D__mips__"
11467   ;;
11468 arm*)
11469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
11470 $as_echo "arm" >&6; }
11471   CPPFLAGS="$CPPFLAGS -D__arm__"
11472   ;;
11473 *)
11474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
11475 $as_echo "$host_cpu" >&6; }
11476   echo "No atomic operations supported.."
11477   ;;
11478 esac
11479
11480 for ac_header in wordexp.h
11481 do :
11482   ac_fn_c_check_header_mongrel "$LINENO" "wordexp.h" "ac_cv_header_wordexp_h" "$ac_includes_default"
11483 if test "x$ac_cv_header_wordexp_h" = x""yes; then :
11484   cat >>confdefs.h <<_ACEOF
11485 #define HAVE_WORDEXP_H 1
11486 _ACEOF
11487
11488 fi
11489
11490 done
11491
11492
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resmgr support" >&5
11494 $as_echo_n "checking for resmgr support... " >&6; }
11495 # Check whether --enable-resmgr was given.
11496 if test "${enable_resmgr+set}" = set; then :
11497   enableval=$enable_resmgr; resmgr="$enableval"
11498 else
11499   resmgr="no"
11500 fi
11501
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $resmgr" >&5
11503 $as_echo "$resmgr" >&6; }
11504 if test "$resmgr" = "yes"; then
11505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rsm_open_device in -lresmgr" >&5
11506 $as_echo_n "checking for rsm_open_device in -lresmgr... " >&6; }
11507 if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then :
11508   $as_echo_n "(cached) " >&6
11509 else
11510   ac_check_lib_save_LIBS=$LIBS
11511 LIBS="-lresmgr  $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h.  */
11514
11515 /* Override any GCC internal prototype to avoid an error.
11516    Use char because int might match the return type of a GCC
11517    builtin and then its argument prototype would still apply.  */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
11521 char rsm_open_device ();
11522 int
11523 main ()
11524 {
11525 return rsm_open_device ();
11526   ;
11527   return 0;
11528 }
11529 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
11531   ac_cv_lib_resmgr_rsm_open_device=yes
11532 else
11533   ac_cv_lib_resmgr_rsm_open_device=no
11534 fi
11535 rm -f core conftest.err conftest.$ac_objext \
11536     conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_lib_save_LIBS
11538 fi
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resmgr_rsm_open_device" >&5
11540 $as_echo "$ac_cv_lib_resmgr_rsm_open_device" >&6; }
11541 if test "x$ac_cv_lib_resmgr_rsm_open_device" = x""yes; then :
11542   cat >>confdefs.h <<_ACEOF
11543 #define HAVE_LIBRESMGR 1
11544 _ACEOF
11545
11546   LIBS="-lresmgr $LIBS"
11547
11548 else
11549   as_fn_error $? "Cannot find libresmgr" "$LINENO" 5
11550 fi
11551
11552
11553 $as_echo "#define SUPPORT_RESMGR \"1\"" >>confdefs.h
11554
11555 fi
11556
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* support" >&5
11558 $as_echo_n "checking for aload* support... " >&6; }
11559 # Check whether --enable-aload was given.
11560 if test "${enable_aload+set}" = set; then :
11561   enableval=$enable_aload; aload="$enableval"
11562 else
11563   aload="yes"
11564 fi
11565
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload" >&5
11567 $as_echo "$aload" >&6; }
11568 if test "$aload" = "yes"; then
11569
11570 $as_echo "#define SUPPORT_ALOAD \"1\"" >>confdefs.h
11571
11572 fi
11573
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA device file directory" >&5
11575 $as_echo_n "checking for ALSA device file directory... " >&6; }
11576
11577 # Check whether --with-alsa-devdir was given.
11578 if test "${with_alsa_devdir+set}" = set; then :
11579   withval=$with_alsa_devdir; alsa_dev_dir="$withval"
11580 else
11581   alsa_dev_dir="/dev/snd"
11582 fi
11583
11584 if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
11585   alsa_dev_dir="$alsa_dev_dir/"
11586 fi
11587
11588 cat >>confdefs.h <<_ACEOF
11589 #define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir"
11590 _ACEOF
11591
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alsa_dev_dir" >&5
11593 $as_echo "$alsa_dev_dir" >&6; }
11594
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* device file directory" >&5
11596 $as_echo_n "checking for aload* device file directory... " >&6; }
11597
11598 # Check whether --with-aload-devdir was given.
11599 if test "${with_aload_devdir+set}" = set; then :
11600   withval=$with_aload_devdir; aload_dev_dir="$withval"
11601 else
11602   aload_dev_dir="/dev"
11603 fi
11604
11605 if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
11606   aload_dev_dir="$aload_dev_dir/"
11607 fi
11608
11609 cat >>confdefs.h <<_ACEOF
11610 #define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir"
11611 _ACEOF
11612
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload_dev_dir" >&5
11614 $as_echo "$aload_dev_dir" >&6; }
11615
11616 # Check whether --enable-mixer was given.
11617 if test "${enable_mixer+set}" = set; then :
11618   enableval=$enable_mixer; build_mixer="$enableval"
11619 else
11620   build_mixer="yes"
11621 fi
11622
11623 # Check whether --enable-pcm was given.
11624 if test "${enable_pcm+set}" = set; then :
11625   enableval=$enable_pcm; build_pcm="$enableval"
11626 else
11627   build_pcm="yes"
11628 fi
11629
11630 # Check whether --enable-rawmidi was given.
11631 if test "${enable_rawmidi+set}" = set; then :
11632   enableval=$enable_rawmidi; build_rawmidi="$enableval"
11633 else
11634   build_rawmidi="yes"
11635 fi
11636
11637 # Check whether --enable-hwdep was given.
11638 if test "${enable_hwdep+set}" = set; then :
11639   enableval=$enable_hwdep; build_hwdep="$enableval"
11640 else
11641   build_hwdep="yes"
11642 fi
11643
11644 # Check whether --enable-seq was given.
11645 if test "${enable_seq+set}" = set; then :
11646   enableval=$enable_seq; build_seq="$enableval"
11647 else
11648   build_seq="yes"
11649 fi
11650
11651 # Check whether --enable-ucm was given.
11652 if test "${enable_ucm+set}" = set; then :
11653   enableval=$enable_ucm; build_ucm="$enableval"
11654 else
11655   build_ucm="yes"
11656 fi
11657
11658 # Check whether --enable-alisp was given.
11659 if test "${enable_alisp+set}" = set; then :
11660   enableval=$enable_alisp; build_alisp="$enableval"
11661 else
11662   build_alisp="yes"
11663 fi
11664
11665 test "$softfloat" = "yes" && build_alisp="no"
11666 # Check whether --enable-old-symbols was given.
11667 if test "${enable_old_symbols+set}" = set; then :
11668   enableval=$enable_old_symbols; keep_old_symbols="$enableval"
11669 else
11670   keep_old_symbols="yes"
11671 fi
11672
11673  if test x$keep_old_symbols = xyes; then
11674   KEEP_OLD_SYMBOLS_TRUE=
11675   KEEP_OLD_SYMBOLS_FALSE='#'
11676 else
11677   KEEP_OLD_SYMBOLS_TRUE='#'
11678   KEEP_OLD_SYMBOLS_FALSE=
11679 fi
11680
11681
11682 # Check whether --enable-python was given.
11683 if test "${enable_python+set}" = set; then :
11684   enableval=$enable_python; build_python="$enableval"
11685 else
11686   build_python="yes"
11687 fi
11688
11689 PYTHON_LIBS=""
11690 PYTHON_INCLUDES=""
11691 if test "$build_python" = "yes"; then
11692
11693 # Check whether --with-pythonlibs was given.
11694 if test "${with_pythonlibs+set}" = set; then :
11695   withval=$with_pythonlibs; pythonlibs="$withval"
11696 else
11697   pythonlibs=`python-config --libs`
11698 fi
11699
11700
11701 # Check whether --with-pythonincludes was given.
11702 if test "${with_pythonincludes+set}" = set; then :
11703   withval=$with_pythonincludes; pythonincludes="$withval"
11704 else
11705   pythonincludes=`python-config --includes`
11706 fi
11707
11708   if test -z "$pythonlibs"; then
11709     echo "Unable to determine python libraries! Probably python-config is not"
11710     echo "available on this system. Please, use --with-pythonlibs and"
11711     echo "--with-pythonincludes options. Python components are disabled in this build."
11712     build_python="no"
11713   else
11714     PYTHON_LIBS="$pythonlibs"
11715     PYTHON_INCLUDES="$pythonincludes"
11716   fi
11717 fi
11718
11719
11720
11721  if test x$build_mixer = xyes; then
11722   BUILD_MIXER_TRUE=
11723   BUILD_MIXER_FALSE='#'
11724 else
11725   BUILD_MIXER_TRUE='#'
11726   BUILD_MIXER_FALSE=
11727 fi
11728
11729  if test x$build_pcm = xyes; then
11730   BUILD_PCM_TRUE=
11731   BUILD_PCM_FALSE='#'
11732 else
11733   BUILD_PCM_TRUE='#'
11734   BUILD_PCM_FALSE=
11735 fi
11736
11737  if test x$build_rawmidi = xyes; then
11738   BUILD_RAWMIDI_TRUE=
11739   BUILD_RAWMIDI_FALSE='#'
11740 else
11741   BUILD_RAWMIDI_TRUE='#'
11742   BUILD_RAWMIDI_FALSE=
11743 fi
11744
11745  if test x$build_hwdep = xyes; then
11746   BUILD_HWDEP_TRUE=
11747   BUILD_HWDEP_FALSE='#'
11748 else
11749   BUILD_HWDEP_TRUE='#'
11750   BUILD_HWDEP_FALSE=
11751 fi
11752
11753  if test x$build_seq = xyes; then
11754   BUILD_SEQ_TRUE=
11755   BUILD_SEQ_FALSE='#'
11756 else
11757   BUILD_SEQ_TRUE='#'
11758   BUILD_SEQ_FALSE=
11759 fi
11760
11761  if test x$build_ucm = xyes; then
11762   BUILD_UCM_TRUE=
11763   BUILD_UCM_FALSE='#'
11764 else
11765   BUILD_UCM_TRUE='#'
11766   BUILD_UCM_FALSE=
11767 fi
11768
11769  if test x$build_alisp = xyes; then
11770   BUILD_ALISP_TRUE=
11771   BUILD_ALISP_FALSE='#'
11772 else
11773   BUILD_ALISP_TRUE='#'
11774   BUILD_ALISP_FALSE=
11775 fi
11776
11777  if test x$build_python = xyes; then
11778   BUILD_PYTHON_TRUE=
11779   BUILD_PYTHON_FALSE='#'
11780 else
11781   BUILD_PYTHON_TRUE='#'
11782   BUILD_PYTHON_FALSE=
11783 fi
11784
11785
11786 if test "$build_mixer" = "yes"; then
11787
11788 $as_echo "#define BUILD_MIXER \"1\"" >>confdefs.h
11789
11790 fi
11791 if test "$build_pcm" = "yes"; then
11792
11793 $as_echo "#define BUILD_PCM \"1\"" >>confdefs.h
11794
11795 fi
11796 if test "$build_rawmidi" = "yes"; then
11797
11798 $as_echo "#define BUILD_RAWMIDI \"1\"" >>confdefs.h
11799
11800 fi
11801 if test "$build_hwdep" = "yes"; then
11802
11803 $as_echo "#define BUILD_HWDEP \"1\"" >>confdefs.h
11804
11805 fi
11806 if test "$build_seq" = "yes"; then
11807
11808 $as_echo "#define BUILD_SEQ \"1\"" >>confdefs.h
11809
11810 fi
11811 if test "$build_ucm" = "yes"; then
11812
11813 $as_echo "#define BUILD_UCM \"1\"" >>confdefs.h
11814
11815 fi
11816
11817
11818 if test "$build_pcm" = "yes"; then
11819
11820 # Check whether --with-pcm-plugins was given.
11821 if test "${with_pcm_plugins+set}" = set; then :
11822   withval=$with_pcm_plugins; pcm_plugins="$withval"
11823 else
11824   pcm_plugins="all"
11825 fi
11826
11827 else
11828 pcm_plugins=""
11829 fi
11830
11831 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"
11832
11833 build_pcm_plugin="no"
11834 for t in $PCM_PLUGIN_LIST; do
11835   eval build_pcm_$t="no"
11836 done
11837
11838 pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'`
11839 for p in $pcm_plugins; do
11840   for t in $PCM_PLUGIN_LIST; do
11841     if test "$p" = "$t" -o "$p" = "all"; then
11842       eval build_pcm_$t="yes"
11843       build_pcm_plugin="yes"
11844     fi
11845   done
11846 done
11847
11848 if test "$build_pcm_plug" = "yes"; then
11849   build_pcm_linear="yes"
11850   build_pcm_copy="yes"
11851 fi
11852
11853 if test "$build_pcm_ioplug" = "yes"; then
11854   build_pcm_extplug="yes"
11855 fi
11856
11857 if test "$HAVE_LIBDL" != "yes"; then
11858   build_pcm_meter="no"
11859   build_pcm_ladspa="no"
11860   build_pcm_pcm_ioplug="no"
11861   build_pcm_pcm_extplug="no"
11862 fi
11863
11864 if test "$HAVE_LIBPTHREAD" != "yes"; then
11865   build_pcm_share="no"
11866 fi
11867
11868 if test "$softfloat" = "yes"; then
11869   build_pcm_lfloat="no"
11870   build_pcm_ladspa="no"
11871 fi
11872
11873  if test x$build_pcm_plugin = xyes; then
11874   BUILD_PCM_PLUGIN_TRUE=
11875   BUILD_PCM_PLUGIN_FALSE='#'
11876 else
11877   BUILD_PCM_PLUGIN_TRUE='#'
11878   BUILD_PCM_PLUGIN_FALSE=
11879 fi
11880
11881  if test x$build_pcm_copy = xyes; then
11882   BUILD_PCM_PLUGIN_COPY_TRUE=
11883   BUILD_PCM_PLUGIN_COPY_FALSE='#'
11884 else
11885   BUILD_PCM_PLUGIN_COPY_TRUE='#'
11886   BUILD_PCM_PLUGIN_COPY_FALSE=
11887 fi
11888
11889  if test x$build_pcm_linear = xyes; then
11890   BUILD_PCM_PLUGIN_LINEAR_TRUE=
11891   BUILD_PCM_PLUGIN_LINEAR_FALSE='#'
11892 else
11893   BUILD_PCM_PLUGIN_LINEAR_TRUE='#'
11894   BUILD_PCM_PLUGIN_LINEAR_FALSE=
11895 fi
11896
11897  if test x$build_pcm_route = xyes; then
11898   BUILD_PCM_PLUGIN_ROUTE_TRUE=
11899   BUILD_PCM_PLUGIN_ROUTE_FALSE='#'
11900 else
11901   BUILD_PCM_PLUGIN_ROUTE_TRUE='#'
11902   BUILD_PCM_PLUGIN_ROUTE_FALSE=
11903 fi
11904
11905  if test x$build_pcm_mulaw = xyes; then
11906   BUILD_PCM_PLUGIN_MULAW_TRUE=
11907   BUILD_PCM_PLUGIN_MULAW_FALSE='#'
11908 else
11909   BUILD_PCM_PLUGIN_MULAW_TRUE='#'
11910   BUILD_PCM_PLUGIN_MULAW_FALSE=
11911 fi
11912
11913  if test x$build_pcm_alaw = xyes; then
11914   BUILD_PCM_PLUGIN_ALAW_TRUE=
11915   BUILD_PCM_PLUGIN_ALAW_FALSE='#'
11916 else
11917   BUILD_PCM_PLUGIN_ALAW_TRUE='#'
11918   BUILD_PCM_PLUGIN_ALAW_FALSE=
11919 fi
11920
11921  if test x$build_pcm_adpcm = xyes; then
11922   BUILD_PCM_PLUGIN_ADPCM_TRUE=
11923   BUILD_PCM_PLUGIN_ADPCM_FALSE='#'
11924 else
11925   BUILD_PCM_PLUGIN_ADPCM_TRUE='#'
11926   BUILD_PCM_PLUGIN_ADPCM_FALSE=
11927 fi
11928
11929  if test x$build_pcm_rate = xyes; then
11930   BUILD_PCM_PLUGIN_RATE_TRUE=
11931   BUILD_PCM_PLUGIN_RATE_FALSE='#'
11932 else
11933   BUILD_PCM_PLUGIN_RATE_TRUE='#'
11934   BUILD_PCM_PLUGIN_RATE_FALSE=
11935 fi
11936
11937  if test x$build_pcm_plug = xyes; then
11938   BUILD_PCM_PLUGIN_PLUG_TRUE=
11939   BUILD_PCM_PLUGIN_PLUG_FALSE='#'
11940 else
11941   BUILD_PCM_PLUGIN_PLUG_TRUE='#'
11942   BUILD_PCM_PLUGIN_PLUG_FALSE=
11943 fi
11944
11945  if test x$build_pcm_multi = xyes; then
11946   BUILD_PCM_PLUGIN_MULTI_TRUE=
11947   BUILD_PCM_PLUGIN_MULTI_FALSE='#'
11948 else
11949   BUILD_PCM_PLUGIN_MULTI_TRUE='#'
11950   BUILD_PCM_PLUGIN_MULTI_FALSE=
11951 fi
11952
11953  if test x$build_pcm_shm = xyes; then
11954   BUILD_PCM_PLUGIN_SHM_TRUE=
11955   BUILD_PCM_PLUGIN_SHM_FALSE='#'
11956 else
11957   BUILD_PCM_PLUGIN_SHM_TRUE='#'
11958   BUILD_PCM_PLUGIN_SHM_FALSE=
11959 fi
11960
11961  if test x$build_pcm_file = xyes; then
11962   BUILD_PCM_PLUGIN_FILE_TRUE=
11963   BUILD_PCM_PLUGIN_FILE_FALSE='#'
11964 else
11965   BUILD_PCM_PLUGIN_FILE_TRUE='#'
11966   BUILD_PCM_PLUGIN_FILE_FALSE=
11967 fi
11968
11969  if test x$build_pcm_null = xyes; then
11970   BUILD_PCM_PLUGIN_NULL_TRUE=
11971   BUILD_PCM_PLUGIN_NULL_FALSE='#'
11972 else
11973   BUILD_PCM_PLUGIN_NULL_TRUE='#'
11974   BUILD_PCM_PLUGIN_NULL_FALSE=
11975 fi
11976
11977  if test x$build_pcm_empty = xyes; then
11978   BUILD_PCM_PLUGIN_EMPTY_TRUE=
11979   BUILD_PCM_PLUGIN_EMPTY_FALSE='#'
11980 else
11981   BUILD_PCM_PLUGIN_EMPTY_TRUE='#'
11982   BUILD_PCM_PLUGIN_EMPTY_FALSE=
11983 fi
11984
11985  if test x$build_pcm_share = xyes; then
11986   BUILD_PCM_PLUGIN_SHARE_TRUE=
11987   BUILD_PCM_PLUGIN_SHARE_FALSE='#'
11988 else
11989   BUILD_PCM_PLUGIN_SHARE_TRUE='#'
11990   BUILD_PCM_PLUGIN_SHARE_FALSE=
11991 fi
11992
11993  if test x$build_pcm_meter = xyes; then
11994   BUILD_PCM_PLUGIN_METER_TRUE=
11995   BUILD_PCM_PLUGIN_METER_FALSE='#'
11996 else
11997   BUILD_PCM_PLUGIN_METER_TRUE='#'
11998   BUILD_PCM_PLUGIN_METER_FALSE=
11999 fi
12000
12001  if test x$build_pcm_hooks = xyes; then
12002   BUILD_PCM_PLUGIN_HOOKS_TRUE=
12003   BUILD_PCM_PLUGIN_HOOKS_FALSE='#'
12004 else
12005   BUILD_PCM_PLUGIN_HOOKS_TRUE='#'
12006   BUILD_PCM_PLUGIN_HOOKS_FALSE=
12007 fi
12008
12009  if test x$build_pcm_lfloat = xyes; then
12010   BUILD_PCM_PLUGIN_LFLOAT_TRUE=
12011   BUILD_PCM_PLUGIN_LFLOAT_FALSE='#'
12012 else
12013   BUILD_PCM_PLUGIN_LFLOAT_TRUE='#'
12014   BUILD_PCM_PLUGIN_LFLOAT_FALSE=
12015 fi
12016
12017  if test x$build_pcm_ladspa = xyes; then
12018   BUILD_PCM_PLUGIN_LADSPA_TRUE=
12019   BUILD_PCM_PLUGIN_LADSPA_FALSE='#'
12020 else
12021   BUILD_PCM_PLUGIN_LADSPA_TRUE='#'
12022   BUILD_PCM_PLUGIN_LADSPA_FALSE=
12023 fi
12024
12025  if test x$build_pcm_dmix = xyes; then
12026   BUILD_PCM_PLUGIN_DMIX_TRUE=
12027   BUILD_PCM_PLUGIN_DMIX_FALSE='#'
12028 else
12029   BUILD_PCM_PLUGIN_DMIX_TRUE='#'
12030   BUILD_PCM_PLUGIN_DMIX_FALSE=
12031 fi
12032
12033  if test x$build_pcm_dshare = xyes; then
12034   BUILD_PCM_PLUGIN_DSHARE_TRUE=
12035   BUILD_PCM_PLUGIN_DSHARE_FALSE='#'
12036 else
12037   BUILD_PCM_PLUGIN_DSHARE_TRUE='#'
12038   BUILD_PCM_PLUGIN_DSHARE_FALSE=
12039 fi
12040
12041  if test x$build_pcm_dsnoop = xyes; then
12042   BUILD_PCM_PLUGIN_DSNOOP_TRUE=
12043   BUILD_PCM_PLUGIN_DSNOOP_FALSE='#'
12044 else
12045   BUILD_PCM_PLUGIN_DSNOOP_TRUE='#'
12046   BUILD_PCM_PLUGIN_DSNOOP_FALSE=
12047 fi
12048
12049  if test x$build_pcm_asym = xyes; then
12050   BUILD_PCM_PLUGIN_ASYM_TRUE=
12051   BUILD_PCM_PLUGIN_ASYM_FALSE='#'
12052 else
12053   BUILD_PCM_PLUGIN_ASYM_TRUE='#'
12054   BUILD_PCM_PLUGIN_ASYM_FALSE=
12055 fi
12056
12057  if test x$build_pcm_iec958 = xyes; then
12058   BUILD_PCM_PLUGIN_IEC958_TRUE=
12059   BUILD_PCM_PLUGIN_IEC958_FALSE='#'
12060 else
12061   BUILD_PCM_PLUGIN_IEC958_TRUE='#'
12062   BUILD_PCM_PLUGIN_IEC958_FALSE=
12063 fi
12064
12065  if test x$build_pcm_softvol = xyes; then
12066   BUILD_PCM_PLUGIN_SOFTVOL_TRUE=
12067   BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#'
12068 else
12069   BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#'
12070   BUILD_PCM_PLUGIN_SOFTVOL_FALSE=
12071 fi
12072
12073  if test x$build_pcm_extplug = xyes; then
12074   BUILD_PCM_PLUGIN_EXTPLUG_TRUE=
12075   BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#'
12076 else
12077   BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#'
12078   BUILD_PCM_PLUGIN_EXTPLUG_FALSE=
12079 fi
12080
12081  if test x$build_pcm_ioplug = xyes; then
12082   BUILD_PCM_PLUGIN_IOPLUG_TRUE=
12083   BUILD_PCM_PLUGIN_IOPLUG_FALSE='#'
12084 else
12085   BUILD_PCM_PLUGIN_IOPLUG_TRUE='#'
12086   BUILD_PCM_PLUGIN_IOPLUG_FALSE=
12087 fi
12088
12089  if test x$build_pcm_mmap_emul = xyes; then
12090   BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE=
12091   BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#'
12092 else
12093   BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#'
12094   BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE=
12095 fi
12096
12097
12098 if test "$build_pcm_rate" = "yes"; then
12099
12100 $as_echo "#define BUILD_PCM_PLUGIN_RATE \"1\"" >>confdefs.h
12101
12102 fi
12103 if test "$build_pcm_route" = "yes"; then
12104
12105 $as_echo "#define BUILD_PCM_PLUGIN_ROUTE \"1\"" >>confdefs.h
12106
12107 fi
12108 if test "$build_pcm_lfloat" = "yes"; then
12109
12110 $as_echo "#define BUILD_PCM_PLUGIN_LFLOAT \"1\"" >>confdefs.h
12111
12112 fi
12113 if test "$build_pcm_adpcm" = "yes"; then
12114
12115 $as_echo "#define BUILD_PCM_PLUGIN_ADPCM \"1\"" >>confdefs.h
12116
12117 fi
12118 if test "$build_pcm_mulaw" = "yes"; then
12119
12120 $as_echo "#define BUILD_PCM_PLUGIN_MULAW \"1\"" >>confdefs.h
12121
12122 fi
12123 if test "$build_pcm_alaw" = "yes"; then
12124
12125 $as_echo "#define BUILD_PCM_PLUGIN_ALAW \"1\"" >>confdefs.h
12126
12127 fi
12128 if test "$build_pcm_mmap_emul" = "yes"; then
12129
12130 $as_echo "#define BUILD_PCM_PLUGIN_MMAP_EMUL \"1\"" >>confdefs.h
12131
12132 fi
12133
12134
12135 rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
12136 touch "$srcdir"/src/pcm/pcm_symbols_list.c
12137 for t in $PCM_PLUGIN_LIST; do
12138   if eval test \$build_pcm_$t = yes; then
12139     echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
12140   fi
12141 done
12142
12143
12144
12145 # Check whether --with-ctl-plugins was given.
12146 if test "${with_ctl_plugins+set}" = set; then :
12147   withval=$with_ctl_plugins; ctl_plugins="$withval"
12148 else
12149   ctl_plugins="all"
12150 fi
12151
12152
12153 CTL_PLUGIN_LIST="shm ext"
12154
12155 build_ctl_plugin="no"
12156 for t in $CTL_PLUGIN_LIST; do
12157   eval build_ctl_$t="no"
12158 done
12159
12160 ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'`
12161 for p in $ctl_plugins; do
12162   for t in $CTL_PLUGIN_LIST; do
12163     if test "$p" = "$t" -o "$p" = "all"; then
12164       eval build_ctl_$t="yes"
12165       build_ctl_plugin="yes"
12166     fi
12167   done
12168 done
12169
12170  if test x$build_ctl_plugin = xyes; then
12171   BUILD_CTL_PLUGIN_TRUE=
12172   BUILD_CTL_PLUGIN_FALSE='#'
12173 else
12174   BUILD_CTL_PLUGIN_TRUE='#'
12175   BUILD_CTL_PLUGIN_FALSE=
12176 fi
12177
12178  if test x$build_ctl_shm = xyes; then
12179   BUILD_CTL_PLUGIN_SHM_TRUE=
12180   BUILD_CTL_PLUGIN_SHM_FALSE='#'
12181 else
12182   BUILD_CTL_PLUGIN_SHM_TRUE='#'
12183   BUILD_CTL_PLUGIN_SHM_FALSE=
12184 fi
12185
12186  if test x$build_ctl_ext = xyes; then
12187   BUILD_CTL_PLUGIN_EXT_TRUE=
12188   BUILD_CTL_PLUGIN_EXT_FALSE='#'
12189 else
12190   BUILD_CTL_PLUGIN_EXT_TRUE='#'
12191   BUILD_CTL_PLUGIN_EXT_FALSE=
12192 fi
12193
12194
12195 rm -f "$srcdir"/src/control/ctl_symbols_list.c
12196 touch "$srcdir"/src/control/ctl_symbols_list.c
12197 for t in $CTL_PLUGIN_LIST; do
12198   if eval test \$build_ctl_$t = yes; then
12199     echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c
12200   fi
12201 done
12202
12203 if test ! -L "$srcdir"/include/alsa ; then
12204   echo "Making a symlink include/alsa"
12205   rm -f "$srcdir"/include/alsa
12206   ln -sf . "$srcdir"/include/alsa
12207 fi
12208
12209 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/compat/Makefile src/alisp/Makefile src/conf/Makefile src/conf/cards/Makefile src/conf/pcm/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"
12210
12211 cat >confcache <<\_ACEOF
12212 # This file is a shell script that caches the results of configure
12213 # tests run on this system so they can be shared between configure
12214 # scripts and configure runs, see configure's option --config-cache.
12215 # It is not useful on other systems.  If it contains results you don't
12216 # want to keep, you may remove or edit it.
12217 #
12218 # config.status only pays attention to the cache file if you give it
12219 # the --recheck option to rerun configure.
12220 #
12221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12223 # following values.
12224
12225 _ACEOF
12226
12227 # The following way of writing the cache mishandles newlines in values,
12228 # but we know of no workaround that is simple, portable, and efficient.
12229 # So, we kill variables containing newlines.
12230 # Ultrix sh set writes to stderr and can't be redirected directly,
12231 # and sets the high bit in the cache file unless we assign to the vars.
12232 (
12233   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12234     eval ac_val=\$$ac_var
12235     case $ac_val in #(
12236     *${as_nl}*)
12237       case $ac_var in #(
12238       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12240       esac
12241       case $ac_var in #(
12242       _ | IFS | as_nl) ;; #(
12243       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12244       *) { eval $ac_var=; unset $ac_var;} ;;
12245       esac ;;
12246     esac
12247   done
12248
12249   (set) 2>&1 |
12250     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12251     *${as_nl}ac_space=\ *)
12252       # `set' does not quote correctly, so add quotes: double-quote
12253       # substitution turns \\\\ into \\, and sed turns \\ into \.
12254       sed -n \
12255         "s/'/'\\\\''/g;
12256           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12257       ;; #(
12258     *)
12259       # `set' quotes correctly as required by POSIX, so do not add quotes.
12260       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12261       ;;
12262     esac |
12263     sort
12264 ) |
12265   sed '
12266      /^ac_cv_env_/b end
12267      t clear
12268      :clear
12269      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12270      t end
12271      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12272      :end' >>confcache
12273 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12274   if test -w "$cache_file"; then
12275     test "x$cache_file" != "x/dev/null" &&
12276       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12277 $as_echo "$as_me: updating cache $cache_file" >&6;}
12278     cat confcache >$cache_file
12279   else
12280     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12281 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12282   fi
12283 fi
12284 rm -f confcache
12285
12286 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12287 # Let make expand exec_prefix.
12288 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12289
12290 DEFS=-DHAVE_CONFIG_H
12291
12292 ac_libobjs=
12293 ac_ltlibobjs=
12294 U=
12295 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12296   # 1. Remove the extension, and $U if already installed.
12297   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12298   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12299   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12300   #    will be set to the directory where LIBOBJS objects are built.
12301   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12302   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12303 done
12304 LIBOBJS=$ac_libobjs
12305
12306 LTLIBOBJS=$ac_ltlibobjs
12307
12308
12309  if test -n "$EXEEXT"; then
12310   am__EXEEXT_TRUE=
12311   am__EXEEXT_FALSE='#'
12312 else
12313   am__EXEEXT_TRUE='#'
12314   am__EXEEXT_FALSE=
12315 fi
12316
12317 if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then
12318   as_fn_error $? "conditional \"INSTALL_M4\" was never defined.
12319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12320 fi
12321 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12322   as_fn_error $? "conditional \"AMDEP\" was never defined.
12323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12324 fi
12325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12326   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12328 fi
12329 if test -z "${ALSA_HSEARCH_R_TRUE}" && test -z "${ALSA_HSEARCH_R_FALSE}"; then
12330   as_fn_error $? "conditional \"ALSA_HSEARCH_R\" was never defined.
12331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12332 fi
12333 if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
12334   as_fn_error $? "conditional \"VERSIONED_SYMBOLS\" was never defined.
12335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12336 fi
12337 if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then
12338   as_fn_error $? "conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
12339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12340 fi
12341 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
12342   as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
12343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12344 fi
12345 if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then
12346   as_fn_error $? "conditional \"KEEP_OLD_SYMBOLS\" was never defined.
12347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12348 fi
12349 if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then
12350   as_fn_error $? "conditional \"BUILD_MIXER\" was never defined.
12351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12352 fi
12353 if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then
12354   as_fn_error $? "conditional \"BUILD_PCM\" was never defined.
12355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12356 fi
12357 if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then
12358   as_fn_error $? "conditional \"BUILD_RAWMIDI\" was never defined.
12359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12360 fi
12361 if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then
12362   as_fn_error $? "conditional \"BUILD_HWDEP\" was never defined.
12363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12364 fi
12365 if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then
12366   as_fn_error $? "conditional \"BUILD_SEQ\" was never defined.
12367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12368 fi
12369 if test -z "${BUILD_UCM_TRUE}" && test -z "${BUILD_UCM_FALSE}"; then
12370   as_fn_error $? "conditional \"BUILD_UCM\" was never defined.
12371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12372 fi
12373 if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then
12374   as_fn_error $? "conditional \"BUILD_ALISP\" was never defined.
12375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12376 fi
12377 if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then
12378   as_fn_error $? "conditional \"BUILD_PYTHON\" was never defined.
12379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12380 fi
12381 if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then
12382   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN\" was never defined.
12383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12384 fi
12385 if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then
12386   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined.
12387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12388 fi
12389 if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then
12390   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined.
12391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12392 fi
12393 if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then
12394   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined.
12395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12396 fi
12397 if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then
12398   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined.
12399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12400 fi
12401 if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then
12402   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined.
12403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12404 fi
12405 if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then
12406   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined.
12407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12408 fi
12409 if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then
12410   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined.
12411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12412 fi
12413 if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then
12414   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined.
12415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12416 fi
12417 if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then
12418   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined.
12419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12420 fi
12421 if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then
12422   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined.
12423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12424 fi
12425 if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then
12426   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined.
12427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12428 fi
12429 if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then
12430   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined.
12431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12432 fi
12433 if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then
12434   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined.
12435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12436 fi
12437 if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then
12438   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined.
12439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12440 fi
12441 if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then
12442   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_METER\" was never defined.
12443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12444 fi
12445 if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then
12446   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined.
12447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12448 fi
12449 if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then
12450   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined.
12451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12452 fi
12453 if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then
12454   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined.
12455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12456 fi
12457 if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then
12458   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined.
12459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12460 fi
12461 if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then
12462   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined.
12463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12464 fi
12465 if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then
12466   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined.
12467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12468 fi
12469 if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then
12470   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined.
12471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12472 fi
12473 if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then
12474   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined.
12475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12476 fi
12477 if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then
12478   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined.
12479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12480 fi
12481 if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then
12482   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined.
12483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12484 fi
12485 if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then
12486   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined.
12487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12488 fi
12489 if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then
12490   as_fn_error $? "conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined.
12491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12492 fi
12493 if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then
12494   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN\" was never defined.
12495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12496 fi
12497 if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then
12498   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined.
12499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12500 fi
12501 if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then
12502   as_fn_error $? "conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined.
12503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12504 fi
12505
12506 : ${CONFIG_STATUS=./config.status}
12507 ac_write_fail=0
12508 ac_clean_files_save=$ac_clean_files
12509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12511 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12512 as_write_fail=0
12513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12514 #! $SHELL
12515 # Generated by $as_me.
12516 # Run this file to recreate the current configuration.
12517 # Compiler output produced by configure, useful for debugging
12518 # configure, is in config.log if it exists.
12519
12520 debug=false
12521 ac_cs_recheck=false
12522 ac_cs_silent=false
12523
12524 SHELL=\${CONFIG_SHELL-$SHELL}
12525 export SHELL
12526 _ASEOF
12527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12528 ## -------------------- ##
12529 ## M4sh Initialization. ##
12530 ## -------------------- ##
12531
12532 # Be more Bourne compatible
12533 DUALCASE=1; export DUALCASE # for MKS sh
12534 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12535   emulate sh
12536   NULLCMD=:
12537   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12538   # is contrary to our usage.  Disable this feature.
12539   alias -g '${1+"$@"}'='"$@"'
12540   setopt NO_GLOB_SUBST
12541 else
12542   case `(set -o) 2>/dev/null` in #(
12543   *posix*) :
12544     set -o posix ;; #(
12545   *) :
12546      ;;
12547 esac
12548 fi
12549
12550
12551 as_nl='
12552 '
12553 export as_nl
12554 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12555 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12556 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12558 # Prefer a ksh shell builtin over an external printf program on Solaris,
12559 # but without wasting forks for bash or zsh.
12560 if test -z "$BASH_VERSION$ZSH_VERSION" \
12561     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12562   as_echo='print -r --'
12563   as_echo_n='print -rn --'
12564 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12565   as_echo='printf %s\n'
12566   as_echo_n='printf %s'
12567 else
12568   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12569     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12570     as_echo_n='/usr/ucb/echo -n'
12571   else
12572     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12573     as_echo_n_body='eval
12574       arg=$1;
12575       case $arg in #(
12576       *"$as_nl"*)
12577         expr "X$arg" : "X\\(.*\\)$as_nl";
12578         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12579       esac;
12580       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12581     '
12582     export as_echo_n_body
12583     as_echo_n='sh -c $as_echo_n_body as_echo'
12584   fi
12585   export as_echo_body
12586   as_echo='sh -c $as_echo_body as_echo'
12587 fi
12588
12589 # The user is always right.
12590 if test "${PATH_SEPARATOR+set}" != set; then
12591   PATH_SEPARATOR=:
12592   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12593     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12594       PATH_SEPARATOR=';'
12595   }
12596 fi
12597
12598
12599 # IFS
12600 # We need space, tab and new line, in precisely that order.  Quoting is
12601 # there to prevent editors from complaining about space-tab.
12602 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12603 # splitting by setting IFS to empty value.)
12604 IFS=" ""        $as_nl"
12605
12606 # Find who we are.  Look in the path if we contain no directory separator.
12607 case $0 in #((
12608   *[\\/]* ) as_myself=$0 ;;
12609   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12611 do
12612   IFS=$as_save_IFS
12613   test -z "$as_dir" && as_dir=.
12614     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12615   done
12616 IFS=$as_save_IFS
12617
12618      ;;
12619 esac
12620 # We did not find ourselves, most probably we were run as `sh COMMAND'
12621 # in which case we are not to be found in the path.
12622 if test "x$as_myself" = x; then
12623   as_myself=$0
12624 fi
12625 if test ! -f "$as_myself"; then
12626   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12627   exit 1
12628 fi
12629
12630 # Unset variables that we do not need and which cause bugs (e.g. in
12631 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12632 # suppresses any "Segmentation fault" message there.  '((' could
12633 # trigger a bug in pdksh 5.2.14.
12634 for as_var in BASH_ENV ENV MAIL MAILPATH
12635 do eval test x\${$as_var+set} = xset \
12636   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12637 done
12638 PS1='$ '
12639 PS2='> '
12640 PS4='+ '
12641
12642 # NLS nuisances.
12643 LC_ALL=C
12644 export LC_ALL
12645 LANGUAGE=C
12646 export LANGUAGE
12647
12648 # CDPATH.
12649 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12650
12651
12652 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12653 # ----------------------------------------
12654 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12655 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12656 # script with STATUS, using 1 if that was 0.
12657 as_fn_error ()
12658 {
12659   as_status=$1; test $as_status -eq 0 && as_status=1
12660   if test "$4"; then
12661     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12662     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12663   fi
12664   $as_echo "$as_me: error: $2" >&2
12665   as_fn_exit $as_status
12666 } # as_fn_error
12667
12668
12669 # as_fn_set_status STATUS
12670 # -----------------------
12671 # Set $? to STATUS, without forking.
12672 as_fn_set_status ()
12673 {
12674   return $1
12675 } # as_fn_set_status
12676
12677 # as_fn_exit STATUS
12678 # -----------------
12679 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12680 as_fn_exit ()
12681 {
12682   set +e
12683   as_fn_set_status $1
12684   exit $1
12685 } # as_fn_exit
12686
12687 # as_fn_unset VAR
12688 # ---------------
12689 # Portably unset VAR.
12690 as_fn_unset ()
12691 {
12692   { eval $1=; unset $1;}
12693 }
12694 as_unset=as_fn_unset
12695 # as_fn_append VAR VALUE
12696 # ----------------------
12697 # Append the text in VALUE to the end of the definition contained in VAR. Take
12698 # advantage of any shell optimizations that allow amortized linear growth over
12699 # repeated appends, instead of the typical quadratic growth present in naive
12700 # implementations.
12701 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12702   eval 'as_fn_append ()
12703   {
12704     eval $1+=\$2
12705   }'
12706 else
12707   as_fn_append ()
12708   {
12709     eval $1=\$$1\$2
12710   }
12711 fi # as_fn_append
12712
12713 # as_fn_arith ARG...
12714 # ------------------
12715 # Perform arithmetic evaluation on the ARGs, and store the result in the
12716 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12717 # must be portable across $(()) and expr.
12718 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12719   eval 'as_fn_arith ()
12720   {
12721     as_val=$(( $* ))
12722   }'
12723 else
12724   as_fn_arith ()
12725   {
12726     as_val=`expr "$@" || test $? -eq 1`
12727   }
12728 fi # as_fn_arith
12729
12730
12731 if expr a : '\(a\)' >/dev/null 2>&1 &&
12732    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12733   as_expr=expr
12734 else
12735   as_expr=false
12736 fi
12737
12738 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12739   as_basename=basename
12740 else
12741   as_basename=false
12742 fi
12743
12744 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12745   as_dirname=dirname
12746 else
12747   as_dirname=false
12748 fi
12749
12750 as_me=`$as_basename -- "$0" ||
12751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12752          X"$0" : 'X\(//\)$' \| \
12753          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12754 $as_echo X/"$0" |
12755     sed '/^.*\/\([^/][^/]*\)\/*$/{
12756             s//\1/
12757             q
12758           }
12759           /^X\/\(\/\/\)$/{
12760             s//\1/
12761             q
12762           }
12763           /^X\/\(\/\).*/{
12764             s//\1/
12765             q
12766           }
12767           s/.*/./; q'`
12768
12769 # Avoid depending upon Character Ranges.
12770 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12771 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12772 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12773 as_cr_digits='0123456789'
12774 as_cr_alnum=$as_cr_Letters$as_cr_digits
12775
12776 ECHO_C= ECHO_N= ECHO_T=
12777 case `echo -n x` in #(((((
12778 -n*)
12779   case `echo 'xy\c'` in
12780   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12781   xy)  ECHO_C='\c';;
12782   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12783        ECHO_T=' ';;
12784   esac;;
12785 *)
12786   ECHO_N='-n';;
12787 esac
12788
12789 rm -f conf$$ conf$$.exe conf$$.file
12790 if test -d conf$$.dir; then
12791   rm -f conf$$.dir/conf$$.file
12792 else
12793   rm -f conf$$.dir
12794   mkdir conf$$.dir 2>/dev/null
12795 fi
12796 if (echo >conf$$.file) 2>/dev/null; then
12797   if ln -s conf$$.file conf$$ 2>/dev/null; then
12798     as_ln_s='ln -s'
12799     # ... but there are two gotchas:
12800     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12801     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12802     # In both cases, we have to default to `cp -p'.
12803     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12804       as_ln_s='cp -p'
12805   elif ln conf$$.file conf$$ 2>/dev/null; then
12806     as_ln_s=ln
12807   else
12808     as_ln_s='cp -p'
12809   fi
12810 else
12811   as_ln_s='cp -p'
12812 fi
12813 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12814 rmdir conf$$.dir 2>/dev/null
12815
12816
12817 # as_fn_mkdir_p
12818 # -------------
12819 # Create "$as_dir" as a directory, including parents if necessary.
12820 as_fn_mkdir_p ()
12821 {
12822
12823   case $as_dir in #(
12824   -*) as_dir=./$as_dir;;
12825   esac
12826   test -d "$as_dir" || eval $as_mkdir_p || {
12827     as_dirs=
12828     while :; do
12829       case $as_dir in #(
12830       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12831       *) as_qdir=$as_dir;;
12832       esac
12833       as_dirs="'$as_qdir' $as_dirs"
12834       as_dir=`$as_dirname -- "$as_dir" ||
12835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12836          X"$as_dir" : 'X\(//\)[^/]' \| \
12837          X"$as_dir" : 'X\(//\)$' \| \
12838          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12839 $as_echo X"$as_dir" |
12840     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12841             s//\1/
12842             q
12843           }
12844           /^X\(\/\/\)[^/].*/{
12845             s//\1/
12846             q
12847           }
12848           /^X\(\/\/\)$/{
12849             s//\1/
12850             q
12851           }
12852           /^X\(\/\).*/{
12853             s//\1/
12854             q
12855           }
12856           s/.*/./; q'`
12857       test -d "$as_dir" && break
12858     done
12859     test -z "$as_dirs" || eval "mkdir $as_dirs"
12860   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12861
12862
12863 } # as_fn_mkdir_p
12864 if mkdir -p . 2>/dev/null; then
12865   as_mkdir_p='mkdir -p "$as_dir"'
12866 else
12867   test -d ./-p && rmdir ./-p
12868   as_mkdir_p=false
12869 fi
12870
12871 if test -x / >/dev/null 2>&1; then
12872   as_test_x='test -x'
12873 else
12874   if ls -dL / >/dev/null 2>&1; then
12875     as_ls_L_option=L
12876   else
12877     as_ls_L_option=
12878   fi
12879   as_test_x='
12880     eval sh -c '\''
12881       if test -d "$1"; then
12882         test -d "$1/.";
12883       else
12884         case $1 in #(
12885         -*)set "./$1";;
12886         esac;
12887         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12888         ???[sx]*):;;*)false;;esac;fi
12889     '\'' sh
12890   '
12891 fi
12892 as_executable_p=$as_test_x
12893
12894 # Sed expression to map a string onto a valid CPP name.
12895 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12896
12897 # Sed expression to map a string onto a valid variable name.
12898 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12899
12900
12901 exec 6>&1
12902 ## ----------------------------------- ##
12903 ## Main body of $CONFIG_STATUS script. ##
12904 ## ----------------------------------- ##
12905 _ASEOF
12906 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12907
12908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12909 # Save the log message, to keep $0 and so on meaningful, and to
12910 # report actual input values of CONFIG_FILES etc. instead of their
12911 # values after options handling.
12912 ac_log="
12913 This file was extended by $as_me, which was
12914 generated by GNU Autoconf 2.67.  Invocation command line was
12915
12916   CONFIG_FILES    = $CONFIG_FILES
12917   CONFIG_HEADERS  = $CONFIG_HEADERS
12918   CONFIG_LINKS    = $CONFIG_LINKS
12919   CONFIG_COMMANDS = $CONFIG_COMMANDS
12920   $ $0 $@
12921
12922 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12923 "
12924
12925 _ACEOF
12926
12927 case $ac_config_files in *"
12928 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12929 esac
12930
12931 case $ac_config_headers in *"
12932 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12933 esac
12934
12935
12936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12937 # Files that config.status was made for.
12938 config_files="$ac_config_files"
12939 config_headers="$ac_config_headers"
12940 config_commands="$ac_config_commands"
12941
12942 _ACEOF
12943
12944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12945 ac_cs_usage="\
12946 \`$as_me' instantiates files and other configuration actions
12947 from templates according to the current configuration.  Unless the files
12948 and actions are specified as TAGs, all are instantiated by default.
12949
12950 Usage: $0 [OPTION]... [TAG]...
12951
12952   -h, --help       print this help, then exit
12953   -V, --version    print version number and configuration settings, then exit
12954       --config     print configuration, then exit
12955   -q, --quiet, --silent
12956                    do not print progress messages
12957   -d, --debug      don't remove temporary files
12958       --recheck    update $as_me by reconfiguring in the same conditions
12959       --file=FILE[:TEMPLATE]
12960                    instantiate the configuration file FILE
12961       --header=FILE[:TEMPLATE]
12962                    instantiate the configuration header FILE
12963
12964 Configuration files:
12965 $config_files
12966
12967 Configuration headers:
12968 $config_headers
12969
12970 Configuration commands:
12971 $config_commands
12972
12973 Report bugs to the package provider."
12974
12975 _ACEOF
12976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12977 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12978 ac_cs_version="\\
12979 config.status
12980 configured by $0, generated by GNU Autoconf 2.67,
12981   with options \\"\$ac_cs_config\\"
12982
12983 Copyright (C) 2010 Free Software Foundation, Inc.
12984 This config.status script is free software; the Free Software Foundation
12985 gives unlimited permission to copy, distribute and modify it."
12986
12987 ac_pwd='$ac_pwd'
12988 srcdir='$srcdir'
12989 INSTALL='$INSTALL'
12990 MKDIR_P='$MKDIR_P'
12991 AWK='$AWK'
12992 test -n "\$AWK" || AWK=awk
12993 _ACEOF
12994
12995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12996 # The default lists apply if the user does not specify any file.
12997 ac_need_defaults=:
12998 while test $# != 0
12999 do
13000   case $1 in
13001   --*=?*)
13002     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13003     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13004     ac_shift=:
13005     ;;
13006   --*=)
13007     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13008     ac_optarg=
13009     ac_shift=:
13010     ;;
13011   *)
13012     ac_option=$1
13013     ac_optarg=$2
13014     ac_shift=shift
13015     ;;
13016   esac
13017
13018   case $ac_option in
13019   # Handling of the options.
13020   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13021     ac_cs_recheck=: ;;
13022   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13023     $as_echo "$ac_cs_version"; exit ;;
13024   --config | --confi | --conf | --con | --co | --c )
13025     $as_echo "$ac_cs_config"; exit ;;
13026   --debug | --debu | --deb | --de | --d | -d )
13027     debug=: ;;
13028   --file | --fil | --fi | --f )
13029     $ac_shift
13030     case $ac_optarg in
13031     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13032     '') as_fn_error $? "missing file argument" ;;
13033     esac
13034     as_fn_append CONFIG_FILES " '$ac_optarg'"
13035     ac_need_defaults=false;;
13036   --header | --heade | --head | --hea )
13037     $ac_shift
13038     case $ac_optarg in
13039     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13040     esac
13041     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13042     ac_need_defaults=false;;
13043   --he | --h)
13044     # Conflict between --help and --header
13045     as_fn_error $? "ambiguous option: \`$1'
13046 Try \`$0 --help' for more information.";;
13047   --help | --hel | -h )
13048     $as_echo "$ac_cs_usage"; exit ;;
13049   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13050   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13051     ac_cs_silent=: ;;
13052
13053   # This is an error.
13054   -*) as_fn_error $? "unrecognized option: \`$1'
13055 Try \`$0 --help' for more information." ;;
13056
13057   *) as_fn_append ac_config_targets " $1"
13058      ac_need_defaults=false ;;
13059
13060   esac
13061   shift
13062 done
13063
13064 ac_configure_extra_args=
13065
13066 if $ac_cs_silent; then
13067   exec 6>/dev/null
13068   ac_configure_extra_args="$ac_configure_extra_args --silent"
13069 fi
13070
13071 _ACEOF
13072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13073 if \$ac_cs_recheck; then
13074   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13075   shift
13076   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13077   CONFIG_SHELL='$SHELL'
13078   export CONFIG_SHELL
13079   exec "\$@"
13080 fi
13081
13082 _ACEOF
13083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13084 exec 5>>config.log
13085 {
13086   echo
13087   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13088 ## Running $as_me. ##
13089 _ASBOX
13090   $as_echo "$ac_log"
13091 } >&5
13092
13093 _ACEOF
13094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13095 #
13096 # INIT-COMMANDS
13097 #
13098 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13099
13100
13101 # The HP-UX ksh and POSIX shell print the target directory to stdout
13102 # if CDPATH is set.
13103 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13104
13105 sed_quote_subst='$sed_quote_subst'
13106 double_quote_subst='$double_quote_subst'
13107 delay_variable_subst='$delay_variable_subst'
13108 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13109 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13110 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13111 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13112 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13113 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13114 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13115 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13116 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13117 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13118 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13119 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13120 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13121 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13122 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13123 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13124 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13125 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13126 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13127 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13128 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13129 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13130 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13131 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13132 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13133 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13134 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13135 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13136 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13137 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13138 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13139 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13140 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13141 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13142 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13143 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13144 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13145 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13146 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13147 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13148 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13149 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13150 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13151 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13152 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13153 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13154 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13155 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13156 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13157 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13158 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13159 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13160 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13161 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13162 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13163 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13164 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13165 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13166 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13167 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13168 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13169 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13170 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13171 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13172 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13173 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13174 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13175 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13176 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13177 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13178 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13179 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13180 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13181 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13182 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13183 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13184 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13185 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13186 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13187 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13188 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13189 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13190 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13191 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13192 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13193 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13194 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13195 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13196 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13197 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13198 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13199 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13200 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13201 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13203 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13204 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13205 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13206 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13207 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13208 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13209 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13210 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13211 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13212 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13213 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13214 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13215 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13216 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13217 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13218 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13219 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13220 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13221 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13222 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13223 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13224 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13225 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13226
13227 LTCC='$LTCC'
13228 LTCFLAGS='$LTCFLAGS'
13229 compiler='$compiler_DEFAULT'
13230
13231 # Quote evaled strings.
13232 for var in SED \
13233 GREP \
13234 EGREP \
13235 FGREP \
13236 LD \
13237 NM \
13238 LN_S \
13239 lt_SP2NL \
13240 lt_NL2SP \
13241 reload_flag \
13242 OBJDUMP \
13243 deplibs_check_method \
13244 file_magic_cmd \
13245 AR \
13246 AR_FLAGS \
13247 STRIP \
13248 RANLIB \
13249 CC \
13250 CFLAGS \
13251 compiler \
13252 lt_cv_sys_global_symbol_pipe \
13253 lt_cv_sys_global_symbol_to_cdecl \
13254 lt_cv_sys_global_symbol_to_c_name_address \
13255 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13256 SHELL \
13257 ECHO \
13258 lt_prog_compiler_no_builtin_flag \
13259 lt_prog_compiler_wl \
13260 lt_prog_compiler_pic \
13261 lt_prog_compiler_static \
13262 lt_cv_prog_compiler_c_o \
13263 need_locks \
13264 DSYMUTIL \
13265 NMEDIT \
13266 LIPO \
13267 OTOOL \
13268 OTOOL64 \
13269 shrext_cmds \
13270 export_dynamic_flag_spec \
13271 whole_archive_flag_spec \
13272 compiler_needs_object \
13273 with_gnu_ld \
13274 allow_undefined_flag \
13275 no_undefined_flag \
13276 hardcode_libdir_flag_spec \
13277 hardcode_libdir_flag_spec_ld \
13278 hardcode_libdir_separator \
13279 fix_srcfile_path \
13280 exclude_expsyms \
13281 include_expsyms \
13282 file_list_spec \
13283 variables_saved_for_relink \
13284 libname_spec \
13285 library_names_spec \
13286 soname_spec \
13287 finish_eval \
13288 old_striplib \
13289 striplib; do
13290     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13291     *[\\\\\\\`\\"\\\$]*)
13292       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13293       ;;
13294     *)
13295       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13296       ;;
13297     esac
13298 done
13299
13300 # Double-quote double-evaled strings.
13301 for var in reload_cmds \
13302 old_postinstall_cmds \
13303 old_postuninstall_cmds \
13304 old_archive_cmds \
13305 extract_expsyms_cmds \
13306 old_archive_from_new_cmds \
13307 old_archive_from_expsyms_cmds \
13308 archive_cmds \
13309 archive_expsym_cmds \
13310 module_cmds \
13311 module_expsym_cmds \
13312 export_symbols_cmds \
13313 prelink_cmds \
13314 postinstall_cmds \
13315 postuninstall_cmds \
13316 finish_cmds \
13317 sys_lib_search_path_spec \
13318 sys_lib_dlsearch_path_spec; do
13319     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13320     *[\\\\\\\`\\"\\\$]*)
13321       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13322       ;;
13323     *)
13324       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13325       ;;
13326     esac
13327 done
13328
13329 # Fix-up fallback echo if it was mangled by the above quoting rules.
13330 case \$lt_ECHO in
13331 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13332   ;;
13333 esac
13334
13335 ac_aux_dir='$ac_aux_dir'
13336 xsi_shell='$xsi_shell'
13337 lt_shell_append='$lt_shell_append'
13338
13339 # See if we are running on zsh, and set the options which allow our
13340 # commands through without removal of \ escapes INIT.
13341 if test -n "\${ZSH_VERSION+set}" ; then
13342    setopt NO_GLOB_SUBST
13343 fi
13344
13345
13346     PACKAGE='$PACKAGE'
13347     VERSION='$VERSION'
13348     TIMESTAMP='$TIMESTAMP'
13349     RM='$RM'
13350     ofile='$ofile'
13351
13352
13353
13354
13355 _ACEOF
13356
13357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13358
13359 # Handling of arguments.
13360 for ac_config_target in $ac_config_targets
13361 do
13362   case $ac_config_target in
13363     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13364     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13365     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13366     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13367     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13368     "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;;
13369     "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
13370     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13371     "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;;
13372     "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;;
13373     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13374     "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;;
13375     "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;;
13376     "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;;
13377     "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;;
13378     "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;;
13379     "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;;
13380     "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;;
13381     "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;;
13382     "src/ucm/Makefile") CONFIG_FILES="$CONFIG_FILES src/ucm/Makefile" ;;
13383     "src/compat/Makefile") CONFIG_FILES="$CONFIG_FILES src/compat/Makefile" ;;
13384     "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;;
13385     "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;;
13386     "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;;
13387     "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;;
13388     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
13389     "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;;
13390     "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;;
13391     "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;;
13392     "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;;
13393     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13394     "test/lsb/Makefile") CONFIG_FILES="$CONFIG_FILES test/lsb/Makefile" ;;
13395     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
13396     "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;;
13397     "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;;
13398
13399   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13400   esac
13401 done
13402
13403
13404 # If the user did not use the arguments to specify the items to instantiate,
13405 # then the envvar interface is used.  Set only those that are not.
13406 # We use the long form for the default assignment because of an extremely
13407 # bizarre bug on SunOS 4.1.3.
13408 if $ac_need_defaults; then
13409   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13410   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13411   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13412 fi
13413
13414 # Have a temporary directory for convenience.  Make it in the build tree
13415 # simply because there is no reason against having it here, and in addition,
13416 # creating and moving files from /tmp can sometimes cause problems.
13417 # Hook for its removal unless debugging.
13418 # Note that there is a small window in which the directory will not be cleaned:
13419 # after its creation but before its name has been assigned to `$tmp'.
13420 $debug ||
13421 {
13422   tmp=
13423   trap 'exit_status=$?
13424   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13425 ' 0
13426   trap 'as_fn_exit 1' 1 2 13 15
13427 }
13428 # Create a (secure) tmp directory for tmp files.
13429
13430 {
13431   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13432   test -n "$tmp" && test -d "$tmp"
13433 }  ||
13434 {
13435   tmp=./conf$$-$RANDOM
13436   (umask 077 && mkdir "$tmp")
13437 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13438
13439 # Set up the scripts for CONFIG_FILES section.
13440 # No need to generate them if there are no CONFIG_FILES.
13441 # This happens for instance with `./config.status config.h'.
13442 if test -n "$CONFIG_FILES"; then
13443
13444
13445 ac_cr=`echo X | tr X '\015'`
13446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13447 # But we know of no other shell where ac_cr would be empty at this
13448 # point, so we can use a bashism as a fallback.
13449 if test "x$ac_cr" = x; then
13450   eval ac_cr=\$\'\\r\'
13451 fi
13452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13454   ac_cs_awk_cr='\\r'
13455 else
13456   ac_cs_awk_cr=$ac_cr
13457 fi
13458
13459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13460 _ACEOF
13461
13462
13463 {
13464   echo "cat >conf$$subs.awk <<_ACEOF" &&
13465   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13466   echo "_ACEOF"
13467 } >conf$$subs.sh ||
13468   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13470 ac_delim='%!_!# '
13471 for ac_last_try in false false false false false :; do
13472   . ./conf$$subs.sh ||
13473     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13474
13475   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13476   if test $ac_delim_n = $ac_delim_num; then
13477     break
13478   elif $ac_last_try; then
13479     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13480   else
13481     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13482   fi
13483 done
13484 rm -f conf$$subs.sh
13485
13486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13487 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13488 _ACEOF
13489 sed -n '
13490 h
13491 s/^/S["/; s/!.*/"]=/
13492 p
13493 g
13494 s/^[^!]*!//
13495 :repl
13496 t repl
13497 s/'"$ac_delim"'$//
13498 t delim
13499 :nl
13500 h
13501 s/\(.\{148\}\)..*/\1/
13502 t more1
13503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13504 p
13505 n
13506 b repl
13507 :more1
13508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13509 p
13510 g
13511 s/.\{148\}//
13512 t nl
13513 :delim
13514 h
13515 s/\(.\{148\}\)..*/\1/
13516 t more2
13517 s/["\\]/\\&/g; s/^/"/; s/$/"/
13518 p
13519 b
13520 :more2
13521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13522 p
13523 g
13524 s/.\{148\}//
13525 t delim
13526 ' <conf$$subs.awk | sed '
13527 /^[^""]/{
13528   N
13529   s/\n//
13530 }
13531 ' >>$CONFIG_STATUS || ac_write_fail=1
13532 rm -f conf$$subs.awk
13533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13534 _ACAWK
13535 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13536   for (key in S) S_is_set[key] = 1
13537   FS = "\a"
13538
13539 }
13540 {
13541   line = $ 0
13542   nfields = split(line, field, "@")
13543   substed = 0
13544   len = length(field[1])
13545   for (i = 2; i < nfields; i++) {
13546     key = field[i]
13547     keylen = length(key)
13548     if (S_is_set[key]) {
13549       value = S[key]
13550       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13551       len += length(value) + length(field[++i])
13552       substed = 1
13553     } else
13554       len += 1 + keylen
13555   }
13556
13557   print line
13558 }
13559
13560 _ACAWK
13561 _ACEOF
13562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13564   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13565 else
13566   cat
13567 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13568   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13569 _ACEOF
13570
13571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13573 # trailing colons and then remove the whole line if VPATH becomes empty
13574 # (actually we leave an empty line to preserve line numbers).
13575 if test "x$srcdir" = x.; then
13576   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13577 h
13578 s///
13579 s/^/:/
13580 s/[      ]*$/:/
13581 s/:\$(srcdir):/:/g
13582 s/:\${srcdir}:/:/g
13583 s/:@srcdir@:/:/g
13584 s/^:*//
13585 s/:*$//
13586 x
13587 s/\(=[   ]*\).*/\1/
13588 G
13589 s/\n//
13590 s/^[^=]*=[       ]*$//
13591 }'
13592 fi
13593
13594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13595 fi # test -n "$CONFIG_FILES"
13596
13597 # Set up the scripts for CONFIG_HEADERS section.
13598 # No need to generate them if there are no CONFIG_HEADERS.
13599 # This happens for instance with `./config.status Makefile'.
13600 if test -n "$CONFIG_HEADERS"; then
13601 cat >"$tmp/defines.awk" <<\_ACAWK ||
13602 BEGIN {
13603 _ACEOF
13604
13605 # Transform confdefs.h into an awk script `defines.awk', embedded as
13606 # here-document in config.status, that substitutes the proper values into
13607 # config.h.in to produce config.h.
13608
13609 # Create a delimiter string that does not exist in confdefs.h, to ease
13610 # handling of long lines.
13611 ac_delim='%!_!# '
13612 for ac_last_try in false false :; do
13613   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13614   if test -z "$ac_t"; then
13615     break
13616   elif $ac_last_try; then
13617     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13618   else
13619     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13620   fi
13621 done
13622
13623 # For the awk script, D is an array of macro values keyed by name,
13624 # likewise P contains macro parameters if any.  Preserve backslash
13625 # newline sequences.
13626
13627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13628 sed -n '
13629 s/.\{148\}/&'"$ac_delim"'/g
13630 t rset
13631 :rset
13632 s/^[     ]*#[    ]*define[       ][      ]*/ /
13633 t def
13634 d
13635 :def
13636 s/\\$//
13637 t bsnl
13638 s/["\\]/\\&/g
13639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13640 D["\1"]=" \3"/p
13641 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13642 d
13643 :bsnl
13644 s/["\\]/\\&/g
13645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13646 D["\1"]=" \3\\\\\\n"\\/p
13647 t cont
13648 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13649 t cont
13650 d
13651 :cont
13652 n
13653 s/.\{148\}/&'"$ac_delim"'/g
13654 t clear
13655 :clear
13656 s/\\$//
13657 t bsnlc
13658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13659 d
13660 :bsnlc
13661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13662 b cont
13663 ' <confdefs.h | sed '
13664 s/'"$ac_delim"'/"\\\
13665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13666
13667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13668   for (key in D) D_is_set[key] = 1
13669   FS = "\a"
13670 }
13671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13672   line = \$ 0
13673   split(line, arg, " ")
13674   if (arg[1] == "#") {
13675     defundef = arg[2]
13676     mac1 = arg[3]
13677   } else {
13678     defundef = substr(arg[1], 2)
13679     mac1 = arg[2]
13680   }
13681   split(mac1, mac2, "(") #)
13682   macro = mac2[1]
13683   prefix = substr(line, 1, index(line, defundef) - 1)
13684   if (D_is_set[macro]) {
13685     # Preserve the white space surrounding the "#".
13686     print prefix "define", macro P[macro] D[macro]
13687     next
13688   } else {
13689     # Replace #undef with comments.  This is necessary, for example,
13690     # in the case of _POSIX_SOURCE, which is predefined and required
13691     # on some systems where configure will not decide to define it.
13692     if (defundef == "undef") {
13693       print "/*", prefix defundef, macro, "*/"
13694       next
13695     }
13696   }
13697 }
13698 { print }
13699 _ACAWK
13700 _ACEOF
13701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13702   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13703 fi # test -n "$CONFIG_HEADERS"
13704
13705
13706 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13707 shift
13708 for ac_tag
13709 do
13710   case $ac_tag in
13711   :[FHLC]) ac_mode=$ac_tag; continue;;
13712   esac
13713   case $ac_mode$ac_tag in
13714   :[FHL]*:*);;
13715   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13716   :[FH]-) ac_tag=-:-;;
13717   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13718   esac
13719   ac_save_IFS=$IFS
13720   IFS=:
13721   set x $ac_tag
13722   IFS=$ac_save_IFS
13723   shift
13724   ac_file=$1
13725   shift
13726
13727   case $ac_mode in
13728   :L) ac_source=$1;;
13729   :[FH])
13730     ac_file_inputs=
13731     for ac_f
13732     do
13733       case $ac_f in
13734       -) ac_f="$tmp/stdin";;
13735       *) # Look for the file first in the build tree, then in the source tree
13736          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13737          # because $ac_f cannot contain `:'.
13738          test -f "$ac_f" ||
13739            case $ac_f in
13740            [\\/$]*) false;;
13741            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13742            esac ||
13743            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13744       esac
13745       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13746       as_fn_append ac_file_inputs " '$ac_f'"
13747     done
13748
13749     # Let's still pretend it is `configure' which instantiates (i.e., don't
13750     # use $as_me), people would be surprised to read:
13751     #    /* config.h.  Generated by config.status.  */
13752     configure_input='Generated from '`
13753           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13754         `' by configure.'
13755     if test x"$ac_file" != x-; then
13756       configure_input="$ac_file.  $configure_input"
13757       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13758 $as_echo "$as_me: creating $ac_file" >&6;}
13759     fi
13760     # Neutralize special characters interpreted by sed in replacement strings.
13761     case $configure_input in #(
13762     *\&* | *\|* | *\\* )
13763        ac_sed_conf_input=`$as_echo "$configure_input" |
13764        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13765     *) ac_sed_conf_input=$configure_input;;
13766     esac
13767
13768     case $ac_tag in
13769     *:-:* | *:-) cat >"$tmp/stdin" \
13770       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
13771     esac
13772     ;;
13773   esac
13774
13775   ac_dir=`$as_dirname -- "$ac_file" ||
13776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13777          X"$ac_file" : 'X\(//\)[^/]' \| \
13778          X"$ac_file" : 'X\(//\)$' \| \
13779          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13780 $as_echo X"$ac_file" |
13781     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13782             s//\1/
13783             q
13784           }
13785           /^X\(\/\/\)[^/].*/{
13786             s//\1/
13787             q
13788           }
13789           /^X\(\/\/\)$/{
13790             s//\1/
13791             q
13792           }
13793           /^X\(\/\).*/{
13794             s//\1/
13795             q
13796           }
13797           s/.*/./; q'`
13798   as_dir="$ac_dir"; as_fn_mkdir_p
13799   ac_builddir=.
13800
13801 case "$ac_dir" in
13802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13803 *)
13804   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13805   # A ".." for each directory in $ac_dir_suffix.
13806   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13807   case $ac_top_builddir_sub in
13808   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13809   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13810   esac ;;
13811 esac
13812 ac_abs_top_builddir=$ac_pwd
13813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13814 # for backward compatibility:
13815 ac_top_builddir=$ac_top_build_prefix
13816
13817 case $srcdir in
13818   .)  # We are building in place.
13819     ac_srcdir=.
13820     ac_top_srcdir=$ac_top_builddir_sub
13821     ac_abs_top_srcdir=$ac_pwd ;;
13822   [\\/]* | ?:[\\/]* )  # Absolute name.
13823     ac_srcdir=$srcdir$ac_dir_suffix;
13824     ac_top_srcdir=$srcdir
13825     ac_abs_top_srcdir=$srcdir ;;
13826   *) # Relative name.
13827     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13828     ac_top_srcdir=$ac_top_build_prefix$srcdir
13829     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13830 esac
13831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13832
13833
13834   case $ac_mode in
13835   :F)
13836   #
13837   # CONFIG_FILE
13838   #
13839
13840   case $INSTALL in
13841   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13842   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13843   esac
13844   ac_MKDIR_P=$MKDIR_P
13845   case $MKDIR_P in
13846   [\\/$]* | ?:[\\/]* ) ;;
13847   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13848   esac
13849 _ACEOF
13850
13851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13852 # If the template does not know about datarootdir, expand it.
13853 # FIXME: This hack should be removed a few years after 2.60.
13854 ac_datarootdir_hack=; ac_datarootdir_seen=
13855 ac_sed_dataroot='
13856 /datarootdir/ {
13857   p
13858   q
13859 }
13860 /@datadir@/p
13861 /@docdir@/p
13862 /@infodir@/p
13863 /@localedir@/p
13864 /@mandir@/p'
13865 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13866 *datarootdir*) ac_datarootdir_seen=yes;;
13867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13868   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13870 _ACEOF
13871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13872   ac_datarootdir_hack='
13873   s&@datadir@&$datadir&g
13874   s&@docdir@&$docdir&g
13875   s&@infodir@&$infodir&g
13876   s&@localedir@&$localedir&g
13877   s&@mandir@&$mandir&g
13878   s&\\\${datarootdir}&$datarootdir&g' ;;
13879 esac
13880 _ACEOF
13881
13882 # Neutralize VPATH when `$srcdir' = `.'.
13883 # Shell code in configure.ac might set extrasub.
13884 # FIXME: do we really want to maintain this feature?
13885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13886 ac_sed_extra="$ac_vpsub
13887 $extrasub
13888 _ACEOF
13889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13890 :t
13891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13892 s|@configure_input@|$ac_sed_conf_input|;t t
13893 s&@top_builddir@&$ac_top_builddir_sub&;t t
13894 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13895 s&@srcdir@&$ac_srcdir&;t t
13896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13897 s&@top_srcdir@&$ac_top_srcdir&;t t
13898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13899 s&@builddir@&$ac_builddir&;t t
13900 s&@abs_builddir@&$ac_abs_builddir&;t t
13901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13902 s&@INSTALL@&$ac_INSTALL&;t t
13903 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13904 $ac_datarootdir_hack
13905 "
13906 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13907   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13908
13909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13910   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13911   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13912   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13913 which seems to be undefined.  Please make sure it is defined" >&5
13914 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13915 which seems to be undefined.  Please make sure it is defined" >&2;}
13916
13917   rm -f "$tmp/stdin"
13918   case $ac_file in
13919   -) cat "$tmp/out" && rm -f "$tmp/out";;
13920   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13921   esac \
13922   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13923  ;;
13924   :H)
13925   #
13926   # CONFIG_HEADER
13927   #
13928   if test x"$ac_file" != x-; then
13929     {
13930       $as_echo "/* $configure_input  */" \
13931       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13932     } >"$tmp/config.h" \
13933       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13934     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13935       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13936 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13937     else
13938       rm -f "$ac_file"
13939       mv "$tmp/config.h" "$ac_file" \
13940         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13941     fi
13942   else
13943     $as_echo "/* $configure_input  */" \
13944       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13945       || as_fn_error $? "could not create -" "$LINENO" 5
13946   fi
13947 # Compute "$ac_file"'s index in $config_headers.
13948 _am_arg="$ac_file"
13949 _am_stamp_count=1
13950 for _am_header in $config_headers :; do
13951   case $_am_header in
13952     $_am_arg | $_am_arg:* )
13953       break ;;
13954     * )
13955       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13956   esac
13957 done
13958 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13959 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13960          X"$_am_arg" : 'X\(//\)[^/]' \| \
13961          X"$_am_arg" : 'X\(//\)$' \| \
13962          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13963 $as_echo X"$_am_arg" |
13964     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13965             s//\1/
13966             q
13967           }
13968           /^X\(\/\/\)[^/].*/{
13969             s//\1/
13970             q
13971           }
13972           /^X\(\/\/\)$/{
13973             s//\1/
13974             q
13975           }
13976           /^X\(\/\).*/{
13977             s//\1/
13978             q
13979           }
13980           s/.*/./; q'`/stamp-h$_am_stamp_count
13981  ;;
13982
13983   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13984 $as_echo "$as_me: executing $ac_file commands" >&6;}
13985  ;;
13986   esac
13987
13988
13989   case $ac_file$ac_mode in
13990     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13991   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13992   # are listed without --file.  Let's play safe and only enable the eval
13993   # if we detect the quoting.
13994   case $CONFIG_FILES in
13995   *\'*) eval set x "$CONFIG_FILES" ;;
13996   *)   set x $CONFIG_FILES ;;
13997   esac
13998   shift
13999   for mf
14000   do
14001     # Strip MF so we end up with the name of the file.
14002     mf=`echo "$mf" | sed -e 's/:.*$//'`
14003     # Check whether this is an Automake generated Makefile or not.
14004     # We used to match only the files named `Makefile.in', but
14005     # some people rename them; so instead we look at the file content.
14006     # Grep'ing the first line is not enough: some people post-process
14007     # each Makefile.in and add a new line on top of each file to say so.
14008     # Grep'ing the whole file is not good either: AIX grep has a line
14009     # limit of 2048, but all sed's we know have understand at least 4000.
14010     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14011       dirpart=`$as_dirname -- "$mf" ||
14012 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14013          X"$mf" : 'X\(//\)[^/]' \| \
14014          X"$mf" : 'X\(//\)$' \| \
14015          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14016 $as_echo X"$mf" |
14017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14018             s//\1/
14019             q
14020           }
14021           /^X\(\/\/\)[^/].*/{
14022             s//\1/
14023             q
14024           }
14025           /^X\(\/\/\)$/{
14026             s//\1/
14027             q
14028           }
14029           /^X\(\/\).*/{
14030             s//\1/
14031             q
14032           }
14033           s/.*/./; q'`
14034     else
14035       continue
14036     fi
14037     # Extract the definition of DEPDIR, am__include, and am__quote
14038     # from the Makefile without running `make'.
14039     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14040     test -z "$DEPDIR" && continue
14041     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14042     test -z "am__include" && continue
14043     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14044     # When using ansi2knr, U may be empty or an underscore; expand it
14045     U=`sed -n 's/^U = //p' < "$mf"`
14046     # Find all dependency output files, they are included files with
14047     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14048     # simplest approach to changing $(DEPDIR) to its actual value in the
14049     # expansion.
14050     for file in `sed -n "
14051       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14052          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14053       # Make sure the directory exists.
14054       test -f "$dirpart/$file" && continue
14055       fdir=`$as_dirname -- "$file" ||
14056 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14057          X"$file" : 'X\(//\)[^/]' \| \
14058          X"$file" : 'X\(//\)$' \| \
14059          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14060 $as_echo X"$file" |
14061     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14062             s//\1/
14063             q
14064           }
14065           /^X\(\/\/\)[^/].*/{
14066             s//\1/
14067             q
14068           }
14069           /^X\(\/\/\)$/{
14070             s//\1/
14071             q
14072           }
14073           /^X\(\/\).*/{
14074             s//\1/
14075             q
14076           }
14077           s/.*/./; q'`
14078       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14079       # echo "creating $dirpart/$file"
14080       echo '# dummy' > "$dirpart/$file"
14081     done
14082   done
14083 }
14084  ;;
14085     "libtool":C)
14086
14087     # See if we are running on zsh, and set the options which allow our
14088     # commands through without removal of \ escapes.
14089     if test -n "${ZSH_VERSION+set}" ; then
14090       setopt NO_GLOB_SUBST
14091     fi
14092
14093     cfgfile="${ofile}T"
14094     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14095     $RM "$cfgfile"
14096
14097     cat <<_LT_EOF >> "$cfgfile"
14098 #! $SHELL
14099
14100 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14101 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14102 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14103 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14104 #
14105 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14106 #                 2006, 2007, 2008 Free Software Foundation, Inc.
14107 #   Written by Gordon Matzigkeit, 1996
14108 #
14109 #   This file is part of GNU Libtool.
14110 #
14111 # GNU Libtool is free software; you can redistribute it and/or
14112 # modify it under the terms of the GNU General Public License as
14113 # published by the Free Software Foundation; either version 2 of
14114 # the License, or (at your option) any later version.
14115 #
14116 # As a special exception to the GNU General Public License,
14117 # if you distribute this file as part of a program or library that
14118 # is built using GNU Libtool, you may include this file under the
14119 # same distribution terms that you use for the rest of that program.
14120 #
14121 # GNU Libtool is distributed in the hope that it will be useful,
14122 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14124 # GNU General Public License for more details.
14125 #
14126 # You should have received a copy of the GNU General Public License
14127 # along with GNU Libtool; see the file COPYING.  If not, a copy
14128 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14129 # obtained by writing to the Free Software Foundation, Inc.,
14130 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14131
14132
14133 # The names of the tagged configurations supported by this script.
14134 available_tags=""
14135
14136 # ### BEGIN LIBTOOL CONFIG
14137
14138 # Whether or not to build static libraries.
14139 build_old_libs=$enable_static
14140
14141 # Which release of libtool.m4 was used?
14142 macro_version=$macro_version
14143 macro_revision=$macro_revision
14144
14145 # Whether or not to build shared libraries.
14146 build_libtool_libs=$enable_shared
14147
14148 # What type of objects to build.
14149 pic_mode=$pic_mode
14150
14151 # Whether or not to optimize for fast installation.
14152 fast_install=$enable_fast_install
14153
14154 # The host system.
14155 host_alias=$host_alias
14156 host=$host
14157 host_os=$host_os
14158
14159 # The build system.
14160 build_alias=$build_alias
14161 build=$build
14162 build_os=$build_os
14163
14164 # A sed program that does not truncate output.
14165 SED=$lt_SED
14166
14167 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14168 Xsed="\$SED -e 1s/^X//"
14169
14170 # A grep program that handles long lines.
14171 GREP=$lt_GREP
14172
14173 # An ERE matcher.
14174 EGREP=$lt_EGREP
14175
14176 # A literal string matcher.
14177 FGREP=$lt_FGREP
14178
14179 # A BSD- or MS-compatible name lister.
14180 NM=$lt_NM
14181
14182 # Whether we need soft or hard links.
14183 LN_S=$lt_LN_S
14184
14185 # What is the maximum length of a command?
14186 max_cmd_len=$max_cmd_len
14187
14188 # Object file suffix (normally "o").
14189 objext=$ac_objext
14190
14191 # Executable file suffix (normally "").
14192 exeext=$exeext
14193
14194 # whether the shell understands "unset".
14195 lt_unset=$lt_unset
14196
14197 # turn spaces into newlines.
14198 SP2NL=$lt_lt_SP2NL
14199
14200 # turn newlines into spaces.
14201 NL2SP=$lt_lt_NL2SP
14202
14203 # How to create reloadable object files.
14204 reload_flag=$lt_reload_flag
14205 reload_cmds=$lt_reload_cmds
14206
14207 # An object symbol dumper.
14208 OBJDUMP=$lt_OBJDUMP
14209
14210 # Method to check whether dependent libraries are shared objects.
14211 deplibs_check_method=$lt_deplibs_check_method
14212
14213 # Command to use when deplibs_check_method == "file_magic".
14214 file_magic_cmd=$lt_file_magic_cmd
14215
14216 # The archiver.
14217 AR=$lt_AR
14218 AR_FLAGS=$lt_AR_FLAGS
14219
14220 # A symbol stripping program.
14221 STRIP=$lt_STRIP
14222
14223 # Commands used to install an old-style archive.
14224 RANLIB=$lt_RANLIB
14225 old_postinstall_cmds=$lt_old_postinstall_cmds
14226 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14227
14228 # A C compiler.
14229 LTCC=$lt_CC
14230
14231 # LTCC compiler flags.
14232 LTCFLAGS=$lt_CFLAGS
14233
14234 # Take the output of nm and produce a listing of raw symbols and C names.
14235 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14236
14237 # Transform the output of nm in a proper C declaration.
14238 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14239
14240 # Transform the output of nm in a C name address pair.
14241 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14242
14243 # Transform the output of nm in a C name address pair when lib prefix is needed.
14244 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14245
14246 # The name of the directory that contains temporary libtool files.
14247 objdir=$objdir
14248
14249 # Shell to use when invoking shell scripts.
14250 SHELL=$lt_SHELL
14251
14252 # An echo program that does not interpret backslashes.
14253 ECHO=$lt_ECHO
14254
14255 # Used to examine libraries when file_magic_cmd begins with "file".
14256 MAGIC_CMD=$MAGIC_CMD
14257
14258 # Must we lock files when doing compilation?
14259 need_locks=$lt_need_locks
14260
14261 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14262 DSYMUTIL=$lt_DSYMUTIL
14263
14264 # Tool to change global to local symbols on Mac OS X.
14265 NMEDIT=$lt_NMEDIT
14266
14267 # Tool to manipulate fat objects and archives on Mac OS X.
14268 LIPO=$lt_LIPO
14269
14270 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14271 OTOOL=$lt_OTOOL
14272
14273 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14274 OTOOL64=$lt_OTOOL64
14275
14276 # Old archive suffix (normally "a").
14277 libext=$libext
14278
14279 # Shared library suffix (normally ".so").
14280 shrext_cmds=$lt_shrext_cmds
14281
14282 # The commands to extract the exported symbol list from a shared archive.
14283 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14284
14285 # Variables whose values should be saved in libtool wrapper scripts and
14286 # restored at link time.
14287 variables_saved_for_relink=$lt_variables_saved_for_relink
14288
14289 # Do we need the "lib" prefix for modules?
14290 need_lib_prefix=$need_lib_prefix
14291
14292 # Do we need a version for libraries?
14293 need_version=$need_version
14294
14295 # Library versioning type.
14296 version_type=$version_type
14297
14298 # Shared library runtime path variable.
14299 runpath_var=$runpath_var
14300
14301 # Shared library path variable.
14302 shlibpath_var=$shlibpath_var
14303
14304 # Is shlibpath searched before the hard-coded library search path?
14305 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14306
14307 # Format of library name prefix.
14308 libname_spec=$lt_libname_spec
14309
14310 # List of archive names.  First name is the real one, the rest are links.
14311 # The last name is the one that the linker finds with -lNAME
14312 library_names_spec=$lt_library_names_spec
14313
14314 # The coded name of the library, if different from the real name.
14315 soname_spec=$lt_soname_spec
14316
14317 # Command to use after installation of a shared archive.
14318 postinstall_cmds=$lt_postinstall_cmds
14319
14320 # Command to use after uninstallation of a shared archive.
14321 postuninstall_cmds=$lt_postuninstall_cmds
14322
14323 # Commands used to finish a libtool library installation in a directory.
14324 finish_cmds=$lt_finish_cmds
14325
14326 # As "finish_cmds", except a single script fragment to be evaled but
14327 # not shown.
14328 finish_eval=$lt_finish_eval
14329
14330 # Whether we should hardcode library paths into libraries.
14331 hardcode_into_libs=$hardcode_into_libs
14332
14333 # Compile-time system search path for libraries.
14334 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14335
14336 # Run-time system search path for libraries.
14337 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14338
14339 # Whether dlopen is supported.
14340 dlopen_support=$enable_dlopen
14341
14342 # Whether dlopen of programs is supported.
14343 dlopen_self=$enable_dlopen_self
14344
14345 # Whether dlopen of statically linked programs is supported.
14346 dlopen_self_static=$enable_dlopen_self_static
14347
14348 # Commands to strip libraries.
14349 old_striplib=$lt_old_striplib
14350 striplib=$lt_striplib
14351
14352
14353 # The linker used to build libraries.
14354 LD=$lt_LD
14355
14356 # Commands used to build an old-style archive.
14357 old_archive_cmds=$lt_old_archive_cmds
14358
14359 # A language specific compiler.
14360 CC=$lt_compiler
14361
14362 # Is the compiler the GNU compiler?
14363 with_gcc=$GCC
14364
14365 # Compiler flag to turn off builtin functions.
14366 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14367
14368 # How to pass a linker flag through the compiler.
14369 wl=$lt_lt_prog_compiler_wl
14370
14371 # Additional compiler flags for building library objects.
14372 pic_flag=$lt_lt_prog_compiler_pic
14373
14374 # Compiler flag to prevent dynamic linking.
14375 link_static_flag=$lt_lt_prog_compiler_static
14376
14377 # Does compiler simultaneously support -c and -o options?
14378 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14379
14380 # Whether or not to add -lc for building shared libraries.
14381 build_libtool_need_lc=$archive_cmds_need_lc
14382
14383 # Whether or not to disallow shared libs when runtime libs are static.
14384 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14385
14386 # Compiler flag to allow reflexive dlopens.
14387 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14388
14389 # Compiler flag to generate shared objects directly from archives.
14390 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14391
14392 # Whether the compiler copes with passing no objects directly.
14393 compiler_needs_object=$lt_compiler_needs_object
14394
14395 # Create an old-style archive from a shared archive.
14396 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14397
14398 # Create a temporary old-style archive to link instead of a shared archive.
14399 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14400
14401 # Commands used to build a shared archive.
14402 archive_cmds=$lt_archive_cmds
14403 archive_expsym_cmds=$lt_archive_expsym_cmds
14404
14405 # Commands used to build a loadable module if different from building
14406 # a shared archive.
14407 module_cmds=$lt_module_cmds
14408 module_expsym_cmds=$lt_module_expsym_cmds
14409
14410 # Whether we are building with GNU ld or not.
14411 with_gnu_ld=$lt_with_gnu_ld
14412
14413 # Flag that allows shared libraries with undefined symbols to be built.
14414 allow_undefined_flag=$lt_allow_undefined_flag
14415
14416 # Flag that enforces no undefined symbols.
14417 no_undefined_flag=$lt_no_undefined_flag
14418
14419 # Flag to hardcode \$libdir into a binary during linking.
14420 # This must work even if \$libdir does not exist
14421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14422
14423 # If ld is used when linking, flag to hardcode \$libdir into a binary
14424 # during linking.  This must work even if \$libdir does not exist.
14425 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14426
14427 # Whether we need a single "-rpath" flag with a separated argument.
14428 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14429
14430 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14431 # DIR into the resulting binary.
14432 hardcode_direct=$hardcode_direct
14433
14434 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14435 # DIR into the resulting binary and the resulting library dependency is
14436 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14437 # library is relocated.
14438 hardcode_direct_absolute=$hardcode_direct_absolute
14439
14440 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14441 # into the resulting binary.
14442 hardcode_minus_L=$hardcode_minus_L
14443
14444 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14445 # into the resulting binary.
14446 hardcode_shlibpath_var=$hardcode_shlibpath_var
14447
14448 # Set to "yes" if building a shared library automatically hardcodes DIR
14449 # into the library and all subsequent libraries and executables linked
14450 # against it.
14451 hardcode_automatic=$hardcode_automatic
14452
14453 # Set to yes if linker adds runtime paths of dependent libraries
14454 # to runtime path list.
14455 inherit_rpath=$inherit_rpath
14456
14457 # Whether libtool must link a program against all its dependency libraries.
14458 link_all_deplibs=$link_all_deplibs
14459
14460 # Fix the shell variable \$srcfile for the compiler.
14461 fix_srcfile_path=$lt_fix_srcfile_path
14462
14463 # Set to "yes" if exported symbols are required.
14464 always_export_symbols=$always_export_symbols
14465
14466 # The commands to list exported symbols.
14467 export_symbols_cmds=$lt_export_symbols_cmds
14468
14469 # Symbols that should not be listed in the preloaded symbols.
14470 exclude_expsyms=$lt_exclude_expsyms
14471
14472 # Symbols that must always be exported.
14473 include_expsyms=$lt_include_expsyms
14474
14475 # Commands necessary for linking programs (against libraries) with templates.
14476 prelink_cmds=$lt_prelink_cmds
14477
14478 # Specify filename containing input files.
14479 file_list_spec=$lt_file_list_spec
14480
14481 # How to hardcode a shared library path into an executable.
14482 hardcode_action=$hardcode_action
14483
14484 # ### END LIBTOOL CONFIG
14485
14486 _LT_EOF
14487
14488   case $host_os in
14489   aix3*)
14490     cat <<\_LT_EOF >> "$cfgfile"
14491 # AIX sometimes has problems with the GCC collect2 program.  For some
14492 # reason, if we set the COLLECT_NAMES environment variable, the problems
14493 # vanish in a puff of smoke.
14494 if test "X${COLLECT_NAMES+set}" != Xset; then
14495   COLLECT_NAMES=
14496   export COLLECT_NAMES
14497 fi
14498 _LT_EOF
14499     ;;
14500   esac
14501
14502
14503 ltmain="$ac_aux_dir/ltmain.sh"
14504
14505
14506   # We use sed instead of cat because bash on DJGPP gets confused if
14507   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14508   # text mode, it properly converts lines to CR/LF.  This bash problem
14509   # is reportedly fixed, but why not run on old versions too?
14510   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14511     || (rm -f "$cfgfile"; exit 1)
14512
14513   case $xsi_shell in
14514   yes)
14515     cat << \_LT_EOF >> "$cfgfile"
14516
14517 # func_dirname file append nondir_replacement
14518 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14519 # otherwise set result to NONDIR_REPLACEMENT.
14520 func_dirname ()
14521 {
14522   case ${1} in
14523     */*) func_dirname_result="${1%/*}${2}" ;;
14524     *  ) func_dirname_result="${3}" ;;
14525   esac
14526 }
14527
14528 # func_basename file
14529 func_basename ()
14530 {
14531   func_basename_result="${1##*/}"
14532 }
14533
14534 # func_dirname_and_basename file append nondir_replacement
14535 # perform func_basename and func_dirname in a single function
14536 # call:
14537 #   dirname:  Compute the dirname of FILE.  If nonempty,
14538 #             add APPEND to the result, otherwise set result
14539 #             to NONDIR_REPLACEMENT.
14540 #             value returned in "$func_dirname_result"
14541 #   basename: Compute filename of FILE.
14542 #             value retuned in "$func_basename_result"
14543 # Implementation must be kept synchronized with func_dirname
14544 # and func_basename. For efficiency, we do not delegate to
14545 # those functions but instead duplicate the functionality here.
14546 func_dirname_and_basename ()
14547 {
14548   case ${1} in
14549     */*) func_dirname_result="${1%/*}${2}" ;;
14550     *  ) func_dirname_result="${3}" ;;
14551   esac
14552   func_basename_result="${1##*/}"
14553 }
14554
14555 # func_stripname prefix suffix name
14556 # strip PREFIX and SUFFIX off of NAME.
14557 # PREFIX and SUFFIX must not contain globbing or regex special
14558 # characters, hashes, percent signs, but SUFFIX may contain a leading
14559 # dot (in which case that matches only a dot).
14560 func_stripname ()
14561 {
14562   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14563   # positional parameters, so assign one to ordinary parameter first.
14564   func_stripname_result=${3}
14565   func_stripname_result=${func_stripname_result#"${1}"}
14566   func_stripname_result=${func_stripname_result%"${2}"}
14567 }
14568
14569 # func_opt_split
14570 func_opt_split ()
14571 {
14572   func_opt_split_opt=${1%%=*}
14573   func_opt_split_arg=${1#*=}
14574 }
14575
14576 # func_lo2o object
14577 func_lo2o ()
14578 {
14579   case ${1} in
14580     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14581     *)    func_lo2o_result=${1} ;;
14582   esac
14583 }
14584
14585 # func_xform libobj-or-source
14586 func_xform ()
14587 {
14588   func_xform_result=${1%.*}.lo
14589 }
14590
14591 # func_arith arithmetic-term...
14592 func_arith ()
14593 {
14594   func_arith_result=$(( $* ))
14595 }
14596
14597 # func_len string
14598 # STRING may not start with a hyphen.
14599 func_len ()
14600 {
14601   func_len_result=${#1}
14602 }
14603
14604 _LT_EOF
14605     ;;
14606   *) # Bourne compatible functions.
14607     cat << \_LT_EOF >> "$cfgfile"
14608
14609 # func_dirname file append nondir_replacement
14610 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14611 # otherwise set result to NONDIR_REPLACEMENT.
14612 func_dirname ()
14613 {
14614   # Extract subdirectory from the argument.
14615   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14616   if test "X$func_dirname_result" = "X${1}"; then
14617     func_dirname_result="${3}"
14618   else
14619     func_dirname_result="$func_dirname_result${2}"
14620   fi
14621 }
14622
14623 # func_basename file
14624 func_basename ()
14625 {
14626   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14627 }
14628
14629
14630 # func_stripname prefix suffix name
14631 # strip PREFIX and SUFFIX off of NAME.
14632 # PREFIX and SUFFIX must not contain globbing or regex special
14633 # characters, hashes, percent signs, but SUFFIX may contain a leading
14634 # dot (in which case that matches only a dot).
14635 # func_strip_suffix prefix name
14636 func_stripname ()
14637 {
14638   case ${2} in
14639     .*) func_stripname_result=`$ECHO "X${3}" \
14640            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14641     *)  func_stripname_result=`$ECHO "X${3}" \
14642            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14643   esac
14644 }
14645
14646 # sed scripts:
14647 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14648 my_sed_long_arg='1s/^-[^=]*=//'
14649
14650 # func_opt_split
14651 func_opt_split ()
14652 {
14653   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14654   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14655 }
14656
14657 # func_lo2o object
14658 func_lo2o ()
14659 {
14660   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14661 }
14662
14663 # func_xform libobj-or-source
14664 func_xform ()
14665 {
14666   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14667 }
14668
14669 # func_arith arithmetic-term...
14670 func_arith ()
14671 {
14672   func_arith_result=`expr "$@"`
14673 }
14674
14675 # func_len string
14676 # STRING may not start with a hyphen.
14677 func_len ()
14678 {
14679   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14680 }
14681
14682 _LT_EOF
14683 esac
14684
14685 case $lt_shell_append in
14686   yes)
14687     cat << \_LT_EOF >> "$cfgfile"
14688
14689 # func_append var value
14690 # Append VALUE to the end of shell variable VAR.
14691 func_append ()
14692 {
14693   eval "$1+=\$2"
14694 }
14695 _LT_EOF
14696     ;;
14697   *)
14698     cat << \_LT_EOF >> "$cfgfile"
14699
14700 # func_append var value
14701 # Append VALUE to the end of shell variable VAR.
14702 func_append ()
14703 {
14704   eval "$1=\$$1\$2"
14705 }
14706
14707 _LT_EOF
14708     ;;
14709   esac
14710
14711
14712   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14713     || (rm -f "$cfgfile"; exit 1)
14714
14715   mv -f "$cfgfile" "$ofile" ||
14716     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14717   chmod +x "$ofile"
14718
14719  ;;
14720
14721   esac
14722 done # for ac_tag
14723
14724
14725 as_fn_exit 0
14726 _ACEOF
14727 ac_clean_files=$ac_clean_files_save
14728
14729 test $ac_write_fail = 0 ||
14730   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14731
14732
14733 # configure is writing to config.log, and then calls config.status.
14734 # config.status does its own redirection, appending to config.log.
14735 # Unfortunately, on DOS this fails, as config.log is still kept open
14736 # by configure, so config.status won't be able to write to it; its
14737 # output is simply discarded.  So we exec the FD to /dev/null,
14738 # effectively closing config.log, so it can be properly (re)opened and
14739 # appended to by config.status.  When coming back to configure, we
14740 # need to make the FD available again.
14741 if test "$no_create" != yes; then
14742   ac_cs_success=:
14743   ac_config_status_args=
14744   test "$silent" = yes &&
14745     ac_config_status_args="$ac_config_status_args --quiet"
14746   exec 5>/dev/null
14747   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14748   exec 5>>config.log
14749   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14750   # would make configure fail if this is the last instruction.
14751   $ac_cs_success || as_fn_exit 1
14752 fi
14753 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14755 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14756 fi
14757
14758
14759 echo "Creating asoundlib.h..."
14760 cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h
14761 test "$build_pcm" = "yes" && echo "#include <alsa/pcm.h>" >> include/asoundlib.h
14762 test "$build_rawmidi" = "yes" && echo "#include <alsa/rawmidi.h>" >> include/asoundlib.h
14763 test "$build_pcm" = "yes" && echo "#include <alsa/timer.h>" >> include/asoundlib.h
14764 test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h
14765 echo "#include <alsa/control.h>" >> include/asoundlib.h
14766 test "$build_mixer" = "yes" && echo "#include <alsa/mixer.h>" >> include/asoundlib.h
14767 test "$build_seq" = "yes" && echo "#include <alsa/seq_event.h>" >> include/asoundlib.h
14768 test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h
14769 test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h
14770 test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h
14771 cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h
14772