2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 :
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+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
167 exitcode=1; echo positional parameters were not saved.
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 :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
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 :
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
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.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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."
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."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
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 :
354 as_val=`expr "$@" || test $? -eq 1`
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.
366 as_status=$1; test $as_status -eq 0 && as_status=1
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
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
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'"
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'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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
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
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'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
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
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.
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
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
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
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
634 SHELL="$CONFIG_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"
643 # maybe with a smaller string...
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
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+"$@"}
659 # Oops. We lost completely, so just stick with echo.
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.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="src/control/control.c"
707 ac_default_prefix=/usr
708 # Factoring default headers for most tests.
709 ac_includes_default="\
711 #ifdef HAVE_SYS_TYPES_H
712 # include <sys/types.h>
714 #ifdef HAVE_SYS_STAT_H
715 # include <sys/stat.h>
721 # ifdef HAVE_STDLIB_H
726 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
731 #ifdef HAVE_STRINGS_H
732 # include <strings.h>
734 #ifdef HAVE_INTTYPES_H
735 # include <inttypes.h>
744 ac_subst_vars='am__EXEEXT_FALSE
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
828 KEEP_OLD_SYMBOLS_FALSE
829 KEEP_OLD_SYMBOLS_TRUE
834 SYMBOLIC_FUNCTIONS_FALSE
835 SYMBOLIC_FUNCTIONS_TRUE
836 VERSIONED_SYMBOLS_FALSE
837 VERSIONED_SYMBOLS_TRUE
896 INSTALL_STRIP_PROGRAM
946 program_transform_name
959 enable_option_checking
961 enable_dependency_tracking
971 enable_symbolic_functions
997 ac_precious_vars='build_alias
1008 # Initialize some variables set by options.
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
1022 program_transform_name=s,x,x,
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'
1052 libdir='${exec_prefix}/lib'
1053 localedir='${datarootdir}/locale'
1054 mandir='${datarootdir}/man'
1060 # If the previous option needs an argument, assign it.
1061 if test -n "$ac_prev"; then
1062 eval $ac_prev=\$ac_option
1068 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1073 # Accept the important Cygnus configure options, so we can diagnose typos.
1075 case $ac_dashdash$ac_option in
1079 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1081 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1082 bindir=$ac_optarg ;;
1084 -build | --build | --buil | --bui | --bu)
1085 ac_prev=build_alias ;;
1086 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1087 build_alias=$ac_optarg ;;
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 ;;
1096 --config-cache | -C)
1097 cache_file=config.cache ;;
1099 -datadir | --datadir | --datadi | --datad)
1101 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1102 datadir=$ac_optarg ;;
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 ;;
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
1120 "enable_$ac_useropt"
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval enable_$ac_useropt=no ;;
1127 -docdir | --docdir | --docdi | --doc | --do)
1129 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1130 docdir=$ac_optarg ;;
1132 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1134 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1135 dvidir=$ac_optarg ;;
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
1146 "enable_$ac_useropt"
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1151 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
1162 -gas | --gas | --ga | --g)
1163 # Obsolete; use --with-gas.
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 ;;
1173 -host | --host | --hos | --ho)
1174 ac_prev=host_alias ;;
1175 -host=* | --host=* | --hos=* | --ho=*)
1176 host_alias=$ac_optarg ;;
1178 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1180 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1182 htmldir=$ac_optarg ;;
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 ;;
1191 -infodir | --infodir | --infodi | --infod | --info | --inf)
1193 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1194 infodir=$ac_optarg ;;
1196 -libdir | --libdir | --libdi | --libd)
1198 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1199 libdir=$ac_optarg ;;
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 ;;
1208 -localedir | --localedir | --localedi | --localed | --locale)
1209 ac_prev=localedir ;;
1210 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1211 localedir=$ac_optarg ;;
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 ;;
1220 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1222 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1223 mandir=$ac_optarg ;;
1225 -nfp | --nfp | --nf)
1226 # Obsolete; use --without-fp.
1229 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1230 | --no-cr | --no-c | -n)
1233 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1234 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
1246 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1248 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1249 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
1282 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1284 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1285 pdfdir=$ac_optarg ;;
1287 -psdir | --psdir | --psdi | --psd | --ps)
1289 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1293 | -silent | --silent | --silen | --sile | --sil)
1296 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1298 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1300 sbindir=$ac_optarg ;;
1302 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1303 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1304 | --sharedst | --shareds | --shared | --share | --shar \
1306 ac_prev=sharedstatedir ;;
1307 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1308 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1309 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1311 sharedstatedir=$ac_optarg ;;
1313 -site | --site | --sit)
1315 -site=* | --site=* | --sit=*)
1318 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1320 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1321 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1335 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1338 -version | --version | --versio | --versi | --vers | -V)
1339 ac_init_version=: ;;
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
1352 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1353 ac_unrecognized_sep=', ';;
1355 eval with_$ac_useropt=\$ac_optarg ;;
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
1368 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1369 ac_unrecognized_sep=', ';;
1371 eval with_$ac_useropt=no ;;
1374 # Obsolete; use --with-x.
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 ;;
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 ;;
1391 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1392 Try \`$0 --help' for more information"
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'" ;;
1402 eval $ac_envvar=\$ac_optarg
1403 export $ac_envvar ;;
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}
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"
1421 if test -n "$ac_unrecognized_opts"; then
1422 case $enable_option_checking in
1424 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1425 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1435 eval ac_val=\$$ac_var
1436 # Remove trailing slashes.
1439 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1440 eval $ac_var=\$ac_val;;
1442 # Be sure to have absolute directory names.
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1447 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1455 target=$target_alias
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
1469 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1471 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1514 ac_srcdir_defaulted=no
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"
1520 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1522 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1524 # When building in place, set srcdir=.
1525 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1532 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1542 # Report the --help message.
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.
1548 \`configure' configures this package to adapt to many kinds of systems.
1550 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1555 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1579 For better control, use the options below.
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]
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
1611 --build=BUILD configure for building on BUILD [guessed]
1612 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1616 if test -n "$ac_init_help"; then
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
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
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
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 =
1662 --with-tmpdir=directory directory to put tmp socket files (/tmp)
1663 --with-softfloat do you have floating point unit on this machine?
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
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)
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>
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.
1694 Report bugs to the package provider.
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"; } ||
1708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1724 .) # We are building in place.
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 ;;
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 ;;
1737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1739 cd "$ac_dir" || { ac_status=$?; continue; }
1740 # Check for guested configure.
1741 if test -f "$ac_srcdir/configure.gnu"; then
1743 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1744 elif test -f "$ac_srcdir/configure"; then
1746 $SHELL "$ac_srcdir/configure" --help=recursive
1748 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1750 cd "$ac_pwd" || { ac_status=$?; break; }
1754 test -n "$ac_init_help" && exit $ac_status
1755 if $ac_init_version; then
1758 generated by GNU Autoconf 2.67
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.
1767 ## ------------------------ ##
1768 ## Autoconf initialization. ##
1769 ## ------------------------ ##
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 ()
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"
1780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1781 *) ac_try_echo=$ac_try;;
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
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
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 :
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805 as_fn_set_status $ac_retval
1807 } # ac_fn_c_try_compile
1809 # ac_fn_c_try_cpp LINENO
1810 # ----------------------
1811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 if { { ac_try="$ac_cpp conftest.$ac_ext"
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
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
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
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
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_try_link LINENO
1847 # -----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
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"
1855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
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
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
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
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
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
1890 } # ac_fn_c_try_link
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 ()
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
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1909 if ac_fn_c_try_compile "$LINENO"; then :
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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;}
1921 } # ac_fn_c_check_header_compile
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.
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 if { { ac_try="$ac_link"
1932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933 *) ac_try_echo=$ac_try;;
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
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;;
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
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; }; }; then :
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
1957 ac_retval=$ac_status
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
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 ()
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
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
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. */
1988 # include <limits.h>
1990 # include <assert.h>
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. */
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
2017 if ac_fn_c_try_link "$LINENO"; then :
2022 rm -f core conftest.err conftest.$ac_objext \
2023 conftest$ac_exeext conftest.$ac_ext
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;}
2030 } # ac_fn_c_check_func
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
2037 ac_fn_c_check_header_mongrel ()
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
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
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. */
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059 ac_header_compiler=yes
2061 ac_header_compiler=no
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; }
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. */
2074 if ac_fn_c_try_cpp "$LINENO"; then :
2075 ac_header_preproc=yes
2077 ac_header_preproc=no
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; }
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
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;}
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;}
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
2109 eval "$3=\$ac_header_compiler"
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2115 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
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.
2122 It was created by $as_me, which was
2123 generated by GNU Autoconf 2.67. Invocation command line was
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`
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`
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`
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 $as_echo "PATH: $as_dir"
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.
2183 ac_must_keep_next=false
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)
2194 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2197 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
2212 -* ) ac_must_keep_next=true ;;
2215 as_fn_append ac_configure_args " '$ac_arg'"
2220 { ac_configure_args0=; unset ac_configure_args0;}
2221 { ac_configure_args1=; unset ac_configure_args1;}
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.
2233 $as_echo "## ---------------- ##
2234 ## Cache variables. ##
2235 ## ---------------- ##"
2237 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
2248 _ | IFS | as_nl) ;; #(
2249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2250 *) { eval $ac_var=; unset $ac_var;} ;;
2255 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2256 *${as_nl}ac_space=\ *)
2258 "s/'\''/'\''\\\\'\'''\''/g;
2259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2269 $as_echo "## ----------------- ##
2270 ## Output variables. ##
2271 ## ----------------- ##"
2273 for ac_var in $ac_subst_vars
2275 eval ac_val=\$$ac_var
2277 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 $as_echo "$ac_var='\''$ac_val'\''"
2283 if test -n "$ac_subst_files"; then
2284 $as_echo "## ------------------- ##
2285 ## File substitutions. ##
2286 ## ------------------- ##"
2288 for ac_var in $ac_subst_files
2290 eval ac_val=\$$ac_var
2292 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294 $as_echo "$ac_var='\''$ac_val'\''"
2299 if test -s confdefs.h; then
2300 $as_echo "## ----------- ##
2307 test "$ac_signal" != 0 &&
2308 $as_echo "$as_me: caught signal $ac_signal"
2309 $as_echo "$as_me: exit $exit_status"
2311 rm -f core *.core core.conftest.* &&
2312 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2315 for ac_signal in 1 2 13 15; do
2316 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2321 rm -f -r conftest* confdefs.h
2323 $as_echo "/* confdefs.h */" > confdefs.h
2325 # Predefined preprocessor variables.
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_NAME "$PACKAGE_NAME"
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2347 cat >>confdefs.h <<_ACEOF
2348 #define PACKAGE_URL "$PACKAGE_URL"
2352 # Let the site file select an alternate cache file if it wants to.
2353 # Prefer an explicitly selected file to automatically selected ones.
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;;
2363 elif test "x$prefix" != xNONE; then
2364 ac_site_file1=$prefix/share/config.site
2365 ac_site_file2=$prefix/etc/config.site
2367 ac_site_file1=$ac_default_prefix/share/config.site
2368 ac_site_file2=$ac_default_prefix/etc/config.site
2370 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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 ; }
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;}
2392 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2393 *) . "./$cache_file";;
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2398 $as_echo "$as_me: creating cache $cache_file" >&6;}
2402 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
2440 # Pass precious variables to config.status.
2441 if test "$ac_new_set" = set; then
2443 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2444 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
2459 ## -------------------- ##
2460 ## Main body of script. ##
2461 ## -------------------- ##
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
2474 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2475 if test -f "$ac_dir/install-sh"; then
2477 ac_install_sh="$ac_aux_dir/install-sh -c"
2479 elif test -f "$ac_dir/install.sh"; then
2481 ac_install_sh="$ac_aux_dir/install.sh -c"
2483 elif test -f "$ac_dir/shtool"; then
2485 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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
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
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
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
2524 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
2545 if test "x$host_alias" = x; then
2546 ac_cv_host=$ac_cv_build
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
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2554 $as_echo "$ac_cv_host" >&6; }
2557 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2560 ac_save_IFS=$IFS; IFS='-'
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2570 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2573 am__api_version='1.11'
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
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
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
2622 rm -rf conftest.one conftest.two conftest.dir
2623 echo one > conftest.one
2624 echo two > conftest.two
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
2631 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2644 rm -rf conftest.one conftest.two conftest.dir
2647 if test "${ac_cv_path_install+set}" = set; then
2648 INSTALL=$ac_cv_path_install
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
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2658 $as_echo "$INSTALL" >&6; }
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}'
2664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }
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.
2678 *[\\\"\#\$\&\'\`$am_lf]*)
2679 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2682 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2683 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
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
2692 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2693 if test "$*" = "X"; then
2695 set X `ls -t "$srcdir/configure" conftest.file`
2698 if test "$*" != "X $srcdir/configure conftest.file" \
2699 && test "$*" != "X conftest.file $srcdir/configure"; then
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
2709 test "$2" = conftest.file
2715 as_fn_error $? "newly created file is older than distributed files!
2716 Check your system clock" "$LINENO" 5
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"`
2730 # expand $ac_aux_dir to an absolute path
2731 am_aux_dir=`cd $ac_aux_dir && pwd`
2733 if test x"${MISSING+set}" != xset; then
2736 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2738 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2741 # Use eval to expand $SHELL
2742 if eval "$MISSING --run true"; then
2743 am_missing_run="$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;}
2750 if test x"${install_sh}" != xset; then
2753 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2755 install_sh="\${SHELL} $am_aux_dir/install-sh"
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
2772 if test -n "$STRIP"; then
2773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2803 if test -z "$ac_cv_prog_STRIP"; then
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
2812 if test -n "$ac_ct_STRIP"; then
2813 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2841 if test "x$ac_ct_STRIP" = x; then
2844 case $cross_compiling:$ac_tool_warned in
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 ;;
2853 STRIP="$ac_cv_prog_STRIP"
2857 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
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
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
2887 test -d ./--version && rmdir ./--version
2888 if test "${ac_cv_path_mkdir+set}" = set; then
2889 MKDIR_P="$ac_cv_path_mkdir -p"
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"
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2899 $as_echo "$MKDIR_P" >&6; }
2903 [\\/$]* | ?:[\\/]*) ;;
2904 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2907 for ac_prog in gawk mawk nawk awk
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
2916 if test -n "$AWK"; then
2917 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2937 if test -n "$AWK"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2939 $as_echo "$AWK" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$AWK" && break
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; }
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
2956 cat >conftest.make <<\_ACEOF
2959 @echo '@@@%%%=$(MAKE)=@@@%%%'
2961 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2962 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2964 eval ac_cv_prog_make_${ac_make}_set=yes;;
2966 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2977 SET_MAKE="MAKE=${MAKE-make}"
2980 rm -rf .tst 2>/dev/null
2981 mkdir .tst 2>/dev/null
2982 if test -d .tst; then
2987 rmdir .tst 2>/dev/null
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
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'
3009 # Define the identity of the package.
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE "$PACKAGE"
3019 cat >>confdefs.h <<_ACEOF
3020 #define VERSION "$VERSION"
3023 # Some tools Automake needs.
3025 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3028 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3031 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3034 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3037 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3039 # We need awk for the "check" target. The system "awk" is bad on
3041 # Always define AMTAR for backward compatibility.
3043 AMTAR=${AMTAR-"${am_missing_run}tar"}
3045 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3051 eval LIBTOOL_VERSION_INFO="2:0:0"
3052 if test -n "${ACLOCAL}"; then
3054 INSTALL_M4_FALSE='#'
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;
3067 case $enable_silent_rules in
3068 yes) AM_DEFAULT_VERBOSITY=0;;
3069 no) AM_DEFAULT_VERBOSITY=1;;
3070 *) AM_DEFAULT_VERBOSITY=0;;
3078 if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compiler" >&5
3081 $as_echo_n "checking for cross-compiler... " >&6; }
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
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3093 CFLAGS="$CFLAGS -D_GNU_SOURCE"
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
3109 if test -n "$CC"; then
3110 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3130 if test -n "$CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 $as_echo "$CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3140 if test -z "$ac_cv_prog_CC"; then
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
3149 if test -n "$ac_ct_CC"; then
3150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3178 if test "x$ac_ct_CC" = x; then
3181 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC="$CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3223 if test -n "$CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3225 $as_echo "$CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
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
3242 if test -n "$CC"; then
3243 ac_cv_prog_CC="$CC" # Let the user override the test.
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
3274 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3280 if test -n "$CC"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3282 $as_echo "$CC" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$CC"; then
3291 if test -n "$ac_tool_prefix"; then
3292 for ac_prog in cl.exe
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
3301 if test -n "$CC"; then
3302 ac_cv_prog_CC="$CC" # Let the user override the test.
3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3322 if test -n "$CC"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324 $as_echo "$CC" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3331 test -n "$CC" && break
3334 if test -z "$CC"; then
3336 for ac_prog in cl.exe
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
3345 if test -n "$ac_ct_CC"; then
3346 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3375 test -n "$ac_ct_CC" && break
3378 if test "x$ac_ct_CC" = x; then
3381 case $cross_compiling:$ac_tool_warned in
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 ;;
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 ; }
3399 # Provide some information about the compiler.
3400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3403 for ac_option in --version -v -V -qversion; do
3404 { { ac_try="$ac_compiler $ac_option >&5"
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
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
3413 if test -s conftest.err; then
3415 ... rest of stderr output deleted ...
3416 10q' conftest.err >conftest.er1
3417 cat conftest.er1 >&5
3419 rm -f conftest.er1 conftest.err
3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421 test $ac_status = 0; }
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
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
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[^ ]*//'`
3444 # The possible output files:
3445 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3448 for ac_file in $ac_files
3451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3452 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3457 if { { ac_try="$ac_link_default"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
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
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
3473 for ac_file in $ac_files ''
3475 test -f "$ac_file" || continue
3477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3480 # We found the default executable, but exeext='' is most
3484 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3486 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
3498 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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 ; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3515 $as_echo "yes" >&6; }
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
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"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
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
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
3542 for ac_file in conftest.exe conftest conftest.*; do
3543 test -f "$ac_file" || continue
3545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3546 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 ; }
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; }
3561 rm -f conftest.$ac_ext
3562 EXEEXT=$ac_cv_exeext
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3570 FILE *f = fopen ("conftest.out", "w");
3571 return ferror (f) || fclose (f) != 0;
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"
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
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
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;;
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
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }; }; then
3607 if test "$cross_compiling" = maybe; then
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 ; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3619 $as_echo "$cross_compiling" >&6; }
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
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 rm -f conftest.o conftest.obj
3640 if { { ac_try="$ac_compile"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
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
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;
3654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3655 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3660 $as_echo "$as_me: failed program was:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
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 ; }
3668 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3693 if ac_fn_c_try_compile "$LINENO"; then :
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
3716 ac_save_c_werror_flag=$ac_c_werror_flag
3717 ac_c_werror_flag=yes
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3731 if ac_fn_c_try_compile "$LINENO"; then :
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3749 ac_c_werror_flag=$ac_save_c_werror_flag
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3762 if ac_fn_c_try_compile "$LINENO"; then :
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770 ac_c_werror_flag=$ac_save_c_werror_flag
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
3783 if test "$GCC" = yes; then
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
3794 ac_cv_prog_cc_c89=no
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.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)
3811 static char *f (char * (*g) (char **, int), char **p, ...)
3816 s = g (p, va_arg (v,int));
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];
3830 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3831 inside strings and character constants. */
3833 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
3844 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3849 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3850 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3852 CC="$ac_save_CC $ac_arg"
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 ac_cv_prog_cc_c89=$ac_arg
3856 rm -f core conftest.err conftest.$ac_objext
3857 test "x$ac_cv_prog_cc_c89" != "xno" && break
3859 rm -f conftest.$ac_ext
3864 case "x$ac_cv_prog_cc_c89" in
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3867 $as_echo "none needed" >&6; } ;;
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3870 $as_echo "unsupported" >&6; } ;;
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; } ;;
3876 if test "x$ac_cv_prog_cc_c89" != xno; then :
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"
3887 ac_config_commands="$ac_config_commands depfiles"
3890 am_make=${MAKE-make}
3891 cat > confinc << 'END'
3893 @echo this is the am__doit target
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; }
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*)
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
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3926 $as_echo "$_am_result" >&6; }
3927 rm -f confinc confmf
3929 # Check whether --enable-dependency-tracking was given.
3930 if test "${enable_dependency_tracking+set}" = set; then :
3931 enableval=$enable_dependency_tracking;
3934 if test "x$enable_dependency_tracking" != xno; then
3935 am_depcomp="$ac_aux_dir/depcomp"
3938 if test "x$enable_dependency_tracking" != xno; then
3948 depcc="$CC" am_compiler_list=
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
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
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
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
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`
3979 case " $depcc " in #(
3980 *\ -arch\ *\ -arch\ *) am__universal=true ;;
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.
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.
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
3998 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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"
4008 # This depmode causes a compiler race in universal mode.
4009 test "$am__universal" = false || continue
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
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}
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
4056 am_cv_CC_dependencies_compiler_type=none
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
4065 test "x$enable_dependency_tracking" != xno \
4066 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4068 am__fastdepCC_FALSE='#'
4070 am__fastdepCC_TRUE='#'
4071 am__fastdepCC_FALSE=
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
4086 if test -z "$CPP"; then
4087 if test "${ac_cv_prog_CPP+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 # Double quotes because CPP needs to be expanded
4091 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4094 for ac_c_preproc_warn_flag in '' yes
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. */
4105 # include <limits.h>
4107 # include <assert.h>
4111 if ac_fn_c_try_cpp "$LINENO"; then :
4114 # Broken: fails on valid input.
4117 rm -f conftest.err conftest.i conftest.$ac_ext
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>
4125 if ac_fn_c_try_cpp "$LINENO"; then :
4126 # Broken: success on invalid input.
4129 # Passes both tests.
4133 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4151 $as_echo "$CPP" >&6; }
4153 for ac_c_preproc_warn_flag in '' yes
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. */
4164 # include <limits.h>
4166 # include <assert.h>
4170 if ac_fn_c_try_cpp "$LINENO"; then :
4173 # Broken: fails on valid input.
4176 rm -f conftest.err conftest.i conftest.$ac_ext
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>
4184 if ac_fn_c_try_cpp "$LINENO"; then :
4185 # Broken: success on invalid input.
4188 # Passes both tests.
4192 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
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 ; }
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
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4214 $as_echo_n "checking whether ln -s works... " >&6; }
4216 if test "$LN_S" = "ln -s"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4218 $as_echo "yes" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4221 $as_echo "no, using $LN_S" >&6; }
4224 # Check whether --enable-static was given.
4225 if test "${enable_static+set}" = set; then :
4226 enableval=$enable_static; p=${PACKAGE-default}
4228 yes) enable_static=yes ;;
4229 no) 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
4236 if test "X$pkg" = "X$p"; then
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;} ;;
4267 macro_version='2.2.6b'
4268 macro_revision='1.3017'
4282 ltmain="$ac_aux_dir/ltmain.sh"
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
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"
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
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
4311 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4314 $as_echo_n 0123456789 >"conftest.in"
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
4329 # 10*(2^10) chars as input seems more than enough
4330 test $ac_count -gt 10 && break
4332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4335 $ac_path_SED_found && break 3
4340 if test -z "$ac_cv_path_SED"; then
4341 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
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"
4353 test -z "$SED" && SED=sed
4354 Xsed="$SED -e 1s/^X//"
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
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
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
4387 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4390 $as_echo_n 0123456789 >"conftest.in"
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
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4408 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411 $ac_path_GREP_found && break 3
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
4420 ac_cv_path_GREP=$GREP
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"
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
4434 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4435 then ac_cv_path_EGREP="$GREP -E"
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
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
4453 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4456 $as_echo_n 0123456789 >"conftest.in"
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
4471 # 10*(2^10) chars as input seems more than enough
4472 test $ac_count -gt 10 && break
4474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4477 $ac_path_EGREP_found && break 3
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
4486 ac_cv_path_EGREP=$EGREP
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"
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
4501 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4502 then ac_cv_path_FGREP="$GREP -F"
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
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
4520 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4523 $as_echo_n 0123456789 >"conftest.in"
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
4538 # 10*(2^10) chars as input seems more than enough
4539 test $ac_count -gt 10 && break
4541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4544 $ac_path_FGREP_found && break 3
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
4553 ac_cv_path_FGREP=$FGREP
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"
4563 test -z "$GREP" && GREP=grep
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
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; }
4597 # gcc leaves a trailing carriage return which upsets mingw
4598 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4600 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4603 # Accept absolute paths.
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%/%"`
4611 test -z "$LD" && LD="$ac_prog"
4614 # If it fails, then pretend we aren't using GCC.
4618 # If it is relative, then search for the first ld in PATH.
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; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4627 $as_echo_n "checking for non-GNU ld... " >&6; }
4629 if test "${lt_cv_path_LD+set}" = set; then :
4630 $as_echo_n "(cached) " >&6
4632 if test -z "$LD"; then
4633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4634 for ac_dir in $PATH; do
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
4647 test "$with_gnu_ld" != yes && break
4654 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4659 if test -n "$LD"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4661 $as_echo "$LD" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
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
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
4678 lt_cv_prog_gnu_ld=no
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
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
4699 if test -n "$NM"; then
4700 # Let the user override the test.
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"
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
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"
4724 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4726 lt_cv_path_NM="$tmp_nm -p"
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
4740 : ${lt_cv_path_NM=no}
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
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"
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
4759 if test -n "$DUMPBIN"; then
4760 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4789 test -n "$DUMPBIN" && break
4792 if test -z "$DUMPBIN"; then
4793 ac_ct_DUMPBIN=$DUMPBIN
4794 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
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
4803 if test -n "$ac_ct_DUMPBIN"; then
4804 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4833 test -n "$ac_ct_DUMPBIN" && break
4836 if test "x$ac_ct_DUMPBIN" = x; then
4839 case $cross_compiling:$ac_tool_warned in
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 ;;
4845 DUMPBIN=$ac_ct_DUMPBIN
4850 if test "$DUMPBIN" != ":"; then
4854 test -z "$NM" && NM=nm
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
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"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4882 $as_echo "$lt_cv_nm_interface" >&6; }
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
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
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;
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;
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;
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`
4933 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
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`
4941 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4942 lt_cv_sys_max_cmd_len=196608
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
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 ;;
4959 lt_cv_sys_max_cmd_len=102400
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/.*[ ]//'`
4966 lt_cv_sys_max_cmd_len=32768
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`
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
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
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
4989 teststring=$teststring$teststring
4991 # Only check the string length outside the loop.
4992 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
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`
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; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5009 $as_echo "none" >&6; }
5011 max_cmd_len=$lt_cv_sys_max_cmd_len
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
5027 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5029 && eval 'test $(( 1 + 1 )) -eq 2 \
5030 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5033 $as_echo "$xsi_shell" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5037 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5039 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
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; }
5046 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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'
5063 *) # EBCDIC based system
5064 lt_SP2NL='tr \100 \n'
5065 lt_NL2SP='tr \r\n \100\100'
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
5082 lt_cv_ld_reload_flag='-r'
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
5089 *) reload_flag=" $reload_flag" ;;
5091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5094 if test "$GCC" = yes; then
5095 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
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
5118 if test -n "$OBJDUMP"; then
5119 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
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
5158 if test -n "$ac_ct_OBJDUMP"; then
5159 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5187 if test "x$ac_ct_OBJDUMP" = x; then
5190 case $cross_compiling:$ac_tool_warned in
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 ;;
5196 OBJDUMP=$ac_ct_OBJDUMP
5199 OBJDUMP="$ac_cv_prog_OBJDUMP"
5202 test -z "$OBJDUMP" && OBJDUMP=objdump
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
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.
5233 lt_cv_deplibs_check_method=pass_all
5237 lt_cv_deplibs_check_method=pass_all
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
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'
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'
5260 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5261 lt_cv_file_magic_cmd='$OBJDUMP -f'
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'
5271 darwin* | rhapsody*)
5272 lt_cv_deplibs_check_method=pass_all
5275 freebsd* | dragonfly*)
5276 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
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.*`
5287 lt_cv_deplibs_check_method=pass_all
5292 lt_cv_deplibs_check_method=pass_all
5295 hpux10.20* | hpux11*)
5296 lt_cv_file_magic_cmd=/usr/bin/file
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
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
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
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)$'
5318 irix5* | irix6* | nonstopux*)
5320 *-32|*"-32 ") libmagic=32-bit;;
5321 *-n32|*"-n32 ") libmagic=N32;;
5322 *-64|*"-64 ") libmagic=64-bit;;
5323 *) libmagic=never-match;;
5325 lt_cv_deplibs_check_method=pass_all
5328 # This must be Linux ELF.
5329 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5330 lt_cv_deplibs_check_method=pass_all
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)$'
5337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
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
5348 lt_cv_deplibs_check_method=pass_all
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)$'
5355 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5359 osf3* | osf4* | osf5*)
5360 lt_cv_deplibs_check_method=pass_all
5364 lt_cv_deplibs_check_method=pass_all
5368 lt_cv_deplibs_check_method=pass_all
5371 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5372 lt_cv_deplibs_check_method=pass_all
5376 case $host_vendor in
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*`
5382 lt_cv_deplibs_check_method=pass_all
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 )'
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
5394 lt_cv_deplibs_check_method=pass_all
5397 lt_cv_deplibs_check_method=pass_all
5403 lt_cv_deplibs_check_method=pass_all
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
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
5433 if test -n "$AR"; then
5434 ac_cv_prog_AR="$AR" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
5454 if test -n "$AR"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5456 $as_echo "$AR" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_AR"; then
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
5473 if test -n "$ac_ct_AR"; then
5474 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_AR" = x; then
5505 case $cross_compiling:$ac_tool_warned in
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 ;;
5517 test -z "$AR" && AR=ar
5518 test -z "$AR_FLAGS" && AR_FLAGS=cru
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
5538 if test -n "$STRIP"; then
5539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5569 if test -z "$ac_cv_prog_STRIP"; then
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
5578 if test -n "$ac_ct_STRIP"; then
5579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5607 if test "x$ac_ct_STRIP" = x; then
5610 case $cross_compiling:$ac_tool_warned in
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 ;;
5619 STRIP="$ac_cv_prog_STRIP"
5622 test -z "$STRIP" && STRIP=:
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
5637 if test -n "$RANLIB"; then
5638 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
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
5677 if test -n "$ac_ct_RANLIB"; then
5678 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5706 if test "x$ac_ct_RANLIB" = x; then
5709 case $cross_compiling:$ac_tool_warned in
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 ;;
5715 RANLIB=$ac_ct_RANLIB
5718 RANLIB="$ac_cv_prog_RANLIB"
5721 test -z "$RANLIB" && RANLIB=:
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=
5733 if test -n "$RANLIB"; then
5736 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5739 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5742 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5778 # If no C compiler was specified, use CC.
5781 # If no C compiler flags were specified, use CFLAGS.
5782 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5784 # Allow CC to be a program name with arguments.
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
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?!! ;)]
5798 # Character class describing NM global symbol codes.
5799 symcode='[BCDEGRST]'
5801 # Regexp to match symbols that can be accessed directly from C.
5802 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5804 # Define system-specific variables.
5809 cygwin* | mingw* | pw32* | cegcc*)
5810 symcode='[ABCDGISTW]'
5813 if test "$host_cpu" = ia64; then
5814 symcode='[ABCDEGRST]'
5818 symcode='[BCDEGRST]'
5821 symcode='[BCDEGQRST]'
5832 sysv5* | sco5v6* | unixware* | OpenUNIX*)
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]' ;;
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'"
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'"
5855 # Handle CRLF in mingw tool chain
5859 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5863 # Try without a prefix underscore, then with it.
5864 for ac_symprfx in "" "_"; do
5866 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5867 symxfrm="\\1 $ac_symprfx\\2 \\2"
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"
5887 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5890 # Check to see that the pipe works correctly.
5894 cat > conftest.$ac_ext <<_LT_EOF
5899 void nm_test_func(void);
5900 void nm_test_func(void){}
5904 int main(){nm_test_var='a';nm_test_func();return(0);}
5907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5908 (eval $ac_compile) 2>&5
5910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5911 test $ac_status = 0; }; then
5912 # Now try to grab the symbols.
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
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"
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
5935 # Now generate the symbol file.
5936 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5938 cat <<_LT_EOF >> conftest.$ac_ext
5940 /* The mapping between symbol names and symbols. */
5945 lt__PROGRAM__LTX_preloaded_symbols[] =
5947 { "@PROGRAM@", (void *) 0 },
5949 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5950 cat <<\_LT_EOF >> conftest.$ac_ext
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;
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
5974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5975 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5978 LIBS="$lt_save_LIBS"
5979 CFLAGS="$lt_save_CFLAGS"
5981 echo "cannot find nm_test_func in $nlist" >&5
5984 echo "cannot find nm_test_var in $nlist" >&5
5987 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5990 echo "$progname: failed program was:" >&5
5991 cat conftest.$ac_ext >&5
5993 rm -rf conftest* conftst*
5995 # Do not use the global_symbol_pipe unless it works.
5996 if test "$pipe_works" = yes; then
5999 lt_cv_sys_global_symbol_pipe=
6005 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6006 lt_cv_sys_global_symbol_to_cdecl=
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; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6013 $as_echo "ok" >&6; }
6038 # Check whether --enable-libtool-lock was given.
6039 if test "${enable_libtool_lock+set}" = set; then :
6040 enableval=$enable_libtool_lock;
6043 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6045 # Some flags need to be propagated to the compiler or linker for good
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
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
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
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
6078 LD="${LD-ld} -melf32bsmip"
6081 LD="${LD-ld} -melf32bmipn32"
6084 LD="${LD-ld} -melf64bmip"
6088 case `/usr/bin/file conftest.$ac_objext` in
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
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
6116 x86_64-*kfreebsd*-gnu)
6117 LD="${LD-ld} -m elf_i386_fbsd"
6120 LD="${LD-ld} -m elf_i386"
6122 ppc64-*linux*|powerpc64-*linux*)
6123 LD="${LD-ld} -m elf32ppclinux"
6126 LD="${LD-ld} -m elf_s390"
6129 LD="${LD-ld} -m elf32_sparc"
6135 x86_64-*kfreebsd*-gnu)
6136 LD="${LD-ld} -m elf_x86_64_fbsd"
6139 LD="${LD-ld} -m elf_x86_64"
6141 ppc*-*linux*|powerpc*-*linux*)
6142 LD="${LD-ld} -m elf64ppc"
6144 s390*-*linux*|s390*-*tpf*)
6145 LD="${LD-ld} -m elf64_s390"
6148 LD="${LD-ld} -m elf64_sparc"
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
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
6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6183 if ac_fn_c_try_link "$LINENO"; then :
6184 lt_cv_cc_needs_belf=yes
6186 lt_cv_cc_needs_belf=no
6188 rm -f core conftest.err conftest.$ac_objext \
6189 conftest$ac_exeext conftest.$ac_ext
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
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"
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
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
6214 case $lt_cv_prog_gnu_ld in
6215 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6217 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6229 need_locks="$enable_libtool_lock"
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
6242 if test -n "$DSYMUTIL"; then
6243 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
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
6282 if test -n "$ac_ct_DSYMUTIL"; then
6283 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6311 if test "x$ac_ct_DSYMUTIL" = x; then
6314 case $cross_compiling:$ac_tool_warned in
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 ;;
6320 DSYMUTIL=$ac_ct_DSYMUTIL
6323 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
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
6334 if test -n "$NMEDIT"; then
6335 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
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
6374 if test -n "$ac_ct_NMEDIT"; then
6375 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6403 if test "x$ac_ct_NMEDIT" = x; then
6406 case $cross_compiling:$ac_tool_warned in
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 ;;
6412 NMEDIT=$ac_ct_NMEDIT
6415 NMEDIT="$ac_cv_prog_NMEDIT"
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
6426 if test -n "$LIPO"; then
6427 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6457 if test -z "$ac_cv_prog_LIPO"; then
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
6466 if test -n "$ac_ct_LIPO"; then
6467 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6495 if test "x$ac_ct_LIPO" = x; then
6498 case $cross_compiling:$ac_tool_warned in
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 ;;
6507 LIPO="$ac_cv_prog_LIPO"
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
6518 if test -n "$OTOOL"; then
6519 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_OTOOL"; then
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
6558 if test -n "$ac_ct_OTOOL"; then
6559 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_OTOOL" = x; then
6590 case $cross_compiling:$ac_tool_warned in
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 ;;
6599 OTOOL="$ac_cv_prog_OTOOL"
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
6610 if test -n "$OTOOL64"; then
6611 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
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
6650 if test -n "$ac_ct_OTOOL64"; then
6651 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6679 if test "x$ac_ct_OTOOL64" = x; then
6682 case $cross_compiling:$ac_tool_warned in
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 ;;
6688 OTOOL64=$ac_ct_OTOOL64
6691 OTOOL64="$ac_cv_prog_OTOOL64"
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
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
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
6738 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6739 lt_cv_apple_cc_single_mod=yes
6741 cat conftest.err >&5
6743 rm -rf libconftest.dylib*
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
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. */
6769 if ac_fn_c_try_link "$LINENO"; then :
6770 lt_cv_ld_exported_symbols_list=yes
6772 lt_cv_ld_exported_symbols_list=no
6774 rm -f core conftest.err conftest.$ac_objext \
6775 conftest$ac_exeext conftest.$ac_ext
6776 LDFLAGS="$save_LDFLAGS"
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; }
6782 rhapsody* | darwin1.[012])
6783 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
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' ;;
6794 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6796 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6800 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6801 _lt_dar_single_mod='$single_module'
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'
6806 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6808 if test "$DSYMUTIL" != ":"; then
6809 _lt_dsymutil='~$DSYMUTIL $lib || :'
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
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6823 /* end confdefs.h. */
6837 if ac_fn_c_try_compile "$LINENO"; then :
6838 ac_cv_header_stdc=yes
6840 ac_cv_header_stdc=no
6842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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. */
6851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6852 $EGREP "memchr" >/dev/null 2>&1; then :
6855 ac_cv_header_stdc=no
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. */
6868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6869 $EGREP "free" >/dev/null 2>&1; then :
6872 ac_cv_header_stdc=no
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 :
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6887 #if ((' ' & 0x0FF) == 0x020)
6888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
6898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6903 for (i = 0; i < 256; i++)
6904 if (XOR (islower (i), ISLOWER (i))
6905 || toupper (i) != TOUPPER (i))
6910 if ac_fn_c_try_run "$LINENO"; then :
6913 ac_cv_header_stdc=no
6915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6916 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
6925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
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
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
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
6946 for ac_header in dlfcn.h
6948 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6950 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE_DLFCN_H 1
6969 # Check whether --enable-shared was given.
6970 if test "${enable_shared+set}" = set; then :
6971 enableval=$enable_shared; p=${PACKAGE-default}
6973 yes) enable_shared=yes ;;
6974 no) 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
6981 if test "X$pkg" = "X$p"; then
7002 # Check whether --with-pic was given.
7003 if test "${with_pic+set}" = set; then :
7004 withval=$with_pic; pic_mode="$withval"
7010 test -z "$pic_mode" && pic_mode=default
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}
7022 yes) enable_fast_install=yes ;;
7023 no) enable_fast_install=no ;;
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
7030 if test "X$pkg" = "X$p"; then
7031 enable_fast_install=yes
7038 enable_fast_install=yes
7051 # This can be used to rebuild libtool when needed
7052 LIBTOOL_DEPS="$ltmain"
7054 # Always use our own libtool.
7055 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7081 test -z "$LN_S" && LN_S="ln -s"
7096 if test -n "${ZSH_VERSION+set}" ; then
7097 setopt NO_GLOB_SUBST
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
7105 rm -f .libs 2>/dev/null
7106 mkdir .libs 2>/dev/null
7107 if test -d .libs; then
7110 # MS-DOS does not allow filenames that begin with a dot.
7113 rmdir .libs 2>/dev/null
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
7123 cat >>confdefs.h <<_ACEOF
7124 #define LT_OBJDIR "$lt_cv_objdir/"
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
7150 export COLLECT_NAMES
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'
7159 # Same as above, but do not quote variable references.
7160 double_quote_subst='s/\(["`\\]\)/\\\1/g'
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'
7166 # Sed substitution to delay expansion of an escaped single quote.
7167 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7169 # Sed substitution to avoid accidental globbing in evaled expressions
7170 no_glob_subst='s/\*/\\\*/g'
7174 can_build_shared=yes
7176 # All known linkers require a `.a' archive for static linking (except MSVC,
7177 # which needs '.lib').
7180 with_gnu_ld="$lt_cv_prog_gnu_ld"
7183 old_CFLAGS="$CFLAGS"
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
7192 for cc_temp in $compiler""; do
7194 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7195 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7200 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
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
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
7215 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
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
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
7254 MAGIC_CMD="$lt_save_MAGIC_CMD"
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; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
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
7281 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
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
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
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
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
7320 MAGIC_CMD="$lt_save_MAGIC_CMD"
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; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7344 # Use C for the default configuration in the libtool script
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
7354 # Source file extension for C test sources.
7357 # Object file extension for compiled C test sources.
7361 # Code to be used in simple compile tests
7362 lt_simple_compile_test_code="int some_variable = 0;"
7364 # Code to be used in simple link tests
7365 lt_simple_link_test_code='int main(){return(0);}'
7373 # If no C compiler was specified, use CC.
7376 # If no C compiler flags were specified, use CFLAGS.
7377 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7379 # Allow CC to be a program name with arguments.
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
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`
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`
7400 if test -n "$compiler"; then
7402 lt_prog_compiler_no_builtin_flag=
7404 if test "$GCC" = yes; then
7405 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
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
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)
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
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; }
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"
7458 lt_prog_compiler_wl=
7459 lt_prog_compiler_pic=
7460 lt_prog_compiler_static=
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; }
7465 if test "$GCC" = yes; then
7466 lt_prog_compiler_wl='-Wl,'
7467 lt_prog_compiler_static='-static'
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'
7481 # see comment about AmigaOS4 .so support
7482 lt_prog_compiler_pic='-fPIC'
7485 # FIXME: we need at least 68020 code to build shared libraries, but
7486 # adding the `-m68020' flag to GCC prevents building anything better,
7488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7494 # PIC is the default for these OSes.
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'
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'
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.
7520 lt_prog_compiler_pic='-fPIC'
7526 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7527 # Instead, we relocate shared libraries at runtime.
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
7538 # QNX uses GNU C++, but need to define -shared option too, otherwise
7540 lt_prog_compiler_pic='-fPIC -shared'
7544 if test -d /usr/nec; then
7545 lt_prog_compiler_pic=-Kconform_pic
7550 lt_prog_compiler_pic='-fPIC'
7554 # PORTME Check for flag to pass linker flags through the system compiler.
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'
7562 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
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'
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
7581 lt_prog_compiler_pic='+Z'
7584 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7585 lt_prog_compiler_static='${wl}-a ${wl}archive'
7588 irix5* | irix6* | nonstopux*)
7589 lt_prog_compiler_wl='-Wl,'
7590 # PIC (with -KPIC) is the default.
7591 lt_prog_compiler_static='-non_shared'
7594 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7595 case $cc_basename in
7596 # old Intel for x86_64 which still supported -KPIC.
7598 lt_prog_compiler_wl='-Wl,'
7599 lt_prog_compiler_pic='-KPIC'
7600 lt_prog_compiler_static='-static'
7602 # icc used to be incompatible with GCC.
7603 # ICC 10 doesn't accept -KPIC any more.
7605 lt_prog_compiler_wl='-Wl,'
7606 lt_prog_compiler_pic='-fPIC'
7607 lt_prog_compiler_static='-static'
7609 # Lahey Fortran 8.1.
7611 lt_prog_compiler_wl='-Wl,'
7612 lt_prog_compiler_pic='--shared'
7613 lt_prog_compiler_static='--static'
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'
7623 lt_prog_compiler_wl='-Wl,'
7624 # All Alpha code is PIC.
7625 lt_prog_compiler_static='-non_shared'
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'
7634 case `$CC -V 2>&1 | sed 5q` in
7637 lt_prog_compiler_pic='-KPIC'
7638 lt_prog_compiler_static='-Bstatic'
7639 lt_prog_compiler_wl='-Wl,'
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=''
7653 lt_prog_compiler_pic='-KPIC'
7654 lt_prog_compiler_static='-Bstatic'
7658 # QNX uses GNU C++, but need to define -shared option too, otherwise
7660 lt_prog_compiler_pic='-fPIC -shared'
7663 osf3* | osf4* | osf5*)
7664 lt_prog_compiler_wl='-Wl,'
7665 # All OSF/1 code is PIC.
7666 lt_prog_compiler_static='-non_shared'
7670 lt_prog_compiler_static='-non_shared'
7674 lt_prog_compiler_pic='-KPIC'
7675 lt_prog_compiler_static='-Bstatic'
7676 case $cc_basename in
7678 lt_prog_compiler_wl='-Qoption ld ';;
7680 lt_prog_compiler_wl='-Wl,';;
7685 lt_prog_compiler_wl='-Qoption ld '
7686 lt_prog_compiler_pic='-PIC'
7687 lt_prog_compiler_static='-Bstatic'
7690 sysv4 | sysv4.2uw2* | sysv4.3*)
7691 lt_prog_compiler_wl='-Wl,'
7692 lt_prog_compiler_pic='-KPIC'
7693 lt_prog_compiler_static='-Bstatic'
7697 if test -d /usr/nec ;then
7698 lt_prog_compiler_pic='-Kconform_pic'
7699 lt_prog_compiler_static='-Bstatic'
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'
7710 lt_prog_compiler_wl='-Wl,'
7711 lt_prog_compiler_can_build_shared=no
7715 lt_prog_compiler_pic='-pic'
7716 lt_prog_compiler_static='-Bstatic'
7720 lt_prog_compiler_can_build_shared=no
7726 # For platforms which do not support PIC, -DPIC is meaningless:
7728 lt_prog_compiler_pic=
7731 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7735 $as_echo "$lt_prog_compiler_pic" >&6; }
7743 # Check to make sure the PIC flag actually works.
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
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)
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
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; }
7784 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7785 case $lt_prog_compiler_pic in
7787 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7790 lt_prog_compiler_pic=
7791 lt_prog_compiler_can_build_shared=no
7802 # Check to make sure the static flag actually works.
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
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
7826 lt_cv_prog_compiler_static_works=yes
7830 LDFLAGS="$save_LDFLAGS"
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; }
7836 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7839 lt_prog_compiler_static=
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
7853 lt_cv_prog_compiler_c_o=no
7854 $RM -r conftest 2>/dev/null
7858 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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; }
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
7908 lt_cv_prog_compiler_c_o=no
7909 $RM -r conftest 2>/dev/null
7913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
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)
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
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
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
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; }
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; }
7963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
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;}
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; }
7987 allow_undefined_flag=
7988 always_export_symbols=no
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
7997 hardcode_direct_absolute=no
7998 hardcode_libdir_flag_spec=
7999 hardcode_libdir_flag_spec_ld=
8000 hardcode_libdir_separator=
8002 hardcode_shlibpath_var=unsupported
8004 link_all_deplibs=unknown
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
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=
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
8037 # we just hope/assume this is gcc and not c89 (= MSVC++)
8043 linux* | k*bsd*-gnu)
8049 if test "$with_gnu_ld" = yes; then
8050 # If archive_cmds runs LD, not CC, wlarc should be empty
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'
8063 whole_archive_flag_spec=
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 ;;
8075 # See if GNU ld supports shared libraries.
8078 # On AIX/PPC, the GNU linker is very broken
8079 if test "$host_cpu" != ia64; then
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.
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=''
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
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'
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'
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;
8135 echo EXPORTS > $output_objdir/$soname.def;
8136 cat $export_symbols >> $output_objdir/$soname.def;
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'
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'
8159 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
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)
8166 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8167 && test "$tmp_diet" = no
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'
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'
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' ;;
8200 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
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'
8209 case $cc_basename in
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'
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'
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'
8240 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
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.
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'
8260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8261 case `$LD -v 2>&1` in
8262 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
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.
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'
8292 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8295 hardcode_shlibpath_var=no
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'
8308 if test "$ld_shlibs" = no; then
8310 hardcode_libdir_flag_spec=
8311 export_dynamic_flag_spec=
8312 whole_archive_flag_spec=
8315 # PORTME fill in a description of your system's linker (not GNU ld)
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
8327 hardcode_direct=unsupported
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'
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'
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'
8346 aix_use_runtimelinking=no
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
8361 exp_sym_flag='-bexport'
8362 no_entry_flag='-bnoentry'
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.
8373 hardcode_direct_absolute=yes
8374 hardcode_libdir_separator=':'
8375 link_all_deplibs=yes
8376 file_list_spec='${wl}-f,'
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
8386 # We have reworked collect2
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=
8400 shared_flag='-shared'
8401 if test "$aix_use_runtimelinking" = yes; then
8402 shared_flag="$shared_flag "'${wl}-G'
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:
8412 if test "$aix_use_runtimelinking" = yes; then
8413 shared_flag='${wl}-G'
8415 shared_flag='${wl}-bM:SRE'
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
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8441 if ac_fn_c_try_link "$LINENO"; then :
8443 lt_aix_libpath_sed='
8444 /Import File Strings/,/^$/ {
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"`
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
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"
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"
8468 # Determine the default libpath from the value encoded in an
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8481 if ac_fn_c_try_link "$LINENO"; then :
8483 lt_aix_libpath_sed='
8484 /Import File Strings/,/^$/ {
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"`
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
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'
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=''
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
8530 export_dynamic_flag_spec=-rdynamic
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.
8542 # Tell ltmain to make .dll files, not .so files.
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
8554 darwin* | rhapsody*)
8557 archive_cmds_need_lc=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 ;;
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}"
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
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
8596 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8597 hardcode_libdir_flag_spec='-R$libdir'
8599 hardcode_shlibpath_var=no
8602 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8604 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8606 hardcode_minus_L=yes
8607 hardcode_shlibpath_var=no
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'
8615 hardcode_shlibpath_var=no
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'
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'
8624 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8625 hardcode_libdir_separator=:
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'
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'
8638 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
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=:
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
8654 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8657 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8663 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8672 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8675 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8679 if test "$with_gnu_ld" = no; then
8680 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8681 hardcode_libdir_separator=:
8686 hardcode_shlibpath_var=no
8690 hardcode_direct_absolute=yes
8691 export_dynamic_flag_spec='${wl}-E'
8693 # hardcode_minus_L: Not really in the search PATH,
8694 # but as the default location of the library.
8695 hardcode_minus_L=yes
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. */
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'
8717 rm -f core conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 LDFLAGS="$save_LDFLAGS"
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'
8724 archive_cmds_need_lc='no'
8725 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8726 hardcode_libdir_separator=:
8728 link_all_deplibs=yes
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
8735 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8737 hardcode_libdir_flag_spec='-R$libdir'
8739 hardcode_shlibpath_var=no
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8746 hardcode_libdir_separator=:
8747 hardcode_shlibpath_var=no
8754 if test -f /usr/libexec/ld.so; then
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'
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'
8770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8771 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
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'
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'
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'
8796 archive_cmds_need_lc='no'
8797 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8798 hardcode_libdir_separator=:
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'
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'
8812 # Both c and cxx compiler support -rpath directly
8813 hardcode_libdir_flag_spec='-rpath $libdir'
8815 archive_cmds_need_lc='no'
8816 hardcode_libdir_separator=:
8820 no_undefined_flag=' -z defs'
8821 if test "$GCC" = yes; then
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'
8827 case `$CC -V 2>&1` in
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'
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'
8842 hardcode_libdir_flag_spec='-R$libdir'
8843 hardcode_shlibpath_var=no
8845 solaris2.[0-5] | solaris2.[0-5].*) ;;
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'
8854 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8858 link_all_deplibs=yes
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'
8867 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8869 hardcode_libdir_flag_spec='-L$libdir'
8871 hardcode_minus_L=yes
8872 hardcode_shlibpath_var=no
8876 case $host_vendor in
8878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8879 hardcode_direct=yes # is this really true???
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'
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
8893 runpath_var='LD_RUN_PATH'
8894 hardcode_shlibpath_var=no
8898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8899 hardcode_shlibpath_var=no
8900 export_dynamic_flag_spec='-Bexport'
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
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'
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'
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'
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
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'
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'
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'
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
8965 if test x$host_vendor = xsni; then
8967 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8968 export_dynamic_flag_spec='${wl}-Blargedynsym'
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
8978 with_gnu_ld=$with_gnu_ld
8995 # Do we need to explicitly link libc?
8997 case "x$archive_cmds_need_lc" in
8999 # Assume -lc should be added
9000 archive_cmds_need_lc=yes
9002 if test "$enable_shared" = yes && test "$GCC" = yes; then
9003 case $archive_cmds in
9005 # FIXME: we may have to deal with multi-command sequences.
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; }
9014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9017 (eval $ac_compile) 2>&5
9019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9020 test $ac_status = 0; } 2>conftest.err; then
9023 libobjs=conftest.$ac_objext
9025 wl=$lt_prog_compiler_wl
9026 pic_flag=$lt_prog_compiler_pic
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
9037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9038 test $ac_status = 0; }
9040 archive_cmds_need_lc=no
9042 archive_cmds_need_lc=yes
9044 allow_undefined_flag=$lt_save_allow_undefined_flag
9046 cat conftest.err 1>&5
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9050 $as_echo "$archive_cmds_need_lc" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9214 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9216 if test "$GCC" = yes; then
9218 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9219 *) lt_awk_arg="/^libraries:/" ;;
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'`
9229 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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"
9239 test -d "$lt_sys_path" && \
9240 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9243 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9244 BEGIN {RS=" "; FS="/|\n";} {
9247 for (lt_i = NF; lt_i > 0; lt_i--) {
9248 if ($lt_i != "" && $lt_i != ".") {
9249 if ($lt_i == "..") {
9252 if (lt_count == 0) {
9253 lt_foo="/" $lt_i lt_foo;
9260 if (lt_foo != "") { lt_freq[lt_foo]++; }
9261 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9263 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9265 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9268 libname_spec='lib$name'
9276 shlibpath_overrides_runpath=unknown
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
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
9290 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9291 shlibpath_var=LIBPATH
9293 # AIX 3 has no versioning support, so we append a major version to the name.
9294 soname_spec='${libname}${release}${shared_ext}$major'
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
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.
9313 aix4 | aix4.[01] | aix4.[01].*)
9314 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9316 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
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}'
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'
9337 shlibpath_var=LIBPATH
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}'
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'
9357 library_names_spec='${libname}${shared_ext}'
9358 dynamic_linker="$host_os ld.so"
9359 shlibpath_var=LIBRARY_PATH
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
9376 cygwin* | mingw* | pw32* | cegcc*)
9377 version_type=windows
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 \$?;
9395 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9396 dlpath=$dir/\$dldll~
9398 shlibpath_overrides_runpath=yes
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"
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'`
9419 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
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}'
9430 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9433 dynamic_linker='Win32 ld.exe'
9434 # FIXME: first we should search . and the directory the executable is in
9438 darwin* | rhapsody*)
9439 dynamic_linker="$host_os dyld"
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`'
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'
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
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`
9473 freebsd[123]*) objformat=aout ;;
9477 version_type=freebsd-$objformat
9478 case $version_type in
9480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9489 shlibpath_var=LD_LIBRARY_PATH
9492 shlibpath_overrides_runpath=yes
9494 freebsd3.[01]* | freebsdelf3.[01]*)
9495 shlibpath_overrides_runpath=yes
9496 hardcode_into_libs=yes
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
9503 *) # from 4.6 on, and DragonFly
9504 shlibpath_overrides_runpath=yes
9505 hardcode_into_libs=yes
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
9520 hpux9* | hpux10* | hpux11*)
9521 # Give a soname corresponding to the major version so that dld.sl refuses to
9522 # link against other versions.
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"
9538 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9540 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
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
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'
9562 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9563 postinstall_cmds='chmod 555 $lib'
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
9578 irix5* | irix6* | nonstopux*)
9580 nonstopux*) version_type=nonstopux ;;
9582 if test "$lt_cv_prog_gnu_ld" = yes; then
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}'
9593 irix5* | nonstopux*)
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;;
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
9615 # No shared lib support for Linux oldld, aout, or coff.
9616 linux*oldld* | linux*aout* | linux*coff*)
9620 # This must be Linux ELF.
9621 linux* | k*bsd*-gnu | kopensolaris*-gnu)
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
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. */
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
9651 rm -f core conftest.err conftest.$ac_objext \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LDFLAGS=$save_LDFLAGS
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
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"
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'
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'
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'
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'
9701 shlibpath_var=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath=yes
9703 hardcode_into_libs=yes
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
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'
9727 sys_lib_dlsearch_path_spec="/usr/lib"
9729 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9731 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9732 *) need_version=no ;;
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
9739 openbsd2.[89] | openbsd2.[89].*)
9740 shlibpath_overrides_runpath=no
9743 shlibpath_overrides_runpath=yes
9747 shlibpath_overrides_runpath=yes
9752 libname_spec='$name'
9755 library_names_spec='$libname${shared_ext} $libname.a'
9756 dynamic_linker='OS/2 ld.exe'
9757 shlibpath_var=LIBPATH
9760 osf3* | osf4* | osf5*)
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"
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'
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
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
9807 shlibpath_overrides_runpath=no
9809 runpath_var=LD_RUN_PATH
9817 shlibpath_overrides_runpath=no
9818 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9824 if test -d /usr/nec ;then
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
9832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9833 version_type=freebsd-elf
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'
9844 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9847 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9851 sys_lib_dlsearch_path_spec='/usr/lib'
9855 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
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
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
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
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"
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"
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"
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; }
9981 if test -n "$hardcode_libdir_flag_spec" ||
9982 test -n "$runpath_var" ||
9983 test "X$hardcode_automatic" = "Xyes" ; then
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
9995 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9996 hardcode_action=immediate
9999 # We cannot hardcode anything, or else we can only hardcode existing
10001 hardcode_action=unsupported
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10004 $as_echo "$hardcode_action" >&6; }
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
10021 if test "x$enable_dlopen" != xyes; then
10022 enable_dlopen=unknown
10023 enable_dlopen_self=unknown
10024 enable_dlopen_self_static=unknown
10031 lt_cv_dlopen="load_add_on"
10033 lt_cv_dlopen_self=yes
10036 mingw* | pw32* | cegcc*)
10037 lt_cv_dlopen="LoadLibrary"
10042 lt_cv_dlopen="dlopen"
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
10053 ac_check_lib_save_LIBS=$LIBS
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
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. */
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_lib_dl_dlopen=yes
10076 ac_cv_lib_dl_dlopen=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 LIBS=$ac_check_lib_save_LIBS
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"
10088 lt_cv_dlopen="dyld"
10090 lt_cv_dlopen_self=yes
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"
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
10106 ac_check_lib_save_LIBS=$LIBS
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
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. */
10121 return shl_load ();
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_lib_dld_shl_load=yes
10129 ac_cv_lib_dld_shl_load=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
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"
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"
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
10149 ac_check_lib_save_LIBS=$LIBS
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
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. */
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 ac_cv_lib_dl_dlopen=yes
10172 ac_cv_lib_dl_dlopen=no
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_lib_save_LIBS
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"
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
10188 ac_check_lib_save_LIBS=$LIBS
10189 LIBS="-lsvld $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
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. */
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 ac_cv_lib_svld_dlopen=yes
10211 ac_cv_lib_svld_dlopen=no
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_lib_save_LIBS
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"
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
10227 ac_check_lib_save_LIBS=$LIBS
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
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. */
10242 return dld_link ();
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_lib_dld_dld_link=yes
10250 ac_cv_lib_dld_dld_link=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_lib_save_LIBS
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"
10280 if test "x$lt_cv_dlopen" != xno; then
10286 case $lt_cv_dlopen in
10288 save_CPPFLAGS="$CPPFLAGS"
10289 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10291 save_LDFLAGS="$LDFLAGS"
10292 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10295 LIBS="$lt_cv_dlopen_libs $LIBS"
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
10302 if test "$cross_compiling" = yes; then :
10303 lt_cv_dlopen_self=cross
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"
10318 # define LT_DLGLOBAL RTLD_GLOBAL
10321 # define LT_DLGLOBAL DL_GLOBAL
10323 # define LT_DLGLOBAL 0
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
10331 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10334 # define LT_DLLAZY_OR_NOW DL_LAZY
10337 # define LT_DLLAZY_OR_NOW RTLD_NOW
10340 # define LT_DLLAZY_OR_NOW DL_NOW
10342 # define LT_DLLAZY_OR_NOW 0
10349 void fnord() { int i=42;}
10352 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10353 int status = $lt_dlunknown;
10357 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10358 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10359 /* dlclose (self); */
10367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10368 (eval $ac_link) 2>&5
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
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 ;;
10380 # compilation failed
10381 lt_cv_dlopen_self=no
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10389 $as_echo "$lt_cv_dlopen_self" >&6; }
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
10398 if test "$cross_compiling" = yes; then :
10399 lt_cv_dlopen_self_static=cross
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"
10414 # define LT_DLGLOBAL RTLD_GLOBAL
10417 # define LT_DLGLOBAL DL_GLOBAL
10419 # define LT_DLGLOBAL 0
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
10427 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10430 # define LT_DLLAZY_OR_NOW DL_LAZY
10433 # define LT_DLLAZY_OR_NOW RTLD_NOW
10436 # define LT_DLLAZY_OR_NOW DL_NOW
10438 # define LT_DLLAZY_OR_NOW 0
10445 void fnord() { int i=42;}
10448 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10449 int status = $lt_dlunknown;
10453 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10454 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10455 /* dlclose (self); */
10463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10464 (eval $ac_link) 2>&5
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
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 ;;
10476 # compilation failed
10477 lt_cv_dlopen_self_static=no
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10485 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10488 CPPFLAGS="$save_CPPFLAGS"
10489 LDFLAGS="$save_LDFLAGS"
10494 case $lt_cv_dlopen_self in
10495 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10496 *) enable_dlopen_self=unknown ;;
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 ;;
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; }
10531 # FIXME - insert some real tests, host_os isn't really good enough
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; }
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 $as_echo "no" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
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; }
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
10572 # On AIX, shared libraries and static libraries use the same namespace, and
10573 # are all built from PIC.
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'
10584 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10585 test "$enable_shared" = yes && enable_static=no
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10590 $as_echo "$enable_shared" >&6; }
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; }
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
10623 ac_config_commands="$ac_config_commands libtool"
10628 # Only expand once:
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
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 #include <stdlib.h>
10642 #include <stdarg.h>
10643 #include <string.h>
10654 if ac_fn_c_try_compile "$LINENO"; then :
10655 ac_cv_header_stdc=yes
10657 ac_cv_header_stdc=no
10659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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>
10668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10669 $EGREP "memchr" >/dev/null 2>&1; then :
10672 ac_cv_header_stdc=no
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>
10685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10686 $EGREP "free" >/dev/null 2>&1; then :
10689 ac_cv_header_stdc=no
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 :
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.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))
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))
10715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10720 for (i = 0; i < 256; i++)
10721 if (XOR (islower (i), ISLOWER (i))
10722 || toupper (i) != TOUPPER (i))
10727 if ac_fn_c_try_run "$LINENO"; then :
10730 ac_cv_header_stdc=no
10732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10733 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
10742 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10746 ac_config_headers="$ac_config_headers include/config.h"
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
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10760 /* FIXME: Include the comments suggested by Paul. */
10761 #ifndef __cplusplus
10762 /* Ultrix mips cc rejects this. */
10763 typedef int charset[2];
10765 /* SunOS 4.1.1 cc rejects this. */
10766 char const *const *pcpcc;
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
10775 const char *g = "string";
10776 pcpcc = &g + (g ? g-g : 0);
10777 /* HPUX 7.0 cc rejects these. */
10779 ppc = (char**) pcpcc;
10780 pcpcc = (char const *const *) ppc;
10781 { /* SCO 3.2v4 cc rejects this. */
10783 char const *s = 0 ? (char *) 0 : (char const *) 0;
10788 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10789 int x[] = {25, 17};
10790 const int *foo = &x[0];
10793 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10794 typedef const int *iptr;
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;
10803 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10804 const int foo = 10;
10805 if (!foo) return 0;
10807 return !cs[0] && !zero.x;
10814 if ac_fn_c_try_compile "$LINENO"; then :
10819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
10825 $as_echo "#define const /**/" >>confdefs.h
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
10835 for ac_kw in inline __inline__ __inline; do
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10838 #ifndef __cplusplus
10840 static $ac_kw foo_t static_foo () {return 0; }
10841 $ac_kw foo_t foo () {return 0; }
10845 if ac_fn_c_try_compile "$LINENO"; then :
10846 ac_cv_c_inline=$ac_kw
10848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10849 test "$ac_cv_c_inline" != no && break
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
10854 $as_echo "$ac_cv_c_inline" >&6; }
10856 case $ac_cv_c_inline in
10859 case $ac_cv_c_inline in
10861 *) ac_val=$ac_cv_c_inline;;
10863 cat >>confdefs.h <<_ACEOF
10864 #ifndef __cplusplus
10865 #define inline $ac_val
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
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10878 #include <sys/types.h>
10879 #include <sys/time.h>
10885 if ((struct tm *) 0)
10891 if ac_fn_c_try_compile "$LINENO"; then :
10892 ac_cv_header_time=yes
10894 ac_cv_header_time=no
10896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
10902 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
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
10913 ac_pattern="Autoconf.*'x'"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
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
10923 ac_cv_prog_gcc_traditional=no
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>
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
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"
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 :
10954 if test "x$HAVE_HSEARCH_R" != xyes; then
10955 ALSA_HSEARCH_R_TRUE=
10956 ALSA_HSEARCH_R_FALSE='#'
10958 ALSA_HSEARCH_R_TRUE='#'
10959 ALSA_HSEARCH_R_FALSE=
10962 for ac_func in uselocale
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
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
10980 cat >>confdefs.h <<_ACEOF
10981 #define VERSION "$SND_LIB_VERSION"
10985 SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
10987 SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
10989 SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'`
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 ;;
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; }
11006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11009 # Check whether --with-configdir was given.
11010 if test "${with_configdir+set}" = set; then :
11011 withval=$with_configdir; confdir="$withval"
11016 if test -z "$confdir"; then
11017 eval dir="$datadir"
11020 *) dir="$prefix/share"
11022 confdir="$dir/alsa"
11024 ALSA_CONFIG_DIR="$confdir"
11026 cat >>confdefs.h <<_ACEOF
11027 #define ALSA_CONFIG_DIR "$confdir"
11032 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
11035 # Check whether --with-plugindir was given.
11036 if test "${with_plugindir+set}" = set; then :
11037 withval=$with_plugindir; plugindir="$withval"
11042 if test -z "$plugindir"; then
11048 plugindir="$dir/$PACKAGE"
11051 cat >>confdefs.h <<_ACEOF
11052 #define ALSA_PLUGIN_DIR "$plugindir"
11055 ALSA_PLUGIN_DIR="$plugindir"
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for versioned symbols" >&5
11059 $as_echo_n "checking for versioned symbols... " >&6; }
11061 # Check whether --with-versioned was given.
11062 if test "${with_versioned+set}" = set; then :
11063 withval=$with_versioned; versioned="$withval"
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`
11074 if test $major -eq 1 && test $minor -gt 3; then
11077 if test $major -gt 1; then
11081 if test $pass -eq 1; then
11083 $as_echo "#define VERSIONED_SYMBOLS /**/" >>confdefs.h
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11086 $as_echo "yes" >&6; }
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; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11095 if test x$versioned = xyes; then
11096 VERSIONED_SYMBOLS_TRUE=
11097 VERSIONED_SYMBOLS_FALSE='#'
11099 VERSIONED_SYMBOLS_TRUE='#'
11100 VERSIONED_SYMBOLS_FALSE=
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"
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; }
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported by ld" >&5
11119 $as_echo "not supported by ld" >&6; }
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11126 if test x"$symfuncs" = xyes; then
11127 SYMBOLIC_FUNCTIONS_TRUE=
11128 SYMBOLIC_FUNCTIONS_FALSE='#'
11130 SYMBOLIC_FUNCTIONS_TRUE='#'
11131 SYMBOLIC_FUNCTIONS_FALSE=
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom symbol prefixes" >&5
11136 $as_echo_n "checking for custom symbol prefixes... " >&6; }
11138 echo "PREFIX=__USER_LABEL_PREFIX__" \
11139 | ${CPP-${CC-gcc} -E} - 2>&1 \
11140 | ${EGREP-grep} "^PREFIX=" \
11141 | ${SED-sed} "s:^PREFIX=::"`
11143 cat >>confdefs.h <<_ACEOF
11144 #define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
11149 $as_echo "$SYMBOL_PREFIX" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug" >&5
11152 $as_echo_n "checking for debug... " >&6; }
11154 # Check whether --with-debug was given.
11155 if test "${with_debug+set}" = set; then :
11156 withval=$with_debug; debug="$withval"
11161 if test "$debug" = "yes"; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11163 $as_echo "yes" >&6; }
11166 $as_echo "#define NDEBUG /**/" >>confdefs.h
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11169 $as_echo "no" >&6; }
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"
11182 if test "$debug_assert" = "yes"; then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11184 $as_echo "yes" >&6; }
11186 $as_echo "#define ALSA_DEBUG_ASSERT /**/" >>confdefs.h
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11190 $as_echo "no" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpdir" >&5
11195 $as_echo_n "checking for tmpdir... " >&6; }
11197 # Check whether --with-tmpdir was given.
11198 if test "${with_tmpdir+set}" = set; then :
11199 withval=$with_tmpdir; tmpdir="$withval"
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmpdir" >&5
11205 $as_echo "$tmpdir" >&6; }
11207 cat >>confdefs.h <<_ACEOF
11208 #define TMPDIR "$tmpdir"
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for softfloat" >&5
11213 $as_echo_n "checking for softfloat... " >&6; }
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 ;;
11223 if test "$softfloat" = "yes" ; then
11225 $as_echo "#define HAVE_SOFT_FLOAT \"1\"" >>confdefs.h
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11228 $as_echo "yes" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11235 if test "$softfloat" != "yes"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdl" >&5
11240 $as_echo_n "checking for libdl... " >&6; }
11242 # Check whether --with-libdl was given.
11243 if test "${with_libdl+set}" = set; then :
11244 withval=$with_libdl; have_libdl="$withval"
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
11255 ac_check_lib_save_LIBS=$LIBS
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
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. */
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_dl_dlsym=yes
11278 ac_cv_lib_dl_dlsym=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
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 :
11290 if test "$HAVE_LIBDL" = "yes" ; then
11291 ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
11293 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11298 $as_echo "no" >&6; }
11300 if test "$HAVE_LIBDL"="yes"; then
11301 BUILD_MODULES_TRUE=
11302 BUILD_MODULES_FALSE='#'
11304 BUILD_MODULES_TRUE='#'
11305 BUILD_MODULES_FALSE=
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread" >&5
11310 $as_echo_n "checking for pthread... " >&6; }
11312 # Check whether --with-pthread was given.
11313 if test "${with_pthread+set}" = set; then :
11314 withval=$with_pthread; have_pthread="$withval"
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
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lpthread $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
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. */
11336 char pthread_join ();
11340 return pthread_join ();
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_pthread_pthread_join=yes
11348 ac_cv_lib_pthread_pthread_join=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
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"
11360 if test "$HAVE_LIBPTHREAD" = "yes"; then
11361 ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
11363 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librt" >&5
11372 $as_echo_n "checking for librt... " >&6; }
11374 # Check whether --with-librt was given.
11375 if test "${with_librt+set}" = set; then :
11376 withval=$with_librt; have_librt="$withval"
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
11387 ac_check_lib_save_LIBS=$LIBS
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
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. */
11398 char clock_gettime ();
11402 return clock_gettime ();
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_rt_clock_gettime=yes
11410 ac_cv_lib_rt_clock_gettime=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
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 :
11422 if test "$HAVE_LIBRT" = "yes" ; then
11423 ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
11425 $as_echo "#define HAVE_LIBRT 1" >>confdefs.h
11428 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11433 $as_echo "no" >&6; }
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
11439 $as_echo_n "checking for architecture... " >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
11443 $as_echo "x86" >&6; }
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
11447 $as_echo "x86" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: alpha" >&5
11451 $as_echo "alpha" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ppc" >&5
11455 $as_echo "ppc" >&6; }
11456 CPPFLAGS="$CPPFLAGS -D__ppc__"
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
11460 $as_echo "ia64" >&6; }
11461 CPPFLAGS="$CPPFLAGS -D__ia64__"
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mips" >&5
11465 $as_echo "mips" >&6; }
11466 CPPFLAGS="$CPPFLAGS -D__mips__"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
11470 $as_echo "arm" >&6; }
11471 CPPFLAGS="$CPPFLAGS -D__arm__"
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
11475 $as_echo "$host_cpu" >&6; }
11476 echo "No atomic operations supported.."
11480 for ac_header in wordexp.h
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
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"
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
11510 ac_check_lib_save_LIBS=$LIBS
11511 LIBS="-lresmgr $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
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. */
11521 char rsm_open_device ();
11525 return rsm_open_device ();
11530 if ac_fn_c_try_link "$LINENO"; then :
11531 ac_cv_lib_resmgr_rsm_open_device=yes
11533 ac_cv_lib_resmgr_rsm_open_device=no
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_lib_save_LIBS
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
11546 LIBS="-lresmgr $LIBS"
11549 as_fn_error $? "Cannot find libresmgr" "$LINENO" 5
11553 $as_echo "#define SUPPORT_RESMGR \"1\"" >>confdefs.h
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"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload" >&5
11567 $as_echo "$aload" >&6; }
11568 if test "$aload" = "yes"; then
11570 $as_echo "#define SUPPORT_ALOAD \"1\"" >>confdefs.h
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; }
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"
11581 alsa_dev_dir="/dev/snd"
11584 if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
11585 alsa_dev_dir="$alsa_dev_dir/"
11588 cat >>confdefs.h <<_ACEOF
11589 #define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir"
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alsa_dev_dir" >&5
11593 $as_echo "$alsa_dev_dir" >&6; }
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; }
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"
11602 aload_dev_dir="/dev"
11605 if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
11606 aload_dev_dir="$aload_dev_dir/"
11609 cat >>confdefs.h <<_ACEOF
11610 #define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload_dev_dir" >&5
11614 $as_echo "$aload_dev_dir" >&6; }
11616 # Check whether --enable-mixer was given.
11617 if test "${enable_mixer+set}" = set; then :
11618 enableval=$enable_mixer; build_mixer="$enableval"
11623 # Check whether --enable-pcm was given.
11624 if test "${enable_pcm+set}" = set; then :
11625 enableval=$enable_pcm; build_pcm="$enableval"
11630 # Check whether --enable-rawmidi was given.
11631 if test "${enable_rawmidi+set}" = set; then :
11632 enableval=$enable_rawmidi; build_rawmidi="$enableval"
11634 build_rawmidi="yes"
11637 # Check whether --enable-hwdep was given.
11638 if test "${enable_hwdep+set}" = set; then :
11639 enableval=$enable_hwdep; build_hwdep="$enableval"
11644 # Check whether --enable-seq was given.
11645 if test "${enable_seq+set}" = set; then :
11646 enableval=$enable_seq; build_seq="$enableval"
11651 # Check whether --enable-ucm was given.
11652 if test "${enable_ucm+set}" = set; then :
11653 enableval=$enable_ucm; build_ucm="$enableval"
11658 # Check whether --enable-alisp was given.
11659 if test "${enable_alisp+set}" = set; then :
11660 enableval=$enable_alisp; build_alisp="$enableval"
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"
11670 keep_old_symbols="yes"
11673 if test x$keep_old_symbols = xyes; then
11674 KEEP_OLD_SYMBOLS_TRUE=
11675 KEEP_OLD_SYMBOLS_FALSE='#'
11677 KEEP_OLD_SYMBOLS_TRUE='#'
11678 KEEP_OLD_SYMBOLS_FALSE=
11682 # Check whether --enable-python was given.
11683 if test "${enable_python+set}" = set; then :
11684 enableval=$enable_python; build_python="$enableval"
11691 if test "$build_python" = "yes"; then
11693 # Check whether --with-pythonlibs was given.
11694 if test "${with_pythonlibs+set}" = set; then :
11695 withval=$with_pythonlibs; pythonlibs="$withval"
11697 pythonlibs=`python-config --libs`
11701 # Check whether --with-pythonincludes was given.
11702 if test "${with_pythonincludes+set}" = set; then :
11703 withval=$with_pythonincludes; pythonincludes="$withval"
11705 pythonincludes=`python-config --includes`
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."
11714 PYTHON_LIBS="$pythonlibs"
11715 PYTHON_INCLUDES="$pythonincludes"
11721 if test x$build_mixer = xyes; then
11723 BUILD_MIXER_FALSE='#'
11725 BUILD_MIXER_TRUE='#'
11729 if test x$build_pcm = xyes; then
11731 BUILD_PCM_FALSE='#'
11737 if test x$build_rawmidi = xyes; then
11738 BUILD_RAWMIDI_TRUE=
11739 BUILD_RAWMIDI_FALSE='#'
11741 BUILD_RAWMIDI_TRUE='#'
11742 BUILD_RAWMIDI_FALSE=
11745 if test x$build_hwdep = xyes; then
11747 BUILD_HWDEP_FALSE='#'
11749 BUILD_HWDEP_TRUE='#'
11753 if test x$build_seq = xyes; then
11755 BUILD_SEQ_FALSE='#'
11761 if test x$build_ucm = xyes; then
11763 BUILD_UCM_FALSE='#'
11769 if test x$build_alisp = xyes; then
11771 BUILD_ALISP_FALSE='#'
11773 BUILD_ALISP_TRUE='#'
11777 if test x$build_python = xyes; then
11779 BUILD_PYTHON_FALSE='#'
11781 BUILD_PYTHON_TRUE='#'
11782 BUILD_PYTHON_FALSE=
11786 if test "$build_mixer" = "yes"; then
11788 $as_echo "#define BUILD_MIXER \"1\"" >>confdefs.h
11791 if test "$build_pcm" = "yes"; then
11793 $as_echo "#define BUILD_PCM \"1\"" >>confdefs.h
11796 if test "$build_rawmidi" = "yes"; then
11798 $as_echo "#define BUILD_RAWMIDI \"1\"" >>confdefs.h
11801 if test "$build_hwdep" = "yes"; then
11803 $as_echo "#define BUILD_HWDEP \"1\"" >>confdefs.h
11806 if test "$build_seq" = "yes"; then
11808 $as_echo "#define BUILD_SEQ \"1\"" >>confdefs.h
11811 if test "$build_ucm" = "yes"; then
11813 $as_echo "#define BUILD_UCM \"1\"" >>confdefs.h
11818 if test "$build_pcm" = "yes"; then
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"
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"
11833 build_pcm_plugin="no"
11834 for t in $PCM_PLUGIN_LIST; do
11835 eval build_pcm_$t="no"
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"
11848 if test "$build_pcm_plug" = "yes"; then
11849 build_pcm_linear="yes"
11850 build_pcm_copy="yes"
11853 if test "$build_pcm_ioplug" = "yes"; then
11854 build_pcm_extplug="yes"
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"
11864 if test "$HAVE_LIBPTHREAD" != "yes"; then
11865 build_pcm_share="no"
11868 if test "$softfloat" = "yes"; then
11869 build_pcm_lfloat="no"
11870 build_pcm_ladspa="no"
11873 if test x$build_pcm_plugin = xyes; then
11874 BUILD_PCM_PLUGIN_TRUE=
11875 BUILD_PCM_PLUGIN_FALSE='#'
11877 BUILD_PCM_PLUGIN_TRUE='#'
11878 BUILD_PCM_PLUGIN_FALSE=
11881 if test x$build_pcm_copy = xyes; then
11882 BUILD_PCM_PLUGIN_COPY_TRUE=
11883 BUILD_PCM_PLUGIN_COPY_FALSE='#'
11885 BUILD_PCM_PLUGIN_COPY_TRUE='#'
11886 BUILD_PCM_PLUGIN_COPY_FALSE=
11889 if test x$build_pcm_linear = xyes; then
11890 BUILD_PCM_PLUGIN_LINEAR_TRUE=
11891 BUILD_PCM_PLUGIN_LINEAR_FALSE='#'
11893 BUILD_PCM_PLUGIN_LINEAR_TRUE='#'
11894 BUILD_PCM_PLUGIN_LINEAR_FALSE=
11897 if test x$build_pcm_route = xyes; then
11898 BUILD_PCM_PLUGIN_ROUTE_TRUE=
11899 BUILD_PCM_PLUGIN_ROUTE_FALSE='#'
11901 BUILD_PCM_PLUGIN_ROUTE_TRUE='#'
11902 BUILD_PCM_PLUGIN_ROUTE_FALSE=
11905 if test x$build_pcm_mulaw = xyes; then
11906 BUILD_PCM_PLUGIN_MULAW_TRUE=
11907 BUILD_PCM_PLUGIN_MULAW_FALSE='#'
11909 BUILD_PCM_PLUGIN_MULAW_TRUE='#'
11910 BUILD_PCM_PLUGIN_MULAW_FALSE=
11913 if test x$build_pcm_alaw = xyes; then
11914 BUILD_PCM_PLUGIN_ALAW_TRUE=
11915 BUILD_PCM_PLUGIN_ALAW_FALSE='#'
11917 BUILD_PCM_PLUGIN_ALAW_TRUE='#'
11918 BUILD_PCM_PLUGIN_ALAW_FALSE=
11921 if test x$build_pcm_adpcm = xyes; then
11922 BUILD_PCM_PLUGIN_ADPCM_TRUE=
11923 BUILD_PCM_PLUGIN_ADPCM_FALSE='#'
11925 BUILD_PCM_PLUGIN_ADPCM_TRUE='#'
11926 BUILD_PCM_PLUGIN_ADPCM_FALSE=
11929 if test x$build_pcm_rate = xyes; then
11930 BUILD_PCM_PLUGIN_RATE_TRUE=
11931 BUILD_PCM_PLUGIN_RATE_FALSE='#'
11933 BUILD_PCM_PLUGIN_RATE_TRUE='#'
11934 BUILD_PCM_PLUGIN_RATE_FALSE=
11937 if test x$build_pcm_plug = xyes; then
11938 BUILD_PCM_PLUGIN_PLUG_TRUE=
11939 BUILD_PCM_PLUGIN_PLUG_FALSE='#'
11941 BUILD_PCM_PLUGIN_PLUG_TRUE='#'
11942 BUILD_PCM_PLUGIN_PLUG_FALSE=
11945 if test x$build_pcm_multi = xyes; then
11946 BUILD_PCM_PLUGIN_MULTI_TRUE=
11947 BUILD_PCM_PLUGIN_MULTI_FALSE='#'
11949 BUILD_PCM_PLUGIN_MULTI_TRUE='#'
11950 BUILD_PCM_PLUGIN_MULTI_FALSE=
11953 if test x$build_pcm_shm = xyes; then
11954 BUILD_PCM_PLUGIN_SHM_TRUE=
11955 BUILD_PCM_PLUGIN_SHM_FALSE='#'
11957 BUILD_PCM_PLUGIN_SHM_TRUE='#'
11958 BUILD_PCM_PLUGIN_SHM_FALSE=
11961 if test x$build_pcm_file = xyes; then
11962 BUILD_PCM_PLUGIN_FILE_TRUE=
11963 BUILD_PCM_PLUGIN_FILE_FALSE='#'
11965 BUILD_PCM_PLUGIN_FILE_TRUE='#'
11966 BUILD_PCM_PLUGIN_FILE_FALSE=
11969 if test x$build_pcm_null = xyes; then
11970 BUILD_PCM_PLUGIN_NULL_TRUE=
11971 BUILD_PCM_PLUGIN_NULL_FALSE='#'
11973 BUILD_PCM_PLUGIN_NULL_TRUE='#'
11974 BUILD_PCM_PLUGIN_NULL_FALSE=
11977 if test x$build_pcm_empty = xyes; then
11978 BUILD_PCM_PLUGIN_EMPTY_TRUE=
11979 BUILD_PCM_PLUGIN_EMPTY_FALSE='#'
11981 BUILD_PCM_PLUGIN_EMPTY_TRUE='#'
11982 BUILD_PCM_PLUGIN_EMPTY_FALSE=
11985 if test x$build_pcm_share = xyes; then
11986 BUILD_PCM_PLUGIN_SHARE_TRUE=
11987 BUILD_PCM_PLUGIN_SHARE_FALSE='#'
11989 BUILD_PCM_PLUGIN_SHARE_TRUE='#'
11990 BUILD_PCM_PLUGIN_SHARE_FALSE=
11993 if test x$build_pcm_meter = xyes; then
11994 BUILD_PCM_PLUGIN_METER_TRUE=
11995 BUILD_PCM_PLUGIN_METER_FALSE='#'
11997 BUILD_PCM_PLUGIN_METER_TRUE='#'
11998 BUILD_PCM_PLUGIN_METER_FALSE=
12001 if test x$build_pcm_hooks = xyes; then
12002 BUILD_PCM_PLUGIN_HOOKS_TRUE=
12003 BUILD_PCM_PLUGIN_HOOKS_FALSE='#'
12005 BUILD_PCM_PLUGIN_HOOKS_TRUE='#'
12006 BUILD_PCM_PLUGIN_HOOKS_FALSE=
12009 if test x$build_pcm_lfloat = xyes; then
12010 BUILD_PCM_PLUGIN_LFLOAT_TRUE=
12011 BUILD_PCM_PLUGIN_LFLOAT_FALSE='#'
12013 BUILD_PCM_PLUGIN_LFLOAT_TRUE='#'
12014 BUILD_PCM_PLUGIN_LFLOAT_FALSE=
12017 if test x$build_pcm_ladspa = xyes; then
12018 BUILD_PCM_PLUGIN_LADSPA_TRUE=
12019 BUILD_PCM_PLUGIN_LADSPA_FALSE='#'
12021 BUILD_PCM_PLUGIN_LADSPA_TRUE='#'
12022 BUILD_PCM_PLUGIN_LADSPA_FALSE=
12025 if test x$build_pcm_dmix = xyes; then
12026 BUILD_PCM_PLUGIN_DMIX_TRUE=
12027 BUILD_PCM_PLUGIN_DMIX_FALSE='#'
12029 BUILD_PCM_PLUGIN_DMIX_TRUE='#'
12030 BUILD_PCM_PLUGIN_DMIX_FALSE=
12033 if test x$build_pcm_dshare = xyes; then
12034 BUILD_PCM_PLUGIN_DSHARE_TRUE=
12035 BUILD_PCM_PLUGIN_DSHARE_FALSE='#'
12037 BUILD_PCM_PLUGIN_DSHARE_TRUE='#'
12038 BUILD_PCM_PLUGIN_DSHARE_FALSE=
12041 if test x$build_pcm_dsnoop = xyes; then
12042 BUILD_PCM_PLUGIN_DSNOOP_TRUE=
12043 BUILD_PCM_PLUGIN_DSNOOP_FALSE='#'
12045 BUILD_PCM_PLUGIN_DSNOOP_TRUE='#'
12046 BUILD_PCM_PLUGIN_DSNOOP_FALSE=
12049 if test x$build_pcm_asym = xyes; then
12050 BUILD_PCM_PLUGIN_ASYM_TRUE=
12051 BUILD_PCM_PLUGIN_ASYM_FALSE='#'
12053 BUILD_PCM_PLUGIN_ASYM_TRUE='#'
12054 BUILD_PCM_PLUGIN_ASYM_FALSE=
12057 if test x$build_pcm_iec958 = xyes; then
12058 BUILD_PCM_PLUGIN_IEC958_TRUE=
12059 BUILD_PCM_PLUGIN_IEC958_FALSE='#'
12061 BUILD_PCM_PLUGIN_IEC958_TRUE='#'
12062 BUILD_PCM_PLUGIN_IEC958_FALSE=
12065 if test x$build_pcm_softvol = xyes; then
12066 BUILD_PCM_PLUGIN_SOFTVOL_TRUE=
12067 BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#'
12069 BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#'
12070 BUILD_PCM_PLUGIN_SOFTVOL_FALSE=
12073 if test x$build_pcm_extplug = xyes; then
12074 BUILD_PCM_PLUGIN_EXTPLUG_TRUE=
12075 BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#'
12077 BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#'
12078 BUILD_PCM_PLUGIN_EXTPLUG_FALSE=
12081 if test x$build_pcm_ioplug = xyes; then
12082 BUILD_PCM_PLUGIN_IOPLUG_TRUE=
12083 BUILD_PCM_PLUGIN_IOPLUG_FALSE='#'
12085 BUILD_PCM_PLUGIN_IOPLUG_TRUE='#'
12086 BUILD_PCM_PLUGIN_IOPLUG_FALSE=
12089 if test x$build_pcm_mmap_emul = xyes; then
12090 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE=
12091 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#'
12093 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#'
12094 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE=
12098 if test "$build_pcm_rate" = "yes"; then
12100 $as_echo "#define BUILD_PCM_PLUGIN_RATE \"1\"" >>confdefs.h
12103 if test "$build_pcm_route" = "yes"; then
12105 $as_echo "#define BUILD_PCM_PLUGIN_ROUTE \"1\"" >>confdefs.h
12108 if test "$build_pcm_lfloat" = "yes"; then
12110 $as_echo "#define BUILD_PCM_PLUGIN_LFLOAT \"1\"" >>confdefs.h
12113 if test "$build_pcm_adpcm" = "yes"; then
12115 $as_echo "#define BUILD_PCM_PLUGIN_ADPCM \"1\"" >>confdefs.h
12118 if test "$build_pcm_mulaw" = "yes"; then
12120 $as_echo "#define BUILD_PCM_PLUGIN_MULAW \"1\"" >>confdefs.h
12123 if test "$build_pcm_alaw" = "yes"; then
12125 $as_echo "#define BUILD_PCM_PLUGIN_ALAW \"1\"" >>confdefs.h
12128 if test "$build_pcm_mmap_emul" = "yes"; then
12130 $as_echo "#define BUILD_PCM_PLUGIN_MMAP_EMUL \"1\"" >>confdefs.h
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
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"
12153 CTL_PLUGIN_LIST="shm ext"
12155 build_ctl_plugin="no"
12156 for t in $CTL_PLUGIN_LIST; do
12157 eval build_ctl_$t="no"
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"
12170 if test x$build_ctl_plugin = xyes; then
12171 BUILD_CTL_PLUGIN_TRUE=
12172 BUILD_CTL_PLUGIN_FALSE='#'
12174 BUILD_CTL_PLUGIN_TRUE='#'
12175 BUILD_CTL_PLUGIN_FALSE=
12178 if test x$build_ctl_shm = xyes; then
12179 BUILD_CTL_PLUGIN_SHM_TRUE=
12180 BUILD_CTL_PLUGIN_SHM_FALSE='#'
12182 BUILD_CTL_PLUGIN_SHM_TRUE='#'
12183 BUILD_CTL_PLUGIN_SHM_FALSE=
12186 if test x$build_ctl_ext = xyes; then
12187 BUILD_CTL_PLUGIN_EXT_TRUE=
12188 BUILD_CTL_PLUGIN_EXT_FALSE='#'
12190 BUILD_CTL_PLUGIN_EXT_TRUE='#'
12191 BUILD_CTL_PLUGIN_EXT_FALSE=
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
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
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"
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.
12218 # config.status only pays attention to the cache file if you give it
12219 # the --recheck option to rerun configure.
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.
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.
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
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;} ;;
12242 _ | IFS | as_nl) ;; #(
12243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12244 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
12256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12259 # `set' quotes correctly as required by POSIX, so do not add quotes.
12260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12269 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12271 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
12286 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12287 # Let make expand exec_prefix.
12288 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12290 DEFS=-DHAVE_CONFIG_H
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'
12304 LIBOBJS=$ac_libobjs
12306 LTLIBOBJS=$ac_ltlibobjs
12309 if test -n "$EXEEXT"; then
12311 am__EXEEXT_FALSE='#'
12313 am__EXEEXT_TRUE='#'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
12506 : ${CONFIG_STATUS=./config.status}
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;}
12513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
12521 ac_cs_recheck=false
12524 SHELL=\${CONFIG_SHELL-$SHELL}
12527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12528 ## -------------------- ##
12529 ## M4sh Initialization. ##
12530 ## -------------------- ##
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 :
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
12542 case `(set -o) 2>/dev/null` in #(
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'
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'
12572 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12573 as_echo_n_body='eval
12577 expr "X$arg" : "X\\(.*\\)$as_nl";
12578 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12580 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12582 export as_echo_n_body
12583 as_echo_n='sh -c $as_echo_n_body as_echo'
12585 export as_echo_body
12586 as_echo='sh -c $as_echo_body as_echo'
12589 # The user is always right.
12590 if test "${PATH_SEPARATOR+set}" != set; then
12592 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12593 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
12606 # Find who we are. Look in the path if we contain no directory separator.
12608 *[\\/]* ) as_myself=$0 ;;
12609 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12613 test -z "$as_dir" && as_dir=.
12614 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
12625 if test ! -f "$as_myself"; then
12626 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
12649 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
12659 as_status=$1; test $as_status -eq 0 && as_status=1
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
12664 $as_echo "$as_me: error: $2" >&2
12665 as_fn_exit $as_status
12669 # as_fn_set_status STATUS
12670 # -----------------------
12671 # Set $? to STATUS, without forking.
12672 as_fn_set_status ()
12675 } # as_fn_set_status
12677 # as_fn_exit STATUS
12678 # -----------------
12679 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12683 as_fn_set_status $1
12689 # Portably unset VAR.
12692 { eval $1=; unset $1;}
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
12701 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12702 eval 'as_fn_append ()
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 ()
12726 as_val=`expr "$@" || test $? -eq 1`
12731 if expr a : '\(a\)' >/dev/null 2>&1 &&
12732 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12738 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12739 as_basename=basename
12744 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12750 as_me=`$as_basename -- "$0" ||
12751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12752 X"$0" : 'X\(//\)$' \| \
12753 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12755 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
12776 ECHO_C= ECHO_N= ECHO_T=
12777 case `echo -n x` in #(((((
12779 case `echo 'xy\c'` in
12780 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12782 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12789 rm -f conf$$ conf$$.exe conf$$.file
12790 if test -d conf$$.dir; then
12791 rm -f conf$$.dir/conf$$.file
12794 mkdir conf$$.dir 2>/dev/null
12796 if (echo >conf$$.file) 2>/dev/null; then
12797 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
12805 elif ln conf$$.file conf$$ 2>/dev/null; then
12813 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12814 rmdir conf$$.dir 2>/dev/null
12819 # Create "$as_dir" as a directory, including parents if necessary.
12824 -*) as_dir=./$as_dir;;
12826 test -d "$as_dir" || eval $as_mkdir_p || {
12830 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12831 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12844 /^X\(\/\/\)[^/].*/{
12857 test -d "$as_dir" && break
12859 test -z "$as_dirs" || eval "mkdir $as_dirs"
12860 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12864 if mkdir -p . 2>/dev/null; then
12865 as_mkdir_p='mkdir -p "$as_dir"'
12867 test -d ./-p && rmdir ./-p
12871 if test -x / >/dev/null 2>&1; then
12872 as_test_x='test -x'
12874 if ls -dL / >/dev/null 2>&1; then
12881 if test -d "$1"; then
12887 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12888 ???[sx]*):;;*)false;;esac;fi
12892 as_executable_p=$as_test_x
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'"
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'"
12902 ## ----------------------------------- ##
12903 ## Main body of $CONFIG_STATUS script. ##
12904 ## ----------------------------------- ##
12906 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
12913 This file was extended by $as_me, which was
12914 generated by GNU Autoconf 2.67. Invocation command line was
12916 CONFIG_FILES = $CONFIG_FILES
12917 CONFIG_HEADERS = $CONFIG_HEADERS
12918 CONFIG_LINKS = $CONFIG_LINKS
12919 CONFIG_COMMANDS = $CONFIG_COMMANDS
12922 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12927 case $ac_config_files in *"
12928 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12931 case $ac_config_headers in *"
12932 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
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"
12944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
12950 Usage: $0 [OPTION]... [TAG]...
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
12964 Configuration files:
12967 Configuration headers:
12970 Configuration commands:
12973 Report bugs to the package provider."
12976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12977 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12980 configured by $0, generated by GNU Autoconf 2.67,
12981 with options \\"\$ac_cs_config\\"
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."
12992 test -n "\$AWK" || AWK=awk
12995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12996 # The default lists apply if the user does not specify any file.
13002 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13003 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13007 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13019 # Handling of the options.
13020 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
13028 --file | --fil | --fi | --f )
13031 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13032 '') as_fn_error $? "missing file argument" ;;
13034 as_fn_append CONFIG_FILES " '$ac_optarg'"
13035 ac_need_defaults=false;;
13036 --header | --heade | --head | --hea )
13039 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13041 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13042 ac_need_defaults=false;;
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)
13053 # This is an error.
13054 -*) as_fn_error $? "unrecognized option: \`$1'
13055 Try \`$0 --help' for more information." ;;
13057 *) as_fn_append ac_config_targets " $1"
13058 ac_need_defaults=false ;;
13064 ac_configure_extra_args=
13066 if $ac_cs_silent; then
13068 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
13076 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13077 CONFIG_SHELL='$SHELL'
13078 export CONFIG_SHELL
13083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13088 ## Running $as_me. ##
13094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13098 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
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
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"`'
13228 LTCFLAGS='$LTCFLAGS'
13229 compiler='$compiler_DEFAULT'
13231 # Quote evaled strings.
13243 deplibs_check_method \
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 \
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 \
13270 export_dynamic_flag_spec \
13271 whole_archive_flag_spec \
13272 compiler_needs_object \
13274 allow_undefined_flag \
13275 no_undefined_flag \
13276 hardcode_libdir_flag_spec \
13277 hardcode_libdir_flag_spec_ld \
13278 hardcode_libdir_separator \
13283 variables_saved_for_relink \
13285 library_names_spec \
13290 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13291 *[\\\\\\\`\\"\\\$]*)
13292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13300 # Double-quote double-evaled strings.
13301 for var in reload_cmds \
13302 old_postinstall_cmds \
13303 old_postuninstall_cmds \
13305 extract_expsyms_cmds \
13306 old_archive_from_new_cmds \
13307 old_archive_from_expsyms_cmds \
13309 archive_expsym_cmds \
13311 module_expsym_cmds \
13312 export_symbols_cmds \
13315 postuninstall_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\\"\\\`\\\\\\""
13324 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13329 # Fix-up fallback echo if it was mangled by the above quoting rules.
13331 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13335 ac_aux_dir='$ac_aux_dir'
13336 xsi_shell='$xsi_shell'
13337 lt_shell_append='$lt_shell_append'
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
13348 TIMESTAMP='$TIMESTAMP'
13357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13359 # Handling of arguments.
13360 for ac_config_target in $ac_config_targets
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" ;;
13399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
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
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'.
13423 trap 'exit_status=$?
13424 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13426 trap 'as_fn_exit 1' 1 2 13 15
13428 # Create a (secure) tmp directory for tmp files.
13431 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13432 test -n "$tmp" && test -d "$tmp"
13435 tmp=./conf$$-$RANDOM
13436 (umask 077 && mkdir "$tmp")
13437 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
13456 ac_cs_awk_cr=$ac_cr
13459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13464 echo "cat >conf$$subs.awk <<_ACEOF" &&
13465 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '^'`
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
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
13478 elif $ac_last_try; then
13479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13481 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13484 rm -f conf$$subs.sh
13486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13487 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13491 s/^/S["/; s/!.*/"]=/
13501 s/\(.\{148\}\)..*/\1/
13503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13515 s/\(.\{148\}\)..*/\1/
13517 s/["\\]/\\&/g; s/^/"/; s/$/"/
13521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13526 ' <conf$$subs.awk | sed '
13531 ' >>$CONFIG_STATUS || ac_write_fail=1
13532 rm -f conf$$subs.awk
13533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13535 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13536 for (key in S) S_is_set[key] = 1
13542 nfields = split(line, field, "@")
13544 len = length(field[1])
13545 for (i = 2; i < nfields; i++) {
13547 keylen = length(key)
13548 if (S_is_set[key]) {
13550 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13551 len += length(value) + length(field[++i])
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"
13567 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13568 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
13594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13595 fi # test -n "$CONFIG_FILES"
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 ||
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.
13609 # Create a delimiter string that does not exist in confdefs.h, to ease
13610 # handling of long lines.
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
13616 elif $ac_last_try; then
13617 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13619 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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.
13627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13629 s/.\{148\}/&'"$ac_delim"'/g
13632 s/^[ ]*#[ ]*define[ ][ ]*/ /
13639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13646 D["\1"]=" \3\\\\\\n"\\/p
13648 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13653 s/.\{148\}/&'"$ac_delim"'/g
13658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13663 ' <confdefs.h | sed '
13664 s/'"$ac_delim"'/"\\\
13665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13668 for (key in D) D_is_set[key] = 1
13671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13673 split(line, arg, " ")
13674 if (arg[1] == "#") {
13678 defundef = substr(arg[1], 2)
13681 split(mac1, mac2, "(") #)
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]
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, "*/"
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"
13706 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13711 :[FHLC]) ac_mode=$ac_tag; continue;;
13713 case $ac_mode$ac_tag in
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;;
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 `:'.
13741 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13743 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13745 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13746 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
13769 *:-:* | *:-) cat >"$tmp/stdin" \
13770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13785 /^X\(\/\/\)[^/].*/{
13798 as_dir="$ac_dir"; as_fn_mkdir_p
13802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
13818 .) # We are building in place.
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 ;;
13831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13841 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13842 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13844 ac_MKDIR_P=$MKDIR_P
13846 [\\/$]* | ?:[\\/]* ) ;;
13847 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
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;}
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' ;;
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
13889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
13919 -) cat "$tmp/out" && rm -f "$tmp/out";;
13920 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13928 if test x"$ac_file" != x-; then
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;}
13939 mv "$tmp/config.h" "$ac_file" \
13940 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13943 $as_echo "/* $configure_input */" \
13944 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13945 || as_fn_error $? "could not create -" "$LINENO" 5
13947 # Compute "$ac_file"'s index in $config_headers.
13950 for _am_header in $config_headers :; do
13951 case $_am_header in
13952 $_am_arg | $_am_arg:* )
13955 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13968 /^X\(\/\/\)[^/].*/{
13980 s/.*/./; q'`/stamp-h$_am_stamp_count
13983 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13984 $as_echo "$as_me: executing $ac_file commands" >&6;}
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 ;;
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 ||
14017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14021 /^X\(\/\/\)[^/].*/{
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14065 /^X\(\/\/\)[^/].*/{
14078 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14079 # echo "creating $dirpart/$file"
14080 echo '# dummy' > "$dirpart/$file"
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
14093 cfgfile="${ofile}T"
14094 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14097 cat <<_LT_EOF >> "$cfgfile"
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.
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
14109 # This file is part of GNU Libtool.
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.
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.
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.
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.
14133 # The names of the tagged configurations supported by this script.
14136 # ### BEGIN LIBTOOL CONFIG
14138 # Whether or not to build static libraries.
14139 build_old_libs=$enable_static
14141 # Which release of libtool.m4 was used?
14142 macro_version=$macro_version
14143 macro_revision=$macro_revision
14145 # Whether or not to build shared libraries.
14146 build_libtool_libs=$enable_shared
14148 # What type of objects to build.
14151 # Whether or not to optimize for fast installation.
14152 fast_install=$enable_fast_install
14155 host_alias=$host_alias
14159 # The build system.
14160 build_alias=$build_alias
14164 # A sed program that does not truncate output.
14167 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14168 Xsed="\$SED -e 1s/^X//"
14170 # A grep program that handles long lines.
14176 # A literal string matcher.
14179 # A BSD- or MS-compatible name lister.
14182 # Whether we need soft or hard links.
14185 # What is the maximum length of a command?
14186 max_cmd_len=$max_cmd_len
14188 # Object file suffix (normally "o").
14191 # Executable file suffix (normally "").
14194 # whether the shell understands "unset".
14197 # turn spaces into newlines.
14200 # turn newlines into spaces.
14203 # How to create reloadable object files.
14204 reload_flag=$lt_reload_flag
14205 reload_cmds=$lt_reload_cmds
14207 # An object symbol dumper.
14208 OBJDUMP=$lt_OBJDUMP
14210 # Method to check whether dependent libraries are shared objects.
14211 deplibs_check_method=$lt_deplibs_check_method
14213 # Command to use when deplibs_check_method == "file_magic".
14214 file_magic_cmd=$lt_file_magic_cmd
14218 AR_FLAGS=$lt_AR_FLAGS
14220 # A symbol stripping program.
14223 # Commands used to install an old-style archive.
14225 old_postinstall_cmds=$lt_old_postinstall_cmds
14226 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14231 # LTCC compiler flags.
14232 LTCFLAGS=$lt_CFLAGS
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
14237 # Transform the output of nm in a proper C declaration.
14238 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
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
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
14246 # The name of the directory that contains temporary libtool files.
14249 # Shell to use when invoking shell scripts.
14252 # An echo program that does not interpret backslashes.
14255 # Used to examine libraries when file_magic_cmd begins with "file".
14256 MAGIC_CMD=$MAGIC_CMD
14258 # Must we lock files when doing compilation?
14259 need_locks=$lt_need_locks
14261 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14262 DSYMUTIL=$lt_DSYMUTIL
14264 # Tool to change global to local symbols on Mac OS X.
14267 # Tool to manipulate fat objects and archives on Mac OS X.
14270 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14273 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14274 OTOOL64=$lt_OTOOL64
14276 # Old archive suffix (normally "a").
14279 # Shared library suffix (normally ".so").
14280 shrext_cmds=$lt_shrext_cmds
14282 # The commands to extract the exported symbol list from a shared archive.
14283 extract_expsyms_cmds=$lt_extract_expsyms_cmds
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
14289 # Do we need the "lib" prefix for modules?
14290 need_lib_prefix=$need_lib_prefix
14292 # Do we need a version for libraries?
14293 need_version=$need_version
14295 # Library versioning type.
14296 version_type=$version_type
14298 # Shared library runtime path variable.
14299 runpath_var=$runpath_var
14301 # Shared library path variable.
14302 shlibpath_var=$shlibpath_var
14304 # Is shlibpath searched before the hard-coded library search path?
14305 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14307 # Format of library name prefix.
14308 libname_spec=$lt_libname_spec
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
14314 # The coded name of the library, if different from the real name.
14315 soname_spec=$lt_soname_spec
14317 # Command to use after installation of a shared archive.
14318 postinstall_cmds=$lt_postinstall_cmds
14320 # Command to use after uninstallation of a shared archive.
14321 postuninstall_cmds=$lt_postuninstall_cmds
14323 # Commands used to finish a libtool library installation in a directory.
14324 finish_cmds=$lt_finish_cmds
14326 # As "finish_cmds", except a single script fragment to be evaled but
14328 finish_eval=$lt_finish_eval
14330 # Whether we should hardcode library paths into libraries.
14331 hardcode_into_libs=$hardcode_into_libs
14333 # Compile-time system search path for libraries.
14334 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14336 # Run-time system search path for libraries.
14337 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14339 # Whether dlopen is supported.
14340 dlopen_support=$enable_dlopen
14342 # Whether dlopen of programs is supported.
14343 dlopen_self=$enable_dlopen_self
14345 # Whether dlopen of statically linked programs is supported.
14346 dlopen_self_static=$enable_dlopen_self_static
14348 # Commands to strip libraries.
14349 old_striplib=$lt_old_striplib
14350 striplib=$lt_striplib
14353 # The linker used to build libraries.
14356 # Commands used to build an old-style archive.
14357 old_archive_cmds=$lt_old_archive_cmds
14359 # A language specific compiler.
14362 # Is the compiler the GNU compiler?
14365 # Compiler flag to turn off builtin functions.
14366 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14368 # How to pass a linker flag through the compiler.
14369 wl=$lt_lt_prog_compiler_wl
14371 # Additional compiler flags for building library objects.
14372 pic_flag=$lt_lt_prog_compiler_pic
14374 # Compiler flag to prevent dynamic linking.
14375 link_static_flag=$lt_lt_prog_compiler_static
14377 # Does compiler simultaneously support -c and -o options?
14378 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14380 # Whether or not to add -lc for building shared libraries.
14381 build_libtool_need_lc=$archive_cmds_need_lc
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
14386 # Compiler flag to allow reflexive dlopens.
14387 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14389 # Compiler flag to generate shared objects directly from archives.
14390 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14392 # Whether the compiler copes with passing no objects directly.
14393 compiler_needs_object=$lt_compiler_needs_object
14395 # Create an old-style archive from a shared archive.
14396 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
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
14401 # Commands used to build a shared archive.
14402 archive_cmds=$lt_archive_cmds
14403 archive_expsym_cmds=$lt_archive_expsym_cmds
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
14410 # Whether we are building with GNU ld or not.
14411 with_gnu_ld=$lt_with_gnu_ld
14413 # Flag that allows shared libraries with undefined symbols to be built.
14414 allow_undefined_flag=$lt_allow_undefined_flag
14416 # Flag that enforces no undefined symbols.
14417 no_undefined_flag=$lt_no_undefined_flag
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
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
14427 # Whether we need a single "-rpath" flag with a separated argument.
14428 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14430 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14431 # DIR into the resulting binary.
14432 hardcode_direct=$hardcode_direct
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
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
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
14448 # Set to "yes" if building a shared library automatically hardcodes DIR
14449 # into the library and all subsequent libraries and executables linked
14451 hardcode_automatic=$hardcode_automatic
14453 # Set to yes if linker adds runtime paths of dependent libraries
14454 # to runtime path list.
14455 inherit_rpath=$inherit_rpath
14457 # Whether libtool must link a program against all its dependency libraries.
14458 link_all_deplibs=$link_all_deplibs
14460 # Fix the shell variable \$srcfile for the compiler.
14461 fix_srcfile_path=$lt_fix_srcfile_path
14463 # Set to "yes" if exported symbols are required.
14464 always_export_symbols=$always_export_symbols
14466 # The commands to list exported symbols.
14467 export_symbols_cmds=$lt_export_symbols_cmds
14469 # Symbols that should not be listed in the preloaded symbols.
14470 exclude_expsyms=$lt_exclude_expsyms
14472 # Symbols that must always be exported.
14473 include_expsyms=$lt_include_expsyms
14475 # Commands necessary for linking programs (against libraries) with templates.
14476 prelink_cmds=$lt_prelink_cmds
14478 # Specify filename containing input files.
14479 file_list_spec=$lt_file_list_spec
14481 # How to hardcode a shared library path into an executable.
14482 hardcode_action=$hardcode_action
14484 # ### END LIBTOOL CONFIG
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
14496 export COLLECT_NAMES
14503 ltmain="$ac_aux_dir/ltmain.sh"
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)
14515 cat << \_LT_EOF >> "$cfgfile"
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.
14523 */*) func_dirname_result="${1%/*}${2}" ;;
14524 * ) func_dirname_result="${3}" ;;
14528 # func_basename file
14531 func_basename_result="${1##*/}"
14534 # func_dirname_and_basename file append nondir_replacement
14535 # perform func_basename and func_dirname in a single function
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 ()
14549 */*) func_dirname_result="${1%/*}${2}" ;;
14550 * ) func_dirname_result="${3}" ;;
14552 func_basename_result="${1##*/}"
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).
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}"}
14572 func_opt_split_opt=${1%%=*}
14573 func_opt_split_arg=${1#*=}
14580 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14581 *) func_lo2o_result=${1} ;;
14585 # func_xform libobj-or-source
14588 func_xform_result=${1%.*}.lo
14591 # func_arith arithmetic-term...
14594 func_arith_result=$(( $* ))
14598 # STRING may not start with a hyphen.
14601 func_len_result=${#1}
14606 *) # Bourne compatible functions.
14607 cat << \_LT_EOF >> "$cfgfile"
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.
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}"
14619 func_dirname_result="$func_dirname_result${2}"
14623 # func_basename file
14626 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
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
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}\$%%"`;;
14647 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14648 my_sed_long_arg='1s/^-[^=]*=//'
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"`
14660 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14663 # func_xform libobj-or-source
14666 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14669 # func_arith arithmetic-term...
14672 func_arith_result=`expr "$@"`
14676 # STRING may not start with a hyphen.
14679 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14685 case $lt_shell_append in
14687 cat << \_LT_EOF >> "$cfgfile"
14689 # func_append var value
14690 # Append VALUE to the end of shell variable VAR.
14698 cat << \_LT_EOF >> "$cfgfile"
14700 # func_append var value
14701 # Append VALUE to the end of shell variable VAR.
14712 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14713 || (rm -f "$cfgfile"; exit 1)
14715 mv -f "$cfgfile" "$ofile" ||
14716 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14727 ac_clean_files=$ac_clean_files_save
14729 test $ac_write_fail = 0 ||
14730 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
14743 ac_config_status_args=
14744 test "$silent" = yes &&
14745 ac_config_status_args="$ac_config_status_args --quiet"
14747 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}
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