2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for AUDIOSESSIONMGR 1.0.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo; then
570 # Avoid inline document here, it may be left over
572 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $ECHO works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593 if test -z "$lt_ECHO"; then
594 if test "X${echo_test_string+set}" != Xset; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # The Solaris, AIX, and Digital Unix default echo programs unquote
612 # backslashes. This makes it impossible to quote backslashes using
613 # echo "$something" | sed 's/\\/\\\\/g'
615 # So, first we look for a working echo in the user's PATH.
617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618 for dir in $PATH /usr/ucb; do
620 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
630 if test "X$ECHO" = Xecho; then
631 # We didn't find a better echo, so look for alternatives.
632 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # This shell has a builtin print -r that does the trick.
637 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638 test "X$CONFIG_SHELL" != X/bin/ksh; then
639 # If we have ksh, try running configure again with it.
640 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641 export ORIGINAL_CONFIG_SHELL
642 CONFIG_SHELL=/bin/ksh
644 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654 test "X$echo_testing_string" = 'X\t' &&
655 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659 SHELL="$CONFIG_SHELL"
661 ECHO="$CONFIG_SHELL $0 --fallback-echo"
662 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663 test "X$echo_testing_string" = 'X\t' &&
664 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
666 ECHO="$CONFIG_SHELL $0 --fallback-echo"
668 # maybe with a smaller string...
671 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679 if test "$prev" != 'sed 50q "$0"'; then
680 echo_test_string=`eval $prev`
681 export echo_test_string
682 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684 # Oops. We lost completely, so just stick with echo.
693 # Copy echo and quote the copy suitably for passing to libtool from
694 # the Makefile, instead of quoting the original, which is used later.
696 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703 exec 7<&0 </dev/null 6>&1
706 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707 # so uname gets run too.
708 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713 ac_default_prefix=/usr/local
715 ac_config_libobj_dir=.
721 SHELL=${CONFIG_SHELL-/bin/sh}
723 # Identity of this package.
724 PACKAGE_NAME='AUDIOSESSIONMGR'
725 PACKAGE_TARNAME='audiosessionmgr'
726 PACKAGE_VERSION='1.0'
727 PACKAGE_STRING='AUDIOSESSIONMGR 1.0'
728 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
730 # Factoring default headers for most tests.
731 ac_includes_default="\
733 #ifdef HAVE_SYS_TYPES_H
734 # include <sys/types.h>
736 #ifdef HAVE_SYS_STAT_H
737 # include <sys/stat.h>
743 # ifdef HAVE_STDLIB_H
748 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
753 #ifdef HAVE_STRINGS_H
754 # include <strings.h>
756 #ifdef HAVE_INTTYPES_H
757 # include <inttypes.h>
775 program_transform_name
817 INSTALL_STRIP_PROGRAM
869 AUDIOSESSIONMGR_CFLAGS
878 ac_precious_vars='build_alias
888 AUDIOSESSIONMGR_CFLAGS
896 # Initialize some variables set by options.
898 ac_init_version=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name=s,x,x,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir='${datarootdir}/info'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\$ac_option
954 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir | --bindir | --bindi | --bind | --bin | --bi)
966 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
969 -build | --build | --buil | --bui | --bu)
970 ac_prev=build_alias ;;
971 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972 build_alias=$ac_optarg ;;
974 -cache-file | --cache-file | --cache-fil | --cache-fi \
975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976 ac_prev=cache_file ;;
977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979 cache_file=$ac_optarg ;;
982 cache_file=config.cache ;;
984 -datadir | --datadir | --datadi | --datad)
986 -datadir=* | --datadir=* | --datadi=* | --datad=*)
987 datadir=$ac_optarg ;;
989 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990 | --dataroo | --dataro | --datar)
991 ac_prev=datarootdir ;;
992 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994 datarootdir=$ac_optarg ;;
996 -disable-* | --disable-*)
997 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_$ac_feature=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_$ac_feature=\$ac_optarg ;;
1024 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1025 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1026 | --exec | --exe | --ex)
1027 ac_prev=exec_prefix ;;
1028 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1029 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1030 | --exec=* | --exe=* | --ex=*)
1031 exec_prefix=$ac_optarg ;;
1033 -gas | --gas | --ga | --g)
1034 # Obsolete; use --with-gas.
1037 -help | --help | --hel | --he | -h)
1038 ac_init_help=long ;;
1039 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1040 ac_init_help=recursive ;;
1041 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1042 ac_init_help=short ;;
1044 -host | --host | --hos | --ho)
1045 ac_prev=host_alias ;;
1046 -host=* | --host=* | --hos=* | --ho=*)
1047 host_alias=$ac_optarg ;;
1049 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1051 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1053 htmldir=$ac_optarg ;;
1055 -includedir | --includedir | --includedi | --included | --include \
1056 | --includ | --inclu | --incl | --inc)
1057 ac_prev=includedir ;;
1058 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1059 | --includ=* | --inclu=* | --incl=* | --inc=*)
1060 includedir=$ac_optarg ;;
1062 -infodir | --infodir | --infodi | --infod | --info | --inf)
1064 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1065 infodir=$ac_optarg ;;
1067 -libdir | --libdir | --libdi | --libd)
1069 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1070 libdir=$ac_optarg ;;
1072 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1073 | --libexe | --libex | --libe)
1074 ac_prev=libexecdir ;;
1075 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1076 | --libexe=* | --libex=* | --libe=*)
1077 libexecdir=$ac_optarg ;;
1079 -localedir | --localedir | --localedi | --localed | --locale)
1080 ac_prev=localedir ;;
1081 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1082 localedir=$ac_optarg ;;
1084 -localstatedir | --localstatedir | --localstatedi | --localstated \
1085 | --localstate | --localstat | --localsta | --localst | --locals)
1086 ac_prev=localstatedir ;;
1087 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1088 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1089 localstatedir=$ac_optarg ;;
1091 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1094 mandir=$ac_optarg ;;
1096 -nfp | --nfp | --nf)
1097 # Obsolete; use --without-fp.
1100 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1101 | --no-cr | --no-c | -n)
1104 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1105 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1108 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1109 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1110 | --oldin | --oldi | --old | --ol | --o)
1111 ac_prev=oldincludedir ;;
1112 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1113 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1114 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1115 oldincludedir=$ac_optarg ;;
1117 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1119 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1120 prefix=$ac_optarg ;;
1122 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1123 | --program-pre | --program-pr | --program-p)
1124 ac_prev=program_prefix ;;
1125 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1126 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1127 program_prefix=$ac_optarg ;;
1129 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1130 | --program-suf | --program-su | --program-s)
1131 ac_prev=program_suffix ;;
1132 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1133 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1134 program_suffix=$ac_optarg ;;
1136 -program-transform-name | --program-transform-name \
1137 | --program-transform-nam | --program-transform-na \
1138 | --program-transform-n | --program-transform- \
1139 | --program-transform | --program-transfor \
1140 | --program-transfo | --program-transf \
1141 | --program-trans | --program-tran \
1142 | --progr-tra | --program-tr | --program-t)
1143 ac_prev=program_transform_name ;;
1144 -program-transform-name=* | --program-transform-name=* \
1145 | --program-transform-nam=* | --program-transform-na=* \
1146 | --program-transform-n=* | --program-transform-=* \
1147 | --program-transform=* | --program-transfor=* \
1148 | --program-transfo=* | --program-transf=* \
1149 | --program-trans=* | --program-tran=* \
1150 | --progr-tra=* | --program-tr=* | --program-t=*)
1151 program_transform_name=$ac_optarg ;;
1153 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1155 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1156 pdfdir=$ac_optarg ;;
1158 -psdir | --psdir | --psdi | --psd | --ps)
1160 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1164 | -silent | --silent | --silen | --sile | --sil)
1167 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1169 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1171 sbindir=$ac_optarg ;;
1173 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1174 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1175 | --sharedst | --shareds | --shared | --share | --shar \
1177 ac_prev=sharedstatedir ;;
1178 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1179 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1180 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1182 sharedstatedir=$ac_optarg ;;
1184 -site | --site | --sit)
1186 -site=* | --site=* | --sit=*)
1189 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1191 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1192 srcdir=$ac_optarg ;;
1194 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1195 | --syscon | --sysco | --sysc | --sys | --sy)
1196 ac_prev=sysconfdir ;;
1197 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1198 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1199 sysconfdir=$ac_optarg ;;
1201 -target | --target | --targe | --targ | --tar | --ta | --t)
1202 ac_prev=target_alias ;;
1203 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1204 target_alias=$ac_optarg ;;
1206 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1209 -version | --version | --versio | --versi | --vers | -V)
1210 ac_init_version=: ;;
1213 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_$ac_package=\$ac_optarg ;;
1221 -without-* | --without-*)
1222 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_$ac_package=no ;;
1231 # Obsolete; use --with-x.
1234 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235 | --x-incl | --x-inc | --x-in | --x-i)
1236 ac_prev=x_includes ;;
1237 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239 x_includes=$ac_optarg ;;
1241 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243 ac_prev=x_libraries ;;
1244 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246 x_libraries=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val=\$$ac_var
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x; then
1303 if test "x$build_alias" = x; then
1304 cross_compiling=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315 test "$silent" = yes && exec 6>/dev/null
1318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di=`ls -di .` &&
1320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var in $ac_precious_vars; do
1383 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_${ac_var}_value=\$${ac_var}
1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures AUDIOSESSIONMGR 1.0 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/audiosessionmgr]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1459 --build=BUILD configure for building on BUILD [guessed]
1460 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive ) echo "Configuration of AUDIOSESSIONMGR 1.0:";;
1471 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1472 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1473 --enable-platform-debug use platform debug default=no
1474 --enable-platform-intercall
1475 use platform intercall default=yes
1476 --disable-dependency-tracking speeds up one-time build
1477 --enable-dependency-tracking do not reject slow dependency extractors
1478 --enable-shared[=PKGS] build shared libraries [default=yes]
1479 --enable-static[=PKGS] build static libraries [default=yes]
1480 --enable-fast-install[=PKGS]
1481 optimize for fast installation [default=yes]
1482 --disable-libtool-lock avoid locking (might break parallel builds)
1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1487 --with-xo apply xo configuration [default=yes]
1488 --with-pic try to use only PIC/non-PIC objects [default=use
1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1492 Some influential environment variables:
1493 CC C compiler command
1494 CFLAGS C compiler flags
1495 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1496 nonstandard directory <lib dir>
1497 LIBS libraries to pass to the linker, e.g. -l<library>
1498 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1499 you have headers in a nonstandard directory <include dir>
1501 PKG_CONFIG path to pkg-config utility
1502 AUDIOSESSIONMGR_CFLAGS
1503 C compiler flags for AUDIOSESSIONMGR, overriding pkg-config
1504 AUDIOSESSIONMGR_LIBS
1505 linker flags for AUDIOSESSIONMGR, overriding pkg-config
1507 C compiler flags for MMLOG, overriding pkg-config
1508 MMLOG_LIBS linker flags for MMLOG, overriding pkg-config
1510 C compiler flags for SYSMAN, overriding pkg-config
1511 SYSMAN_LIBS linker flags for SYSMAN, overriding pkg-config
1513 Use these variables to override the choices made by `configure' or to help
1514 it to find libraries and programs with nonstandard names/locations.
1516 Report bugs to <BUG-REPORT-ADDRESS>.
1521 if test "$ac_init_help" = "recursive"; then
1522 # If there are subdirs, report their specific --help.
1523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1524 test -d "$ac_dir" || continue
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1544 .) # We are building in place.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 AUDIOSESSIONMGR configure 1.0
1578 generated by GNU Autoconf 2.61
1580 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1581 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1587 cat >config.log <<_ACEOF
1588 This file contains any messages produced by compilers while
1589 running configure, to aid debugging if configure makes a mistake.
1591 It was created by AUDIOSESSIONMGR $as_me 1.0, which was
1592 generated by GNU Autoconf 2.61. Invocation command line was
1604 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1605 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1606 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1607 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1608 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1610 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1611 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1613 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1614 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1615 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1616 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1617 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1618 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1619 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1627 test -z "$as_dir" && as_dir=.
1628 echo "PATH: $as_dir"
1644 # Keep a trace of the command line.
1645 # Strip out --no-create and --no-recursion so they do not pile up.
1646 # Strip out --silent because we don't want to record it for future runs.
1647 # Also quote any args containing shell meta-characters.
1648 # Make two passes to allow for proper duplicate-argument suppression.
1652 ac_must_keep_next=false
1658 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1660 | -silent | --silent | --silen | --sile | --sil)
1663 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1666 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1668 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1669 if test $ac_must_keep_next = true; then
1670 ac_must_keep_next=false # Got value, back to normal.
1673 *=* | --config-cache | -C | -disable-* | --disable-* \
1674 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1675 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1676 | -with-* | --with-* | -without-* | --without-* | --x)
1677 case "$ac_configure_args0 " in
1678 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1681 -* ) ac_must_keep_next=true ;;
1684 ac_configure_args="$ac_configure_args '$ac_arg'"
1689 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1690 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1692 # When interrupted or exit'd, cleanup temporary files, and complete
1693 # config.log. We remove comments because anyway the quotes in there
1694 # would cause problems or look ugly.
1695 # WARNING: Use '\'' to represent an apostrophe within the trap.
1696 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1697 trap 'exit_status=$?
1698 # Save into config.log some information that might help in debugging.
1703 ## ---------------- ##
1704 ## Cache variables. ##
1705 ## ---------------- ##
1708 # The following way of writing the cache mishandles newlines in values,
1710 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1711 eval ac_val=\$$ac_var
1715 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1716 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1719 _ | IFS | as_nl) ;; #(
1720 *) $as_unset $ac_var ;;
1725 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1726 *${as_nl}ac_space=\ *)
1728 "s/'\''/'\''\\\\'\'''\''/g;
1729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1740 ## ----------------- ##
1741 ## Output variables. ##
1742 ## ----------------- ##
1745 for ac_var in $ac_subst_vars
1747 eval ac_val=\$$ac_var
1749 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751 echo "$ac_var='\''$ac_val'\''"
1755 if test -n "$ac_subst_files"; then
1757 ## ------------------- ##
1758 ## File substitutions. ##
1759 ## ------------------- ##
1762 for ac_var in $ac_subst_files
1764 eval ac_val=\$$ac_var
1766 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1768 echo "$ac_var='\''$ac_val'\''"
1773 if test -s confdefs.h; then
1783 test "$ac_signal" != 0 &&
1784 echo "$as_me: caught signal $ac_signal"
1785 echo "$as_me: exit $exit_status"
1787 rm -f core *.core core.conftest.* &&
1788 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1791 for ac_signal in 1 2 13 15; do
1792 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1796 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1797 rm -f -r conftest* confdefs.h
1799 # Predefined preprocessor variables.
1801 cat >>confdefs.h <<_ACEOF
1802 #define PACKAGE_NAME "$PACKAGE_NAME"
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1811 cat >>confdefs.h <<_ACEOF
1812 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1816 cat >>confdefs.h <<_ACEOF
1817 #define PACKAGE_STRING "$PACKAGE_STRING"
1821 cat >>confdefs.h <<_ACEOF
1822 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1826 # Let the site file select an alternate cache file if it wants to.
1827 # Prefer explicitly selected file to automatically selected ones.
1828 if test -n "$CONFIG_SITE"; then
1829 set x "$CONFIG_SITE"
1830 elif test "x$prefix" != xNONE; then
1831 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1833 set x "$ac_default_prefix/share/config.site" \
1834 "$ac_default_prefix/etc/config.site"
1839 if test -r "$ac_site_file"; then
1840 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1841 echo "$as_me: loading site script $ac_site_file" >&6;}
1842 sed 's/^/| /' "$ac_site_file" >&5
1847 if test -r "$cache_file"; then
1848 # Some versions of bash will fail to source /dev/null (special
1849 # files actually), so we avoid doing that.
1850 if test -f "$cache_file"; then
1851 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1852 echo "$as_me: loading cache $cache_file" >&6;}
1854 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1855 *) . "./$cache_file";;
1859 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1860 echo "$as_me: creating cache $cache_file" >&6;}
1864 # Check that the precious variables saved in the cache have kept the same
1866 ac_cache_corrupted=false
1867 for ac_var in $ac_precious_vars; do
1868 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1869 eval ac_new_set=\$ac_env_${ac_var}_set
1870 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1871 eval ac_new_val=\$ac_env_${ac_var}_value
1872 case $ac_old_set,$ac_new_set in
1874 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1875 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1876 ac_cache_corrupted=: ;;
1878 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1879 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1880 ac_cache_corrupted=: ;;
1883 if test "x$ac_old_val" != "x$ac_new_val"; then
1884 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1885 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1886 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1887 echo "$as_me: former value: $ac_old_val" >&2;}
1888 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1889 echo "$as_me: current value: $ac_new_val" >&2;}
1890 ac_cache_corrupted=:
1893 # Pass precious variables to config.status.
1894 if test "$ac_new_set" = set; then
1896 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1897 *) ac_arg=$ac_var=$ac_new_val ;;
1899 case " $ac_configure_args " in
1900 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1901 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1905 if $ac_cache_corrupted; then
1906 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1907 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1908 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1909 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1910 { (exit 1); exit 1; }; }
1938 ac_cpp='$CPP $CPPFLAGS'
1939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 ac_config_headers="$ac_config_headers config.h"
1947 am__api_version='1.10'
1950 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1951 if test -f "$ac_dir/install-sh"; then
1953 ac_install_sh="$ac_aux_dir/install-sh -c"
1955 elif test -f "$ac_dir/install.sh"; then
1957 ac_install_sh="$ac_aux_dir/install.sh -c"
1959 elif test -f "$ac_dir/shtool"; then
1961 ac_install_sh="$ac_aux_dir/shtool install -c"
1965 if test -z "$ac_aux_dir"; then
1966 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1967 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1968 { (exit 1); exit 1; }; }
1971 # These three variables are undocumented and unsupported,
1972 # and are intended to be withdrawn in a future Autoconf release.
1973 # They can cause serious problems if a builder's source tree is in a directory
1974 # whose full name contains unusual characters.
1975 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1976 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1977 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1980 # Find a good install program. We prefer a C program (faster),
1981 # so one script is as good as another. But avoid the broken or
1982 # incompatible versions:
1983 # SysV /etc/install, /usr/sbin/install
1984 # SunOS /usr/etc/install
1985 # IRIX /sbin/install
1987 # AmigaOS /C/install, which installs bootblocks on floppy discs
1988 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1989 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1990 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1991 # OS/2's system install, which has a completely different semantic
1992 # ./install, which can be erroneously created by make from ./install.sh.
1993 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1994 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1995 if test -z "$INSTALL"; then
1996 if test "${ac_cv_path_install+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 # Account for people who put trailing slashes in PATH elements.
2006 ./ | .// | /cC/* | \
2007 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2008 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2011 # OSF1 and SCO ODT 3.0 have their own names for install.
2012 # Don't use installbsd from OSF since it installs stuff as root
2014 for ac_prog in ginstall scoinst install; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2017 if test $ac_prog = install &&
2018 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # AIX install. It has an incompatible calling convention.
2021 elif test $ac_prog = install &&
2022 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2023 # program-specific install script used by HP pwplus--don't use.
2026 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2039 if test "${ac_cv_path_install+set}" = set; then
2040 INSTALL=$ac_cv_path_install
2042 # As a last resort, use the slow shell script. Don't cache a
2043 # value for INSTALL within a source directory, because that will
2044 # break other packages using the cache if that directory is
2045 # removed, or if the value is a relative name.
2046 INSTALL=$ac_install_sh
2049 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2050 echo "${ECHO_T}$INSTALL" >&6; }
2052 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2053 # It thinks the first close brace ends the variable substitution.
2054 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2056 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2058 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2061 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2064 echo timestamp > conftest.file
2065 # Do `set' in a subshell so we don't clobber the current shell's
2066 # arguments. Must try -L first in case configure is actually a
2067 # symlink; some systems play weird games with the mod time of symlinks
2068 # (eg FreeBSD returns the mod time of the symlink's containing
2071 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2072 if test "$*" = "X"; then
2074 set X `ls -t $srcdir/configure conftest.file`
2077 if test "$*" != "X $srcdir/configure conftest.file" \
2078 && test "$*" != "X conftest.file $srcdir/configure"; then
2080 # If neither matched, then we have a broken ls. This can happen
2081 # if, for instance, CONFIG_SHELL is bash and it inherits a
2082 # broken ls alias from the environment. This has actually
2083 # happened. Such a system could not be considered "sane".
2084 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2085 alias in your environment" >&5
2086 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2087 alias in your environment" >&2;}
2088 { (exit 1); exit 1; }; }
2091 test "$2" = conftest.file
2097 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2098 Check your system clock" >&5
2099 echo "$as_me: error: newly created file is older than distributed files!
2100 Check your system clock" >&2;}
2101 { (exit 1); exit 1; }; }
2103 { echo "$as_me:$LINENO: result: yes" >&5
2104 echo "${ECHO_T}yes" >&6; }
2105 test "$program_prefix" != NONE &&
2106 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2107 # Use a double $ so make ignores it.
2108 test "$program_suffix" != NONE &&
2109 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2110 # Double any \ or $. echo might interpret backslashes.
2111 # By default was `s,x,x', remove it if useless.
2112 cat <<\_ACEOF >conftest.sed
2113 s/[\\$]/&&/g;s/;s,x,x,$//
2115 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2118 # expand $ac_aux_dir to an absolute path
2119 am_aux_dir=`cd $ac_aux_dir && pwd`
2121 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2122 # Use eval to expand $SHELL
2123 if eval "$MISSING --run true"; then
2124 am_missing_run="$MISSING --run "
2127 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2128 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2131 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2132 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2133 if test -z "$MKDIR_P"; then
2134 if test "${ac_cv_path_mkdir+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2141 test -z "$as_dir" && as_dir=.
2142 for ac_prog in mkdir gmkdir; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2145 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2146 'mkdir (GNU coreutils) '* | \
2147 'mkdir (coreutils) '* | \
2148 'mkdir (fileutils) '4.1*)
2149 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2159 if test "${ac_cv_path_mkdir+set}" = set; then
2160 MKDIR_P="$ac_cv_path_mkdir -p"
2162 # As a last resort, use the slow shell script. Don't cache a
2163 # value for MKDIR_P within a source directory, because that will
2164 # break other packages using the cache if that directory is
2165 # removed, or if the value is a relative name.
2166 test -d ./--version && rmdir ./--version
2167 MKDIR_P="$ac_install_sh -d"
2170 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2171 echo "${ECHO_T}$MKDIR_P" >&6; }
2175 [\\/$]* | ?:[\\/]*) ;;
2176 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2179 for ac_prog in gawk mawk nawk awk
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy $ac_prog; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_AWK+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$AWK"; then
2189 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_AWK="$ac_prog"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test -n "$AWK"; then
2210 { echo "$as_me:$LINENO: result: $AWK" >&5
2211 echo "${ECHO_T}$AWK" >&6; }
2213 { echo "$as_me:$LINENO: result: no" >&5
2214 echo "${ECHO_T}no" >&6; }
2218 test -n "$AWK" && break
2221 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2223 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2224 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.make <<\_ACEOF
2230 @echo '@@@%%%=$(MAKE)=@@@%%%'
2232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2235 eval ac_cv_prog_make_${ac_make}_set=yes;;
2237 eval ac_cv_prog_make_${ac_make}_set=no;;
2241 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2242 { echo "$as_me:$LINENO: result: yes" >&5
2243 echo "${ECHO_T}yes" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2248 SET_MAKE="MAKE=${MAKE-make}"
2251 rm -rf .tst 2>/dev/null
2252 mkdir .tst 2>/dev/null
2253 if test -d .tst; then
2258 rmdir .tst 2>/dev/null
2260 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2261 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2262 # is not polluted with repeated "-I."
2263 am__isrc=' -I$(srcdir)'
2264 # test to see if srcdir already configured
2265 if test -f $srcdir/config.status; then
2266 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2267 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2268 { (exit 1); exit 1; }; }
2272 # test whether we have cygpath
2273 if test -z "$CYGPATH_W"; then
2274 if (cygpath --version) >/dev/null 2>/dev/null; then
2275 CYGPATH_W='cygpath -w'
2282 # Define the identity of the package.
2283 PACKAGE=audio-session-manager
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE "$PACKAGE"
2292 cat >>confdefs.h <<_ACEOF
2293 #define VERSION "$VERSION"
2296 # Some tools Automake needs.
2298 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2301 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2304 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2307 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2310 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2312 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2314 # Installed binaries are usually stripped using `strip' when the user
2315 # run `make install-strip'. However `strip' might not be the right
2316 # tool to use in cross-compilation environments, therefore Automake
2317 # will honor the `STRIP' environment variable to overrule this program.
2318 if test "$cross_compiling" != no; then
2319 if test -n "$ac_tool_prefix"; then
2320 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2321 set dummy ${ac_tool_prefix}strip; ac_word=$2
2322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 if test "${ac_cv_prog_STRIP+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$STRIP"; then
2328 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 STRIP=$ac_cv_prog_STRIP
2348 if test -n "$STRIP"; then
2349 { echo "$as_me:$LINENO: result: $STRIP" >&5
2350 echo "${ECHO_T}$STRIP" >&6; }
2352 { echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6; }
2358 if test -z "$ac_cv_prog_STRIP"; then
2360 # Extract the first word of "strip", so it can be a program name with args.
2361 set dummy strip; ac_word=$2
2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$ac_ct_STRIP"; then
2368 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_ac_ct_STRIP="strip"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2388 if test -n "$ac_ct_STRIP"; then
2389 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2390 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2396 if test "x$ac_ct_STRIP" = x; then
2399 case $cross_compiling:$ac_tool_warned in
2401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2402 whose name does not start with the host triplet. If you think this
2403 configuration is useful to you, please write to autoconf@gnu.org." >&5
2404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2405 whose name does not start with the host triplet. If you think this
2406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2407 ac_tool_warned=yes ;;
2412 STRIP="$ac_cv_prog_STRIP"
2416 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2418 # We need awk for the "check" target. The system "awk" is bad on
2420 # Always define AMTAR for backward compatibility.
2422 AMTAR=${AMTAR-"${am_missing_run}tar"}
2424 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2433 # Check whether --with-xo was given.
2434 if test "${with_xo+set}" = set; then
2435 withval=$with_xo; test "$withval" = yes || with_xo=no
2441 if test "$with_xo" = yes; then
2442 if test "x$MODEL" != "x" ; then
2444 cat >>confdefs.h <<_ACEOF
2445 #define PLATFORM_MODEL_NAME "$MODEL"
2449 echo "model_name not specified"
2452 if test "x$WINSYS" = "xtinyx"; then
2454 cat >>confdefs.h <<\_ACEOF
2455 #define PLATFORM_WINSYS "X"
2460 cat >>confdefs.h <<\_ACEOF
2461 #define PLATFORM_WINSYS "DFB"
2466 if test "x$LCDTYPE" = "xWVGA" ; then
2468 cat >>confdefs.h <<\_ACEOF
2469 #define PLATFORM_LCDTYPE "WVGA"
2473 cat >>confdefs.h <<\_ACEOF
2474 #define PLATFORM_LCD_WIDTH 800
2478 cat >>confdefs.h <<\_ACEOF
2479 #define PLATFORM_LCD_HEIGHT 480
2482 elif test "x$LCDTYPE" = "xWQVGA" ; then
2484 cat >>confdefs.h <<\_ACEOF
2485 #define PLATFORM_LCDEYPE "WQVGA"
2489 cat >>confdefs.h <<\_ACEOF
2490 #define PLATFORM_LCD_WIDTH 400
2494 cat >>confdefs.h <<\_ACEOF
2495 #define PLATFORM_LCD_HEIGHT 240
2498 elif test "x$LCDTYPE" = "xSQVGA" ; then
2500 cat >>confdefs.h <<\_ACEOF
2501 #define PLATFORM_LCDTYPE "SQVGA"
2505 cat >>confdefs.h <<\_ACEOF
2506 #define PLATFORM_LCD_WIDTH 320
2510 cat >>confdefs.h <<\_ACEOF
2511 #define PLATFORM_LCD_HEIGHT 320
2514 elif test "x$LCDTYPE" = "xQVGA" ; then
2516 cat >>confdefs.h <<\_ACEOF
2517 #define PLATFORM_LCDTYPE "QVGA"
2521 cat >>confdefs.h <<\_ACEOF
2522 #define PLATFORM_LCD_WIDTH 240
2526 cat >>confdefs.h <<\_ACEOF
2527 #define PLATFORM_LCD_HEIGHT 320
2531 echo "lcdtype not specified"
2534 if test "x$EFFECT" = "xall" ; then
2536 cat >>confdefs.h <<\_ACEOF
2537 #define PLATFORM_EFFECT "all"
2540 elif test "x$EFFECT" = "xwindow" ; then
2542 cat >>confdefs.h <<\_ACEOF
2543 #define PLATFORM_EFFECT "window"
2546 elif test "x$EFFECT" = "xwidget" ; then
2548 cat >>confdefs.h <<\_ACEOF
2549 #define PLATFORM_EFFECT "widget"
2554 cat >>confdefs.h <<\_ACEOF
2555 #define PLATFORM_EFFECT "none"
2560 if test "x$MMC_ROOT_PATH" != "x"; then
2562 cat >>confdefs.h <<_ACEOF
2563 #define PLATFORM_MMC_ROOT_PATH "$MMC_ROOT_PATH"
2569 cat >>confdefs.h <<\_ACEOF
2570 #define EXPORT_API __attribute__((visibility("default")))
2578 # Check whether --enable-platform-debug was given.
2579 if test "${enable_platform_debug+set}" = set; then
2580 enableval=$enable_platform_debug;
2582 enable_platform_debug=no
2586 if test x$enable_platform_debug = xyes; then
2588 cat >>confdefs.h <<\_ACEOF
2589 #define PLATFORM_DEBUG "yes"
2594 cat >>confdefs.h <<\_ACEOF
2595 #define PLATFORM_DEBUG "no"
2600 # Check whether --enable-platform-intercall was given.
2601 if test "${enable_platform_intercall+set}" = set; then
2602 enableval=$enable_platform_intercall;
2604 enable_platform_intercall=yes
2608 have_platform_intercall=no
2609 if test x$enable_platform_intercall= xyes; then
2611 cat >>confdefs.h <<\_ACEOF
2612 #define PLATFORM_INTERCALL "yes"
2617 cat >>confdefs.h <<\_ACEOF
2618 #define PLATFORM_INTERCALL "no"
2626 # Checks for programs.
2628 ac_cpp='$CPP $CPPFLAGS'
2629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632 if test -n "$ac_tool_prefix"; then
2633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2634 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637 if test "${ac_cv_prog_CC+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$CC"; then
2641 ac_cv_prog_CC="$CC" # Let the user override the test.
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 if test -n "$CC"; then
2662 { echo "$as_me:$LINENO: result: $CC" >&5
2663 echo "${ECHO_T}$CC" >&6; }
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2671 if test -z "$ac_cv_prog_CC"; then
2673 # Extract the first word of "gcc", so it can be a program name with args.
2674 set dummy gcc; ac_word=$2
2675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$ac_ct_CC"; then
2681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 ac_cv_prog_ac_ct_CC="gcc"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2701 if test -n "$ac_ct_CC"; then
2702 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2703 echo "${ECHO_T}$ac_ct_CC" >&6; }
2705 { echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6; }
2709 if test "x$ac_ct_CC" = x; then
2712 case $cross_compiling:$ac_tool_warned in
2714 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2715 whose name does not start with the host triplet. If you think this
2716 configuration is useful to you, please write to autoconf@gnu.org." >&5
2717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2718 whose name does not start with the host triplet. If you think this
2719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2720 ac_tool_warned=yes ;;
2728 if test -z "$CC"; then
2729 if test -n "$ac_tool_prefix"; then
2730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2731 set dummy ${ac_tool_prefix}cc; ac_word=$2
2732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2734 if test "${ac_cv_prog_CC+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC="$CC" # Let the user override the test.
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 ac_cv_prog_CC="${ac_tool_prefix}cc"
2748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$CC"; then
2759 { echo "$as_me:$LINENO: result: $CC" >&5
2760 echo "${ECHO_T}$CC" >&6; }
2762 { echo "$as_me:$LINENO: result: no" >&5
2763 echo "${ECHO_T}no" >&6; }
2769 if test -z "$CC"; then
2770 # Extract the first word of "cc", so it can be a program name with args.
2771 set dummy cc; ac_word=$2
2772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2774 if test "${ac_cv_prog_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$CC"; then
2778 ac_cv_prog_CC="$CC" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2789 ac_prog_rejected=yes
2793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 if test $ac_prog_rejected = yes; then
2801 # We found a bogon in the path, so make sure we never use it.
2802 set dummy $ac_cv_prog_CC
2804 if test $# != 0; then
2805 # We chose a different compiler from the bogus one.
2806 # However, it has the same basename, so the bogon will be chosen
2807 # first if we set CC to just the basename; use the full file name.
2809 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2815 if test -n "$CC"; then
2816 { echo "$as_me:$LINENO: result: $CC" >&5
2817 echo "${ECHO_T}$CC" >&6; }
2819 { echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6; }
2825 if test -z "$CC"; then
2826 if test -n "$ac_tool_prefix"; then
2827 for ac_prog in cl.exe
2829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2833 if test "${ac_cv_prog_CC+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 if test -n "$CC"; then
2837 ac_cv_prog_CC="$CC" # Let the user override the test.
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir=.
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 { echo "$as_me:$LINENO: result: $CC" >&5
2859 echo "${ECHO_T}$CC" >&6; }
2861 { echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6; }
2866 test -n "$CC" && break
2869 if test -z "$CC"; then
2871 for ac_prog in cl.exe
2873 # Extract the first word of "$ac_prog", so it can be a program name with args.
2874 set dummy $ac_prog; ac_word=$2
2875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$ac_ct_CC"; then
2881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 ac_cv_prog_ac_ct_CC="$ac_prog"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2901 if test -n "$ac_ct_CC"; then
2902 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2903 echo "${ECHO_T}$ac_ct_CC" >&6; }
2905 { echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6; }
2910 test -n "$ac_ct_CC" && break
2913 if test "x$ac_ct_CC" = x; then
2916 case $cross_compiling:$ac_tool_warned in
2918 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2919 whose name does not start with the host triplet. If you think this
2920 configuration is useful to you, please write to autoconf@gnu.org." >&5
2921 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2922 whose name does not start with the host triplet. If you think this
2923 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2924 ac_tool_warned=yes ;;
2933 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2934 See \`config.log' for more details." >&5
2935 echo "$as_me: error: no acceptable C compiler found in \$PATH
2936 See \`config.log' for more details." >&2;}
2937 { (exit 1); exit 1; }; }
2939 # Provide some information about the compiler.
2940 echo "$as_me:$LINENO: checking for C compiler version" >&5
2941 ac_compiler=`set X $ac_compile; echo $2`
2942 { (ac_try="$ac_compiler --version >&5"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948 (eval "$ac_compiler --version >&5") 2>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }
2952 { (ac_try="$ac_compiler -v >&5"
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_compiler -v >&5") 2>&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }
2962 { (ac_try="$ac_compiler -V >&5"
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2968 (eval "$ac_compiler -V >&5") 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }
2973 cat >conftest.$ac_ext <<_ACEOF
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2988 ac_clean_files_save=$ac_clean_files
2989 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2990 # Try to create an executable without -o first, disregard a.out.
2991 # It will help us diagnose broken compilers, and finding out an intuition
2993 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2994 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2995 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2997 # List of possible output files, starting from the most likely.
2998 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2999 # only as a last resort. b.out is created by i960 compilers.
3000 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3002 # The IRIX 6 linker writes into existing files which may not be
3003 # executable, retaining their permissions. Remove them first so a
3004 # subsequent execution test works.
3006 for ac_file in $ac_files
3009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3015 if { (ac_try="$ac_link_default"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021 (eval "$ac_link_default") 2>&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; then
3025 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3026 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3027 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3028 # so that the user can short-circuit this test for compilers unknown to
3030 for ac_file in $ac_files ''
3032 test -f "$ac_file" || continue
3034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3037 # We found the default executable, but exeext='' is most
3041 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3043 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3045 # We set ac_cv_exeext here because the later test for it is not
3046 # safe: cross compilers may not add the suffix if given an `-o'
3047 # argument, so we may need to know it at that point already.
3048 # Even if this section looks crufty: it has the advantage of
3055 test "$ac_cv_exeext" = no && ac_cv_exeext=
3061 { echo "$as_me:$LINENO: result: $ac_file" >&5
3062 echo "${ECHO_T}$ac_file" >&6; }
3063 if test -z "$ac_file"; then
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3067 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3068 See \`config.log' for more details." >&5
3069 echo "$as_me: error: C compiler cannot create executables
3070 See \`config.log' for more details." >&2;}
3071 { (exit 77); exit 77; }; }
3074 ac_exeext=$ac_cv_exeext
3076 # Check that the compiler produces executables we can run. If not, either
3077 # the compiler is broken, or we cross compile.
3078 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3079 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3080 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3081 # If not cross compiling, check that we can run a simple program.
3082 if test "$cross_compiling" != yes; then
3083 if { ac_try='./$ac_file'
3084 { (case "(($ac_try" in
3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3089 (eval "$ac_try") 2>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; }; then
3095 if test "$cross_compiling" = maybe; then
3098 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3099 If you meant to cross compile, use \`--host'.
3100 See \`config.log' for more details." >&5
3101 echo "$as_me: error: cannot run C compiled programs.
3102 If you meant to cross compile, use \`--host'.
3103 See \`config.log' for more details." >&2;}
3104 { (exit 1); exit 1; }; }
3108 { echo "$as_me:$LINENO: result: yes" >&5
3109 echo "${ECHO_T}yes" >&6; }
3111 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3112 ac_clean_files=$ac_clean_files_save
3113 # Check that the compiler produces executables we can run. If not, either
3114 # the compiler is broken, or we cross compile.
3115 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3116 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3117 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3118 echo "${ECHO_T}$cross_compiling" >&6; }
3120 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3121 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3122 if { (ac_try="$ac_link"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3128 (eval "$ac_link") 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3134 # work properly (i.e., refer to `conftest.exe'), while it won't with
3136 for ac_file in conftest.exe conftest conftest.*; do
3137 test -f "$ac_file" || continue
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3146 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3147 See \`config.log' for more details." >&5
3148 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3149 See \`config.log' for more details." >&2;}
3150 { (exit 1); exit 1; }; }
3153 rm -f conftest$ac_cv_exeext
3154 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3155 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3157 rm -f conftest.$ac_ext
3158 EXEEXT=$ac_cv_exeext
3160 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3161 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3162 if test "${ac_cv_objext+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3180 rm -f conftest.o conftest.obj
3181 if { (ac_try="$ac_compile"
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_compile") 2>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; then
3191 for ac_file in conftest.o conftest.obj conftest.*; do
3192 test -f "$ac_file" || continue;
3194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3195 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3204 See \`config.log' for more details." >&5
3205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3206 See \`config.log' for more details." >&2;}
3207 { (exit 1); exit 1; }; }
3210 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3212 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3213 echo "${ECHO_T}$ac_cv_objext" >&6; }
3214 OBJEXT=$ac_cv_objext
3216 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3217 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3239 rm -f conftest.$ac_objext
3240 if { (ac_try="$ac_compile"
3242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3246 (eval "$ac_compile") 2>conftest.er1
3248 grep -v '^ *+' conftest.er1 >conftest.err
3250 cat conftest.err >&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } && {
3253 test -z "$ac_c_werror_flag" ||
3254 test ! -s conftest.err
3255 } && test -s conftest.$ac_objext; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3268 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3269 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3270 GCC=`test $ac_compiler_gnu = yes && echo yes`
3271 ac_test_CFLAGS=${CFLAGS+set}
3272 ac_save_CFLAGS=$CFLAGS
3273 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3274 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3275 if test "${ac_cv_prog_cc_g+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 ac_save_c_werror_flag=$ac_c_werror_flag
3279 ac_c_werror_flag=yes
3282 cat >conftest.$ac_ext <<_ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compile") 2>conftest.er1
3306 grep -v '^ *+' conftest.er1 >conftest.err
3308 cat conftest.err >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); } && {
3311 test -z "$ac_c_werror_flag" ||
3312 test ! -s conftest.err
3313 } && test -s conftest.$ac_objext; then
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3320 cat >conftest.$ac_ext <<_ACEOF
3323 cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3335 rm -f conftest.$ac_objext
3336 if { (ac_try="$ac_compile"
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compile") 2>conftest.er1
3344 grep -v '^ *+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } && {
3349 test -z "$ac_c_werror_flag" ||
3350 test ! -s conftest.err
3351 } && test -s conftest.$ac_objext; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3383 grep -v '^ *+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_c_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.$ac_objext; then
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 ac_c_werror_flag=$ac_save_c_werror_flag
3408 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3409 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3410 if test "$ac_test_CFLAGS" = set; then
3411 CFLAGS=$ac_save_CFLAGS
3412 elif test $ac_cv_prog_cc_g = yes; then
3413 if test "$GCC" = yes; then
3419 if test "$GCC" = yes; then
3425 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3426 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3427 if test "${ac_cv_prog_cc_c89+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 ac_cv_prog_cc_c89=no
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3440 #include <sys/types.h>
3441 #include <sys/stat.h>
3442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3443 struct buf { int x; };
3444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3445 static char *e (p, i)
3451 static char *f (char * (*g) (char **, int), char **p, ...)
3456 s = g (p, va_arg (v,int));
3461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3462 function prototypes and stuff, but not '\xHH' hex character constants.
3463 These don't provoke an error unfortunately, instead are silently treated
3464 as 'x'. The following induces an error, until -std is added to get
3465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3466 array size at least. It's necessary to write '\x00'==0 to get something
3467 that's true only with -std. */
3468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3471 inside strings and character constants. */
3473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3475 int test (int i, double x);
3476 struct s1 {int (*f) (int a);};
3477 struct s2 {int (*f) (double a);};
3478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3492 CC="$ac_save_CC $ac_arg"
3493 rm -f conftest.$ac_objext
3494 if { (ac_try="$ac_compile"
3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3500 (eval "$ac_compile") 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } && {
3507 test -z "$ac_c_werror_flag" ||
3508 test ! -s conftest.err
3509 } && test -s conftest.$ac_objext; then
3510 ac_cv_prog_cc_c89=$ac_arg
3512 echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3518 rm -f core conftest.err conftest.$ac_objext
3519 test "x$ac_cv_prog_cc_c89" != "xno" && break
3521 rm -f conftest.$ac_ext
3526 case "x$ac_cv_prog_cc_c89" in
3528 { echo "$as_me:$LINENO: result: none needed" >&5
3529 echo "${ECHO_T}none needed" >&6; } ;;
3531 { echo "$as_me:$LINENO: result: unsupported" >&5
3532 echo "${ECHO_T}unsupported" >&6; } ;;
3534 CC="$CC $ac_cv_prog_cc_c89"
3535 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3536 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 DEPDIR="${am__leading_dot}deps"
3547 ac_config_commands="$ac_config_commands depfiles"
3550 am_make=${MAKE-make}
3551 cat > confinc << 'END'
3556 # If we don't find an include directive, just comment out the code.
3557 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3558 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3562 # First try GNU make style include.
3563 echo "include confinc" > confmf
3564 # We grep out `Entering directory' and `Leaving directory'
3565 # messages which can occur if `w' ends up in MAKEFLAGS.
3566 # In particular we don't look at `^make:' because GNU make might
3567 # be invoked under some other name (usually "gmake"), in which
3568 # case it prints its new name instead of `make'.
3569 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3574 # Now try BSD make style include.
3575 if test "$am__include" = "#"; then
3576 echo '.include "confinc"' > confmf
3577 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3578 am__include=.include
3585 { echo "$as_me:$LINENO: result: $_am_result" >&5
3586 echo "${ECHO_T}$_am_result" >&6; }
3587 rm -f confinc confmf
3589 # Check whether --enable-dependency-tracking was given.
3590 if test "${enable_dependency_tracking+set}" = set; then
3591 enableval=$enable_dependency_tracking;
3594 if test "x$enable_dependency_tracking" != xno; then
3595 am_depcomp="$ac_aux_dir/depcomp"
3598 if test "x$enable_dependency_tracking" != xno; then
3608 depcc="$CC" am_compiler_list=
3610 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3611 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3612 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3616 # We make a subdir and do the tests there. Otherwise we can end up
3617 # making bogus files that we don't know about and never remove. For
3618 # instance it was reported that on HP-UX the gcc test will end up
3619 # making a dummy file named `D' -- because `-MD' means `put the output
3622 # Copy depcomp to subdir because otherwise we won't find it if we're
3623 # using a relative directory.
3624 cp "$am_depcomp" conftest.dir
3626 # We will build objects and dependencies in a subdirectory because
3627 # it helps to detect inapplicable dependency modes. For instance
3628 # both Tru64's cc and ICC support -MD to output dependencies as a
3629 # side effect of compilation, but ICC will put the dependencies in
3630 # the current directory while Tru64 will put them in the object
3634 am_cv_CC_dependencies_compiler_type=none
3635 if test "$am_compiler_list" = ""; then
3636 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3638 for depmode in $am_compiler_list; do
3639 # Setup a source with many dependencies, because some compilers
3640 # like to wrap large dependency lists on column 80 (with \), and
3641 # we should not choose a depcomp mode which is confused by this.
3643 # We need to recreate these files for each test, as the compiler may
3644 # overwrite some of them when testing with obscure command lines.
3645 # This happens at least with the AIX C compiler.
3647 for i in 1 2 3 4 5 6; do
3648 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3649 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3650 # Solaris 8's {/usr,}/bin/sh.
3651 touch sub/conftst$i.h
3653 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3657 # after this tag, mechanisms are not by side-effect, so they'll
3658 # only be used when explicitly requested
3659 if test "x$enable_dependency_tracking" = xyes; then
3667 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3668 # mode. It turns out that the SunPro C++ compiler does not properly
3669 # handle `-M -o', and we need to detect this.
3670 if depmode=$depmode \
3671 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3672 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3673 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3674 >/dev/null 2>conftest.err &&
3675 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3676 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3677 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3678 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3679 # icc doesn't choke on unknown options, it will just issue warnings
3680 # or remarks (even with -Werror). So we grep stderr for any message
3681 # that says an option was ignored or not supported.
3682 # When given -MP, icc 7.0 and 7.1 complain thusly:
3683 # icc: Command line warning: ignoring option '-M'; no argument required
3684 # The diagnosis changed in icc 8.0:
3685 # icc: Command line remark: option '-MP' not supported
3686 if (grep 'ignoring option' conftest.err ||
3687 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3688 am_cv_CC_dependencies_compiler_type=$depmode
3697 am_cv_CC_dependencies_compiler_type=none
3701 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3702 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3703 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3706 test "x$enable_dependency_tracking" != xno \
3707 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3709 am__fastdepCC_FALSE='#'
3711 am__fastdepCC_TRUE='#'
3712 am__fastdepCC_FALSE=
3716 # Find a good install program. We prefer a C program (faster),
3717 # so one script is as good as another. But avoid the broken or
3718 # incompatible versions:
3719 # SysV /etc/install, /usr/sbin/install
3720 # SunOS /usr/etc/install
3721 # IRIX /sbin/install
3723 # AmigaOS /C/install, which installs bootblocks on floppy discs
3724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3727 # OS/2's system install, which has a completely different semantic
3728 # ./install, which can be erroneously created by make from ./install.sh.
3729 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3730 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3731 if test -z "$INSTALL"; then
3732 if test "${ac_cv_path_install+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 # Account for people who put trailing slashes in PATH elements.
3742 ./ | .// | /cC/* | \
3743 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3744 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3747 # OSF1 and SCO ODT 3.0 have their own names for install.
3748 # Don't use installbsd from OSF since it installs stuff as root
3750 for ac_prog in ginstall scoinst install; do
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3753 if test $ac_prog = install &&
3754 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3755 # AIX install. It has an incompatible calling convention.
3757 elif test $ac_prog = install &&
3758 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3759 # program-specific install script used by HP pwplus--don't use.
3762 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3775 if test "${ac_cv_path_install+set}" = set; then
3776 INSTALL=$ac_cv_path_install
3778 # As a last resort, use the slow shell script. Don't cache a
3779 # value for INSTALL within a source directory, because that will
3780 # break other packages using the cache if that directory is
3781 # removed, or if the value is a relative name.
3782 INSTALL=$ac_install_sh
3785 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3786 echo "${ECHO_T}$INSTALL" >&6; }
3788 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3789 # It thinks the first close brace ends the variable substitution.
3790 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3792 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3794 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3796 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3798 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3799 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 cat >conftest.make <<\_ACEOF
3805 @echo '@@@%%%=$(MAKE)=@@@%%%'
3807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3810 eval ac_cv_prog_make_${ac_make}_set=yes;;
3812 eval ac_cv_prog_make_${ac_make}_set=no;;
3816 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3817 { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3821 { echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6; }
3823 SET_MAKE="MAKE=${MAKE-make}"
3828 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3829 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3834 macro_version='2.2.4'
3835 macro_revision='1.2976'
3849 ltmain="$ac_aux_dir/ltmain.sh"
3851 # Make sure we can run config.sub.
3852 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3853 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3854 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3855 { (exit 1); exit 1; }; }
3857 { echo "$as_me:$LINENO: checking build system type" >&5
3858 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3859 if test "${ac_cv_build+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 ac_build_alias=$build_alias
3863 test "x$ac_build_alias" = x &&
3864 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3865 test "x$ac_build_alias" = x &&
3866 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3867 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3868 { (exit 1); exit 1; }; }
3869 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3870 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3871 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3872 { (exit 1); exit 1; }; }
3875 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3876 echo "${ECHO_T}$ac_cv_build" >&6; }
3877 case $ac_cv_build in
3879 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3880 echo "$as_me: error: invalid value of canonical build" >&2;}
3881 { (exit 1); exit 1; }; };;
3884 ac_save_IFS=$IFS; IFS='-'
3890 # Remember, the first character of IFS is used to create $*,
3891 # except with old shells:
3894 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3897 { echo "$as_me:$LINENO: checking host system type" >&5
3898 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3899 if test "${ac_cv_host+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if test "x$host_alias" = x; then
3903 ac_cv_host=$ac_cv_build
3905 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3906 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3907 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3908 { (exit 1); exit 1; }; }
3912 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3913 echo "${ECHO_T}$ac_cv_host" >&6; }
3916 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3917 echo "$as_me: error: invalid value of canonical host" >&2;}
3918 { (exit 1); exit 1; }; };;
3921 ac_save_IFS=$IFS; IFS='-'
3927 # Remember, the first character of IFS is used to create $*,
3928 # except with old shells:
3931 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3934 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3935 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3936 if test "${ac_cv_path_SED+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3940 for ac_i in 1 2 3 4 5 6 7; do
3941 ac_script="$ac_script$as_nl$ac_script"
3943 echo "$ac_script" | sed 99q >conftest.sed
3944 $as_unset ac_script || ac_script=
3945 # Extract the first word of "sed gsed" to use in msg output
3946 if test -z "$SED"; then
3947 set dummy sed gsed; ac_prog_name=$2
3948 if test "${ac_cv_path_SED+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 ac_path_SED_found=false
3952 # Loop through the user's path and test for each of PROGNAME-LIST
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir=.
3958 for ac_prog in sed gsed; do
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3961 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3962 # Check for GNU ac_path_SED and select it if it is found.
3963 # Check for GNU $ac_path_SED
3964 case `"$ac_path_SED" --version 2>&1` in
3966 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3969 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3972 cat "conftest.in" "conftest.in" >"conftest.tmp"
3973 mv "conftest.tmp" "conftest.in"
3974 cp "conftest.in" "conftest.nl"
3975 echo '' >> "conftest.nl"
3976 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3977 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3978 ac_count=`expr $ac_count + 1`
3979 if test $ac_count -gt ${ac_path_SED_max-0}; then
3980 # Best one so far, save it but keep looking for a better one
3981 ac_cv_path_SED="$ac_path_SED"
3982 ac_path_SED_max=$ac_count
3984 # 10*(2^10) chars as input seems more than enough
3985 test $ac_count -gt 10 && break
3987 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3991 $ac_path_SED_found && break 3
4001 SED="$ac_cv_path_SED"
4002 if test -z "$SED"; then
4003 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4004 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4005 { (exit 1); exit 1; }; }
4013 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4014 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4015 SED="$ac_cv_path_SED"
4018 test -z "$SED" && SED=sed
4019 Xsed="$SED -e 1s/^X//"
4031 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4032 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4033 if test "${ac_cv_path_GREP+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 # Extract the first word of "grep ggrep" to use in msg output
4037 if test -z "$GREP"; then
4038 set dummy grep ggrep; ac_prog_name=$2
4039 if test "${ac_cv_path_GREP+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 ac_path_GREP_found=false
4043 # Loop through the user's path and test for each of PROGNAME-LIST
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4048 test -z "$as_dir" && as_dir=.
4049 for ac_prog in grep ggrep; do
4050 for ac_exec_ext in '' $ac_executable_extensions; do
4051 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4052 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4053 # Check for GNU ac_path_GREP and select it if it is found.
4054 # Check for GNU $ac_path_GREP
4055 case `"$ac_path_GREP" --version 2>&1` in
4057 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4060 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4063 cat "conftest.in" "conftest.in" >"conftest.tmp"
4064 mv "conftest.tmp" "conftest.in"
4065 cp "conftest.in" "conftest.nl"
4066 echo 'GREP' >> "conftest.nl"
4067 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4068 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4069 ac_count=`expr $ac_count + 1`
4070 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4071 # Best one so far, save it but keep looking for a better one
4072 ac_cv_path_GREP="$ac_path_GREP"
4073 ac_path_GREP_max=$ac_count
4075 # 10*(2^10) chars as input seems more than enough
4076 test $ac_count -gt 10 && break
4078 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4082 $ac_path_GREP_found && break 3
4092 GREP="$ac_cv_path_GREP"
4093 if test -z "$GREP"; then
4094 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4095 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4096 { (exit 1); exit 1; }; }
4100 ac_cv_path_GREP=$GREP
4105 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4106 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4107 GREP="$ac_cv_path_GREP"
4110 { echo "$as_me:$LINENO: checking for egrep" >&5
4111 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4112 if test "${ac_cv_path_EGREP+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4116 then ac_cv_path_EGREP="$GREP -E"
4118 # Extract the first word of "egrep" to use in msg output
4119 if test -z "$EGREP"; then
4120 set dummy egrep; ac_prog_name=$2
4121 if test "${ac_cv_path_EGREP+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 ac_path_EGREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4130 test -z "$as_dir" && as_dir=.
4131 for ac_prog in egrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4134 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4135 # Check for GNU ac_path_EGREP and select it if it is found.
4136 # Check for GNU $ac_path_EGREP
4137 case `"$ac_path_EGREP" --version 2>&1` in
4139 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4142 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4145 cat "conftest.in" "conftest.in" >"conftest.tmp"
4146 mv "conftest.tmp" "conftest.in"
4147 cp "conftest.in" "conftest.nl"
4148 echo 'EGREP' >> "conftest.nl"
4149 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151 ac_count=`expr $ac_count + 1`
4152 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one
4154 ac_cv_path_EGREP="$ac_path_EGREP"
4155 ac_path_EGREP_max=$ac_count
4157 # 10*(2^10) chars as input seems more than enough
4158 test $ac_count -gt 10 && break
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4164 $ac_path_EGREP_found && break 3
4174 EGREP="$ac_cv_path_EGREP"
4175 if test -z "$EGREP"; then
4176 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4177 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4178 { (exit 1); exit 1; }; }
4182 ac_cv_path_EGREP=$EGREP
4188 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4189 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4190 EGREP="$ac_cv_path_EGREP"
4193 { echo "$as_me:$LINENO: checking for fgrep" >&5
4194 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4195 if test "${ac_cv_path_FGREP+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4199 then ac_cv_path_FGREP="$GREP -F"
4201 # Extract the first word of "fgrep" to use in msg output
4202 if test -z "$FGREP"; then
4203 set dummy fgrep; ac_prog_name=$2
4204 if test "${ac_cv_path_FGREP+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 ac_path_FGREP_found=false
4208 # Loop through the user's path and test for each of PROGNAME-LIST
4209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4213 test -z "$as_dir" && as_dir=.
4214 for ac_prog in fgrep; do
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4217 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4218 # Check for GNU ac_path_FGREP and select it if it is found.
4219 # Check for GNU $ac_path_FGREP
4220 case `"$ac_path_FGREP" --version 2>&1` in
4222 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4225 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4228 cat "conftest.in" "conftest.in" >"conftest.tmp"
4229 mv "conftest.tmp" "conftest.in"
4230 cp "conftest.in" "conftest.nl"
4231 echo 'FGREP' >> "conftest.nl"
4232 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4233 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4234 ac_count=`expr $ac_count + 1`
4235 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4236 # Best one so far, save it but keep looking for a better one
4237 ac_cv_path_FGREP="$ac_path_FGREP"
4238 ac_path_FGREP_max=$ac_count
4240 # 10*(2^10) chars as input seems more than enough
4241 test $ac_count -gt 10 && break
4243 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4247 $ac_path_FGREP_found && break 3
4257 FGREP="$ac_cv_path_FGREP"
4258 if test -z "$FGREP"; then
4259 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4260 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4261 { (exit 1); exit 1; }; }
4265 ac_cv_path_FGREP=$FGREP
4271 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4272 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4273 FGREP="$ac_cv_path_FGREP"
4276 test -z "$GREP" && GREP=grep
4296 # Check whether --with-gnu-ld was given.
4297 if test "${with_gnu_ld+set}" = set; then
4298 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4304 if test "$GCC" = yes; then
4305 # Check if gcc -print-prog-name=ld gives a path.
4306 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4307 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4310 # gcc leaves a trailing carriage return which upsets mingw
4311 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4313 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4316 # Accept absolute paths.
4318 re_direlt='/[^/][^/]*/\.\./'
4319 # Canonicalize the pathname of ld
4320 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4321 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4322 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4324 test -z "$LD" && LD="$ac_prog"
4327 # If it fails, then pretend we aren't using GCC.
4331 # If it is relative, then search for the first ld in PATH.
4335 elif test "$with_gnu_ld" = yes; then
4336 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4337 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4339 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4340 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4342 if test "${lt_cv_path_LD+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 if test -z "$LD"; then
4346 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4347 for ac_dir in $PATH; do
4349 test -z "$ac_dir" && ac_dir=.
4350 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4351 lt_cv_path_LD="$ac_dir/$ac_prog"
4352 # Check to see if the program is GNU ld. I'd rather use --version,
4353 # but apparently some variants of GNU ld only accept -v.
4354 # Break only if it was the GNU/non-GNU ld that we prefer.
4355 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4356 *GNU* | *'with BFD'*)
4357 test "$with_gnu_ld" != no && break
4360 test "$with_gnu_ld" != yes && break
4367 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4372 if test -n "$LD"; then
4373 { echo "$as_me:$LINENO: result: $LD" >&5
4374 echo "${ECHO_T}$LD" >&6; }
4376 { echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6; }
4379 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4380 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4381 { (exit 1); exit 1; }; }
4382 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4383 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4384 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4388 case `$LD -v 2>&1 </dev/null` in
4389 *GNU* | *'with BFD'*)
4390 lt_cv_prog_gnu_ld=yes
4393 lt_cv_prog_gnu_ld=no
4397 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4398 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4399 with_gnu_ld=$lt_cv_prog_gnu_ld
4409 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4410 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4411 if test "${lt_cv_path_NM+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 if test -n "$NM"; then
4415 # Let the user override the test.
4418 lt_nm_to_check="${ac_tool_prefix}nm"
4419 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4420 lt_nm_to_check="$lt_nm_to_check nm"
4422 for lt_tmp_nm in $lt_nm_to_check; do
4423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4424 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4426 test -z "$ac_dir" && ac_dir=.
4427 tmp_nm="$ac_dir/$lt_tmp_nm"
4428 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4429 # Check to see if the nm accepts a BSD-compat flag.
4430 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4431 # nm: unknown option "B" ignored
4432 # Tru64's nm complains that /dev/null is an invalid object file
4433 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4434 */dev/null* | *'Invalid file or object type'*)
4435 lt_cv_path_NM="$tmp_nm -B"
4439 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4441 lt_cv_path_NM="$tmp_nm -p"
4445 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4446 continue # so that we can try to find one that supports BSD flags
4455 : ${lt_cv_path_NM=no}
4458 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4459 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4460 if test "$lt_cv_path_NM" != "no"; then
4463 # Didn't find any BSD compatible name lister, look for dumpbin.
4464 if test -n "$ac_tool_prefix"; then
4465 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4471 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 if test -n "$DUMPBIN"; then
4475 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4484 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 DUMPBIN=$ac_cv_prog_DUMPBIN
4495 if test -n "$DUMPBIN"; then
4496 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4497 echo "${ECHO_T}$DUMPBIN" >&6; }
4499 { echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6; }
4504 test -n "$DUMPBIN" && break
4507 if test -z "$DUMPBIN"; then
4508 ac_ct_DUMPBIN=$DUMPBIN
4509 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4511 # Extract the first word of "$ac_prog", so it can be a program name with args.
4512 set dummy $ac_prog; ac_word=$2
4513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4515 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 if test -n "$ac_ct_DUMPBIN"; then
4519 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4528 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4539 if test -n "$ac_ct_DUMPBIN"; then
4540 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4541 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4543 { echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6; }
4548 test -n "$ac_ct_DUMPBIN" && break
4551 if test "x$ac_ct_DUMPBIN" = x; then
4554 case $cross_compiling:$ac_tool_warned in
4556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4557 whose name does not start with the host triplet. If you think this
4558 configuration is useful to you, please write to autoconf@gnu.org." >&5
4559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4560 whose name does not start with the host triplet. If you think this
4561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4562 ac_tool_warned=yes ;;
4564 DUMPBIN=$ac_ct_DUMPBIN
4569 if test "$DUMPBIN" != ":"; then
4573 test -z "$NM" && NM=nm
4580 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4581 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4582 if test "${lt_cv_nm_interface+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 lt_cv_nm_interface="BSD nm"
4586 echo "int some_variable = 0;" > conftest.$ac_ext
4587 (eval echo "\"\$as_me:4587: $ac_compile\"" >&5)
4588 (eval "$ac_compile" 2>conftest.err)
4589 cat conftest.err >&5
4590 (eval echo "\"\$as_me:4590: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4591 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4592 cat conftest.err >&5
4593 (eval echo "\"\$as_me:4593: output\"" >&5)
4594 cat conftest.out >&5
4595 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4596 lt_cv_nm_interface="MS dumpbin"
4600 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4601 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4603 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4604 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4606 if test "$LN_S" = "ln -s"; then
4607 { echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6; }
4610 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4611 echo "${ECHO_T}no, using $LN_S" >&6; }
4614 # find the maximum length of command line arguments
4615 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4616 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4617 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 # On DJGPP, this test can blow up pretty badly due to problems in libc
4626 # (any single argument exceeding 2000 bytes causes a buffer overrun
4627 # during glob expansion). Even if it were fixed, the result of this
4628 # check would be larger than it should be.
4629 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4633 # Under GNU Hurd, this test is not required because there is
4634 # no limit to the length of command line arguments.
4635 # Libtool will interpret -1 as no limit whatsoever
4636 lt_cv_sys_max_cmd_len=-1;
4640 # On Win9x/ME, this test blows up -- it succeeds, but takes
4641 # about 5 minutes as the teststring grows exponentially.
4642 # Worse, since 9x/ME are not pre-emptively multitasking,
4643 # you end up with a "frozen" computer, even though with patience
4644 # the test eventually succeeds (with a max line length of 256k).
4645 # Instead, let's just punt: use the minimum linelength reported by
4646 # all of the supported platforms: 8192 (on NT/2K/XP).
4647 lt_cv_sys_max_cmd_len=8192;
4651 # On AmigaOS with pdksh, this test takes hours, literally.
4652 # So we just punt and use a minimum line length of 8192.
4653 lt_cv_sys_max_cmd_len=8192;
4656 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4657 # This has been around since 386BSD, at least. Likely further.
4658 if test -x /sbin/sysctl; then
4659 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4660 elif test -x /usr/sbin/sysctl; then
4661 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4663 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4665 # And add a safety zone
4666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4671 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4672 lt_cv_sys_max_cmd_len=196608
4676 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4677 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4678 # nice to cause kernel panics so lets avoid the loop below.
4679 # First set a reasonable default.
4680 lt_cv_sys_max_cmd_len=16384
4682 if test -x /sbin/sysconfig; then
4683 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4684 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4689 lt_cv_sys_max_cmd_len=102400
4691 sysv5* | sco5v6* | sysv4.2uw2*)
4692 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4693 if test -n "$kargmax"; then
4694 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4696 lt_cv_sys_max_cmd_len=32768
4700 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4701 if test -n "$lt_cv_sys_max_cmd_len"; then
4702 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4703 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4705 # Make teststring a little bigger before we do anything with it.
4706 # a 1K string should be a reasonable start.
4707 for i in 1 2 3 4 5 6 7 8 ; do
4708 teststring=$teststring$teststring
4710 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4711 # If test is not a shell built-in, we'll probably end up computing a
4712 # maximum length that is only half of the actual maximum length, but
4714 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4715 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4716 test $i != 17 # 1/2 MB should be enough
4719 teststring=$teststring$teststring
4721 # Only check the string length outside the loop.
4722 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4724 # Add a significant safety factor because C++ compilers can tack on
4725 # massive amounts of additional arguments before passing them to the
4726 # linker. It appears as though 1/2 is a usable value.
4727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4734 if test -n $lt_cv_sys_max_cmd_len ; then
4735 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4736 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4738 { echo "$as_me:$LINENO: result: none" >&5
4739 echo "${ECHO_T}none" >&6; }
4741 max_cmd_len=$lt_cv_sys_max_cmd_len
4752 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4753 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4754 # Try some XSI features
4757 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4759 && eval 'test $(( 1 + 1 )) -eq 2 \
4760 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4762 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4763 echo "${ECHO_T}$xsi_shell" >&6; }
4766 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4767 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4769 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4771 && lt_shell_append=yes
4772 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4773 echo "${ECHO_T}$lt_shell_append" >&6; }
4776 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4786 # test EBCDIC or ASCII
4787 case `echo X|tr X '\101'` in
4788 A) # ASCII based system
4789 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4790 lt_SP2NL='tr \040 \012'
4791 lt_NL2SP='tr \015\012 \040\040'
4793 *) # EBCDIC based system
4794 lt_SP2NL='tr \100 \n'
4795 lt_NL2SP='tr \r\n \100\100'
4807 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4808 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4809 if test "${lt_cv_ld_reload_flag+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 lt_cv_ld_reload_flag='-r'
4814 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4815 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4816 reload_flag=$lt_cv_ld_reload_flag
4817 case $reload_flag in
4819 *) reload_flag=" $reload_flag" ;;
4821 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4824 if test "$GCC" = yes; then
4825 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4827 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4841 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4842 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4843 if test "${lt_cv_deplibs_check_method+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 lt_cv_file_magic_cmd='$MAGIC_CMD'
4847 lt_cv_file_magic_test_file=
4848 lt_cv_deplibs_check_method='unknown'
4849 # Need to set the preceding variable on all platforms that support
4850 # interlibrary dependencies.
4851 # 'none' -- dependencies not supported.
4852 # `unknown' -- same as none, but documents that we really don't know.
4853 # 'pass_all' -- all dependencies passed with no checks.
4854 # 'test_compile' -- check by making test program.
4855 # 'file_magic [[regex]]' -- check by looking for files in library path
4856 # which responds to the $file_magic_cmd with a given extended regex.
4857 # If you have `file' or equivalent on your system and you're not sure
4858 # whether `pass_all' will *always* work, you probably want this one.
4862 lt_cv_deplibs_check_method=pass_all
4866 lt_cv_deplibs_check_method=pass_all
4870 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4871 lt_cv_file_magic_cmd='/usr/bin/file -L'
4872 lt_cv_file_magic_test_file=/shlib/libc.so
4876 # func_win32_libid is a shell function defined in ltmain.sh
4877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4878 lt_cv_file_magic_cmd='func_win32_libid'
4882 # Base MSYS/MinGW do not provide the 'file' command needed by
4883 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4884 # unless we find 'file', for example because we are cross-compiling.
4885 if ( file / ) >/dev/null 2>&1; then
4886 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4887 lt_cv_file_magic_cmd='func_win32_libid'
4889 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4890 lt_cv_file_magic_cmd='$OBJDUMP -f'
4894 darwin* | rhapsody*)
4895 lt_cv_deplibs_check_method=pass_all
4898 freebsd* | dragonfly*)
4899 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4902 # Not sure whether the presence of OpenBSD here was a mistake.
4903 # Let's accept both of them until this is cleared up.
4904 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4905 lt_cv_file_magic_cmd=/usr/bin/file
4906 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4910 lt_cv_deplibs_check_method=pass_all
4915 lt_cv_deplibs_check_method=pass_all
4918 hpux10.20* | hpux11*)
4919 lt_cv_file_magic_cmd=/usr/bin/file
4922 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4923 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4926 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]'
4927 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4930 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4931 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4937 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4938 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4941 irix5* | irix6* | nonstopux*)
4943 *-32|*"-32 ") libmagic=32-bit;;
4944 *-n32|*"-n32 ") libmagic=N32;;
4945 *-64|*"-64 ") libmagic=64-bit;;
4946 *) libmagic=never-match;;
4948 lt_cv_deplibs_check_method=pass_all
4951 # This must be Linux ELF.
4952 linux* | k*bsd*-gnu)
4953 lt_cv_deplibs_check_method=pass_all
4957 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4960 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4965 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4971 lt_cv_deplibs_check_method=pass_all
4975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4982 osf3* | osf4* | osf5*)
4983 lt_cv_deplibs_check_method=pass_all
4987 lt_cv_deplibs_check_method=pass_all
4991 lt_cv_deplibs_check_method=pass_all
4994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4995 lt_cv_deplibs_check_method=pass_all
4999 case $host_vendor in
5001 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]'
5002 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5005 lt_cv_deplibs_check_method=pass_all
5008 lt_cv_file_magic_cmd='/bin/file'
5009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5012 lt_cv_file_magic_cmd='/bin/file'
5013 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5014 lt_cv_file_magic_test_file=/lib/libc.so
5017 lt_cv_deplibs_check_method=pass_all
5020 lt_cv_deplibs_check_method=pass_all
5026 lt_cv_deplibs_check_method=pass_all
5031 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5032 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5033 file_magic_cmd=$lt_cv_file_magic_cmd
5034 deplibs_check_method=$lt_cv_deplibs_check_method
5035 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5048 if test -n "$ac_tool_prefix"; then
5049 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5050 set dummy ${ac_tool_prefix}ar; ac_word=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_AR+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$AR"; then
5057 ac_cv_prog_AR="$AR" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_AR="${ac_tool_prefix}ar"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 if test -n "$AR"; then
5078 { echo "$as_me:$LINENO: result: $AR" >&5
5079 echo "${ECHO_T}$AR" >&6; }
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5087 if test -z "$ac_cv_prog_AR"; then
5089 # Extract the first word of "ar", so it can be a program name with args.
5090 set dummy ar; ac_word=$2
5091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5093 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 if test -n "$ac_ct_AR"; then
5097 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_ac_ct_AR="ar"
5107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5117 if test -n "$ac_ct_AR"; then
5118 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5119 echo "${ECHO_T}$ac_ct_AR" >&6; }
5121 { echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6; }
5125 if test "x$ac_ct_AR" = x; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5131 whose name does not start with the host triplet. If you think this
5132 configuration is useful to you, please write to autoconf@gnu.org." >&5
5133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5134 whose name does not start with the host triplet. If you think this
5135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5136 ac_tool_warned=yes ;;
5144 test -z "$AR" && AR=ar
5145 test -z "$AR_FLAGS" && AR_FLAGS=cru
5157 if test -n "$ac_tool_prefix"; then
5158 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5159 set dummy ${ac_tool_prefix}strip; ac_word=$2
5160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5162 if test "${ac_cv_prog_STRIP+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 if test -n "$STRIP"; then
5166 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 STRIP=$ac_cv_prog_STRIP
5186 if test -n "$STRIP"; then
5187 { echo "$as_me:$LINENO: result: $STRIP" >&5
5188 echo "${ECHO_T}$STRIP" >&6; }
5190 { echo "$as_me:$LINENO: result: no" >&5
5191 echo "${ECHO_T}no" >&6; }
5196 if test -z "$ac_cv_prog_STRIP"; then
5198 # Extract the first word of "strip", so it can be a program name with args.
5199 set dummy strip; ac_word=$2
5200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5202 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 if test -n "$ac_ct_STRIP"; then
5206 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_ac_ct_STRIP="strip"
5216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5226 if test -n "$ac_ct_STRIP"; then
5227 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5228 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5230 { echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6; }
5234 if test "x$ac_ct_STRIP" = x; then
5237 case $cross_compiling:$ac_tool_warned in
5239 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5240 whose name does not start with the host triplet. If you think this
5241 configuration is useful to you, please write to autoconf@gnu.org." >&5
5242 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5243 whose name does not start with the host triplet. If you think this
5244 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5245 ac_tool_warned=yes ;;
5250 STRIP="$ac_cv_prog_STRIP"
5253 test -z "$STRIP" && STRIP=:
5260 if test -n "$ac_tool_prefix"; then
5261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_RANLIB+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if test -n "$RANLIB"; then
5269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 RANLIB=$ac_cv_prog_RANLIB
5289 if test -n "$RANLIB"; then
5290 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5291 echo "${ECHO_T}$RANLIB" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5299 if test -z "$ac_cv_prog_RANLIB"; then
5300 ac_ct_RANLIB=$RANLIB
5301 # Extract the first word of "ranlib", so it can be a program name with args.
5302 set dummy ranlib; ac_word=$2
5303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5305 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test -n "$ac_ct_RANLIB"; then
5309 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5318 ac_cv_prog_ac_ct_RANLIB="ranlib"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5329 if test -n "$ac_ct_RANLIB"; then
5330 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5331 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5333 { echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6; }
5337 if test "x$ac_ct_RANLIB" = x; then
5340 case $cross_compiling:$ac_tool_warned in
5342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5343 whose name does not start with the host triplet. If you think this
5344 configuration is useful to you, please write to autoconf@gnu.org." >&5
5345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5346 whose name does not start with the host triplet. If you think this
5347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5348 ac_tool_warned=yes ;;
5350 RANLIB=$ac_ct_RANLIB
5353 RANLIB="$ac_cv_prog_RANLIB"
5356 test -z "$RANLIB" && RANLIB=:
5363 # Determine commands to create old-style static archives.
5364 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5365 old_postinstall_cmds='chmod 644 $oldlib'
5366 old_postuninstall_cmds=
5368 if test -n "$RANLIB"; then
5371 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5374 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5377 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5413 # If no C compiler was specified, use CC.
5416 # If no C compiler flags were specified, use CFLAGS.
5417 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5419 # Allow CC to be a program name with arguments.
5423 # Check for command to grab the raw symbol name followed by C symbol from nm.
5424 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5425 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5426 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 # These are sane defaults that work on at least a few old systems.
5431 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5433 # Character class describing NM global symbol codes.
5434 symcode='[BCDEGRST]'
5436 # Regexp to match symbols that can be accessed directly from C.
5437 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5439 # Define system-specific variables.
5444 cygwin* | mingw* | pw32*)
5445 symcode='[ABCDGISTW]'
5448 if test "$host_cpu" = ia64; then
5449 symcode='[ABCDEGRST]'
5453 symcode='[BCDEGRST]'
5456 symcode='[BCDEGQRST]'
5467 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5475 # If we're using GNU nm, then use its standard symbol codes.
5476 case `$NM -V 2>&1` in
5477 *GNU* | *'with BFD'*)
5478 symcode='[ABCDGIRSTW]' ;;
5481 # Transform an extracted symbol line into a proper C declaration.
5482 # Some systems (esp. on ia64) link data and code symbols differently,
5483 # so use this general approach.
5484 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5486 # Transform an extracted symbol line into symbol name and symbol address
5487 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5488 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'"
5490 # Handle CRLF in mingw tool chain
5494 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5498 # Try without a prefix underscore, then with it.
5499 for ac_symprfx in "" "_"; do
5501 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5502 symxfrm="\\1 $ac_symprfx\\2 \\2"
5504 # Write the raw and C identifiers.
5505 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5506 # Fake it for dumpbin and say T for any non-static function
5507 # and D for any global variable.
5508 # Also find C++ and __fastcall symbols from MSVC++,
5509 # which start with @ or ?.
5510 lt_cv_sys_global_symbol_pipe="$AWK '"\
5511 " {last_section=section; section=\$ 3};"\
5512 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5513 " \$ 0!~/External *\|/{next};"\
5514 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5515 " {if(hide[section]) next};"\
5516 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5517 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5518 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5519 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5520 " ' prfx=^$ac_symprfx"
5522 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5525 # Check to see that the pipe works correctly.
5529 cat > conftest.$ac_ext <<_LT_EOF
5534 void nm_test_func(void);
5535 void nm_test_func(void){}
5539 int main(){nm_test_var='a';nm_test_func();return(0);}
5542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5543 (eval $ac_compile) 2>&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; then
5547 # Now try to grab the symbols.
5549 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5550 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } && test -s "$nlist"; then
5554 # Try sorting and uniquifying the output.
5555 if sort "$nlist" | uniq > "$nlist"T; then
5556 mv -f "$nlist"T "$nlist"
5561 # Make sure that we snagged all the symbols we need.
5562 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5563 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5564 cat <<_LT_EOF > conftest.$ac_ext
5570 # Now generate the symbol file.
5571 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5573 cat <<_LT_EOF >> conftest.$ac_ext
5575 /* The mapping between symbol names and symbols. */
5580 lt__PROGRAM__LTX_preloaded_symbols[] =
5582 { "@PROGRAM@", (void *) 0 },
5584 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5585 cat <<\_LT_EOF >> conftest.$ac_ext
5589 /* This works around a problem in FreeBSD linker */
5590 #ifdef FREEBSD_WORKAROUND
5591 static const void *lt_preloaded_setup() {
5592 return lt__PROGRAM__LTX_preloaded_symbols;
5600 # Now try linking the two files.
5601 mv conftest.$ac_objext conftstm.$ac_objext
5602 lt_save_LIBS="$LIBS"
5603 lt_save_CFLAGS="$CFLAGS"
5604 LIBS="conftstm.$ac_objext"
5605 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5607 (eval $ac_link) 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5613 LIBS="$lt_save_LIBS"
5614 CFLAGS="$lt_save_CFLAGS"
5616 echo "cannot find nm_test_func in $nlist" >&5
5619 echo "cannot find nm_test_var in $nlist" >&5
5622 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5625 echo "$progname: failed program was:" >&5
5626 cat conftest.$ac_ext >&5
5628 rm -rf conftest* conftst*
5630 # Do not use the global_symbol_pipe unless it works.
5631 if test "$pipe_works" = yes; then
5634 lt_cv_sys_global_symbol_pipe=
5640 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5641 lt_cv_sys_global_symbol_to_cdecl=
5643 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5644 { echo "$as_me:$LINENO: result: failed" >&5
5645 echo "${ECHO_T}failed" >&6; }
5647 { echo "$as_me:$LINENO: result: ok" >&5
5648 echo "${ECHO_T}ok" >&6; }
5673 # Check whether --enable-libtool-lock was given.
5674 if test "${enable_libtool_lock+set}" = set; then
5675 enableval=$enable_libtool_lock;
5678 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5680 # Some flags need to be propagated to the compiler or linker for good
5684 # Find out which ABI we are using.
5685 echo 'int i;' > conftest.$ac_ext
5686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5687 (eval $ac_compile) 2>&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; then
5691 case `/usr/bin/file conftest.$ac_objext` in
5703 # Find out which ABI we are using.
5704 echo '#line 5704 "configure"' > conftest.$ac_ext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5706 (eval $ac_compile) 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; then
5710 if test "$lt_cv_prog_gnu_ld" = yes; then
5711 case `/usr/bin/file conftest.$ac_objext` in
5713 LD="${LD-ld} -melf32bsmip"
5716 LD="${LD-ld} -melf32bmipn32"
5719 LD="${LD-ld} -melf64bmip"
5723 case `/usr/bin/file conftest.$ac_objext` in
5739 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5740 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5741 # Find out which ABI we are using.
5742 echo 'int i;' > conftest.$ac_ext
5743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5744 (eval $ac_compile) 2>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; then
5748 case `/usr/bin/file conftest.o` in
5751 x86_64-*kfreebsd*-gnu)
5752 LD="${LD-ld} -m elf_i386_fbsd"
5755 LD="${LD-ld} -m elf_i386"
5757 ppc64-*linux*|powerpc64-*linux*)
5758 LD="${LD-ld} -m elf32ppclinux"
5761 LD="${LD-ld} -m elf_s390"
5764 LD="${LD-ld} -m elf32_sparc"
5770 x86_64-*kfreebsd*-gnu)
5771 LD="${LD-ld} -m elf_x86_64_fbsd"
5774 LD="${LD-ld} -m elf_x86_64"
5776 ppc*-*linux*|powerpc*-*linux*)
5777 LD="${LD-ld} -m elf64ppc"
5779 s390*-*linux*|s390*-*tpf*)
5780 LD="${LD-ld} -m elf64_s390"
5783 LD="${LD-ld} -m elf64_sparc"
5793 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5794 SAVE_CFLAGS="$CFLAGS"
5795 CFLAGS="$CFLAGS -belf"
5796 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5797 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5798 if test "${lt_cv_cc_needs_belf+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 ac_cpp='$CPP $CPPFLAGS'
5803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5822 rm -f conftest.$ac_objext conftest$ac_exeext
5823 if { (ac_try="$ac_link"
5825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5829 (eval "$ac_link") 2>conftest.er1
5831 grep -v '^ *+' conftest.er1 >conftest.err
5833 cat conftest.err >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } && {
5836 test -z "$ac_c_werror_flag" ||
5837 test ! -s conftest.err
5838 } && test -s conftest$ac_exeext &&
5839 $as_test_x conftest$ac_exeext; then
5840 lt_cv_cc_needs_belf=yes
5842 echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 lt_cv_cc_needs_belf=no
5848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5849 conftest$ac_exeext conftest.$ac_ext
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5877 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5889 need_locks="$enable_libtool_lock"
5893 rhapsody* | darwin*)
5894 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -n "$DSYMUTIL"; then
5903 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5923 if test -n "$DSYMUTIL"; then
5924 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5925 echo "${ECHO_T}$DSYMUTIL" >&6; }
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5933 if test -z "$ac_cv_prog_DSYMUTIL"; then
5934 ac_ct_DSYMUTIL=$DSYMUTIL
5935 # Extract the first word of "dsymutil", so it can be a program name with args.
5936 set dummy dsymutil; ac_word=$2
5937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5939 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 if test -n "$ac_ct_DSYMUTIL"; then
5943 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5952 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5963 if test -n "$ac_ct_DSYMUTIL"; then
5964 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5965 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5967 { echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6; }
5971 if test "x$ac_ct_DSYMUTIL" = x; then
5974 case $cross_compiling:$ac_tool_warned in
5976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5977 whose name does not start with the host triplet. If you think this
5978 configuration is useful to you, please write to autoconf@gnu.org." >&5
5979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5980 whose name does not start with the host triplet. If you think this
5981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5982 ac_tool_warned=yes ;;
5984 DSYMUTIL=$ac_ct_DSYMUTIL
5987 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5990 if test -n "$ac_tool_prefix"; then
5991 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 if test -n "$NMEDIT"; then
5999 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 NMEDIT=$ac_cv_prog_NMEDIT
6019 if test -n "$NMEDIT"; then
6020 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6021 echo "${ECHO_T}$NMEDIT" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6029 if test -z "$ac_cv_prog_NMEDIT"; then
6030 ac_ct_NMEDIT=$NMEDIT
6031 # Extract the first word of "nmedit", so it can be a program name with args.
6032 set dummy nmedit; ac_word=$2
6033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6035 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 if test -n "$ac_ct_NMEDIT"; then
6039 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6059 if test -n "$ac_ct_NMEDIT"; then
6060 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6061 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6063 { echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6; }
6067 if test "x$ac_ct_NMEDIT" = x; then
6070 case $cross_compiling:$ac_tool_warned in
6072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6073 whose name does not start with the host triplet. If you think this
6074 configuration is useful to you, please write to autoconf@gnu.org." >&5
6075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6076 whose name does not start with the host triplet. If you think this
6077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6078 ac_tool_warned=yes ;;
6080 NMEDIT=$ac_ct_NMEDIT
6083 NMEDIT="$ac_cv_prog_NMEDIT"
6086 if test -n "$ac_tool_prefix"; then
6087 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6088 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_LIPO+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 if test -n "$LIPO"; then
6095 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 LIPO=$ac_cv_prog_LIPO
6115 if test -n "$LIPO"; then
6116 { echo "$as_me:$LINENO: result: $LIPO" >&5
6117 echo "${ECHO_T}$LIPO" >&6; }
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6125 if test -z "$ac_cv_prog_LIPO"; then
6127 # Extract the first word of "lipo", so it can be a program name with args.
6128 set dummy lipo; ac_word=$2
6129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6131 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6134 if test -n "$ac_ct_LIPO"; then
6135 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144 ac_cv_prog_ac_ct_LIPO="lipo"
6145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6155 if test -n "$ac_ct_LIPO"; then
6156 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6157 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6159 { echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6; }
6163 if test "x$ac_ct_LIPO" = x; then
6166 case $cross_compiling:$ac_tool_warned in
6168 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6169 whose name does not start with the host triplet. If you think this
6170 configuration is useful to you, please write to autoconf@gnu.org." >&5
6171 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6172 whose name does not start with the host triplet. If you think this
6173 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6174 ac_tool_warned=yes ;;
6179 LIPO="$ac_cv_prog_LIPO"
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}otool; ac_word=$2
6185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6187 if test "${ac_cv_prog_OTOOL+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 if test -n "$OTOOL"; then
6191 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 OTOOL=$ac_cv_prog_OTOOL
6211 if test -n "$OTOOL"; then
6212 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6213 echo "${ECHO_T}$OTOOL" >&6; }
6215 { echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6; }
6221 if test -z "$ac_cv_prog_OTOOL"; then
6223 # Extract the first word of "otool", so it can be a program name with args.
6224 set dummy otool; ac_word=$2
6225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6227 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 if test -n "$ac_ct_OTOOL"; then
6231 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_ac_ct_OTOOL="otool"
6241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6251 if test -n "$ac_ct_OTOOL"; then
6252 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6253 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6255 { echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6; }
6259 if test "x$ac_ct_OTOOL" = x; then
6262 case $cross_compiling:$ac_tool_warned in
6264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6265 whose name does not start with the host triplet. If you think this
6266 configuration is useful to you, please write to autoconf@gnu.org." >&5
6267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6268 whose name does not start with the host triplet. If you think this
6269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6270 ac_tool_warned=yes ;;
6275 OTOOL="$ac_cv_prog_OTOOL"
6278 if test -n "$ac_tool_prefix"; then
6279 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6280 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6283 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 if test -n "$OTOOL64"; then
6287 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6296 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 OTOOL64=$ac_cv_prog_OTOOL64
6307 if test -n "$OTOOL64"; then
6308 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6309 echo "${ECHO_T}$OTOOL64" >&6; }
6311 { echo "$as_me:$LINENO: result: no" >&5
6312 echo "${ECHO_T}no" >&6; }
6317 if test -z "$ac_cv_prog_OTOOL64"; then
6318 ac_ct_OTOOL64=$OTOOL64
6319 # Extract the first word of "otool64", so it can be a program name with args.
6320 set dummy otool64; ac_word=$2
6321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6323 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 if test -n "$ac_ct_OTOOL64"; then
6327 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir=.
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336 ac_cv_prog_ac_ct_OTOOL64="otool64"
6337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6347 if test -n "$ac_ct_OTOOL64"; then
6348 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6349 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6351 { echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6; }
6355 if test "x$ac_ct_OTOOL64" = x; then
6358 case $cross_compiling:$ac_tool_warned in
6360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6361 whose name does not start with the host triplet. If you think this
6362 configuration is useful to you, please write to autoconf@gnu.org." >&5
6363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6364 whose name does not start with the host triplet. If you think this
6365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6366 ac_tool_warned=yes ;;
6368 OTOOL64=$ac_ct_OTOOL64
6371 OTOOL64="$ac_cv_prog_OTOOL64"
6400 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6401 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6402 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 lt_cv_apple_cc_single_mod=no
6406 if test -z "${LT_MULTI_MODULE}"; then
6407 # By default we will add the -single_module flag. You can override
6408 # by either setting the environment variable LT_MULTI_MODULE
6409 # non-empty at configure time, or by adding -multi_module to the
6411 rm -rf libconftest.dylib*
6412 echo "int foo(void){return 1;}" > conftest.c
6413 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6414 -dynamiclib -Wl,-single_module conftest.c" >&5
6415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6416 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6418 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6419 lt_cv_apple_cc_single_mod=yes
6421 cat conftest.err >&5
6423 rm -rf libconftest.dylib*
6427 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6428 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6429 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6430 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6431 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 lt_cv_ld_exported_symbols_list=no
6435 save_LDFLAGS=$LDFLAGS
6436 echo "_main" > conftest.sym
6437 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6438 cat >conftest.$ac_ext <<_ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6453 rm -f conftest.$ac_objext conftest$ac_exeext
6454 if { (ac_try="$ac_link"
6456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457 *) ac_try_echo=$ac_try;;
6459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6460 (eval "$ac_link") 2>conftest.er1
6462 grep -v '^ *+' conftest.er1 >conftest.err
6464 cat conftest.err >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } && {
6467 test -z "$ac_c_werror_flag" ||
6468 test ! -s conftest.err
6469 } && test -s conftest$ac_exeext &&
6470 $as_test_x conftest$ac_exeext; then
6471 lt_cv_ld_exported_symbols_list=yes
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6476 lt_cv_ld_exported_symbols_list=no
6479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6480 conftest$ac_exeext conftest.$ac_ext
6481 LDFLAGS="$save_LDFLAGS"
6484 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6485 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6487 rhapsody* | darwin1.[012])
6488 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6490 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6491 darwin*) # darwin 5.x on
6492 # if running on 10.5 or later, the deployment target defaults
6493 # to the OS version, if on x86, and 10.4, the deployment
6494 # target defaults to 10.4. Don't you love it?
6495 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6496 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6497 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6501 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6505 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6506 _lt_dar_single_mod='$single_module'
6508 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6509 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6511 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6513 if test "$DSYMUTIL" != ":"; then
6514 _lt_dsymutil='~$DSYMUTIL $lib || :'
6522 ac_cpp='$CPP $CPPFLAGS'
6523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6526 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6527 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6528 # On Suns, sometimes $CPP names a directory.
6529 if test -n "$CPP" && test -d "$CPP"; then
6532 if test -z "$CPP"; then
6533 if test "${ac_cv_prog_CPP+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 # Double quotes because CPP needs to be expanded
6537 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6540 for ac_c_preproc_warn_flag in '' yes
6542 # Use a header file that comes with gcc, so configuring glibc
6543 # with a fresh cross-compiler works.
6544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6545 # <limits.h> exists even on freestanding compilers.
6546 # On the NeXT, cc -E runs the code through the compiler's parser,
6547 # not just through cpp. "Syntax error" is here to catch this case.
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6555 # include <limits.h>
6557 # include <assert.h>
6561 if { (ac_try="$ac_cpp conftest.$ac_ext"
6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6569 grep -v '^ *+' conftest.er1 >conftest.err
6571 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } >/dev/null && {
6574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6575 test ! -s conftest.err
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 # Broken: fails on valid input.
6586 rm -f conftest.err conftest.$ac_ext
6588 # OK, works on sane cases. Now check whether nonexistent headers
6589 # can be detected and how.
6590 cat >conftest.$ac_ext <<_ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6596 #include <ac_nonexistent.h>
6598 if { (ac_try="$ac_cpp conftest.$ac_ext"
6600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6601 *) ac_try_echo=$ac_try;;
6603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6606 grep -v '^ *+' conftest.er1 >conftest.err
6608 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } >/dev/null && {
6611 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6612 test ! -s conftest.err
6614 # Broken: success on invalid input.
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6620 # Passes both tests.
6625 rm -f conftest.err conftest.$ac_ext
6628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6629 rm -f conftest.err conftest.$ac_ext
6630 if $ac_preproc_ok; then
6642 { echo "$as_me:$LINENO: result: $CPP" >&5
6643 echo "${ECHO_T}$CPP" >&6; }
6645 for ac_c_preproc_warn_flag in '' yes
6647 # Use a header file that comes with gcc, so configuring glibc
6648 # with a fresh cross-compiler works.
6649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6650 # <limits.h> exists even on freestanding compilers.
6651 # On the NeXT, cc -E runs the code through the compiler's parser,
6652 # not just through cpp. "Syntax error" is here to catch this case.
6653 cat >conftest.$ac_ext <<_ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 # include <limits.h>
6662 # include <assert.h>
6666 if { (ac_try="$ac_cpp conftest.$ac_ext"
6668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669 *) ac_try_echo=$ac_try;;
6671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6674 grep -v '^ *+' conftest.er1 >conftest.err
6676 cat conftest.err >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } >/dev/null && {
6679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6680 test ! -s conftest.err
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 # Broken: fails on valid input.
6691 rm -f conftest.err conftest.$ac_ext
6693 # OK, works on sane cases. Now check whether nonexistent headers
6694 # can be detected and how.
6695 cat >conftest.$ac_ext <<_ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 #include <ac_nonexistent.h>
6703 if { (ac_try="$ac_cpp conftest.$ac_ext"
6705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6706 *) ac_try_echo=$ac_try;;
6708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6711 grep -v '^ *+' conftest.er1 >conftest.err
6713 cat conftest.err >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); } >/dev/null && {
6716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6717 test ! -s conftest.err
6719 # Broken: success on invalid input.
6722 echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.$ac_ext >&5
6725 # Passes both tests.
6730 rm -f conftest.err conftest.$ac_ext
6733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6734 rm -f conftest.err conftest.$ac_ext
6735 if $ac_preproc_ok; then
6738 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6739 See \`config.log' for more details." >&5
6740 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6741 See \`config.log' for more details." >&2;}
6742 { (exit 1); exit 1; }; }
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6752 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6753 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6754 if test "${ac_cv_header_stdc+set}" = set; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 cat >conftest.$ac_ext <<_ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6776 rm -f conftest.$ac_objext
6777 if { (ac_try="$ac_compile"
6779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6780 *) ac_try_echo=$ac_try;;
6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6783 (eval "$ac_compile") 2>conftest.er1
6785 grep -v '^ *+' conftest.er1 >conftest.err
6787 cat conftest.err >&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } && {
6790 test -z "$ac_c_werror_flag" ||
6791 test ! -s conftest.err
6792 } && test -s conftest.$ac_objext; then
6793 ac_cv_header_stdc=yes
6795 echo "$as_me: failed program was:" >&5
6796 sed 's/^/| /' conftest.$ac_ext >&5
6798 ac_cv_header_stdc=no
6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6803 if test $ac_cv_header_stdc = yes; then
6804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6805 cat >conftest.$ac_ext <<_ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6815 $EGREP "memchr" >/dev/null 2>&1; then
6818 ac_cv_header_stdc=no
6824 if test $ac_cv_header_stdc = yes; then
6825 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6826 cat >conftest.$ac_ext <<_ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6836 $EGREP "free" >/dev/null 2>&1; then
6839 ac_cv_header_stdc=no
6845 if test $ac_cv_header_stdc = yes; then
6846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6847 if test "$cross_compiling" = yes; then
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6858 #if ((' ' & 0x0FF) == 0x020)
6859 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6860 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6862 # define ISLOWER(c) \
6863 (('a' <= (c) && (c) <= 'i') \
6864 || ('j' <= (c) && (c) <= 'r') \
6865 || ('s' <= (c) && (c) <= 'z'))
6866 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6874 for (i = 0; i < 256; i++)
6875 if (XOR (islower (i), ISLOWER (i))
6876 || toupper (i) != TOUPPER (i))
6881 rm -f conftest$ac_exeext
6882 if { (ac_try="$ac_link"
6884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6885 *) ac_try_echo=$ac_try;;
6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6888 (eval "$ac_link") 2>&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6892 { (case "(($ac_try" in
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_try") 2>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6903 echo "$as_me: program exited with status $ac_status" >&5
6904 echo "$as_me: failed program was:" >&5
6905 sed 's/^/| /' conftest.$ac_ext >&5
6908 ac_cv_header_stdc=no
6910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6916 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6917 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6918 if test $ac_cv_header_stdc = yes; then
6920 cat >>confdefs.h <<\_ACEOF
6921 #define STDC_HEADERS 1
6926 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6936 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6937 inttypes.h stdint.h unistd.h
6939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 cat >conftest.$ac_ext <<_ACEOF
6948 cat confdefs.h >>conftest.$ac_ext
6949 cat >>conftest.$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6951 $ac_includes_default
6953 #include <$ac_header>
6955 rm -f conftest.$ac_objext
6956 if { (ac_try="$ac_compile"
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_compile") 2>conftest.er1
6964 grep -v '^ *+' conftest.er1 >conftest.err
6966 cat conftest.err >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } && {
6969 test -z "$ac_c_werror_flag" ||
6970 test ! -s conftest.err
6971 } && test -s conftest.$ac_objext; then
6972 eval "$as_ac_Header=yes"
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.$ac_ext >&5
6977 eval "$as_ac_Header=no"
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6982 ac_res=`eval echo '${'$as_ac_Header'}'`
6983 { echo "$as_me:$LINENO: result: $ac_res" >&5
6984 echo "${ECHO_T}$ac_res" >&6; }
6985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6986 cat >>confdefs.h <<_ACEOF
6987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 for ac_header in dlfcn.h
6998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 cat >conftest.$ac_ext <<_ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 $ac_includes_default
7012 #include <$ac_header>
7014 rm -f conftest.$ac_objext
7015 if { (ac_try="$ac_compile"
7017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7018 *) ac_try_echo=$ac_try;;
7020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7021 (eval "$ac_compile") 2>conftest.er1
7023 grep -v '^ *+' conftest.er1 >conftest.err
7025 cat conftest.err >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } && {
7028 test -z "$ac_c_werror_flag" ||
7029 test ! -s conftest.err
7030 } && test -s conftest.$ac_objext; then
7031 eval "$as_ac_Header=yes"
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7036 eval "$as_ac_Header=no"
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 ac_res=`eval echo '${'$as_ac_Header'}'`
7042 { echo "$as_me:$LINENO: result: $ac_res" >&5
7043 echo "${ECHO_T}$ac_res" >&6; }
7044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7045 cat >>confdefs.h <<_ACEOF
7046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7065 # Check whether --enable-shared was given.
7066 if test "${enable_shared+set}" = set; then
7067 enableval=$enable_shared; p=${PACKAGE-default}
7069 yes) enable_shared=yes ;;
7070 no) enable_shared=no ;;
7073 # Look at the argument we got. We use all the common list separators.
7074 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7075 for pkg in $enableval; do
7077 if test "X$pkg" = "X$p"; then
7096 # Check whether --enable-static was given.
7097 if test "${enable_static+set}" = set; then
7098 enableval=$enable_static; p=${PACKAGE-default}
7100 yes) enable_static=yes ;;
7101 no) enable_static=no ;;
7104 # Look at the argument we got. We use all the common list separators.
7105 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7106 for pkg in $enableval; do
7108 if test "X$pkg" = "X$p"; then
7128 # Check whether --with-pic was given.
7129 if test "${with_pic+set}" = set; then
7130 withval=$with_pic; pic_mode="$withval"
7136 test -z "$pic_mode" && pic_mode=default
7144 # Check whether --enable-fast-install was given.
7145 if test "${enable_fast_install+set}" = set; then
7146 enableval=$enable_fast_install; p=${PACKAGE-default}
7148 yes) enable_fast_install=yes ;;
7149 no) enable_fast_install=no ;;
7151 enable_fast_install=no
7152 # Look at the argument we got. We use all the common list separators.
7153 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7154 for pkg in $enableval; do
7156 if test "X$pkg" = "X$p"; then
7157 enable_fast_install=yes
7164 enable_fast_install=yes
7177 # This can be used to rebuild libtool when needed
7178 LIBTOOL_DEPS="$ltmain"
7180 # Always use our own libtool.
7181 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7207 test -z "$LN_S" && LN_S="ln -s"
7222 if test -n "${ZSH_VERSION+set}" ; then
7223 setopt NO_GLOB_SUBST
7226 { echo "$as_me:$LINENO: checking for objdir" >&5
7227 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7228 if test "${lt_cv_objdir+set}" = set; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7231 rm -f .libs 2>/dev/null
7232 mkdir .libs 2>/dev/null
7233 if test -d .libs; then
7236 # MS-DOS does not allow filenames that begin with a dot.
7239 rmdir .libs 2>/dev/null
7241 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7242 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7243 objdir=$lt_cv_objdir
7249 cat >>confdefs.h <<_ACEOF
7250 #define LT_OBJDIR "$lt_cv_objdir/"
7271 # AIX sometimes has problems with the GCC collect2 program. For some
7272 # reason, if we set the COLLECT_NAMES environment variable, the problems
7273 # vanish in a puff of smoke.
7274 if test "X${COLLECT_NAMES+set}" != Xset; then
7276 export COLLECT_NAMES
7281 # Sed substitution that helps us do robust quoting. It backslashifies
7282 # metacharacters that are still active within double-quoted strings.
7283 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7285 # Same as above, but do not quote variable references.
7286 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7288 # Sed substitution to delay expansion of an escaped shell variable in a
7289 # double_quote_subst'ed string.
7290 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7292 # Sed substitution to delay expansion of an escaped single quote.
7293 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7295 # Sed substitution to avoid accidental globbing in evaled expressions
7296 no_glob_subst='s/\*/\\\*/g'
7300 can_build_shared=yes
7302 # All known linkers require a `.a' archive for static linking (except MSVC,
7303 # which needs '.lib').
7306 with_gnu_ld="$lt_cv_prog_gnu_ld"
7309 old_CFLAGS="$CFLAGS"
7311 # Set sane defaults for various variables
7312 test -z "$CC" && CC=cc
7313 test -z "$LTCC" && LTCC=$CC
7314 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7315 test -z "$LD" && LD=ld
7316 test -z "$ac_objext" && ac_objext=o
7318 for cc_temp in $compiler""; do
7320 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7321 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7326 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7329 # Only perform the check for file, if the check method requires it
7330 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7331 case $deplibs_check_method in
7333 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7334 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7335 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7336 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7337 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7344 lt_save_MAGIC_CMD="$MAGIC_CMD"
7345 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7346 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7347 for ac_dir in $ac_dummy; do
7349 test -z "$ac_dir" && ac_dir=.
7350 if test -f $ac_dir/${ac_tool_prefix}file; then
7351 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7352 if test -n "$file_magic_test_file"; then
7353 case $deplibs_check_method in
7355 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7357 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7358 $EGREP "$file_magic_regex" > /dev/null; then
7363 *** Warning: the command libtool uses to detect shared libraries,
7364 *** $file_magic_cmd, produces output that libtool cannot recognize.
7365 *** The result is that libtool may fail to recognize shared libraries
7366 *** as such. This will affect the creation of libtool libraries that
7367 *** depend on shared libraries, but programs linked with such libtool
7368 *** libraries will work regardless of this problem. Nevertheless, you
7369 *** may want to report the problem to your system manager and/or to
7370 *** bug-libtool@gnu.org
7380 MAGIC_CMD="$lt_save_MAGIC_CMD"
7385 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7386 if test -n "$MAGIC_CMD"; then
7387 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7388 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7390 { echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6; }
7398 if test -z "$lt_cv_path_MAGIC_CMD"; then
7399 if test -n "$ac_tool_prefix"; then
7400 { echo "$as_me:$LINENO: checking for file" >&5
7401 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7402 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7410 lt_save_MAGIC_CMD="$MAGIC_CMD"
7411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7412 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7413 for ac_dir in $ac_dummy; do
7415 test -z "$ac_dir" && ac_dir=.
7416 if test -f $ac_dir/file; then
7417 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7418 if test -n "$file_magic_test_file"; then
7419 case $deplibs_check_method in
7421 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7422 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7423 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7424 $EGREP "$file_magic_regex" > /dev/null; then
7429 *** Warning: the command libtool uses to detect shared libraries,
7430 *** $file_magic_cmd, produces output that libtool cannot recognize.
7431 *** The result is that libtool may fail to recognize shared libraries
7432 *** as such. This will affect the creation of libtool libraries that
7433 *** depend on shared libraries, but programs linked with such libtool
7434 *** libraries will work regardless of this problem. Nevertheless, you
7435 *** may want to report the problem to your system manager and/or to
7436 *** bug-libtool@gnu.org
7446 MAGIC_CMD="$lt_save_MAGIC_CMD"
7451 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7452 if test -n "$MAGIC_CMD"; then
7453 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7454 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7456 { echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6; }
7470 # Use C for the default configuration in the libtool script
7474 ac_cpp='$CPP $CPPFLAGS'
7475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7480 # Source file extension for C test sources.
7483 # Object file extension for compiled C test sources.
7487 # Code to be used in simple compile tests
7488 lt_simple_compile_test_code="int some_variable = 0;"
7490 # Code to be used in simple link tests
7491 lt_simple_link_test_code='int main(){return(0);}'
7499 # If no C compiler was specified, use CC.
7502 # If no C compiler flags were specified, use CFLAGS.
7503 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7505 # Allow CC to be a program name with arguments.
7508 # Save the default compiler, since it gets overwritten when the other
7509 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7510 compiler_DEFAULT=$CC
7512 # save warnings/boilerplate of simple test code
7513 ac_outfile=conftest.$ac_objext
7514 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7515 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7516 _lt_compiler_boilerplate=`cat conftest.err`
7519 ac_outfile=conftest.$ac_objext
7520 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7521 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7522 _lt_linker_boilerplate=`cat conftest.err`
7526 if test -n "$compiler"; then
7528 lt_prog_compiler_no_builtin_flag=
7530 if test "$GCC" = yes; then
7531 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7533 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7534 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7535 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7538 lt_cv_prog_compiler_rtti_exceptions=no
7539 ac_outfile=conftest.$ac_objext
7540 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7541 lt_compiler_flag="-fno-rtti -fno-exceptions"
7542 # Insert the option either (1) after the last *FLAGS variable, or
7543 # (2) before a word containing "conftest.", or (3) at the end.
7544 # Note that $ac_compile itself does not contain backslashes and begins
7545 # with a dollar sign (not a hyphen), so the echo should work correctly.
7546 # The option is referenced via a variable to avoid confusing sed.
7547 lt_compile=`echo "$ac_compile" | $SED \
7548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7550 -e 's:$: $lt_compiler_flag:'`
7551 (eval echo "\"\$as_me:7551: $lt_compile\"" >&5)
7552 (eval "$lt_compile" 2>conftest.err)
7554 cat conftest.err >&5
7555 echo "$as_me:7555: \$? = $ac_status" >&5
7556 if (exit $ac_status) && test -s "$ac_outfile"; then
7557 # The compiler can only warn and ignore the option if not recognized
7558 # So say no if there are warnings other than the usual output.
7559 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7560 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7561 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7562 lt_cv_prog_compiler_rtti_exceptions=yes
7568 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7569 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7571 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7572 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7584 lt_prog_compiler_wl=
7585 lt_prog_compiler_pic=
7586 lt_prog_compiler_static=
7588 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7589 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7591 if test "$GCC" = yes; then
7592 lt_prog_compiler_wl='-Wl,'
7593 lt_prog_compiler_static='-static'
7597 # All AIX code is PIC.
7598 if test "$host_cpu" = ia64; then
7599 # AIX 5 now supports IA64 processor
7600 lt_prog_compiler_static='-Bstatic'
7607 # see comment about AmigaOS4 .so support
7608 lt_prog_compiler_pic='-fPIC'
7611 # FIXME: we need at least 68020 code to build shared libraries, but
7612 # adding the `-m68020' flag to GCC prevents building anything better,
7614 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7619 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7620 # PIC is the default for these OSes.
7623 mingw* | cygwin* | pw32* | os2*)
7624 # This hack is so that the source file can tell whether it is being
7625 # built for inclusion in a dll (and should export symbols for example).
7626 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7627 # (--disable-auto-import) libraries
7628 lt_prog_compiler_pic='-DDLL_EXPORT'
7631 darwin* | rhapsody*)
7632 # PIC is the default on this platform
7633 # Common symbols not allowed in MH_DYLIB files
7634 lt_prog_compiler_pic='-fno-common'
7638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7645 lt_prog_compiler_pic='-fPIC'
7651 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7652 # Instead, we relocate shared libraries at runtime.
7656 # Just because we use GCC doesn't mean we suddenly get shared libraries
7657 # on systems that don't support them.
7658 lt_prog_compiler_can_build_shared=no
7663 # QNX uses GNU C++, but need to define -shared option too, otherwise
7665 lt_prog_compiler_pic='-fPIC -shared'
7669 if test -d /usr/nec; then
7670 lt_prog_compiler_pic=-Kconform_pic
7675 lt_prog_compiler_pic='-fPIC'
7679 # PORTME Check for flag to pass linker flags through the system compiler.
7682 lt_prog_compiler_wl='-Wl,'
7683 if test "$host_cpu" = ia64; then
7684 # AIX 5 now supports IA64 processor
7685 lt_prog_compiler_static='-Bstatic'
7687 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7691 mingw* | cygwin* | pw32* | os2*)
7692 # This hack is so that the source file can tell whether it is being
7693 # built for inclusion in a dll (and should export symbols for example).
7694 lt_prog_compiler_pic='-DDLL_EXPORT'
7697 hpux9* | hpux10* | hpux11*)
7698 lt_prog_compiler_wl='-Wl,'
7699 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7706 lt_prog_compiler_pic='+Z'
7709 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7710 lt_prog_compiler_static='${wl}-a ${wl}archive'
7713 irix5* | irix6* | nonstopux*)
7714 lt_prog_compiler_wl='-Wl,'
7715 # PIC (with -KPIC) is the default.
7716 lt_prog_compiler_static='-non_shared'
7719 linux* | k*bsd*-gnu)
7720 case $cc_basename in
7721 icc* | ecc* | ifort*)
7722 lt_prog_compiler_wl='-Wl,'
7723 lt_prog_compiler_pic='-KPIC'
7724 lt_prog_compiler_static='-static'
7726 pgcc* | pgf77* | pgf90* | pgf95*)
7727 # Portland Group compilers (*not* the Pentium gcc compiler,
7728 # which looks to be a dead project)
7729 lt_prog_compiler_wl='-Wl,'
7730 lt_prog_compiler_pic='-fpic'
7731 lt_prog_compiler_static='-Bstatic'
7734 lt_prog_compiler_wl='-Wl,'
7735 # All Alpha code is PIC.
7736 lt_prog_compiler_static='-non_shared'
7739 # IBM XL C 8.0/Fortran 10.1 on PPC
7740 lt_prog_compiler_wl='-Wl,'
7741 lt_prog_compiler_pic='-qpic'
7742 lt_prog_compiler_static='-qstaticlink'
7745 case `$CC -V 2>&1 | sed 5q` in
7748 lt_prog_compiler_pic='-KPIC'
7749 lt_prog_compiler_static='-Bstatic'
7750 lt_prog_compiler_wl='-Wl,'
7753 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7754 lt_prog_compiler_pic='-KPIC'
7755 lt_prog_compiler_static='-Bstatic'
7756 lt_prog_compiler_wl=''
7764 lt_prog_compiler_pic='-KPIC'
7765 lt_prog_compiler_static='-Bstatic'
7769 # QNX uses GNU C++, but need to define -shared option too, otherwise
7771 lt_prog_compiler_pic='-fPIC -shared'
7774 osf3* | osf4* | osf5*)
7775 lt_prog_compiler_wl='-Wl,'
7776 # All OSF/1 code is PIC.
7777 lt_prog_compiler_static='-non_shared'
7781 lt_prog_compiler_static='-non_shared'
7785 lt_prog_compiler_pic='-KPIC'
7786 lt_prog_compiler_static='-Bstatic'
7787 case $cc_basename in
7789 lt_prog_compiler_wl='-Qoption ld ';;
7791 lt_prog_compiler_wl='-Wl,';;
7796 lt_prog_compiler_wl='-Qoption ld '
7797 lt_prog_compiler_pic='-PIC'
7798 lt_prog_compiler_static='-Bstatic'
7801 sysv4 | sysv4.2uw2* | sysv4.3*)
7802 lt_prog_compiler_wl='-Wl,'
7803 lt_prog_compiler_pic='-KPIC'
7804 lt_prog_compiler_static='-Bstatic'
7808 if test -d /usr/nec ;then
7809 lt_prog_compiler_pic='-Kconform_pic'
7810 lt_prog_compiler_static='-Bstatic'
7814 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7815 lt_prog_compiler_wl='-Wl,'
7816 lt_prog_compiler_pic='-KPIC'
7817 lt_prog_compiler_static='-Bstatic'
7821 lt_prog_compiler_wl='-Wl,'
7822 lt_prog_compiler_can_build_shared=no
7826 lt_prog_compiler_pic='-pic'
7827 lt_prog_compiler_static='-Bstatic'
7831 lt_prog_compiler_can_build_shared=no
7837 # For platforms which do not support PIC, -DPIC is meaningless:
7839 lt_prog_compiler_pic=
7842 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7845 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7846 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7854 # Check to make sure the PIC flag actually works.
7856 if test -n "$lt_prog_compiler_pic"; then
7857 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7858 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7859 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 lt_cv_prog_compiler_pic_works=no
7863 ac_outfile=conftest.$ac_objext
7864 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7865 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7866 # Insert the option either (1) after the last *FLAGS variable, or
7867 # (2) before a word containing "conftest.", or (3) at the end.
7868 # Note that $ac_compile itself does not contain backslashes and begins
7869 # with a dollar sign (not a hyphen), so the echo should work correctly.
7870 # The option is referenced via a variable to avoid confusing sed.
7871 lt_compile=`echo "$ac_compile" | $SED \
7872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7874 -e 's:$: $lt_compiler_flag:'`
7875 (eval echo "\"\$as_me:7875: $lt_compile\"" >&5)
7876 (eval "$lt_compile" 2>conftest.err)
7878 cat conftest.err >&5
7879 echo "$as_me:7879: \$? = $ac_status" >&5
7880 if (exit $ac_status) && test -s "$ac_outfile"; then
7881 # The compiler can only warn and ignore the option if not recognized
7882 # So say no if there are warnings other than the usual output.
7883 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7884 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7885 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7886 lt_cv_prog_compiler_pic_works=yes
7892 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7893 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7895 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7896 case $lt_prog_compiler_pic in
7898 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7901 lt_prog_compiler_pic=
7902 lt_prog_compiler_can_build_shared=no
7913 # Check to make sure the static flag actually works.
7915 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7916 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7917 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7918 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 lt_cv_prog_compiler_static_works=no
7922 save_LDFLAGS="$LDFLAGS"
7923 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7924 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7925 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7926 # The linker can only warn and ignore the option if not recognized
7927 # So say no if there are warnings
7928 if test -s conftest.err; then
7929 # Append any errors to the config.log.
7930 cat conftest.err 1>&5
7931 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7932 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7933 if diff conftest.exp conftest.er2 >/dev/null; then
7934 lt_cv_prog_compiler_static_works=yes
7937 lt_cv_prog_compiler_static_works=yes
7941 LDFLAGS="$save_LDFLAGS"
7944 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7945 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7947 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7950 lt_prog_compiler_static=
7959 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7960 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 lt_cv_prog_compiler_c_o=no
7965 $RM -r conftest 2>/dev/null
7969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7971 lt_compiler_flag="-o out/conftest2.$ac_objext"
7972 # Insert the option either (1) after the last *FLAGS variable, or
7973 # (2) before a word containing "conftest.", or (3) at the end.
7974 # Note that $ac_compile itself does not contain backslashes and begins
7975 # with a dollar sign (not a hyphen), so the echo should work correctly.
7976 lt_compile=`echo "$ac_compile" | $SED \
7977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7979 -e 's:$: $lt_compiler_flag:'`
7980 (eval echo "\"\$as_me:7980: $lt_compile\"" >&5)
7981 (eval "$lt_compile" 2>out/conftest.err)
7983 cat out/conftest.err >&5
7984 echo "$as_me:7984: \$? = $ac_status" >&5
7985 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7987 # The compiler can only warn and ignore the option if not recognized
7988 # So say no if there are warnings
7989 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7990 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7991 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7992 lt_cv_prog_compiler_c_o=yes
7997 # SGI C++ compiler will create directory out/ii_files/ for
7998 # template instantiation
7999 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8000 $RM out/* && rmdir out
8006 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8007 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8014 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8015 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8016 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 lt_cv_prog_compiler_c_o=no
8020 $RM -r conftest 2>/dev/null
8024 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8026 lt_compiler_flag="-o out/conftest2.$ac_objext"
8027 # Insert the option either (1) after the last *FLAGS variable, or
8028 # (2) before a word containing "conftest.", or (3) at the end.
8029 # Note that $ac_compile itself does not contain backslashes and begins
8030 # with a dollar sign (not a hyphen), so the echo should work correctly.
8031 lt_compile=`echo "$ac_compile" | $SED \
8032 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8034 -e 's:$: $lt_compiler_flag:'`
8035 (eval echo "\"\$as_me:8035: $lt_compile\"" >&5)
8036 (eval "$lt_compile" 2>out/conftest.err)
8038 cat out/conftest.err >&5
8039 echo "$as_me:8039: \$? = $ac_status" >&5
8040 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8042 # The compiler can only warn and ignore the option if not recognized
8043 # So say no if there are warnings
8044 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8045 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8046 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8047 lt_cv_prog_compiler_c_o=yes
8052 # SGI C++ compiler will create directory out/ii_files/ for
8053 # template instantiation
8054 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8055 $RM out/* && rmdir out
8061 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8062 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8067 hard_links="nottested"
8068 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8069 # do not overwrite the value of need_locks provided by the user
8070 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8071 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8074 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8076 ln conftest.a conftest.b 2>&5 || hard_links=no
8077 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8078 { echo "$as_me:$LINENO: result: $hard_links" >&5
8079 echo "${ECHO_T}$hard_links" >&6; }
8080 if test "$hard_links" = no; then
8081 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8082 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8094 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8095 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8098 allow_undefined_flag=
8099 always_export_symbols=no
8101 archive_expsym_cmds=
8102 compiler_needs_object=no
8103 enable_shared_with_static_runtimes=no
8104 export_dynamic_flag_spec=
8105 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8106 hardcode_automatic=no
8108 hardcode_direct_absolute=no
8109 hardcode_libdir_flag_spec=
8110 hardcode_libdir_flag_spec_ld=
8111 hardcode_libdir_separator=
8113 hardcode_shlibpath_var=unsupported
8115 link_all_deplibs=unknown
8118 old_archive_from_new_cmds=
8119 old_archive_from_expsyms_cmds=
8120 thread_safe_flag_spec=
8121 whole_archive_flag_spec=
8122 # include_expsyms should be a list of space-separated symbols to be *always*
8123 # included in the symbol list
8125 # exclude_expsyms can be an extended regexp of symbols to exclude
8126 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8127 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8128 # as well as any symbol that contains `d'.
8129 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8130 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8131 # platforms (ab)use it in PIC code, but their linkers get confused if
8132 # the symbol is explicitly referenced. Since portable code cannot
8133 # rely on this symbol name, it's probably fine to never include it in
8134 # preloaded symbol tables.
8135 # Exclude shared library initialization/finalization symbols.
8136 extract_expsyms_cmds=
8139 cygwin* | mingw* | pw32*)
8140 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8141 # When not using gcc, we currently assume that we are using
8142 # Microsoft Visual C++.
8143 if test "$GCC" != yes; then
8148 # we just hope/assume this is gcc and not c89 (= MSVC++)
8157 if test "$with_gnu_ld" = yes; then
8158 # If archive_cmds runs LD, not CC, wlarc should be empty
8161 # Set some defaults for GNU ld with shared library support. These
8162 # are reset later if shared libraries are not supported. Putting them
8163 # here allows them to be overridden if necessary.
8164 runpath_var=LD_RUN_PATH
8165 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8166 export_dynamic_flag_spec='${wl}--export-dynamic'
8167 # ancient GNU ld didn't support --whole-archive et. al.
8168 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8169 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8171 whole_archive_flag_spec=
8173 supports_anon_versioning=no
8174 case `$LD -v 2>&1` in
8175 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8176 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8177 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8178 *\ 2.11.*) ;; # other 2.11 versions
8179 *) supports_anon_versioning=yes ;;
8182 # See if GNU ld supports shared libraries.
8185 # On AIX/PPC, the GNU linker is very broken
8186 if test "$host_cpu" != ia64; then
8190 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8191 *** to be unable to reliably create shared libraries on AIX.
8192 *** Therefore, libtool is disabling shared libraries support. If you
8193 *** really care for shared libraries, you may want to modify your PATH
8194 *** so that a non-GNU linker is found, and then restart.
8203 # see comment about AmigaOS4 .so support
8204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8205 archive_expsym_cmds=''
8208 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)'
8209 hardcode_libdir_flag_spec='-L$libdir'
8210 hardcode_minus_L=yes
8216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8217 allow_undefined_flag=unsupported
8218 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8219 # support --undefined. This deserves some investigation. FIXME
8220 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226 cygwin* | mingw* | pw32*)
8227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8228 # as there is no search path for DLLs.
8229 hardcode_libdir_flag_spec='-L$libdir'
8230 allow_undefined_flag=unsupported
8231 always_export_symbols=no
8232 enable_shared_with_static_runtimes=yes
8233 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8235 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8236 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8237 # If the export-symbols file already is a .def file (1st line
8238 # is EXPORTS), use it as is; otherwise, prepend...
8239 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8240 cp $export_symbols $output_objdir/$soname.def;
8242 echo EXPORTS > $output_objdir/$soname.def;
8243 cat $export_symbols >> $output_objdir/$soname.def;
8245 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8253 hardcode_shlibpath_var=no
8254 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8255 export_dynamic_flag_spec='${wl}-E'
8256 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8257 # Instead, shared libraries are loaded at an image base (0x10000000 by
8258 # default) and relocated if they conflict, which is a slow very memory
8259 # consuming and fragmenting process. To avoid this, we pick a random,
8260 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8261 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8262 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8263 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'
8266 gnu* | linux* | tpf* | k*bsd*-gnu)
8268 if test "$host_os" = linux-dietlibc; then
8269 case $cc_basename in
8270 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8273 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8274 && test "$tmp_diet" = no
8277 tmp_sharedflag='-shared'
8278 case $cc_basename,$host_cpu in
8279 pgcc*) # Portland Group C compiler
8280 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'
8281 tmp_addflag=' $pic_flag'
8283 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8284 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'
8285 tmp_addflag=' $pic_flag -Mnomain' ;;
8286 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8287 tmp_addflag=' -i_dynamic' ;;
8288 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8289 tmp_addflag=' -i_dynamic -nofor_main' ;;
8290 ifc* | ifort*) # Intel Fortran compiler
8291 tmp_addflag=' -nofor_main' ;;
8292 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8293 tmp_sharedflag='-qmkshrobj'
8296 case `$CC -V 2>&1 | sed 5q` in
8297 *Sun\ C*) # Sun C 5.9
8298 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'
8299 compiler_needs_object=yes
8300 tmp_sharedflag='-G' ;;
8301 *Sun\ F*) # Sun Fortran 8.3
8302 tmp_sharedflag='-G' ;;
8304 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8306 if test "x$supports_anon_versioning" = xyes; then
8307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8309 echo "local: *; };" >> $output_objdir/$libname.ver~
8310 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8313 case $cc_basename in
8315 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8316 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8317 hardcode_libdir_flag_spec=
8318 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8319 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8320 if test "x$supports_anon_versioning" = xyes; then
8321 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8322 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8323 echo "local: *; };" >> $output_objdir/$libname.ver~
8324 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8335 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8339 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8344 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8348 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8349 *** create shared libraries on Solaris systems. Therefore, libtool
8350 *** is disabling shared libraries support. We urge you to upgrade GNU
8351 *** binutils to release 2.9.1 or newer. Another option is to modify
8352 *** your PATH or compiler configuration so that the native linker is
8353 *** used, and then restart.
8356 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8357 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8358 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8365 case `$LD -v 2>&1` in
8366 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8370 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8371 *** reliably create shared libraries on SCO systems. Therefore, libtool
8372 *** is disabling shared libraries support. We urge you to upgrade GNU
8373 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8374 *** your PATH or compiler configuration so that the native linker is
8375 *** used, and then restart.
8380 # For security reasons, it is highly recommended that you always
8381 # use absolute paths for naming shared libraries, and exclude the
8382 # DT_RUNPATH tag from executables and libraries. But doing so
8383 # requires that you compile everything twice, which is a pain.
8384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8385 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8396 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8399 hardcode_shlibpath_var=no
8403 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8405 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8412 if test "$ld_shlibs" = no; then
8414 hardcode_libdir_flag_spec=
8415 export_dynamic_flag_spec=
8416 whole_archive_flag_spec=
8419 # PORTME fill in a description of your system's linker (not GNU ld)
8422 allow_undefined_flag=unsupported
8423 always_export_symbols=yes
8424 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'
8425 # Note: this linker hardcodes the directories in LIBPATH if there
8426 # are no directories specified by -L.
8427 hardcode_minus_L=yes
8428 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8429 # Neither direct hardcoding nor static linking is supported with a
8431 hardcode_direct=unsupported
8436 if test "$host_cpu" = ia64; then
8437 # On IA64, the linker does run time linking by default, so we don't
8438 # have to do anything special.
8439 aix_use_runtimelinking=no
8440 exp_sym_flag='-Bexport'
8443 # If we're using GNU nm, then we don't want the "-C" option.
8444 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8445 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8446 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'
8448 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'
8450 aix_use_runtimelinking=no
8452 # Test if we are trying to use run time linking or normal
8453 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8454 # need to do runtime linking.
8455 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8456 for ld_flag in $LDFLAGS; do
8457 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8458 aix_use_runtimelinking=yes
8465 exp_sym_flag='-bexport'
8466 no_entry_flag='-bnoentry'
8469 # When large executables or shared objects are built, AIX ld can
8470 # have problems creating the table of contents. If linking a library
8471 # or program results in "error TOC overflow" add -mminimal-toc to
8472 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8473 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8477 hardcode_direct_absolute=yes
8478 hardcode_libdir_separator=':'
8479 link_all_deplibs=yes
8480 file_list_spec='${wl}-f,'
8482 if test "$GCC" = yes; then
8483 case $host_os in aix4.[012]|aix4.[012].*)
8484 # We only want to do this on AIX 4.2 and lower, the check
8485 # below for broken collect2 doesn't work under 4.3+
8486 collect2name=`${CC} -print-prog-name=collect2`
8487 if test -f "$collect2name" &&
8488 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8490 # We have reworked collect2
8493 # We have old collect2
8494 hardcode_direct=unsupported
8495 # It fails to find uninstalled libraries when the uninstalled
8496 # path is not listed in the libpath. Setting hardcode_minus_L
8497 # to unsupported forces relinking
8498 hardcode_minus_L=yes
8499 hardcode_libdir_flag_spec='-L$libdir'
8500 hardcode_libdir_separator=
8504 shared_flag='-shared'
8505 if test "$aix_use_runtimelinking" = yes; then
8506 shared_flag="$shared_flag "'${wl}-G'
8510 if test "$host_cpu" = ia64; then
8511 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8512 # chokes on -Wl,-G. The following line is correct:
8515 if test "$aix_use_runtimelinking" = yes; then
8516 shared_flag='${wl}-G'
8518 shared_flag='${wl}-bM:SRE'
8523 # It seems that -bexpall does not export symbols beginning with
8524 # underscore (_), so it is better to generate a list of symbols to export.
8525 always_export_symbols=yes
8526 if test "$aix_use_runtimelinking" = yes; then
8527 # Warning - without using the other runtime loading flags (-brtl),
8528 # -berok will link without error, but may produce a broken library.
8529 allow_undefined_flag='-berok'
8530 # Determine the default libpath from the value encoded in an
8532 cat >conftest.$ac_ext <<_ACEOF
8535 cat confdefs.h >>conftest.$ac_ext
8536 cat >>conftest.$ac_ext <<_ACEOF
8537 /* end confdefs.h. */
8547 rm -f conftest.$ac_objext conftest$ac_exeext
8548 if { (ac_try="$ac_link"
8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551 *) ac_try_echo=$ac_try;;
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554 (eval "$ac_link") 2>conftest.er1
8556 grep -v '^ *+' conftest.er1 >conftest.err
8558 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && {
8561 test -z "$ac_c_werror_flag" ||
8562 test ! -s conftest.err
8563 } && test -s conftest$ac_exeext &&
8564 $as_test_x conftest$ac_exeext; then
8566 lt_aix_libpath_sed='
8567 /Import File Strings/,/^$/ {
8573 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8574 # Check for a 64-bit object if we didn't find anything.
8575 if test -z "$aix_libpath"; then
8576 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586 conftest$ac_exeext conftest.$ac_ext
8587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8589 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8590 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"
8592 if test "$host_cpu" = ia64; then
8593 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8594 allow_undefined_flag="-z nodefs"
8595 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"
8597 # Determine the default libpath from the value encoded in an
8599 cat >conftest.$ac_ext <<_ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8614 rm -f conftest.$ac_objext conftest$ac_exeext
8615 if { (ac_try="$ac_link"
8617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8618 *) ac_try_echo=$ac_try;;
8620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8621 (eval "$ac_link") 2>conftest.er1
8623 grep -v '^ *+' conftest.er1 >conftest.err
8625 cat conftest.err >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } && {
8628 test -z "$ac_c_werror_flag" ||
8629 test ! -s conftest.err
8630 } && test -s conftest$ac_exeext &&
8631 $as_test_x conftest$ac_exeext; then
8633 lt_aix_libpath_sed='
8634 /Import File Strings/,/^$/ {
8640 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641 # Check for a 64-bit object if we didn't find anything.
8642 if test -z "$aix_libpath"; then
8643 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.$ac_ext >&5
8652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8653 conftest$ac_exeext conftest.$ac_ext
8654 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8656 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8657 # Warning - without using the other run time loading flags,
8658 # -berok will link without error, but may produce a broken library.
8659 no_undefined_flag=' ${wl}-bernotok'
8660 allow_undefined_flag=' ${wl}-berok'
8661 # Exported symbols can be pulled into shared objects from archives
8662 whole_archive_flag_spec='$convenience'
8663 archive_cmds_need_lc=yes
8664 # This is similar to how AIX traditionally builds its shared libraries.
8665 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'
8673 # see comment about AmigaOS4 .so support
8674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8675 archive_expsym_cmds=''
8678 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)'
8679 hardcode_libdir_flag_spec='-L$libdir'
8680 hardcode_minus_L=yes
8686 export_dynamic_flag_spec=-rdynamic
8689 cygwin* | mingw* | pw32*)
8690 # When not using gcc, we currently assume that we are using
8691 # Microsoft Visual C++.
8692 # hardcode_libdir_flag_spec is actually meaningless, as there is
8693 # no search path for DLLs.
8694 hardcode_libdir_flag_spec=' '
8695 allow_undefined_flag=unsupported
8696 # Tell ltmain to make .lib files, not .a files.
8698 # Tell ltmain to make .dll files, not .so files.
8700 # FIXME: Setting linknames here is a bad hack.
8701 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8702 # The linker will automatically build a .lib file if we build a DLL.
8703 old_archive_from_new_cmds='true'
8704 # FIXME: Should let the user specify the lib program.
8705 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8706 fix_srcfile_path='`cygpath -w "$srcfile"`'
8707 enable_shared_with_static_runtimes=yes
8710 darwin* | rhapsody*)
8713 archive_cmds_need_lc=no
8715 hardcode_automatic=yes
8716 hardcode_shlibpath_var=unsupported
8717 whole_archive_flag_spec=''
8718 link_all_deplibs=yes
8719 allow_undefined_flag="$_lt_dar_allow_undefined"
8720 if test "$GCC" = "yes"; then
8721 output_verbose_link_cmd=echo
8722 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8723 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8724 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}"
8725 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}"
8734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 hardcode_libdir_flag_spec='-L$libdir'
8736 hardcode_shlibpath_var=no
8743 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8744 # support. Future versions do this automatically, but an explicit c++rt0.o
8745 # does not break anything, and helps significantly (at the cost of a little
8748 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8749 hardcode_libdir_flag_spec='-R$libdir'
8751 hardcode_shlibpath_var=no
8754 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8756 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8758 hardcode_minus_L=yes
8759 hardcode_shlibpath_var=no
8762 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8763 freebsd* | dragonfly*)
8764 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8765 hardcode_libdir_flag_spec='-R$libdir'
8767 hardcode_shlibpath_var=no
8771 if test "$GCC" = yes; then
8772 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'
8774 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'
8776 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8777 hardcode_libdir_separator=:
8780 # hardcode_minus_L: Not really in the search PATH,
8781 # but as the default location of the library.
8782 hardcode_minus_L=yes
8783 export_dynamic_flag_spec='${wl}-E'
8787 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8788 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8790 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8792 if test "$with_gnu_ld" = no; then
8793 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8794 hardcode_libdir_flag_spec_ld='+b $libdir'
8795 hardcode_libdir_separator=:
8797 hardcode_direct_absolute=yes
8798 export_dynamic_flag_spec='${wl}-E'
8799 # hardcode_minus_L: Not really in the search PATH,
8800 # but as the default location of the library.
8801 hardcode_minus_L=yes
8806 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8809 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8821 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8824 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8827 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8831 if test "$with_gnu_ld" = no; then
8832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8833 hardcode_libdir_separator=:
8838 hardcode_shlibpath_var=no
8842 hardcode_direct_absolute=yes
8843 export_dynamic_flag_spec='${wl}-E'
8845 # hardcode_minus_L: Not really in the search PATH,
8846 # but as the default location of the library.
8847 hardcode_minus_L=yes
8853 irix5* | irix6* | nonstopux*)
8854 if test "$GCC" = yes; then
8855 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'
8856 # Try to use the -exported_symbol ld option, if it does not
8857 # work, assume that -exports_file does not work either and
8858 # implicitly export all symbols.
8859 save_LDFLAGS="$LDFLAGS"
8860 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8861 cat >conftest.$ac_ext <<_ACEOF
8864 rm -f conftest.$ac_objext conftest$ac_exeext
8865 if { (ac_try="$ac_link"
8867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8868 *) ac_try_echo=$ac_try;;
8870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8871 (eval "$ac_link") 2>conftest.er1
8873 grep -v '^ *+' conftest.er1 >conftest.err
8875 cat conftest.err >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } && {
8878 test -z "$ac_c_werror_flag" ||
8879 test ! -s conftest.err
8880 } && test -s conftest$ac_exeext &&
8881 $as_test_x conftest$ac_exeext; then
8882 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'
8885 echo "$as_me: failed program was:" >&5
8886 sed 's/^/| /' conftest.$ac_ext >&5
8891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8892 conftest$ac_exeext conftest.$ac_ext
8893 LDFLAGS="$save_LDFLAGS"
8895 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'
8896 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'
8898 archive_cmds_need_lc='no'
8899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8900 hardcode_libdir_separator=:
8902 link_all_deplibs=yes
8906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8909 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8911 hardcode_libdir_flag_spec='-R$libdir'
8913 hardcode_shlibpath_var=no
8917 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8920 hardcode_libdir_separator=:
8921 hardcode_shlibpath_var=no
8928 if test -f /usr/libexec/ld.so; then
8930 hardcode_shlibpath_var=no
8931 hardcode_direct_absolute=yes
8932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8933 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8934 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8935 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8936 export_dynamic_flag_spec='${wl}-E'
8939 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8940 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_libdir_flag_spec='-R$libdir'
8944 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8945 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8955 hardcode_libdir_flag_spec='-L$libdir'
8956 hardcode_minus_L=yes
8957 allow_undefined_flag=unsupported
8958 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'
8959 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8963 if test "$GCC" = yes; then
8964 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8965 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'
8967 allow_undefined_flag=' -expect_unresolved \*'
8968 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'
8970 archive_cmds_need_lc='no'
8971 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8972 hardcode_libdir_separator=:
8975 osf4* | osf5*) # as osf3* with the addition of -msym flag
8976 if test "$GCC" = yes; then
8977 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8978 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'
8979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981 allow_undefined_flag=' -expect_unresolved \*'
8982 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'
8983 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~
8984 $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'
8986 # Both c and cxx compiler support -rpath directly
8987 hardcode_libdir_flag_spec='-rpath $libdir'
8989 archive_cmds_need_lc='no'
8990 hardcode_libdir_separator=:
8994 no_undefined_flag=' -z defs'
8995 if test "$GCC" = yes; then
8997 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8998 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8999 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9001 case `$CC -V 2>&1` in
9004 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9006 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9010 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9012 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9016 hardcode_libdir_flag_spec='-R$libdir'
9017 hardcode_shlibpath_var=no
9019 solaris2.[0-5] | solaris2.[0-5].*) ;;
9021 # The compiler driver will combine and reorder linker options,
9022 # but understands `-z linker_flag'. GCC discards it without `$wl',
9023 # but is careful enough not to reorder.
9024 # Supported since Solaris 2.6 (maybe 2.5.1?)
9025 if test "$GCC" = yes; then
9026 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9028 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9032 link_all_deplibs=yes
9036 if test "x$host_vendor" = xsequent; then
9037 # Use $CC to link under sequent, because it throws in some extra .o
9038 # files that make .init and .fini sections work.
9039 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9041 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9043 hardcode_libdir_flag_spec='-L$libdir'
9045 hardcode_minus_L=yes
9046 hardcode_shlibpath_var=no
9050 case $host_vendor in
9052 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9053 hardcode_direct=yes # is this really true???
9056 ## LD is ld it makes a PLAMLIB
9057 ## CC just makes a GrossModule.
9058 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9059 reload_cmds='$CC -r -o $output$reload_objs'
9063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9064 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9067 runpath_var='LD_RUN_PATH'
9068 hardcode_shlibpath_var=no
9072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_shlibpath_var=no
9074 export_dynamic_flag_spec='-Bexport'
9078 if test -d /usr/nec; then
9079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9080 hardcode_shlibpath_var=no
9081 runpath_var=LD_RUN_PATH
9082 hardcode_runpath_var=yes
9087 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9088 no_undefined_flag='${wl}-z,text'
9089 archive_cmds_need_lc=no
9090 hardcode_shlibpath_var=no
9091 runpath_var='LD_RUN_PATH'
9093 if test "$GCC" = yes; then
9094 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9095 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9097 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9102 sysv5* | sco3.2v5* | sco5v6*)
9103 # Note: We can NOT use -z defs as we might desire, because we do not
9104 # link with -lc, and that would cause any symbols used from libc to
9105 # always be unresolved, which means just about no library would
9106 # ever link correctly. If we're not using GNU ld we use -z text
9107 # though, which does catch some bad symbols but isn't as heavy-handed
9109 no_undefined_flag='${wl}-z,text'
9110 allow_undefined_flag='${wl}-z,nodefs'
9111 archive_cmds_need_lc=no
9112 hardcode_shlibpath_var=no
9113 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9114 hardcode_libdir_separator=':'
9115 link_all_deplibs=yes
9116 export_dynamic_flag_spec='${wl}-Bexport'
9117 runpath_var='LD_RUN_PATH'
9119 if test "$GCC" = yes; then
9120 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9121 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9124 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9130 hardcode_libdir_flag_spec='-L$libdir'
9131 hardcode_shlibpath_var=no
9139 if test x$host_vendor = xsni; then
9141 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9142 export_dynamic_flag_spec='${wl}-Blargedynsym'
9148 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9149 echo "${ECHO_T}$ld_shlibs" >&6; }
9150 test "$ld_shlibs" = no && can_build_shared=no
9152 with_gnu_ld=$with_gnu_ld
9169 # Do we need to explicitly link libc?
9171 case "x$archive_cmds_need_lc" in
9173 # Assume -lc should be added
9174 archive_cmds_need_lc=yes
9176 if test "$enable_shared" = yes && test "$GCC" = yes; then
9177 case $archive_cmds in
9179 # FIXME: we may have to deal with multi-command sequences.
9182 # Test whether the compiler implicitly links with -lc since on some
9183 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9184 # to ld, don't add -lc before -lgcc.
9185 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9186 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9188 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9191 (eval $ac_compile) 2>&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); } 2>conftest.err; then
9197 libobjs=conftest.$ac_objext
9199 wl=$lt_prog_compiler_wl
9200 pic_flag=$lt_prog_compiler_pic
9206 lt_save_allow_undefined_flag=$allow_undefined_flag
9207 allow_undefined_flag=
9208 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9209 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); }
9214 archive_cmds_need_lc=no
9216 archive_cmds_need_lc=yes
9218 allow_undefined_flag=$lt_save_allow_undefined_flag
9220 cat conftest.err 1>&5
9223 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9224 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9387 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9388 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9390 if test "$GCC" = yes; then
9392 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9393 *) lt_awk_arg="/^libraries:/" ;;
9395 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9396 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9397 # if the path contains ";" then we assume it to be the separator
9398 # otherwise default to the standard path separator (i.e. ":") - it is
9399 # assumed that no part of a normal pathname contains ";" but that should
9400 # okay in the real world where ";" in dirpaths is itself problematic.
9401 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9403 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9405 # Ok, now we have the path, separated by spaces, we can step through it
9406 # and add multilib dir if necessary.
9407 lt_tmp_lt_search_path_spec=
9408 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9409 for lt_sys_path in $lt_search_path_spec; do
9410 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9411 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9413 test -d "$lt_sys_path" && \
9414 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9417 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9418 BEGIN {RS=" "; FS="/|\n";} {
9421 for (lt_i = NF; lt_i > 0; lt_i--) {
9422 if ($lt_i != "" && $lt_i != ".") {
9423 if ($lt_i == "..") {
9426 if (lt_count == 0) {
9427 lt_foo="/" $lt_i lt_foo;
9434 if (lt_foo != "") { lt_freq[lt_foo]++; }
9435 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9437 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9439 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9442 libname_spec='lib$name'
9450 shlibpath_overrides_runpath=unknown
9452 dynamic_linker="$host_os ld.so"
9453 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9454 need_lib_prefix=unknown
9455 hardcode_into_libs=no
9457 # when you set need_version to no, make sure it does not cause -set_version
9458 # flags to be left without arguments
9459 need_version=unknown
9464 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9465 shlibpath_var=LIBPATH
9467 # AIX 3 has no versioning support, so we append a major version to the name.
9468 soname_spec='${libname}${release}${shared_ext}$major'
9475 hardcode_into_libs=yes
9476 if test "$host_cpu" = ia64; then
9477 # AIX 5 supports IA64
9478 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9479 shlibpath_var=LD_LIBRARY_PATH
9481 # With GCC up to 2.95.x, collect2 would create an import file
9482 # for dependence libraries. The import file would start with
9483 # the line `#! .'. This would cause the generated library to
9484 # depend on `.', always an invalid library. This was fixed in
9485 # development snapshots of GCC prior to 3.0.
9487 aix4 | aix4.[01] | aix4.[01].*)
9488 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9490 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9497 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9498 # soname into executable. Probably we can add versioning support to
9499 # collect2, so additional links can be useful in future.
9500 if test "$aix_use_runtimelinking" = yes; then
9501 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9502 # instead of lib<name>.a to let people know that these are not
9503 # typical AIX shared libraries.
9504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9506 # We preserve .a as extension for shared libraries through AIX4.2
9507 # and later when we are not doing run time linking.
9508 library_names_spec='${libname}${release}.a $libname.a'
9509 soname_spec='${libname}${release}${shared_ext}$major'
9511 shlibpath_var=LIBPATH
9518 # Since July 2007 AmigaOS4 officially supports .so libraries.
9519 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9523 library_names_spec='$libname.ixlibrary $libname.a'
9524 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9525 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'
9531 library_names_spec='${libname}${shared_ext}'
9532 dynamic_linker="$host_os ld.so"
9533 shlibpath_var=LIBRARY_PATH
9539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540 soname_spec='${libname}${release}${shared_ext}$major'
9541 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9542 shlibpath_var=LD_LIBRARY_PATH
9543 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9544 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9545 # the default ld.so.conf also contains /usr/contrib/lib and
9546 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9547 # libtool to hard-code these into programs
9550 cygwin* | mingw* | pw32*)
9551 version_type=windows
9556 case $GCC,$host_os in
9557 yes,cygwin* | yes,mingw* | yes,pw32*)
9558 library_names_spec='$libname.dll.a'
9559 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9560 postinstall_cmds='base_file=`basename \${file}`~
9561 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9562 dldir=$destdir/`dirname \$dlpath`~
9563 test -d \$dldir || mkdir -p \$dldir~
9564 $install_prog $dir/$dlname \$dldir/$dlname~
9565 chmod a+x \$dldir/$dlname~
9566 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9567 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9569 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9570 dlpath=$dir/\$dldll~
9572 shlibpath_overrides_runpath=yes
9576 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9577 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9578 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9581 # MinGW DLLs use traditional 'lib' prefix
9582 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9583 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9584 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9585 # It is most probably a Windows format PATH printed by
9586 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9587 # path with ; separators, and with drive letters. We can handle the
9588 # drive letters (cygwin fileutils understands them), so leave them,
9589 # especially as we might pass files found there to a mingw objdump,
9590 # which wouldn't understand a cygwinified path. Ahh.
9591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9597 # pw32 DLLs use 'pw' prefix rather than 'lib'
9598 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9604 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9607 dynamic_linker='Win32 ld.exe'
9608 # FIXME: first we should search . and the directory the executable is in
9612 darwin* | rhapsody*)
9613 dynamic_linker="$host_os dyld"
9617 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9618 soname_spec='${libname}${release}${major}$shared_ext'
9619 shlibpath_overrides_runpath=yes
9620 shlibpath_var=DYLD_LIBRARY_PATH
9621 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9623 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9624 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9632 soname_spec='${libname}${release}${shared_ext}$major'
9633 shlibpath_var=LD_LIBRARY_PATH
9640 freebsd* | dragonfly*)
9641 # DragonFly does not have aout. When/if they implement a new
9642 # versioning mechanism, adjust this.
9643 if test -x /usr/bin/objformat; then
9644 objformat=`/usr/bin/objformat`
9647 freebsd[123]*) objformat=aout ;;
9651 version_type=freebsd-$objformat
9652 case $version_type in
9654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9659 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9663 shlibpath_var=LD_LIBRARY_PATH
9666 shlibpath_overrides_runpath=yes
9668 freebsd3.[01]* | freebsdelf3.[01]*)
9669 shlibpath_overrides_runpath=yes
9670 hardcode_into_libs=yes
9672 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9673 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9674 shlibpath_overrides_runpath=no
9675 hardcode_into_libs=yes
9677 *) # from 4.6 on, and DragonFly
9678 shlibpath_overrides_runpath=yes
9679 hardcode_into_libs=yes
9688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9689 soname_spec='${libname}${release}${shared_ext}$major'
9690 shlibpath_var=LD_LIBRARY_PATH
9691 hardcode_into_libs=yes
9694 hpux9* | hpux10* | hpux11*)
9695 # Give a soname corresponding to the major version so that dld.sl refuses to
9696 # link against other versions.
9703 hardcode_into_libs=yes
9704 dynamic_linker="$host_os dld.so"
9705 shlibpath_var=LD_LIBRARY_PATH
9706 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9708 soname_spec='${libname}${release}${shared_ext}$major'
9709 if test "X$HPUX_IA64_MODE" = X32; then
9710 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9712 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9714 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9718 hardcode_into_libs=yes
9719 dynamic_linker="$host_os dld.sl"
9720 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9721 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 soname_spec='${libname}${release}${shared_ext}$major'
9724 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9729 dynamic_linker="$host_os dld.sl"
9730 shlibpath_var=SHLIB_PATH
9731 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733 soname_spec='${libname}${release}${shared_ext}$major'
9736 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9737 postinstall_cmds='chmod 555 $lib'
9744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9745 soname_spec='${libname}${release}${shared_ext}$major'
9746 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9747 shlibpath_var=LD_LIBRARY_PATH
9748 shlibpath_overrides_runpath=no
9749 hardcode_into_libs=yes
9752 irix5* | irix6* | nonstopux*)
9754 nonstopux*) version_type=nonstopux ;;
9756 if test "$lt_cv_prog_gnu_ld" = yes; then
9764 soname_spec='${libname}${release}${shared_ext}$major'
9765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9767 irix5* | nonstopux*)
9771 case $LD in # libtool.m4 will add one of these switches to LD
9772 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9773 libsuff= shlibsuff= libmagic=32-bit;;
9774 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9775 libsuff=32 shlibsuff=N32 libmagic=N32;;
9776 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9777 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9778 *) libsuff= shlibsuff= libmagic=never-match;;
9782 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9783 shlibpath_overrides_runpath=no
9784 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9785 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9786 hardcode_into_libs=yes
9789 # No shared lib support for Linux oldld, aout, or coff.
9790 linux*oldld* | linux*aout* | linux*coff*)
9794 # This must be Linux ELF.
9795 linux* | k*bsd*-gnu)
9799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800 soname_spec='${libname}${release}${shared_ext}$major'
9801 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9802 shlibpath_var=LD_LIBRARY_PATH
9803 shlibpath_overrides_runpath=no
9804 # Some binutils ld are patched to set DT_RUNPATH
9805 save_LDFLAGS=$LDFLAGS
9807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9809 cat >conftest.$ac_ext <<_ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9824 rm -f conftest.$ac_objext conftest$ac_exeext
9825 if { (ac_try="$ac_link"
9827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9828 *) ac_try_echo=$ac_try;;
9830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9831 (eval "$ac_link") 2>conftest.er1
9833 grep -v '^ *+' conftest.er1 >conftest.err
9835 cat conftest.err >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); } && {
9838 test -z "$ac_c_werror_flag" ||
9839 test ! -s conftest.err
9840 } && test -s conftest$ac_exeext &&
9841 $as_test_x conftest$ac_exeext; then
9842 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9843 shlibpath_overrides_runpath=yes
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LDFLAGS=$save_LDFLAGS
9858 # This implies no fast_install, which is unacceptable.
9859 # Some rework will be needed to allow for fast_install
9860 # before this can be enabled.
9861 hardcode_into_libs=yes
9863 # Append ld.so.conf contents to the search path
9864 if test -f /etc/ld.so.conf; then
9865 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' ' '`
9866 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9869 # We used to test for /lib/ld.so.1 and disable shared libraries on
9870 # powerpc, because MkLinux only supported shared libraries with the
9871 # GNU dynamic linker. Since this was broken with cross compilers,
9872 # most powerpc-linux boxes support dynamic linking these days and
9873 # people can always --disable-shared, the test was removed, and we
9874 # assume the GNU/Linux dynamic linker is in use.
9875 dynamic_linker='GNU/Linux ld.so'
9882 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9884 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9885 dynamic_linker='NetBSD (a.out) ld.so'
9887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9888 soname_spec='${libname}${release}${shared_ext}$major'
9889 dynamic_linker='NetBSD ld.elf_so'
9891 shlibpath_var=LD_LIBRARY_PATH
9892 shlibpath_overrides_runpath=yes
9893 hardcode_into_libs=yes
9898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899 shlibpath_var=LD_LIBRARY_PATH
9900 shlibpath_overrides_runpath=yes
9907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908 soname_spec='${libname}${release}${shared_ext}$major'
9909 shlibpath_var=LD_LIBRARY_PATH
9910 shlibpath_overrides_runpath=no
9911 hardcode_into_libs=yes
9912 dynamic_linker='ldqnx.so'
9917 sys_lib_dlsearch_path_spec="/usr/lib"
9919 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9921 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9922 *) need_version=no ;;
9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9926 shlibpath_var=LD_LIBRARY_PATH
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9929 openbsd2.[89] | openbsd2.[89].*)
9930 shlibpath_overrides_runpath=no
9933 shlibpath_overrides_runpath=yes
9937 shlibpath_overrides_runpath=yes
9942 libname_spec='$name'
9945 library_names_spec='$libname${shared_ext} $libname.a'
9946 dynamic_linker='OS/2 ld.exe'
9947 shlibpath_var=LIBPATH
9950 osf3* | osf4* | osf5*)
9954 soname_spec='${libname}${release}${shared_ext}$major'
9955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956 shlibpath_var=LD_LIBRARY_PATH
9957 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9958 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970 soname_spec='${libname}${release}${shared_ext}$major'
9971 shlibpath_var=LD_LIBRARY_PATH
9972 shlibpath_overrides_runpath=yes
9973 hardcode_into_libs=yes
9974 # ldd complains unless libraries are executable
9975 postinstall_cmds='chmod +x $lib'
9980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9981 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9982 shlibpath_var=LD_LIBRARY_PATH
9983 shlibpath_overrides_runpath=yes
9984 if test "$with_gnu_ld" = yes; then
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993 soname_spec='${libname}${release}${shared_ext}$major'
9994 shlibpath_var=LD_LIBRARY_PATH
9995 case $host_vendor in
9997 shlibpath_overrides_runpath=no
9999 runpath_var=LD_RUN_PATH
10007 shlibpath_overrides_runpath=no
10008 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10014 if test -d /usr/nec ;then
10016 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10017 soname_spec='$libname${shared_ext}.$major'
10018 shlibpath_var=LD_LIBRARY_PATH
10022 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10023 version_type=freebsd-elf
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10027 soname_spec='${libname}${release}${shared_ext}$major'
10028 shlibpath_var=LD_LIBRARY_PATH
10029 shlibpath_overrides_runpath=yes
10030 hardcode_into_libs=yes
10031 if test "$with_gnu_ld" = yes; then
10032 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10034 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10037 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10041 sys_lib_dlsearch_path_spec='/usr/lib'
10045 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10049 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050 shlibpath_var=LD_LIBRARY_PATH
10051 shlibpath_overrides_runpath=no
10052 hardcode_into_libs=yes
10057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10058 soname_spec='${libname}${release}${shared_ext}$major'
10059 shlibpath_var=LD_LIBRARY_PATH
10066 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10067 echo "${ECHO_T}$dynamic_linker" >&6; }
10068 test "$dynamic_linker" = no && can_build_shared=no
10070 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10071 if test "$GCC" = yes; then
10072 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10075 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10076 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10078 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10079 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10168 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10169 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10171 if test -n "$hardcode_libdir_flag_spec" ||
10172 test -n "$runpath_var" ||
10173 test "X$hardcode_automatic" = "Xyes" ; then
10175 # We can hardcode non-existent directories.
10176 if test "$hardcode_direct" != no &&
10177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10178 # have to relink, otherwise we might link with an installed library
10179 # when we should be linking with a yet-to-be-installed one
10180 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10181 test "$hardcode_minus_L" != no; then
10182 # Linking always hardcodes the temporary library directory.
10183 hardcode_action=relink
10185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10186 hardcode_action=immediate
10189 # We cannot hardcode anything, or else we can only hardcode existing
10191 hardcode_action=unsupported
10193 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10194 echo "${ECHO_T}$hardcode_action" >&6; }
10196 if test "$hardcode_action" = relink ||
10197 test "$inherit_rpath" = yes; then
10198 # Fast installation is not supported
10199 enable_fast_install=no
10200 elif test "$shlibpath_overrides_runpath" = yes ||
10201 test "$enable_shared" = no; then
10202 # Fast installation is not necessary
10203 enable_fast_install=needless
10211 if test "x$enable_dlopen" != xyes; then
10212 enable_dlopen=unknown
10213 enable_dlopen_self=unknown
10214 enable_dlopen_self_static=unknown
10221 lt_cv_dlopen="load_add_on"
10223 lt_cv_dlopen_self=yes
10227 lt_cv_dlopen="LoadLibrary"
10232 lt_cv_dlopen="dlopen"
10237 # if libdl is installed we need to link against it
10238 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10239 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10240 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 ac_check_lib_save_LIBS=$LIBS
10245 cat >conftest.$ac_ext <<_ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (ac_try="$ac_link"
10269 case "(($ac_try" in
10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_link") 2>conftest.er1
10276 grep -v '^ *+' conftest.er1 >conftest.err
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } && {
10281 test -z "$ac_c_werror_flag" ||
10282 test ! -s conftest.err
10283 } && test -s conftest$ac_exeext &&
10284 $as_test_x conftest$ac_exeext; then
10285 ac_cv_lib_dl_dlopen=yes
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_dl_dlopen=no
10293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10298 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10299 if test $ac_cv_lib_dl_dlopen = yes; then
10300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10303 lt_cv_dlopen="dyld"
10305 lt_cv_dlopen_self=yes
10312 { echo "$as_me:$LINENO: checking for shl_load" >&5
10313 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10314 if test "${ac_cv_func_shl_load+set}" = set; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 cat >conftest.$ac_ext <<_ACEOF
10320 cat confdefs.h >>conftest.$ac_ext
10321 cat >>conftest.$ac_ext <<_ACEOF
10322 /* end confdefs.h. */
10323 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10325 #define shl_load innocuous_shl_load
10327 /* System header to define __stub macros and hopefully few prototypes,
10328 which can conflict with char shl_load (); below.
10329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10330 <limits.h> exists even on freestanding compilers. */
10333 # include <limits.h>
10335 # include <assert.h>
10340 /* Override any GCC internal prototype to avoid an error.
10341 Use char because int might match the return type of a GCC
10342 builtin and then its argument prototype would still apply. */
10347 /* The GNU C library defines this for functions which it implements
10348 to always fail with ENOSYS. Some functions are actually named
10349 something starting with __ and the normal name is an alias. */
10350 #if defined __stub_shl_load || defined __stub___shl_load
10357 return shl_load ();
10362 rm -f conftest.$ac_objext conftest$ac_exeext
10363 if { (ac_try="$ac_link"
10364 case "(($ac_try" in
10365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10366 *) ac_try_echo=$ac_try;;
10368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10369 (eval "$ac_link") 2>conftest.er1
10371 grep -v '^ *+' conftest.er1 >conftest.err
10373 cat conftest.err >&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } && {
10376 test -z "$ac_c_werror_flag" ||
10377 test ! -s conftest.err
10378 } && test -s conftest$ac_exeext &&
10379 $as_test_x conftest$ac_exeext; then
10380 ac_cv_func_shl_load=yes
10382 echo "$as_me: failed program was:" >&5
10383 sed 's/^/| /' conftest.$ac_ext >&5
10385 ac_cv_func_shl_load=no
10388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10389 conftest$ac_exeext conftest.$ac_ext
10391 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10392 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10393 if test $ac_cv_func_shl_load = yes; then
10394 lt_cv_dlopen="shl_load"
10396 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10397 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10398 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 ac_check_lib_save_LIBS=$LIBS
10403 cat >conftest.$ac_ext <<_ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10420 return shl_load ();
10425 rm -f conftest.$ac_objext conftest$ac_exeext
10426 if { (ac_try="$ac_link"
10427 case "(($ac_try" in
10428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10429 *) ac_try_echo=$ac_try;;
10431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10432 (eval "$ac_link") 2>conftest.er1
10434 grep -v '^ *+' conftest.er1 >conftest.err
10436 cat conftest.err >&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } && {
10439 test -z "$ac_c_werror_flag" ||
10440 test ! -s conftest.err
10441 } && test -s conftest$ac_exeext &&
10442 $as_test_x conftest$ac_exeext; then
10443 ac_cv_lib_dld_shl_load=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 ac_cv_lib_dld_shl_load=no
10451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LIBS=$ac_check_lib_save_LIBS
10455 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10456 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10457 if test $ac_cv_lib_dld_shl_load = yes; then
10458 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10460 { echo "$as_me:$LINENO: checking for dlopen" >&5
10461 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10462 if test "${ac_cv_func_dlopen+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10471 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10473 #define dlopen innocuous_dlopen
10475 /* System header to define __stub macros and hopefully few prototypes,
10476 which can conflict with char dlopen (); below.
10477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10478 <limits.h> exists even on freestanding compilers. */
10481 # include <limits.h>
10483 # include <assert.h>
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10495 /* The GNU C library defines this for functions which it implements
10496 to always fail with ENOSYS. Some functions are actually named
10497 something starting with __ and the normal name is an alias. */
10498 #if defined __stub_dlopen || defined __stub___dlopen
10510 rm -f conftest.$ac_objext conftest$ac_exeext
10511 if { (ac_try="$ac_link"
10512 case "(($ac_try" in
10513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10514 *) ac_try_echo=$ac_try;;
10516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10517 (eval "$ac_link") 2>conftest.er1
10519 grep -v '^ *+' conftest.er1 >conftest.err
10521 cat conftest.err >&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); } && {
10524 test -z "$ac_c_werror_flag" ||
10525 test ! -s conftest.err
10526 } && test -s conftest$ac_exeext &&
10527 $as_test_x conftest$ac_exeext; then
10528 ac_cv_func_dlopen=yes
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.$ac_ext >&5
10533 ac_cv_func_dlopen=no
10536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10537 conftest$ac_exeext conftest.$ac_ext
10539 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10540 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10541 if test $ac_cv_func_dlopen = yes; then
10542 lt_cv_dlopen="dlopen"
10544 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10545 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10546 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 ac_check_lib_save_LIBS=$LIBS
10551 cat >conftest.$ac_ext <<_ACEOF
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10573 rm -f conftest.$ac_objext conftest$ac_exeext
10574 if { (ac_try="$ac_link"
10575 case "(($ac_try" in
10576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10577 *) ac_try_echo=$ac_try;;
10579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10580 (eval "$ac_link") 2>conftest.er1
10582 grep -v '^ *+' conftest.er1 >conftest.err
10584 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && {
10587 test -z "$ac_c_werror_flag" ||
10588 test ! -s conftest.err
10589 } && test -s conftest$ac_exeext &&
10590 $as_test_x conftest$ac_exeext; then
10591 ac_cv_lib_dl_dlopen=yes
10593 echo "$as_me: failed program was:" >&5
10594 sed 's/^/| /' conftest.$ac_ext >&5
10596 ac_cv_lib_dl_dlopen=no
10599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10603 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10604 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10605 if test $ac_cv_lib_dl_dlopen = yes; then
10606 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10608 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10609 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10610 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10611 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 ac_check_lib_save_LIBS=$LIBS
10614 LIBS="-lsvld $LIBS"
10615 cat >conftest.$ac_ext <<_ACEOF
10618 cat confdefs.h >>conftest.$ac_ext
10619 cat >>conftest.$ac_ext <<_ACEOF
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10637 rm -f conftest.$ac_objext conftest$ac_exeext
10638 if { (ac_try="$ac_link"
10639 case "(($ac_try" in
10640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10641 *) ac_try_echo=$ac_try;;
10643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10644 (eval "$ac_link") 2>conftest.er1
10646 grep -v '^ *+' conftest.er1 >conftest.err
10648 cat conftest.err >&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); } && {
10651 test -z "$ac_c_werror_flag" ||
10652 test ! -s conftest.err
10653 } && test -s conftest$ac_exeext &&
10654 $as_test_x conftest$ac_exeext; then
10655 ac_cv_lib_svld_dlopen=yes
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.$ac_ext >&5
10660 ac_cv_lib_svld_dlopen=no
10663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_lib_save_LIBS
10667 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10668 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10669 if test $ac_cv_lib_svld_dlopen = yes; then
10670 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10672 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10673 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10674 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 ac_check_lib_save_LIBS=$LIBS
10679 cat >conftest.$ac_ext <<_ACEOF
10682 cat confdefs.h >>conftest.$ac_ext
10683 cat >>conftest.$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10696 return dld_link ();
10701 rm -f conftest.$ac_objext conftest$ac_exeext
10702 if { (ac_try="$ac_link"
10703 case "(($ac_try" in
10704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10705 *) ac_try_echo=$ac_try;;
10707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10708 (eval "$ac_link") 2>conftest.er1
10710 grep -v '^ *+' conftest.er1 >conftest.err
10712 cat conftest.err >&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); } && {
10715 test -z "$ac_c_werror_flag" ||
10716 test ! -s conftest.err
10717 } && test -s conftest$ac_exeext &&
10718 $as_test_x conftest$ac_exeext; then
10719 ac_cv_lib_dld_dld_link=yes
10721 echo "$as_me: failed program was:" >&5
10722 sed 's/^/| /' conftest.$ac_ext >&5
10724 ac_cv_lib_dld_dld_link=no
10727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10731 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10732 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10733 if test $ac_cv_lib_dld_dld_link = yes; then
10734 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10755 if test "x$lt_cv_dlopen" != xno; then
10761 case $lt_cv_dlopen in
10763 save_CPPFLAGS="$CPPFLAGS"
10764 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10766 save_LDFLAGS="$LDFLAGS"
10767 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10770 LIBS="$lt_cv_dlopen_libs $LIBS"
10772 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10773 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10774 if test "${lt_cv_dlopen_self+set}" = set; then
10775 echo $ECHO_N "(cached) $ECHO_C" >&6
10777 if test "$cross_compiling" = yes; then :
10778 lt_cv_dlopen_self=cross
10780 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10781 lt_status=$lt_dlunknown
10782 cat > conftest.$ac_ext <<_LT_EOF
10783 #line 10783 "configure"
10784 #include "confdefs.h"
10793 # define LT_DLGLOBAL RTLD_GLOBAL
10796 # define LT_DLGLOBAL DL_GLOBAL
10798 # define LT_DLGLOBAL 0
10802 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10803 find out it does not work in some platform. */
10804 #ifndef LT_DLLAZY_OR_NOW
10806 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10809 # define LT_DLLAZY_OR_NOW DL_LAZY
10812 # define LT_DLLAZY_OR_NOW RTLD_NOW
10815 # define LT_DLLAZY_OR_NOW DL_NOW
10817 # define LT_DLLAZY_OR_NOW 0
10825 extern "C" void exit (int);
10828 void fnord() { int i=42;}
10831 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10832 int status = $lt_dlunknown;
10836 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10837 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10838 /* dlclose (self); */
10846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10847 (eval $ac_link) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10851 (./conftest; exit; ) >&5 2>/dev/null
10853 case x$lt_status in
10854 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10855 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10856 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10859 # compilation failed
10860 lt_cv_dlopen_self=no
10867 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10868 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10870 if test "x$lt_cv_dlopen_self" = xyes; then
10871 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10872 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10873 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10874 if test "${lt_cv_dlopen_self_static+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 if test "$cross_compiling" = yes; then :
10878 lt_cv_dlopen_self_static=cross
10880 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10881 lt_status=$lt_dlunknown
10882 cat > conftest.$ac_ext <<_LT_EOF
10883 #line 10883 "configure"
10884 #include "confdefs.h"
10893 # define LT_DLGLOBAL RTLD_GLOBAL
10896 # define LT_DLGLOBAL DL_GLOBAL
10898 # define LT_DLGLOBAL 0
10902 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10903 find out it does not work in some platform. */
10904 #ifndef LT_DLLAZY_OR_NOW
10906 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10909 # define LT_DLLAZY_OR_NOW DL_LAZY
10912 # define LT_DLLAZY_OR_NOW RTLD_NOW
10915 # define LT_DLLAZY_OR_NOW DL_NOW
10917 # define LT_DLLAZY_OR_NOW 0
10925 extern "C" void exit (int);
10928 void fnord() { int i=42;}
10931 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10932 int status = $lt_dlunknown;
10936 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10937 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10938 /* dlclose (self); */
10946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10947 (eval $ac_link) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10951 (./conftest; exit; ) >&5 2>/dev/null
10953 case x$lt_status in
10954 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10955 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10956 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10959 # compilation failed
10960 lt_cv_dlopen_self_static=no
10967 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10968 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10971 CPPFLAGS="$save_CPPFLAGS"
10972 LDFLAGS="$save_LDFLAGS"
10977 case $lt_cv_dlopen_self in
10978 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10979 *) enable_dlopen_self=unknown ;;
10982 case $lt_cv_dlopen_self_static in
10983 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10984 *) enable_dlopen_self_static=unknown ;;
11006 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11007 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11008 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11009 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11010 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11011 { echo "$as_me:$LINENO: result: yes" >&5
11012 echo "${ECHO_T}yes" >&6; }
11014 # FIXME - insert some real tests, host_os isn't really good enough
11017 if test -n "$STRIP" ; then
11018 striplib="$STRIP -x"
11019 old_striplib="$STRIP -S"
11020 { echo "$as_me:$LINENO: result: yes" >&5
11021 echo "${ECHO_T}yes" >&6; }
11023 { echo "$as_me:$LINENO: result: no" >&5
11024 echo "${ECHO_T}no" >&6; }
11028 { echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6; }
11045 # Report which library types will actually be built
11046 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11047 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11048 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11049 echo "${ECHO_T}$can_build_shared" >&6; }
11051 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11052 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11053 test "$can_build_shared" = "no" && enable_shared=no
11055 # On AIX, shared libraries and static libraries use the same namespace, and
11056 # are all built from PIC.
11059 test "$enable_shared" = yes && enable_static=no
11060 if test -n "$RANLIB"; then
11061 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11062 postinstall_cmds='$RANLIB $lib'
11067 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11068 test "$enable_shared" = yes && enable_static=no
11072 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11073 echo "${ECHO_T}$enable_shared" >&6; }
11075 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11076 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11077 # Make sure either enable_shared or enable_static is yes.
11078 test "$enable_shared" = yes || enable_static=yes
11079 { echo "$as_me:$LINENO: result: $enable_static" >&5
11080 echo "${ECHO_T}$enable_static" >&6; }
11087 ac_cpp='$CPP $CPPFLAGS'
11088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11106 ac_config_commands="$ac_config_commands libtool"
11111 # Only expand once:
11115 # Checks for libraries.
11118 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11119 if test -n "$ac_tool_prefix"; then
11120 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11121 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11124 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 case $PKG_CONFIG in
11129 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11133 for as_dir in $PATH
11136 test -z "$as_dir" && as_dir=.
11137 for ac_exec_ext in '' $ac_executable_extensions; do
11138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11151 if test -n "$PKG_CONFIG"; then
11152 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11153 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11155 { echo "$as_me:$LINENO: result: no" >&5
11156 echo "${ECHO_T}no" >&6; }
11161 if test -z "$ac_cv_path_PKG_CONFIG"; then
11162 ac_pt_PKG_CONFIG=$PKG_CONFIG
11163 # Extract the first word of "pkg-config", so it can be a program name with args.
11164 set dummy pkg-config; ac_word=$2
11165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11167 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 case $ac_pt_PKG_CONFIG in
11172 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11176 for as_dir in $PATH
11179 test -z "$as_dir" && as_dir=.
11180 for ac_exec_ext in '' $ac_executable_extensions; do
11181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11182 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11193 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11194 if test -n "$ac_pt_PKG_CONFIG"; then
11195 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11196 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
11198 { echo "$as_me:$LINENO: result: no" >&5
11199 echo "${ECHO_T}no" >&6; }
11202 if test "x$ac_pt_PKG_CONFIG" = x; then
11205 case $cross_compiling:$ac_tool_warned in
11207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11208 whose name does not start with the host triplet. If you think this
11209 configuration is useful to you, please write to autoconf@gnu.org." >&5
11210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11211 whose name does not start with the host triplet. If you think this
11212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11213 ac_tool_warned=yes ;;
11215 PKG_CONFIG=$ac_pt_PKG_CONFIG
11218 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11222 if test -n "$PKG_CONFIG"; then
11223 _pkg_min_version=0.9.0
11224 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11225 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
11226 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11227 { echo "$as_me:$LINENO: result: yes" >&5
11228 echo "${ECHO_T}yes" >&6; }
11230 { echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6; }
11238 { echo "$as_me:$LINENO: checking for AUDIOSESSIONMGR" >&5
11239 echo $ECHO_N "checking for AUDIOSESSIONMGR... $ECHO_C" >&6; }
11241 if test -n "$PKG_CONFIG"; then
11242 if test -n "$AUDIOSESSIONMGR_CFLAGS"; then
11243 pkg_cv_AUDIOSESSIONMGR_CFLAGS="$AUDIOSESSIONMGR_CFLAGS"
11245 if test -n "$PKG_CONFIG" && \
11246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 vconf \"") >&5
11247 ($PKG_CONFIG --exists --print-errors "glib-2.0 vconf ") 2>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; then
11251 pkg_cv_AUDIOSESSIONMGR_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 vconf " 2>/dev/null`
11259 if test -n "$PKG_CONFIG"; then
11260 if test -n "$AUDIOSESSIONMGR_LIBS"; then
11261 pkg_cv_AUDIOSESSIONMGR_LIBS="$AUDIOSESSIONMGR_LIBS"
11263 if test -n "$PKG_CONFIG" && \
11264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 vconf \"") >&5
11265 ($PKG_CONFIG --exists --print-errors "glib-2.0 vconf ") 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; then
11269 pkg_cv_AUDIOSESSIONMGR_LIBS=`$PKG_CONFIG --libs "glib-2.0 vconf " 2>/dev/null`
11280 if test $pkg_failed = yes; then
11282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11283 _pkg_short_errors_supported=yes
11285 _pkg_short_errors_supported=no
11287 if test $_pkg_short_errors_supported = yes; then
11288 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 vconf "`
11290 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 vconf "`
11292 # Put the nasty error message in config.log where it belongs
11293 echo "$AUDIOSESSIONMGR_PKG_ERRORS" >&5
11295 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 vconf ) were not met:
11297 $AUDIOSESSIONMGR_PKG_ERRORS
11299 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11300 installed software in a non-standard prefix.
11302 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11303 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11304 See the pkg-config man page for more details.
11306 echo "$as_me: error: Package requirements (glib-2.0 vconf ) were not met:
11308 $AUDIOSESSIONMGR_PKG_ERRORS
11310 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11311 installed software in a non-standard prefix.
11313 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11314 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11315 See the pkg-config man page for more details.
11317 { (exit 1); exit 1; }; }
11318 elif test $pkg_failed = untried; then
11319 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11320 is in your PATH or set the PKG_CONFIG environment variable to the full
11321 path to pkg-config.
11323 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11324 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11325 See the pkg-config man page for more details.
11327 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11328 See \`config.log' for more details." >&5
11329 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11330 is in your PATH or set the PKG_CONFIG environment variable to the full
11331 path to pkg-config.
11333 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11334 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11335 See the pkg-config man page for more details.
11337 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11338 See \`config.log' for more details." >&2;}
11339 { (exit 1); exit 1; }; }
11341 AUDIOSESSIONMGR_CFLAGS=$pkg_cv_AUDIOSESSIONMGR_CFLAGS
11342 AUDIOSESSIONMGR_LIBS=$pkg_cv_AUDIOSESSIONMGR_LIBS
11343 { echo "$as_me:$LINENO: result: yes" >&5
11344 echo "${ECHO_T}yes" >&6; }
11352 { echo "$as_me:$LINENO: checking for MMLOG" >&5
11353 echo $ECHO_N "checking for MMLOG... $ECHO_C" >&6; }
11355 if test -n "$PKG_CONFIG"; then
11356 if test -n "$MMLOG_CFLAGS"; then
11357 pkg_cv_MMLOG_CFLAGS="$MMLOG_CFLAGS"
11359 if test -n "$PKG_CONFIG" && \
11360 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mm-log\"") >&5
11361 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; then
11365 pkg_cv_MMLOG_CFLAGS=`$PKG_CONFIG --cflags "mm-log" 2>/dev/null`
11373 if test -n "$PKG_CONFIG"; then
11374 if test -n "$MMLOG_LIBS"; then
11375 pkg_cv_MMLOG_LIBS="$MMLOG_LIBS"
11377 if test -n "$PKG_CONFIG" && \
11378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mm-log\"") >&5
11379 ($PKG_CONFIG --exists --print-errors "mm-log") 2>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); }; then
11383 pkg_cv_MMLOG_LIBS=`$PKG_CONFIG --libs "mm-log" 2>/dev/null`
11394 if test $pkg_failed = yes; then
11396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11397 _pkg_short_errors_supported=yes
11399 _pkg_short_errors_supported=no
11401 if test $_pkg_short_errors_supported = yes; then
11402 MMLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mm-log"`
11404 MMLOG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mm-log"`
11406 # Put the nasty error message in config.log where it belongs
11407 echo "$MMLOG_PKG_ERRORS" >&5
11409 { { echo "$as_me:$LINENO: error: Package requirements (mm-log) were not met:
11413 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11414 installed software in a non-standard prefix.
11416 Alternatively, you may set the environment variables MMLOG_CFLAGS
11417 and MMLOG_LIBS to avoid the need to call pkg-config.
11418 See the pkg-config man page for more details.
11420 echo "$as_me: error: Package requirements (mm-log) were not met:
11424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11425 installed software in a non-standard prefix.
11427 Alternatively, you may set the environment variables MMLOG_CFLAGS
11428 and MMLOG_LIBS to avoid the need to call pkg-config.
11429 See the pkg-config man page for more details.
11431 { (exit 1); exit 1; }; }
11432 elif test $pkg_failed = untried; then
11433 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11434 is in your PATH or set the PKG_CONFIG environment variable to the full
11435 path to pkg-config.
11437 Alternatively, you may set the environment variables MMLOG_CFLAGS
11438 and MMLOG_LIBS to avoid the need to call pkg-config.
11439 See the pkg-config man page for more details.
11441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11442 See \`config.log' for more details." >&5
11443 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11444 is in your PATH or set the PKG_CONFIG environment variable to the full
11445 path to pkg-config.
11447 Alternatively, you may set the environment variables MMLOG_CFLAGS
11448 and MMLOG_LIBS to avoid the need to call pkg-config.
11449 See the pkg-config man page for more details.
11451 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11452 See \`config.log' for more details." >&2;}
11453 { (exit 1); exit 1; }; }
11455 MMLOG_CFLAGS=$pkg_cv_MMLOG_CFLAGS
11456 MMLOG_LIBS=$pkg_cv_MMLOG_LIBS
11457 { echo "$as_me:$LINENO: result: yes" >&5
11458 echo "${ECHO_T}yes" >&6; }
11466 { echo "$as_me:$LINENO: checking for SYSMAN" >&5
11467 echo $ECHO_N "checking for SYSMAN... $ECHO_C" >&6; }
11469 if test -n "$PKG_CONFIG"; then
11470 if test -n "$SYSMAN_CFLAGS"; then
11471 pkg_cv_SYSMAN_CFLAGS="$SYSMAN_CFLAGS"
11473 if test -n "$PKG_CONFIG" && \
11474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sysman\"") >&5
11475 ($PKG_CONFIG --exists --print-errors "sysman") 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; then
11479 pkg_cv_SYSMAN_CFLAGS=`$PKG_CONFIG --cflags "sysman" 2>/dev/null`
11487 if test -n "$PKG_CONFIG"; then
11488 if test -n "$SYSMAN_LIBS"; then
11489 pkg_cv_SYSMAN_LIBS="$SYSMAN_LIBS"
11491 if test -n "$PKG_CONFIG" && \
11492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sysman\"") >&5
11493 ($PKG_CONFIG --exists --print-errors "sysman") 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; then
11497 pkg_cv_SYSMAN_LIBS=`$PKG_CONFIG --libs "sysman" 2>/dev/null`
11508 if test $pkg_failed = yes; then
11510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11511 _pkg_short_errors_supported=yes
11513 _pkg_short_errors_supported=no
11515 if test $_pkg_short_errors_supported = yes; then
11516 SYSMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sysman"`
11518 SYSMAN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sysman"`
11520 # Put the nasty error message in config.log where it belongs
11521 echo "$SYSMAN_PKG_ERRORS" >&5
11523 { { echo "$as_me:$LINENO: error: Package requirements (sysman) were not met:
11527 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11528 installed software in a non-standard prefix.
11530 Alternatively, you may set the environment variables SYSMAN_CFLAGS
11531 and SYSMAN_LIBS to avoid the need to call pkg-config.
11532 See the pkg-config man page for more details.
11534 echo "$as_me: error: Package requirements (sysman) were not met:
11538 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11539 installed software in a non-standard prefix.
11541 Alternatively, you may set the environment variables SYSMAN_CFLAGS
11542 and SYSMAN_LIBS to avoid the need to call pkg-config.
11543 See the pkg-config man page for more details.
11545 { (exit 1); exit 1; }; }
11546 elif test $pkg_failed = untried; then
11547 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11548 is in your PATH or set the PKG_CONFIG environment variable to the full
11549 path to pkg-config.
11551 Alternatively, you may set the environment variables SYSMAN_CFLAGS
11552 and SYSMAN_LIBS to avoid the need to call pkg-config.
11553 See the pkg-config man page for more details.
11555 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11556 See \`config.log' for more details." >&5
11557 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11558 is in your PATH or set the PKG_CONFIG environment variable to the full
11559 path to pkg-config.
11561 Alternatively, you may set the environment variables SYSMAN_CFLAGS
11562 and SYSMAN_LIBS to avoid the need to call pkg-config.
11563 See the pkg-config man page for more details.
11565 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11566 See \`config.log' for more details." >&2;}
11567 { (exit 1); exit 1; }; }
11569 SYSMAN_CFLAGS=$pkg_cv_SYSMAN_CFLAGS
11570 SYSMAN_LIBS=$pkg_cv_SYSMAN_LIBS
11571 { echo "$as_me:$LINENO: result: yes" >&5
11572 echo "${ECHO_T}yes" >&6; }
11578 # Checks for header files.
11579 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11580 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11581 if test "${ac_cv_header_stdc+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6
11584 cat >conftest.$ac_ext <<_ACEOF
11587 cat confdefs.h >>conftest.$ac_ext
11588 cat >>conftest.$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11590 #include <stdlib.h>
11591 #include <stdarg.h>
11592 #include <string.h>
11603 rm -f conftest.$ac_objext
11604 if { (ac_try="$ac_compile"
11605 case "(($ac_try" in
11606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11607 *) ac_try_echo=$ac_try;;
11609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11610 (eval "$ac_compile") 2>conftest.er1
11612 grep -v '^ *+' conftest.er1 >conftest.err
11614 cat conftest.err >&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } && {
11617 test -z "$ac_c_werror_flag" ||
11618 test ! -s conftest.err
11619 } && test -s conftest.$ac_objext; then
11620 ac_cv_header_stdc=yes
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11625 ac_cv_header_stdc=no
11628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11630 if test $ac_cv_header_stdc = yes; then
11631 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11632 cat >conftest.$ac_ext <<_ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11638 #include <string.h>
11641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11642 $EGREP "memchr" >/dev/null 2>&1; then
11645 ac_cv_header_stdc=no
11651 if test $ac_cv_header_stdc = yes; then
11652 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11653 cat >conftest.$ac_ext <<_ACEOF
11656 cat confdefs.h >>conftest.$ac_ext
11657 cat >>conftest.$ac_ext <<_ACEOF
11658 /* end confdefs.h. */
11659 #include <stdlib.h>
11662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11663 $EGREP "free" >/dev/null 2>&1; then
11666 ac_cv_header_stdc=no
11672 if test $ac_cv_header_stdc = yes; then
11673 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11674 if test "$cross_compiling" = yes; then
11677 cat >conftest.$ac_ext <<_ACEOF
11680 cat confdefs.h >>conftest.$ac_ext
11681 cat >>conftest.$ac_ext <<_ACEOF
11682 /* end confdefs.h. */
11684 #include <stdlib.h>
11685 #if ((' ' & 0x0FF) == 0x020)
11686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11689 # define ISLOWER(c) \
11690 (('a' <= (c) && (c) <= 'i') \
11691 || ('j' <= (c) && (c) <= 'r') \
11692 || ('s' <= (c) && (c) <= 'z'))
11693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11701 for (i = 0; i < 256; i++)
11702 if (XOR (islower (i), ISLOWER (i))
11703 || toupper (i) != TOUPPER (i))
11708 rm -f conftest$ac_exeext
11709 if { (ac_try="$ac_link"
11710 case "(($ac_try" in
11711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11712 *) ac_try_echo=$ac_try;;
11714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11715 (eval "$ac_link") 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11719 { (case "(($ac_try" in
11720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11721 *) ac_try_echo=$ac_try;;
11723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11724 (eval "$ac_try") 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11730 echo "$as_me: program exited with status $ac_status" >&5
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11734 ( exit $ac_status )
11735 ac_cv_header_stdc=no
11737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11743 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11744 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11745 if test $ac_cv_header_stdc = yes; then
11747 cat >>confdefs.h <<\_ACEOF
11748 #define STDC_HEADERS 1
11757 for ac_header in fcntl.h stdlib.h sys/time.h unistd.h
11759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 ac_res=`eval echo '${'$as_ac_Header'}'`
11767 { echo "$as_me:$LINENO: result: $ac_res" >&5
11768 echo "${ECHO_T}$ac_res" >&6; }
11770 # Is the header compilable?
11771 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11773 cat >conftest.$ac_ext <<_ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 $ac_includes_default
11780 #include <$ac_header>
11782 rm -f conftest.$ac_objext
11783 if { (ac_try="$ac_compile"
11784 case "(($ac_try" in
11785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11786 *) ac_try_echo=$ac_try;;
11788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11789 (eval "$ac_compile") 2>conftest.er1
11791 grep -v '^ *+' conftest.er1 >conftest.err
11793 cat conftest.err >&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } && {
11796 test -z "$ac_c_werror_flag" ||
11797 test ! -s conftest.err
11798 } && test -s conftest.$ac_objext; then
11799 ac_header_compiler=yes
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11804 ac_header_compiler=no
11807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11808 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11809 echo "${ECHO_T}$ac_header_compiler" >&6; }
11811 # Is the header present?
11812 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11814 cat >conftest.$ac_ext <<_ACEOF
11817 cat confdefs.h >>conftest.$ac_ext
11818 cat >>conftest.$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 #include <$ac_header>
11822 if { (ac_try="$ac_cpp conftest.$ac_ext"
11823 case "(($ac_try" in
11824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11825 *) ac_try_echo=$ac_try;;
11827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11830 grep -v '^ *+' conftest.er1 >conftest.err
11832 cat conftest.err >&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } >/dev/null && {
11835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11836 test ! -s conftest.err
11838 ac_header_preproc=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.$ac_ext >&5
11843 ac_header_preproc=no
11846 rm -f conftest.err conftest.$ac_ext
11847 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11848 echo "${ECHO_T}$ac_header_preproc" >&6; }
11850 # So? What about this header?
11851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11856 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11857 ac_header_preproc=yes
11860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11864 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11865 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11866 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11867 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11870 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11871 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11873 ## --------------------------------- ##
11874 ## Report this to BUG-REPORT-ADDRESS ##
11875 ## --------------------------------- ##
11877 ) | sed "s/^/$as_me: WARNING: /" >&2
11880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 eval "$as_ac_Header=\$ac_header_preproc"
11887 ac_res=`eval echo '${'$as_ac_Header'}'`
11888 { echo "$as_me:$LINENO: result: $ac_res" >&5
11889 echo "${ECHO_T}$ac_res" >&6; }
11892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11893 cat >>confdefs.h <<_ACEOF
11894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11902 # Checks for typedefs, structures, and compiler characteristics.
11903 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
11904 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
11905 if test "${ac_cv_header_stdbool_h+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 cat >conftest.$ac_ext <<_ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11915 #include <stdbool.h>
11917 "error: bool is not defined"
11920 "error: false is not defined"
11923 "error: false is not 0"
11926 "error: true is not defined"
11929 "error: true is not 1"
11931 #ifndef __bool_true_false_are_defined
11932 "error: __bool_true_false_are_defined is not defined"
11935 struct s { _Bool s: 1; _Bool t; } s;
11937 char a[true == 1 ? 1 : -1];
11938 char b[false == 0 ? 1 : -1];
11939 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
11940 char d[(bool) 0.5 == true ? 1 : -1];
11942 char f[(_Bool) 0.0 == false ? 1 : -1];
11944 char h[sizeof (_Bool)];
11945 char i[sizeof s.t];
11946 enum { j = false, k = true, l = false * true, m = true * 256 };
11948 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
11949 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
11950 # if defined __xlc__ || defined __GNUC__
11951 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
11952 reported by James Lemley on 2005-10-05; see
11953 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
11954 This test is not quite right, since xlc is allowed to
11955 reject this program, as the initializer for xlcbug is
11956 not one of the forms that C requires support for.
11957 However, doing the test right would require a runtime
11958 test, and that would make cross-compilation harder.
11959 Let us hope that IBM fixes the xlc bug, and also adds
11960 support for this kind of constant expression. In the
11961 meantime, this test will reject xlc, which is OK, since
11962 our stdbool.h substitute should suffice. We also test
11963 this with GCC, where it should work, to detect more
11964 quickly whether someone messes up the test in the
11966 char digs[] = "0123456789";
11967 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
11969 /* Catch a bug in an HP-UX C compiler. See
11970 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
11971 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
11982 /* Refer to every declared value, to avoid compiler optimizations. */
11983 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
11984 + !m + !n + !o + !p + !q + !pq);
11990 rm -f conftest.$ac_objext
11991 if { (ac_try="$ac_compile"
11992 case "(($ac_try" in
11993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11994 *) ac_try_echo=$ac_try;;
11996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11997 (eval "$ac_compile") 2>conftest.er1
11999 grep -v '^ *+' conftest.er1 >conftest.err
12001 cat conftest.err >&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } && {
12004 test -z "$ac_c_werror_flag" ||
12005 test ! -s conftest.err
12006 } && test -s conftest.$ac_objext; then
12007 ac_cv_header_stdbool_h=yes
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.$ac_ext >&5
12012 ac_cv_header_stdbool_h=no
12015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12017 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
12018 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
12019 { echo "$as_me:$LINENO: checking for _Bool" >&5
12020 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
12021 if test "${ac_cv_type__Bool+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 cat >conftest.$ac_ext <<_ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12030 $ac_includes_default
12031 typedef _Bool ac__type_new_;
12035 if ((ac__type_new_ *) 0)
12037 if (sizeof (ac__type_new_))
12043 rm -f conftest.$ac_objext
12044 if { (ac_try="$ac_compile"
12045 case "(($ac_try" in
12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12047 *) ac_try_echo=$ac_try;;
12049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12050 (eval "$ac_compile") 2>conftest.er1
12052 grep -v '^ *+' conftest.er1 >conftest.err
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } && {
12057 test -z "$ac_c_werror_flag" ||
12058 test ! -s conftest.err
12059 } && test -s conftest.$ac_objext; then
12060 ac_cv_type__Bool=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_type__Bool=no
12068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12070 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
12071 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
12072 if test $ac_cv_type__Bool = yes; then
12074 cat >>confdefs.h <<_ACEOF
12075 #define HAVE__BOOL 1
12081 if test $ac_cv_header_stdbool_h = yes; then
12083 cat >>confdefs.h <<\_ACEOF
12084 #define HAVE_STDBOOL_H 1
12089 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12090 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
12091 if test "${ac_cv_c_const+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 cat >conftest.$ac_ext <<_ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12104 /* FIXME: Include the comments suggested by Paul. */
12105 #ifndef __cplusplus
12106 /* Ultrix mips cc rejects this. */
12107 typedef int charset[2];
12109 /* SunOS 4.1.1 cc rejects this. */
12110 char const *const *pcpcc;
12112 /* NEC SVR4.0.2 mips cc rejects this. */
12113 struct point {int x, y;};
12114 static struct point const zero = {0,0};
12115 /* AIX XL C 1.02.0.0 rejects this.
12116 It does not let you subtract one const X* pointer from another in
12117 an arm of an if-expression whose if-part is not a constant
12119 const char *g = "string";
12120 pcpcc = &g + (g ? g-g : 0);
12121 /* HPUX 7.0 cc rejects these. */
12123 ppc = (char**) pcpcc;
12124 pcpcc = (char const *const *) ppc;
12125 { /* SCO 3.2v4 cc rejects this. */
12127 char const *s = 0 ? (char *) 0 : (char const *) 0;
12132 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12133 int x[] = {25, 17};
12134 const int *foo = &x[0];
12137 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12138 typedef const int *iptr;
12142 { /* AIX XL C 1.02.0.0 rejects this saying
12143 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12144 struct s { int j; const int *ap[3]; };
12145 struct s *b; b->j = 5;
12147 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12148 const int foo = 10;
12149 if (!foo) return 0;
12151 return !cs[0] && !zero.x;
12158 rm -f conftest.$ac_objext
12159 if { (ac_try="$ac_compile"
12160 case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_compile") 2>conftest.er1
12167 grep -v '^ *+' conftest.er1 >conftest.err
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && {
12172 test -z "$ac_c_werror_flag" ||
12173 test ! -s conftest.err
12174 } && test -s conftest.$ac_objext; then
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.$ac_ext >&5
12183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12186 echo "${ECHO_T}$ac_cv_c_const" >&6; }
12187 if test $ac_cv_c_const = no; then
12189 cat >>confdefs.h <<\_ACEOF
12195 { echo "$as_me:$LINENO: checking for mode_t" >&5
12196 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
12197 if test "${ac_cv_type_mode_t+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 cat >conftest.$ac_ext <<_ACEOF
12203 cat confdefs.h >>conftest.$ac_ext
12204 cat >>conftest.$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12206 $ac_includes_default
12207 typedef mode_t ac__type_new_;
12211 if ((ac__type_new_ *) 0)
12213 if (sizeof (ac__type_new_))
12219 rm -f conftest.$ac_objext
12220 if { (ac_try="$ac_compile"
12221 case "(($ac_try" in
12222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12223 *) ac_try_echo=$ac_try;;
12225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 (eval "$ac_compile") 2>conftest.er1
12228 grep -v '^ *+' conftest.er1 >conftest.err
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); } && {
12233 test -z "$ac_c_werror_flag" ||
12234 test ! -s conftest.err
12235 } && test -s conftest.$ac_objext; then
12236 ac_cv_type_mode_t=yes
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.$ac_ext >&5
12241 ac_cv_type_mode_t=no
12244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12246 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12247 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
12248 if test $ac_cv_type_mode_t = yes; then
12252 cat >>confdefs.h <<_ACEOF
12259 # Checks for library functions.
12261 for ac_header in stdlib.h
12263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12265 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 ac_res=`eval echo '${'$as_ac_Header'}'`
12271 { echo "$as_me:$LINENO: result: $ac_res" >&5
12272 echo "${ECHO_T}$ac_res" >&6; }
12274 # Is the header compilable?
12275 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12276 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12277 cat >conftest.$ac_ext <<_ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12283 $ac_includes_default
12284 #include <$ac_header>
12286 rm -f conftest.$ac_objext
12287 if { (ac_try="$ac_compile"
12288 case "(($ac_try" in
12289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12290 *) ac_try_echo=$ac_try;;
12292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12293 (eval "$ac_compile") 2>conftest.er1
12295 grep -v '^ *+' conftest.er1 >conftest.err
12297 cat conftest.err >&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } && {
12300 test -z "$ac_c_werror_flag" ||
12301 test ! -s conftest.err
12302 } && test -s conftest.$ac_objext; then
12303 ac_header_compiler=yes
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.$ac_ext >&5
12308 ac_header_compiler=no
12311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12312 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12313 echo "${ECHO_T}$ac_header_compiler" >&6; }
12315 # Is the header present?
12316 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12318 cat >conftest.$ac_ext <<_ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324 #include <$ac_header>
12326 if { (ac_try="$ac_cpp conftest.$ac_ext"
12327 case "(($ac_try" in
12328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329 *) ac_try_echo=$ac_try;;
12331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12332 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12334 grep -v '^ *+' conftest.er1 >conftest.err
12336 cat conftest.err >&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } >/dev/null && {
12339 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12340 test ! -s conftest.err
12342 ac_header_preproc=yes
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12347 ac_header_preproc=no
12350 rm -f conftest.err conftest.$ac_ext
12351 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12352 echo "${ECHO_T}$ac_header_preproc" >&6; }
12354 # So? What about this header?
12355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12361 ac_header_preproc=yes
12364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12377 ## --------------------------------- ##
12378 ## Report this to BUG-REPORT-ADDRESS ##
12379 ## --------------------------------- ##
12381 ) | sed "s/^/$as_me: WARNING: /" >&2
12384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 eval "$as_ac_Header=\$ac_header_preproc"
12391 ac_res=`eval echo '${'$as_ac_Header'}'`
12392 { echo "$as_me:$LINENO: result: $ac_res" >&5
12393 echo "${ECHO_T}$ac_res" >&6; }
12396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12397 cat >>confdefs.h <<_ACEOF
12398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12405 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
12406 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
12407 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 if test "$cross_compiling" = yes; then
12411 ac_cv_func_malloc_0_nonnull=no
12413 cat >conftest.$ac_ext <<_ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12420 # include <stdlib.h>
12428 return ! malloc (0);
12433 rm -f conftest$ac_exeext
12434 if { (ac_try="$ac_link"
12435 case "(($ac_try" in
12436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12437 *) ac_try_echo=$ac_try;;
12439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12440 (eval "$ac_link") 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12444 { (case "(($ac_try" in
12445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12446 *) ac_try_echo=$ac_try;;
12448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12449 (eval "$ac_try") 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_func_malloc_0_nonnull=yes
12455 echo "$as_me: program exited with status $ac_status" >&5
12456 echo "$as_me: failed program was:" >&5
12457 sed 's/^/| /' conftest.$ac_ext >&5
12459 ( exit $ac_status )
12460 ac_cv_func_malloc_0_nonnull=no
12462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12467 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
12468 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
12469 if test $ac_cv_func_malloc_0_nonnull = yes; then
12471 cat >>confdefs.h <<\_ACEOF
12472 #define HAVE_MALLOC 1
12476 cat >>confdefs.h <<\_ACEOF
12477 #define HAVE_MALLOC 0
12480 case " $LIBOBJS " in
12481 *" malloc.$ac_objext "* ) ;;
12482 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12487 cat >>confdefs.h <<\_ACEOF
12488 #define malloc rpl_malloc
12496 for ac_func in memset
12498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 cat >conftest.$ac_ext <<_ACEOF
12507 cat confdefs.h >>conftest.$ac_ext
12508 cat >>conftest.$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12512 #define $ac_func innocuous_$ac_func
12514 /* System header to define __stub macros and hopefully few prototypes,
12515 which can conflict with char $ac_func (); below.
12516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12517 <limits.h> exists even on freestanding compilers. */
12520 # include <limits.h>
12522 # include <assert.h>
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12534 /* The GNU C library defines this for functions which it implements
12535 to always fail with ENOSYS. Some functions are actually named
12536 something starting with __ and the normal name is an alias. */
12537 #if defined __stub_$ac_func || defined __stub___$ac_func
12544 return $ac_func ();
12549 rm -f conftest.$ac_objext conftest$ac_exeext
12550 if { (ac_try="$ac_link"
12551 case "(($ac_try" in
12552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12553 *) ac_try_echo=$ac_try;;
12555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12556 (eval "$ac_link") 2>conftest.er1
12558 grep -v '^ *+' conftest.er1 >conftest.err
12560 cat conftest.err >&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } && {
12563 test -z "$ac_c_werror_flag" ||
12564 test ! -s conftest.err
12565 } && test -s conftest$ac_exeext &&
12566 $as_test_x conftest$ac_exeext; then
12567 eval "$as_ac_var=yes"
12569 echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.$ac_ext >&5
12572 eval "$as_ac_var=no"
12575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12576 conftest$ac_exeext conftest.$ac_ext
12578 ac_res=`eval echo '${'$as_ac_var'}'`
12579 { echo "$as_me:$LINENO: result: $ac_res" >&5
12580 echo "${ECHO_T}$ac_res" >&6; }
12581 if test `eval echo '${'$as_ac_var'}'` = yes; then
12582 cat >>confdefs.h <<_ACEOF
12583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12590 ac_config_files="$ac_config_files Makefile audio-session-mgr.pc init/Makefile"
12592 cat >confcache <<\_ACEOF
12593 # This file is a shell script that caches the results of configure
12594 # tests run on this system so they can be shared between configure
12595 # scripts and configure runs, see configure's option --config-cache.
12596 # It is not useful on other systems. If it contains results you don't
12597 # want to keep, you may remove or edit it.
12599 # config.status only pays attention to the cache file if you give it
12600 # the --recheck option to rerun configure.
12602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12604 # following values.
12608 # The following way of writing the cache mishandles newlines in values,
12609 # but we know of no workaround that is simple, portable, and efficient.
12610 # So, we kill variables containing newlines.
12611 # Ultrix sh set writes to stderr and can't be redirected directly,
12612 # and sets the high bit in the cache file unless we assign to the vars.
12614 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12615 eval ac_val=\$$ac_var
12619 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12620 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12623 _ | IFS | as_nl) ;; #(
12624 *) $as_unset $ac_var ;;
12630 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12631 *${as_nl}ac_space=\ *)
12632 # `set' does not quote correctly, so add quotes (double-quote
12633 # substitution turns \\\\ into \\, and sed turns \\ into \).
12636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12639 # `set' quotes correctly as required by POSIX, so do not add quotes.
12640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12649 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12651 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12653 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12654 if test -w "$cache_file"; then
12655 test "x$cache_file" != "x/dev/null" &&
12656 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12657 echo "$as_me: updating cache $cache_file" >&6;}
12658 cat confcache >$cache_file
12660 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12661 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12666 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12667 # Let make expand exec_prefix.
12668 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12670 DEFS=-DHAVE_CONFIG_H
12674 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12675 # 1. Remove the extension, and $U if already installed.
12676 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12677 ac_i=`echo "$ac_i" | sed "$ac_script"`
12678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12679 # will be set to the directory where LIBOBJS objects are built.
12680 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12681 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12683 LIBOBJS=$ac_libobjs
12685 LTLIBOBJS=$ac_ltlibobjs
12688 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12689 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12690 Usually this means the macro was only invoked conditionally." >&5
12691 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12692 Usually this means the macro was only invoked conditionally." >&2;}
12693 { (exit 1); exit 1; }; }
12695 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12696 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12697 Usually this means the macro was only invoked conditionally." >&5
12698 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12699 Usually this means the macro was only invoked conditionally." >&2;}
12700 { (exit 1); exit 1; }; }
12703 : ${CONFIG_STATUS=./config.status}
12704 ac_clean_files_save=$ac_clean_files
12705 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12706 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12707 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12708 cat >$CONFIG_STATUS <<_ACEOF
12710 # Generated by $as_me.
12711 # Run this file to recreate the current configuration.
12712 # Compiler output produced by configure, useful for debugging
12713 # configure, is in config.log if it exists.
12716 ac_cs_recheck=false
12718 SHELL=\${CONFIG_SHELL-$SHELL}
12721 cat >>$CONFIG_STATUS <<\_ACEOF
12722 ## --------------------- ##
12723 ## M4sh Initialization. ##
12724 ## --------------------- ##
12726 # Be more Bourne compatible
12727 DUALCASE=1; export DUALCASE # for MKS sh
12728 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12731 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12732 # is contrary to our usage. Disable this feature.
12733 alias -g '${1+"$@"}'='"$@"'
12734 setopt NO_GLOB_SUBST
12736 case `(set -o) 2>/dev/null` in
12737 *posix*) set -o posix ;;
12746 # Avoid depending upon Character Ranges.
12747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12750 as_cr_digits='0123456789'
12751 as_cr_alnum=$as_cr_Letters$as_cr_digits
12753 # The user is always right.
12754 if test "${PATH_SEPARATOR+set}" != set; then
12755 echo "#! /bin/sh" >conf$$.sh
12756 echo "exit 0" >>conf$$.sh
12758 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12766 # Support unset when possible.
12767 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12775 # We need space, tab and new line, in precisely that order. Quoting is
12776 # there to prevent editors from complaining about space-tab.
12777 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12778 # splitting by setting IFS to empty value.)
12783 # Find who we are. Look in the path if we contain no directory separator.
12785 *[\\/]* ) as_myself=$0 ;;
12786 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $PATH
12790 test -z "$as_dir" && as_dir=.
12791 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12797 # We did not find ourselves, most probably we were run as `sh COMMAND'
12798 # in which case we are not to be found in the path.
12799 if test "x$as_myself" = x; then
12802 if test ! -f "$as_myself"; then
12803 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12804 { (exit 1); exit 1; }
12807 # Work around bugs in pre-3.0 UWIN ksh.
12808 for as_var in ENV MAIL MAILPATH
12809 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12817 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12818 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12819 LC_TELEPHONE LC_TIME
12821 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12822 eval $as_var=C; export $as_var
12824 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12828 # Required to use basename.
12829 if expr a : '\(a\)' >/dev/null 2>&1 &&
12830 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12836 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12837 as_basename=basename
12843 # Name of the executable.
12844 as_me=`$as_basename -- "$0" ||
12845 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12846 X"$0" : 'X\(//\)$' \| \
12847 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12849 sed '/^.*\/\([^/][^/]*\)\/*$/{
12868 as_lineno_1=$LINENO
12869 as_lineno_2=$LINENO
12870 test "x$as_lineno_1" != "x$as_lineno_2" &&
12871 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12873 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12874 # uniformly replaced by the line number. The first 'sed' inserts a
12875 # line-number line after each line using $LINENO; the second 'sed'
12876 # does the real work. The second script uses 'N' to pair each
12877 # line-number line with the line containing $LINENO, and appends
12878 # trailing '-' during substitution so that $LINENO is not a special
12879 # case at line end.
12880 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12881 # scripts with optimization help from Paolo Bonzini. Blame Lee
12882 # E. McMahon (1931-1989) for sed's syntax. :-)
12894 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12897 ' >$as_me.lineno &&
12898 chmod +x "$as_me.lineno" ||
12899 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12900 { (exit 1); exit 1; }; }
12902 # Don't try to exec as it changes $[0], causing all sort of problems
12903 # (the dirname of $[0] is not the place where we might find the
12904 # original and so on. Autoconf is especially sensitive to this).
12905 . "./$as_me.lineno"
12906 # Exit status is that of the last command.
12911 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12917 ECHO_C= ECHO_N= ECHO_T=
12918 case `echo -n x` in
12920 case `echo 'x\c'` in
12921 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12928 if expr a : '\(a\)' >/dev/null 2>&1 &&
12929 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12935 rm -f conf$$ conf$$.exe conf$$.file
12936 if test -d conf$$.dir; then
12937 rm -f conf$$.dir/conf$$.file
12943 if ln -s conf$$.file conf$$ 2>/dev/null; then
12945 # ... but there are two gotchas:
12946 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12947 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12948 # In both cases, we have to default to `cp -p'.
12949 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12951 elif ln conf$$.file conf$$ 2>/dev/null; then
12956 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12957 rmdir conf$$.dir 2>/dev/null
12959 if mkdir -p . 2>/dev/null; then
12962 test -d ./-p && rmdir ./-p
12966 if test -x / >/dev/null 2>&1; then
12967 as_test_x='test -x'
12969 if ls -dL / >/dev/null 2>&1; then
12976 if test -d "$1"; then
12982 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12983 ???[sx]*):;;*)false;;esac;fi
12987 as_executable_p=$as_test_x
12989 # Sed expression to map a string onto a valid CPP name.
12990 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12992 # Sed expression to map a string onto a valid variable name.
12993 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12998 # Save the log message, to keep $[0] and so on meaningful, and to
12999 # report actual input values of CONFIG_FILES etc. instead of their
13000 # values after options handling.
13002 This file was extended by AUDIOSESSIONMGR $as_me 1.0, which was
13003 generated by GNU Autoconf 2.61. Invocation command line was
13005 CONFIG_FILES = $CONFIG_FILES
13006 CONFIG_HEADERS = $CONFIG_HEADERS
13007 CONFIG_LINKS = $CONFIG_LINKS
13008 CONFIG_COMMANDS = $CONFIG_COMMANDS
13011 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13016 cat >>$CONFIG_STATUS <<_ACEOF
13017 # Files that config.status was made for.
13018 config_files="$ac_config_files"
13019 config_headers="$ac_config_headers"
13020 config_commands="$ac_config_commands"
13024 cat >>$CONFIG_STATUS <<\_ACEOF
13026 \`$as_me' instantiates files from templates according to the
13027 current configuration.
13029 Usage: $0 [OPTIONS] [FILE]...
13031 -h, --help print this help, then exit
13032 -V, --version print version number and configuration settings, then exit
13033 -q, --quiet do not print progress messages
13034 -d, --debug don't remove temporary files
13035 --recheck update $as_me by reconfiguring in the same conditions
13036 --file=FILE[:TEMPLATE]
13037 instantiate the configuration file FILE
13038 --header=FILE[:TEMPLATE]
13039 instantiate the configuration header FILE
13041 Configuration files:
13044 Configuration headers:
13047 Configuration commands:
13050 Report bugs to <bug-autoconf@gnu.org>."
13053 cat >>$CONFIG_STATUS <<_ACEOF
13055 AUDIOSESSIONMGR config.status 1.0
13056 configured by $0, generated by GNU Autoconf 2.61,
13057 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13059 Copyright (C) 2006 Free Software Foundation, Inc.
13060 This config.status script is free software; the Free Software Foundation
13061 gives unlimited permission to copy, distribute and modify it."
13069 cat >>$CONFIG_STATUS <<\_ACEOF
13070 # If no file are specified by the user, then we need to provide default
13071 # value. By we need to know if files were specified by the user.
13077 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13078 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13089 # Handling of the options.
13090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13093 echo "$ac_cs_version"; exit ;;
13094 --debug | --debu | --deb | --de | --d | -d )
13096 --file | --fil | --fi | --f )
13098 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13099 ac_need_defaults=false;;
13100 --header | --heade | --head | --hea )
13102 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13103 ac_need_defaults=false;;
13105 # Conflict between --help and --header
13106 { echo "$as_me: error: ambiguous option: $1
13107 Try \`$0 --help' for more information." >&2
13108 { (exit 1); exit 1; }; };;
13109 --help | --hel | -h )
13110 echo "$ac_cs_usage"; exit ;;
13111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13115 # This is an error.
13116 -*) { echo "$as_me: error: unrecognized option: $1
13117 Try \`$0 --help' for more information." >&2
13118 { (exit 1); exit 1; }; } ;;
13120 *) ac_config_targets="$ac_config_targets $1"
13121 ac_need_defaults=false ;;
13127 ac_configure_extra_args=
13129 if $ac_cs_silent; then
13131 ac_configure_extra_args="$ac_configure_extra_args --silent"
13135 cat >>$CONFIG_STATUS <<_ACEOF
13136 if \$ac_cs_recheck; then
13137 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13138 CONFIG_SHELL=$SHELL
13139 export CONFIG_SHELL
13140 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13144 cat >>$CONFIG_STATUS <<\_ACEOF
13148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13149 ## Running $as_me. ##
13155 cat >>$CONFIG_STATUS <<_ACEOF
13159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13162 # The HP-UX ksh and POSIX shell print the target directory to stdout
13163 # if CDPATH is set.
13164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13166 sed_quote_subst='$sed_quote_subst'
13167 double_quote_subst='$double_quote_subst'
13168 delay_variable_subst='$delay_variable_subst'
13169 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13170 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13171 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13172 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13173 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13174 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13175 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13176 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13177 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13178 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13179 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13180 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13181 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13182 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13183 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13184 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13185 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13186 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13187 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13188 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13189 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13190 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13191 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13192 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13193 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13194 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13195 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13196 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13197 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13198 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13199 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13200 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13201 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13202 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13203 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13205 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13206 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13207 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13208 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13209 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13210 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13211 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13212 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"`'
13213 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"`'
13214 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13215 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13216 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13217 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13218 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13219 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13220 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13221 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13222 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13223 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13224 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13225 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13226 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13227 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13228 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13229 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13230 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13231 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13232 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13233 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13234 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13235 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13236 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13237 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13238 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13239 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13240 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13241 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13242 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13243 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13244 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13245 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13246 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13247 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13248 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13249 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13250 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13251 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13252 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13253 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13254 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13255 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13256 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13257 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13258 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13259 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13260 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13261 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13262 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13263 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13264 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13265 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13266 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13267 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13268 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13269 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13270 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13271 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13272 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13273 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13274 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13275 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13276 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13277 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13278 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13279 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13280 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13281 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13282 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13283 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13284 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13285 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13288 LTCFLAGS='$LTCFLAGS'
13289 compiler='$compiler_DEFAULT'
13291 # Quote evaled strings.
13302 deplibs_check_method \
13311 lt_cv_sys_global_symbol_pipe \
13312 lt_cv_sys_global_symbol_to_cdecl \
13313 lt_cv_sys_global_symbol_to_c_name_address \
13314 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13317 lt_prog_compiler_no_builtin_flag \
13318 lt_prog_compiler_wl \
13319 lt_prog_compiler_pic \
13320 lt_prog_compiler_static \
13321 lt_cv_prog_compiler_c_o \
13329 export_dynamic_flag_spec \
13330 whole_archive_flag_spec \
13331 compiler_needs_object \
13333 allow_undefined_flag \
13334 no_undefined_flag \
13335 hardcode_libdir_flag_spec \
13336 hardcode_libdir_flag_spec_ld \
13337 hardcode_libdir_separator \
13342 variables_saved_for_relink \
13344 library_names_spec \
13349 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13350 *[\\\\\\\`\\"\\\$]*)
13351 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13354 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13359 # Double-quote double-evaled strings.
13360 for var in reload_cmds \
13361 old_postinstall_cmds \
13362 old_postuninstall_cmds \
13364 extract_expsyms_cmds \
13365 old_archive_from_new_cmds \
13366 old_archive_from_expsyms_cmds \
13368 archive_expsym_cmds \
13370 module_expsym_cmds \
13371 export_symbols_cmds \
13374 postuninstall_cmds \
13376 sys_lib_search_path_spec \
13377 sys_lib_dlsearch_path_spec; do
13378 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13379 *[\\\\\\\`\\"\\\$]*)
13380 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13383 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13388 # Fix-up fallback echo if it was mangled by the above quoting rules.
13390 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13394 ac_aux_dir='$ac_aux_dir'
13395 xsi_shell='$xsi_shell'
13396 lt_shell_append='$lt_shell_append'
13398 # See if we are running on zsh, and set the options which allow our
13399 # commands through without removal of \ escapes INIT.
13400 if test -n "\${ZSH_VERSION+set}" ; then
13401 setopt NO_GLOB_SUBST
13407 TIMESTAMP='$TIMESTAMP'
13416 cat >>$CONFIG_STATUS <<\_ACEOF
13418 # Handling of arguments.
13419 for ac_config_target in $ac_config_targets
13421 case $ac_config_target in
13422 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13423 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13424 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13425 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13426 "audio-session-mgr.pc") CONFIG_FILES="$CONFIG_FILES audio-session-mgr.pc" ;;
13427 "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
13429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13431 { (exit 1); exit 1; }; };;
13436 # If the user did not use the arguments to specify the items to instantiate,
13437 # then the envvar interface is used. Set only those that are not.
13438 # We use the long form for the default assignment because of an extremely
13439 # bizarre bug on SunOS 4.1.3.
13440 if $ac_need_defaults; then
13441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13446 # Have a temporary directory for convenience. Make it in the build tree
13447 # simply because there is no reason against having it here, and in addition,
13448 # creating and moving files from /tmp can sometimes cause problems.
13449 # Hook for its removal unless debugging.
13450 # Note that there is a small window in which the directory will not be cleaned:
13451 # after its creation but before its name has been assigned to `$tmp'.
13455 trap 'exit_status=$?
13456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13458 trap '{ (exit 1); exit 1; }' 1 2 13 15
13460 # Create a (secure) tmp directory for tmp files.
13463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13464 test -n "$tmp" && test -d "$tmp"
13467 tmp=./conf$$-$RANDOM
13468 (umask 077 && mkdir "$tmp")
13471 echo "$me: cannot create a temporary directory in ." >&2
13472 { (exit 1); exit 1; }
13476 # Set up the sed scripts for CONFIG_FILES section.
13479 # No need to generate the scripts if there are no CONFIG_FILES.
13480 # This happens for instance when ./config.status config.h
13481 if test -n "$CONFIG_FILES"; then
13488 for ac_last_try in false false false false false :; do
13489 cat >conf$$subs.sed <<_ACEOF
13490 SHELL!$SHELL$ac_delim
13491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13497 exec_prefix!$exec_prefix$ac_delim
13498 prefix!$prefix$ac_delim
13499 program_transform_name!$program_transform_name$ac_delim
13500 bindir!$bindir$ac_delim
13501 sbindir!$sbindir$ac_delim
13502 libexecdir!$libexecdir$ac_delim
13503 datarootdir!$datarootdir$ac_delim
13504 datadir!$datadir$ac_delim
13505 sysconfdir!$sysconfdir$ac_delim
13506 sharedstatedir!$sharedstatedir$ac_delim
13507 localstatedir!$localstatedir$ac_delim
13508 includedir!$includedir$ac_delim
13509 oldincludedir!$oldincludedir$ac_delim
13510 docdir!$docdir$ac_delim
13511 infodir!$infodir$ac_delim
13512 htmldir!$htmldir$ac_delim
13513 dvidir!$dvidir$ac_delim
13514 pdfdir!$pdfdir$ac_delim
13515 psdir!$psdir$ac_delim
13516 libdir!$libdir$ac_delim
13517 localedir!$localedir$ac_delim
13518 mandir!$mandir$ac_delim
13519 DEFS!$DEFS$ac_delim
13520 ECHO_C!$ECHO_C$ac_delim
13521 ECHO_N!$ECHO_N$ac_delim
13522 ECHO_T!$ECHO_T$ac_delim
13523 LIBS!$LIBS$ac_delim
13524 build_alias!$build_alias$ac_delim
13525 host_alias!$host_alias$ac_delim
13526 target_alias!$target_alias$ac_delim
13527 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13528 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13529 INSTALL_DATA!$INSTALL_DATA$ac_delim
13530 am__isrc!$am__isrc$ac_delim
13531 CYGPATH_W!$CYGPATH_W$ac_delim
13532 PACKAGE!$PACKAGE$ac_delim
13533 VERSION!$VERSION$ac_delim
13534 ACLOCAL!$ACLOCAL$ac_delim
13535 AUTOCONF!$AUTOCONF$ac_delim
13536 AUTOMAKE!$AUTOMAKE$ac_delim
13537 AUTOHEADER!$AUTOHEADER$ac_delim
13538 MAKEINFO!$MAKEINFO$ac_delim
13539 install_sh!$install_sh$ac_delim
13540 STRIP!$STRIP$ac_delim
13541 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13542 mkdir_p!$mkdir_p$ac_delim
13544 SET_MAKE!$SET_MAKE$ac_delim
13545 am__leading_dot!$am__leading_dot$ac_delim
13546 AMTAR!$AMTAR$ac_delim
13547 am__tar!$am__tar$ac_delim
13548 am__untar!$am__untar$ac_delim
13550 CFLAGS!$CFLAGS$ac_delim
13551 LDFLAGS!$LDFLAGS$ac_delim
13552 CPPFLAGS!$CPPFLAGS$ac_delim
13553 ac_ct_CC!$ac_ct_CC$ac_delim
13554 EXEEXT!$EXEEXT$ac_delim
13555 OBJEXT!$OBJEXT$ac_delim
13556 DEPDIR!$DEPDIR$ac_delim
13557 am__include!$am__include$ac_delim
13558 am__quote!$am__quote$ac_delim
13559 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13560 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13561 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13562 CCDEPMODE!$CCDEPMODE$ac_delim
13563 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13564 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13565 LIBTOOL!$LIBTOOL$ac_delim
13566 build!$build$ac_delim
13567 build_cpu!$build_cpu$ac_delim
13568 build_vendor!$build_vendor$ac_delim
13569 build_os!$build_os$ac_delim
13570 host!$host$ac_delim
13571 host_cpu!$host_cpu$ac_delim
13572 host_vendor!$host_vendor$ac_delim
13573 host_os!$host_os$ac_delim
13575 GREP!$GREP$ac_delim
13576 EGREP!$EGREP$ac_delim
13577 FGREP!$FGREP$ac_delim
13579 DUMPBIN!$DUMPBIN$ac_delim
13580 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13582 LN_S!$LN_S$ac_delim
13584 RANLIB!$RANLIB$ac_delim
13585 lt_ECHO!$lt_ECHO$ac_delim
13586 DSYMUTIL!$DSYMUTIL$ac_delim
13589 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13591 elif $ac_last_try; then
13592 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13593 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13594 { (exit 1); exit 1; }; }
13596 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13600 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13601 if test -n "$ac_eof"; then
13602 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13603 ac_eof=`expr $ac_eof + 1`
13606 cat >>$CONFIG_STATUS <<_ACEOF
13607 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13611 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13612 s/^/s,@/; s/!/@,|#_!!_#|/
13615 s/'"$ac_delim"'$/,g/; t
13617 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13618 ' >>$CONFIG_STATUS <conf$$subs.sed
13619 rm -f conf$$subs.sed
13620 cat >>$CONFIG_STATUS <<_ACEOF
13626 for ac_last_try in false false false false false :; do
13627 cat >conf$$subs.sed <<_ACEOF
13628 NMEDIT!$NMEDIT$ac_delim
13629 LIPO!$LIPO$ac_delim
13630 OTOOL!$OTOOL$ac_delim
13631 OTOOL64!$OTOOL64$ac_delim
13633 PKG_CONFIG!$PKG_CONFIG$ac_delim
13634 AUDIOSESSIONMGR_CFLAGS!$AUDIOSESSIONMGR_CFLAGS$ac_delim
13635 AUDIOSESSIONMGR_LIBS!$AUDIOSESSIONMGR_LIBS$ac_delim
13636 MMLOG_CFLAGS!$MMLOG_CFLAGS$ac_delim
13637 MMLOG_LIBS!$MMLOG_LIBS$ac_delim
13638 SYSMAN_CFLAGS!$SYSMAN_CFLAGS$ac_delim
13639 SYSMAN_LIBS!$SYSMAN_LIBS$ac_delim
13640 LIBOBJS!$LIBOBJS$ac_delim
13641 LTLIBOBJS!$LTLIBOBJS$ac_delim
13644 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
13646 elif $ac_last_try; then
13647 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13648 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13649 { (exit 1); exit 1; }; }
13651 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13655 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13656 if test -n "$ac_eof"; then
13657 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13658 ac_eof=`expr $ac_eof + 1`
13661 cat >>$CONFIG_STATUS <<_ACEOF
13662 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13666 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13667 s/^/s,@/; s/!/@,|#_!!_#|/
13670 s/'"$ac_delim"'$/,g/; t
13672 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13673 ' >>$CONFIG_STATUS <conf$$subs.sed
13674 rm -f conf$$subs.sed
13675 cat >>$CONFIG_STATUS <<_ACEOF
13682 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13683 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13684 # trailing colons and then remove the whole line if VPATH becomes empty
13685 # (actually we leave an empty line to preserve line numbers).
13686 if test "x$srcdir" = x.; then
13687 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13688 s/:*\$(srcdir):*/:/
13689 s/:*\${srcdir}:*/:/
13691 s/^\([^=]*=[ ]*\):*/\1/
13697 cat >>$CONFIG_STATUS <<\_ACEOF
13698 fi # test -n "$CONFIG_FILES"
13701 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13704 :[FHLC]) ac_mode=$ac_tag; continue;;
13706 case $ac_mode$ac_tag in
13708 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13709 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13710 { (exit 1); exit 1; }; };;
13711 :[FH]-) ac_tag=-:-;;
13712 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13729 -) ac_f="$tmp/stdin";;
13730 *) # Look for the file first in the build tree, then in the source tree
13731 # (if the path is not absolute). The absolute path cannot be DOS-style,
13732 # because $ac_f cannot contain `:'.
13736 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13738 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13739 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13740 { (exit 1); exit 1; }; };;
13742 ac_file_inputs="$ac_file_inputs $ac_f"
13745 # Let's still pretend it is `configure' which instantiates (i.e., don't
13746 # use $as_me), people would be surprised to read:
13747 # /* config.h. Generated by config.status. */
13748 configure_input="Generated from "`IFS=:
13749 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13750 if test x"$ac_file" != x-; then
13751 configure_input="$ac_file. $configure_input"
13752 { echo "$as_me:$LINENO: creating $ac_file" >&5
13753 echo "$as_me: creating $ac_file" >&6;}
13757 *:-:* | *:-) cat >"$tmp/stdin";;
13762 ac_dir=`$as_dirname -- "$ac_file" ||
13763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13764 X"$ac_file" : 'X\(//\)[^/]' \| \
13765 X"$ac_file" : 'X\(//\)$' \| \
13766 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13772 /^X\(\/\/\)[^/].*/{
13787 -*) as_dir=./$as_dir;;
13789 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13793 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13794 *) as_qdir=$as_dir;;
13796 as_dirs="'$as_qdir' $as_dirs"
13797 as_dir=`$as_dirname -- "$as_dir" ||
13798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13799 X"$as_dir" : 'X\(//\)[^/]' \| \
13800 X"$as_dir" : 'X\(//\)$' \| \
13801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13807 /^X\(\/\/\)[^/].*/{
13820 test -d "$as_dir" && break
13822 test -z "$as_dirs" || eval "mkdir $as_dirs"
13823 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13824 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13825 { (exit 1); exit 1; }; }; }
13829 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13831 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13832 # A ".." for each directory in $ac_dir_suffix.
13833 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13834 case $ac_top_builddir_sub in
13835 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13836 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13839 ac_abs_top_builddir=$ac_pwd
13840 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13841 # for backward compatibility:
13842 ac_top_builddir=$ac_top_build_prefix
13845 .) # We are building in place.
13847 ac_top_srcdir=$ac_top_builddir_sub
13848 ac_abs_top_srcdir=$ac_pwd ;;
13849 [\\/]* | ?:[\\/]* ) # Absolute name.
13850 ac_srcdir=$srcdir$ac_dir_suffix;
13851 ac_top_srcdir=$srcdir
13852 ac_abs_top_srcdir=$srcdir ;;
13853 *) # Relative name.
13854 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13855 ac_top_srcdir=$ac_top_build_prefix$srcdir
13856 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13858 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13868 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13869 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13871 ac_MKDIR_P=$MKDIR_P
13873 [\\/$]* | ?:[\\/]* ) ;;
13874 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13878 cat >>$CONFIG_STATUS <<\_ACEOF
13879 # If the template does not know about datarootdir, expand it.
13880 # FIXME: This hack should be removed a few years after 2.60.
13881 ac_datarootdir_hack=; ac_datarootdir_seen=
13883 case `sed -n '/datarootdir/ {
13892 ' $ac_file_inputs` in
13893 *datarootdir*) ac_datarootdir_seen=yes;;
13894 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13895 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13896 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13898 cat >>$CONFIG_STATUS <<_ACEOF
13899 ac_datarootdir_hack='
13900 s&@datadir@&$datadir&g
13901 s&@docdir@&$docdir&g
13902 s&@infodir@&$infodir&g
13903 s&@localedir@&$localedir&g
13904 s&@mandir@&$mandir&g
13905 s&\\\${datarootdir}&$datarootdir&g' ;;
13909 # Neutralize VPATH when `$srcdir' = `.'.
13910 # Shell code in configure.ac might set extrasub.
13911 # FIXME: do we really want to maintain this feature?
13912 cat >>$CONFIG_STATUS <<_ACEOF
13916 cat >>$CONFIG_STATUS <<\_ACEOF
13918 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13919 s&@configure_input@&$configure_input&;t t
13920 s&@top_builddir@&$ac_top_builddir_sub&;t t
13921 s&@srcdir@&$ac_srcdir&;t t
13922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13923 s&@top_srcdir@&$ac_top_srcdir&;t t
13924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13925 s&@builddir@&$ac_builddir&;t t
13926 s&@abs_builddir@&$ac_abs_builddir&;t t
13927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13928 s&@INSTALL@&$ac_INSTALL&;t t
13929 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13930 $ac_datarootdir_hack
13931 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
13933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13934 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13935 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13936 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13937 which seems to be undefined. Please make sure it is defined." >&5
13938 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13939 which seems to be undefined. Please make sure it is defined." >&2;}
13943 -) cat "$tmp/out"; rm -f "$tmp/out";;
13944 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13953 # Transform confdefs.h into a sed script `conftest.defines', that
13954 # substitutes the proper values into config.h.in to produce config.h.
13955 rm -f conftest.defines conftest.tail
13956 # First, append a space to every undef/define line, to ease matching.
13957 echo 's/$/ /' >conftest.defines
13958 # Then, protect against being on the right side of a sed subst, or in
13959 # an unquoted here document, in config.status. If some macros were
13960 # called several times there might be several #defines for the same
13961 # symbol, which is useless. But do not sort them, since the last
13962 # AC_DEFINE must be honored.
13963 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13964 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13965 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13966 # PARAMS is the parameter list in the macro definition--in most cases, it's
13967 # just an empty string.
13968 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13969 ac_dB='\\)[ (].*,\\1define\\2'
13977 s/^[ ]*#[ ]*define[ ][ ]*//
13982 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13983 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13984 ' >>conftest.defines
13986 # Remove the space that was appended to ease matching.
13987 # Then replace #undef with comments. This is necessary, for
13988 # example, in the case of _POSIX_SOURCE, which is predefined and required
13989 # on some systems where configure will not decide to define it.
13990 # (The regexp can be short, since the line contains either #define or #undef.)
13992 s,^[ #]*u.*,/* & */,' >>conftest.defines
13994 # Break up conftest.defines:
13995 ac_max_sed_lines=50
13997 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13998 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13999 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14001 ac_in='$ac_file_inputs'
14002 ac_out='"$tmp/out1"'
14003 ac_nxt='"$tmp/out2"'
14007 # Write a here document:
14008 cat >>$CONFIG_STATUS <<_ACEOF
14009 # First, check the format of the line:
14010 cat >"\$tmp/defines.sed" <<\\CEOF
14011 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14012 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14016 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14018 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14019 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14020 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14021 grep . conftest.tail >/dev/null || break
14022 rm -f conftest.defines
14023 mv conftest.tail conftest.defines
14025 rm -f conftest.defines conftest.tail
14027 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14028 cat >>$CONFIG_STATUS <<\_ACEOF
14029 if test x"$ac_file" != x-; then
14030 echo "/* $configure_input */" >"$tmp/config.h"
14031 cat "$ac_result" >>"$tmp/config.h"
14032 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14033 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14034 echo "$as_me: $ac_file is unchanged" >&6;}
14037 mv "$tmp/config.h" $ac_file
14040 echo "/* $configure_input */"
14044 # Compute $ac_file's index in $config_headers.
14047 for _am_header in $config_headers :; do
14048 case $_am_header in
14049 $_am_arg | $_am_arg:* )
14052 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14055 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14056 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14057 X"$_am_arg" : 'X\(//\)[^/]' \| \
14058 X"$_am_arg" : 'X\(//\)$' \| \
14059 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14065 /^X\(\/\/\)[^/].*/{
14077 s/.*/./; q'`/stamp-h$_am_stamp_count
14080 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14081 echo "$as_me: executing $ac_file commands" >&6;}
14086 case $ac_file$ac_mode in
14087 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14088 # are listed without --file. Let's play safe and only enable the eval
14089 # if we detect the quoting.
14090 case $CONFIG_FILES in
14091 *\'*) eval set x "$CONFIG_FILES" ;;
14092 *) set x $CONFIG_FILES ;;
14097 # Strip MF so we end up with the name of the file.
14098 mf=`echo "$mf" | sed -e 's/:.*$//'`
14099 # Check whether this is an Automake generated Makefile or not.
14100 # We used to match only the files named `Makefile.in', but
14101 # some people rename them; so instead we look at the file content.
14102 # Grep'ing the first line is not enough: some people post-process
14103 # each Makefile.in and add a new line on top of each file to say so.
14104 # Grep'ing the whole file is not good either: AIX grep has a line
14105 # limit of 2048, but all sed's we know have understand at least 4000.
14106 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14107 dirpart=`$as_dirname -- "$mf" ||
14108 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14109 X"$mf" : 'X\(//\)[^/]' \| \
14110 X"$mf" : 'X\(//\)$' \| \
14111 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14117 /^X\(\/\/\)[^/].*/{
14133 # Extract the definition of DEPDIR, am__include, and am__quote
14134 # from the Makefile without running `make'.
14135 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14136 test -z "$DEPDIR" && continue
14137 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14138 test -z "am__include" && continue
14139 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14140 # When using ansi2knr, U may be empty or an underscore; expand it
14141 U=`sed -n 's/^U = //p' < "$mf"`
14142 # Find all dependency output files, they are included files with
14143 # $(DEPDIR) in their names. We invoke sed twice because it is the
14144 # simplest approach to changing $(DEPDIR) to its actual value in the
14146 for file in `sed -n "
14147 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14148 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14149 # Make sure the directory exists.
14150 test -f "$dirpart/$file" && continue
14151 fdir=`$as_dirname -- "$file" ||
14152 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14153 X"$file" : 'X\(//\)[^/]' \| \
14154 X"$file" : 'X\(//\)$' \| \
14155 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14161 /^X\(\/\/\)[^/].*/{
14174 { as_dir=$dirpart/$fdir
14176 -*) as_dir=./$as_dir;;
14178 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14182 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14183 *) as_qdir=$as_dir;;
14185 as_dirs="'$as_qdir' $as_dirs"
14186 as_dir=`$as_dirname -- "$as_dir" ||
14187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14188 X"$as_dir" : 'X\(//\)[^/]' \| \
14189 X"$as_dir" : 'X\(//\)$' \| \
14190 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14196 /^X\(\/\/\)[^/].*/{
14209 test -d "$as_dir" && break
14211 test -z "$as_dirs" || eval "mkdir $as_dirs"
14212 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14213 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14214 { (exit 1); exit 1; }; }; }
14215 # echo "creating $dirpart/$file"
14216 echo '# dummy' > "$dirpart/$file"
14222 # See if we are running on zsh, and set the options which allow our
14223 # commands through without removal of \ escapes.
14224 if test -n "${ZSH_VERSION+set}" ; then
14225 setopt NO_GLOB_SUBST
14228 cfgfile="${ofile}T"
14229 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14232 cat <<_LT_EOF >> "$cfgfile"
14235 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14236 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14237 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14238 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14240 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14241 # 2006, 2007, 2008 Free Software Foundation, Inc.
14242 # Written by Gordon Matzigkeit, 1996
14244 # This file is part of GNU Libtool.
14246 # GNU Libtool is free software; you can redistribute it and/or
14247 # modify it under the terms of the GNU General Public License as
14248 # published by the Free Software Foundation; either version 2 of
14249 # the License, or (at your option) any later version.
14251 # As a special exception to the GNU General Public License,
14252 # if you distribute this file as part of a program or library that
14253 # is built using GNU Libtool, you may include this file under the
14254 # same distribution terms that you use for the rest of that program.
14256 # GNU Libtool is distributed in the hope that it will be useful,
14257 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14258 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14259 # GNU General Public License for more details.
14261 # You should have received a copy of the GNU General Public License
14262 # along with GNU Libtool; see the file COPYING. If not, a copy
14263 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14264 # obtained by writing to the Free Software Foundation, Inc.,
14265 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14268 # The names of the tagged configurations supported by this script.
14271 # ### BEGIN LIBTOOL CONFIG
14273 # Which release of libtool.m4 was used?
14274 macro_version=$macro_version
14275 macro_revision=$macro_revision
14277 # Whether or not to build shared libraries.
14278 build_libtool_libs=$enable_shared
14280 # Whether or not to build static libraries.
14281 build_old_libs=$enable_static
14283 # What type of objects to build.
14286 # Whether or not to optimize for fast installation.
14287 fast_install=$enable_fast_install
14290 host_alias=$host_alias
14294 # The build system.
14295 build_alias=$build_alias
14299 # A sed program that does not truncate output.
14302 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14303 Xsed="\$SED -e 1s/^X//"
14305 # A grep program that handles long lines.
14311 # A literal string matcher.
14314 # A BSD- or MS-compatible name lister.
14317 # Whether we need soft or hard links.
14320 # What is the maximum length of a command?
14321 max_cmd_len=$max_cmd_len
14323 # Object file suffix (normally "o").
14326 # Executable file suffix (normally "").
14329 # whether the shell understands "unset".
14332 # turn spaces into newlines.
14335 # turn newlines into spaces.
14338 # How to create reloadable object files.
14339 reload_flag=$lt_reload_flag
14340 reload_cmds=$lt_reload_cmds
14342 # Method to check whether dependent libraries are shared objects.
14343 deplibs_check_method=$lt_deplibs_check_method
14345 # Command to use when deplibs_check_method == "file_magic".
14346 file_magic_cmd=$lt_file_magic_cmd
14350 AR_FLAGS=$lt_AR_FLAGS
14352 # A symbol stripping program.
14355 # Commands used to install an old-style archive.
14357 old_postinstall_cmds=$lt_old_postinstall_cmds
14358 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14363 # LTCC compiler flags.
14364 LTCFLAGS=$lt_CFLAGS
14366 # Take the output of nm and produce a listing of raw symbols and C names.
14367 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14369 # Transform the output of nm in a proper C declaration.
14370 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14372 # Transform the output of nm in a C name address pair.
14373 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14375 # Transform the output of nm in a C name address pair when lib prefix is needed.
14376 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14378 # The name of the directory that contains temporary libtool files.
14381 # Shell to use when invoking shell scripts.
14384 # An echo program that does not interpret backslashes.
14387 # Used to examine libraries when file_magic_cmd begins with "file".
14388 MAGIC_CMD=$MAGIC_CMD
14390 # Must we lock files when doing compilation?
14391 need_locks=$lt_need_locks
14393 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14394 DSYMUTIL=$lt_DSYMUTIL
14396 # Tool to change global to local symbols on Mac OS X.
14399 # Tool to manipulate fat objects and archives on Mac OS X.
14402 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14405 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14406 OTOOL64=$lt_OTOOL64
14408 # Old archive suffix (normally "a").
14411 # Shared library suffix (normally ".so").
14412 shrext_cmds=$lt_shrext_cmds
14414 # The commands to extract the exported symbol list from a shared archive.
14415 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14417 # Variables whose values should be saved in libtool wrapper scripts and
14418 # restored at link time.
14419 variables_saved_for_relink=$lt_variables_saved_for_relink
14421 # Do we need the "lib" prefix for modules?
14422 need_lib_prefix=$need_lib_prefix
14424 # Do we need a version for libraries?
14425 need_version=$need_version
14427 # Library versioning type.
14428 version_type=$version_type
14430 # Shared library runtime path variable.
14431 runpath_var=$runpath_var
14433 # Shared library path variable.
14434 shlibpath_var=$shlibpath_var
14436 # Is shlibpath searched before the hard-coded library search path?
14437 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14439 # Format of library name prefix.
14440 libname_spec=$lt_libname_spec
14442 # List of archive names. First name is the real one, the rest are links.
14443 # The last name is the one that the linker finds with -lNAME
14444 library_names_spec=$lt_library_names_spec
14446 # The coded name of the library, if different from the real name.
14447 soname_spec=$lt_soname_spec
14449 # Command to use after installation of a shared archive.
14450 postinstall_cmds=$lt_postinstall_cmds
14452 # Command to use after uninstallation of a shared archive.
14453 postuninstall_cmds=$lt_postuninstall_cmds
14455 # Commands used to finish a libtool library installation in a directory.
14456 finish_cmds=$lt_finish_cmds
14458 # As "finish_cmds", except a single script fragment to be evaled but
14460 finish_eval=$lt_finish_eval
14462 # Whether we should hardcode library paths into libraries.
14463 hardcode_into_libs=$hardcode_into_libs
14465 # Compile-time system search path for libraries.
14466 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14468 # Run-time system search path for libraries.
14469 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14471 # Whether dlopen is supported.
14472 dlopen_support=$enable_dlopen
14474 # Whether dlopen of programs is supported.
14475 dlopen_self=$enable_dlopen_self
14477 # Whether dlopen of statically linked programs is supported.
14478 dlopen_self_static=$enable_dlopen_self_static
14480 # Commands to strip libraries.
14481 old_striplib=$lt_old_striplib
14482 striplib=$lt_striplib
14485 # The linker used to build libraries.
14488 # Commands used to build an old-style archive.
14489 old_archive_cmds=$lt_old_archive_cmds
14491 # A language specific compiler.
14494 # Is the compiler the GNU compiler?
14497 # Compiler flag to turn off builtin functions.
14498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14500 # How to pass a linker flag through the compiler.
14501 wl=$lt_lt_prog_compiler_wl
14503 # Additional compiler flags for building library objects.
14504 pic_flag=$lt_lt_prog_compiler_pic
14506 # Compiler flag to prevent dynamic linking.
14507 link_static_flag=$lt_lt_prog_compiler_static
14509 # Does compiler simultaneously support -c and -o options?
14510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14512 # Whether or not to add -lc for building shared libraries.
14513 build_libtool_need_lc=$archive_cmds_need_lc
14515 # Whether or not to disallow shared libs when runtime libs are static.
14516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14518 # Compiler flag to allow reflexive dlopens.
14519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14521 # Compiler flag to generate shared objects directly from archives.
14522 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14524 # Whether the compiler copes with passing no objects directly.
14525 compiler_needs_object=$lt_compiler_needs_object
14527 # Create an old-style archive from a shared archive.
14528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14530 # Create a temporary old-style archive to link instead of a shared archive.
14531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14533 # Commands used to build a shared archive.
14534 archive_cmds=$lt_archive_cmds
14535 archive_expsym_cmds=$lt_archive_expsym_cmds
14537 # Commands used to build a loadable module if different from building
14538 # a shared archive.
14539 module_cmds=$lt_module_cmds
14540 module_expsym_cmds=$lt_module_expsym_cmds
14542 # Whether we are building with GNU ld or not.
14543 with_gnu_ld=$lt_with_gnu_ld
14545 # Flag that allows shared libraries with undefined symbols to be built.
14546 allow_undefined_flag=$lt_allow_undefined_flag
14548 # Flag that enforces no undefined symbols.
14549 no_undefined_flag=$lt_no_undefined_flag
14551 # Flag to hardcode \$libdir into a binary during linking.
14552 # This must work even if \$libdir does not exist
14553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14555 # If ld is used when linking, flag to hardcode \$libdir into a binary
14556 # during linking. This must work even if \$libdir does not exist.
14557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14559 # Whether we need a single "-rpath" flag with a separated argument.
14560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14563 # DIR into the resulting binary.
14564 hardcode_direct=$hardcode_direct
14566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14567 # DIR into the resulting binary and the resulting library dependency is
14568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14569 # library is relocated.
14570 hardcode_direct_absolute=$hardcode_direct_absolute
14572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14573 # into the resulting binary.
14574 hardcode_minus_L=$hardcode_minus_L
14576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14577 # into the resulting binary.
14578 hardcode_shlibpath_var=$hardcode_shlibpath_var
14580 # Set to "yes" if building a shared library automatically hardcodes DIR
14581 # into the library and all subsequent libraries and executables linked
14583 hardcode_automatic=$hardcode_automatic
14585 # Set to yes if linker adds runtime paths of dependent libraries
14586 # to runtime path list.
14587 inherit_rpath=$inherit_rpath
14589 # Whether libtool must link a program against all its dependency libraries.
14590 link_all_deplibs=$link_all_deplibs
14592 # Fix the shell variable \$srcfile for the compiler.
14593 fix_srcfile_path=$lt_fix_srcfile_path
14595 # Set to "yes" if exported symbols are required.
14596 always_export_symbols=$always_export_symbols
14598 # The commands to list exported symbols.
14599 export_symbols_cmds=$lt_export_symbols_cmds
14601 # Symbols that should not be listed in the preloaded symbols.
14602 exclude_expsyms=$lt_exclude_expsyms
14604 # Symbols that must always be exported.
14605 include_expsyms=$lt_include_expsyms
14607 # Commands necessary for linking programs (against libraries) with templates.
14608 prelink_cmds=$lt_prelink_cmds
14610 # Specify filename containing input files.
14611 file_list_spec=$lt_file_list_spec
14613 # How to hardcode a shared library path into an executable.
14614 hardcode_action=$hardcode_action
14616 # ### END LIBTOOL CONFIG
14622 cat <<\_LT_EOF >> "$cfgfile"
14623 # AIX sometimes has problems with the GCC collect2 program. For some
14624 # reason, if we set the COLLECT_NAMES environment variable, the problems
14625 # vanish in a puff of smoke.
14626 if test "X${COLLECT_NAMES+set}" != Xset; then
14628 export COLLECT_NAMES
14635 ltmain="$ac_aux_dir/ltmain.sh"
14638 # We use sed instead of cat because bash on DJGPP gets confused if
14639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14640 # text mode, it properly converts lines to CR/LF. This bash problem
14641 # is reportedly fixed, but why not run on old versions too?
14642 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14643 || (rm -f "$cfgfile"; exit 1)
14647 cat << \_LT_EOF >> "$cfgfile"
14649 # func_dirname file append nondir_replacement
14650 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14651 # otherwise set result to NONDIR_REPLACEMENT.
14655 */*) func_dirname_result="${1%/*}${2}" ;;
14656 * ) func_dirname_result="${3}" ;;
14660 # func_basename file
14663 func_basename_result="${1##*/}"
14666 # func_dirname_and_basename file append nondir_replacement
14667 # perform func_basename and func_dirname in a single function
14669 # dirname: Compute the dirname of FILE. If nonempty,
14670 # add APPEND to the result, otherwise set result
14671 # to NONDIR_REPLACEMENT.
14672 # value returned in "$func_dirname_result"
14673 # basename: Compute filename of FILE.
14674 # value retuned in "$func_basename_result"
14675 # Implementation must be kept synchronized with func_dirname
14676 # and func_basename. For efficiency, we do not delegate to
14677 # those functions but instead duplicate the functionality here.
14678 func_dirname_and_basename ()
14681 */*) func_dirname_result="${1%/*}${2}" ;;
14682 * ) func_dirname_result="${3}" ;;
14684 func_basename_result="${1##*/}"
14687 # func_stripname prefix suffix name
14688 # strip PREFIX and SUFFIX off of NAME.
14689 # PREFIX and SUFFIX must not contain globbing or regex special
14690 # characters, hashes, percent signs, but SUFFIX may contain a leading
14691 # dot (in which case that matches only a dot).
14694 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14695 # positional parameters, so assign one to ordinary parameter first.
14696 func_stripname_result=${3}
14697 func_stripname_result=${func_stripname_result#"${1}"}
14698 func_stripname_result=${func_stripname_result%"${2}"}
14704 func_opt_split_opt=${1%%=*}
14705 func_opt_split_arg=${1#*=}
14712 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14713 *) func_lo2o_result=${1} ;;
14717 # func_xform libobj-or-source
14720 func_xform_result=${1%.*}.lo
14723 # func_arith arithmetic-term...
14726 func_arith_result=$(( $* ))
14730 # STRING may not start with a hyphen.
14733 func_len_result=${#1}
14738 *) # Bourne compatible functions.
14739 cat << \_LT_EOF >> "$cfgfile"
14741 # func_dirname file append nondir_replacement
14742 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14743 # otherwise set result to NONDIR_REPLACEMENT.
14746 # Extract subdirectory from the argument.
14747 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14748 if test "X$func_dirname_result" = "X${1}"; then
14749 func_dirname_result="${3}"
14751 func_dirname_result="$func_dirname_result${2}"
14755 # func_basename file
14758 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14762 # func_stripname prefix suffix name
14763 # strip PREFIX and SUFFIX off of NAME.
14764 # PREFIX and SUFFIX must not contain globbing or regex special
14765 # characters, hashes, percent signs, but SUFFIX may contain a leading
14766 # dot (in which case that matches only a dot).
14767 # func_strip_suffix prefix name
14771 .*) func_stripname_result=`$ECHO "X${3}" \
14772 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14773 *) func_stripname_result=`$ECHO "X${3}" \
14774 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14779 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14780 my_sed_long_arg='1s/^-[^=]*=//'
14785 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14786 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14792 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14795 # func_xform libobj-or-source
14798 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14801 # func_arith arithmetic-term...
14804 func_arith_result=`expr "$@"`
14808 # STRING may not start with a hyphen.
14811 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14817 case $lt_shell_append in
14819 cat << \_LT_EOF >> "$cfgfile"
14821 # func_append var value
14822 # Append VALUE to the end of shell variable VAR.
14830 cat << \_LT_EOF >> "$cfgfile"
14832 # func_append var value
14833 # Append VALUE to the end of shell variable VAR.
14844 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14845 || (rm -f "$cfgfile"; exit 1)
14847 mv -f "$cfgfile" "$ofile" ||
14848 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14857 { (exit 0); exit 0; }
14859 chmod +x $CONFIG_STATUS
14860 ac_clean_files=$ac_clean_files_save
14863 # configure is writing to config.log, and then calls config.status.
14864 # config.status does its own redirection, appending to config.log.
14865 # Unfortunately, on DOS this fails, as config.log is still kept open
14866 # by configure, so config.status won't be able to write to it; its
14867 # output is simply discarded. So we exec the FD to /dev/null,
14868 # effectively closing config.log, so it can be properly (re)opened and
14869 # appended to by config.status. When coming back to configure, we
14870 # need to make the FD available again.
14871 if test "$no_create" != yes; then
14873 ac_config_status_args=
14874 test "$silent" = yes &&
14875 ac_config_status_args="$ac_config_status_args --quiet"
14877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14880 # would make configure fail if this is the last instruction.
14881 $ac_cs_success || { (exit 1); exit 1; }