2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for avsystem 1.0.
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.
699 PACKAGE_NAME='avsystem'
700 PACKAGE_TARNAME='avsystem'
701 PACKAGE_VERSION='1.0'
702 PACKAGE_STRING='avsystem 1.0'
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars='am__EXEEXT_FALSE
758 AUDIOSESSIONMGR_CFLAGS
825 INSTALL_STRIP_PROGRAM
867 program_transform_name
880 enable_option_checking
881 enable_dependency_tracking
891 ac_precious_vars='build_alias
911 AUDIOSESSIONMGR_CFLAGS
923 # Initialize some variables set by options.
925 ac_init_version=false
926 ac_unrecognized_opts=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
937 program_transform_name=s,x,x,
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
983 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988 # Accept the important Cygnus configure options, so we can diagnose typos.
990 case $ac_dashdash$ac_option in
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1014 -datadir | --datadir | --datadi | --datad)
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error $? "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_$ac_useropt"
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1040 eval enable_$ac_useropt=no ;;
1042 -docdir | --docdir | --docdi | --doc | --do)
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid feature name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_$ac_useropt"
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1097 htmldir=$ac_optarg ;;
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1111 -libdir | --libdir | --libdi | --libd)
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1202 -psdir | --psdir | --psdi | --psd | --ps)
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1211 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1213 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1215 sbindir=$ac_optarg ;;
1217 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1218 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1219 | --sharedst | --shareds | --shared | --share | --shar \
1221 ac_prev=sharedstatedir ;;
1222 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1223 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1224 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1226 sharedstatedir=$ac_optarg ;;
1228 -site | --site | --sit)
1230 -site=* | --site=* | --sit=*)
1233 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1235 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1236 srcdir=$ac_optarg ;;
1238 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1239 | --syscon | --sysco | --sysc | --sys | --sy)
1240 ac_prev=sysconfdir ;;
1241 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1242 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1243 sysconfdir=$ac_optarg ;;
1245 -target | --target | --targe | --targ | --tar | --ta | --t)
1246 ac_prev=target_alias ;;
1247 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1248 target_alias=$ac_optarg ;;
1250 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1253 -version | --version | --versio | --versi | --vers | -V)
1254 ac_init_version=: ;;
1257 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1260 as_fn_error $? "invalid package name: $ac_useropt"
1261 ac_useropt_orig=$ac_useropt
1262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1263 case $ac_user_opts in
1267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1268 ac_unrecognized_sep=', ';;
1270 eval with_$ac_useropt=\$ac_optarg ;;
1272 -without-* | --without-*)
1273 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error $? "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1286 eval with_$ac_useropt=no ;;
1289 # Obsolete; use --with-x.
1292 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1293 | --x-incl | --x-inc | --x-in | --x-i)
1294 ac_prev=x_includes ;;
1295 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1296 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1297 x_includes=$ac_optarg ;;
1299 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1300 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1301 ac_prev=x_libraries ;;
1302 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1303 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304 x_libraries=$ac_optarg ;;
1306 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1307 Try \`$0 --help' for more information"
1311 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1312 # Reject names that are not valid shell variable names.
1313 case $ac_envvar in #(
1314 '' | [0-9]* | *[!_$as_cr_alnum]* )
1315 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1317 eval $ac_envvar=\$ac_optarg
1318 export $ac_envvar ;;
1321 # FIXME: should be removed in autoconf 3.0.
1322 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1331 if test -n "$ac_prev"; then
1332 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333 as_fn_error $? "missing argument to $ac_option"
1336 if test -n "$ac_unrecognized_opts"; then
1337 case $enable_option_checking in
1339 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1340 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1344 # Check all directory arguments for consistency.
1345 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346 datadir sysconfdir sharedstatedir localstatedir includedir \
1347 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348 libdir localedir mandir
1350 eval ac_val=\$$ac_var
1351 # Remove trailing slashes.
1354 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355 eval $ac_var=\$ac_val;;
1357 # Be sure to have absolute directory names.
1359 [\\/$]* | ?:[\\/]* ) continue;;
1360 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1365 # There might be people who depend on the old broken behavior: `$host'
1366 # used to hold the argument of --host etc.
1367 # FIXME: To remove some day.
1370 target=$target_alias
1372 # FIXME: To remove some day.
1373 if test "x$host_alias" != x; then
1374 if test "x$build_alias" = x; then
1375 cross_compiling=maybe
1376 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1377 If a cross compiler is detected then cross compile mode will be used" >&2
1378 elif test "x$build_alias" != "x$host_alias"; then
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386 test "$silent" = yes && exec 6>/dev/null
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error $? "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error $? "pwd does not report name of working directory"
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1429 ac_srcdir_defaulted=no
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1457 # Report the --help message.
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1463 \`configure' configures avsystem 1.0 to adapt to many kinds of systems.
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1470 Defaults for the options are specified in brackets.
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking ...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1494 For better control, use the options below.
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --libdir=DIR object code libraries [EPREFIX/lib]
1504 --includedir=DIR C header files [PREFIX/include]
1505 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1506 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 --infodir=DIR info documentation [DATAROOTDIR/info]
1509 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 --mandir=DIR man documentation [DATAROOTDIR/man]
1511 --docdir=DIR documentation root [DATAROOTDIR/doc/avsystem]
1512 --htmldir=DIR html documentation [DOCDIR]
1513 --dvidir=DIR dvi documentation [DOCDIR]
1514 --pdfdir=DIR pdf documentation [DOCDIR]
1515 --psdir=DIR ps documentation [DOCDIR]
1521 --program-prefix=PREFIX prepend PREFIX to installed program names
1522 --program-suffix=SUFFIX append SUFFIX to installed program names
1523 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526 --build=BUILD configure for building on BUILD [guessed]
1527 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of avsystem 1.0:";;
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --disable-dependency-tracking speeds up one-time build
1542 --enable-dependency-tracking do not reject slow dependency extractors
1543 --enable-shared[=PKGS] build shared libraries [default=yes]
1544 --enable-static[=PKGS] build static libraries [default=yes]
1545 --enable-fast-install[=PKGS]
1546 optimize for fast installation [default=yes]
1547 --disable-libtool-lock avoid locking (might break parallel builds)
1548 --enable-sdk sdk build
1549 --enable-pulse enable pulseaudio client
1552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1554 --with-pic try to use only PIC/non-PIC objects [default=use
1556 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1558 Some influential environment variables:
1559 CC C compiler command
1560 CFLAGS C compiler flags
1561 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1562 nonstandard directory <lib dir>
1563 LIBS libraries to pass to the linker, e.g. -l<library>
1564 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565 you have headers in a nonstandard directory <include dir>
1567 PKG_CONFIG path to pkg-config utility
1569 directories to add to pkg-config's search path
1571 path overriding pkg-config's built-in search path
1573 C compiler flags for AVSYSTEM, overriding pkg-config
1575 linker flags for AVSYSTEM, overriding pkg-config
1577 C compiler flags for MMCOMMON, overriding pkg-config
1579 linker flags for MMCOMMON, overriding pkg-config
1581 C compiler flags for MMLOG, overriding pkg-config
1582 MMLOG_LIBS linker flags for MMLOG, overriding pkg-config
1584 C compiler flags for MMSESSION, overriding pkg-config
1586 linker flags for MMSESSION, overriding pkg-config
1587 AUDIOSESSIONMGR_CFLAGS
1588 C compiler flags for AUDIOSESSIONMGR, overriding pkg-config
1589 AUDIOSESSIONMGR_LIBS
1590 linker flags for AUDIOSESSIONMGR, overriding pkg-config
1592 C compiler flags for GLIB2, overriding pkg-config
1593 GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1595 C compiler flags for VCONF, overriding pkg-config
1596 VCONF_LIBS linker flags for VCONF, overriding pkg-config
1598 C compiler flags for HEYNOTI, overriding pkg-config
1600 linker flags for HEYNOTI, overriding pkg-config
1602 C compiler flags for PULSE, overriding pkg-config
1603 PULSE_LIBS linker flags for PULSE, overriding pkg-config
1605 Use these variables to override the choices made by `configure' or to help
1606 it to find libraries and programs with nonstandard names/locations.
1608 Report bugs to the package provider.
1613 if test "$ac_init_help" = "recursive"; then
1614 # If there are subdirs, report their specific --help.
1615 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1616 test -d "$ac_dir" ||
1617 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1625 # A ".." for each directory in $ac_dir_suffix.
1626 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1627 case $ac_top_builddir_sub in
1628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 ac_abs_top_builddir=$ac_pwd
1633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1634 # for backward compatibility:
1635 ac_top_builddir=$ac_top_build_prefix
1638 .) # We are building in place.
1640 ac_top_srcdir=$ac_top_builddir_sub
1641 ac_abs_top_srcdir=$ac_pwd ;;
1642 [\\/]* | ?:[\\/]* ) # Absolute name.
1643 ac_srcdir=$srcdir$ac_dir_suffix;
1644 ac_top_srcdir=$srcdir
1645 ac_abs_top_srcdir=$srcdir ;;
1647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653 cd "$ac_dir" || { ac_status=$?; continue; }
1654 # Check for guested configure.
1655 if test -f "$ac_srcdir/configure.gnu"; then
1657 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 elif test -f "$ac_srcdir/configure"; then
1660 $SHELL "$ac_srcdir/configure" --help=recursive
1662 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664 cd "$ac_pwd" || { ac_status=$?; break; }
1668 test -n "$ac_init_help" && exit $ac_status
1669 if $ac_init_version; then
1671 avsystem configure 1.0
1672 generated by GNU Autoconf 2.67
1674 Copyright (C) 2010 Free Software Foundation, Inc.
1675 This configure script is free software; the Free Software Foundation
1676 gives unlimited permission to copy, distribute and modify it.
1681 ## ------------------------ ##
1682 ## Autoconf initialization. ##
1683 ## ------------------------ ##
1685 # ac_fn_c_try_compile LINENO
1686 # --------------------------
1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_c_try_compile ()
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext
1692 if { { ac_try="$ac_compile"
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_compile") 2>conftest.err
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest.$ac_objext; then :
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 as_fn_set_status $ac_retval
1721 } # ac_fn_c_try_compile
1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_c_check_header_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval "test \"\${$3+set}\"" = set; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1740 if ac_fn_c_try_compile "$LINENO"; then :
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 } # ac_fn_c_check_header_compile
1754 # ac_fn_c_try_cpp LINENO
1755 # ----------------------
1756 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_cpp conftest.$ac_ext"
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } > conftest.i && {
1776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_try_run LINENO
1792 # ----------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1794 # that executables *can* be run.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_link"
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>&5
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1809 { { case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_try") 2>&5
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; }; }; then :
1821 $as_echo "$as_me: program exited with status $ac_status" >&5
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1825 ac_retval=$ac_status
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 as_fn_set_status $ac_retval
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 rm -f conftest.$ac_objext conftest$ac_exeext
1840 if { { ac_try="$ac_link"
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_check_func LINENO FUNC VAR
1880 # ----------------------------------
1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1882 ac_fn_c_check_func ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval "test \"\${$3+set}\"" = set; then :
1888 $as_echo_n "(cached) " >&6
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1894 #define $2 innocuous_$2
1896 /* System header to define __stub macros and hopefully few prototypes,
1897 which can conflict with char $2 (); below.
1898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1899 <limits.h> exists even on freestanding compilers. */
1902 # include <limits.h>
1904 # include <assert.h>
1909 /* Override any GCC internal prototype to avoid an error.
1910 Use char because int might match the return type of a GCC
1911 builtin and then its argument prototype would still apply. */
1916 /* The GNU C library defines this for functions which it implements
1917 to always fail with ENOSYS. Some functions are actually named
1918 something starting with __ and the normal name is an alias. */
1919 #if defined __stub_$2 || defined __stub___$2
1931 if ac_fn_c_try_link "$LINENO"; then :
1936 rm -f core conftest.err conftest.$ac_objext \
1937 conftest$ac_exeext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944 } # ac_fn_c_check_func
1946 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1947 # -------------------------------------------------------
1948 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1949 # the include files in INCLUDES and setting the cache variable VAR
1951 ac_fn_c_check_header_mongrel ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 if eval "test \"\${$3+set}\"" = set; then :
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval "test \"\${$3+set}\"" = set; then :
1958 $as_echo_n "(cached) " >&6
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962 $as_echo "$ac_res" >&6; }
1964 # Is the header compilable?
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1966 $as_echo_n "checking $2 usability... " >&6; }
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1972 if ac_fn_c_try_compile "$LINENO"; then :
1973 ac_header_compiler=yes
1975 ac_header_compiler=no
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1979 $as_echo "$ac_header_compiler" >&6; }
1981 # Is the header present?
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1983 $as_echo_n "checking $2 presence... " >&6; }
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1988 if ac_fn_c_try_cpp "$LINENO"; then :
1989 ac_header_preproc=yes
1991 ac_header_preproc=no
1993 rm -f conftest.err conftest.i conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1995 $as_echo "$ac_header_preproc" >&6; }
1997 # So? What about this header?
1998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2001 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2003 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2007 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2009 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2011 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2013 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval "test \"\${$3+set}\"" = set; then :
2021 $as_echo_n "(cached) " >&6
2023 eval "$3=\$ac_header_compiler"
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031 } # ac_fn_c_check_header_mongrel
2033 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2034 # -------------------------------------------
2035 # Tests whether TYPE exists after having included INCLUDES, setting cache
2036 # variable VAR accordingly.
2037 ac_fn_c_check_type ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if eval "test \"\${$3+set}\"" = set; then :
2043 $as_echo_n "(cached) " >&6
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085 } # ac_fn_c_check_type
2086 cat >config.log <<_ACEOF
2087 This file contains any messages produced by compilers while
2088 running configure, to aid debugging if configure makes a mistake.
2090 It was created by avsystem $as_me 1.0, which was
2091 generated by GNU Autoconf 2.67. Invocation command line was
2103 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2104 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2105 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2106 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2107 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2109 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2110 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2112 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2113 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2114 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2115 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2116 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2117 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2118 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir=.
2127 $as_echo "PATH: $as_dir"
2143 # Keep a trace of the command line.
2144 # Strip out --no-create and --no-recursion so they do not pile up.
2145 # Strip out --silent because we don't want to record it for future runs.
2146 # Also quote any args containing shell meta-characters.
2147 # Make two passes to allow for proper duplicate-argument suppression.
2151 ac_must_keep_next=false
2157 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2159 | -silent | --silent | --silen | --sile | --sil)
2162 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2165 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2167 as_fn_append ac_configure_args1 " '$ac_arg'"
2168 if test $ac_must_keep_next = true; then
2169 ac_must_keep_next=false # Got value, back to normal.
2172 *=* | --config-cache | -C | -disable-* | --disable-* \
2173 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2174 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2175 | -with-* | --with-* | -without-* | --without-* | --x)
2176 case "$ac_configure_args0 " in
2177 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2180 -* ) ac_must_keep_next=true ;;
2183 as_fn_append ac_configure_args " '$ac_arg'"
2188 { ac_configure_args0=; unset ac_configure_args0;}
2189 { ac_configure_args1=; unset ac_configure_args1;}
2191 # When interrupted or exit'd, cleanup temporary files, and complete
2192 # config.log. We remove comments because anyway the quotes in there
2193 # would cause problems or look ugly.
2194 # WARNING: Use '\'' to represent an apostrophe within the trap.
2195 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2196 trap 'exit_status=$?
2197 # Save into config.log some information that might help in debugging.
2201 $as_echo "## ---------------- ##
2202 ## Cache variables. ##
2203 ## ---------------- ##"
2205 # The following way of writing the cache mishandles newlines in values,
2207 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2208 eval ac_val=\$$ac_var
2212 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2213 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2216 _ | IFS | as_nl) ;; #(
2217 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2218 *) { eval $ac_var=; unset $ac_var;} ;;
2223 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2224 *${as_nl}ac_space=\ *)
2226 "s/'\''/'\''\\\\'\'''\''/g;
2227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2237 $as_echo "## ----------------- ##
2238 ## Output variables. ##
2239 ## ----------------- ##"
2241 for ac_var in $ac_subst_vars
2243 eval ac_val=\$$ac_var
2245 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 $as_echo "$ac_var='\''$ac_val'\''"
2251 if test -n "$ac_subst_files"; then
2252 $as_echo "## ------------------- ##
2253 ## File substitutions. ##
2254 ## ------------------- ##"
2256 for ac_var in $ac_subst_files
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2267 if test -s confdefs.h; then
2268 $as_echo "## ----------- ##
2275 test "$ac_signal" != 0 &&
2276 $as_echo "$as_me: caught signal $ac_signal"
2277 $as_echo "$as_me: exit $exit_status"
2279 rm -f core *.core core.conftest.* &&
2280 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 for ac_signal in 1 2 13 15; do
2284 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2289 rm -f -r conftest* confdefs.h
2291 $as_echo "/* confdefs.h */" > confdefs.h
2293 # Predefined preprocessor variables.
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_NAME "$PACKAGE_NAME"
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_STRING "$PACKAGE_STRING"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_URL "$PACKAGE_URL"
2320 # Let the site file select an alternate cache file if it wants to.
2321 # Prefer an explicitly selected file to automatically selected ones.
2324 if test -n "$CONFIG_SITE"; then
2325 # We do not want a PATH search for config.site.
2326 case $CONFIG_SITE in #((
2327 -*) ac_site_file1=./$CONFIG_SITE;;
2328 */*) ac_site_file1=$CONFIG_SITE;;
2329 *) ac_site_file1=./$CONFIG_SITE;;
2331 elif test "x$prefix" != xNONE; then
2332 ac_site_file1=$prefix/share/config.site
2333 ac_site_file2=$prefix/etc/config.site
2335 ac_site_file1=$ac_default_prefix/share/config.site
2336 ac_site_file2=$ac_default_prefix/etc/config.site
2338 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2340 test "x$ac_site_file" = xNONE && continue
2341 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2343 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2344 sed 's/^/| /' "$ac_site_file" >&5
2346 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 as_fn_error $? "failed to load site script $ac_site_file
2349 See \`config.log' for more details" "$LINENO" 5 ; }
2353 if test -r "$cache_file"; then
2354 # Some versions of bash will fail to source /dev/null (special files
2355 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2356 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2358 $as_echo "$as_me: loading cache $cache_file" >&6;}
2360 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2361 *) . "./$cache_file";;
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2366 $as_echo "$as_me: creating cache $cache_file" >&6;}
2370 as_fn_append ac_header_list " stdlib.h"
2371 as_fn_append ac_header_list " unistd.h"
2372 as_fn_append ac_header_list " sys/param.h"
2373 # Check that the precious variables saved in the cache have kept the same
2375 ac_cache_corrupted=false
2376 for ac_var in $ac_precious_vars; do
2377 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2378 eval ac_new_set=\$ac_env_${ac_var}_set
2379 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2380 eval ac_new_val=\$ac_env_${ac_var}_value
2381 case $ac_old_set,$ac_new_set in
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2384 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2385 ac_cache_corrupted=: ;;
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2388 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2389 ac_cache_corrupted=: ;;
2392 if test "x$ac_old_val" != "x$ac_new_val"; then
2393 # differences in whitespace do not lead to failure.
2394 ac_old_val_w=`echo x $ac_old_val`
2395 ac_new_val_w=`echo x $ac_new_val`
2396 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2398 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2399 ac_cache_corrupted=:
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2402 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2403 eval $ac_var=\$ac_old_val
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2406 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2408 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2411 # Pass precious variables to config.status.
2412 if test "$ac_new_set" = set; then
2414 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 *) ac_arg=$ac_var=$ac_new_val ;;
2417 case " $ac_configure_args " in
2418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2419 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2423 if $ac_cache_corrupted; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2427 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2430 ## -------------------- ##
2431 ## Main body of script. ##
2432 ## -------------------- ##
2435 ac_cpp='$CPP $CPPFLAGS'
2436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2441 am__api_version='1.11'
2444 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2445 if test -f "$ac_dir/install-sh"; then
2447 ac_install_sh="$ac_aux_dir/install-sh -c"
2449 elif test -f "$ac_dir/install.sh"; then
2451 ac_install_sh="$ac_aux_dir/install.sh -c"
2453 elif test -f "$ac_dir/shtool"; then
2455 ac_install_sh="$ac_aux_dir/shtool install -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2472 # Find a good install program. We prefer a C program (faster),
2473 # so one script is as good as another. But avoid the broken or
2474 # incompatible versions:
2475 # SysV /etc/install, /usr/sbin/install
2476 # SunOS /usr/etc/install
2477 # IRIX /sbin/install
2479 # AmigaOS /C/install, which installs bootblocks on floppy discs
2480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2483 # OS/2's system install, which has a completely different semantic
2484 # ./install, which can be erroneously created by make from ./install.sh.
2485 # Reject install programs that cannot install multiple files.
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2487 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2488 if test -z "$INSTALL"; then
2489 if test "${ac_cv_path_install+set}" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir=.
2497 # Account for people who put trailing slashes in PATH elements.
2498 case $as_dir/ in #((
2499 ./ | .// | /[cC]/* | \
2500 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2501 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2504 # OSF1 and SCO ODT 3.0 have their own names for install.
2505 # Don't use installbsd from OSF since it installs stuff as root
2507 for ac_prog in ginstall scoinst install; do
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2510 if test $ac_prog = install &&
2511 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2512 # AIX install. It has an incompatible calling convention.
2514 elif test $ac_prog = install &&
2515 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2516 # program-specific install script used by HP pwplus--don't use.
2519 rm -rf conftest.one conftest.two conftest.dir
2520 echo one > conftest.one
2521 echo two > conftest.two
2523 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2524 test -s conftest.one && test -s conftest.two &&
2525 test -s conftest.dir/conftest.one &&
2526 test -s conftest.dir/conftest.two
2528 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2541 rm -rf conftest.one conftest.two conftest.dir
2544 if test "${ac_cv_path_install+set}" = set; then
2545 INSTALL=$ac_cv_path_install
2547 # As a last resort, use the slow shell script. Don't cache a
2548 # value for INSTALL within a source directory, because that will
2549 # break other packages using the cache if that directory is
2550 # removed, or if the value is a relative name.
2551 INSTALL=$ac_install_sh
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2555 $as_echo "$INSTALL" >&6; }
2557 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2558 # It thinks the first close brace ends the variable substitution.
2559 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2561 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2563 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2566 $as_echo_n "checking whether build environment is sane... " >&6; }
2569 echo timestamp > conftest.file
2570 # Reject unsafe characters in $srcdir or the absolute working directory
2571 # name. Accept space and tab only in the latter.
2575 *[\\\"\#\$\&\'\`$am_lf]*)
2576 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2579 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2580 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2583 # Do `set' in a subshell so we don't clobber the current shell's
2584 # arguments. Must try -L first in case configure is actually a
2585 # symlink; some systems play weird games with the mod time of symlinks
2586 # (eg FreeBSD returns the mod time of the symlink's containing
2589 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2590 if test "$*" = "X"; then
2592 set X `ls -t "$srcdir/configure" conftest.file`
2595 if test "$*" != "X $srcdir/configure conftest.file" \
2596 && test "$*" != "X conftest.file $srcdir/configure"; then
2598 # If neither matched, then we have a broken ls. This can happen
2599 # if, for instance, CONFIG_SHELL is bash and it inherits a
2600 # broken ls alias from the environment. This has actually
2601 # happened. Such a system could not be considered "sane".
2602 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2603 alias in your environment" "$LINENO" 5
2606 test "$2" = conftest.file
2612 as_fn_error $? "newly created file is older than distributed files!
2613 Check your system clock" "$LINENO" 5
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2616 $as_echo "yes" >&6; }
2617 test "$program_prefix" != NONE &&
2618 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2619 # Use a double $ so make ignores it.
2620 test "$program_suffix" != NONE &&
2621 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2622 # Double any \ or $.
2623 # By default was `s,x,x', remove it if useless.
2624 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2625 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2627 # expand $ac_aux_dir to an absolute path
2628 am_aux_dir=`cd $ac_aux_dir && pwd`
2630 if test x"${MISSING+set}" != xset; then
2633 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2635 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2638 # Use eval to expand $SHELL
2639 if eval "$MISSING --run true"; then
2640 am_missing_run="$MISSING --run "
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2644 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2647 if test x"${install_sh}" != xset; then
2650 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2652 install_sh="\${SHELL} $am_aux_dir/install-sh"
2656 # Installed binaries are usually stripped using `strip' when the user
2657 # run `make install-strip'. However `strip' might not be the right
2658 # tool to use in cross-compilation environments, therefore Automake
2659 # will honor the `STRIP' environment variable to overrule this program.
2660 if test "$cross_compiling" != no; then
2661 if test -n "$ac_tool_prefix"; then
2662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2663 set dummy ${ac_tool_prefix}strip; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if test "${ac_cv_prog_STRIP+set}" = set; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$STRIP"; then
2670 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 STRIP=$ac_cv_prog_STRIP
2690 if test -n "$STRIP"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2692 $as_echo "$STRIP" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2700 if test -z "$ac_cv_prog_STRIP"; then
2702 # Extract the first word of "strip", so it can be a program name with args.
2703 set dummy strip; ac_word=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$ac_ct_STRIP"; then
2710 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir=.
2717 for ac_exec_ext in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_ac_ct_STRIP="strip"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2730 if test -n "$ac_ct_STRIP"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2732 $as_echo "$ac_ct_STRIP" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2738 if test "x$ac_ct_STRIP" = x; then
2741 case $cross_compiling:$ac_tool_warned in
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2745 ac_tool_warned=yes ;;
2750 STRIP="$ac_cv_prog_STRIP"
2754 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2757 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2758 if test -z "$MKDIR_P"; then
2759 if test "${ac_cv_path_mkdir+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2766 test -z "$as_dir" && as_dir=.
2767 for ac_prog in mkdir gmkdir; do
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2770 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2771 'mkdir (GNU coreutils) '* | \
2772 'mkdir (coreutils) '* | \
2773 'mkdir (fileutils) '4.1*)
2774 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2784 test -d ./--version && rmdir ./--version
2785 if test "${ac_cv_path_mkdir+set}" = set; then
2786 MKDIR_P="$ac_cv_path_mkdir -p"
2788 # As a last resort, use the slow shell script. Don't cache a
2789 # value for MKDIR_P within a source directory, because that will
2790 # break other packages using the cache if that directory is
2791 # removed, or if the value is a relative name.
2792 MKDIR_P="$ac_install_sh -d"
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2796 $as_echo "$MKDIR_P" >&6; }
2800 [\\/$]* | ?:[\\/]*) ;;
2801 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2804 for ac_prog in gawk mawk nawk awk
2806 # Extract the first word of "$ac_prog", so it can be a program name with args.
2807 set dummy $ac_prog; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_AWK+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$AWK"; then
2814 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_AWK="$ac_prog"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$AWK"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2836 $as_echo "$AWK" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$AWK" && break
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2847 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2849 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 cat >conftest.make <<\_ACEOF
2856 @echo '@@@%%%=$(MAKE)=@@@%%%'
2858 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2859 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2861 eval ac_cv_prog_make_${ac_make}_set=yes;;
2863 eval ac_cv_prog_make_${ac_make}_set=no;;
2867 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2869 $as_echo "yes" >&6; }
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2874 SET_MAKE="MAKE=${MAKE-make}"
2877 rm -rf .tst 2>/dev/null
2878 mkdir .tst 2>/dev/null
2879 if test -d .tst; then
2884 rmdir .tst 2>/dev/null
2886 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2887 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2888 # is not polluted with repeated "-I."
2889 am__isrc=' -I$(srcdir)'
2890 # test to see if srcdir already configured
2891 if test -f $srcdir/config.status; then
2892 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2896 # test whether we have cygpath
2897 if test -z "$CYGPATH_W"; then
2898 if (cygpath --version) >/dev/null 2>/dev/null; then
2899 CYGPATH_W='cygpath -w'
2906 # Define the identity of the package.
2911 cat >>confdefs.h <<_ACEOF
2912 #define PACKAGE "$PACKAGE"
2916 cat >>confdefs.h <<_ACEOF
2917 #define VERSION "$VERSION"
2920 # Some tools Automake needs.
2922 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2925 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2928 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2931 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2934 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2936 # We need awk for the "check" target. The system "awk" is bad on
2938 # Always define AMTAR for backward compatibility.
2940 AMTAR=${AMTAR-"${am_missing_run}tar"}
2942 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2948 ac_config_headers="$ac_config_headers config.h:config.hin"
2953 # Checks for programs.
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 if test -n "$ac_tool_prefix"; then
2960 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2961 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_CC+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$CC"; then
2968 ac_cv_prog_CC="$CC" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 if test -n "$CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2998 if test -z "$ac_cv_prog_CC"; then
3000 # Extract the first word of "gcc", so it can be a program name with args.
3001 set dummy gcc; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_ac_ct_CC="gcc"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3036 if test "x$ac_ct_CC" = x; then
3039 case $cross_compiling:$ac_tool_warned in
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3043 ac_tool_warned=yes ;;
3051 if test -z "$CC"; then
3052 if test -n "$ac_tool_prefix"; then
3053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3054 set dummy ${ac_tool_prefix}cc; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_CC+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC="$CC" # Let the user override the test.
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_CC="${ac_tool_prefix}cc"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3092 if test -z "$CC"; then
3093 # Extract the first word of "cc", so it can be a program name with args.
3094 set dummy cc; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3112 ac_prog_rejected=yes
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test $ac_prog_rejected = yes; then
3124 # We found a bogon in the path, so make sure we never use it.
3125 set dummy $ac_cv_prog_CC
3127 if test $# != 0; then
3128 # We chose a different compiler from the bogus one.
3129 # However, it has the same basename, so the bogon will be chosen
3130 # first if we set CC to just the basename; use the full file name.
3132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3148 if test -z "$CC"; then
3149 if test -n "$ac_tool_prefix"; then
3150 for ac_prog in cl.exe
3152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_CC+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3189 test -n "$CC" && break
3192 if test -z "$CC"; then
3194 for ac_prog in cl.exe
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy $ac_prog; ac_word=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_ac_ct_CC="$ac_prog"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226 $as_echo "$ac_ct_CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$ac_ct_CC" && break
3236 if test "x$ac_ct_CC" = x; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3243 ac_tool_warned=yes ;;
3252 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error $? "no acceptable C compiler found in \$PATH
3255 See \`config.log' for more details" "$LINENO" 5 ; }
3257 # Provide some information about the compiler.
3258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3261 for ac_option in --version -v -V -qversion; do
3262 { { ac_try="$ac_compiler $ac_option >&5"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3271 if test -s conftest.err; then
3273 ... rest of stderr output deleted ...
3274 10q' conftest.err >conftest.er1
3275 cat conftest.er1 >&5
3277 rm -f conftest.er1 conftest.err
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3293 ac_clean_files_save=$ac_clean_files
3294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3295 # Try to create an executable without -o first, disregard a.out.
3296 # It will help us diagnose broken compilers, and finding out an intuition
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3299 $as_echo_n "checking whether the C compiler works... " >&6; }
3300 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3302 # The possible output files:
3303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3306 for ac_file in $ac_files
3309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3310 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3315 if { { ac_try="$ac_link_default"
3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318 *) ac_try_echo=$ac_try;;
3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321 $as_echo "$ac_try_echo"; } >&5
3322 (eval "$ac_link_default") 2>&5
3324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325 test $ac_status = 0; }; then :
3326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3328 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3329 # so that the user can short-circuit this test for compilers unknown to
3331 for ac_file in $ac_files ''
3333 test -f "$ac_file" || continue
3335 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3338 # We found the default executable, but exeext='' is most
3342 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3344 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346 # We set ac_cv_exeext here because the later test for it is not
3347 # safe: cross compilers may not add the suffix if given an `-o'
3348 # argument, so we may need to know it at that point already.
3349 # Even if this section looks crufty: it has the advantage of
3356 test "$ac_cv_exeext" = no && ac_cv_exeext=
3361 if test -z "$ac_file"; then :
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363 $as_echo "no" >&6; }
3364 $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error 77 "C compiler cannot create executables
3370 See \`config.log' for more details" "$LINENO" 5 ; }
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3373 $as_echo "yes" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3376 $as_echo_n "checking for C compiler default output file name... " >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3378 $as_echo "$ac_file" >&6; }
3379 ac_exeext=$ac_cv_exeext
3381 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3382 ac_clean_files=$ac_clean_files_save
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3384 $as_echo_n "checking for suffix of executables... " >&6; }
3385 if { { ac_try="$ac_link"
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_link") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; then :
3396 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3397 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3398 # work properly (i.e., refer to `conftest.exe'), while it won't with
3400 for ac_file in conftest.exe conftest conftest.*; do
3401 test -f "$ac_file" || continue
3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3404 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3413 See \`config.log' for more details" "$LINENO" 5 ; }
3415 rm -f conftest conftest$ac_cv_exeext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3417 $as_echo "$ac_cv_exeext" >&6; }
3419 rm -f conftest.$ac_ext
3420 EXEEXT=$ac_cv_exeext
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3428 FILE *f = fopen ("conftest.out", "w");
3429 return ferror (f) || fclose (f) != 0;
3435 ac_clean_files="$ac_clean_files conftest.out"
3436 # Check that the compiler produces executables we can run. If not, either
3437 # the compiler is broken, or we cross compile.
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3439 $as_echo_n "checking whether we are cross compiling... " >&6; }
3440 if test "$cross_compiling" != yes; then
3441 { { ac_try="$ac_link"
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_link") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }
3452 if { ac_try='./conftest$ac_cv_exeext'
3453 { { case "(($ac_try" in
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_try") 2>&5
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }; }; then
3465 if test "$cross_compiling" = maybe; then
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "cannot run C compiled programs.
3471 If you meant to cross compile, use \`--host'.
3472 See \`config.log' for more details" "$LINENO" 5 ; }
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3477 $as_echo "$cross_compiling" >&6; }
3479 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3480 ac_clean_files=$ac_clean_files_save
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3482 $as_echo_n "checking for suffix of object files... " >&6; }
3483 if test "${ac_cv_objext+set}" = set; then :
3484 $as_echo_n "(cached) " >&6
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3497 rm -f conftest.o conftest.obj
3498 if { { ac_try="$ac_compile"
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_compile") 2>&5
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }; then :
3509 for ac_file in conftest.o conftest.obj conftest.*; do
3510 test -f "$ac_file" || continue;
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3518 $as_echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3523 as_fn_error $? "cannot compute suffix of object files: cannot compile
3524 See \`config.log' for more details" "$LINENO" 5 ; }
3526 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3529 $as_echo "$ac_cv_objext" >&6; }
3530 OBJEXT=$ac_cv_objext
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3533 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3534 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3535 $as_echo_n "(cached) " >&6
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3551 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3561 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3562 if test $ac_compiler_gnu = yes; then
3567 ac_test_CFLAGS=${CFLAGS+set}
3568 ac_save_CFLAGS=$CFLAGS
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3570 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3571 if test "${ac_cv_prog_cc_g+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 ac_save_c_werror_flag=$ac_c_werror_flag
3575 ac_c_werror_flag=yes
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3604 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_c_try_compile "$LINENO"; then :
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3628 ac_c_werror_flag=$ac_save_c_werror_flag
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3631 $as_echo "$ac_cv_prog_cc_g" >&6; }
3632 if test "$ac_test_CFLAGS" = set; then
3633 CFLAGS=$ac_save_CFLAGS
3634 elif test $ac_cv_prog_cc_g = yes; then
3635 if test "$GCC" = yes; then
3641 if test "$GCC" = yes; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3648 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3649 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 ac_cv_prog_cc_c89=no
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3658 #include <sys/types.h>
3659 #include <sys/stat.h>
3660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3661 struct buf { int x; };
3662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3663 static char *e (p, i)
3669 static char *f (char * (*g) (char **, int), char **p, ...)
3674 s = g (p, va_arg (v,int));
3679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3680 function prototypes and stuff, but not '\xHH' hex character constants.
3681 These don't provoke an error unfortunately, instead are silently treated
3682 as 'x'. The following induces an error, until -std is added to get
3683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3684 array size at least. It's necessary to write '\x00'==0 to get something
3685 that's true only with -std. */
3686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3689 inside strings and character constants. */
3691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3693 int test (int i, double x);
3694 struct s1 {int (*f) (int a);};
3695 struct s2 {int (*f) (double a);};
3696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3710 CC="$ac_save_CC $ac_arg"
3711 if ac_fn_c_try_compile "$LINENO"; then :
3712 ac_cv_prog_cc_c89=$ac_arg
3714 rm -f core conftest.err conftest.$ac_objext
3715 test "x$ac_cv_prog_cc_c89" != "xno" && break
3717 rm -f conftest.$ac_ext
3722 case "x$ac_cv_prog_cc_c89" in
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3725 $as_echo "none needed" >&6; } ;;
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3728 $as_echo "unsupported" >&6; } ;;
3730 CC="$CC $ac_cv_prog_cc_c89"
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3732 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3734 if test "x$ac_cv_prog_cc_c89" != xno; then :
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3743 DEPDIR="${am__leading_dot}deps"
3745 ac_config_commands="$ac_config_commands depfiles"
3748 am_make=${MAKE-make}
3749 cat > confinc << 'END'
3751 @echo this is the am__doit target
3754 # If we don't find an include directive, just comment out the code.
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3756 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3760 # First try GNU make style include.
3761 echo "include confinc" > confmf
3762 # Ignore all kinds of additional output from `make'.
3763 case `$am_make -s -f confmf 2> /dev/null` in #(
3764 *the\ am__doit\ target*)
3770 # Now try BSD make style include.
3771 if test "$am__include" = "#"; then
3772 echo '.include "confinc"' > confmf
3773 case `$am_make -s -f confmf 2> /dev/null` in #(
3774 *the\ am__doit\ target*)
3775 am__include=.include
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3784 $as_echo "$_am_result" >&6; }
3785 rm -f confinc confmf
3787 # Check whether --enable-dependency-tracking was given.
3788 if test "${enable_dependency_tracking+set}" = set; then :
3789 enableval=$enable_dependency_tracking;
3792 if test "x$enable_dependency_tracking" != xno; then
3793 am_depcomp="$ac_aux_dir/depcomp"
3796 if test "x$enable_dependency_tracking" != xno; then
3806 depcc="$CC" am_compiler_list=
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3809 $as_echo_n "checking dependency style of $depcc... " >&6; }
3810 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3814 # We make a subdir and do the tests there. Otherwise we can end up
3815 # making bogus files that we don't know about and never remove. For
3816 # instance it was reported that on HP-UX the gcc test will end up
3817 # making a dummy file named `D' -- because `-MD' means `put the output
3820 # Copy depcomp to subdir because otherwise we won't find it if we're
3821 # using a relative directory.
3822 cp "$am_depcomp" conftest.dir
3824 # We will build objects and dependencies in a subdirectory because
3825 # it helps to detect inapplicable dependency modes. For instance
3826 # both Tru64's cc and ICC support -MD to output dependencies as a
3827 # side effect of compilation, but ICC will put the dependencies in
3828 # the current directory while Tru64 will put them in the object
3832 am_cv_CC_dependencies_compiler_type=none
3833 if test "$am_compiler_list" = ""; then
3834 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3837 case " $depcc " in #(
3838 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3841 for depmode in $am_compiler_list; do
3842 # Setup a source with many dependencies, because some compilers
3843 # like to wrap large dependency lists on column 80 (with \), and
3844 # we should not choose a depcomp mode which is confused by this.
3846 # We need to recreate these files for each test, as the compiler may
3847 # overwrite some of them when testing with obscure command lines.
3848 # This happens at least with the AIX C compiler.
3850 for i in 1 2 3 4 5 6; do
3851 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3852 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3853 # Solaris 8's {/usr,}/bin/sh.
3854 touch sub/conftst$i.h
3856 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3858 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3859 # mode. It turns out that the SunPro C++ compiler does not properly
3860 # handle `-M -o', and we need to detect this. Also, some Intel
3861 # versions had trouble with output in subdirs
3862 am__obj=sub/conftest.${OBJEXT-o}
3863 am__minus_obj="-o $am__obj"
3866 # This depmode causes a compiler race in universal mode.
3867 test "$am__universal" = false || continue
3870 # after this tag, mechanisms are not by side-effect, so they'll
3871 # only be used when explicitly requested
3872 if test "x$enable_dependency_tracking" = xyes; then
3878 msvisualcpp | msvcmsys)
3879 # This compiler won't grok `-c -o', but also, the minuso test has
3880 # not run yet. These depmodes are late enough in the game, and
3881 # so weak that their functioning should not be impacted.
3882 am__obj=conftest.${OBJEXT-o}
3887 if depmode=$depmode \
3888 source=sub/conftest.c object=$am__obj \
3889 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3890 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3891 >/dev/null 2>conftest.err &&
3892 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3893 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3894 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3895 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3896 # icc doesn't choke on unknown options, it will just issue warnings
3897 # or remarks (even with -Werror). So we grep stderr for any message
3898 # that says an option was ignored or not supported.
3899 # When given -MP, icc 7.0 and 7.1 complain thusly:
3900 # icc: Command line warning: ignoring option '-M'; no argument required
3901 # The diagnosis changed in icc 8.0:
3902 # icc: Command line remark: option '-MP' not supported
3903 if (grep 'ignoring option' conftest.err ||
3904 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3905 am_cv_CC_dependencies_compiler_type=$depmode
3914 am_cv_CC_dependencies_compiler_type=none
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3919 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3920 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3923 test "x$enable_dependency_tracking" != xno \
3924 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3926 am__fastdepCC_FALSE='#'
3928 am__fastdepCC_TRUE='#'
3929 am__fastdepCC_FALSE=
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3935 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3936 if test "${ac_cv_c_const+set}" = set; then :
3937 $as_echo_n "(cached) " >&6
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3945 /* FIXME: Include the comments suggested by Paul. */
3947 /* Ultrix mips cc rejects this. */
3948 typedef int charset[2];
3950 /* SunOS 4.1.1 cc rejects this. */
3951 char const *const *pcpcc;
3953 /* NEC SVR4.0.2 mips cc rejects this. */
3954 struct point {int x, y;};
3955 static struct point const zero = {0,0};
3956 /* AIX XL C 1.02.0.0 rejects this.
3957 It does not let you subtract one const X* pointer from another in
3958 an arm of an if-expression whose if-part is not a constant
3960 const char *g = "string";
3961 pcpcc = &g + (g ? g-g : 0);
3962 /* HPUX 7.0 cc rejects these. */
3964 ppc = (char**) pcpcc;
3965 pcpcc = (char const *const *) ppc;
3966 { /* SCO 3.2v4 cc rejects this. */
3968 char const *s = 0 ? (char *) 0 : (char const *) 0;
3973 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3975 const int *foo = &x[0];
3978 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3979 typedef const int *iptr;
3983 { /* AIX XL C 1.02.0.0 rejects this saying
3984 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3985 struct s { int j; const int *ap[3]; };
3986 struct s *b; b->j = 5;
3988 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3992 return !cs[0] && !zero.x;
3999 if ac_fn_c_try_compile "$LINENO"; then :
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4007 $as_echo "$ac_cv_c_const" >&6; }
4008 if test $ac_cv_c_const = no; then
4010 $as_echo "#define const /**/" >>confdefs.h
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4020 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4021 # On Suns, sometimes $CPP names a directory.
4022 if test -n "$CPP" && test -d "$CPP"; then
4025 if test -z "$CPP"; then
4026 if test "${ac_cv_prog_CPP+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 # Double quotes because CPP needs to be expanded
4030 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4033 for ac_c_preproc_warn_flag in '' yes
4035 # Use a header file that comes with gcc, so configuring glibc
4036 # with a fresh cross-compiler works.
4037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4038 # <limits.h> exists even on freestanding compilers.
4039 # On the NeXT, cc -E runs the code through the compiler's parser,
4040 # not just through cpp. "Syntax error" is here to catch this case.
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4044 # include <limits.h>
4046 # include <assert.h>
4050 if ac_fn_c_try_cpp "$LINENO"; then :
4053 # Broken: fails on valid input.
4056 rm -f conftest.err conftest.i conftest.$ac_ext
4058 # OK, works on sane cases. Now check whether nonexistent headers
4059 # can be detected and how.
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4062 #include <ac_nonexistent.h>
4064 if ac_fn_c_try_cpp "$LINENO"; then :
4065 # Broken: success on invalid input.
4068 # Passes both tests.
4072 rm -f conftest.err conftest.i conftest.$ac_ext
4075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4076 rm -f conftest.i conftest.err conftest.$ac_ext
4077 if $ac_preproc_ok; then :
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4090 $as_echo "$CPP" >&6; }
4092 for ac_c_preproc_warn_flag in '' yes
4094 # Use a header file that comes with gcc, so configuring glibc
4095 # with a fresh cross-compiler works.
4096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4097 # <limits.h> exists even on freestanding compilers.
4098 # On the NeXT, cc -E runs the code through the compiler's parser,
4099 # not just through cpp. "Syntax error" is here to catch this case.
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4103 # include <limits.h>
4105 # include <assert.h>
4109 if ac_fn_c_try_cpp "$LINENO"; then :
4112 # Broken: fails on valid input.
4115 rm -f conftest.err conftest.i conftest.$ac_ext
4117 # OK, works on sane cases. Now check whether nonexistent headers
4118 # can be detected and how.
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4121 #include <ac_nonexistent.h>
4123 if ac_fn_c_try_cpp "$LINENO"; then :
4124 # Broken: success on invalid input.
4127 # Passes both tests.
4131 rm -f conftest.err conftest.i conftest.$ac_ext
4134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4135 rm -f conftest.i conftest.err conftest.$ac_ext
4136 if $ac_preproc_ok; then :
4139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4141 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4142 See \`config.log' for more details" "$LINENO" 5 ; }
4146 ac_cpp='$CPP $CPPFLAGS'
4147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4153 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4154 if test "${ac_cv_path_GREP+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 if test -z "$GREP"; then
4158 ac_path_GREP_found=false
4159 # Loop through the user's path and test for each of PROGNAME-LIST
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4164 test -z "$as_dir" && as_dir=.
4165 for ac_prog in grep ggrep; do
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4168 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4169 # Check for GNU ac_path_GREP and select it if it is found.
4170 # Check for GNU $ac_path_GREP
4171 case `"$ac_path_GREP" --version 2>&1` in
4173 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4176 $as_echo_n 0123456789 >"conftest.in"
4179 cat "conftest.in" "conftest.in" >"conftest.tmp"
4180 mv "conftest.tmp" "conftest.in"
4181 cp "conftest.in" "conftest.nl"
4182 $as_echo 'GREP' >> "conftest.nl"
4183 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4185 as_fn_arith $ac_count + 1 && ac_count=$as_val
4186 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4187 # Best one so far, save it but keep looking for a better one
4188 ac_cv_path_GREP="$ac_path_GREP"
4189 ac_path_GREP_max=$ac_count
4191 # 10*(2^10) chars as input seems more than enough
4192 test $ac_count -gt 10 && break
4194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4197 $ac_path_GREP_found && break 3
4202 if test -z "$ac_cv_path_GREP"; then
4203 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4206 ac_cv_path_GREP=$GREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4211 $as_echo "$ac_cv_path_GREP" >&6; }
4212 GREP="$ac_cv_path_GREP"
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4216 $as_echo_n "checking for egrep... " >&6; }
4217 if test "${ac_cv_path_EGREP+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4221 then ac_cv_path_EGREP="$GREP -E"
4223 if test -z "$EGREP"; then
4224 ac_path_EGREP_found=false
4225 # Loop through the user's path and test for each of PROGNAME-LIST
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4230 test -z "$as_dir" && as_dir=.
4231 for ac_prog in egrep; do
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4234 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4235 # Check for GNU ac_path_EGREP and select it if it is found.
4236 # Check for GNU $ac_path_EGREP
4237 case `"$ac_path_EGREP" --version 2>&1` in
4239 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4242 $as_echo_n 0123456789 >"conftest.in"
4245 cat "conftest.in" "conftest.in" >"conftest.tmp"
4246 mv "conftest.tmp" "conftest.in"
4247 cp "conftest.in" "conftest.nl"
4248 $as_echo 'EGREP' >> "conftest.nl"
4249 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4250 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4251 as_fn_arith $ac_count + 1 && ac_count=$as_val
4252 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4253 # Best one so far, save it but keep looking for a better one
4254 ac_cv_path_EGREP="$ac_path_EGREP"
4255 ac_path_EGREP_max=$ac_count
4257 # 10*(2^10) chars as input seems more than enough
4258 test $ac_count -gt 10 && break
4260 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4263 $ac_path_EGREP_found && break 3
4268 if test -z "$ac_cv_path_EGREP"; then
4269 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272 ac_cv_path_EGREP=$EGREP
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4278 $as_echo "$ac_cv_path_EGREP" >&6; }
4279 EGREP="$ac_cv_path_EGREP"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4283 $as_echo_n "checking for ANSI C header files... " >&6; }
4284 if test "${ac_cv_header_stdc+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4302 if ac_fn_c_try_compile "$LINENO"; then :
4303 ac_cv_header_stdc=yes
4305 ac_cv_header_stdc=no
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 if test $ac_cv_header_stdc = yes; then
4310 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4317 $EGREP "memchr" >/dev/null 2>&1; then :
4320 ac_cv_header_stdc=no
4326 if test $ac_cv_header_stdc = yes; then
4327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4334 $EGREP "free" >/dev/null 2>&1; then :
4337 ac_cv_header_stdc=no
4343 if test $ac_cv_header_stdc = yes; then
4344 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4345 if test "$cross_compiling" = yes; then :
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4352 #if ((' ' & 0x0FF) == 0x020)
4353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4356 # define ISLOWER(c) \
4357 (('a' <= (c) && (c) <= 'i') \
4358 || ('j' <= (c) && (c) <= 'r') \
4359 || ('s' <= (c) && (c) <= 'z'))
4360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4368 for (i = 0; i < 256; i++)
4369 if (XOR (islower (i), ISLOWER (i))
4370 || toupper (i) != TOUPPER (i))
4375 if ac_fn_c_try_run "$LINENO"; then :
4378 ac_cv_header_stdc=no
4380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4381 conftest.$ac_objext conftest.beam conftest.$ac_ext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4387 $as_echo "$ac_cv_header_stdc" >&6; }
4388 if test $ac_cv_header_stdc = yes; then
4390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4396 inttypes.h stdint.h unistd.h
4398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4402 cat >>confdefs.h <<_ACEOF
4403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4414 for ac_header in $ac_header_list
4416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4417 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4420 cat >>confdefs.h <<_ACEOF
4421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4435 for ac_func in getpagesize
4437 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4438 if test "x$ac_cv_func_getpagesize" = x""yes; then :
4439 cat >>confdefs.h <<_ACEOF
4440 #define HAVE_GETPAGESIZE 1
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4447 $as_echo_n "checking for working mmap... " >&6; }
4448 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 if test "$cross_compiling" = yes; then :
4452 ac_cv_func_mmap_fixed_mapped=no
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456 $ac_includes_default
4457 /* malloc might have been renamed as rpl_malloc. */
4460 /* Thanks to Mike Haertel and Jim Avera for this test.
4461 Here is a matrix of mmap possibilities:
4462 mmap private not fixed
4463 mmap private fixed at somewhere currently unmapped
4464 mmap private fixed at somewhere already mapped
4465 mmap shared not fixed
4466 mmap shared fixed at somewhere currently unmapped
4467 mmap shared fixed at somewhere already mapped
4468 For private mappings, we should verify that changes cannot be read()
4469 back from the file, nor mmap's back from the file at a different
4470 address. (There have been systems where private was not correctly
4471 implemented like the infamous i386 svr4.0, and systems where the
4472 VM page cache was not coherent with the file system buffer cache
4473 like early versions of FreeBSD and possibly contemporary NetBSD.)
4474 For shared mappings, we should conversely verify that changes get
4475 propagated back to all the places they're supposed to be.
4477 Grep wants private fixed already mapped.
4478 The main things grep needs to know about mmap are:
4479 * does it exist and is it safe to write into the mmap'd area
4480 * how to use it (BSD variants) */
4483 #include <sys/mman.h>
4485 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4489 /* This mess was copied from the GNU getpagesize.h. */
4490 #ifndef HAVE_GETPAGESIZE
4491 # ifdef _SC_PAGESIZE
4492 # define getpagesize() sysconf(_SC_PAGESIZE)
4493 # else /* no _SC_PAGESIZE */
4494 # ifdef HAVE_SYS_PARAM_H
4495 # include <sys/param.h>
4496 # ifdef EXEC_PAGESIZE
4497 # define getpagesize() EXEC_PAGESIZE
4498 # else /* no EXEC_PAGESIZE */
4500 # define getpagesize() NBPG * CLSIZE
4503 # endif /* no CLSIZE */
4504 # else /* no NBPG */
4506 # define getpagesize() NBPC
4507 # else /* no NBPC */
4509 # define getpagesize() PAGESIZE
4510 # endif /* PAGESIZE */
4511 # endif /* no NBPC */
4512 # endif /* no NBPG */
4513 # endif /* no EXEC_PAGESIZE */
4514 # else /* no HAVE_SYS_PARAM_H */
4515 # define getpagesize() 8192 /* punt totally */
4516 # endif /* no HAVE_SYS_PARAM_H */
4517 # endif /* no _SC_PAGESIZE */
4519 #endif /* no HAVE_GETPAGESIZE */
4524 char *data, *data2, *data3;
4529 pagesize = getpagesize ();
4531 /* First, make a file with some known garbage in it. */
4532 data = (char *) malloc (pagesize);
4535 for (i = 0; i < pagesize; ++i)
4536 *(data + i) = rand ();
4538 fd = creat ("conftest.mmap", 0600);
4541 if (write (fd, data, pagesize) != pagesize)
4545 /* Next, check that the tail of a page is zero-filled. File must have
4546 non-zero length, otherwise we risk SIGBUS for entire page. */
4547 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4551 if (write (fd2, cdata2, 1) != 1)
4553 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4554 if (data2 == MAP_FAILED)
4556 for (i = 0; i < pagesize; ++i)
4560 if (munmap (data2, pagesize))
4563 /* Next, try to mmap the file at a fixed address which already has
4564 something else allocated at it. If we can, also make sure that
4565 we see the same garbage. */
4566 fd = open ("conftest.mmap", O_RDWR);
4569 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4570 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4572 for (i = 0; i < pagesize; ++i)
4573 if (*(data + i) != *(data2 + i))
4576 /* Finally, make sure that changes to the mapped area do not
4577 percolate back to the file as seen by read(). (This is a bug on
4578 some variants of i386 svr4.0.) */
4579 for (i = 0; i < pagesize; ++i)
4580 *(data2 + i) = *(data2 + i) + 1;
4581 data3 = (char *) malloc (pagesize);
4584 if (read (fd, data3, pagesize) != pagesize)
4586 for (i = 0; i < pagesize; ++i)
4587 if (*(data + i) != *(data3 + i))
4593 if ac_fn_c_try_run "$LINENO"; then :
4594 ac_cv_func_mmap_fixed_mapped=yes
4596 ac_cv_func_mmap_fixed_mapped=no
4598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4599 conftest.$ac_objext conftest.beam conftest.$ac_ext
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4604 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4605 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4607 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4610 rm -f conftest.mmap conftest.txt
4612 for ac_header in stdlib.h
4614 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4615 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4616 cat >>confdefs.h <<_ACEOF
4617 #define HAVE_STDLIB_H 1
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4625 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4626 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4629 if test "$cross_compiling" = yes; then :
4630 ac_cv_func_realloc_0_nonnull=no
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4634 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4635 # include <stdlib.h>
4643 return ! realloc (0, 0);
4648 if ac_fn_c_try_run "$LINENO"; then :
4649 ac_cv_func_realloc_0_nonnull=yes
4651 ac_cv_func_realloc_0_nonnull=no
4653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4654 conftest.$ac_objext conftest.beam conftest.$ac_ext
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4659 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4660 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4662 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4665 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4667 case " $LIBOBJS " in
4668 *" realloc.$ac_objext "* ) ;;
4669 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4674 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4679 for ac_header in sys/select.h sys/socket.h
4681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4682 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4684 cat >>confdefs.h <<_ACEOF
4685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4693 $as_echo_n "checking types of arguments for select... " >&6; }
4694 if test "${ac_cv_func_select_args+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4697 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
4698 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4699 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 $ac_includes_default
4703 #ifdef HAVE_SYS_SELECT_H
4704 # include <sys/select.h>
4706 #ifdef HAVE_SYS_SOCKET_H
4707 # include <sys/socket.h>
4713 extern int select ($ac_arg1,
4714 $ac_arg234, $ac_arg234, $ac_arg234,
4720 if ac_fn_c_try_compile "$LINENO"; then :
4721 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 # Provide a safe default value.
4728 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4732 $as_echo "$ac_cv_func_select_args" >&6; }
4733 ac_save_IFS=$IFS; IFS=','
4734 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4738 cat >>confdefs.h <<_ACEOF
4739 #define SELECT_TYPE_ARG1 $1
4743 cat >>confdefs.h <<_ACEOF
4744 #define SELECT_TYPE_ARG234 ($2)
4748 cat >>confdefs.h <<_ACEOF
4749 #define SELECT_TYPE_ARG5 ($3)
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
4755 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
4756 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
4757 $as_echo_n "(cached) " >&6
4759 rm -f conftest.sym conftest.file
4761 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
4762 if test "$cross_compiling" = yes; then :
4763 ac_cv_func_lstat_dereferences_slashed_symlink=no
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4767 $ac_includes_default
4772 /* Linux will dereference the symlink and fail, as required by POSIX.
4773 That is better in the sense that it means we will not
4774 have to compile and use the lstat wrapper. */
4775 return lstat ("conftest.sym/", &sbuf) == 0;
4780 if ac_fn_c_try_run "$LINENO"; then :
4781 ac_cv_func_lstat_dereferences_slashed_symlink=yes
4783 ac_cv_func_lstat_dereferences_slashed_symlink=no
4785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4786 conftest.$ac_objext conftest.beam conftest.$ac_ext
4790 # If the `ln -s' command failed, then we probably don't even
4791 # have an lstat function.
4792 ac_cv_func_lstat_dereferences_slashed_symlink=no
4794 rm -f conftest.sym conftest.file
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4798 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
4800 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4802 cat >>confdefs.h <<_ACEOF
4803 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4807 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
4808 case " $LIBOBJS " in
4809 *" lstat.$ac_objext "* ) ;;
4810 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
4817 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
4818 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
4819 $as_echo_n "(cached) " >&6
4821 if test "$cross_compiling" = yes; then :
4822 ac_cv_func_stat_empty_string_bug=yes
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4826 $ac_includes_default
4831 return stat ("", &sbuf) == 0;
4836 if ac_fn_c_try_run "$LINENO"; then :
4837 ac_cv_func_stat_empty_string_bug=no
4839 ac_cv_func_stat_empty_string_bug=yes
4841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4842 conftest.$ac_objext conftest.beam conftest.$ac_ext
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
4847 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
4848 if test $ac_cv_func_stat_empty_string_bug = yes; then
4849 case " $LIBOBJS " in
4850 *" stat.$ac_objext "* ) ;;
4851 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
4856 cat >>confdefs.h <<_ACEOF
4857 #define HAVE_STAT_EMPTY_STRING_BUG 1
4862 for ac_func in vprintf
4864 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4865 if test "x$ac_cv_func_vprintf" = x""yes; then :
4866 cat >>confdefs.h <<_ACEOF
4867 #define HAVE_VPRINTF 1
4870 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4871 if test "x$ac_cv_func__doprnt" = x""yes; then :
4873 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4882 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4883 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4889 #include <stdbool.h>
4891 "error: bool is not defined"
4894 "error: false is not defined"
4897 "error: false is not 0"
4900 "error: true is not defined"
4903 "error: true is not 1"
4905 #ifndef __bool_true_false_are_defined
4906 "error: __bool_true_false_are_defined is not defined"
4909 struct s { _Bool s: 1; _Bool t; } s;
4911 char a[true == 1 ? 1 : -1];
4912 char b[false == 0 ? 1 : -1];
4913 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4914 char d[(bool) 0.5 == true ? 1 : -1];
4916 char f[(_Bool) 0.0 == false ? 1 : -1];
4918 char h[sizeof (_Bool)];
4920 enum { j = false, k = true, l = false * true, m = true * 256 };
4921 /* The following fails for
4922 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4924 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4925 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4926 # if defined __xlc__ || defined __GNUC__
4927 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4928 reported by James Lemley on 2005-10-05; see
4929 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4930 This test is not quite right, since xlc is allowed to
4931 reject this program, as the initializer for xlcbug is
4932 not one of the forms that C requires support for.
4933 However, doing the test right would require a runtime
4934 test, and that would make cross-compilation harder.
4935 Let us hope that IBM fixes the xlc bug, and also adds
4936 support for this kind of constant expression. In the
4937 meantime, this test will reject xlc, which is OK, since
4938 our stdbool.h substitute should suffice. We also test
4939 this with GCC, where it should work, to detect more
4940 quickly whether someone messes up the test in the
4942 char digs[] = "0123456789";
4943 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4945 /* Catch a bug in an HP-UX C compiler. See
4946 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4947 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4958 /* Refer to every declared value, to avoid compiler optimizations. */
4959 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4960 + !m + !n + !o + !p + !q + !pq);
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 ac_cv_header_stdbool_h=yes
4969 ac_cv_header_stdbool_h=no
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4974 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4975 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4976 if test "x$ac_cv_type__Bool" = x""yes; then :
4978 cat >>confdefs.h <<_ACEOF
4979 #define HAVE__BOOL 1
4985 if test $ac_cv_header_stdbool_h = yes; then
4987 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4992 $as_echo_n "checking for ANSI C header files... " >&6; }
4993 if test "${ac_cv_header_stdc+set}" = set; then :
4994 $as_echo_n "(cached) " >&6
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5011 if ac_fn_c_try_compile "$LINENO"; then :
5012 ac_cv_header_stdc=yes
5014 ac_cv_header_stdc=no
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 if test $ac_cv_header_stdc = yes; then
5019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5026 $EGREP "memchr" >/dev/null 2>&1; then :
5029 ac_cv_header_stdc=no
5035 if test $ac_cv_header_stdc = yes; then
5036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5043 $EGREP "free" >/dev/null 2>&1; then :
5046 ac_cv_header_stdc=no
5052 if test $ac_cv_header_stdc = yes; then
5053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5054 if test "$cross_compiling" = yes; then :
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5061 #if ((' ' & 0x0FF) == 0x020)
5062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5065 # define ISLOWER(c) \
5066 (('a' <= (c) && (c) <= 'i') \
5067 || ('j' <= (c) && (c) <= 'r') \
5068 || ('s' <= (c) && (c) <= 'z'))
5069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5077 for (i = 0; i < 256; i++)
5078 if (XOR (islower (i), ISLOWER (i))
5079 || toupper (i) != TOUPPER (i))
5084 if ac_fn_c_try_run "$LINENO"; then :
5087 ac_cv_header_stdc=no
5089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5090 conftest.$ac_objext conftest.beam conftest.$ac_ext
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5096 $as_echo "$ac_cv_header_stdc" >&6; }
5097 if test $ac_cv_header_stdc = yes; then
5099 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5104 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5105 if test "${ac_cv_header_time+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 #include <sys/types.h>
5111 #include <sys/time.h>
5117 if ((struct tm *) 0)
5123 if ac_fn_c_try_compile "$LINENO"; then :
5124 ac_cv_header_time=yes
5126 ac_cv_header_time=no
5128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5131 $as_echo "$ac_cv_header_time" >&6; }
5132 if test $ac_cv_header_time = yes; then
5134 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5138 if test $ac_cv_c_compiler_gnu = yes; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5140 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5141 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
5142 $as_echo_n "(cached) " >&6
5144 ac_pattern="Autoconf.*'x'"
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5151 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5152 ac_cv_prog_gcc_traditional=yes
5154 ac_cv_prog_gcc_traditional=no
5159 if test $ac_cv_prog_gcc_traditional = no; then
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5166 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5167 ac_cv_prog_gcc_traditional=yes
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5174 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5175 if test $ac_cv_prog_gcc_traditional = yes; then
5176 CC="$CC -traditional"
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5183 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5188 macro_version='2.2.6b'
5189 macro_revision='1.3017'
5203 ltmain="$ac_aux_dir/ltmain.sh"
5205 # Make sure we can run config.sub.
5206 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5207 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5210 $as_echo_n "checking build system type... " >&6; }
5211 if test "${ac_cv_build+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5214 ac_build_alias=$build_alias
5215 test "x$ac_build_alias" = x &&
5216 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5217 test "x$ac_build_alias" = x &&
5218 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5219 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5224 $as_echo "$ac_cv_build" >&6; }
5225 case $ac_cv_build in
5227 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5230 ac_save_IFS=$IFS; IFS='-'
5236 # Remember, the first character of IFS is used to create $*,
5237 # except with old shells:
5240 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5244 $as_echo_n "checking host system type... " >&6; }
5245 if test "${ac_cv_host+set}" = set; then :
5246 $as_echo_n "(cached) " >&6
5248 if test "x$host_alias" = x; then
5249 ac_cv_host=$ac_cv_build
5251 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5252 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5257 $as_echo "$ac_cv_host" >&6; }
5260 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5263 ac_save_IFS=$IFS; IFS='-'
5269 # Remember, the first character of IFS is used to create $*,
5270 # except with old shells:
5273 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5277 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5278 if test "${ac_cv_path_SED+set}" = set; then :
5279 $as_echo_n "(cached) " >&6
5281 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5282 for ac_i in 1 2 3 4 5 6 7; do
5283 ac_script="$ac_script$as_nl$ac_script"
5285 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5286 { ac_script=; unset ac_script;}
5287 if test -z "$SED"; then
5288 ac_path_SED_found=false
5289 # Loop through the user's path and test for each of PROGNAME-LIST
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 for ac_prog in sed gsed; do
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5298 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5299 # Check for GNU ac_path_SED and select it if it is found.
5300 # Check for GNU $ac_path_SED
5301 case `"$ac_path_SED" --version 2>&1` in
5303 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5306 $as_echo_n 0123456789 >"conftest.in"
5309 cat "conftest.in" "conftest.in" >"conftest.tmp"
5310 mv "conftest.tmp" "conftest.in"
5311 cp "conftest.in" "conftest.nl"
5312 $as_echo '' >> "conftest.nl"
5313 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5314 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5315 as_fn_arith $ac_count + 1 && ac_count=$as_val
5316 if test $ac_count -gt ${ac_path_SED_max-0}; then
5317 # Best one so far, save it but keep looking for a better one
5318 ac_cv_path_SED="$ac_path_SED"
5319 ac_path_SED_max=$ac_count
5321 # 10*(2^10) chars as input seems more than enough
5322 test $ac_count -gt 10 && break
5324 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5327 $ac_path_SED_found && break 3
5332 if test -z "$ac_cv_path_SED"; then
5333 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5341 $as_echo "$ac_cv_path_SED" >&6; }
5342 SED="$ac_cv_path_SED"
5345 test -z "$SED" && SED=sed
5346 Xsed="$SED -e 1s/^X//"
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5359 $as_echo_n "checking for fgrep... " >&6; }
5360 if test "${ac_cv_path_FGREP+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5364 then ac_cv_path_FGREP="$GREP -F"
5366 if test -z "$FGREP"; then
5367 ac_path_FGREP_found=false
5368 # Loop through the user's path and test for each of PROGNAME-LIST
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5373 test -z "$as_dir" && as_dir=.
5374 for ac_prog in fgrep; do
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5377 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5378 # Check for GNU ac_path_FGREP and select it if it is found.
5379 # Check for GNU $ac_path_FGREP
5380 case `"$ac_path_FGREP" --version 2>&1` in
5382 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5385 $as_echo_n 0123456789 >"conftest.in"
5388 cat "conftest.in" "conftest.in" >"conftest.tmp"
5389 mv "conftest.tmp" "conftest.in"
5390 cp "conftest.in" "conftest.nl"
5391 $as_echo 'FGREP' >> "conftest.nl"
5392 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5394 as_fn_arith $ac_count + 1 && ac_count=$as_val
5395 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5396 # Best one so far, save it but keep looking for a better one
5397 ac_cv_path_FGREP="$ac_path_FGREP"
5398 ac_path_FGREP_max=$ac_count
5400 # 10*(2^10) chars as input seems more than enough
5401 test $ac_count -gt 10 && break
5403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5406 $ac_path_FGREP_found && break 3
5411 if test -z "$ac_cv_path_FGREP"; then
5412 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5415 ac_cv_path_FGREP=$FGREP
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5421 $as_echo "$ac_cv_path_FGREP" >&6; }
5422 FGREP="$ac_cv_path_FGREP"
5425 test -z "$GREP" && GREP=grep
5445 # Check whether --with-gnu-ld was given.
5446 if test "${with_gnu_ld+set}" = set; then :
5447 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5453 if test "$GCC" = yes; then
5454 # Check if gcc -print-prog-name=ld gives a path.
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5456 $as_echo_n "checking for ld used by $CC... " >&6; }
5459 # gcc leaves a trailing carriage return which upsets mingw
5460 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5462 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5465 # Accept absolute paths.
5467 re_direlt='/[^/][^/]*/\.\./'
5468 # Canonicalize the pathname of ld
5469 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5470 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5471 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5473 test -z "$LD" && LD="$ac_prog"
5476 # If it fails, then pretend we aren't using GCC.
5480 # If it is relative, then search for the first ld in PATH.
5484 elif test "$with_gnu_ld" = yes; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5486 $as_echo_n "checking for GNU ld... " >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5489 $as_echo_n "checking for non-GNU ld... " >&6; }
5491 if test "${lt_cv_path_LD+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -z "$LD"; then
5495 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5496 for ac_dir in $PATH; do
5498 test -z "$ac_dir" && ac_dir=.
5499 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5500 lt_cv_path_LD="$ac_dir/$ac_prog"
5501 # Check to see if the program is GNU ld. I'd rather use --version,
5502 # but apparently some variants of GNU ld only accept -v.
5503 # Break only if it was the GNU/non-GNU ld that we prefer.
5504 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5505 *GNU* | *'with BFD'*)
5506 test "$with_gnu_ld" != no && break
5509 test "$with_gnu_ld" != yes && break
5516 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5521 if test -n "$LD"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5523 $as_echo "$LD" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5528 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5530 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5531 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5532 $as_echo_n "(cached) " >&6
5534 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5535 case `$LD -v 2>&1 </dev/null` in
5536 *GNU* | *'with BFD'*)
5537 lt_cv_prog_gnu_ld=yes
5540 lt_cv_prog_gnu_ld=no
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5545 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5546 with_gnu_ld=$lt_cv_prog_gnu_ld
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5557 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5558 if test "${lt_cv_path_NM+set}" = set; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$NM"; then
5562 # Let the user override the test.
5565 lt_nm_to_check="${ac_tool_prefix}nm"
5566 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5567 lt_nm_to_check="$lt_nm_to_check nm"
5569 for lt_tmp_nm in $lt_nm_to_check; do
5570 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5571 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5573 test -z "$ac_dir" && ac_dir=.
5574 tmp_nm="$ac_dir/$lt_tmp_nm"
5575 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5576 # Check to see if the nm accepts a BSD-compat flag.
5577 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5578 # nm: unknown option "B" ignored
5579 # Tru64's nm complains that /dev/null is an invalid object file
5580 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5581 */dev/null* | *'Invalid file or object type'*)
5582 lt_cv_path_NM="$tmp_nm -B"
5586 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5588 lt_cv_path_NM="$tmp_nm -p"
5592 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5593 continue # so that we can try to find one that supports BSD flags
5602 : ${lt_cv_path_NM=no}
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5606 $as_echo "$lt_cv_path_NM" >&6; }
5607 if test "$lt_cv_path_NM" != "no"; then
5610 # Didn't find any BSD compatible name lister, look for dumpbin.
5611 if test -n "$ac_tool_prefix"; then
5612 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$DUMPBIN"; then
5622 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5631 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 DUMPBIN=$ac_cv_prog_DUMPBIN
5642 if test -n "$DUMPBIN"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5644 $as_echo "$DUMPBIN" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$DUMPBIN" && break
5654 if test -z "$DUMPBIN"; then
5655 ac_ct_DUMPBIN=$DUMPBIN
5656 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy $ac_prog; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_DUMPBIN"; then
5666 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5686 if test -n "$ac_ct_DUMPBIN"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5688 $as_echo "$ac_ct_DUMPBIN" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5695 test -n "$ac_ct_DUMPBIN" && break
5698 if test "x$ac_ct_DUMPBIN" = x; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5707 DUMPBIN=$ac_ct_DUMPBIN
5712 if test "$DUMPBIN" != ":"; then
5716 test -z "$NM" && NM=nm
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5724 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5725 if test "${lt_cv_nm_interface+set}" = set; then :
5726 $as_echo_n "(cached) " >&6
5728 lt_cv_nm_interface="BSD nm"
5729 echo "int some_variable = 0;" > conftest.$ac_ext
5730 (eval echo "\"\$as_me:5730: $ac_compile\"" >&5)
5731 (eval "$ac_compile" 2>conftest.err)
5732 cat conftest.err >&5
5733 (eval echo "\"\$as_me:5733: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5734 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5735 cat conftest.err >&5
5736 (eval echo "\"\$as_me:5736: output\"" >&5)
5737 cat conftest.out >&5
5738 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5739 lt_cv_nm_interface="MS dumpbin"
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5744 $as_echo "$lt_cv_nm_interface" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5747 $as_echo_n "checking whether ln -s works... " >&6; }
5749 if test "$LN_S" = "ln -s"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5751 $as_echo "yes" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5754 $as_echo "no, using $LN_S" >&6; }
5757 # find the maximum length of command line arguments
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5759 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5760 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5768 # On DJGPP, this test can blow up pretty badly due to problems in libc
5769 # (any single argument exceeding 2000 bytes causes a buffer overrun
5770 # during glob expansion). Even if it were fixed, the result of this
5771 # check would be larger than it should be.
5772 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5776 # Under GNU Hurd, this test is not required because there is
5777 # no limit to the length of command line arguments.
5778 # Libtool will interpret -1 as no limit whatsoever
5779 lt_cv_sys_max_cmd_len=-1;
5782 cygwin* | mingw* | cegcc*)
5783 # On Win9x/ME, this test blows up -- it succeeds, but takes
5784 # about 5 minutes as the teststring grows exponentially.
5785 # Worse, since 9x/ME are not pre-emptively multitasking,
5786 # you end up with a "frozen" computer, even though with patience
5787 # the test eventually succeeds (with a max line length of 256k).
5788 # Instead, let's just punt: use the minimum linelength reported by
5789 # all of the supported platforms: 8192 (on NT/2K/XP).
5790 lt_cv_sys_max_cmd_len=8192;
5794 # On AmigaOS with pdksh, this test takes hours, literally.
5795 # So we just punt and use a minimum line length of 8192.
5796 lt_cv_sys_max_cmd_len=8192;
5799 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5800 # This has been around since 386BSD, at least. Likely further.
5801 if test -x /sbin/sysctl; then
5802 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5803 elif test -x /usr/sbin/sysctl; then
5804 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5806 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5808 # And add a safety zone
5809 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5810 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5814 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5815 lt_cv_sys_max_cmd_len=196608
5819 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5820 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5821 # nice to cause kernel panics so lets avoid the loop below.
5822 # First set a reasonable default.
5823 lt_cv_sys_max_cmd_len=16384
5825 if test -x /sbin/sysconfig; then
5826 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5827 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5832 lt_cv_sys_max_cmd_len=102400
5834 sysv5* | sco5v6* | sysv4.2uw2*)
5835 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5836 if test -n "$kargmax"; then
5837 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5839 lt_cv_sys_max_cmd_len=32768
5843 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5844 if test -n "$lt_cv_sys_max_cmd_len"; then
5845 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5846 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5848 # Make teststring a little bigger before we do anything with it.
5849 # a 1K string should be a reasonable start.
5850 for i in 1 2 3 4 5 6 7 8 ; do
5851 teststring=$teststring$teststring
5853 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5854 # If test is not a shell built-in, we'll probably end up computing a
5855 # maximum length that is only half of the actual maximum length, but
5857 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5858 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5859 test $i != 17 # 1/2 MB should be enough
5862 teststring=$teststring$teststring
5864 # Only check the string length outside the loop.
5865 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5867 # Add a significant safety factor because C++ compilers can tack on
5868 # massive amounts of additional arguments before passing them to the
5869 # linker. It appears as though 1/2 is a usable value.
5870 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5877 if test -n $lt_cv_sys_max_cmd_len ; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5879 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5882 $as_echo "none" >&6; }
5884 max_cmd_len=$lt_cv_sys_max_cmd_len
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5896 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5897 # Try some XSI features
5900 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5902 && eval 'test $(( 1 + 1 )) -eq 2 \
5903 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5906 $as_echo "$xsi_shell" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5910 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5912 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5914 && lt_shell_append=yes
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5916 $as_echo "$lt_shell_append" >&6; }
5919 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5929 # test EBCDIC or ASCII
5930 case `echo X|tr X '\101'` in
5931 A) # ASCII based system
5932 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5933 lt_SP2NL='tr \040 \012'
5934 lt_NL2SP='tr \015\012 \040\040'
5936 *) # EBCDIC based system
5937 lt_SP2NL='tr \100 \n'
5938 lt_NL2SP='tr \r\n \100\100'
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5951 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5952 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5953 $as_echo_n "(cached) " >&6
5955 lt_cv_ld_reload_flag='-r'
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5958 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5959 reload_flag=$lt_cv_ld_reload_flag
5960 case $reload_flag in
5962 *) reload_flag=" $reload_flag" ;;
5964 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5967 if test "$GCC" = yes; then
5968 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5970 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5983 if test -n "$ac_tool_prefix"; then
5984 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5985 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5989 $as_echo_n "(cached) " >&6
5991 if test -n "$OBJDUMP"; then
5992 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 OBJDUMP=$ac_cv_prog_OBJDUMP
6012 if test -n "$OBJDUMP"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6014 $as_echo "$OBJDUMP" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6022 if test -z "$ac_cv_prog_OBJDUMP"; then
6023 ac_ct_OBJDUMP=$OBJDUMP
6024 # Extract the first word of "objdump", so it can be a program name with args.
6025 set dummy objdump; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 $as_echo_n "checking for $ac_word... " >&6; }
6028 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6029 $as_echo_n "(cached) " >&6
6031 if test -n "$ac_ct_OBJDUMP"; then
6032 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6041 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6052 if test -n "$ac_ct_OBJDUMP"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6054 $as_echo "$ac_ct_OBJDUMP" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6060 if test "x$ac_ct_OBJDUMP" = x; then
6063 case $cross_compiling:$ac_tool_warned in
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6067 ac_tool_warned=yes ;;
6069 OBJDUMP=$ac_ct_OBJDUMP
6072 OBJDUMP="$ac_cv_prog_OBJDUMP"
6075 test -z "$OBJDUMP" && OBJDUMP=objdump
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6086 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6087 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6088 $as_echo_n "(cached) " >&6
6090 lt_cv_file_magic_cmd='$MAGIC_CMD'
6091 lt_cv_file_magic_test_file=
6092 lt_cv_deplibs_check_method='unknown'
6093 # Need to set the preceding variable on all platforms that support
6094 # interlibrary dependencies.
6095 # 'none' -- dependencies not supported.
6096 # `unknown' -- same as none, but documents that we really don't know.
6097 # 'pass_all' -- all dependencies passed with no checks.
6098 # 'test_compile' -- check by making test program.
6099 # 'file_magic [[regex]]' -- check by looking for files in library path
6100 # which responds to the $file_magic_cmd with a given extended regex.
6101 # If you have `file' or equivalent on your system and you're not sure
6102 # whether `pass_all' will *always* work, you probably want this one.
6106 lt_cv_deplibs_check_method=pass_all
6110 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6115 lt_cv_file_magic_cmd='/usr/bin/file -L'
6116 lt_cv_file_magic_test_file=/shlib/libc.so
6120 # func_win32_libid is a shell function defined in ltmain.sh
6121 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6122 lt_cv_file_magic_cmd='func_win32_libid'
6126 # Base MSYS/MinGW do not provide the 'file' command needed by
6127 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6128 # unless we find 'file', for example because we are cross-compiling.
6129 if ( file / ) >/dev/null 2>&1; then
6130 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6131 lt_cv_file_magic_cmd='func_win32_libid'
6133 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6134 lt_cv_file_magic_cmd='$OBJDUMP -f'
6139 # use the weaker test based on 'objdump'. See mingw*.
6140 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6141 lt_cv_file_magic_cmd='$OBJDUMP -f'
6144 darwin* | rhapsody*)
6145 lt_cv_deplibs_check_method=pass_all
6148 freebsd* | dragonfly*)
6149 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6152 # Not sure whether the presence of OpenBSD here was a mistake.
6153 # Let's accept both of them until this is cleared up.
6154 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6155 lt_cv_file_magic_cmd=/usr/bin/file
6156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6160 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6168 hpux10.20* | hpux11*)
6169 lt_cv_file_magic_cmd=/usr/bin/file
6172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6173 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6176 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]'
6177 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6181 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6187 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6191 irix5* | irix6* | nonstopux*)
6193 *-32|*"-32 ") libmagic=32-bit;;
6194 *-n32|*"-n32 ") libmagic=N32;;
6195 *-64|*"-64 ") libmagic=64-bit;;
6196 *) libmagic=never-match;;
6198 lt_cv_deplibs_check_method=pass_all
6201 # This must be Linux ELF.
6202 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6203 lt_cv_deplibs_check_method=pass_all
6206 netbsd* | netbsdelf*-gnu)
6207 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6216 lt_cv_file_magic_cmd=/usr/bin/file
6217 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6221 lt_cv_deplibs_check_method=pass_all
6225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6232 osf3* | osf4* | osf5*)
6233 lt_cv_deplibs_check_method=pass_all
6237 lt_cv_deplibs_check_method=pass_all
6241 lt_cv_deplibs_check_method=pass_all
6244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6245 lt_cv_deplibs_check_method=pass_all
6249 case $host_vendor in
6251 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]'
6252 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6255 lt_cv_deplibs_check_method=pass_all
6258 lt_cv_file_magic_cmd='/bin/file'
6259 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6262 lt_cv_file_magic_cmd='/bin/file'
6263 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6264 lt_cv_file_magic_test_file=/lib/libc.so
6267 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_deplibs_check_method=pass_all
6276 lt_cv_deplibs_check_method=pass_all
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6282 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6283 file_magic_cmd=$lt_cv_file_magic_cmd
6284 deplibs_check_method=$lt_cv_deplibs_check_method
6285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6298 if test -n "$ac_tool_prefix"; then
6299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}ar; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if test "${ac_cv_prog_AR+set}" = set; then :
6304 $as_echo_n "(cached) " >&6
6306 if test -n "$AR"; then
6307 ac_cv_prog_AR="$AR" # Let the user override the test.
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316 ac_cv_prog_AR="${ac_tool_prefix}ar"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 if test -n "$AR"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6329 $as_echo "$AR" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6337 if test -z "$ac_cv_prog_AR"; then
6339 # Extract the first word of "ar", so it can be a program name with args.
6340 set dummy ar; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$ac_ct_AR"; then
6347 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_ac_ct_AR="ar"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6367 if test -n "$ac_ct_AR"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6369 $as_echo "$ac_ct_AR" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6375 if test "x$ac_ct_AR" = x; then
6378 case $cross_compiling:$ac_tool_warned in
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6382 ac_tool_warned=yes ;;
6390 test -z "$AR" && AR=ar
6391 test -z "$AR_FLAGS" && AR_FLAGS=cru
6403 if test -n "$ac_tool_prefix"; then
6404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6405 set dummy ${ac_tool_prefix}strip; ac_word=$2
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if test "${ac_cv_prog_STRIP+set}" = set; then :
6409 $as_echo_n "(cached) " >&6
6411 if test -n "$STRIP"; then
6412 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir=.
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 STRIP=$ac_cv_prog_STRIP
6432 if test -n "$STRIP"; then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6434 $as_echo "$STRIP" >&6; }
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6442 if test -z "$ac_cv_prog_STRIP"; then
6444 # Extract the first word of "strip", so it can be a program name with args.
6445 set dummy strip; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6449 $as_echo_n "(cached) " >&6
6451 if test -n "$ac_ct_STRIP"; then
6452 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6461 ac_cv_prog_ac_ct_STRIP="strip"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6472 if test -n "$ac_ct_STRIP"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6474 $as_echo "$ac_ct_STRIP" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6480 if test "x$ac_ct_STRIP" = x; then
6483 case $cross_compiling:$ac_tool_warned in
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6487 ac_tool_warned=yes ;;
6492 STRIP="$ac_cv_prog_STRIP"
6495 test -z "$STRIP" && STRIP=:
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6510 if test -n "$RANLIB"; then
6511 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 RANLIB=$ac_cv_prog_RANLIB
6531 if test -n "$RANLIB"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6533 $as_echo "$RANLIB" >&6; }
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 if test -z "$ac_cv_prog_RANLIB"; then
6542 ac_ct_RANLIB=$RANLIB
6543 # Extract the first word of "ranlib", so it can be a program name with args.
6544 set dummy ranlib; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$ac_ct_RANLIB"; then
6551 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_ac_ct_RANLIB="ranlib"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6571 if test -n "$ac_ct_RANLIB"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6573 $as_echo "$ac_ct_RANLIB" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6579 if test "x$ac_ct_RANLIB" = x; then
6582 case $cross_compiling:$ac_tool_warned in
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6588 RANLIB=$ac_ct_RANLIB
6591 RANLIB="$ac_cv_prog_RANLIB"
6594 test -z "$RANLIB" && RANLIB=:
6601 # Determine commands to create old-style static archives.
6602 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6603 old_postinstall_cmds='chmod 644 $oldlib'
6604 old_postuninstall_cmds=
6606 if test -n "$RANLIB"; then
6609 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6612 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6615 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6651 # If no C compiler was specified, use CC.
6654 # If no C compiler flags were specified, use CFLAGS.
6655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6657 # Allow CC to be a program name with arguments.
6661 # Check for command to grab the raw symbol name followed by C symbol from nm.
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6663 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6664 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6665 $as_echo_n "(cached) " >&6
6668 # These are sane defaults that work on at least a few old systems.
6669 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6671 # Character class describing NM global symbol codes.
6672 symcode='[BCDEGRST]'
6674 # Regexp to match symbols that can be accessed directly from C.
6675 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6677 # Define system-specific variables.
6682 cygwin* | mingw* | pw32* | cegcc*)
6683 symcode='[ABCDGISTW]'
6686 if test "$host_cpu" = ia64; then
6687 symcode='[ABCDEGRST]'
6691 symcode='[BCDEGRST]'
6694 symcode='[BCDEGQRST]'
6705 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6713 # If we're using GNU nm, then use its standard symbol codes.
6714 case `$NM -V 2>&1` in
6715 *GNU* | *'with BFD'*)
6716 symcode='[ABCDGIRSTW]' ;;
6719 # Transform an extracted symbol line into a proper C declaration.
6720 # Some systems (esp. on ia64) link data and code symbols differently,
6721 # so use this general approach.
6722 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6724 # Transform an extracted symbol line into symbol name and symbol address
6725 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6726 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'"
6728 # Handle CRLF in mingw tool chain
6732 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6736 # Try without a prefix underscore, then with it.
6737 for ac_symprfx in "" "_"; do
6739 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6740 symxfrm="\\1 $ac_symprfx\\2 \\2"
6742 # Write the raw and C identifiers.
6743 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6744 # Fake it for dumpbin and say T for any non-static function
6745 # and D for any global variable.
6746 # Also find C++ and __fastcall symbols from MSVC++,
6747 # which start with @ or ?.
6748 lt_cv_sys_global_symbol_pipe="$AWK '"\
6749 " {last_section=section; section=\$ 3};"\
6750 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6751 " \$ 0!~/External *\|/{next};"\
6752 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6753 " {if(hide[section]) next};"\
6754 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6755 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6756 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6757 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6758 " ' prfx=^$ac_symprfx"
6760 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6763 # Check to see that the pipe works correctly.
6767 cat > conftest.$ac_ext <<_LT_EOF
6772 void nm_test_func(void);
6773 void nm_test_func(void){}
6777 int main(){nm_test_var='a';nm_test_func();return(0);}
6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6781 (eval $ac_compile) 2>&5
6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6784 test $ac_status = 0; }; then
6785 # Now try to grab the symbols.
6787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6788 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6791 test $ac_status = 0; } && test -s "$nlist"; then
6792 # Try sorting and uniquifying the output.
6793 if sort "$nlist" | uniq > "$nlist"T; then
6794 mv -f "$nlist"T "$nlist"
6799 # Make sure that we snagged all the symbols we need.
6800 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6801 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6802 cat <<_LT_EOF > conftest.$ac_ext
6808 # Now generate the symbol file.
6809 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6811 cat <<_LT_EOF >> conftest.$ac_ext
6813 /* The mapping between symbol names and symbols. */
6818 lt__PROGRAM__LTX_preloaded_symbols[] =
6820 { "@PROGRAM@", (void *) 0 },
6822 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6823 cat <<\_LT_EOF >> conftest.$ac_ext
6827 /* This works around a problem in FreeBSD linker */
6828 #ifdef FREEBSD_WORKAROUND
6829 static const void *lt_preloaded_setup() {
6830 return lt__PROGRAM__LTX_preloaded_symbols;
6838 # Now try linking the two files.
6839 mv conftest.$ac_objext conftstm.$ac_objext
6840 lt_save_LIBS="$LIBS"
6841 lt_save_CFLAGS="$CFLAGS"
6842 LIBS="conftstm.$ac_objext"
6843 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6845 (eval $ac_link) 2>&5
6847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6848 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6851 LIBS="$lt_save_LIBS"
6852 CFLAGS="$lt_save_CFLAGS"
6854 echo "cannot find nm_test_func in $nlist" >&5
6857 echo "cannot find nm_test_var in $nlist" >&5
6860 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6863 echo "$progname: failed program was:" >&5
6864 cat conftest.$ac_ext >&5
6866 rm -rf conftest* conftst*
6868 # Do not use the global_symbol_pipe unless it works.
6869 if test "$pipe_works" = yes; then
6872 lt_cv_sys_global_symbol_pipe=
6878 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6879 lt_cv_sys_global_symbol_to_cdecl=
6881 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6883 $as_echo "failed" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6886 $as_echo "ok" >&6; }
6910 # Check whether --enable-libtool-lock was given.
6911 if test "${enable_libtool_lock+set}" = set; then :
6912 enableval=$enable_libtool_lock;
6915 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6917 # Some flags need to be propagated to the compiler or linker for good
6921 # Find out which ABI we are using.
6922 echo 'int i;' > conftest.$ac_ext
6923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6924 (eval $ac_compile) 2>&5
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927 test $ac_status = 0; }; then
6928 case `/usr/bin/file conftest.$ac_objext` in
6940 # Find out which ABI we are using.
6941 echo '#line 6941 "configure"' > conftest.$ac_ext
6942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6943 (eval $ac_compile) 2>&5
6945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6946 test $ac_status = 0; }; then
6947 if test "$lt_cv_prog_gnu_ld" = yes; then
6948 case `/usr/bin/file conftest.$ac_objext` in
6950 LD="${LD-ld} -melf32bsmip"
6953 LD="${LD-ld} -melf32bmipn32"
6956 LD="${LD-ld} -melf64bmip"
6960 case `/usr/bin/file conftest.$ac_objext` in
6976 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6977 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6978 # Find out which ABI we are using.
6979 echo 'int i;' > conftest.$ac_ext
6980 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6981 (eval $ac_compile) 2>&5
6983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6984 test $ac_status = 0; }; then
6985 case `/usr/bin/file conftest.o` in
6988 x86_64-*kfreebsd*-gnu)
6989 LD="${LD-ld} -m elf_i386_fbsd"
6992 LD="${LD-ld} -m elf_i386"
6994 ppc64-*linux*|powerpc64-*linux*)
6995 LD="${LD-ld} -m elf32ppclinux"
6998 LD="${LD-ld} -m elf_s390"
7001 LD="${LD-ld} -m elf32_sparc"
7007 x86_64-*kfreebsd*-gnu)
7008 LD="${LD-ld} -m elf_x86_64_fbsd"
7011 LD="${LD-ld} -m elf_x86_64"
7013 ppc*-*linux*|powerpc*-*linux*)
7014 LD="${LD-ld} -m elf64ppc"
7016 s390*-*linux*|s390*-*tpf*)
7017 LD="${LD-ld} -m elf64_s390"
7020 LD="${LD-ld} -m elf64_sparc"
7030 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7031 SAVE_CFLAGS="$CFLAGS"
7032 CFLAGS="$CFLAGS -belf"
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7034 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7035 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7036 $as_echo_n "(cached) " >&6
7039 ac_cpp='$CPP $CPPFLAGS'
7040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7055 if ac_fn_c_try_link "$LINENO"; then :
7056 lt_cv_cc_needs_belf=yes
7058 lt_cv_cc_needs_belf=no
7060 rm -f core conftest.err conftest.$ac_objext \
7061 conftest$ac_exeext conftest.$ac_ext
7063 ac_cpp='$CPP $CPPFLAGS'
7064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7070 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7071 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7072 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7073 CFLAGS="$SAVE_CFLAGS"
7077 # Find out which ABI we are using.
7078 echo 'int i;' > conftest.$ac_ext
7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7080 (eval $ac_compile) 2>&5
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }; then
7084 case `/usr/bin/file conftest.o` in
7086 case $lt_cv_prog_gnu_ld in
7087 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7089 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7101 need_locks="$enable_libtool_lock"
7105 rhapsody* | darwin*)
7106 if test -n "$ac_tool_prefix"; then
7107 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7108 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7112 $as_echo_n "(cached) " >&6
7114 if test -n "$DSYMUTIL"; then
7115 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir=.
7122 for ac_exec_ext in '' $ac_executable_extensions; do
7123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7135 if test -n "$DSYMUTIL"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7137 $as_echo "$DSYMUTIL" >&6; }
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7145 if test -z "$ac_cv_prog_DSYMUTIL"; then
7146 ac_ct_DSYMUTIL=$DSYMUTIL
7147 # Extract the first word of "dsymutil", so it can be a program name with args.
7148 set dummy dsymutil; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$ac_ct_DSYMUTIL"; then
7155 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7164 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7175 if test -n "$ac_ct_DSYMUTIL"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7177 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7183 if test "x$ac_ct_DSYMUTIL" = x; then
7186 case $cross_compiling:$ac_tool_warned in
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7190 ac_tool_warned=yes ;;
7192 DSYMUTIL=$ac_ct_DSYMUTIL
7195 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7198 if test -n "$ac_tool_prefix"; then
7199 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7200 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7202 $as_echo_n "checking for $ac_word... " >&6; }
7203 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7204 $as_echo_n "(cached) " >&6
7206 if test -n "$NMEDIT"; then
7207 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 test -z "$as_dir" && as_dir=.
7214 for ac_exec_ext in '' $ac_executable_extensions; do
7215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7216 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226 NMEDIT=$ac_cv_prog_NMEDIT
7227 if test -n "$NMEDIT"; then
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7229 $as_echo "$NMEDIT" >&6; }
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7232 $as_echo "no" >&6; }
7237 if test -z "$ac_cv_prog_NMEDIT"; then
7238 ac_ct_NMEDIT=$NMEDIT
7239 # Extract the first word of "nmedit", so it can be a program name with args.
7240 set dummy nmedit; ac_word=$2
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 $as_echo_n "checking for $ac_word... " >&6; }
7243 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7244 $as_echo_n "(cached) " >&6
7246 if test -n "$ac_ct_NMEDIT"; then
7247 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 test -z "$as_dir" && as_dir=.
7254 for ac_exec_ext in '' $ac_executable_extensions; do
7255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7256 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7267 if test -n "$ac_ct_NMEDIT"; then
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7269 $as_echo "$ac_ct_NMEDIT" >&6; }
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 $as_echo "no" >&6; }
7275 if test "x$ac_ct_NMEDIT" = x; then
7278 case $cross_compiling:$ac_tool_warned in
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7282 ac_tool_warned=yes ;;
7284 NMEDIT=$ac_ct_NMEDIT
7287 NMEDIT="$ac_cv_prog_NMEDIT"
7290 if test -n "$ac_tool_prefix"; then
7291 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7292 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 $as_echo_n "checking for $ac_word... " >&6; }
7295 if test "${ac_cv_prog_LIPO+set}" = set; then :
7296 $as_echo_n "(cached) " >&6
7298 if test -n "$LIPO"; then
7299 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 test -z "$as_dir" && as_dir=.
7306 for ac_exec_ext in '' $ac_executable_extensions; do
7307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7308 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7318 LIPO=$ac_cv_prog_LIPO
7319 if test -n "$LIPO"; then
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7321 $as_echo "$LIPO" >&6; }
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 $as_echo "no" >&6; }
7329 if test -z "$ac_cv_prog_LIPO"; then
7331 # Extract the first word of "lipo", so it can be a program name with args.
7332 set dummy lipo; ac_word=$2
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334 $as_echo_n "checking for $ac_word... " >&6; }
7335 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7336 $as_echo_n "(cached) " >&6
7338 if test -n "$ac_ct_LIPO"; then
7339 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 test -z "$as_dir" && as_dir=.
7346 for ac_exec_ext in '' $ac_executable_extensions; do
7347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7348 ac_cv_prog_ac_ct_LIPO="lipo"
7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7359 if test -n "$ac_ct_LIPO"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7361 $as_echo "$ac_ct_LIPO" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7367 if test "x$ac_ct_LIPO" = x; then
7370 case $cross_compiling:$ac_tool_warned in
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7374 ac_tool_warned=yes ;;
7379 LIPO="$ac_cv_prog_LIPO"
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}otool; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 if test -n "$OTOOL"; then
7391 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 OTOOL=$ac_cv_prog_OTOOL
7411 if test -n "$OTOOL"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7413 $as_echo "$OTOOL" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_OTOOL"; then
7423 # Extract the first word of "otool", so it can be a program name with args.
7424 set dummy otool; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$ac_ct_OTOOL"; then
7431 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_ac_ct_OTOOL="otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7451 if test -n "$ac_ct_OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7453 $as_echo "$ac_ct_OTOOL" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_OTOOL" = x; then
7462 case $cross_compiling:$ac_tool_warned in
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7471 OTOOL="$ac_cv_prog_OTOOL"
7474 if test -n "$ac_tool_prefix"; then
7475 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7476 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7480 $as_echo_n "(cached) " >&6
7482 if test -n "$OTOOL64"; then
7483 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 test -z "$as_dir" && as_dir=.
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7492 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 OTOOL64=$ac_cv_prog_OTOOL64
7503 if test -n "$OTOOL64"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7505 $as_echo "$OTOOL64" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7513 if test -z "$ac_cv_prog_OTOOL64"; then
7514 ac_ct_OTOOL64=$OTOOL64
7515 # Extract the first word of "otool64", so it can be a program name with args.
7516 set dummy otool64; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7520 $as_echo_n "(cached) " >&6
7522 if test -n "$ac_ct_OTOOL64"; then
7523 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7532 ac_cv_prog_ac_ct_OTOOL64="otool64"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7543 if test -n "$ac_ct_OTOOL64"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7545 $as_echo "$ac_ct_OTOOL64" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7551 if test "x$ac_ct_OTOOL64" = x; then
7554 case $cross_compiling:$ac_tool_warned in
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7558 ac_tool_warned=yes ;;
7560 OTOOL64=$ac_ct_OTOOL64
7563 OTOOL64="$ac_cv_prog_OTOOL64"
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7593 $as_echo_n "checking for -single_module linker flag... " >&6; }
7594 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7595 $as_echo_n "(cached) " >&6
7597 lt_cv_apple_cc_single_mod=no
7598 if test -z "${LT_MULTI_MODULE}"; then
7599 # By default we will add the -single_module flag. You can override
7600 # by either setting the environment variable LT_MULTI_MODULE
7601 # non-empty at configure time, or by adding -multi_module to the
7603 rm -rf libconftest.dylib*
7604 echo "int foo(void){return 1;}" > conftest.c
7605 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7606 -dynamiclib -Wl,-single_module conftest.c" >&5
7607 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7608 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7610 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7611 lt_cv_apple_cc_single_mod=yes
7613 cat conftest.err >&5
7615 rm -rf libconftest.dylib*
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7620 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7622 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7623 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7624 $as_echo_n "(cached) " >&6
7626 lt_cv_ld_exported_symbols_list=no
7627 save_LDFLAGS=$LDFLAGS
7628 echo "_main" > conftest.sym
7629 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7641 if ac_fn_c_try_link "$LINENO"; then :
7642 lt_cv_ld_exported_symbols_list=yes
7644 lt_cv_ld_exported_symbols_list=no
7646 rm -f core conftest.err conftest.$ac_objext \
7647 conftest$ac_exeext conftest.$ac_ext
7648 LDFLAGS="$save_LDFLAGS"
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7652 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7654 rhapsody* | darwin1.[012])
7655 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7657 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7658 darwin*) # darwin 5.x on
7659 # if running on 10.5 or later, the deployment target defaults
7660 # to the OS version, if on x86, and 10.4, the deployment
7661 # target defaults to 10.4. Don't you love it?
7662 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7663 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7664 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7666 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7668 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7672 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7673 _lt_dar_single_mod='$single_module'
7675 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7676 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7678 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7680 if test "$DSYMUTIL" != ":"; then
7681 _lt_dsymutil='~$DSYMUTIL $lib || :'
7688 for ac_header in dlfcn.h
7690 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7692 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7693 cat >>confdefs.h <<_ACEOF
7694 #define HAVE_DLFCN_H 1
7713 # Check whether --enable-shared was given.
7714 if test "${enable_shared+set}" = set; then :
7715 enableval=$enable_shared; p=${PACKAGE-default}
7717 yes) enable_shared=yes ;;
7718 no) enable_shared=no ;;
7721 # Look at the argument we got. We use all the common list separators.
7722 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7723 for pkg in $enableval; do
7725 if test "X$pkg" = "X$p"; then
7744 # Check whether --enable-static was given.
7745 if test "${enable_static+set}" = set; then :
7746 enableval=$enable_static; p=${PACKAGE-default}
7748 yes) enable_static=yes ;;
7749 no) enable_static=no ;;
7752 # Look at the argument we got. We use all the common list separators.
7753 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7754 for pkg in $enableval; do
7756 if test "X$pkg" = "X$p"; then
7776 # Check whether --with-pic was given.
7777 if test "${with_pic+set}" = set; then :
7778 withval=$with_pic; pic_mode="$withval"
7784 test -z "$pic_mode" && pic_mode=default
7792 # Check whether --enable-fast-install was given.
7793 if test "${enable_fast_install+set}" = set; then :
7794 enableval=$enable_fast_install; p=${PACKAGE-default}
7796 yes) enable_fast_install=yes ;;
7797 no) enable_fast_install=no ;;
7799 enable_fast_install=no
7800 # Look at the argument we got. We use all the common list separators.
7801 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7802 for pkg in $enableval; do
7804 if test "X$pkg" = "X$p"; then
7805 enable_fast_install=yes
7812 enable_fast_install=yes
7825 # This can be used to rebuild libtool when needed
7826 LIBTOOL_DEPS="$ltmain"
7828 # Always use our own libtool.
7829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7855 test -z "$LN_S" && LN_S="ln -s"
7870 if test -n "${ZSH_VERSION+set}" ; then
7871 setopt NO_GLOB_SUBST
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7875 $as_echo_n "checking for objdir... " >&6; }
7876 if test "${lt_cv_objdir+set}" = set; then :
7877 $as_echo_n "(cached) " >&6
7879 rm -f .libs 2>/dev/null
7880 mkdir .libs 2>/dev/null
7881 if test -d .libs; then
7884 # MS-DOS does not allow filenames that begin with a dot.
7887 rmdir .libs 2>/dev/null
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7890 $as_echo "$lt_cv_objdir" >&6; }
7891 objdir=$lt_cv_objdir
7897 cat >>confdefs.h <<_ACEOF
7898 #define LT_OBJDIR "$lt_cv_objdir/"
7919 # AIX sometimes has problems with the GCC collect2 program. For some
7920 # reason, if we set the COLLECT_NAMES environment variable, the problems
7921 # vanish in a puff of smoke.
7922 if test "X${COLLECT_NAMES+set}" != Xset; then
7924 export COLLECT_NAMES
7929 # Sed substitution that helps us do robust quoting. It backslashifies
7930 # metacharacters that are still active within double-quoted strings.
7931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7933 # Same as above, but do not quote variable references.
7934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7936 # Sed substitution to delay expansion of an escaped shell variable in a
7937 # double_quote_subst'ed string.
7938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7940 # Sed substitution to delay expansion of an escaped single quote.
7941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7943 # Sed substitution to avoid accidental globbing in evaled expressions
7944 no_glob_subst='s/\*/\\\*/g'
7948 can_build_shared=yes
7950 # All known linkers require a `.a' archive for static linking (except MSVC,
7951 # which needs '.lib').
7954 with_gnu_ld="$lt_cv_prog_gnu_ld"
7957 old_CFLAGS="$CFLAGS"
7959 # Set sane defaults for various variables
7960 test -z "$CC" && CC=cc
7961 test -z "$LTCC" && LTCC=$CC
7962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7963 test -z "$LD" && LD=ld
7964 test -z "$ac_objext" && ac_objext=o
7966 for cc_temp in $compiler""; do
7968 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7969 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7974 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7977 # Only perform the check for file, if the check method requires it
7978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7979 case $deplibs_check_method in
7981 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7983 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7985 $as_echo_n "(cached) " >&6
7989 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7992 lt_save_MAGIC_CMD="$MAGIC_CMD"
7993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7994 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7995 for ac_dir in $ac_dummy; do
7997 test -z "$ac_dir" && ac_dir=.
7998 if test -f $ac_dir/${ac_tool_prefix}file; then
7999 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8000 if test -n "$file_magic_test_file"; then
8001 case $deplibs_check_method in
8003 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8005 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8006 $EGREP "$file_magic_regex" > /dev/null; then
8011 *** Warning: the command libtool uses to detect shared libraries,
8012 *** $file_magic_cmd, produces output that libtool cannot recognize.
8013 *** The result is that libtool may fail to recognize shared libraries
8014 *** as such. This will affect the creation of libtool libraries that
8015 *** depend on shared libraries, but programs linked with such libtool
8016 *** libraries will work regardless of this problem. Nevertheless, you
8017 *** may want to report the problem to your system manager and/or to
8018 *** bug-libtool@gnu.org
8028 MAGIC_CMD="$lt_save_MAGIC_CMD"
8033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8034 if test -n "$MAGIC_CMD"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8036 $as_echo "$MAGIC_CMD" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8046 if test -z "$lt_cv_path_MAGIC_CMD"; then
8047 if test -n "$ac_tool_prefix"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8049 $as_echo_n "checking for file... " >&6; }
8050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8051 $as_echo_n "(cached) " >&6
8055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8058 lt_save_MAGIC_CMD="$MAGIC_CMD"
8059 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8060 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8061 for ac_dir in $ac_dummy; do
8063 test -z "$ac_dir" && ac_dir=.
8064 if test -f $ac_dir/file; then
8065 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8066 if test -n "$file_magic_test_file"; then
8067 case $deplibs_check_method in
8069 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8072 $EGREP "$file_magic_regex" > /dev/null; then
8077 *** Warning: the command libtool uses to detect shared libraries,
8078 *** $file_magic_cmd, produces output that libtool cannot recognize.
8079 *** The result is that libtool may fail to recognize shared libraries
8080 *** as such. This will affect the creation of libtool libraries that
8081 *** depend on shared libraries, but programs linked with such libtool
8082 *** libraries will work regardless of this problem. Nevertheless, you
8083 *** may want to report the problem to your system manager and/or to
8084 *** bug-libtool@gnu.org
8094 MAGIC_CMD="$lt_save_MAGIC_CMD"
8099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8100 if test -n "$MAGIC_CMD"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8102 $as_echo "$MAGIC_CMD" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8118 # Use C for the default configuration in the libtool script
8122 ac_cpp='$CPP $CPPFLAGS'
8123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8128 # Source file extension for C test sources.
8131 # Object file extension for compiled C test sources.
8135 # Code to be used in simple compile tests
8136 lt_simple_compile_test_code="int some_variable = 0;"
8138 # Code to be used in simple link tests
8139 lt_simple_link_test_code='int main(){return(0);}'
8147 # If no C compiler was specified, use CC.
8150 # If no C compiler flags were specified, use CFLAGS.
8151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8153 # Allow CC to be a program name with arguments.
8156 # Save the default compiler, since it gets overwritten when the other
8157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8158 compiler_DEFAULT=$CC
8160 # save warnings/boilerplate of simple test code
8161 ac_outfile=conftest.$ac_objext
8162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8164 _lt_compiler_boilerplate=`cat conftest.err`
8167 ac_outfile=conftest.$ac_objext
8168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8170 _lt_linker_boilerplate=`cat conftest.err`
8174 if test -n "$compiler"; then
8176 lt_prog_compiler_no_builtin_flag=
8178 if test "$GCC" = yes; then
8179 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8182 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8183 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8184 $as_echo_n "(cached) " >&6
8186 lt_cv_prog_compiler_rtti_exceptions=no
8187 ac_outfile=conftest.$ac_objext
8188 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8189 lt_compiler_flag="-fno-rtti -fno-exceptions"
8190 # Insert the option either (1) after the last *FLAGS variable, or
8191 # (2) before a word containing "conftest.", or (3) at the end.
8192 # Note that $ac_compile itself does not contain backslashes and begins
8193 # with a dollar sign (not a hyphen), so the echo should work correctly.
8194 # The option is referenced via a variable to avoid confusing sed.
8195 lt_compile=`echo "$ac_compile" | $SED \
8196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8198 -e 's:$: $lt_compiler_flag:'`
8199 (eval echo "\"\$as_me:8199: $lt_compile\"" >&5)
8200 (eval "$lt_compile" 2>conftest.err)
8202 cat conftest.err >&5
8203 echo "$as_me:8203: \$? = $ac_status" >&5
8204 if (exit $ac_status) && test -s "$ac_outfile"; then
8205 # The compiler can only warn and ignore the option if not recognized
8206 # So say no if there are warnings other than the usual output.
8207 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8208 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8209 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8210 lt_cv_prog_compiler_rtti_exceptions=yes
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8217 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8219 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8220 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8232 lt_prog_compiler_wl=
8233 lt_prog_compiler_pic=
8234 lt_prog_compiler_static=
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8237 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8239 if test "$GCC" = yes; then
8240 lt_prog_compiler_wl='-Wl,'
8241 lt_prog_compiler_static='-static'
8245 # All AIX code is PIC.
8246 if test "$host_cpu" = ia64; then
8247 # AIX 5 now supports IA64 processor
8248 lt_prog_compiler_static='-Bstatic'
8255 # see comment about AmigaOS4 .so support
8256 lt_prog_compiler_pic='-fPIC'
8259 # FIXME: we need at least 68020 code to build shared libraries, but
8260 # adding the `-m68020' flag to GCC prevents building anything better,
8262 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8267 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8268 # PIC is the default for these OSes.
8271 mingw* | cygwin* | pw32* | os2* | cegcc*)
8272 # This hack is so that the source file can tell whether it is being
8273 # built for inclusion in a dll (and should export symbols for example).
8274 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8275 # (--disable-auto-import) libraries
8276 lt_prog_compiler_pic='-DDLL_EXPORT'
8279 darwin* | rhapsody*)
8280 # PIC is the default on this platform
8281 # Common symbols not allowed in MH_DYLIB files
8282 lt_prog_compiler_pic='-fno-common'
8286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8288 # sets the default TLS model and affects inlining.
8294 lt_prog_compiler_pic='-fPIC'
8300 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8301 # Instead, we relocate shared libraries at runtime.
8305 # Just because we use GCC doesn't mean we suddenly get shared libraries
8306 # on systems that don't support them.
8307 lt_prog_compiler_can_build_shared=no
8312 # QNX uses GNU C++, but need to define -shared option too, otherwise
8314 lt_prog_compiler_pic='-fPIC -shared'
8318 if test -d /usr/nec; then
8319 lt_prog_compiler_pic=-Kconform_pic
8324 lt_prog_compiler_pic='-fPIC'
8328 # PORTME Check for flag to pass linker flags through the system compiler.
8331 lt_prog_compiler_wl='-Wl,'
8332 if test "$host_cpu" = ia64; then
8333 # AIX 5 now supports IA64 processor
8334 lt_prog_compiler_static='-Bstatic'
8336 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8340 mingw* | cygwin* | pw32* | os2* | cegcc*)
8341 # This hack is so that the source file can tell whether it is being
8342 # built for inclusion in a dll (and should export symbols for example).
8343 lt_prog_compiler_pic='-DDLL_EXPORT'
8346 hpux9* | hpux10* | hpux11*)
8347 lt_prog_compiler_wl='-Wl,'
8348 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8355 lt_prog_compiler_pic='+Z'
8358 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8359 lt_prog_compiler_static='${wl}-a ${wl}archive'
8362 irix5* | irix6* | nonstopux*)
8363 lt_prog_compiler_wl='-Wl,'
8364 # PIC (with -KPIC) is the default.
8365 lt_prog_compiler_static='-non_shared'
8368 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8369 case $cc_basename in
8370 # old Intel for x86_64 which still supported -KPIC.
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-KPIC'
8374 lt_prog_compiler_static='-static'
8376 # icc used to be incompatible with GCC.
8377 # ICC 10 doesn't accept -KPIC any more.
8379 lt_prog_compiler_wl='-Wl,'
8380 lt_prog_compiler_pic='-fPIC'
8381 lt_prog_compiler_static='-static'
8383 # Lahey Fortran 8.1.
8385 lt_prog_compiler_wl='-Wl,'
8386 lt_prog_compiler_pic='--shared'
8387 lt_prog_compiler_static='--static'
8389 pgcc* | pgf77* | pgf90* | pgf95*)
8390 # Portland Group compilers (*not* the Pentium gcc compiler,
8391 # which looks to be a dead project)
8392 lt_prog_compiler_wl='-Wl,'
8393 lt_prog_compiler_pic='-fpic'
8394 lt_prog_compiler_static='-Bstatic'
8397 lt_prog_compiler_wl='-Wl,'
8398 # All Alpha code is PIC.
8399 lt_prog_compiler_static='-non_shared'
8402 # IBM XL C 8.0/Fortran 10.1 on PPC
8403 lt_prog_compiler_wl='-Wl,'
8404 lt_prog_compiler_pic='-qpic'
8405 lt_prog_compiler_static='-qstaticlink'
8408 case `$CC -V 2>&1 | sed 5q` in
8411 lt_prog_compiler_pic='-KPIC'
8412 lt_prog_compiler_static='-Bstatic'
8413 lt_prog_compiler_wl='-Wl,'
8416 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8417 lt_prog_compiler_pic='-KPIC'
8418 lt_prog_compiler_static='-Bstatic'
8419 lt_prog_compiler_wl=''
8427 lt_prog_compiler_pic='-KPIC'
8428 lt_prog_compiler_static='-Bstatic'
8432 # QNX uses GNU C++, but need to define -shared option too, otherwise
8434 lt_prog_compiler_pic='-fPIC -shared'
8437 osf3* | osf4* | osf5*)
8438 lt_prog_compiler_wl='-Wl,'
8439 # All OSF/1 code is PIC.
8440 lt_prog_compiler_static='-non_shared'
8444 lt_prog_compiler_static='-non_shared'
8448 lt_prog_compiler_pic='-KPIC'
8449 lt_prog_compiler_static='-Bstatic'
8450 case $cc_basename in
8452 lt_prog_compiler_wl='-Qoption ld ';;
8454 lt_prog_compiler_wl='-Wl,';;
8459 lt_prog_compiler_wl='-Qoption ld '
8460 lt_prog_compiler_pic='-PIC'
8461 lt_prog_compiler_static='-Bstatic'
8464 sysv4 | sysv4.2uw2* | sysv4.3*)
8465 lt_prog_compiler_wl='-Wl,'
8466 lt_prog_compiler_pic='-KPIC'
8467 lt_prog_compiler_static='-Bstatic'
8471 if test -d /usr/nec ;then
8472 lt_prog_compiler_pic='-Kconform_pic'
8473 lt_prog_compiler_static='-Bstatic'
8477 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8478 lt_prog_compiler_wl='-Wl,'
8479 lt_prog_compiler_pic='-KPIC'
8480 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_can_build_shared=no
8489 lt_prog_compiler_pic='-pic'
8490 lt_prog_compiler_static='-Bstatic'
8494 lt_prog_compiler_can_build_shared=no
8500 # For platforms which do not support PIC, -DPIC is meaningless:
8502 lt_prog_compiler_pic=
8505 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8509 $as_echo "$lt_prog_compiler_pic" >&6; }
8517 # Check to make sure the PIC flag actually works.
8519 if test -n "$lt_prog_compiler_pic"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8521 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8522 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8523 $as_echo_n "(cached) " >&6
8525 lt_cv_prog_compiler_pic_works=no
8526 ac_outfile=conftest.$ac_objext
8527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8528 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8529 # Insert the option either (1) after the last *FLAGS variable, or
8530 # (2) before a word containing "conftest.", or (3) at the end.
8531 # Note that $ac_compile itself does not contain backslashes and begins
8532 # with a dollar sign (not a hyphen), so the echo should work correctly.
8533 # The option is referenced via a variable to avoid confusing sed.
8534 lt_compile=`echo "$ac_compile" | $SED \
8535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8537 -e 's:$: $lt_compiler_flag:'`
8538 (eval echo "\"\$as_me:8538: $lt_compile\"" >&5)
8539 (eval "$lt_compile" 2>conftest.err)
8541 cat conftest.err >&5
8542 echo "$as_me:8542: \$? = $ac_status" >&5
8543 if (exit $ac_status) && test -s "$ac_outfile"; then
8544 # The compiler can only warn and ignore the option if not recognized
8545 # So say no if there are warnings other than the usual output.
8546 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8547 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8548 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8549 lt_cv_prog_compiler_pic_works=yes
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8556 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8558 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8559 case $lt_prog_compiler_pic in
8561 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8564 lt_prog_compiler_pic=
8565 lt_prog_compiler_can_build_shared=no
8576 # Check to make sure the static flag actually works.
8578 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8581 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8582 $as_echo_n "(cached) " >&6
8584 lt_cv_prog_compiler_static_works=no
8585 save_LDFLAGS="$LDFLAGS"
8586 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8587 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8588 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8589 # The linker can only warn and ignore the option if not recognized
8590 # So say no if there are warnings
8591 if test -s conftest.err; then
8592 # Append any errors to the config.log.
8593 cat conftest.err 1>&5
8594 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8596 if diff conftest.exp conftest.er2 >/dev/null; then
8597 lt_cv_prog_compiler_static_works=yes
8600 lt_cv_prog_compiler_static_works=yes
8604 LDFLAGS="$save_LDFLAGS"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8610 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8613 lt_prog_compiler_static=
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8624 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8625 $as_echo_n "(cached) " >&6
8627 lt_cv_prog_compiler_c_o=no
8628 $RM -r conftest 2>/dev/null
8632 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8634 lt_compiler_flag="-o out/conftest2.$ac_objext"
8635 # Insert the option either (1) after the last *FLAGS variable, or
8636 # (2) before a word containing "conftest.", or (3) at the end.
8637 # Note that $ac_compile itself does not contain backslashes and begins
8638 # with a dollar sign (not a hyphen), so the echo should work correctly.
8639 lt_compile=`echo "$ac_compile" | $SED \
8640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8642 -e 's:$: $lt_compiler_flag:'`
8643 (eval echo "\"\$as_me:8643: $lt_compile\"" >&5)
8644 (eval "$lt_compile" 2>out/conftest.err)
8646 cat out/conftest.err >&5
8647 echo "$as_me:8647: \$? = $ac_status" >&5
8648 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8650 # The compiler can only warn and ignore the option if not recognized
8651 # So say no if there are warnings
8652 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8653 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8654 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8655 lt_cv_prog_compiler_c_o=yes
8660 # SGI C++ compiler will create directory out/ii_files/ for
8661 # template instantiation
8662 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8663 $RM out/* && rmdir out
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8679 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8680 $as_echo_n "(cached) " >&6
8682 lt_cv_prog_compiler_c_o=no
8683 $RM -r conftest 2>/dev/null
8687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8689 lt_compiler_flag="-o out/conftest2.$ac_objext"
8690 # Insert the option either (1) after the last *FLAGS variable, or
8691 # (2) before a word containing "conftest.", or (3) at the end.
8692 # Note that $ac_compile itself does not contain backslashes and begins
8693 # with a dollar sign (not a hyphen), so the echo should work correctly.
8694 lt_compile=`echo "$ac_compile" | $SED \
8695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697 -e 's:$: $lt_compiler_flag:'`
8698 (eval echo "\"\$as_me:8698: $lt_compile\"" >&5)
8699 (eval "$lt_compile" 2>out/conftest.err)
8701 cat out/conftest.err >&5
8702 echo "$as_me:8702: \$? = $ac_status" >&5
8703 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8705 # The compiler can only warn and ignore the option if not recognized
8706 # So say no if there are warnings
8707 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8708 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8709 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8710 lt_cv_prog_compiler_c_o=yes
8715 # SGI C++ compiler will create directory out/ii_files/ for
8716 # template instantiation
8717 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8718 $RM out/* && rmdir out
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8730 hard_links="nottested"
8731 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8732 # do not overwrite the value of need_locks provided by the user
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8734 $as_echo_n "checking if we can lock with hard links... " >&6; }
8737 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8739 ln conftest.a conftest.b 2>&5 || hard_links=no
8740 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8742 $as_echo "$hard_links" >&6; }
8743 if test "$hard_links" = no; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8745 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8761 allow_undefined_flag=
8762 always_export_symbols=no
8764 archive_expsym_cmds=
8765 compiler_needs_object=no
8766 enable_shared_with_static_runtimes=no
8767 export_dynamic_flag_spec=
8768 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8769 hardcode_automatic=no
8771 hardcode_direct_absolute=no
8772 hardcode_libdir_flag_spec=
8773 hardcode_libdir_flag_spec_ld=
8774 hardcode_libdir_separator=
8776 hardcode_shlibpath_var=unsupported
8778 link_all_deplibs=unknown
8781 old_archive_from_new_cmds=
8782 old_archive_from_expsyms_cmds=
8783 thread_safe_flag_spec=
8784 whole_archive_flag_spec=
8785 # include_expsyms should be a list of space-separated symbols to be *always*
8786 # included in the symbol list
8788 # exclude_expsyms can be an extended regexp of symbols to exclude
8789 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8790 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8791 # as well as any symbol that contains `d'.
8792 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8794 # platforms (ab)use it in PIC code, but their linkers get confused if
8795 # the symbol is explicitly referenced. Since portable code cannot
8796 # rely on this symbol name, it's probably fine to never include it in
8797 # preloaded symbol tables.
8798 # Exclude shared library initialization/finalization symbols.
8799 extract_expsyms_cmds=
8802 cygwin* | mingw* | pw32* | cegcc*)
8803 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8804 # When not using gcc, we currently assume that we are using
8805 # Microsoft Visual C++.
8806 if test "$GCC" != yes; then
8811 # we just hope/assume this is gcc and not c89 (= MSVC++)
8817 linux* | k*bsd*-gnu)
8823 if test "$with_gnu_ld" = yes; then
8824 # If archive_cmds runs LD, not CC, wlarc should be empty
8827 # Set some defaults for GNU ld with shared library support. These
8828 # are reset later if shared libraries are not supported. Putting them
8829 # here allows them to be overridden if necessary.
8830 runpath_var=LD_RUN_PATH
8831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8832 export_dynamic_flag_spec='${wl}--export-dynamic'
8833 # ancient GNU ld didn't support --whole-archive et. al.
8834 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8835 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8837 whole_archive_flag_spec=
8839 supports_anon_versioning=no
8840 case `$LD -v 2>&1` in
8841 *GNU\ gold*) supports_anon_versioning=yes ;;
8842 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8843 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8844 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8845 *\ 2.11.*) ;; # other 2.11 versions
8846 *) supports_anon_versioning=yes ;;
8849 # See if GNU ld supports shared libraries.
8852 # On AIX/PPC, the GNU linker is very broken
8853 if test "$host_cpu" != ia64; then
8857 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8858 *** to be unable to reliably create shared libraries on AIX.
8859 *** Therefore, libtool is disabling shared libraries support. If you
8860 *** really care for shared libraries, you may want to modify your PATH
8861 *** so that a non-GNU linker is found, and then restart.
8870 # see comment about AmigaOS4 .so support
8871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8872 archive_expsym_cmds=''
8875 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)'
8876 hardcode_libdir_flag_spec='-L$libdir'
8877 hardcode_minus_L=yes
8883 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8884 allow_undefined_flag=unsupported
8885 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8886 # support --undefined. This deserves some investigation. FIXME
8887 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893 cygwin* | mingw* | pw32* | cegcc*)
8894 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8895 # as there is no search path for DLLs.
8896 hardcode_libdir_flag_spec='-L$libdir'
8897 allow_undefined_flag=unsupported
8898 always_export_symbols=no
8899 enable_shared_with_static_runtimes=yes
8900 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8902 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8904 # If the export-symbols file already is a .def file (1st line
8905 # is EXPORTS), use it as is; otherwise, prepend...
8906 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8907 cp $export_symbols $output_objdir/$soname.def;
8909 echo EXPORTS > $output_objdir/$soname.def;
8910 cat $export_symbols >> $output_objdir/$soname.def;
8912 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8920 hardcode_shlibpath_var=no
8921 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8922 export_dynamic_flag_spec='${wl}-E'
8923 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8924 # Instead, shared libraries are loaded at an image base (0x10000000 by
8925 # default) and relocated if they conflict, which is a slow very memory
8926 # consuming and fragmenting process. To avoid this, we pick a random,
8927 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8928 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8929 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8930 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'
8933 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8935 if test "$host_os" = linux-dietlibc; then
8936 case $cc_basename in
8937 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8940 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8941 && test "$tmp_diet" = no
8944 tmp_sharedflag='-shared'
8945 case $cc_basename,$host_cpu in
8946 pgcc*) # Portland Group C compiler
8947 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'
8948 tmp_addflag=' $pic_flag'
8950 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8951 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'
8952 tmp_addflag=' $pic_flag -Mnomain' ;;
8953 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8954 tmp_addflag=' -i_dynamic' ;;
8955 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8956 tmp_addflag=' -i_dynamic -nofor_main' ;;
8957 ifc* | ifort*) # Intel Fortran compiler
8958 tmp_addflag=' -nofor_main' ;;
8959 lf95*) # Lahey Fortran 8.1
8960 whole_archive_flag_spec=
8961 tmp_sharedflag='--shared' ;;
8962 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8963 tmp_sharedflag='-qmkshrobj'
8966 case `$CC -V 2>&1 | sed 5q` in
8967 *Sun\ C*) # Sun C 5.9
8968 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'
8969 compiler_needs_object=yes
8970 tmp_sharedflag='-G' ;;
8971 *Sun\ F*) # Sun Fortran 8.3
8972 tmp_sharedflag='-G' ;;
8974 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8976 if test "x$supports_anon_versioning" = xyes; then
8977 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8979 echo "local: *; };" >> $output_objdir/$libname.ver~
8980 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8983 case $cc_basename in
8985 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8986 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8987 hardcode_libdir_flag_spec=
8988 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8989 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8990 if test "x$supports_anon_versioning" = xyes; then
8991 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8993 echo "local: *; };" >> $output_objdir/$libname.ver~
8994 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9003 netbsd* | netbsdelf*-gnu)
9004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9005 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9014 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9018 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9019 *** create shared libraries on Solaris systems. Therefore, libtool
9020 *** is disabling shared libraries support. We urge you to upgrade GNU
9021 *** binutils to release 2.9.1 or newer. Another option is to modify
9022 *** your PATH or compiler configuration so that the native linker is
9023 *** used, and then restart.
9026 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9028 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9035 case `$LD -v 2>&1` in
9036 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9040 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9041 *** reliably create shared libraries on SCO systems. Therefore, libtool
9042 *** is disabling shared libraries support. We urge you to upgrade GNU
9043 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9044 *** your PATH or compiler configuration so that the native linker is
9045 *** used, and then restart.
9050 # For security reasons, it is highly recommended that you always
9051 # use absolute paths for naming shared libraries, and exclude the
9052 # DT_RUNPATH tag from executables and libraries. But doing so
9053 # requires that you compile everything twice, which is a pain.
9054 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9056 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9066 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9069 hardcode_shlibpath_var=no
9073 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9082 if test "$ld_shlibs" = no; then
9084 hardcode_libdir_flag_spec=
9085 export_dynamic_flag_spec=
9086 whole_archive_flag_spec=
9089 # PORTME fill in a description of your system's linker (not GNU ld)
9092 allow_undefined_flag=unsupported
9093 always_export_symbols=yes
9094 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'
9095 # Note: this linker hardcodes the directories in LIBPATH if there
9096 # are no directories specified by -L.
9097 hardcode_minus_L=yes
9098 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9099 # Neither direct hardcoding nor static linking is supported with a
9101 hardcode_direct=unsupported
9106 if test "$host_cpu" = ia64; then
9107 # On IA64, the linker does run time linking by default, so we don't
9108 # have to do anything special.
9109 aix_use_runtimelinking=no
9110 exp_sym_flag='-Bexport'
9113 # If we're using GNU nm, then we don't want the "-C" option.
9114 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9115 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9116 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'
9118 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'
9120 aix_use_runtimelinking=no
9122 # Test if we are trying to use run time linking or normal
9123 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9124 # need to do runtime linking.
9125 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9126 for ld_flag in $LDFLAGS; do
9127 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9128 aix_use_runtimelinking=yes
9135 exp_sym_flag='-bexport'
9136 no_entry_flag='-bnoentry'
9139 # When large executables or shared objects are built, AIX ld can
9140 # have problems creating the table of contents. If linking a library
9141 # or program results in "error TOC overflow" add -mminimal-toc to
9142 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9143 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9147 hardcode_direct_absolute=yes
9148 hardcode_libdir_separator=':'
9149 link_all_deplibs=yes
9150 file_list_spec='${wl}-f,'
9152 if test "$GCC" = yes; then
9153 case $host_os in aix4.[012]|aix4.[012].*)
9154 # We only want to do this on AIX 4.2 and lower, the check
9155 # below for broken collect2 doesn't work under 4.3+
9156 collect2name=`${CC} -print-prog-name=collect2`
9157 if test -f "$collect2name" &&
9158 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9160 # We have reworked collect2
9163 # We have old collect2
9164 hardcode_direct=unsupported
9165 # It fails to find uninstalled libraries when the uninstalled
9166 # path is not listed in the libpath. Setting hardcode_minus_L
9167 # to unsupported forces relinking
9168 hardcode_minus_L=yes
9169 hardcode_libdir_flag_spec='-L$libdir'
9170 hardcode_libdir_separator=
9174 shared_flag='-shared'
9175 if test "$aix_use_runtimelinking" = yes; then
9176 shared_flag="$shared_flag "'${wl}-G'
9181 if test "$host_cpu" = ia64; then
9182 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9183 # chokes on -Wl,-G. The following line is correct:
9186 if test "$aix_use_runtimelinking" = yes; then
9187 shared_flag='${wl}-G'
9189 shared_flag='${wl}-bM:SRE'
9194 export_dynamic_flag_spec='${wl}-bexpall'
9195 # It seems that -bexpall does not export symbols beginning with
9196 # underscore (_), so it is better to generate a list of symbols to export.
9197 always_export_symbols=yes
9198 if test "$aix_use_runtimelinking" = yes; then
9199 # Warning - without using the other runtime loading flags (-brtl),
9200 # -berok will link without error, but may produce a broken library.
9201 allow_undefined_flag='-berok'
9202 # Determine the default libpath from the value encoded in an
9204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9205 /* end confdefs.h. */
9215 if ac_fn_c_try_link "$LINENO"; then :
9217 lt_aix_libpath_sed='
9218 /Import File Strings/,/^$/ {
9224 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9225 # Check for a 64-bit object if we didn't find anything.
9226 if test -z "$aix_libpath"; then
9227 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9234 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9235 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"
9237 if test "$host_cpu" = ia64; then
9238 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9239 allow_undefined_flag="-z nodefs"
9240 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"
9242 # Determine the default libpath from the value encoded in an
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9255 if ac_fn_c_try_link "$LINENO"; then :
9257 lt_aix_libpath_sed='
9258 /Import File Strings/,/^$/ {
9264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9265 # Check for a 64-bit object if we didn't find anything.
9266 if test -z "$aix_libpath"; then
9267 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9274 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9275 # Warning - without using the other run time loading flags,
9276 # -berok will link without error, but may produce a broken library.
9277 no_undefined_flag=' ${wl}-bernotok'
9278 allow_undefined_flag=' ${wl}-berok'
9279 # Exported symbols can be pulled into shared objects from archives
9280 whole_archive_flag_spec='$convenience'
9281 archive_cmds_need_lc=yes
9282 # This is similar to how AIX traditionally builds its shared libraries.
9283 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'
9291 # see comment about AmigaOS4 .so support
9292 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9293 archive_expsym_cmds=''
9296 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)'
9297 hardcode_libdir_flag_spec='-L$libdir'
9298 hardcode_minus_L=yes
9304 export_dynamic_flag_spec=-rdynamic
9307 cygwin* | mingw* | pw32* | cegcc*)
9308 # When not using gcc, we currently assume that we are using
9309 # Microsoft Visual C++.
9310 # hardcode_libdir_flag_spec is actually meaningless, as there is
9311 # no search path for DLLs.
9312 hardcode_libdir_flag_spec=' '
9313 allow_undefined_flag=unsupported
9314 # Tell ltmain to make .lib files, not .a files.
9316 # Tell ltmain to make .dll files, not .so files.
9318 # FIXME: Setting linknames here is a bad hack.
9319 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9320 # The linker will automatically build a .lib file if we build a DLL.
9321 old_archive_from_new_cmds='true'
9322 # FIXME: Should let the user specify the lib program.
9323 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9324 fix_srcfile_path='`cygpath -w "$srcfile"`'
9325 enable_shared_with_static_runtimes=yes
9328 darwin* | rhapsody*)
9331 archive_cmds_need_lc=no
9333 hardcode_automatic=yes
9334 hardcode_shlibpath_var=unsupported
9335 whole_archive_flag_spec=''
9336 link_all_deplibs=yes
9337 allow_undefined_flag="$_lt_dar_allow_undefined"
9338 case $cc_basename in
9339 ifort*) _lt_dar_can_shared=yes ;;
9340 *) _lt_dar_can_shared=$GCC ;;
9342 if test "$_lt_dar_can_shared" = "yes"; then
9343 output_verbose_link_cmd=echo
9344 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9345 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9346 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}"
9347 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}"
9356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9357 hardcode_libdir_flag_spec='-L$libdir'
9358 hardcode_shlibpath_var=no
9365 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9366 # support. Future versions do this automatically, but an explicit c++rt0.o
9367 # does not break anything, and helps significantly (at the cost of a little
9370 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9371 hardcode_libdir_flag_spec='-R$libdir'
9373 hardcode_shlibpath_var=no
9376 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9378 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9380 hardcode_minus_L=yes
9381 hardcode_shlibpath_var=no
9384 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9385 freebsd* | dragonfly*)
9386 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9387 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9393 if test "$GCC" = yes; then
9394 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'
9396 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'
9398 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9399 hardcode_libdir_separator=:
9402 # hardcode_minus_L: Not really in the search PATH,
9403 # but as the default location of the library.
9404 hardcode_minus_L=yes
9405 export_dynamic_flag_spec='${wl}-E'
9409 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9410 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9412 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9414 if test "$with_gnu_ld" = no; then
9415 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9416 hardcode_libdir_flag_spec_ld='+b $libdir'
9417 hardcode_libdir_separator=:
9419 hardcode_direct_absolute=yes
9420 export_dynamic_flag_spec='${wl}-E'
9421 # hardcode_minus_L: Not really in the search PATH,
9422 # but as the default location of the library.
9423 hardcode_minus_L=yes
9428 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9431 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9437 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9446 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9449 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9453 if test "$with_gnu_ld" = no; then
9454 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9455 hardcode_libdir_separator=:
9460 hardcode_shlibpath_var=no
9464 hardcode_direct_absolute=yes
9465 export_dynamic_flag_spec='${wl}-E'
9467 # hardcode_minus_L: Not really in the search PATH,
9468 # but as the default location of the library.
9469 hardcode_minus_L=yes
9475 irix5* | irix6* | nonstopux*)
9476 if test "$GCC" = yes; then
9477 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'
9478 # Try to use the -exported_symbol ld option, if it does not
9479 # work, assume that -exports_file does not work either and
9480 # implicitly export all symbols.
9481 save_LDFLAGS="$LDFLAGS"
9482 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 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'
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LDFLAGS="$save_LDFLAGS"
9495 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'
9496 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'
9498 archive_cmds_need_lc='no'
9499 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9500 hardcode_libdir_separator=:
9502 link_all_deplibs=yes
9505 netbsd* | netbsdelf*-gnu)
9506 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9507 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9509 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9511 hardcode_libdir_flag_spec='-R$libdir'
9513 hardcode_shlibpath_var=no
9517 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9520 hardcode_libdir_separator=:
9521 hardcode_shlibpath_var=no
9528 if test -f /usr/libexec/ld.so; then
9530 hardcode_shlibpath_var=no
9531 hardcode_direct_absolute=yes
9532 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9533 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9535 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9536 export_dynamic_flag_spec='${wl}-E'
9539 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9540 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_libdir_flag_spec='-R$libdir'
9544 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9545 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9555 hardcode_libdir_flag_spec='-L$libdir'
9556 hardcode_minus_L=yes
9557 allow_undefined_flag=unsupported
9558 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'
9559 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9563 if test "$GCC" = yes; then
9564 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9565 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'
9567 allow_undefined_flag=' -expect_unresolved \*'
9568 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'
9570 archive_cmds_need_lc='no'
9571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9572 hardcode_libdir_separator=:
9575 osf4* | osf5*) # as osf3* with the addition of -msym flag
9576 if test "$GCC" = yes; then
9577 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9578 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'
9579 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9581 allow_undefined_flag=' -expect_unresolved \*'
9582 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'
9583 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~
9584 $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'
9586 # Both c and cxx compiler support -rpath directly
9587 hardcode_libdir_flag_spec='-rpath $libdir'
9589 archive_cmds_need_lc='no'
9590 hardcode_libdir_separator=:
9594 no_undefined_flag=' -z defs'
9595 if test "$GCC" = yes; then
9597 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9599 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9601 case `$CC -V 2>&1` in
9604 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9606 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9610 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9612 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9616 hardcode_libdir_flag_spec='-R$libdir'
9617 hardcode_shlibpath_var=no
9619 solaris2.[0-5] | solaris2.[0-5].*) ;;
9621 # The compiler driver will combine and reorder linker options,
9622 # but understands `-z linker_flag'. GCC discards it without `$wl',
9623 # but is careful enough not to reorder.
9624 # Supported since Solaris 2.6 (maybe 2.5.1?)
9625 if test "$GCC" = yes; then
9626 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9628 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9632 link_all_deplibs=yes
9636 if test "x$host_vendor" = xsequent; then
9637 # Use $CC to link under sequent, because it throws in some extra .o
9638 # files that make .init and .fini sections work.
9639 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec='-L$libdir'
9645 hardcode_minus_L=yes
9646 hardcode_shlibpath_var=no
9650 case $host_vendor in
9652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_direct=yes # is this really true???
9656 ## LD is ld it makes a PLAMLIB
9657 ## CC just makes a GrossModule.
9658 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9659 reload_cmds='$CC -r -o $output$reload_objs'
9663 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9667 runpath_var='LD_RUN_PATH'
9668 hardcode_shlibpath_var=no
9672 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9673 hardcode_shlibpath_var=no
9674 export_dynamic_flag_spec='-Bexport'
9678 if test -d /usr/nec; then
9679 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9680 hardcode_shlibpath_var=no
9681 runpath_var=LD_RUN_PATH
9682 hardcode_runpath_var=yes
9687 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9688 no_undefined_flag='${wl}-z,text'
9689 archive_cmds_need_lc=no
9690 hardcode_shlibpath_var=no
9691 runpath_var='LD_RUN_PATH'
9693 if test "$GCC" = yes; then
9694 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 sysv5* | sco3.2v5* | sco5v6*)
9703 # Note: We can NOT use -z defs as we might desire, because we do not
9704 # link with -lc, and that would cause any symbols used from libc to
9705 # always be unresolved, which means just about no library would
9706 # ever link correctly. If we're not using GNU ld we use -z text
9707 # though, which does catch some bad symbols but isn't as heavy-handed
9709 no_undefined_flag='${wl}-z,text'
9710 allow_undefined_flag='${wl}-z,nodefs'
9711 archive_cmds_need_lc=no
9712 hardcode_shlibpath_var=no
9713 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9714 hardcode_libdir_separator=':'
9715 link_all_deplibs=yes
9716 export_dynamic_flag_spec='${wl}-Bexport'
9717 runpath_var='LD_RUN_PATH'
9719 if test "$GCC" = yes; then
9720 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec='-L$libdir'
9731 hardcode_shlibpath_var=no
9739 if test x$host_vendor = xsni; then
9741 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9742 export_dynamic_flag_spec='${wl}-Blargedynsym'
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9749 $as_echo "$ld_shlibs" >&6; }
9750 test "$ld_shlibs" = no && can_build_shared=no
9752 with_gnu_ld=$with_gnu_ld
9769 # Do we need to explicitly link libc?
9771 case "x$archive_cmds_need_lc" in
9773 # Assume -lc should be added
9774 archive_cmds_need_lc=yes
9776 if test "$enable_shared" = yes && test "$GCC" = yes; then
9777 case $archive_cmds in
9779 # FIXME: we may have to deal with multi-command sequences.
9782 # Test whether the compiler implicitly links with -lc since on some
9783 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9784 # to ld, don't add -lc before -lgcc.
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9791 (eval $ac_compile) 2>&5
9793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9794 test $ac_status = 0; } 2>conftest.err; then
9797 libobjs=conftest.$ac_objext
9799 wl=$lt_prog_compiler_wl
9800 pic_flag=$lt_prog_compiler_pic
9806 lt_save_allow_undefined_flag=$allow_undefined_flag
9807 allow_undefined_flag=
9808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9809 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9812 test $ac_status = 0; }
9814 archive_cmds_need_lc=no
9816 archive_cmds_need_lc=yes
9818 allow_undefined_flag=$lt_save_allow_undefined_flag
9820 cat conftest.err 1>&5
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9824 $as_echo "$archive_cmds_need_lc" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9988 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9990 if test "$GCC" = yes; then
9992 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9993 *) lt_awk_arg="/^libraries:/" ;;
9995 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9996 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9997 # if the path contains ";" then we assume it to be the separator
9998 # otherwise default to the standard path separator (i.e. ":") - it is
9999 # assumed that no part of a normal pathname contains ";" but that should
10000 # okay in the real world where ";" in dirpaths is itself problematic.
10001 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10003 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10005 # Ok, now we have the path, separated by spaces, we can step through it
10006 # and add multilib dir if necessary.
10007 lt_tmp_lt_search_path_spec=
10008 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10009 for lt_sys_path in $lt_search_path_spec; do
10010 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10011 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10013 test -d "$lt_sys_path" && \
10014 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10017 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10018 BEGIN {RS=" "; FS="/|\n";} {
10021 for (lt_i = NF; lt_i > 0; lt_i--) {
10022 if ($lt_i != "" && $lt_i != ".") {
10023 if ($lt_i == "..") {
10026 if (lt_count == 0) {
10027 lt_foo="/" $lt_i lt_foo;
10034 if (lt_foo != "") { lt_freq[lt_foo]++; }
10035 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10037 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10039 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10041 library_names_spec=
10042 libname_spec='lib$name'
10046 postuninstall_cmds=
10050 shlibpath_overrides_runpath=unknown
10052 dynamic_linker="$host_os ld.so"
10053 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10054 need_lib_prefix=unknown
10055 hardcode_into_libs=no
10057 # when you set need_version to no, make sure it does not cause -set_version
10058 # flags to be left without arguments
10059 need_version=unknown
10064 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10065 shlibpath_var=LIBPATH
10067 # AIX 3 has no versioning support, so we append a major version to the name.
10068 soname_spec='${libname}${release}${shared_ext}$major'
10075 hardcode_into_libs=yes
10076 if test "$host_cpu" = ia64; then
10077 # AIX 5 supports IA64
10078 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10079 shlibpath_var=LD_LIBRARY_PATH
10081 # With GCC up to 2.95.x, collect2 would create an import file
10082 # for dependence libraries. The import file would start with
10083 # the line `#! .'. This would cause the generated library to
10084 # depend on `.', always an invalid library. This was fixed in
10085 # development snapshots of GCC prior to 3.0.
10087 aix4 | aix4.[01] | aix4.[01].*)
10088 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10090 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10093 can_build_shared=no
10097 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10098 # soname into executable. Probably we can add versioning support to
10099 # collect2, so additional links can be useful in future.
10100 if test "$aix_use_runtimelinking" = yes; then
10101 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10102 # instead of lib<name>.a to let people know that these are not
10103 # typical AIX shared libraries.
10104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10106 # We preserve .a as extension for shared libraries through AIX4.2
10107 # and later when we are not doing run time linking.
10108 library_names_spec='${libname}${release}.a $libname.a'
10109 soname_spec='${libname}${release}${shared_ext}$major'
10111 shlibpath_var=LIBPATH
10118 # Since July 2007 AmigaOS4 officially supports .so libraries.
10119 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123 library_names_spec='$libname.ixlibrary $libname.a'
10124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10125 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'
10131 library_names_spec='${libname}${shared_ext}'
10132 dynamic_linker="$host_os ld.so"
10133 shlibpath_var=LIBRARY_PATH
10139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10140 soname_spec='${libname}${release}${shared_ext}$major'
10141 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10142 shlibpath_var=LD_LIBRARY_PATH
10143 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10144 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10145 # the default ld.so.conf also contains /usr/contrib/lib and
10146 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10147 # libtool to hard-code these into programs
10150 cygwin* | mingw* | pw32* | cegcc*)
10151 version_type=windows
10156 case $GCC,$host_os in
10157 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10158 library_names_spec='$libname.dll.a'
10159 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10160 postinstall_cmds='base_file=`basename \${file}`~
10161 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10162 dldir=$destdir/`dirname \$dlpath`~
10163 test -d \$dldir || mkdir -p \$dldir~
10164 $install_prog $dir/$dlname \$dldir/$dlname~
10165 chmod a+x \$dldir/$dlname~
10166 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10167 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10169 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10170 dlpath=$dir/\$dldll~
10172 shlibpath_overrides_runpath=yes
10176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10177 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10178 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10181 # MinGW DLLs use traditional 'lib' prefix
10182 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10183 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10184 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10185 # It is most probably a Windows format PATH printed by
10186 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10187 # path with ; separators, and with drive letters. We can handle the
10188 # drive letters (cygwin fileutils understands them), so leave them,
10189 # especially as we might pass files found there to a mingw objdump,
10190 # which wouldn't understand a cygwinified path. Ahh.
10191 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10193 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10197 # pw32 DLLs use 'pw' prefix rather than 'lib'
10198 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10204 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10207 dynamic_linker='Win32 ld.exe'
10208 # FIXME: first we should search . and the directory the executable is in
10212 darwin* | rhapsody*)
10213 dynamic_linker="$host_os dyld"
10214 version_type=darwin
10217 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10218 soname_spec='${libname}${release}${major}$shared_ext'
10219 shlibpath_overrides_runpath=yes
10220 shlibpath_var=DYLD_LIBRARY_PATH
10221 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10223 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10224 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10232 soname_spec='${libname}${release}${shared_ext}$major'
10233 shlibpath_var=LD_LIBRARY_PATH
10240 freebsd* | dragonfly*)
10241 # DragonFly does not have aout. When/if they implement a new
10242 # versioning mechanism, adjust this.
10243 if test -x /usr/bin/objformat; then
10244 objformat=`/usr/bin/objformat`
10247 freebsd[123]*) objformat=aout ;;
10248 *) objformat=elf ;;
10251 version_type=freebsd-$objformat
10252 case $version_type in
10254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10263 shlibpath_var=LD_LIBRARY_PATH
10266 shlibpath_overrides_runpath=yes
10268 freebsd3.[01]* | freebsdelf3.[01]*)
10269 shlibpath_overrides_runpath=yes
10270 hardcode_into_libs=yes
10272 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10273 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10274 shlibpath_overrides_runpath=no
10275 hardcode_into_libs=yes
10277 *) # from 4.6 on, and DragonFly
10278 shlibpath_overrides_runpath=yes
10279 hardcode_into_libs=yes
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 shlibpath_var=LD_LIBRARY_PATH
10291 hardcode_into_libs=yes
10294 hpux9* | hpux10* | hpux11*)
10295 # Give a soname corresponding to the major version so that dld.sl refuses to
10296 # link against other versions.
10303 hardcode_into_libs=yes
10304 dynamic_linker="$host_os dld.so"
10305 shlibpath_var=LD_LIBRARY_PATH
10306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 soname_spec='${libname}${release}${shared_ext}$major'
10309 if test "X$HPUX_IA64_MODE" = X32; then
10310 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10312 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10314 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10318 hardcode_into_libs=yes
10319 dynamic_linker="$host_os dld.sl"
10320 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10321 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10323 soname_spec='${libname}${release}${shared_ext}$major'
10324 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10329 dynamic_linker="$host_os dld.sl"
10330 shlibpath_var=SHLIB_PATH
10331 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10333 soname_spec='${libname}${release}${shared_ext}$major'
10336 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10337 postinstall_cmds='chmod 555 $lib'
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10347 shlibpath_var=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath=no
10349 hardcode_into_libs=yes
10352 irix5* | irix6* | nonstopux*)
10354 nonstopux*) version_type=nonstopux ;;
10356 if test "$lt_cv_prog_gnu_ld" = yes; then
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10367 irix5* | nonstopux*)
10368 libsuff= shlibsuff=
10371 case $LD in # libtool.m4 will add one of these switches to LD
10372 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10373 libsuff= shlibsuff= libmagic=32-bit;;
10374 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10375 libsuff=32 shlibsuff=N32 libmagic=N32;;
10376 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10377 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10378 *) libsuff= shlibsuff= libmagic=never-match;;
10382 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10383 shlibpath_overrides_runpath=no
10384 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10385 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10386 hardcode_into_libs=yes
10389 # No shared lib support for Linux oldld, aout, or coff.
10390 linux*oldld* | linux*aout* | linux*coff*)
10394 # This must be Linux ELF.
10395 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 soname_spec='${libname}${release}${shared_ext}$major'
10401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10402 shlibpath_var=LD_LIBRARY_PATH
10403 shlibpath_overrides_runpath=no
10404 # Some binutils ld are patched to set DT_RUNPATH
10405 save_LDFLAGS=$LDFLAGS
10406 save_libdir=$libdir
10407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10422 shlibpath_overrides_runpath=yes
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 LDFLAGS=$save_LDFLAGS
10428 libdir=$save_libdir
10430 # This implies no fast_install, which is unacceptable.
10431 # Some rework will be needed to allow for fast_install
10432 # before this can be enabled.
10433 hardcode_into_libs=yes
10435 # Append ld.so.conf contents to the search path
10436 if test -f /etc/ld.so.conf; then
10437 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' ' '`
10438 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10441 # We used to test for /lib/ld.so.1 and disable shared libraries on
10442 # powerpc, because MkLinux only supported shared libraries with the
10443 # GNU dynamic linker. Since this was broken with cross compilers,
10444 # most powerpc-linux boxes support dynamic linking these days and
10445 # people can always --disable-shared, the test was removed, and we
10446 # assume the GNU/Linux dynamic linker is in use.
10447 dynamic_linker='GNU/Linux ld.so'
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10456 shlibpath_var=LD_LIBRARY_PATH
10457 shlibpath_overrides_runpath=no
10458 hardcode_into_libs=yes
10459 dynamic_linker='NetBSD ld.elf_so'
10466 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10469 dynamic_linker='NetBSD (a.out) ld.so'
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10472 soname_spec='${libname}${release}${shared_ext}$major'
10473 dynamic_linker='NetBSD ld.elf_so'
10475 shlibpath_var=LD_LIBRARY_PATH
10476 shlibpath_overrides_runpath=yes
10477 hardcode_into_libs=yes
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483 shlibpath_var=LD_LIBRARY_PATH
10484 shlibpath_overrides_runpath=yes
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 shlibpath_overrides_runpath=no
10495 hardcode_into_libs=yes
10496 dynamic_linker='ldqnx.so'
10501 sys_lib_dlsearch_path_spec="/usr/lib"
10503 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10505 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10506 *) need_version=no ;;
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10509 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10510 shlibpath_var=LD_LIBRARY_PATH
10511 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10513 openbsd2.[89] | openbsd2.[89].*)
10514 shlibpath_overrides_runpath=no
10517 shlibpath_overrides_runpath=yes
10521 shlibpath_overrides_runpath=yes
10526 libname_spec='$name'
10529 library_names_spec='$libname${shared_ext} $libname.a'
10530 dynamic_linker='OS/2 ld.exe'
10531 shlibpath_var=LIBPATH
10534 osf3* | osf4* | osf5*)
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 shlibpath_var=LD_LIBRARY_PATH
10541 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10542 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 shlibpath_var=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath=yes
10557 hardcode_into_libs=yes
10558 # ldd complains unless libraries are executable
10559 postinstall_cmds='chmod +x $lib'
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10565 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=yes
10568 if test "$with_gnu_ld" = yes; then
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577 soname_spec='${libname}${release}${shared_ext}$major'
10578 shlibpath_var=LD_LIBRARY_PATH
10579 case $host_vendor in
10581 shlibpath_overrides_runpath=no
10583 runpath_var=LD_RUN_PATH
10591 shlibpath_overrides_runpath=no
10592 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10598 if test -d /usr/nec ;then
10600 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10601 soname_spec='$libname${shared_ext}.$major'
10602 shlibpath_var=LD_LIBRARY_PATH
10606 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10607 version_type=freebsd-elf
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 shlibpath_overrides_runpath=yes
10614 hardcode_into_libs=yes
10615 if test "$with_gnu_ld" = yes; then
10616 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10618 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10621 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10625 sys_lib_dlsearch_path_spec='/usr/lib'
10629 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10634 shlibpath_var=LD_LIBRARY_PATH
10635 shlibpath_overrides_runpath=no
10636 hardcode_into_libs=yes
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 shlibpath_var=LD_LIBRARY_PATH
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10651 $as_echo "$dynamic_linker" >&6; }
10652 test "$dynamic_linker" = no && can_build_shared=no
10654 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10655 if test "$GCC" = yes; then
10656 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10659 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10660 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10662 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10663 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10753 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10755 if test -n "$hardcode_libdir_flag_spec" ||
10756 test -n "$runpath_var" ||
10757 test "X$hardcode_automatic" = "Xyes" ; then
10759 # We can hardcode non-existent directories.
10760 if test "$hardcode_direct" != no &&
10761 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10762 # have to relink, otherwise we might link with an installed library
10763 # when we should be linking with a yet-to-be-installed one
10764 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10765 test "$hardcode_minus_L" != no; then
10766 # Linking always hardcodes the temporary library directory.
10767 hardcode_action=relink
10769 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10770 hardcode_action=immediate
10773 # We cannot hardcode anything, or else we can only hardcode existing
10775 hardcode_action=unsupported
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10778 $as_echo "$hardcode_action" >&6; }
10780 if test "$hardcode_action" = relink ||
10781 test "$inherit_rpath" = yes; then
10782 # Fast installation is not supported
10783 enable_fast_install=no
10784 elif test "$shlibpath_overrides_runpath" = yes ||
10785 test "$enable_shared" = no; then
10786 # Fast installation is not necessary
10787 enable_fast_install=needless
10795 if test "x$enable_dlopen" != xyes; then
10796 enable_dlopen=unknown
10797 enable_dlopen_self=unknown
10798 enable_dlopen_self_static=unknown
10805 lt_cv_dlopen="load_add_on"
10807 lt_cv_dlopen_self=yes
10810 mingw* | pw32* | cegcc*)
10811 lt_cv_dlopen="LoadLibrary"
10816 lt_cv_dlopen="dlopen"
10821 # if libdl is installed we need to link against it
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10823 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10824 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10825 $as_echo_n "(cached) " >&6
10827 ac_check_lib_save_LIBS=$LIBS
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10847 if ac_fn_c_try_link "$LINENO"; then :
10848 ac_cv_lib_dl_dlopen=yes
10850 ac_cv_lib_dl_dlopen=no
10852 rm -f core conftest.err conftest.$ac_objext \
10853 conftest$ac_exeext conftest.$ac_ext
10854 LIBS=$ac_check_lib_save_LIBS
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10857 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10858 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10859 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10862 lt_cv_dlopen="dyld"
10864 lt_cv_dlopen_self=yes
10871 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10872 if test "x$ac_cv_func_shl_load" = x""yes; then :
10873 lt_cv_dlopen="shl_load"
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10876 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10877 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS=$LIBS
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10895 return shl_load ();
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_dld_shl_load=yes
10903 ac_cv_lib_dld_shl_load=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10910 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10911 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10912 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10914 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10915 if test "x$ac_cv_func_dlopen" = x""yes; then :
10916 lt_cv_dlopen="dlopen"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10919 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10920 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10921 $as_echo_n "(cached) " >&6
10923 ac_check_lib_save_LIBS=$LIBS
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10943 if ac_fn_c_try_link "$LINENO"; then :
10944 ac_cv_lib_dl_dlopen=yes
10946 ac_cv_lib_dl_dlopen=no
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10954 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10958 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10959 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10960 $as_echo_n "(cached) " >&6
10962 ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lsvld $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 ac_cv_lib_svld_dlopen=yes
10985 ac_cv_lib_svld_dlopen=no
10987 rm -f core conftest.err conftest.$ac_objext \
10988 conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10992 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10993 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10994 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10997 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10998 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10999 $as_echo_n "(cached) " >&6
11001 ac_check_lib_save_LIBS=$LIBS
11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11016 return dld_link ();
11021 if ac_fn_c_try_link "$LINENO"; then :
11022 ac_cv_lib_dld_dld_link=yes
11024 ac_cv_lib_dld_dld_link=no
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_lib_save_LIBS
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11031 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11032 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11033 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11054 if test "x$lt_cv_dlopen" != xno; then
11060 case $lt_cv_dlopen in
11062 save_CPPFLAGS="$CPPFLAGS"
11063 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11065 save_LDFLAGS="$LDFLAGS"
11066 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11069 LIBS="$lt_cv_dlopen_libs $LIBS"
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11072 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11073 if test "${lt_cv_dlopen_self+set}" = set; then :
11074 $as_echo_n "(cached) " >&6
11076 if test "$cross_compiling" = yes; then :
11077 lt_cv_dlopen_self=cross
11079 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11080 lt_status=$lt_dlunknown
11081 cat > conftest.$ac_ext <<_LT_EOF
11082 #line 11082 "configure"
11083 #include "confdefs.h"
11092 # define LT_DLGLOBAL RTLD_GLOBAL
11095 # define LT_DLGLOBAL DL_GLOBAL
11097 # define LT_DLGLOBAL 0
11101 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11102 find out it does not work in some platform. */
11103 #ifndef LT_DLLAZY_OR_NOW
11105 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11108 # define LT_DLLAZY_OR_NOW DL_LAZY
11111 # define LT_DLLAZY_OR_NOW RTLD_NOW
11114 # define LT_DLLAZY_OR_NOW DL_NOW
11116 # define LT_DLLAZY_OR_NOW 0
11123 void fnord() { int i=42;}
11126 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11127 int status = $lt_dlunknown;
11131 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11132 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11133 /* dlclose (self); */
11141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11142 (eval $ac_link) 2>&5
11144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11145 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11146 (./conftest; exit; ) >&5 2>/dev/null
11148 case x$lt_status in
11149 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11150 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11151 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11154 # compilation failed
11155 lt_cv_dlopen_self=no
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11163 $as_echo "$lt_cv_dlopen_self" >&6; }
11165 if test "x$lt_cv_dlopen_self" = xyes; then
11166 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11168 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11169 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11170 $as_echo_n "(cached) " >&6
11172 if test "$cross_compiling" = yes; then :
11173 lt_cv_dlopen_self_static=cross
11175 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11176 lt_status=$lt_dlunknown
11177 cat > conftest.$ac_ext <<_LT_EOF
11178 #line 11178 "configure"
11179 #include "confdefs.h"
11188 # define LT_DLGLOBAL RTLD_GLOBAL
11191 # define LT_DLGLOBAL DL_GLOBAL
11193 # define LT_DLGLOBAL 0
11197 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11198 find out it does not work in some platform. */
11199 #ifndef LT_DLLAZY_OR_NOW
11201 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11204 # define LT_DLLAZY_OR_NOW DL_LAZY
11207 # define LT_DLLAZY_OR_NOW RTLD_NOW
11210 # define LT_DLLAZY_OR_NOW DL_NOW
11212 # define LT_DLLAZY_OR_NOW 0
11219 void fnord() { int i=42;}
11222 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11223 int status = $lt_dlunknown;
11227 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11228 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11229 /* dlclose (self); */
11237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11238 (eval $ac_link) 2>&5
11240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11241 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11242 (./conftest; exit; ) >&5 2>/dev/null
11244 case x$lt_status in
11245 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11246 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11247 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11250 # compilation failed
11251 lt_cv_dlopen_self_static=no
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11259 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11262 CPPFLAGS="$save_CPPFLAGS"
11263 LDFLAGS="$save_LDFLAGS"
11268 case $lt_cv_dlopen_self in
11269 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11270 *) enable_dlopen_self=unknown ;;
11273 case $lt_cv_dlopen_self_static in
11274 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11275 *) enable_dlopen_self_static=unknown ;;
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11298 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11299 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11300 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11301 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11303 $as_echo "yes" >&6; }
11305 # FIXME - insert some real tests, host_os isn't really good enough
11308 if test -n "$STRIP" ; then
11309 striplib="$STRIP -x"
11310 old_striplib="$STRIP -S"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11312 $as_echo "yes" >&6; }
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11315 $as_echo "no" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11320 $as_echo "no" >&6; }
11336 # Report which library types will actually be built
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11338 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11340 $as_echo "$can_build_shared" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11343 $as_echo_n "checking whether to build shared libraries... " >&6; }
11344 test "$can_build_shared" = "no" && enable_shared=no
11346 # On AIX, shared libraries and static libraries use the same namespace, and
11347 # are all built from PIC.
11350 test "$enable_shared" = yes && enable_static=no
11351 if test -n "$RANLIB"; then
11352 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11353 postinstall_cmds='$RANLIB $lib'
11358 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11359 test "$enable_shared" = yes && enable_static=no
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11364 $as_echo "$enable_shared" >&6; }
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11367 $as_echo_n "checking whether to build static libraries... " >&6; }
11368 # Make sure either enable_shared or enable_static is yes.
11369 test "$enable_shared" = yes || enable_static=yes
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11371 $as_echo "$enable_static" >&6; }
11378 ac_cpp='$CPP $CPPFLAGS'
11379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11397 ac_config_commands="$ac_config_commands libtool"
11402 # Only expand once:
11406 # Check whether --enable-sdk was given.
11407 if test "${enable_sdk+set}" = set; then :
11408 enableval=$enable_sdk;
11409 case "${enableval}" in
11412 *) as_fn_error $? "bad value ${enableval} for --enable-sdk" "$LINENO" 5 ;;
11419 if test "x$IS_SDK" = "xyes"; then
11428 # Checks for libraries.
11435 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11436 if test -n "$ac_tool_prefix"; then
11437 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11438 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11440 $as_echo_n "checking for $ac_word... " >&6; }
11441 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11442 $as_echo_n "(cached) " >&6
11444 case $PKG_CONFIG in
11446 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11450 for as_dir in $PATH
11453 test -z "$as_dir" && as_dir=.
11454 for ac_exec_ext in '' $ac_executable_extensions; do
11455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11456 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11467 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11468 if test -n "$PKG_CONFIG"; then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11470 $as_echo "$PKG_CONFIG" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11473 $as_echo "no" >&6; }
11478 if test -z "$ac_cv_path_PKG_CONFIG"; then
11479 ac_pt_PKG_CONFIG=$PKG_CONFIG
11480 # Extract the first word of "pkg-config", so it can be a program name with args.
11481 set dummy pkg-config; ac_word=$2
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11483 $as_echo_n "checking for $ac_word... " >&6; }
11484 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11485 $as_echo_n "(cached) " >&6
11487 case $ac_pt_PKG_CONFIG in
11489 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11493 for as_dir in $PATH
11496 test -z "$as_dir" && as_dir=.
11497 for ac_exec_ext in '' $ac_executable_extensions; do
11498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11499 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11510 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11511 if test -n "$ac_pt_PKG_CONFIG"; then
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11513 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11516 $as_echo "no" >&6; }
11519 if test "x$ac_pt_PKG_CONFIG" = x; then
11522 case $cross_compiling:$ac_tool_warned in
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11526 ac_tool_warned=yes ;;
11528 PKG_CONFIG=$ac_pt_PKG_CONFIG
11531 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11535 if test -n "$PKG_CONFIG"; then
11536 _pkg_min_version=0.9.0
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11538 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11539 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11541 $as_echo "yes" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11544 $as_echo "no" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVSYSTEM" >&5
11551 $as_echo_n "checking for AVSYSTEM... " >&6; }
11553 if test -n "$AVSYSTEM_CFLAGS"; then
11554 pkg_cv_AVSYSTEM_CFLAGS="$AVSYSTEM_CFLAGS"
11555 elif test -n "$PKG_CONFIG"; then
11556 if test -n "$PKG_CONFIG" && \
11557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsysaudio\""; } >&5
11558 ($PKG_CONFIG --exists --print-errors "avsysaudio") 2>&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561 test $ac_status = 0; }; then
11562 pkg_cv_AVSYSTEM_CFLAGS=`$PKG_CONFIG --cflags "avsysaudio" 2>/dev/null`
11569 if test -n "$AVSYSTEM_LIBS"; then
11570 pkg_cv_AVSYSTEM_LIBS="$AVSYSTEM_LIBS"
11571 elif test -n "$PKG_CONFIG"; then
11572 if test -n "$PKG_CONFIG" && \
11573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avsysaudio\""; } >&5
11574 ($PKG_CONFIG --exists --print-errors "avsysaudio") 2>&5
11576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11577 test $ac_status = 0; }; then
11578 pkg_cv_AVSYSTEM_LIBS=`$PKG_CONFIG --libs "avsysaudio" 2>/dev/null`
11588 if test $pkg_failed = yes; then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11593 _pkg_short_errors_supported=yes
11595 _pkg_short_errors_supported=no
11597 if test $_pkg_short_errors_supported = yes; then
11598 AVSYSTEM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "avsysaudio" 2>&1`
11600 AVSYSTEM_PKG_ERRORS=`$PKG_CONFIG --print-errors "avsysaudio" 2>&1`
11602 # Put the nasty error message in config.log where it belongs
11603 echo "$AVSYSTEM_PKG_ERRORS" >&5
11605 as_fn_error $? "Package requirements (avsysaudio) were not met:
11607 $AVSYSTEM_PKG_ERRORS
11609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11610 installed software in a non-standard prefix.
11612 Alternatively, you may set the environment variables AVSYSTEM_CFLAGS
11613 and AVSYSTEM_LIBS to avoid the need to call pkg-config.
11614 See the pkg-config man page for more details." "$LINENO" 5
11615 elif test $pkg_failed = untried; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11617 $as_echo "no" >&6; }
11618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11620 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11621 is in your PATH or set the PKG_CONFIG environment variable to the full
11622 path to pkg-config.
11624 Alternatively, you may set the environment variables AVSYSTEM_CFLAGS
11625 and AVSYSTEM_LIBS to avoid the need to call pkg-config.
11626 See the pkg-config man page for more details.
11628 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11629 See \`config.log' for more details" "$LINENO" 5 ; }
11631 AVSYSTEM_CFLAGS=$pkg_cv_AVSYSTEM_CFLAGS
11632 AVSYSTEM_LIBS=$pkg_cv_AVSYSTEM_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11634 $as_echo "yes" >&6; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMCOMMON" >&5
11643 $as_echo_n "checking for MMCOMMON... " >&6; }
11645 if test -n "$MMCOMMON_CFLAGS"; then
11646 pkg_cv_MMCOMMON_CFLAGS="$MMCOMMON_CFLAGS"
11647 elif test -n "$PKG_CONFIG"; then
11648 if test -n "$PKG_CONFIG" && \
11649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-common\""; } >&5
11650 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
11652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11653 test $ac_status = 0; }; then
11654 pkg_cv_MMCOMMON_CFLAGS=`$PKG_CONFIG --cflags "mm-common" 2>/dev/null`
11661 if test -n "$MMCOMMON_LIBS"; then
11662 pkg_cv_MMCOMMON_LIBS="$MMCOMMON_LIBS"
11663 elif test -n "$PKG_CONFIG"; then
11664 if test -n "$PKG_CONFIG" && \
11665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-common\""; } >&5
11666 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
11668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669 test $ac_status = 0; }; then
11670 pkg_cv_MMCOMMON_LIBS=`$PKG_CONFIG --libs "mm-common" 2>/dev/null`
11680 if test $pkg_failed = yes; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11682 $as_echo "no" >&6; }
11684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11685 _pkg_short_errors_supported=yes
11687 _pkg_short_errors_supported=no
11689 if test $_pkg_short_errors_supported = yes; then
11690 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mm-common" 2>&1`
11692 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "mm-common" 2>&1`
11694 # Put the nasty error message in config.log where it belongs
11695 echo "$MMCOMMON_PKG_ERRORS" >&5
11697 as_fn_error $? "Package requirements (mm-common) were not met:
11699 $MMCOMMON_PKG_ERRORS
11701 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11702 installed software in a non-standard prefix.
11704 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11705 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11706 See the pkg-config man page for more details." "$LINENO" 5
11707 elif test $pkg_failed = untried; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11712 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11713 is in your PATH or set the PKG_CONFIG environment variable to the full
11714 path to pkg-config.
11716 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11717 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11718 See the pkg-config man page for more details.
11720 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11721 See \`config.log' for more details" "$LINENO" 5 ; }
11723 MMCOMMON_CFLAGS=$pkg_cv_MMCOMMON_CFLAGS
11724 MMCOMMON_LIBS=$pkg_cv_MMCOMMON_LIBS
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11726 $as_echo "yes" >&6; }
11732 if test "x$IS_SDK" = "xyes";
11734 echo "SDK build does not use mm-log"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMLOG" >&5
11739 $as_echo_n "checking for MMLOG... " >&6; }
11741 if test -n "$MMLOG_CFLAGS"; then
11742 pkg_cv_MMLOG_CFLAGS="$MMLOG_CFLAGS"
11743 elif test -n "$PKG_CONFIG"; then
11744 if test -n "$PKG_CONFIG" && \
11745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-log\""; } >&5
11746 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
11748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11749 test $ac_status = 0; }; then
11750 pkg_cv_MMLOG_CFLAGS=`$PKG_CONFIG --cflags "mm-log" 2>/dev/null`
11757 if test -n "$MMLOG_LIBS"; then
11758 pkg_cv_MMLOG_LIBS="$MMLOG_LIBS"
11759 elif test -n "$PKG_CONFIG"; then
11760 if test -n "$PKG_CONFIG" && \
11761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-log\""; } >&5
11762 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
11764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11765 test $ac_status = 0; }; then
11766 pkg_cv_MMLOG_LIBS=`$PKG_CONFIG --libs "mm-log" 2>/dev/null`
11776 if test $pkg_failed = yes; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11778 $as_echo "no" >&6; }
11780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11781 _pkg_short_errors_supported=yes
11783 _pkg_short_errors_supported=no
11785 if test $_pkg_short_errors_supported = yes; then
11786 MMLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mm-log" 2>&1`
11788 MMLOG_PKG_ERRORS=`$PKG_CONFIG --print-errors "mm-log" 2>&1`
11790 # Put the nasty error message in config.log where it belongs
11791 echo "$MMLOG_PKG_ERRORS" >&5
11793 as_fn_error $? "Package requirements (mm-log) were not met:
11797 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11798 installed software in a non-standard prefix.
11800 Alternatively, you may set the environment variables MMLOG_CFLAGS
11801 and MMLOG_LIBS to avoid the need to call pkg-config.
11802 See the pkg-config man page for more details." "$LINENO" 5
11803 elif test $pkg_failed = untried; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11805 $as_echo "no" >&6; }
11806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11808 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11809 is in your PATH or set the PKG_CONFIG environment variable to the full
11810 path to pkg-config.
11812 Alternatively, you may set the environment variables MMLOG_CFLAGS
11813 and MMLOG_LIBS to avoid the need to call pkg-config.
11814 See the pkg-config man page for more details.
11816 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11817 See \`config.log' for more details" "$LINENO" 5 ; }
11819 MMLOG_CFLAGS=$pkg_cv_MMLOG_CFLAGS
11820 MMLOG_LIBS=$pkg_cv_MMLOG_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11822 $as_echo "yes" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MMSESSION" >&5
11832 $as_echo_n "checking for MMSESSION... " >&6; }
11834 if test -n "$MMSESSION_CFLAGS"; then
11835 pkg_cv_MMSESSION_CFLAGS="$MMSESSION_CFLAGS"
11836 elif test -n "$PKG_CONFIG"; then
11837 if test -n "$PKG_CONFIG" && \
11838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-session\""; } >&5
11839 ($PKG_CONFIG --exists --print-errors "mm-session") 2>&5
11841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11842 test $ac_status = 0; }; then
11843 pkg_cv_MMSESSION_CFLAGS=`$PKG_CONFIG --cflags "mm-session" 2>/dev/null`
11850 if test -n "$MMSESSION_LIBS"; then
11851 pkg_cv_MMSESSION_LIBS="$MMSESSION_LIBS"
11852 elif test -n "$PKG_CONFIG"; then
11853 if test -n "$PKG_CONFIG" && \
11854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mm-session\""; } >&5
11855 ($PKG_CONFIG --exists --print-errors "mm-session") 2>&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11858 test $ac_status = 0; }; then
11859 pkg_cv_MMSESSION_LIBS=`$PKG_CONFIG --libs "mm-session" 2>/dev/null`
11869 if test $pkg_failed = yes; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11871 $as_echo "no" >&6; }
11873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11874 _pkg_short_errors_supported=yes
11876 _pkg_short_errors_supported=no
11878 if test $_pkg_short_errors_supported = yes; then
11879 MMSESSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mm-session" 2>&1`
11881 MMSESSION_PKG_ERRORS=`$PKG_CONFIG --print-errors "mm-session" 2>&1`
11883 # Put the nasty error message in config.log where it belongs
11884 echo "$MMSESSION_PKG_ERRORS" >&5
11886 as_fn_error $? "Package requirements (mm-session) were not met:
11888 $MMSESSION_PKG_ERRORS
11890 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11891 installed software in a non-standard prefix.
11893 Alternatively, you may set the environment variables MMSESSION_CFLAGS
11894 and MMSESSION_LIBS to avoid the need to call pkg-config.
11895 See the pkg-config man page for more details." "$LINENO" 5
11896 elif test $pkg_failed = untried; then
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 $as_echo "no" >&6; }
11899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11901 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11902 is in your PATH or set the PKG_CONFIG environment variable to the full
11903 path to pkg-config.
11905 Alternatively, you may set the environment variables MMSESSION_CFLAGS
11906 and MMSESSION_LIBS to avoid the need to call pkg-config.
11907 See the pkg-config man page for more details.
11909 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11910 See \`config.log' for more details" "$LINENO" 5 ; }
11912 MMSESSION_CFLAGS=$pkg_cv_MMSESSION_CFLAGS
11913 MMSESSION_LIBS=$pkg_cv_MMSESSION_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11915 $as_echo "yes" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AUDIOSESSIONMGR" >&5
11924 $as_echo_n "checking for AUDIOSESSIONMGR... " >&6; }
11926 if test -n "$AUDIOSESSIONMGR_CFLAGS"; then
11927 pkg_cv_AUDIOSESSIONMGR_CFLAGS="$AUDIOSESSIONMGR_CFLAGS"
11928 elif test -n "$PKG_CONFIG"; then
11929 if test -n "$PKG_CONFIG" && \
11930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"audio-session-mgr\""; } >&5
11931 ($PKG_CONFIG --exists --print-errors "audio-session-mgr") 2>&5
11933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934 test $ac_status = 0; }; then
11935 pkg_cv_AUDIOSESSIONMGR_CFLAGS=`$PKG_CONFIG --cflags "audio-session-mgr" 2>/dev/null`
11942 if test -n "$AUDIOSESSIONMGR_LIBS"; then
11943 pkg_cv_AUDIOSESSIONMGR_LIBS="$AUDIOSESSIONMGR_LIBS"
11944 elif test -n "$PKG_CONFIG"; then
11945 if test -n "$PKG_CONFIG" && \
11946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"audio-session-mgr\""; } >&5
11947 ($PKG_CONFIG --exists --print-errors "audio-session-mgr") 2>&5
11949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11950 test $ac_status = 0; }; then
11951 pkg_cv_AUDIOSESSIONMGR_LIBS=`$PKG_CONFIG --libs "audio-session-mgr" 2>/dev/null`
11961 if test $pkg_failed = yes; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11963 $as_echo "no" >&6; }
11965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11966 _pkg_short_errors_supported=yes
11968 _pkg_short_errors_supported=no
11970 if test $_pkg_short_errors_supported = yes; then
11971 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "audio-session-mgr" 2>&1`
11973 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --print-errors "audio-session-mgr" 2>&1`
11975 # Put the nasty error message in config.log where it belongs
11976 echo "$AUDIOSESSIONMGR_PKG_ERRORS" >&5
11978 as_fn_error $? "Package requirements (audio-session-mgr) were not met:
11980 $AUDIOSESSIONMGR_PKG_ERRORS
11982 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11983 installed software in a non-standard prefix.
11985 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11986 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11987 See the pkg-config man page for more details." "$LINENO" 5
11988 elif test $pkg_failed = untried; then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11993 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11994 is in your PATH or set the PKG_CONFIG environment variable to the full
11995 path to pkg-config.
11997 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11998 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11999 See the pkg-config man page for more details.
12001 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12002 See \`config.log' for more details" "$LINENO" 5 ; }
12004 AUDIOSESSIONMGR_CFLAGS=$pkg_cv_AUDIOSESSIONMGR_CFLAGS
12005 AUDIOSESSIONMGR_LIBS=$pkg_cv_AUDIOSESSIONMGR_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12007 $as_echo "yes" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
12016 $as_echo_n "checking for GLIB2... " >&6; }
12018 if test -n "$GLIB2_CFLAGS"; then
12019 pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
12020 elif test -n "$PKG_CONFIG"; then
12021 if test -n "$PKG_CONFIG" && \
12022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
12023 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026 test $ac_status = 0; }; then
12027 pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0" 2>/dev/null`
12034 if test -n "$GLIB2_LIBS"; then
12035 pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
12036 elif test -n "$PKG_CONFIG"; then
12037 if test -n "$PKG_CONFIG" && \
12038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gthread-2.0\""; } >&5
12039 ($PKG_CONFIG --exists --print-errors "glib-2.0 gthread-2.0") 2>&5
12041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042 test $ac_status = 0; }; then
12043 pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0" 2>/dev/null`
12053 if test $pkg_failed = yes; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12058 _pkg_short_errors_supported=yes
12060 _pkg_short_errors_supported=no
12062 if test $_pkg_short_errors_supported = yes; then
12063 GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 gthread-2.0" 2>&1`
12065 GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 gthread-2.0" 2>&1`
12067 # Put the nasty error message in config.log where it belongs
12068 echo "$GLIB2_PKG_ERRORS" >&5
12070 as_fn_error $? "Package requirements (glib-2.0 gthread-2.0) were not met:
12074 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12075 installed software in a non-standard prefix.
12077 Alternatively, you may set the environment variables GLIB2_CFLAGS
12078 and GLIB2_LIBS to avoid the need to call pkg-config.
12079 See the pkg-config man page for more details." "$LINENO" 5
12080 elif test $pkg_failed = untried; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12085 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12086 is in your PATH or set the PKG_CONFIG environment variable to the full
12087 path to pkg-config.
12089 Alternatively, you may set the environment variables GLIB2_CFLAGS
12090 and GLIB2_LIBS to avoid the need to call pkg-config.
12091 See the pkg-config man page for more details.
12093 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12094 See \`config.log' for more details" "$LINENO" 5 ; }
12096 GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
12097 GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12099 $as_echo "yes" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VCONF" >&5
12108 $as_echo_n "checking for VCONF... " >&6; }
12110 if test -n "$VCONF_CFLAGS"; then
12111 pkg_cv_VCONF_CFLAGS="$VCONF_CFLAGS"
12112 elif test -n "$PKG_CONFIG"; then
12113 if test -n "$PKG_CONFIG" && \
12114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vconf\""; } >&5
12115 ($PKG_CONFIG --exists --print-errors "vconf") 2>&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12118 test $ac_status = 0; }; then
12119 pkg_cv_VCONF_CFLAGS=`$PKG_CONFIG --cflags "vconf" 2>/dev/null`
12126 if test -n "$VCONF_LIBS"; then
12127 pkg_cv_VCONF_LIBS="$VCONF_LIBS"
12128 elif test -n "$PKG_CONFIG"; then
12129 if test -n "$PKG_CONFIG" && \
12130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vconf\""; } >&5
12131 ($PKG_CONFIG --exists --print-errors "vconf") 2>&5
12133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12134 test $ac_status = 0; }; then
12135 pkg_cv_VCONF_LIBS=`$PKG_CONFIG --libs "vconf" 2>/dev/null`
12145 if test $pkg_failed = yes; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12147 $as_echo "no" >&6; }
12149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12150 _pkg_short_errors_supported=yes
12152 _pkg_short_errors_supported=no
12154 if test $_pkg_short_errors_supported = yes; then
12155 VCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vconf" 2>&1`
12157 VCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "vconf" 2>&1`
12159 # Put the nasty error message in config.log where it belongs
12160 echo "$VCONF_PKG_ERRORS" >&5
12162 as_fn_error $? "Package requirements (vconf) were not met:
12166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12167 installed software in a non-standard prefix.
12169 Alternatively, you may set the environment variables VCONF_CFLAGS
12170 and VCONF_LIBS to avoid the need to call pkg-config.
12171 See the pkg-config man page for more details." "$LINENO" 5
12172 elif test $pkg_failed = untried; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174 $as_echo "no" >&6; }
12175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12177 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12178 is in your PATH or set the PKG_CONFIG environment variable to the full
12179 path to pkg-config.
12181 Alternatively, you may set the environment variables VCONF_CFLAGS
12182 and VCONF_LIBS to avoid the need to call pkg-config.
12183 See the pkg-config man page for more details.
12185 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12186 See \`config.log' for more details" "$LINENO" 5 ; }
12188 VCONF_CFLAGS=$pkg_cv_VCONF_CFLAGS
12189 VCONF_LIBS=$pkg_cv_VCONF_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HEYNOTI" >&5
12200 $as_echo_n "checking for HEYNOTI... " >&6; }
12202 if test -n "$HEYNOTI_CFLAGS"; then
12203 pkg_cv_HEYNOTI_CFLAGS="$HEYNOTI_CFLAGS"
12204 elif test -n "$PKG_CONFIG"; then
12205 if test -n "$PKG_CONFIG" && \
12206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"heynoti\""; } >&5
12207 ($PKG_CONFIG --exists --print-errors "heynoti") 2>&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210 test $ac_status = 0; }; then
12211 pkg_cv_HEYNOTI_CFLAGS=`$PKG_CONFIG --cflags "heynoti" 2>/dev/null`
12218 if test -n "$HEYNOTI_LIBS"; then
12219 pkg_cv_HEYNOTI_LIBS="$HEYNOTI_LIBS"
12220 elif test -n "$PKG_CONFIG"; then
12221 if test -n "$PKG_CONFIG" && \
12222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"heynoti\""; } >&5
12223 ($PKG_CONFIG --exists --print-errors "heynoti") 2>&5
12225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12226 test $ac_status = 0; }; then
12227 pkg_cv_HEYNOTI_LIBS=`$PKG_CONFIG --libs "heynoti" 2>/dev/null`
12237 if test $pkg_failed = yes; then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12242 _pkg_short_errors_supported=yes
12244 _pkg_short_errors_supported=no
12246 if test $_pkg_short_errors_supported = yes; then
12247 HEYNOTI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "heynoti" 2>&1`
12249 HEYNOTI_PKG_ERRORS=`$PKG_CONFIG --print-errors "heynoti" 2>&1`
12251 # Put the nasty error message in config.log where it belongs
12252 echo "$HEYNOTI_PKG_ERRORS" >&5
12254 as_fn_error $? "Package requirements (heynoti) were not met:
12256 $HEYNOTI_PKG_ERRORS
12258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12259 installed software in a non-standard prefix.
12261 Alternatively, you may set the environment variables HEYNOTI_CFLAGS
12262 and HEYNOTI_LIBS to avoid the need to call pkg-config.
12263 See the pkg-config man page for more details." "$LINENO" 5
12264 elif test $pkg_failed = untried; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12269 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12270 is in your PATH or set the PKG_CONFIG environment variable to the full
12271 path to pkg-config.
12273 Alternatively, you may set the environment variables HEYNOTI_CFLAGS
12274 and HEYNOTI_LIBS to avoid the need to call pkg-config.
12275 See the pkg-config man page for more details.
12277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12278 See \`config.log' for more details" "$LINENO" 5 ; }
12280 HEYNOTI_CFLAGS=$pkg_cv_HEYNOTI_CFLAGS
12281 HEYNOTI_LIBS=$pkg_cv_HEYNOTI_LIBS
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12283 $as_echo "yes" >&6; }
12290 # Check whether --enable-pulse was given.
12291 if test "${enable_pulse+set}" = set; then :
12292 enableval=$enable_pulse;
12293 case "${enableval}" in
12294 yes) USE_PULSE=yes ;;
12295 no) USE_PULSE=no ;;
12296 *) as_fn_error $? "bad value ${enableval} for --enable-pulse" "$LINENO" 5 ;;
12303 if test "x$USE_PULSE" = "xyes"; then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5
12307 $as_echo_n "checking for PULSE... " >&6; }
12309 if test -n "$PULSE_CFLAGS"; then
12310 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
12311 elif test -n "$PKG_CONFIG"; then
12312 if test -n "$PKG_CONFIG" && \
12313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
12314 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12317 test $ac_status = 0; }; then
12318 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse" 2>/dev/null`
12325 if test -n "$PULSE_LIBS"; then
12326 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
12327 elif test -n "$PKG_CONFIG"; then
12328 if test -n "$PKG_CONFIG" && \
12329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse\""; } >&5
12330 ($PKG_CONFIG --exists --print-errors "libpulse") 2>&5
12332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12333 test $ac_status = 0; }; then
12334 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse" 2>/dev/null`
12344 if test $pkg_failed = yes; then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12349 _pkg_short_errors_supported=yes
12351 _pkg_short_errors_supported=no
12353 if test $_pkg_short_errors_supported = yes; then
12354 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse" 2>&1`
12356 PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse" 2>&1`
12358 # Put the nasty error message in config.log where it belongs
12359 echo "$PULSE_PKG_ERRORS" >&5
12361 as_fn_error $? "Package requirements (libpulse) were not met:
12365 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12366 installed software in a non-standard prefix.
12368 Alternatively, you may set the environment variables PULSE_CFLAGS
12369 and PULSE_LIBS to avoid the need to call pkg-config.
12370 See the pkg-config man page for more details." "$LINENO" 5
12371 elif test $pkg_failed = untried; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373 $as_echo "no" >&6; }
12374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12376 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12377 is in your PATH or set the PKG_CONFIG environment variable to the full
12378 path to pkg-config.
12380 Alternatively, you may set the environment variables PULSE_CFLAGS
12381 and PULSE_LIBS to avoid the need to call pkg-config.
12382 See the pkg-config man page for more details.
12384 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12385 See \`config.log' for more details" "$LINENO" 5 ; }
12387 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
12388 PULSE_LIBS=$pkg_cv_PULSE_LIBS
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12390 $as_echo "yes" >&6; }
12396 if test "x$USE_PULSE" = "xyes"; then
12398 USE_PULSE_FALSE='#'
12406 # Checks for header files.
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12408 $as_echo_n "checking for ANSI C header files... " >&6; }
12409 if test "${ac_cv_header_stdc+set}" = set; then :
12410 $as_echo_n "(cached) " >&6
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 #include <stdlib.h>
12415 #include <stdarg.h>
12416 #include <string.h>
12427 if ac_fn_c_try_compile "$LINENO"; then :
12428 ac_cv_header_stdc=yes
12430 ac_cv_header_stdc=no
12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12434 if test $ac_cv_header_stdc = yes; then
12435 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 #include <string.h>
12441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12442 $EGREP "memchr" >/dev/null 2>&1; then :
12445 ac_cv_header_stdc=no
12451 if test $ac_cv_header_stdc = yes; then
12452 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12455 #include <stdlib.h>
12458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12459 $EGREP "free" >/dev/null 2>&1; then :
12462 ac_cv_header_stdc=no
12468 if test $ac_cv_header_stdc = yes; then
12469 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12470 if test "$cross_compiling" = yes; then :
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 #include <stdlib.h>
12477 #if ((' ' & 0x0FF) == 0x020)
12478 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12479 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12481 # define ISLOWER(c) \
12482 (('a' <= (c) && (c) <= 'i') \
12483 || ('j' <= (c) && (c) <= 'r') \
12484 || ('s' <= (c) && (c) <= 'z'))
12485 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12488 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12493 for (i = 0; i < 256; i++)
12494 if (XOR (islower (i), ISLOWER (i))
12495 || toupper (i) != TOUPPER (i))
12500 if ac_fn_c_try_run "$LINENO"; then :
12503 ac_cv_header_stdc=no
12505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12506 conftest.$ac_objext conftest.beam conftest.$ac_ext
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12512 $as_echo "$ac_cv_header_stdc" >&6; }
12513 if test $ac_cv_header_stdc = yes; then
12515 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12519 for ac_header in fcntl.h memory.h stdlib.h string.h sys/time.h unistd.h errno.h sys/types.h sys/stat.h
12521 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12522 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12523 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12524 cat >>confdefs.h <<_ACEOF
12525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12533 # Checks for typedefs, structures, and compiler characteristics.
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12535 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12536 if test "${ac_cv_c_const+set}" = set; then :
12537 $as_echo_n "(cached) " >&6
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12545 /* FIXME: Include the comments suggested by Paul. */
12546 #ifndef __cplusplus
12547 /* Ultrix mips cc rejects this. */
12548 typedef int charset[2];
12550 /* SunOS 4.1.1 cc rejects this. */
12551 char const *const *pcpcc;
12553 /* NEC SVR4.0.2 mips cc rejects this. */
12554 struct point {int x, y;};
12555 static struct point const zero = {0,0};
12556 /* AIX XL C 1.02.0.0 rejects this.
12557 It does not let you subtract one const X* pointer from another in
12558 an arm of an if-expression whose if-part is not a constant
12560 const char *g = "string";
12561 pcpcc = &g + (g ? g-g : 0);
12562 /* HPUX 7.0 cc rejects these. */
12564 ppc = (char**) pcpcc;
12565 pcpcc = (char const *const *) ppc;
12566 { /* SCO 3.2v4 cc rejects this. */
12568 char const *s = 0 ? (char *) 0 : (char const *) 0;
12573 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12574 int x[] = {25, 17};
12575 const int *foo = &x[0];
12578 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12579 typedef const int *iptr;
12583 { /* AIX XL C 1.02.0.0 rejects this saying
12584 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12585 struct s { int j; const int *ap[3]; };
12586 struct s *b; b->j = 5;
12588 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12589 const int foo = 10;
12590 if (!foo) return 0;
12592 return !cs[0] && !zero.x;
12599 if ac_fn_c_try_compile "$LINENO"; then :
12604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12607 $as_echo "$ac_cv_c_const" >&6; }
12608 if test $ac_cv_c_const = no; then
12610 $as_echo "#define const /**/" >>confdefs.h
12614 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12615 if test "x$ac_cv_type_pid_t" = x""yes; then :
12619 cat >>confdefs.h <<_ACEOF
12625 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12626 if test "x$ac_cv_type_size_t" = x""yes; then :
12630 cat >>confdefs.h <<_ACEOF
12631 #define size_t unsigned int
12637 # Checks for library functions.
12638 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12639 # for constant arguments. Useless!
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12641 $as_echo_n "checking for working alloca.h... " >&6; }
12642 if test "${ac_cv_working_alloca_h+set}" = set; then :
12643 $as_echo_n "(cached) " >&6
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12647 #include <alloca.h>
12651 char *p = (char *) alloca (2 * sizeof (int));
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 ac_cv_working_alloca_h=yes
12660 ac_cv_working_alloca_h=no
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12666 $as_echo "$ac_cv_working_alloca_h" >&6; }
12667 if test $ac_cv_working_alloca_h = yes; then
12669 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12674 $as_echo_n "checking for alloca... " >&6; }
12675 if test "${ac_cv_func_alloca_works+set}" = set; then :
12676 $as_echo_n "(cached) " >&6
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 # define alloca __builtin_alloca
12684 # include <malloc.h>
12685 # define alloca _alloca
12687 # ifdef HAVE_ALLOCA_H
12688 # include <alloca.h>
12693 # ifndef alloca /* predefined by HP cc +Olibcalls */
12704 char *p = (char *) alloca (1);
12710 if ac_fn_c_try_link "$LINENO"; then :
12711 ac_cv_func_alloca_works=yes
12713 ac_cv_func_alloca_works=no
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12719 $as_echo "$ac_cv_func_alloca_works" >&6; }
12721 if test $ac_cv_func_alloca_works = yes; then
12723 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12726 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12727 # that cause trouble. Some versions do not even contain alloca or
12728 # contain a buggy version. If you still want to use their alloca,
12729 # use ar to extract alloca.o from them instead of compiling alloca.c.
12731 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12733 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12737 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12738 if test "${ac_cv_os_cray+set}" = set; then :
12739 $as_echo_n "(cached) " >&6
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12743 #if defined CRAY && ! defined CRAY2
12750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12751 $EGREP "webecray" >/dev/null 2>&1; then :
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12760 $as_echo "$ac_cv_os_cray" >&6; }
12761 if test $ac_cv_os_cray = yes; then
12762 for ac_func in _getb67 GETB67 getb67; do
12763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12767 cat >>confdefs.h <<_ACEOF
12768 #define CRAY_STACKSEG_END $ac_func
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12778 $as_echo_n "checking stack direction for C alloca... " >&6; }
12779 if test "${ac_cv_c_stack_direction+set}" = set; then :
12780 $as_echo_n "(cached) " >&6
12782 if test "$cross_compiling" = yes; then :
12783 ac_cv_c_stack_direction=0
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12787 $ac_includes_default
12789 find_stack_direction ()
12791 static char *addr = 0;
12796 return find_stack_direction ();
12799 return (&dummy > addr) ? 1 : -1;
12805 return find_stack_direction () < 0;
12808 if ac_fn_c_try_run "$LINENO"; then :
12809 ac_cv_c_stack_direction=1
12811 ac_cv_c_stack_direction=-1
12813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12814 conftest.$ac_objext conftest.beam conftest.$ac_ext
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12819 $as_echo "$ac_cv_c_stack_direction" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define STACK_DIRECTION $ac_cv_c_stack_direction
12827 for ac_header in vfork.h
12829 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12830 if test "x$ac_cv_header_vfork_h" = x""yes; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define HAVE_VFORK_H 1
12839 for ac_func in fork vfork
12841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12843 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12851 if test "x$ac_cv_func_fork" = xyes; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12853 $as_echo_n "checking for working fork... " >&6; }
12854 if test "${ac_cv_func_fork_works+set}" = set; then :
12855 $as_echo_n "(cached) " >&6
12857 if test "$cross_compiling" = yes; then :
12858 ac_cv_func_fork_works=cross
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12862 $ac_includes_default
12867 /* By Ruediger Kuhlmann. */
12868 return fork () < 0;
12874 if ac_fn_c_try_run "$LINENO"; then :
12875 ac_cv_func_fork_works=yes
12877 ac_cv_func_fork_works=no
12879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12880 conftest.$ac_objext conftest.beam conftest.$ac_ext
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12885 $as_echo "$ac_cv_func_fork_works" >&6; }
12888 ac_cv_func_fork_works=$ac_cv_func_fork
12890 if test "x$ac_cv_func_fork_works" = xcross; then
12892 *-*-amigaos* | *-*-msdosdjgpp*)
12893 # Override, as these systems have only a dummy fork() stub
12894 ac_cv_func_fork_works=no
12897 ac_cv_func_fork_works=yes
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12901 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12903 ac_cv_func_vfork_works=$ac_cv_func_vfork
12904 if test "x$ac_cv_func_vfork" = xyes; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12906 $as_echo_n "checking for working vfork... " >&6; }
12907 if test "${ac_cv_func_vfork_works+set}" = set; then :
12908 $as_echo_n "(cached) " >&6
12910 if test "$cross_compiling" = yes; then :
12911 ac_cv_func_vfork_works=cross
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12915 /* Thanks to Paul Eggert for this test. */
12916 $ac_includes_default
12917 #include <sys/wait.h>
12918 #ifdef HAVE_VFORK_H
12919 # include <vfork.h>
12921 /* On some sparc systems, changes by the child to local and incoming
12922 argument registers are propagated back to the parent. The compiler
12923 is told about this with #include <vfork.h>, but some compilers
12924 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
12925 static variable whose address is put into a register that is
12926 clobbered by the vfork. */
12929 sparc_address_test (int arg)
12931 sparc_address_test (arg) int arg;
12934 static pid_t child;
12952 pid_t parent = getpid ();
12955 sparc_address_test (0);
12960 /* Here is another test for sparc vfork register problems. This
12961 test uses lots of local variables, at least as many local
12962 variables as main has allocated so far including compiler
12963 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
12964 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
12965 reuse the register of parent for one of the local variables,
12966 since it will think that parent can't possibly be used any more
12967 in this routine. Assigning to the local variable will thus
12968 munge parent in the parent process. */
12970 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12971 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12972 /* Convince the compiler that p..p7 are live; otherwise, it might
12973 use the same hardware register for all 8 local variables. */
12974 if (p != p1 || p != p2 || p != p3 || p != p4
12975 || p != p5 || p != p6 || p != p7)
12978 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12979 from child file descriptors. If the child closes a descriptor
12980 before it execs or exits, this munges the parent's descriptor
12981 as well. Test for this by closing stdout in the child. */
12982 _exit(close(fileno(stdout)) != 0);
12987 while (wait(&status) != child)
12990 /* Was there some problem with vforking? */
12993 /* Did the child fail? (This shouldn't happen.) */
12996 /* Did the vfork/compiler bug occur? */
12997 || parent != getpid()
12999 /* Did the file descriptor bug occur? */
13000 || fstat(fileno(stdout), &st) != 0
13005 if ac_fn_c_try_run "$LINENO"; then :
13006 ac_cv_func_vfork_works=yes
13008 ac_cv_func_vfork_works=no
13010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13011 conftest.$ac_objext conftest.beam conftest.$ac_ext
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13016 $as_echo "$ac_cv_func_vfork_works" >&6; }
13019 if test "x$ac_cv_func_fork_works" = xcross; then
13020 ac_cv_func_vfork_works=$ac_cv_func_vfork
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13022 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13025 if test "x$ac_cv_func_vfork_works" = xyes; then
13027 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13031 $as_echo "#define vfork fork" >>confdefs.h
13034 if test "x$ac_cv_func_fork_works" = xyes; then
13036 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13040 for ac_header in stdlib.h
13042 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
13044 cat >>confdefs.h <<_ACEOF
13045 #define HAVE_STDLIB_H 1
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13053 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13054 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
13055 $as_echo_n "(cached) " >&6
13057 if test "$cross_compiling" = yes; then :
13058 ac_cv_func_malloc_0_nonnull=no
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13062 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13063 # include <stdlib.h>
13071 return ! malloc (0);
13076 if ac_fn_c_try_run "$LINENO"; then :
13077 ac_cv_func_malloc_0_nonnull=yes
13079 ac_cv_func_malloc_0_nonnull=no
13081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13082 conftest.$ac_objext conftest.beam conftest.$ac_ext
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13087 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13088 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13090 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13093 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13095 case " $LIBOBJS " in
13096 *" malloc.$ac_objext "* ) ;;
13097 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
13102 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
13108 $as_echo_n "checking for working memcmp... " >&6; }
13109 if test "${ac_cv_func_memcmp_working+set}" = set; then :
13110 $as_echo_n "(cached) " >&6
13112 if test "$cross_compiling" = yes; then :
13113 ac_cv_func_memcmp_working=no
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13117 $ac_includes_default
13122 /* Some versions of memcmp are not 8-bit clean. */
13123 char c0 = '\100', c1 = '\200', c2 = '\201';
13124 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
13127 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
13128 or more and with at least one buffer not starting on a 4-byte boundary.
13129 William Lewis provided this test program. */
13134 for (i = 0; i < 4; i++)
13138 strcpy (a, "--------01111111");
13139 strcpy (b, "--------10000000");
13140 if (memcmp (a, b, 16) >= 0)
13150 if ac_fn_c_try_run "$LINENO"; then :
13151 ac_cv_func_memcmp_working=yes
13153 ac_cv_func_memcmp_working=no
13155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13156 conftest.$ac_objext conftest.beam conftest.$ac_ext
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
13161 $as_echo "$ac_cv_func_memcmp_working" >&6; }
13162 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
13163 *" memcmp.$ac_objext "* ) ;;
13164 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
13169 for ac_header in sys/select.h sys/socket.h
13171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13172 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
13183 $as_echo_n "checking types of arguments for select... " >&6; }
13184 if test "${ac_cv_func_select_args+set}" = set; then :
13185 $as_echo_n "(cached) " >&6
13187 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13188 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13189 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13192 $ac_includes_default
13193 #ifdef HAVE_SYS_SELECT_H
13194 # include <sys/select.h>
13196 #ifdef HAVE_SYS_SOCKET_H
13197 # include <sys/socket.h>
13203 extern int select ($ac_arg1,
13204 $ac_arg234, $ac_arg234, $ac_arg234,
13210 if ac_fn_c_try_compile "$LINENO"; then :
13211 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217 # Provide a safe default value.
13218 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
13222 $as_echo "$ac_cv_func_select_args" >&6; }
13223 ac_save_IFS=$IFS; IFS=','
13224 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13228 cat >>confdefs.h <<_ACEOF
13229 #define SELECT_TYPE_ARG1 $1
13233 cat >>confdefs.h <<_ACEOF
13234 #define SELECT_TYPE_ARG234 ($2)
13238 cat >>confdefs.h <<_ACEOF
13239 #define SELECT_TYPE_ARG5 ($3)
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13245 $as_echo_n "checking return type of signal handlers... " >&6; }
13246 if test "${ac_cv_type_signal+set}" = set; then :
13247 $as_echo_n "(cached) " >&6
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13251 #include <sys/types.h>
13252 #include <signal.h>
13257 return *(signal (0, 0)) (0) == 1;
13262 if ac_fn_c_try_compile "$LINENO"; then :
13263 ac_cv_type_signal=int
13265 ac_cv_type_signal=void
13267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13270 $as_echo "$ac_cv_type_signal" >&6; }
13272 cat >>confdefs.h <<_ACEOF
13273 #define RETSIGTYPE $ac_cv_type_signal
13277 for ac_func in memset select
13279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13282 cat >>confdefs.h <<_ACEOF
13283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13289 ac_config_files="$ac_config_files common/Makefile Makefile server/Makefile server/plugin/Makefile server/plugin/wav/Makefile server/plugin/keytone/Makefile server/plugin/headset/Makefile server/plugin/tone/Makefile pkgconfig/Makefile pkgconfig/mm-sound.pc pkgconfig/mm-keysound.pc pkgconfig-sdk/Makefile pkgconfig-sdk/mm-sound.pc pkgconfig-sdk/mm-keysound.pc testsuite/Makefile init/Makefile"
13291 cat >confcache <<\_ACEOF
13292 # This file is a shell script that caches the results of configure
13293 # tests run on this system so they can be shared between configure
13294 # scripts and configure runs, see configure's option --config-cache.
13295 # It is not useful on other systems. If it contains results you don't
13296 # want to keep, you may remove or edit it.
13298 # config.status only pays attention to the cache file if you give it
13299 # the --recheck option to rerun configure.
13301 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13302 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13303 # following values.
13307 # The following way of writing the cache mishandles newlines in values,
13308 # but we know of no workaround that is simple, portable, and efficient.
13309 # So, we kill variables containing newlines.
13310 # Ultrix sh set writes to stderr and can't be redirected directly,
13311 # and sets the high bit in the cache file unless we assign to the vars.
13313 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13314 eval ac_val=\$$ac_var
13318 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13319 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13322 _ | IFS | as_nl) ;; #(
13323 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13324 *) { eval $ac_var=; unset $ac_var;} ;;
13330 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13331 *${as_nl}ac_space=\ *)
13332 # `set' does not quote correctly, so add quotes: double-quote
13333 # substitution turns \\\\ into \\, and sed turns \\ into \.
13336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13339 # `set' quotes correctly as required by POSIX, so do not add quotes.
13340 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13351 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13353 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13354 if test -w "$cache_file"; then
13355 test "x$cache_file" != "x/dev/null" &&
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13357 $as_echo "$as_me: updating cache $cache_file" >&6;}
13358 cat confcache >$cache_file
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13361 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13367 # Let make expand exec_prefix.
13368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13370 DEFS=-DHAVE_CONFIG_H
13375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13376 # 1. Remove the extension, and $U if already installed.
13377 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13378 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13380 # will be set to the directory where LIBOBJS objects are built.
13381 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13382 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13384 LIBOBJS=$ac_libobjs
13386 LTLIBOBJS=$ac_ltlibobjs
13389 if test -n "$EXEEXT"; then
13391 am__EXEEXT_FALSE='#'
13393 am__EXEEXT_TRUE='#'
13397 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13398 as_fn_error $? "conditional \"AMDEP\" was never defined.
13399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13401 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13402 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13405 if test -z "${IS_SDK_TRUE}" && test -z "${IS_SDK_FALSE}"; then
13406 as_fn_error $? "conditional \"IS_SDK\" was never defined.
13407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13409 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
13410 as_fn_error $? "conditional \"USE_PULSE\" was never defined.
13411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13414 : ${CONFIG_STATUS=./config.status}
13416 ac_clean_files_save=$ac_clean_files
13417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13419 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13423 # Generated by $as_me.
13424 # Run this file to recreate the current configuration.
13425 # Compiler output produced by configure, useful for debugging
13426 # configure, is in config.log if it exists.
13429 ac_cs_recheck=false
13432 SHELL=\${CONFIG_SHELL-$SHELL}
13435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13436 ## -------------------- ##
13437 ## M4sh Initialization. ##
13438 ## -------------------- ##
13440 # Be more Bourne compatible
13441 DUALCASE=1; export DUALCASE # for MKS sh
13442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13445 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13446 # is contrary to our usage. Disable this feature.
13447 alias -g '${1+"$@"}'='"$@"'
13448 setopt NO_GLOB_SUBST
13450 case `(set -o) 2>/dev/null` in #(
13462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13466 # Prefer a ksh shell builtin over an external printf program on Solaris,
13467 # but without wasting forks for bash or zsh.
13468 if test -z "$BASH_VERSION$ZSH_VERSION" \
13469 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13470 as_echo='print -r --'
13471 as_echo_n='print -rn --'
13472 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13473 as_echo='printf %s\n'
13474 as_echo_n='printf %s'
13476 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13477 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13478 as_echo_n='/usr/ucb/echo -n'
13480 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13481 as_echo_n_body='eval
13485 expr "X$arg" : "X\\(.*\\)$as_nl";
13486 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13488 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13490 export as_echo_n_body
13491 as_echo_n='sh -c $as_echo_n_body as_echo'
13493 export as_echo_body
13494 as_echo='sh -c $as_echo_body as_echo'
13497 # The user is always right.
13498 if test "${PATH_SEPARATOR+set}" != set; then
13500 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13501 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13508 # We need space, tab and new line, in precisely that order. Quoting is
13509 # there to prevent editors from complaining about space-tab.
13510 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13511 # splitting by setting IFS to empty value.)
13514 # Find who we are. Look in the path if we contain no directory separator.
13516 *[\\/]* ) as_myself=$0 ;;
13517 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13518 for as_dir in $PATH
13521 test -z "$as_dir" && as_dir=.
13522 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13528 # We did not find ourselves, most probably we were run as `sh COMMAND'
13529 # in which case we are not to be found in the path.
13530 if test "x$as_myself" = x; then
13533 if test ! -f "$as_myself"; then
13534 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13538 # Unset variables that we do not need and which cause bugs (e.g. in
13539 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13540 # suppresses any "Segmentation fault" message there. '((' could
13541 # trigger a bug in pdksh 5.2.14.
13542 for as_var in BASH_ENV ENV MAIL MAILPATH
13543 do eval test x\${$as_var+set} = xset \
13544 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13557 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13560 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13561 # ----------------------------------------
13562 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13563 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13564 # script with STATUS, using 1 if that was 0.
13567 as_status=$1; test $as_status -eq 0 && as_status=1
13569 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13570 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13572 $as_echo "$as_me: error: $2" >&2
13573 as_fn_exit $as_status
13577 # as_fn_set_status STATUS
13578 # -----------------------
13579 # Set $? to STATUS, without forking.
13580 as_fn_set_status ()
13583 } # as_fn_set_status
13585 # as_fn_exit STATUS
13586 # -----------------
13587 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13591 as_fn_set_status $1
13597 # Portably unset VAR.
13600 { eval $1=; unset $1;}
13602 as_unset=as_fn_unset
13603 # as_fn_append VAR VALUE
13604 # ----------------------
13605 # Append the text in VALUE to the end of the definition contained in VAR. Take
13606 # advantage of any shell optimizations that allow amortized linear growth over
13607 # repeated appends, instead of the typical quadratic growth present in naive
13609 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13610 eval 'as_fn_append ()
13621 # as_fn_arith ARG...
13622 # ------------------
13623 # Perform arithmetic evaluation on the ARGs, and store the result in the
13624 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13625 # must be portable across $(()) and expr.
13626 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13627 eval 'as_fn_arith ()
13634 as_val=`expr "$@" || test $? -eq 1`
13639 if expr a : '\(a\)' >/dev/null 2>&1 &&
13640 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13646 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13647 as_basename=basename
13652 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13658 as_me=`$as_basename -- "$0" ||
13659 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13660 X"$0" : 'X\(//\)$' \| \
13661 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13663 sed '/^.*\/\([^/][^/]*\)\/*$/{
13677 # Avoid depending upon Character Ranges.
13678 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13679 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13680 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13681 as_cr_digits='0123456789'
13682 as_cr_alnum=$as_cr_Letters$as_cr_digits
13684 ECHO_C= ECHO_N= ECHO_T=
13685 case `echo -n x` in #(((((
13687 case `echo 'xy\c'` in
13688 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13690 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13697 rm -f conf$$ conf$$.exe conf$$.file
13698 if test -d conf$$.dir; then
13699 rm -f conf$$.dir/conf$$.file
13702 mkdir conf$$.dir 2>/dev/null
13704 if (echo >conf$$.file) 2>/dev/null; then
13705 if ln -s conf$$.file conf$$ 2>/dev/null; then
13707 # ... but there are two gotchas:
13708 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13709 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13710 # In both cases, we have to default to `cp -p'.
13711 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13713 elif ln conf$$.file conf$$ 2>/dev/null; then
13721 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13722 rmdir conf$$.dir 2>/dev/null
13727 # Create "$as_dir" as a directory, including parents if necessary.
13732 -*) as_dir=./$as_dir;;
13734 test -d "$as_dir" || eval $as_mkdir_p || {
13738 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13739 *) as_qdir=$as_dir;;
13741 as_dirs="'$as_qdir' $as_dirs"
13742 as_dir=`$as_dirname -- "$as_dir" ||
13743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13744 X"$as_dir" : 'X\(//\)[^/]' \| \
13745 X"$as_dir" : 'X\(//\)$' \| \
13746 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13747 $as_echo X"$as_dir" |
13748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13752 /^X\(\/\/\)[^/].*/{
13765 test -d "$as_dir" && break
13767 test -z "$as_dirs" || eval "mkdir $as_dirs"
13768 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13772 if mkdir -p . 2>/dev/null; then
13773 as_mkdir_p='mkdir -p "$as_dir"'
13775 test -d ./-p && rmdir ./-p
13779 if test -x / >/dev/null 2>&1; then
13780 as_test_x='test -x'
13782 if ls -dL / >/dev/null 2>&1; then
13789 if test -d "$1"; then
13795 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13796 ???[sx]*):;;*)false;;esac;fi
13800 as_executable_p=$as_test_x
13802 # Sed expression to map a string onto a valid CPP name.
13803 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13805 # Sed expression to map a string onto a valid variable name.
13806 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13810 ## ----------------------------------- ##
13811 ## Main body of $CONFIG_STATUS script. ##
13812 ## ----------------------------------- ##
13814 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13817 # Save the log message, to keep $0 and so on meaningful, and to
13818 # report actual input values of CONFIG_FILES etc. instead of their
13819 # values after options handling.
13821 This file was extended by avsystem $as_me 1.0, which was
13822 generated by GNU Autoconf 2.67. Invocation command line was
13824 CONFIG_FILES = $CONFIG_FILES
13825 CONFIG_HEADERS = $CONFIG_HEADERS
13826 CONFIG_LINKS = $CONFIG_LINKS
13827 CONFIG_COMMANDS = $CONFIG_COMMANDS
13830 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13835 case $ac_config_files in *"
13836 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13839 case $ac_config_headers in *"
13840 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13845 # Files that config.status was made for.
13846 config_files="$ac_config_files"
13847 config_headers="$ac_config_headers"
13848 config_commands="$ac_config_commands"
13852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13854 \`$as_me' instantiates files and other configuration actions
13855 from templates according to the current configuration. Unless the files
13856 and actions are specified as TAGs, all are instantiated by default.
13858 Usage: $0 [OPTION]... [TAG]...
13860 -h, --help print this help, then exit
13861 -V, --version print version number and configuration settings, then exit
13862 --config print configuration, then exit
13863 -q, --quiet, --silent
13864 do not print progress messages
13865 -d, --debug don't remove temporary files
13866 --recheck update $as_me by reconfiguring in the same conditions
13867 --file=FILE[:TEMPLATE]
13868 instantiate the configuration file FILE
13869 --header=FILE[:TEMPLATE]
13870 instantiate the configuration header FILE
13872 Configuration files:
13875 Configuration headers:
13878 Configuration commands:
13881 Report bugs to the package provider."
13884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13885 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13887 avsystem config.status 1.0
13888 configured by $0, generated by GNU Autoconf 2.67,
13889 with options \\"\$ac_cs_config\\"
13891 Copyright (C) 2010 Free Software Foundation, Inc.
13892 This config.status script is free software; the Free Software Foundation
13893 gives unlimited permission to copy, distribute and modify it."
13900 test -n "\$AWK" || AWK=awk
13903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13904 # The default lists apply if the user does not specify any file.
13910 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13911 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13915 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13927 # Handling of the options.
13928 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13930 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13931 $as_echo "$ac_cs_version"; exit ;;
13932 --config | --confi | --conf | --con | --co | --c )
13933 $as_echo "$ac_cs_config"; exit ;;
13934 --debug | --debu | --deb | --de | --d | -d )
13936 --file | --fil | --fi | --f )
13939 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13940 '') as_fn_error $? "missing file argument" ;;
13942 as_fn_append CONFIG_FILES " '$ac_optarg'"
13943 ac_need_defaults=false;;
13944 --header | --heade | --head | --hea )
13947 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13949 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13950 ac_need_defaults=false;;
13952 # Conflict between --help and --header
13953 as_fn_error $? "ambiguous option: \`$1'
13954 Try \`$0 --help' for more information.";;
13955 --help | --hel | -h )
13956 $as_echo "$ac_cs_usage"; exit ;;
13957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13958 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13961 # This is an error.
13962 -*) as_fn_error $? "unrecognized option: \`$1'
13963 Try \`$0 --help' for more information." ;;
13965 *) as_fn_append ac_config_targets " $1"
13966 ac_need_defaults=false ;;
13972 ac_configure_extra_args=
13974 if $ac_cs_silent; then
13976 ac_configure_extra_args="$ac_configure_extra_args --silent"
13980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13981 if \$ac_cs_recheck; then
13982 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13984 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13985 CONFIG_SHELL='$SHELL'
13986 export CONFIG_SHELL
13991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13996 ## Running $as_me. ##
14002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14006 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14009 # The HP-UX ksh and POSIX shell print the target directory to stdout
14010 # if CDPATH is set.
14011 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14013 sed_quote_subst='$sed_quote_subst'
14014 double_quote_subst='$double_quote_subst'
14015 delay_variable_subst='$delay_variable_subst'
14016 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14017 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14018 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14019 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14020 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14021 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14022 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14023 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14024 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14025 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14026 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14027 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14028 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14029 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14030 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14031 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14032 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14033 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14034 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14035 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14036 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14037 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14038 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14039 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14040 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14041 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14042 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14043 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14044 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14045 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14046 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14047 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14048 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14049 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14050 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14051 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14052 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14053 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14054 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14055 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14056 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14057 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14058 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14059 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14060 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"`'
14061 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"`'
14062 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14063 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14064 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14065 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14066 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14067 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14068 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14069 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14070 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14071 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14072 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14073 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14074 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14075 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14076 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14077 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14078 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14079 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14080 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14081 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14082 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14083 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14084 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14085 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14086 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14087 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14088 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14089 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14090 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14091 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14092 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14093 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14094 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14095 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14096 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14097 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14098 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14099 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14100 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14101 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14102 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14103 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14104 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14105 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14106 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14107 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14108 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14109 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14110 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14111 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14112 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14113 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14114 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14115 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14116 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14117 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14118 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14119 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14120 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14121 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14122 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14123 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14124 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14125 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14126 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14127 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14128 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14129 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14130 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14131 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14132 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14133 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14136 LTCFLAGS='$LTCFLAGS'
14137 compiler='$compiler_DEFAULT'
14139 # Quote evaled strings.
14151 deplibs_check_method \
14160 lt_cv_sys_global_symbol_pipe \
14161 lt_cv_sys_global_symbol_to_cdecl \
14162 lt_cv_sys_global_symbol_to_c_name_address \
14163 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14166 lt_prog_compiler_no_builtin_flag \
14167 lt_prog_compiler_wl \
14168 lt_prog_compiler_pic \
14169 lt_prog_compiler_static \
14170 lt_cv_prog_compiler_c_o \
14178 export_dynamic_flag_spec \
14179 whole_archive_flag_spec \
14180 compiler_needs_object \
14182 allow_undefined_flag \
14183 no_undefined_flag \
14184 hardcode_libdir_flag_spec \
14185 hardcode_libdir_flag_spec_ld \
14186 hardcode_libdir_separator \
14191 variables_saved_for_relink \
14193 library_names_spec \
14198 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14199 *[\\\\\\\`\\"\\\$]*)
14200 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14203 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14208 # Double-quote double-evaled strings.
14209 for var in reload_cmds \
14210 old_postinstall_cmds \
14211 old_postuninstall_cmds \
14213 extract_expsyms_cmds \
14214 old_archive_from_new_cmds \
14215 old_archive_from_expsyms_cmds \
14217 archive_expsym_cmds \
14219 module_expsym_cmds \
14220 export_symbols_cmds \
14223 postuninstall_cmds \
14225 sys_lib_search_path_spec \
14226 sys_lib_dlsearch_path_spec; do
14227 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14228 *[\\\\\\\`\\"\\\$]*)
14229 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14232 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14237 # Fix-up fallback echo if it was mangled by the above quoting rules.
14239 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14243 ac_aux_dir='$ac_aux_dir'
14244 xsi_shell='$xsi_shell'
14245 lt_shell_append='$lt_shell_append'
14247 # See if we are running on zsh, and set the options which allow our
14248 # commands through without removal of \ escapes INIT.
14249 if test -n "\${ZSH_VERSION+set}" ; then
14250 setopt NO_GLOB_SUBST
14256 TIMESTAMP='$TIMESTAMP'
14265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14267 # Handling of arguments.
14268 for ac_config_target in $ac_config_targets
14270 case $ac_config_target in
14271 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
14272 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14273 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14274 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
14275 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14276 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14277 "server/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES server/plugin/Makefile" ;;
14278 "server/plugin/wav/Makefile") CONFIG_FILES="$CONFIG_FILES server/plugin/wav/Makefile" ;;
14279 "server/plugin/keytone/Makefile") CONFIG_FILES="$CONFIG_FILES server/plugin/keytone/Makefile" ;;
14280 "server/plugin/headset/Makefile") CONFIG_FILES="$CONFIG_FILES server/plugin/headset/Makefile" ;;
14281 "server/plugin/tone/Makefile") CONFIG_FILES="$CONFIG_FILES server/plugin/tone/Makefile" ;;
14282 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
14283 "pkgconfig/mm-sound.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/mm-sound.pc" ;;
14284 "pkgconfig/mm-keysound.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/mm-keysound.pc" ;;
14285 "pkgconfig-sdk/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig-sdk/Makefile" ;;
14286 "pkgconfig-sdk/mm-sound.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig-sdk/mm-sound.pc" ;;
14287 "pkgconfig-sdk/mm-keysound.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig-sdk/mm-keysound.pc" ;;
14288 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
14289 "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
14291 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14296 # If the user did not use the arguments to specify the items to instantiate,
14297 # then the envvar interface is used. Set only those that are not.
14298 # We use the long form for the default assignment because of an extremely
14299 # bizarre bug on SunOS 4.1.3.
14300 if $ac_need_defaults; then
14301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14306 # Have a temporary directory for convenience. Make it in the build tree
14307 # simply because there is no reason against having it here, and in addition,
14308 # creating and moving files from /tmp can sometimes cause problems.
14309 # Hook for its removal unless debugging.
14310 # Note that there is a small window in which the directory will not be cleaned:
14311 # after its creation but before its name has been assigned to `$tmp'.
14315 trap 'exit_status=$?
14316 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14318 trap 'as_fn_exit 1' 1 2 13 15
14320 # Create a (secure) tmp directory for tmp files.
14323 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14324 test -n "$tmp" && test -d "$tmp"
14327 tmp=./conf$$-$RANDOM
14328 (umask 077 && mkdir "$tmp")
14329 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14331 # Set up the scripts for CONFIG_FILES section.
14332 # No need to generate them if there are no CONFIG_FILES.
14333 # This happens for instance with `./config.status config.h'.
14334 if test -n "$CONFIG_FILES"; then
14337 ac_cr=`echo X | tr X '\015'`
14338 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14339 # But we know of no other shell where ac_cr would be empty at this
14340 # point, so we can use a bashism as a fallback.
14341 if test "x$ac_cr" = x; then
14342 eval ac_cr=\$\'\\r\'
14344 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14345 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14348 ac_cs_awk_cr=$ac_cr
14351 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14356 echo "cat >conf$$subs.awk <<_ACEOF" &&
14357 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14359 } >conf$$subs.sh ||
14360 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14361 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14363 for ac_last_try in false false false false false :; do
14364 . ./conf$$subs.sh ||
14365 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14367 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14368 if test $ac_delim_n = $ac_delim_num; then
14370 elif $ac_last_try; then
14371 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14376 rm -f conf$$subs.sh
14378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14379 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14383 s/^/S["/; s/!.*/"]=/
14393 s/\(.\{148\}\)..*/\1/
14395 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14400 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14407 s/\(.\{148\}\)..*/\1/
14409 s/["\\]/\\&/g; s/^/"/; s/$/"/
14413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14418 ' <conf$$subs.awk | sed '
14423 ' >>$CONFIG_STATUS || ac_write_fail=1
14424 rm -f conf$$subs.awk
14425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14427 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14428 for (key in S) S_is_set[key] = 1
14434 nfields = split(line, field, "@")
14436 len = length(field[1])
14437 for (i = 2; i < nfields; i++) {
14439 keylen = length(key)
14440 if (S_is_set[key]) {
14442 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14443 len += length(value) + length(field[++i])
14454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14455 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14456 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14459 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14460 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14463 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14464 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14465 # trailing colons and then remove the whole line if VPATH becomes empty
14466 # (actually we leave an empty line to preserve line numbers).
14467 if test "x$srcdir" = x.; then
14468 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14487 fi # test -n "$CONFIG_FILES"
14489 # Set up the scripts for CONFIG_HEADERS section.
14490 # No need to generate them if there are no CONFIG_HEADERS.
14491 # This happens for instance with `./config.status Makefile'.
14492 if test -n "$CONFIG_HEADERS"; then
14493 cat >"$tmp/defines.awk" <<\_ACAWK ||
14497 # Transform confdefs.h into an awk script `defines.awk', embedded as
14498 # here-document in config.status, that substitutes the proper values into
14499 # config.h.in to produce config.h.
14501 # Create a delimiter string that does not exist in confdefs.h, to ease
14502 # handling of long lines.
14504 for ac_last_try in false false :; do
14505 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14506 if test -z "$ac_t"; then
14508 elif $ac_last_try; then
14509 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14511 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14515 # For the awk script, D is an array of macro values keyed by name,
14516 # likewise P contains macro parameters if any. Preserve backslash
14517 # newline sequences.
14519 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14521 s/.\{148\}/&'"$ac_delim"'/g
14524 s/^[ ]*#[ ]*define[ ][ ]*/ /
14531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14538 D["\1"]=" \3\\\\\\n"\\/p
14540 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14545 s/.\{148\}/&'"$ac_delim"'/g
14550 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14553 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14555 ' <confdefs.h | sed '
14556 s/'"$ac_delim"'/"\\\
14557 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14560 for (key in D) D_is_set[key] = 1
14563 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14565 split(line, arg, " ")
14566 if (arg[1] == "#") {
14570 defundef = substr(arg[1], 2)
14573 split(mac1, mac2, "(") #)
14575 prefix = substr(line, 1, index(line, defundef) - 1)
14576 if (D_is_set[macro]) {
14577 # Preserve the white space surrounding the "#".
14578 print prefix "define", macro P[macro] D[macro]
14581 # Replace #undef with comments. This is necessary, for example,
14582 # in the case of _POSIX_SOURCE, which is predefined and required
14583 # on some systems where configure will not decide to define it.
14584 if (defundef == "undef") {
14585 print "/*", prefix defundef, macro, "*/"
14593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14594 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14595 fi # test -n "$CONFIG_HEADERS"
14598 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14603 :[FHLC]) ac_mode=$ac_tag; continue;;
14605 case $ac_mode$ac_tag in
14607 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14608 :[FH]-) ac_tag=-:-;;
14609 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14626 -) ac_f="$tmp/stdin";;
14627 *) # Look for the file first in the build tree, then in the source tree
14628 # (if the path is not absolute). The absolute path cannot be DOS-style,
14629 # because $ac_f cannot contain `:'.
14633 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14635 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14637 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14638 as_fn_append ac_file_inputs " '$ac_f'"
14641 # Let's still pretend it is `configure' which instantiates (i.e., don't
14642 # use $as_me), people would be surprised to read:
14643 # /* config.h. Generated by config.status. */
14644 configure_input='Generated from '`
14645 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14647 if test x"$ac_file" != x-; then
14648 configure_input="$ac_file. $configure_input"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14650 $as_echo "$as_me: creating $ac_file" >&6;}
14652 # Neutralize special characters interpreted by sed in replacement strings.
14653 case $configure_input in #(
14654 *\&* | *\|* | *\\* )
14655 ac_sed_conf_input=`$as_echo "$configure_input" |
14656 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14657 *) ac_sed_conf_input=$configure_input;;
14661 *:-:* | *:-) cat >"$tmp/stdin" \
14662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14667 ac_dir=`$as_dirname -- "$ac_file" ||
14668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14669 X"$ac_file" : 'X\(//\)[^/]' \| \
14670 X"$ac_file" : 'X\(//\)$' \| \
14671 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14672 $as_echo X"$ac_file" |
14673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14677 /^X\(\/\/\)[^/].*/{
14690 as_dir="$ac_dir"; as_fn_mkdir_p
14694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14696 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14697 # A ".." for each directory in $ac_dir_suffix.
14698 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14699 case $ac_top_builddir_sub in
14700 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14701 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14704 ac_abs_top_builddir=$ac_pwd
14705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14706 # for backward compatibility:
14707 ac_top_builddir=$ac_top_build_prefix
14710 .) # We are building in place.
14712 ac_top_srcdir=$ac_top_builddir_sub
14713 ac_abs_top_srcdir=$ac_pwd ;;
14714 [\\/]* | ?:[\\/]* ) # Absolute name.
14715 ac_srcdir=$srcdir$ac_dir_suffix;
14716 ac_top_srcdir=$srcdir
14717 ac_abs_top_srcdir=$srcdir ;;
14718 *) # Relative name.
14719 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14720 ac_top_srcdir=$ac_top_build_prefix$srcdir
14721 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14733 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14734 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14736 ac_MKDIR_P=$MKDIR_P
14738 [\\/$]* | ?:[\\/]* ) ;;
14739 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14744 # If the template does not know about datarootdir, expand it.
14745 # FIXME: This hack should be removed a few years after 2.60.
14746 ac_datarootdir_hack=; ac_datarootdir_seen=
14757 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14758 *datarootdir*) ac_datarootdir_seen=yes;;
14759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14761 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14764 ac_datarootdir_hack='
14765 s&@datadir@&$datadir&g
14766 s&@docdir@&$docdir&g
14767 s&@infodir@&$infodir&g
14768 s&@localedir@&$localedir&g
14769 s&@mandir@&$mandir&g
14770 s&\\\${datarootdir}&$datarootdir&g' ;;
14774 # Neutralize VPATH when `$srcdir' = `.'.
14775 # Shell code in configure.ac might set extrasub.
14776 # FIXME: do we really want to maintain this feature?
14777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14778 ac_sed_extra="$ac_vpsub
14781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14784 s|@configure_input@|$ac_sed_conf_input|;t t
14785 s&@top_builddir@&$ac_top_builddir_sub&;t t
14786 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14787 s&@srcdir@&$ac_srcdir&;t t
14788 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14789 s&@top_srcdir@&$ac_top_srcdir&;t t
14790 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14791 s&@builddir@&$ac_builddir&;t t
14792 s&@abs_builddir@&$ac_abs_builddir&;t t
14793 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14794 s&@INSTALL@&$ac_INSTALL&;t t
14795 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14796 $ac_datarootdir_hack
14798 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14801 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14802 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14803 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14805 which seems to be undefined. Please make sure it is defined" >&5
14806 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14807 which seems to be undefined. Please make sure it is defined" >&2;}
14811 -) cat "$tmp/out" && rm -f "$tmp/out";;
14812 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14820 if test x"$ac_file" != x-; then
14822 $as_echo "/* $configure_input */" \
14823 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14824 } >"$tmp/config.h" \
14825 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14826 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14828 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14831 mv "$tmp/config.h" "$ac_file" \
14832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14835 $as_echo "/* $configure_input */" \
14836 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14837 || as_fn_error $? "could not create -" "$LINENO" 5
14839 # Compute "$ac_file"'s index in $config_headers.
14842 for _am_header in $config_headers :; do
14843 case $_am_header in
14844 $_am_arg | $_am_arg:* )
14847 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14850 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14851 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14852 X"$_am_arg" : 'X\(//\)[^/]' \| \
14853 X"$_am_arg" : 'X\(//\)$' \| \
14854 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14855 $as_echo X"$_am_arg" |
14856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14860 /^X\(\/\/\)[^/].*/{
14872 s/.*/./; q'`/stamp-h$_am_stamp_count
14875 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14876 $as_echo "$as_me: executing $ac_file commands" >&6;}
14881 case $ac_file$ac_mode in
14882 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14883 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14884 # are listed without --file. Let's play safe and only enable the eval
14885 # if we detect the quoting.
14886 case $CONFIG_FILES in
14887 *\'*) eval set x "$CONFIG_FILES" ;;
14888 *) set x $CONFIG_FILES ;;
14893 # Strip MF so we end up with the name of the file.
14894 mf=`echo "$mf" | sed -e 's/:.*$//'`
14895 # Check whether this is an Automake generated Makefile or not.
14896 # We used to match only the files named `Makefile.in', but
14897 # some people rename them; so instead we look at the file content.
14898 # Grep'ing the first line is not enough: some people post-process
14899 # each Makefile.in and add a new line on top of each file to say so.
14900 # Grep'ing the whole file is not good either: AIX grep has a line
14901 # limit of 2048, but all sed's we know have understand at least 4000.
14902 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14903 dirpart=`$as_dirname -- "$mf" ||
14904 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14905 X"$mf" : 'X\(//\)[^/]' \| \
14906 X"$mf" : 'X\(//\)$' \| \
14907 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14913 /^X\(\/\/\)[^/].*/{
14929 # Extract the definition of DEPDIR, am__include, and am__quote
14930 # from the Makefile without running `make'.
14931 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14932 test -z "$DEPDIR" && continue
14933 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14934 test -z "am__include" && continue
14935 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14936 # When using ansi2knr, U may be empty or an underscore; expand it
14937 U=`sed -n 's/^U = //p' < "$mf"`
14938 # Find all dependency output files, they are included files with
14939 # $(DEPDIR) in their names. We invoke sed twice because it is the
14940 # simplest approach to changing $(DEPDIR) to its actual value in the
14942 for file in `sed -n "
14943 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14944 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14945 # Make sure the directory exists.
14946 test -f "$dirpart/$file" && continue
14947 fdir=`$as_dirname -- "$file" ||
14948 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14949 X"$file" : 'X\(//\)[^/]' \| \
14950 X"$file" : 'X\(//\)$' \| \
14951 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14952 $as_echo X"$file" |
14953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14957 /^X\(\/\/\)[^/].*/{
14970 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14971 # echo "creating $dirpart/$file"
14972 echo '# dummy' > "$dirpart/$file"
14979 # See if we are running on zsh, and set the options which allow our
14980 # commands through without removal of \ escapes.
14981 if test -n "${ZSH_VERSION+set}" ; then
14982 setopt NO_GLOB_SUBST
14985 cfgfile="${ofile}T"
14986 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14989 cat <<_LT_EOF >> "$cfgfile"
14992 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14993 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14994 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14995 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14997 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14998 # 2006, 2007, 2008 Free Software Foundation, Inc.
14999 # Written by Gordon Matzigkeit, 1996
15001 # This file is part of GNU Libtool.
15003 # GNU Libtool is free software; you can redistribute it and/or
15004 # modify it under the terms of the GNU General Public License as
15005 # published by the Free Software Foundation; either version 2 of
15006 # the License, or (at your option) any later version.
15008 # As a special exception to the GNU General Public License,
15009 # if you distribute this file as part of a program or library that
15010 # is built using GNU Libtool, you may include this file under the
15011 # same distribution terms that you use for the rest of that program.
15013 # GNU Libtool is distributed in the hope that it will be useful,
15014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15016 # GNU General Public License for more details.
15018 # You should have received a copy of the GNU General Public License
15019 # along with GNU Libtool; see the file COPYING. If not, a copy
15020 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15021 # obtained by writing to the Free Software Foundation, Inc.,
15022 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15025 # The names of the tagged configurations supported by this script.
15028 # ### BEGIN LIBTOOL CONFIG
15030 # Which release of libtool.m4 was used?
15031 macro_version=$macro_version
15032 macro_revision=$macro_revision
15034 # Whether or not to build shared libraries.
15035 build_libtool_libs=$enable_shared
15037 # Whether or not to build static libraries.
15038 build_old_libs=$enable_static
15040 # What type of objects to build.
15043 # Whether or not to optimize for fast installation.
15044 fast_install=$enable_fast_install
15047 host_alias=$host_alias
15051 # The build system.
15052 build_alias=$build_alias
15056 # A sed program that does not truncate output.
15059 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15060 Xsed="\$SED -e 1s/^X//"
15062 # A grep program that handles long lines.
15068 # A literal string matcher.
15071 # A BSD- or MS-compatible name lister.
15074 # Whether we need soft or hard links.
15077 # What is the maximum length of a command?
15078 max_cmd_len=$max_cmd_len
15080 # Object file suffix (normally "o").
15083 # Executable file suffix (normally "").
15086 # whether the shell understands "unset".
15089 # turn spaces into newlines.
15092 # turn newlines into spaces.
15095 # How to create reloadable object files.
15096 reload_flag=$lt_reload_flag
15097 reload_cmds=$lt_reload_cmds
15099 # An object symbol dumper.
15100 OBJDUMP=$lt_OBJDUMP
15102 # Method to check whether dependent libraries are shared objects.
15103 deplibs_check_method=$lt_deplibs_check_method
15105 # Command to use when deplibs_check_method == "file_magic".
15106 file_magic_cmd=$lt_file_magic_cmd
15110 AR_FLAGS=$lt_AR_FLAGS
15112 # A symbol stripping program.
15115 # Commands used to install an old-style archive.
15117 old_postinstall_cmds=$lt_old_postinstall_cmds
15118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15123 # LTCC compiler flags.
15124 LTCFLAGS=$lt_CFLAGS
15126 # Take the output of nm and produce a listing of raw symbols and C names.
15127 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15129 # Transform the output of nm in a proper C declaration.
15130 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15132 # Transform the output of nm in a C name address pair.
15133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15135 # Transform the output of nm in a C name address pair when lib prefix is needed.
15136 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15138 # The name of the directory that contains temporary libtool files.
15141 # Shell to use when invoking shell scripts.
15144 # An echo program that does not interpret backslashes.
15147 # Used to examine libraries when file_magic_cmd begins with "file".
15148 MAGIC_CMD=$MAGIC_CMD
15150 # Must we lock files when doing compilation?
15151 need_locks=$lt_need_locks
15153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15154 DSYMUTIL=$lt_DSYMUTIL
15156 # Tool to change global to local symbols on Mac OS X.
15159 # Tool to manipulate fat objects and archives on Mac OS X.
15162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15166 OTOOL64=$lt_OTOOL64
15168 # Old archive suffix (normally "a").
15171 # Shared library suffix (normally ".so").
15172 shrext_cmds=$lt_shrext_cmds
15174 # The commands to extract the exported symbol list from a shared archive.
15175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15177 # Variables whose values should be saved in libtool wrapper scripts and
15178 # restored at link time.
15179 variables_saved_for_relink=$lt_variables_saved_for_relink
15181 # Do we need the "lib" prefix for modules?
15182 need_lib_prefix=$need_lib_prefix
15184 # Do we need a version for libraries?
15185 need_version=$need_version
15187 # Library versioning type.
15188 version_type=$version_type
15190 # Shared library runtime path variable.
15191 runpath_var=$runpath_var
15193 # Shared library path variable.
15194 shlibpath_var=$shlibpath_var
15196 # Is shlibpath searched before the hard-coded library search path?
15197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15199 # Format of library name prefix.
15200 libname_spec=$lt_libname_spec
15202 # List of archive names. First name is the real one, the rest are links.
15203 # The last name is the one that the linker finds with -lNAME
15204 library_names_spec=$lt_library_names_spec
15206 # The coded name of the library, if different from the real name.
15207 soname_spec=$lt_soname_spec
15209 # Command to use after installation of a shared archive.
15210 postinstall_cmds=$lt_postinstall_cmds
15212 # Command to use after uninstallation of a shared archive.
15213 postuninstall_cmds=$lt_postuninstall_cmds
15215 # Commands used to finish a libtool library installation in a directory.
15216 finish_cmds=$lt_finish_cmds
15218 # As "finish_cmds", except a single script fragment to be evaled but
15220 finish_eval=$lt_finish_eval
15222 # Whether we should hardcode library paths into libraries.
15223 hardcode_into_libs=$hardcode_into_libs
15225 # Compile-time system search path for libraries.
15226 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15228 # Run-time system search path for libraries.
15229 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15231 # Whether dlopen is supported.
15232 dlopen_support=$enable_dlopen
15234 # Whether dlopen of programs is supported.
15235 dlopen_self=$enable_dlopen_self
15237 # Whether dlopen of statically linked programs is supported.
15238 dlopen_self_static=$enable_dlopen_self_static
15240 # Commands to strip libraries.
15241 old_striplib=$lt_old_striplib
15242 striplib=$lt_striplib
15245 # The linker used to build libraries.
15248 # Commands used to build an old-style archive.
15249 old_archive_cmds=$lt_old_archive_cmds
15251 # A language specific compiler.
15254 # Is the compiler the GNU compiler?
15257 # Compiler flag to turn off builtin functions.
15258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15260 # How to pass a linker flag through the compiler.
15261 wl=$lt_lt_prog_compiler_wl
15263 # Additional compiler flags for building library objects.
15264 pic_flag=$lt_lt_prog_compiler_pic
15266 # Compiler flag to prevent dynamic linking.
15267 link_static_flag=$lt_lt_prog_compiler_static
15269 # Does compiler simultaneously support -c and -o options?
15270 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15272 # Whether or not to add -lc for building shared libraries.
15273 build_libtool_need_lc=$archive_cmds_need_lc
15275 # Whether or not to disallow shared libs when runtime libs are static.
15276 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15278 # Compiler flag to allow reflexive dlopens.
15279 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15281 # Compiler flag to generate shared objects directly from archives.
15282 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15284 # Whether the compiler copes with passing no objects directly.
15285 compiler_needs_object=$lt_compiler_needs_object
15287 # Create an old-style archive from a shared archive.
15288 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15290 # Create a temporary old-style archive to link instead of a shared archive.
15291 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15293 # Commands used to build a shared archive.
15294 archive_cmds=$lt_archive_cmds
15295 archive_expsym_cmds=$lt_archive_expsym_cmds
15297 # Commands used to build a loadable module if different from building
15298 # a shared archive.
15299 module_cmds=$lt_module_cmds
15300 module_expsym_cmds=$lt_module_expsym_cmds
15302 # Whether we are building with GNU ld or not.
15303 with_gnu_ld=$lt_with_gnu_ld
15305 # Flag that allows shared libraries with undefined symbols to be built.
15306 allow_undefined_flag=$lt_allow_undefined_flag
15308 # Flag that enforces no undefined symbols.
15309 no_undefined_flag=$lt_no_undefined_flag
15311 # Flag to hardcode \$libdir into a binary during linking.
15312 # This must work even if \$libdir does not exist
15313 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15315 # If ld is used when linking, flag to hardcode \$libdir into a binary
15316 # during linking. This must work even if \$libdir does not exist.
15317 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15319 # Whether we need a single "-rpath" flag with a separated argument.
15320 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15322 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15323 # DIR into the resulting binary.
15324 hardcode_direct=$hardcode_direct
15326 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15327 # DIR into the resulting binary and the resulting library dependency is
15328 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15329 # library is relocated.
15330 hardcode_direct_absolute=$hardcode_direct_absolute
15332 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15333 # into the resulting binary.
15334 hardcode_minus_L=$hardcode_minus_L
15336 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15337 # into the resulting binary.
15338 hardcode_shlibpath_var=$hardcode_shlibpath_var
15340 # Set to "yes" if building a shared library automatically hardcodes DIR
15341 # into the library and all subsequent libraries and executables linked
15343 hardcode_automatic=$hardcode_automatic
15345 # Set to yes if linker adds runtime paths of dependent libraries
15346 # to runtime path list.
15347 inherit_rpath=$inherit_rpath
15349 # Whether libtool must link a program against all its dependency libraries.
15350 link_all_deplibs=$link_all_deplibs
15352 # Fix the shell variable \$srcfile for the compiler.
15353 fix_srcfile_path=$lt_fix_srcfile_path
15355 # Set to "yes" if exported symbols are required.
15356 always_export_symbols=$always_export_symbols
15358 # The commands to list exported symbols.
15359 export_symbols_cmds=$lt_export_symbols_cmds
15361 # Symbols that should not be listed in the preloaded symbols.
15362 exclude_expsyms=$lt_exclude_expsyms
15364 # Symbols that must always be exported.
15365 include_expsyms=$lt_include_expsyms
15367 # Commands necessary for linking programs (against libraries) with templates.
15368 prelink_cmds=$lt_prelink_cmds
15370 # Specify filename containing input files.
15371 file_list_spec=$lt_file_list_spec
15373 # How to hardcode a shared library path into an executable.
15374 hardcode_action=$hardcode_action
15376 # ### END LIBTOOL CONFIG
15382 cat <<\_LT_EOF >> "$cfgfile"
15383 # AIX sometimes has problems with the GCC collect2 program. For some
15384 # reason, if we set the COLLECT_NAMES environment variable, the problems
15385 # vanish in a puff of smoke.
15386 if test "X${COLLECT_NAMES+set}" != Xset; then
15388 export COLLECT_NAMES
15395 ltmain="$ac_aux_dir/ltmain.sh"
15398 # We use sed instead of cat because bash on DJGPP gets confused if
15399 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15400 # text mode, it properly converts lines to CR/LF. This bash problem
15401 # is reportedly fixed, but why not run on old versions too?
15402 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15403 || (rm -f "$cfgfile"; exit 1)
15407 cat << \_LT_EOF >> "$cfgfile"
15409 # func_dirname file append nondir_replacement
15410 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15411 # otherwise set result to NONDIR_REPLACEMENT.
15415 */*) func_dirname_result="${1%/*}${2}" ;;
15416 * ) func_dirname_result="${3}" ;;
15420 # func_basename file
15423 func_basename_result="${1##*/}"
15426 # func_dirname_and_basename file append nondir_replacement
15427 # perform func_basename and func_dirname in a single function
15429 # dirname: Compute the dirname of FILE. If nonempty,
15430 # add APPEND to the result, otherwise set result
15431 # to NONDIR_REPLACEMENT.
15432 # value returned in "$func_dirname_result"
15433 # basename: Compute filename of FILE.
15434 # value retuned in "$func_basename_result"
15435 # Implementation must be kept synchronized with func_dirname
15436 # and func_basename. For efficiency, we do not delegate to
15437 # those functions but instead duplicate the functionality here.
15438 func_dirname_and_basename ()
15441 */*) func_dirname_result="${1%/*}${2}" ;;
15442 * ) func_dirname_result="${3}" ;;
15444 func_basename_result="${1##*/}"
15447 # func_stripname prefix suffix name
15448 # strip PREFIX and SUFFIX off of NAME.
15449 # PREFIX and SUFFIX must not contain globbing or regex special
15450 # characters, hashes, percent signs, but SUFFIX may contain a leading
15451 # dot (in which case that matches only a dot).
15454 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15455 # positional parameters, so assign one to ordinary parameter first.
15456 func_stripname_result=${3}
15457 func_stripname_result=${func_stripname_result#"${1}"}
15458 func_stripname_result=${func_stripname_result%"${2}"}
15464 func_opt_split_opt=${1%%=*}
15465 func_opt_split_arg=${1#*=}
15472 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15473 *) func_lo2o_result=${1} ;;
15477 # func_xform libobj-or-source
15480 func_xform_result=${1%.*}.lo
15483 # func_arith arithmetic-term...
15486 func_arith_result=$(( $* ))
15490 # STRING may not start with a hyphen.
15493 func_len_result=${#1}
15498 *) # Bourne compatible functions.
15499 cat << \_LT_EOF >> "$cfgfile"
15501 # func_dirname file append nondir_replacement
15502 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15503 # otherwise set result to NONDIR_REPLACEMENT.
15506 # Extract subdirectory from the argument.
15507 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15508 if test "X$func_dirname_result" = "X${1}"; then
15509 func_dirname_result="${3}"
15511 func_dirname_result="$func_dirname_result${2}"
15515 # func_basename file
15518 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15522 # func_stripname prefix suffix name
15523 # strip PREFIX and SUFFIX off of NAME.
15524 # PREFIX and SUFFIX must not contain globbing or regex special
15525 # characters, hashes, percent signs, but SUFFIX may contain a leading
15526 # dot (in which case that matches only a dot).
15527 # func_strip_suffix prefix name
15531 .*) func_stripname_result=`$ECHO "X${3}" \
15532 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15533 *) func_stripname_result=`$ECHO "X${3}" \
15534 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15539 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15540 my_sed_long_arg='1s/^-[^=]*=//'
15545 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15546 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15552 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15555 # func_xform libobj-or-source
15558 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15561 # func_arith arithmetic-term...
15564 func_arith_result=`expr "$@"`
15568 # STRING may not start with a hyphen.
15571 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15577 case $lt_shell_append in
15579 cat << \_LT_EOF >> "$cfgfile"
15581 # func_append var value
15582 # Append VALUE to the end of shell variable VAR.
15590 cat << \_LT_EOF >> "$cfgfile"
15592 # func_append var value
15593 # Append VALUE to the end of shell variable VAR.
15604 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15605 || (rm -f "$cfgfile"; exit 1)
15607 mv -f "$cfgfile" "$ofile" ||
15608 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15619 ac_clean_files=$ac_clean_files_save
15621 test $ac_write_fail = 0 ||
15622 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15625 # configure is writing to config.log, and then calls config.status.
15626 # config.status does its own redirection, appending to config.log.
15627 # Unfortunately, on DOS this fails, as config.log is still kept open
15628 # by configure, so config.status won't be able to write to it; its
15629 # output is simply discarded. So we exec the FD to /dev/null,
15630 # effectively closing config.log, so it can be properly (re)opened and
15631 # appended to by config.status. When coming back to configure, we
15632 # need to make the FD available again.
15633 if test "$no_create" != yes; then
15635 ac_config_status_args=
15636 test "$silent" = yes &&
15637 ac_config_status_args="$ac_config_status_args --quiet"
15639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15642 # would make configure fail if this is the last instruction.
15643 $ac_cs_success || as_fn_exit 1
15645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}