2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for MMSESSION 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='MMSESSION'
725 PACKAGE_TARNAME='mmsession'
726 PACKAGE_VERSION='1.0'
727 PACKAGE_STRING='MMSESSION 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
876 ac_precious_vars='build_alias
886 AUDIOSESSIONMGR_CFLAGS
892 # Initialize some variables set by options.
894 ac_init_version=false
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name=s,x,x,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir='${exec_prefix}/bin'
919 sbindir='${exec_prefix}/sbin'
920 libexecdir='${exec_prefix}/libexec'
921 datarootdir='${prefix}/share'
922 datadir='${datarootdir}'
923 sysconfdir='${prefix}/etc'
924 sharedstatedir='${prefix}/com'
925 localstatedir='${prefix}/var'
926 includedir='${prefix}/include'
927 oldincludedir='/usr/include'
928 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir='${datarootdir}/info'
934 libdir='${exec_prefix}/lib'
935 localedir='${datarootdir}/locale'
936 mandir='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\$ac_option
950 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir | --bindir | --bindi | --bind | --bin | --bi)
962 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 -build | --build | --buil | --bui | --bu)
966 ac_prev=build_alias ;;
967 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
968 build_alias=$ac_optarg ;;
970 -cache-file | --cache-file | --cache-fil | --cache-fi \
971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
972 ac_prev=cache_file ;;
973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
975 cache_file=$ac_optarg ;;
978 cache_file=config.cache ;;
980 -datadir | --datadir | --datadi | --datad)
982 -datadir=* | --datadir=* | --datadi=* | --datad=*)
983 datadir=$ac_optarg ;;
985 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
986 | --dataroo | --dataro | --datar)
987 ac_prev=datarootdir ;;
988 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
989 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
990 datarootdir=$ac_optarg ;;
992 -disable-* | --disable-*)
993 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
996 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
997 { (exit 1); exit 1; }; }
998 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
999 eval enable_$ac_feature=no ;;
1001 -docdir | --docdir | --docdi | --doc | --do)
1003 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1004 docdir=$ac_optarg ;;
1006 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1008 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1009 dvidir=$ac_optarg ;;
1011 -enable-* | --enable-*)
1012 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1015 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1018 eval enable_$ac_feature=\$ac_optarg ;;
1020 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1021 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1022 | --exec | --exe | --ex)
1023 ac_prev=exec_prefix ;;
1024 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1025 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1026 | --exec=* | --exe=* | --ex=*)
1027 exec_prefix=$ac_optarg ;;
1029 -gas | --gas | --ga | --g)
1030 # Obsolete; use --with-gas.
1033 -help | --help | --hel | --he | -h)
1034 ac_init_help=long ;;
1035 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1036 ac_init_help=recursive ;;
1037 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1038 ac_init_help=short ;;
1040 -host | --host | --hos | --ho)
1041 ac_prev=host_alias ;;
1042 -host=* | --host=* | --hos=* | --ho=*)
1043 host_alias=$ac_optarg ;;
1045 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1047 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1049 htmldir=$ac_optarg ;;
1051 -includedir | --includedir | --includedi | --included | --include \
1052 | --includ | --inclu | --incl | --inc)
1053 ac_prev=includedir ;;
1054 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1055 | --includ=* | --inclu=* | --incl=* | --inc=*)
1056 includedir=$ac_optarg ;;
1058 -infodir | --infodir | --infodi | --infod | --info | --inf)
1060 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1061 infodir=$ac_optarg ;;
1063 -libdir | --libdir | --libdi | --libd)
1065 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1066 libdir=$ac_optarg ;;
1068 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1069 | --libexe | --libex | --libe)
1070 ac_prev=libexecdir ;;
1071 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1072 | --libexe=* | --libex=* | --libe=*)
1073 libexecdir=$ac_optarg ;;
1075 -localedir | --localedir | --localedi | --localed | --locale)
1076 ac_prev=localedir ;;
1077 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1078 localedir=$ac_optarg ;;
1080 -localstatedir | --localstatedir | --localstatedi | --localstated \
1081 | --localstate | --localstat | --localsta | --localst | --locals)
1082 ac_prev=localstatedir ;;
1083 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1084 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1085 localstatedir=$ac_optarg ;;
1087 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1089 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1090 mandir=$ac_optarg ;;
1092 -nfp | --nfp | --nf)
1093 # Obsolete; use --without-fp.
1096 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1097 | --no-cr | --no-c | -n)
1100 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1101 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1104 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1105 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1106 | --oldin | --oldi | --old | --ol | --o)
1107 ac_prev=oldincludedir ;;
1108 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1109 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1110 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1111 oldincludedir=$ac_optarg ;;
1113 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1115 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1116 prefix=$ac_optarg ;;
1118 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1119 | --program-pre | --program-pr | --program-p)
1120 ac_prev=program_prefix ;;
1121 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1122 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1123 program_prefix=$ac_optarg ;;
1125 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1126 | --program-suf | --program-su | --program-s)
1127 ac_prev=program_suffix ;;
1128 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1129 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1130 program_suffix=$ac_optarg ;;
1132 -program-transform-name | --program-transform-name \
1133 | --program-transform-nam | --program-transform-na \
1134 | --program-transform-n | --program-transform- \
1135 | --program-transform | --program-transfor \
1136 | --program-transfo | --program-transf \
1137 | --program-trans | --program-tran \
1138 | --progr-tra | --program-tr | --program-t)
1139 ac_prev=program_transform_name ;;
1140 -program-transform-name=* | --program-transform-name=* \
1141 | --program-transform-nam=* | --program-transform-na=* \
1142 | --program-transform-n=* | --program-transform-=* \
1143 | --program-transform=* | --program-transfor=* \
1144 | --program-transfo=* | --program-transf=* \
1145 | --program-trans=* | --program-tran=* \
1146 | --progr-tra=* | --program-tr=* | --program-t=*)
1147 program_transform_name=$ac_optarg ;;
1149 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1151 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1152 pdfdir=$ac_optarg ;;
1154 -psdir | --psdir | --psdi | --psd | --ps)
1156 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1160 | -silent | --silent | --silen | --sile | --sil)
1163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1165 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1167 sbindir=$ac_optarg ;;
1169 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1170 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1171 | --sharedst | --shareds | --shared | --share | --shar \
1173 ac_prev=sharedstatedir ;;
1174 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1175 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1176 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1178 sharedstatedir=$ac_optarg ;;
1180 -site | --site | --sit)
1182 -site=* | --site=* | --sit=*)
1185 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1187 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1188 srcdir=$ac_optarg ;;
1190 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1191 | --syscon | --sysco | --sysc | --sys | --sy)
1192 ac_prev=sysconfdir ;;
1193 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1194 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1195 sysconfdir=$ac_optarg ;;
1197 -target | --target | --targe | --targ | --tar | --ta | --t)
1198 ac_prev=target_alias ;;
1199 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1200 target_alias=$ac_optarg ;;
1202 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1205 -version | --version | --versio | --versi | --vers | -V)
1206 ac_init_version=: ;;
1209 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1212 { echo "$as_me: error: invalid package name: $ac_package" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1215 eval with_$ac_package=\$ac_optarg ;;
1217 -without-* | --without-*)
1218 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1219 # Reject names that are not valid shell variable names.
1220 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221 { echo "$as_me: error: invalid package name: $ac_package" >&2
1222 { (exit 1); exit 1; }; }
1223 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1224 eval with_$ac_package=no ;;
1227 # Obsolete; use --with-x.
1230 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1231 | --x-incl | --x-inc | --x-in | --x-i)
1232 ac_prev=x_includes ;;
1233 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1234 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1235 x_includes=$ac_optarg ;;
1237 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1238 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1239 ac_prev=x_libraries ;;
1240 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1241 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1242 x_libraries=$ac_optarg ;;
1244 -*) { echo "$as_me: error: unrecognized option: $ac_option
1245 Try \`$0 --help' for more information." >&2
1246 { (exit 1); exit 1; }; }
1250 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1253 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1254 { (exit 1); exit 1; }; }
1255 eval $ac_envvar=\$ac_optarg
1256 export $ac_envvar ;;
1259 # FIXME: should be removed in autoconf 3.0.
1260 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1262 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1269 if test -n "$ac_prev"; then
1270 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1271 { echo "$as_me: error: missing argument to $ac_option" >&2
1272 { (exit 1); exit 1; }; }
1275 # Be sure to have absolute directory names.
1276 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir
1281 eval ac_val=\$$ac_var
1283 [\\/$]* | ?:[\\/]* ) continue;;
1284 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1287 { (exit 1); exit 1; }; }
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299 if test "x$build_alias" = x; then
1300 cross_compiling=maybe
1301 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1302 If a cross compiler is detected then cross compile mode will be used." >&2
1303 elif test "x$build_alias" != "x$host_alias"; then
1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1311 test "$silent" = yes && exec 6>/dev/null
1314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1315 ac_ls_di=`ls -di .` &&
1316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1317 { echo "$as_me: error: Working directory cannot be determined" >&2
1318 { (exit 1); exit 1; }; }
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 { echo "$as_me: error: pwd does not report name of working directory" >&2
1321 { (exit 1); exit 1; }; }
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir=`$as_dirname -- "$0" ||
1329 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$0" : 'X\(//\)[^/]' \| \
1331 X"$0" : 'X\(//\)$' \| \
1332 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1360 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1361 { (exit 1); exit 1; }; }
1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1366 { (exit 1); exit 1; }; }
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 for ac_var in $ac_precious_vars; do
1379 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_${ac_var}_value=\$${ac_var}
1381 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures MMSESSION 1.0 to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/mmsession]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1455 --build=BUILD configure for building on BUILD [guessed]
1456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1460 if test -n "$ac_init_help"; then
1461 case $ac_init_help in
1462 short | recursive ) echo "Configuration of MMSESSION 1.0:";;
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --enable-platform-debug use platform debug default=no
1470 --enable-platform-intercall
1471 use platform intercall default=yes
1472 --disable-dependency-tracking speeds up one-time build
1473 --enable-dependency-tracking do not reject slow dependency extractors
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-xo apply xo configuration [default=yes]
1484 --with-pic try to use only PIC/non-PIC objects [default=use
1486 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1488 Some influential environment variables:
1489 CC C compiler command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492 nonstandard directory <lib dir>
1493 LIBS libraries to pass to the linker, e.g. -l<library>
1494 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1495 you have headers in a nonstandard directory <include dir>
1497 PKG_CONFIG path to pkg-config utility
1498 AUDIOSESSIONMGR_CFLAGS
1499 C compiler flags for AUDIOSESSIONMGR, overriding pkg-config
1500 AUDIOSESSIONMGR_LIBS
1501 linker flags for AUDIOSESSIONMGR, overriding pkg-config
1503 C compiler flags for MMCOMMON, overriding pkg-config
1505 linker flags for MMCOMMON, overriding pkg-config
1507 Use these variables to override the choices made by `configure' or to help
1508 it to find libraries and programs with nonstandard names/locations.
1510 Report bugs to <BUG-REPORT-ADDRESS>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" || continue
1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1525 # A ".." for each directory in $ac_dir_suffix.
1526 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1527 case $ac_top_builddir_sub in
1528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532 ac_abs_top_builddir=$ac_pwd
1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1534 # for backward compatibility:
1535 ac_top_builddir=$ac_top_build_prefix
1538 .) # We are building in place.
1540 ac_top_srcdir=$ac_top_builddir_sub
1541 ac_abs_top_srcdir=$ac_pwd ;;
1542 [\\/]* | ?:[\\/]* ) # Absolute name.
1543 ac_srcdir=$srcdir$ac_dir_suffix;
1544 ac_top_srcdir=$srcdir
1545 ac_abs_top_srcdir=$srcdir ;;
1547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548 ac_top_srcdir=$ac_top_build_prefix$srcdir
1549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1553 cd "$ac_dir" || { ac_status=$?; continue; }
1554 # Check for guested configure.
1555 if test -f "$ac_srcdir/configure.gnu"; then
1557 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558 elif test -f "$ac_srcdir/configure"; then
1560 $SHELL "$ac_srcdir/configure" --help=recursive
1562 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1564 cd "$ac_pwd" || { ac_status=$?; break; }
1568 test -n "$ac_init_help" && exit $ac_status
1569 if $ac_init_version; then
1571 MMSESSION configure 1.0
1572 generated by GNU Autoconf 2.61
1574 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1575 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1576 This configure script is free software; the Free Software Foundation
1577 gives unlimited permission to copy, distribute and modify it.
1581 cat >config.log <<_ACEOF
1582 This file contains any messages produced by compilers while
1583 running configure, to aid debugging if configure makes a mistake.
1585 It was created by MMSESSION $as_me 1.0, which was
1586 generated by GNU Autoconf 2.61. Invocation command line was
1598 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1599 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1600 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1601 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1602 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1604 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1605 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1607 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1608 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1609 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1610 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1611 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1612 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1613 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir=.
1622 echo "PATH: $as_dir"
1638 # Keep a trace of the command line.
1639 # Strip out --no-create and --no-recursion so they do not pile up.
1640 # Strip out --silent because we don't want to record it for future runs.
1641 # Also quote any args containing shell meta-characters.
1642 # Make two passes to allow for proper duplicate-argument suppression.
1646 ac_must_keep_next=false
1652 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1654 | -silent | --silent | --silen | --sile | --sil)
1657 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1660 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1662 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1663 if test $ac_must_keep_next = true; then
1664 ac_must_keep_next=false # Got value, back to normal.
1667 *=* | --config-cache | -C | -disable-* | --disable-* \
1668 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1669 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1670 | -with-* | --with-* | -without-* | --without-* | --x)
1671 case "$ac_configure_args0 " in
1672 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1675 -* ) ac_must_keep_next=true ;;
1678 ac_configure_args="$ac_configure_args '$ac_arg'"
1683 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1684 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1686 # When interrupted or exit'd, cleanup temporary files, and complete
1687 # config.log. We remove comments because anyway the quotes in there
1688 # would cause problems or look ugly.
1689 # WARNING: Use '\'' to represent an apostrophe within the trap.
1690 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1691 trap 'exit_status=$?
1692 # Save into config.log some information that might help in debugging.
1697 ## ---------------- ##
1698 ## Cache variables. ##
1699 ## ---------------- ##
1702 # The following way of writing the cache mishandles newlines in values,
1704 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1705 eval ac_val=\$$ac_var
1709 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1710 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1713 _ | IFS | as_nl) ;; #(
1714 *) $as_unset $ac_var ;;
1719 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1720 *${as_nl}ac_space=\ *)
1722 "s/'\''/'\''\\\\'\'''\''/g;
1723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1734 ## ----------------- ##
1735 ## Output variables. ##
1736 ## ----------------- ##
1739 for ac_var in $ac_subst_vars
1741 eval ac_val=\$$ac_var
1743 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1745 echo "$ac_var='\''$ac_val'\''"
1749 if test -n "$ac_subst_files"; then
1751 ## ------------------- ##
1752 ## File substitutions. ##
1753 ## ------------------- ##
1756 for ac_var in $ac_subst_files
1758 eval ac_val=\$$ac_var
1760 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1762 echo "$ac_var='\''$ac_val'\''"
1767 if test -s confdefs.h; then
1777 test "$ac_signal" != 0 &&
1778 echo "$as_me: caught signal $ac_signal"
1779 echo "$as_me: exit $exit_status"
1781 rm -f core *.core core.conftest.* &&
1782 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1785 for ac_signal in 1 2 13 15; do
1786 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1790 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1791 rm -f -r conftest* confdefs.h
1793 # Predefined preprocessor variables.
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_NAME "$PACKAGE_NAME"
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_STRING "$PACKAGE_STRING"
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1820 # Let the site file select an alternate cache file if it wants to.
1821 # Prefer explicitly selected file to automatically selected ones.
1822 if test -n "$CONFIG_SITE"; then
1823 set x "$CONFIG_SITE"
1824 elif test "x$prefix" != xNONE; then
1825 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1827 set x "$ac_default_prefix/share/config.site" \
1828 "$ac_default_prefix/etc/config.site"
1833 if test -r "$ac_site_file"; then
1834 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1835 echo "$as_me: loading site script $ac_site_file" >&6;}
1836 sed 's/^/| /' "$ac_site_file" >&5
1841 if test -r "$cache_file"; then
1842 # Some versions of bash will fail to source /dev/null (special
1843 # files actually), so we avoid doing that.
1844 if test -f "$cache_file"; then
1845 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1846 echo "$as_me: loading cache $cache_file" >&6;}
1848 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1849 *) . "./$cache_file";;
1853 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1854 echo "$as_me: creating cache $cache_file" >&6;}
1858 # Check that the precious variables saved in the cache have kept the same
1860 ac_cache_corrupted=false
1861 for ac_var in $ac_precious_vars; do
1862 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1863 eval ac_new_set=\$ac_env_${ac_var}_set
1864 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1865 eval ac_new_val=\$ac_env_${ac_var}_value
1866 case $ac_old_set,$ac_new_set in
1868 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1869 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1870 ac_cache_corrupted=: ;;
1872 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1873 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1877 if test "x$ac_old_val" != "x$ac_new_val"; then
1878 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1879 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1880 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1881 echo "$as_me: former value: $ac_old_val" >&2;}
1882 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1883 echo "$as_me: current value: $ac_new_val" >&2;}
1884 ac_cache_corrupted=:
1887 # Pass precious variables to config.status.
1888 if test "$ac_new_set" = set; then
1890 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1891 *) ac_arg=$ac_var=$ac_new_val ;;
1893 case " $ac_configure_args " in
1894 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1895 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1899 if $ac_cache_corrupted; then
1900 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1902 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1904 { (exit 1); exit 1; }; }
1932 ac_cpp='$CPP $CPPFLAGS'
1933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 ac_config_headers="$ac_config_headers config.h"
1941 am__api_version='1.10'
1944 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1945 if test -f "$ac_dir/install-sh"; then
1947 ac_install_sh="$ac_aux_dir/install-sh -c"
1949 elif test -f "$ac_dir/install.sh"; then
1951 ac_install_sh="$ac_aux_dir/install.sh -c"
1953 elif test -f "$ac_dir/shtool"; then
1955 ac_install_sh="$ac_aux_dir/shtool install -c"
1959 if test -z "$ac_aux_dir"; then
1960 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1961 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # These three variables are undocumented and unsupported,
1966 # and are intended to be withdrawn in a future Autoconf release.
1967 # They can cause serious problems if a builder's source tree is in a directory
1968 # whose full name contains unusual characters.
1969 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1970 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1971 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1974 # Find a good install program. We prefer a C program (faster),
1975 # so one script is as good as another. But avoid the broken or
1976 # incompatible versions:
1977 # SysV /etc/install, /usr/sbin/install
1978 # SunOS /usr/etc/install
1979 # IRIX /sbin/install
1981 # AmigaOS /C/install, which installs bootblocks on floppy discs
1982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1985 # OS/2's system install, which has a completely different semantic
1986 # ./install, which can be erroneously created by make from ./install.sh.
1987 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1988 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1989 if test -z "$INSTALL"; then
1990 if test "${ac_cv_path_install+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 # Account for people who put trailing slashes in PATH elements.
2000 ./ | .// | /cC/* | \
2001 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2002 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2005 # OSF1 and SCO ODT 3.0 have their own names for install.
2006 # Don't use installbsd from OSF since it installs stuff as root
2008 for ac_prog in ginstall scoinst install; do
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2011 if test $ac_prog = install &&
2012 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2013 # AIX install. It has an incompatible calling convention.
2015 elif test $ac_prog = install &&
2016 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2017 # program-specific install script used by HP pwplus--don't use.
2020 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2033 if test "${ac_cv_path_install+set}" = set; then
2034 INSTALL=$ac_cv_path_install
2036 # As a last resort, use the slow shell script. Don't cache a
2037 # value for INSTALL within a source directory, because that will
2038 # break other packages using the cache if that directory is
2039 # removed, or if the value is a relative name.
2040 INSTALL=$ac_install_sh
2043 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2044 echo "${ECHO_T}$INSTALL" >&6; }
2046 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2047 # It thinks the first close brace ends the variable substitution.
2048 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2050 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2052 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2054 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2055 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2058 echo timestamp > conftest.file
2059 # Do `set' in a subshell so we don't clobber the current shell's
2060 # arguments. Must try -L first in case configure is actually a
2061 # symlink; some systems play weird games with the mod time of symlinks
2062 # (eg FreeBSD returns the mod time of the symlink's containing
2065 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2066 if test "$*" = "X"; then
2068 set X `ls -t $srcdir/configure conftest.file`
2071 if test "$*" != "X $srcdir/configure conftest.file" \
2072 && test "$*" != "X conftest.file $srcdir/configure"; then
2074 # If neither matched, then we have a broken ls. This can happen
2075 # if, for instance, CONFIG_SHELL is bash and it inherits a
2076 # broken ls alias from the environment. This has actually
2077 # happened. Such a system could not be considered "sane".
2078 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&5
2080 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" >&2;}
2082 { (exit 1); exit 1; }; }
2085 test "$2" = conftest.file
2091 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2092 Check your system clock" >&5
2093 echo "$as_me: error: newly created file is older than distributed files!
2094 Check your system clock" >&2;}
2095 { (exit 1); exit 1; }; }
2097 { echo "$as_me:$LINENO: result: yes" >&5
2098 echo "${ECHO_T}yes" >&6; }
2099 test "$program_prefix" != NONE &&
2100 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2101 # Use a double $ so make ignores it.
2102 test "$program_suffix" != NONE &&
2103 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2104 # Double any \ or $. echo might interpret backslashes.
2105 # By default was `s,x,x', remove it if useless.
2106 cat <<\_ACEOF >conftest.sed
2107 s/[\\$]/&&/g;s/;s,x,x,$//
2109 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2112 # expand $ac_aux_dir to an absolute path
2113 am_aux_dir=`cd $ac_aux_dir && pwd`
2115 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2116 # Use eval to expand $SHELL
2117 if eval "$MISSING --run true"; then
2118 am_missing_run="$MISSING --run "
2121 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2122 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2125 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2126 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2127 if test -z "$MKDIR_P"; then
2128 if test "${ac_cv_path_mkdir+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2135 test -z "$as_dir" && as_dir=.
2136 for ac_prog in mkdir gmkdir; do
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2139 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2140 'mkdir (GNU coreutils) '* | \
2141 'mkdir (coreutils) '* | \
2142 'mkdir (fileutils) '4.1*)
2143 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2153 if test "${ac_cv_path_mkdir+set}" = set; then
2154 MKDIR_P="$ac_cv_path_mkdir -p"
2156 # As a last resort, use the slow shell script. Don't cache a
2157 # value for MKDIR_P within a source directory, because that will
2158 # break other packages using the cache if that directory is
2159 # removed, or if the value is a relative name.
2160 test -d ./--version && rmdir ./--version
2161 MKDIR_P="$ac_install_sh -d"
2164 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2165 echo "${ECHO_T}$MKDIR_P" >&6; }
2169 [\\/$]* | ?:[\\/]*) ;;
2170 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2173 for ac_prog in gawk mawk nawk awk
2175 # Extract the first word of "$ac_prog", so it can be a program name with args.
2176 set dummy $ac_prog; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_AWK+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$AWK"; then
2183 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_AWK="$ac_prog"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$AWK"; then
2204 { echo "$as_me:$LINENO: result: $AWK" >&5
2205 echo "${ECHO_T}$AWK" >&6; }
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2212 test -n "$AWK" && break
2215 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2216 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2217 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2218 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.make <<\_ACEOF
2224 @echo '@@@%%%=$(MAKE)=@@@%%%'
2226 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2227 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2229 eval ac_cv_prog_make_${ac_make}_set=yes;;
2231 eval ac_cv_prog_make_${ac_make}_set=no;;
2235 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2236 { echo "$as_me:$LINENO: result: yes" >&5
2237 echo "${ECHO_T}yes" >&6; }
2240 { echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6; }
2242 SET_MAKE="MAKE=${MAKE-make}"
2245 rm -rf .tst 2>/dev/null
2246 mkdir .tst 2>/dev/null
2247 if test -d .tst; then
2252 rmdir .tst 2>/dev/null
2254 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2255 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2256 # is not polluted with repeated "-I."
2257 am__isrc=' -I$(srcdir)'
2258 # test to see if srcdir already configured
2259 if test -f $srcdir/config.status; then
2260 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2261 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2262 { (exit 1); exit 1; }; }
2266 # test whether we have cygpath
2267 if test -z "$CYGPATH_W"; then
2268 if (cygpath --version) >/dev/null 2>/dev/null; then
2269 CYGPATH_W='cygpath -w'
2276 # Define the identity of the package.
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE "$PACKAGE"
2286 cat >>confdefs.h <<_ACEOF
2287 #define VERSION "$VERSION"
2290 # Some tools Automake needs.
2292 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2295 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2298 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2301 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2304 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2306 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2308 # Installed binaries are usually stripped using `strip' when the user
2309 # run `make install-strip'. However `strip' might not be the right
2310 # tool to use in cross-compilation environments, therefore Automake
2311 # will honor the `STRIP' environment variable to overrule this program.
2312 if test "$cross_compiling" != no; then
2313 if test -n "$ac_tool_prefix"; then
2314 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2315 set dummy ${ac_tool_prefix}strip; ac_word=$2
2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318 if test "${ac_cv_prog_STRIP+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$STRIP"; then
2322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 STRIP=$ac_cv_prog_STRIP
2342 if test -n "$STRIP"; then
2343 { echo "$as_me:$LINENO: result: $STRIP" >&5
2344 echo "${ECHO_T}$STRIP" >&6; }
2346 { echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6; }
2352 if test -z "$ac_cv_prog_STRIP"; then
2354 # Extract the first word of "strip", so it can be a program name with args.
2355 set dummy strip; ac_word=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_STRIP"; then
2362 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_ac_ct_STRIP="strip"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2382 if test -n "$ac_ct_STRIP"; then
2383 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2384 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2390 if test "x$ac_ct_STRIP" = x; then
2393 case $cross_compiling:$ac_tool_warned in
2395 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&5
2398 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2399 whose name does not start with the host triplet. If you think this
2400 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2401 ac_tool_warned=yes ;;
2406 STRIP="$ac_cv_prog_STRIP"
2410 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2412 # We need awk for the "check" target. The system "awk" is bad on
2414 # Always define AMTAR for backward compatibility.
2416 AMTAR=${AMTAR-"${am_missing_run}tar"}
2418 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2427 # Check whether --with-xo was given.
2428 if test "${with_xo+set}" = set; then
2429 withval=$with_xo; test "$withval" = yes || with_xo=no
2435 if test "$with_xo" = yes; then
2436 if test "x$MODEL" != "x" ; then
2438 cat >>confdefs.h <<_ACEOF
2439 #define PLATFORM_MODEL_NAME "$MODEL"
2443 echo "model_name not specified"
2446 if test "x$WINSYS" = "xtinyx"; then
2448 cat >>confdefs.h <<\_ACEOF
2449 #define PLATFORM_WINSYS "X"
2454 cat >>confdefs.h <<\_ACEOF
2455 #define PLATFORM_WINSYS "DFB"
2460 if test "x$LCDTYPE" = "xWVGA" ; then
2462 cat >>confdefs.h <<\_ACEOF
2463 #define PLATFORM_LCDTYPE "WVGA"
2467 cat >>confdefs.h <<\_ACEOF
2468 #define PLATFORM_LCD_WIDTH 800
2472 cat >>confdefs.h <<\_ACEOF
2473 #define PLATFORM_LCD_HEIGHT 480
2476 elif test "x$LCDTYPE" = "xWQVGA" ; then
2478 cat >>confdefs.h <<\_ACEOF
2479 #define PLATFORM_LCDEYPE "WQVGA"
2483 cat >>confdefs.h <<\_ACEOF
2484 #define PLATFORM_LCD_WIDTH 400
2488 cat >>confdefs.h <<\_ACEOF
2489 #define PLATFORM_LCD_HEIGHT 240
2492 elif test "x$LCDTYPE" = "xSQVGA" ; then
2494 cat >>confdefs.h <<\_ACEOF
2495 #define PLATFORM_LCDTYPE "SQVGA"
2499 cat >>confdefs.h <<\_ACEOF
2500 #define PLATFORM_LCD_WIDTH 320
2504 cat >>confdefs.h <<\_ACEOF
2505 #define PLATFORM_LCD_HEIGHT 320
2508 elif test "x$LCDTYPE" = "xQVGA" ; then
2510 cat >>confdefs.h <<\_ACEOF
2511 #define PLATFORM_LCDTYPE "QVGA"
2515 cat >>confdefs.h <<\_ACEOF
2516 #define PLATFORM_LCD_WIDTH 240
2520 cat >>confdefs.h <<\_ACEOF
2521 #define PLATFORM_LCD_HEIGHT 320
2525 echo "lcdtype not specified"
2528 if test "x$EFFECT" = "xall" ; then
2530 cat >>confdefs.h <<\_ACEOF
2531 #define PLATFORM_EFFECT "all"
2534 elif test "x$EFFECT" = "xwindow" ; then
2536 cat >>confdefs.h <<\_ACEOF
2537 #define PLATFORM_EFFECT "window"
2540 elif test "x$EFFECT" = "xwidget" ; then
2542 cat >>confdefs.h <<\_ACEOF
2543 #define PLATFORM_EFFECT "widget"
2548 cat >>confdefs.h <<\_ACEOF
2549 #define PLATFORM_EFFECT "none"
2554 if test "x$MMC_ROOT_PATH" != "x"; then
2556 cat >>confdefs.h <<_ACEOF
2557 #define PLATFORM_MMC_ROOT_PATH "$MMC_ROOT_PATH"
2563 cat >>confdefs.h <<\_ACEOF
2564 #define EXPORT_API __attribute__((visibility("default")))
2572 # Check whether --enable-platform-debug was given.
2573 if test "${enable_platform_debug+set}" = set; then
2574 enableval=$enable_platform_debug;
2576 enable_platform_debug=no
2580 if test x$enable_platform_debug = xyes; then
2582 cat >>confdefs.h <<\_ACEOF
2583 #define PLATFORM_DEBUG "yes"
2588 cat >>confdefs.h <<\_ACEOF
2589 #define PLATFORM_DEBUG "no"
2594 # Check whether --enable-platform-intercall was given.
2595 if test "${enable_platform_intercall+set}" = set; then
2596 enableval=$enable_platform_intercall;
2598 enable_platform_intercall=yes
2602 have_platform_intercall=no
2603 if test x$enable_platform_intercall= xyes; then
2605 cat >>confdefs.h <<\_ACEOF
2606 #define PLATFORM_INTERCALL "yes"
2611 cat >>confdefs.h <<\_ACEOF
2612 #define PLATFORM_INTERCALL "no"
2620 # Checks for programs.
2622 ac_cpp='$CPP $CPPFLAGS'
2623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2628 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2631 if test "${ac_cv_prog_CC+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 if test -n "$CC"; then
2635 ac_cv_prog_CC="$CC" # Let the user override the test.
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir=.
2642 for ac_exec_ext in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 if test -n "$CC"; then
2656 { echo "$as_me:$LINENO: result: $CC" >&5
2657 echo "${ECHO_T}$CC" >&6; }
2659 { echo "$as_me:$LINENO: result: no" >&5
2660 echo "${ECHO_T}no" >&6; }
2665 if test -z "$ac_cv_prog_CC"; then
2667 # Extract the first word of "gcc", so it can be a program name with args.
2668 set dummy gcc; ac_word=$2
2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$ac_ct_CC"; then
2675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_ac_ct_CC="gcc"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2697 echo "${ECHO_T}$ac_ct_CC" >&6; }
2699 { echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6; }
2703 if test "x$ac_ct_CC" = x; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned=yes ;;
2722 if test -z "$CC"; then
2723 if test -n "$ac_tool_prefix"; then
2724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2725 set dummy ${ac_tool_prefix}cc; ac_word=$2
2726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2728 if test "${ac_cv_prog_CC+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC="${ac_tool_prefix}cc"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { echo "$as_me:$LINENO: result: $CC" >&5
2754 echo "${ECHO_T}$CC" >&6; }
2756 { echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6; }
2763 if test -z "$CC"; then
2764 # Extract the first word of "cc", so it can be a program name with args.
2765 set dummy cc; ac_word=$2
2766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2768 if test "${ac_cv_prog_CC+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2783 ac_prog_rejected=yes
2787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test $ac_prog_rejected = yes; then
2795 # We found a bogon in the path, so make sure we never use it.
2796 set dummy $ac_cv_prog_CC
2798 if test $# != 0; then
2799 # We chose a different compiler from the bogus one.
2800 # However, it has the same basename, so the bogon will be chosen
2801 # first if we set CC to just the basename; use the full file name.
2803 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2809 if test -n "$CC"; then
2810 { echo "$as_me:$LINENO: result: $CC" >&5
2811 echo "${ECHO_T}$CC" >&6; }
2813 { echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6; }
2819 if test -z "$CC"; then
2820 if test -n "$ac_tool_prefix"; then
2821 for ac_prog in cl.exe
2823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2827 if test "${ac_cv_prog_CC+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 if test -n "$CC"; then
2831 ac_cv_prog_CC="$CC" # Let the user override the test.
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 test -z "$as_dir" && as_dir=.
2838 for ac_exec_ext in '' $ac_executable_extensions; do
2839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 if test -n "$CC"; then
2852 { echo "$as_me:$LINENO: result: $CC" >&5
2853 echo "${ECHO_T}$CC" >&6; }
2855 { echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6; }
2860 test -n "$CC" && break
2863 if test -z "$CC"; then
2865 for ac_prog in cl.exe
2867 # Extract the first word of "$ac_prog", so it can be a program name with args.
2868 set dummy $ac_prog; ac_word=$2
2869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2872 echo $ECHO_N "(cached) $ECHO_C" >&6
2874 if test -n "$ac_ct_CC"; then
2875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir=.
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_ac_ct_CC="$ac_prog"
2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2895 if test -n "$ac_ct_CC"; then
2896 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2897 echo "${ECHO_T}$ac_ct_CC" >&6; }
2899 { echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6; }
2904 test -n "$ac_ct_CC" && break
2907 if test "x$ac_ct_CC" = x; then
2910 case $cross_compiling:$ac_tool_warned in
2912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2913 whose name does not start with the host triplet. If you think this
2914 configuration is useful to you, please write to autoconf@gnu.org." >&5
2915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2916 whose name does not start with the host triplet. If you think this
2917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2918 ac_tool_warned=yes ;;
2927 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2928 See \`config.log' for more details." >&5
2929 echo "$as_me: error: no acceptable C compiler found in \$PATH
2930 See \`config.log' for more details." >&2;}
2931 { (exit 1); exit 1; }; }
2933 # Provide some information about the compiler.
2934 echo "$as_me:$LINENO: checking for C compiler version" >&5
2935 ac_compiler=`set X $ac_compile; echo $2`
2936 { (ac_try="$ac_compiler --version >&5"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compiler --version >&5") 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2946 { (ac_try="$ac_compiler -v >&5"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2952 (eval "$ac_compiler -v >&5") 2>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }
2956 { (ac_try="$ac_compiler -V >&5"
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2962 (eval "$ac_compiler -V >&5") 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 ac_clean_files_save=$ac_clean_files
2983 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2984 # Try to create an executable without -o first, disregard a.out.
2985 # It will help us diagnose broken compilers, and finding out an intuition
2987 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2988 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2989 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2991 # List of possible output files, starting from the most likely.
2992 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2993 # only as a last resort. b.out is created by i960 compilers.
2994 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2996 # The IRIX 6 linker writes into existing files which may not be
2997 # executable, retaining their permissions. Remove them first so a
2998 # subsequent execution test works.
3000 for ac_file in $ac_files
3003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3004 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3009 if { (ac_try="$ac_link_default"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_link_default") 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; then
3019 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3020 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3021 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3022 # so that the user can short-circuit this test for compilers unknown to
3024 for ac_file in $ac_files ''
3026 test -f "$ac_file" || continue
3028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3031 # We found the default executable, but exeext='' is most
3035 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3037 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3039 # We set ac_cv_exeext here because the later test for it is not
3040 # safe: cross compilers may not add the suffix if given an `-o'
3041 # argument, so we may need to know it at that point already.
3042 # Even if this section looks crufty: it has the advantage of
3049 test "$ac_cv_exeext" = no && ac_cv_exeext=
3055 { echo "$as_me:$LINENO: result: $ac_file" >&5
3056 echo "${ECHO_T}$ac_file" >&6; }
3057 if test -z "$ac_file"; then
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3062 See \`config.log' for more details." >&5
3063 echo "$as_me: error: C compiler cannot create executables
3064 See \`config.log' for more details." >&2;}
3065 { (exit 77); exit 77; }; }
3068 ac_exeext=$ac_cv_exeext
3070 # Check that the compiler produces executables we can run. If not, either
3071 # the compiler is broken, or we cross compile.
3072 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3073 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3074 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3075 # If not cross compiling, check that we can run a simple program.
3076 if test "$cross_compiling" != yes; then
3077 if { ac_try='./$ac_file'
3078 { (case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_try") 2>&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; }; then
3089 if test "$cross_compiling" = maybe; then
3092 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3093 If you meant to cross compile, use \`--host'.
3094 See \`config.log' for more details." >&5
3095 echo "$as_me: error: cannot run C compiled programs.
3096 If you meant to cross compile, use \`--host'.
3097 See \`config.log' for more details." >&2;}
3098 { (exit 1); exit 1; }; }
3102 { echo "$as_me:$LINENO: result: yes" >&5
3103 echo "${ECHO_T}yes" >&6; }
3105 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3106 ac_clean_files=$ac_clean_files_save
3107 # Check that the compiler produces executables we can run. If not, either
3108 # the compiler is broken, or we cross compile.
3109 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3111 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3112 echo "${ECHO_T}$cross_compiling" >&6; }
3114 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3116 if { (ac_try="$ac_link"
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_link") 2>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; then
3126 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3127 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3128 # work properly (i.e., refer to `conftest.exe'), while it won't with
3130 for ac_file in conftest.exe conftest conftest.*; do
3131 test -f "$ac_file" || continue
3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3134 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3147 rm -f conftest$ac_cv_exeext
3148 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3149 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3151 rm -f conftest.$ac_ext
3152 EXEEXT=$ac_cv_exeext
3154 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3155 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3156 if test "${ac_cv_objext+set}" = set; then
3157 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 cat >conftest.$ac_ext <<_ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3174 rm -f conftest.o conftest.obj
3175 if { (ac_try="$ac_compile"
3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178 *) ac_try_echo=$ac_try;;
3180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3181 (eval "$ac_compile") 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; then
3185 for ac_file in conftest.o conftest.obj conftest.*; do
3186 test -f "$ac_file" || continue;
3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3194 echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3198 See \`config.log' for more details." >&5
3199 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3200 See \`config.log' for more details." >&2;}
3201 { (exit 1); exit 1; }; }
3204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3206 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3207 echo "${ECHO_T}$ac_cv_objext" >&6; }
3208 OBJEXT=$ac_cv_objext
3210 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3211 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3212 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3233 rm -f conftest.$ac_objext
3234 if { (ac_try="$ac_compile"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3262 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3263 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3264 GCC=`test $ac_compiler_gnu = yes && echo yes`
3265 ac_test_CFLAGS=${CFLAGS+set}
3266 ac_save_CFLAGS=$CFLAGS
3267 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3268 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3269 if test "${ac_cv_prog_cc_g+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 ac_save_c_werror_flag=$ac_c_werror_flag
3273 ac_c_werror_flag=yes
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3291 rm -f conftest.$ac_objext
3292 if { (ac_try="$ac_compile"
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3298 (eval "$ac_compile") 2>conftest.er1
3300 grep -v '^ *+' conftest.er1 >conftest.err
3302 cat conftest.err >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } && {
3305 test -z "$ac_c_werror_flag" ||
3306 test ! -s conftest.err
3307 } && test -s conftest.$ac_objext; then
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1 >conftest.err
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } && {
3343 test -z "$ac_c_werror_flag" ||
3344 test ! -s conftest.err
3345 } && test -s conftest.$ac_objext; then
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3351 ac_c_werror_flag=$ac_save_c_werror_flag
3353 cat >conftest.$ac_ext <<_ACEOF
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3368 rm -f conftest.$ac_objext
3369 if { (ac_try="$ac_compile"
3371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3372 *) ac_try_echo=$ac_try;;
3374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3375 (eval "$ac_compile") 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } && {
3382 test -z "$ac_c_werror_flag" ||
3383 test ! -s conftest.err
3384 } && test -s conftest.$ac_objext; then
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_c_werror_flag=$ac_save_c_werror_flag
3402 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3403 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3404 if test "$ac_test_CFLAGS" = set; then
3405 CFLAGS=$ac_save_CFLAGS
3406 elif test $ac_cv_prog_cc_g = yes; then
3407 if test "$GCC" = yes; then
3413 if test "$GCC" = yes; then
3419 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3420 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3421 if test "${ac_cv_prog_cc_c89+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 ac_cv_prog_cc_c89=no
3426 cat >conftest.$ac_ext <<_ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3434 #include <sys/types.h>
3435 #include <sys/stat.h>
3436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3437 struct buf { int x; };
3438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3439 static char *e (p, i)
3445 static char *f (char * (*g) (char **, int), char **p, ...)
3450 s = g (p, va_arg (v,int));
3455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3456 function prototypes and stuff, but not '\xHH' hex character constants.
3457 These don't provoke an error unfortunately, instead are silently treated
3458 as 'x'. The following induces an error, until -std is added to get
3459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3460 array size at least. It's necessary to write '\x00'==0 to get something
3461 that's true only with -std. */
3462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3465 inside strings and character constants. */
3467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3469 int test (int i, double x);
3470 struct s1 {int (*f) (int a);};
3471 struct s2 {int (*f) (double a);};
3472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3486 CC="$ac_save_CC $ac_arg"
3487 rm -f conftest.$ac_objext
3488 if { (ac_try="$ac_compile"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_compile") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && {
3501 test -z "$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 } && test -s conftest.$ac_objext; then
3504 ac_cv_prog_cc_c89=$ac_arg
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3512 rm -f core conftest.err conftest.$ac_objext
3513 test "x$ac_cv_prog_cc_c89" != "xno" && break
3515 rm -f conftest.$ac_ext
3520 case "x$ac_cv_prog_cc_c89" in
3522 { echo "$as_me:$LINENO: result: none needed" >&5
3523 echo "${ECHO_T}none needed" >&6; } ;;
3525 { echo "$as_me:$LINENO: result: unsupported" >&5
3526 echo "${ECHO_T}unsupported" >&6; } ;;
3528 CC="$CC $ac_cv_prog_cc_c89"
3529 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3530 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 DEPDIR="${am__leading_dot}deps"
3541 ac_config_commands="$ac_config_commands depfiles"
3544 am_make=${MAKE-make}
3545 cat > confinc << 'END'
3550 # If we don't find an include directive, just comment out the code.
3551 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3552 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3556 # First try GNU make style include.
3557 echo "include confinc" > confmf
3558 # We grep out `Entering directory' and `Leaving directory'
3559 # messages which can occur if `w' ends up in MAKEFLAGS.
3560 # In particular we don't look at `^make:' because GNU make might
3561 # be invoked under some other name (usually "gmake"), in which
3562 # case it prints its new name instead of `make'.
3563 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3568 # Now try BSD make style include.
3569 if test "$am__include" = "#"; then
3570 echo '.include "confinc"' > confmf
3571 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3572 am__include=.include
3579 { echo "$as_me:$LINENO: result: $_am_result" >&5
3580 echo "${ECHO_T}$_am_result" >&6; }
3581 rm -f confinc confmf
3583 # Check whether --enable-dependency-tracking was given.
3584 if test "${enable_dependency_tracking+set}" = set; then
3585 enableval=$enable_dependency_tracking;
3588 if test "x$enable_dependency_tracking" != xno; then
3589 am_depcomp="$ac_aux_dir/depcomp"
3592 if test "x$enable_dependency_tracking" != xno; then
3602 depcc="$CC" am_compiler_list=
3604 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3605 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3606 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3610 # We make a subdir and do the tests there. Otherwise we can end up
3611 # making bogus files that we don't know about and never remove. For
3612 # instance it was reported that on HP-UX the gcc test will end up
3613 # making a dummy file named `D' -- because `-MD' means `put the output
3616 # Copy depcomp to subdir because otherwise we won't find it if we're
3617 # using a relative directory.
3618 cp "$am_depcomp" conftest.dir
3620 # We will build objects and dependencies in a subdirectory because
3621 # it helps to detect inapplicable dependency modes. For instance
3622 # both Tru64's cc and ICC support -MD to output dependencies as a
3623 # side effect of compilation, but ICC will put the dependencies in
3624 # the current directory while Tru64 will put them in the object
3628 am_cv_CC_dependencies_compiler_type=none
3629 if test "$am_compiler_list" = ""; then
3630 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3632 for depmode in $am_compiler_list; do
3633 # Setup a source with many dependencies, because some compilers
3634 # like to wrap large dependency lists on column 80 (with \), and
3635 # we should not choose a depcomp mode which is confused by this.
3637 # We need to recreate these files for each test, as the compiler may
3638 # overwrite some of them when testing with obscure command lines.
3639 # This happens at least with the AIX C compiler.
3641 for i in 1 2 3 4 5 6; do
3642 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3643 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3644 # Solaris 8's {/usr,}/bin/sh.
3645 touch sub/conftst$i.h
3647 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3651 # after this tag, mechanisms are not by side-effect, so they'll
3652 # only be used when explicitly requested
3653 if test "x$enable_dependency_tracking" = xyes; then
3661 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3662 # mode. It turns out that the SunPro C++ compiler does not properly
3663 # handle `-M -o', and we need to detect this.
3664 if depmode=$depmode \
3665 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3666 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3667 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3668 >/dev/null 2>conftest.err &&
3669 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3670 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3671 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3672 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3673 # icc doesn't choke on unknown options, it will just issue warnings
3674 # or remarks (even with -Werror). So we grep stderr for any message
3675 # that says an option was ignored or not supported.
3676 # When given -MP, icc 7.0 and 7.1 complain thusly:
3677 # icc: Command line warning: ignoring option '-M'; no argument required
3678 # The diagnosis changed in icc 8.0:
3679 # icc: Command line remark: option '-MP' not supported
3680 if (grep 'ignoring option' conftest.err ||
3681 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3682 am_cv_CC_dependencies_compiler_type=$depmode
3691 am_cv_CC_dependencies_compiler_type=none
3695 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3696 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3697 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3700 test "x$enable_dependency_tracking" != xno \
3701 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3703 am__fastdepCC_FALSE='#'
3705 am__fastdepCC_TRUE='#'
3706 am__fastdepCC_FALSE=
3710 # Find a good install program. We prefer a C program (faster),
3711 # so one script is as good as another. But avoid the broken or
3712 # incompatible versions:
3713 # SysV /etc/install, /usr/sbin/install
3714 # SunOS /usr/etc/install
3715 # IRIX /sbin/install
3717 # AmigaOS /C/install, which installs bootblocks on floppy discs
3718 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3719 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3720 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3721 # OS/2's system install, which has a completely different semantic
3722 # ./install, which can be erroneously created by make from ./install.sh.
3723 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3724 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3725 if test -z "$INSTALL"; then
3726 if test "${ac_cv_path_install+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir=.
3734 # Account for people who put trailing slashes in PATH elements.
3736 ./ | .// | /cC/* | \
3737 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3738 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3741 # OSF1 and SCO ODT 3.0 have their own names for install.
3742 # Don't use installbsd from OSF since it installs stuff as root
3744 for ac_prog in ginstall scoinst install; do
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3747 if test $ac_prog = install &&
3748 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3749 # AIX install. It has an incompatible calling convention.
3751 elif test $ac_prog = install &&
3752 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3753 # program-specific install script used by HP pwplus--don't use.
3756 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3769 if test "${ac_cv_path_install+set}" = set; then
3770 INSTALL=$ac_cv_path_install
3772 # As a last resort, use the slow shell script. Don't cache a
3773 # value for INSTALL within a source directory, because that will
3774 # break other packages using the cache if that directory is
3775 # removed, or if the value is a relative name.
3776 INSTALL=$ac_install_sh
3779 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3780 echo "${ECHO_T}$INSTALL" >&6; }
3782 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3783 # It thinks the first close brace ends the variable substitution.
3784 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3786 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3788 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3790 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3792 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3793 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 cat >conftest.make <<\_ACEOF
3799 @echo '@@@%%%=$(MAKE)=@@@%%%'
3801 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3802 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3804 eval ac_cv_prog_make_${ac_make}_set=yes;;
3806 eval ac_cv_prog_make_${ac_make}_set=no;;
3810 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3811 { echo "$as_me:$LINENO: result: yes" >&5
3812 echo "${ECHO_T}yes" >&6; }
3815 { echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6; }
3817 SET_MAKE="MAKE=${MAKE-make}"
3822 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3823 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3828 macro_version='2.2.4'
3829 macro_revision='1.2976'
3843 ltmain="$ac_aux_dir/ltmain.sh"
3845 # Make sure we can run config.sub.
3846 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3847 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3848 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3849 { (exit 1); exit 1; }; }
3851 { echo "$as_me:$LINENO: checking build system type" >&5
3852 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3853 if test "${ac_cv_build+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 ac_build_alias=$build_alias
3857 test "x$ac_build_alias" = x &&
3858 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3859 test "x$ac_build_alias" = x &&
3860 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3861 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3862 { (exit 1); exit 1; }; }
3863 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3864 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3865 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3866 { (exit 1); exit 1; }; }
3869 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3870 echo "${ECHO_T}$ac_cv_build" >&6; }
3871 case $ac_cv_build in
3873 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3874 echo "$as_me: error: invalid value of canonical build" >&2;}
3875 { (exit 1); exit 1; }; };;
3878 ac_save_IFS=$IFS; IFS='-'
3884 # Remember, the first character of IFS is used to create $*,
3885 # except with old shells:
3888 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3891 { echo "$as_me:$LINENO: checking host system type" >&5
3892 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3893 if test "${ac_cv_host+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 if test "x$host_alias" = x; then
3897 ac_cv_host=$ac_cv_build
3899 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3900 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3902 { (exit 1); exit 1; }; }
3906 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3907 echo "${ECHO_T}$ac_cv_host" >&6; }
3910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3911 echo "$as_me: error: invalid value of canonical host" >&2;}
3912 { (exit 1); exit 1; }; };;
3915 ac_save_IFS=$IFS; IFS='-'
3921 # Remember, the first character of IFS is used to create $*,
3922 # except with old shells:
3925 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3928 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3929 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3930 if test "${ac_cv_path_SED+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3934 for ac_i in 1 2 3 4 5 6 7; do
3935 ac_script="$ac_script$as_nl$ac_script"
3937 echo "$ac_script" | sed 99q >conftest.sed
3938 $as_unset ac_script || ac_script=
3939 # Extract the first word of "sed gsed" to use in msg output
3940 if test -z "$SED"; then
3941 set dummy sed gsed; ac_prog_name=$2
3942 if test "${ac_cv_path_SED+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 ac_path_SED_found=false
3946 # Loop through the user's path and test for each of PROGNAME-LIST
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir=.
3952 for ac_prog in sed gsed; do
3953 for ac_exec_ext in '' $ac_executable_extensions; do
3954 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3955 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3956 # Check for GNU ac_path_SED and select it if it is found.
3957 # Check for GNU $ac_path_SED
3958 case `"$ac_path_SED" --version 2>&1` in
3960 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3966 cat "conftest.in" "conftest.in" >"conftest.tmp"
3967 mv "conftest.tmp" "conftest.in"
3968 cp "conftest.in" "conftest.nl"
3969 echo '' >> "conftest.nl"
3970 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3972 ac_count=`expr $ac_count + 1`
3973 if test $ac_count -gt ${ac_path_SED_max-0}; then
3974 # Best one so far, save it but keep looking for a better one
3975 ac_cv_path_SED="$ac_path_SED"
3976 ac_path_SED_max=$ac_count
3978 # 10*(2^10) chars as input seems more than enough
3979 test $ac_count -gt 10 && break
3981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3985 $ac_path_SED_found && break 3
3995 SED="$ac_cv_path_SED"
3996 if test -z "$SED"; then
3997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3998 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3999 { (exit 1); exit 1; }; }
4007 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4008 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4009 SED="$ac_cv_path_SED"
4012 test -z "$SED" && SED=sed
4013 Xsed="$SED -e 1s/^X//"
4025 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4026 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4027 if test "${ac_cv_path_GREP+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 # Extract the first word of "grep ggrep" to use in msg output
4031 if test -z "$GREP"; then
4032 set dummy grep ggrep; ac_prog_name=$2
4033 if test "${ac_cv_path_GREP+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 ac_path_GREP_found=false
4037 # Loop through the user's path and test for each of PROGNAME-LIST
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4042 test -z "$as_dir" && as_dir=.
4043 for ac_prog in grep ggrep; do
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4046 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4047 # Check for GNU ac_path_GREP and select it if it is found.
4048 # Check for GNU $ac_path_GREP
4049 case `"$ac_path_GREP" --version 2>&1` in
4051 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4054 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4057 cat "conftest.in" "conftest.in" >"conftest.tmp"
4058 mv "conftest.tmp" "conftest.in"
4059 cp "conftest.in" "conftest.nl"
4060 echo 'GREP' >> "conftest.nl"
4061 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4062 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4063 ac_count=`expr $ac_count + 1`
4064 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4065 # Best one so far, save it but keep looking for a better one
4066 ac_cv_path_GREP="$ac_path_GREP"
4067 ac_path_GREP_max=$ac_count
4069 # 10*(2^10) chars as input seems more than enough
4070 test $ac_count -gt 10 && break
4072 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4076 $ac_path_GREP_found && break 3
4086 GREP="$ac_cv_path_GREP"
4087 if test -z "$GREP"; then
4088 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4089 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4090 { (exit 1); exit 1; }; }
4094 ac_cv_path_GREP=$GREP
4099 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4100 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4101 GREP="$ac_cv_path_GREP"
4104 { echo "$as_me:$LINENO: checking for egrep" >&5
4105 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4106 if test "${ac_cv_path_EGREP+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4110 then ac_cv_path_EGREP="$GREP -E"
4112 # Extract the first word of "egrep" to use in msg output
4113 if test -z "$EGREP"; then
4114 set dummy egrep; ac_prog_name=$2
4115 if test "${ac_cv_path_EGREP+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_path_EGREP_found=false
4119 # Loop through the user's path and test for each of PROGNAME-LIST
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4121 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4124 test -z "$as_dir" && as_dir=.
4125 for ac_prog in egrep; do
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4128 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4129 # Check for GNU ac_path_EGREP and select it if it is found.
4130 # Check for GNU $ac_path_EGREP
4131 case `"$ac_path_EGREP" --version 2>&1` in
4133 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4136 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4139 cat "conftest.in" "conftest.in" >"conftest.tmp"
4140 mv "conftest.tmp" "conftest.in"
4141 cp "conftest.in" "conftest.nl"
4142 echo 'EGREP' >> "conftest.nl"
4143 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4144 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4145 ac_count=`expr $ac_count + 1`
4146 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4147 # Best one so far, save it but keep looking for a better one
4148 ac_cv_path_EGREP="$ac_path_EGREP"
4149 ac_path_EGREP_max=$ac_count
4151 # 10*(2^10) chars as input seems more than enough
4152 test $ac_count -gt 10 && break
4154 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4158 $ac_path_EGREP_found && break 3
4168 EGREP="$ac_cv_path_EGREP"
4169 if test -z "$EGREP"; then
4170 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4171 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4172 { (exit 1); exit 1; }; }
4176 ac_cv_path_EGREP=$EGREP
4182 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4183 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4184 EGREP="$ac_cv_path_EGREP"
4187 { echo "$as_me:$LINENO: checking for fgrep" >&5
4188 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4189 if test "${ac_cv_path_FGREP+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4193 then ac_cv_path_FGREP="$GREP -F"
4195 # Extract the first word of "fgrep" to use in msg output
4196 if test -z "$FGREP"; then
4197 set dummy fgrep; ac_prog_name=$2
4198 if test "${ac_cv_path_FGREP+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 ac_path_FGREP_found=false
4202 # Loop through the user's path and test for each of PROGNAME-LIST
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4207 test -z "$as_dir" && as_dir=.
4208 for ac_prog in fgrep; do
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4211 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4212 # Check for GNU ac_path_FGREP and select it if it is found.
4213 # Check for GNU $ac_path_FGREP
4214 case `"$ac_path_FGREP" --version 2>&1` in
4216 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4219 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4222 cat "conftest.in" "conftest.in" >"conftest.tmp"
4223 mv "conftest.tmp" "conftest.in"
4224 cp "conftest.in" "conftest.nl"
4225 echo 'FGREP' >> "conftest.nl"
4226 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4228 ac_count=`expr $ac_count + 1`
4229 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4230 # Best one so far, save it but keep looking for a better one
4231 ac_cv_path_FGREP="$ac_path_FGREP"
4232 ac_path_FGREP_max=$ac_count
4234 # 10*(2^10) chars as input seems more than enough
4235 test $ac_count -gt 10 && break
4237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4241 $ac_path_FGREP_found && break 3
4251 FGREP="$ac_cv_path_FGREP"
4252 if test -z "$FGREP"; then
4253 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4254 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4255 { (exit 1); exit 1; }; }
4259 ac_cv_path_FGREP=$FGREP
4265 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4266 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4267 FGREP="$ac_cv_path_FGREP"
4270 test -z "$GREP" && GREP=grep
4290 # Check whether --with-gnu-ld was given.
4291 if test "${with_gnu_ld+set}" = set; then
4292 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4298 if test "$GCC" = yes; then
4299 # Check if gcc -print-prog-name=ld gives a path.
4300 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4301 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4304 # gcc leaves a trailing carriage return which upsets mingw
4305 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4307 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4310 # Accept absolute paths.
4312 re_direlt='/[^/][^/]*/\.\./'
4313 # Canonicalize the pathname of ld
4314 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4315 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4316 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4318 test -z "$LD" && LD="$ac_prog"
4321 # If it fails, then pretend we aren't using GCC.
4325 # If it is relative, then search for the first ld in PATH.
4329 elif test "$with_gnu_ld" = yes; then
4330 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4331 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4333 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4334 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4336 if test "${lt_cv_path_LD+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 if test -z "$LD"; then
4340 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4341 for ac_dir in $PATH; do
4343 test -z "$ac_dir" && ac_dir=.
4344 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4345 lt_cv_path_LD="$ac_dir/$ac_prog"
4346 # Check to see if the program is GNU ld. I'd rather use --version,
4347 # but apparently some variants of GNU ld only accept -v.
4348 # Break only if it was the GNU/non-GNU ld that we prefer.
4349 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4350 *GNU* | *'with BFD'*)
4351 test "$with_gnu_ld" != no && break
4354 test "$with_gnu_ld" != yes && break
4361 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4366 if test -n "$LD"; then
4367 { echo "$as_me:$LINENO: result: $LD" >&5
4368 echo "${ECHO_T}$LD" >&6; }
4370 { echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6; }
4373 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4374 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4375 { (exit 1); exit 1; }; }
4376 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4377 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4378 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4382 case `$LD -v 2>&1 </dev/null` in
4383 *GNU* | *'with BFD'*)
4384 lt_cv_prog_gnu_ld=yes
4387 lt_cv_prog_gnu_ld=no
4391 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4392 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4393 with_gnu_ld=$lt_cv_prog_gnu_ld
4403 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4404 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4405 if test "${lt_cv_path_NM+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 if test -n "$NM"; then
4409 # Let the user override the test.
4412 lt_nm_to_check="${ac_tool_prefix}nm"
4413 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4414 lt_nm_to_check="$lt_nm_to_check nm"
4416 for lt_tmp_nm in $lt_nm_to_check; do
4417 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4418 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4420 test -z "$ac_dir" && ac_dir=.
4421 tmp_nm="$ac_dir/$lt_tmp_nm"
4422 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4423 # Check to see if the nm accepts a BSD-compat flag.
4424 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4425 # nm: unknown option "B" ignored
4426 # Tru64's nm complains that /dev/null is an invalid object file
4427 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4428 */dev/null* | *'Invalid file or object type'*)
4429 lt_cv_path_NM="$tmp_nm -B"
4433 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4435 lt_cv_path_NM="$tmp_nm -p"
4439 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4440 continue # so that we can try to find one that supports BSD flags
4449 : ${lt_cv_path_NM=no}
4452 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4453 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4454 if test "$lt_cv_path_NM" != "no"; then
4457 # Didn't find any BSD compatible name lister, look for dumpbin.
4458 if test -n "$ac_tool_prefix"; then
4459 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4465 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$DUMPBIN"; then
4469 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 DUMPBIN=$ac_cv_prog_DUMPBIN
4489 if test -n "$DUMPBIN"; then
4490 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4491 echo "${ECHO_T}$DUMPBIN" >&6; }
4493 { echo "$as_me:$LINENO: result: no" >&5
4494 echo "${ECHO_T}no" >&6; }
4498 test -n "$DUMPBIN" && break
4501 if test -z "$DUMPBIN"; then
4502 ac_ct_DUMPBIN=$DUMPBIN
4503 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4509 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$ac_ct_DUMPBIN"; then
4513 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4533 if test -n "$ac_ct_DUMPBIN"; then
4534 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4535 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4537 { echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6; }
4542 test -n "$ac_ct_DUMPBIN" && break
4545 if test "x$ac_ct_DUMPBIN" = x; then
4548 case $cross_compiling:$ac_tool_warned in
4550 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4551 whose name does not start with the host triplet. If you think this
4552 configuration is useful to you, please write to autoconf@gnu.org." >&5
4553 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4554 whose name does not start with the host triplet. If you think this
4555 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4556 ac_tool_warned=yes ;;
4558 DUMPBIN=$ac_ct_DUMPBIN
4563 if test "$DUMPBIN" != ":"; then
4567 test -z "$NM" && NM=nm
4574 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4575 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4576 if test "${lt_cv_nm_interface+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 lt_cv_nm_interface="BSD nm"
4580 echo "int some_variable = 0;" > conftest.$ac_ext
4581 (eval echo "\"\$as_me:4581: $ac_compile\"" >&5)
4582 (eval "$ac_compile" 2>conftest.err)
4583 cat conftest.err >&5
4584 (eval echo "\"\$as_me:4584: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4585 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4586 cat conftest.err >&5
4587 (eval echo "\"\$as_me:4587: output\"" >&5)
4588 cat conftest.out >&5
4589 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4590 lt_cv_nm_interface="MS dumpbin"
4594 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4595 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4597 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4598 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4600 if test "$LN_S" = "ln -s"; then
4601 { echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6; }
4604 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4605 echo "${ECHO_T}no, using $LN_S" >&6; }
4608 # find the maximum length of command line arguments
4609 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4610 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4611 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 # On DJGPP, this test can blow up pretty badly due to problems in libc
4620 # (any single argument exceeding 2000 bytes causes a buffer overrun
4621 # during glob expansion). Even if it were fixed, the result of this
4622 # check would be larger than it should be.
4623 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4627 # Under GNU Hurd, this test is not required because there is
4628 # no limit to the length of command line arguments.
4629 # Libtool will interpret -1 as no limit whatsoever
4630 lt_cv_sys_max_cmd_len=-1;
4634 # On Win9x/ME, this test blows up -- it succeeds, but takes
4635 # about 5 minutes as the teststring grows exponentially.
4636 # Worse, since 9x/ME are not pre-emptively multitasking,
4637 # you end up with a "frozen" computer, even though with patience
4638 # the test eventually succeeds (with a max line length of 256k).
4639 # Instead, let's just punt: use the minimum linelength reported by
4640 # all of the supported platforms: 8192 (on NT/2K/XP).
4641 lt_cv_sys_max_cmd_len=8192;
4645 # On AmigaOS with pdksh, this test takes hours, literally.
4646 # So we just punt and use a minimum line length of 8192.
4647 lt_cv_sys_max_cmd_len=8192;
4650 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4651 # This has been around since 386BSD, at least. Likely further.
4652 if test -x /sbin/sysctl; then
4653 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4654 elif test -x /usr/sbin/sysctl; then
4655 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4657 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4659 # And add a safety zone
4660 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4661 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4665 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4666 lt_cv_sys_max_cmd_len=196608
4670 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4671 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4672 # nice to cause kernel panics so lets avoid the loop below.
4673 # First set a reasonable default.
4674 lt_cv_sys_max_cmd_len=16384
4676 if test -x /sbin/sysconfig; then
4677 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4678 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4683 lt_cv_sys_max_cmd_len=102400
4685 sysv5* | sco5v6* | sysv4.2uw2*)
4686 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4687 if test -n "$kargmax"; then
4688 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4690 lt_cv_sys_max_cmd_len=32768
4694 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4695 if test -n "$lt_cv_sys_max_cmd_len"; then
4696 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4697 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4699 # Make teststring a little bigger before we do anything with it.
4700 # a 1K string should be a reasonable start.
4701 for i in 1 2 3 4 5 6 7 8 ; do
4702 teststring=$teststring$teststring
4704 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4705 # If test is not a shell built-in, we'll probably end up computing a
4706 # maximum length that is only half of the actual maximum length, but
4708 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4709 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4710 test $i != 17 # 1/2 MB should be enough
4713 teststring=$teststring$teststring
4715 # Only check the string length outside the loop.
4716 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4718 # Add a significant safety factor because C++ compilers can tack on
4719 # massive amounts of additional arguments before passing them to the
4720 # linker. It appears as though 1/2 is a usable value.
4721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4728 if test -n $lt_cv_sys_max_cmd_len ; then
4729 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4730 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4732 { echo "$as_me:$LINENO: result: none" >&5
4733 echo "${ECHO_T}none" >&6; }
4735 max_cmd_len=$lt_cv_sys_max_cmd_len
4746 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4747 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4748 # Try some XSI features
4751 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4753 && eval 'test $(( 1 + 1 )) -eq 2 \
4754 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4756 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4757 echo "${ECHO_T}$xsi_shell" >&6; }
4760 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4761 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4763 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4765 && lt_shell_append=yes
4766 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4767 echo "${ECHO_T}$lt_shell_append" >&6; }
4770 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4780 # test EBCDIC or ASCII
4781 case `echo X|tr X '\101'` in
4782 A) # ASCII based system
4783 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4784 lt_SP2NL='tr \040 \012'
4785 lt_NL2SP='tr \015\012 \040\040'
4787 *) # EBCDIC based system
4788 lt_SP2NL='tr \100 \n'
4789 lt_NL2SP='tr \r\n \100\100'
4801 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4802 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4803 if test "${lt_cv_ld_reload_flag+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 lt_cv_ld_reload_flag='-r'
4808 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4809 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4810 reload_flag=$lt_cv_ld_reload_flag
4811 case $reload_flag in
4813 *) reload_flag=" $reload_flag" ;;
4815 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4818 if test "$GCC" = yes; then
4819 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4821 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4835 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4836 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4837 if test "${lt_cv_deplibs_check_method+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 lt_cv_file_magic_cmd='$MAGIC_CMD'
4841 lt_cv_file_magic_test_file=
4842 lt_cv_deplibs_check_method='unknown'
4843 # Need to set the preceding variable on all platforms that support
4844 # interlibrary dependencies.
4845 # 'none' -- dependencies not supported.
4846 # `unknown' -- same as none, but documents that we really don't know.
4847 # 'pass_all' -- all dependencies passed with no checks.
4848 # 'test_compile' -- check by making test program.
4849 # 'file_magic [[regex]]' -- check by looking for files in library path
4850 # which responds to the $file_magic_cmd with a given extended regex.
4851 # If you have `file' or equivalent on your system and you're not sure
4852 # whether `pass_all' will *always* work, you probably want this one.
4856 lt_cv_deplibs_check_method=pass_all
4860 lt_cv_deplibs_check_method=pass_all
4864 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4865 lt_cv_file_magic_cmd='/usr/bin/file -L'
4866 lt_cv_file_magic_test_file=/shlib/libc.so
4870 # func_win32_libid is a shell function defined in ltmain.sh
4871 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4872 lt_cv_file_magic_cmd='func_win32_libid'
4876 # Base MSYS/MinGW do not provide the 'file' command needed by
4877 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4878 # unless we find 'file', for example because we are cross-compiling.
4879 if ( file / ) >/dev/null 2>&1; then
4880 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4881 lt_cv_file_magic_cmd='func_win32_libid'
4883 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4884 lt_cv_file_magic_cmd='$OBJDUMP -f'
4888 darwin* | rhapsody*)
4889 lt_cv_deplibs_check_method=pass_all
4892 freebsd* | dragonfly*)
4893 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4896 # Not sure whether the presence of OpenBSD here was a mistake.
4897 # Let's accept both of them until this is cleared up.
4898 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4899 lt_cv_file_magic_cmd=/usr/bin/file
4900 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4904 lt_cv_deplibs_check_method=pass_all
4909 lt_cv_deplibs_check_method=pass_all
4912 hpux10.20* | hpux11*)
4913 lt_cv_file_magic_cmd=/usr/bin/file
4916 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4917 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4920 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]'
4921 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4924 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4925 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4931 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4932 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4935 irix5* | irix6* | nonstopux*)
4937 *-32|*"-32 ") libmagic=32-bit;;
4938 *-n32|*"-n32 ") libmagic=N32;;
4939 *-64|*"-64 ") libmagic=64-bit;;
4940 *) libmagic=never-match;;
4942 lt_cv_deplibs_check_method=pass_all
4945 # This must be Linux ELF.
4946 linux* | k*bsd*-gnu)
4947 lt_cv_deplibs_check_method=pass_all
4951 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4952 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4954 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4959 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4960 lt_cv_file_magic_cmd=/usr/bin/file
4961 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4965 lt_cv_deplibs_check_method=pass_all
4969 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4972 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4976 osf3* | osf4* | osf5*)
4977 lt_cv_deplibs_check_method=pass_all
4981 lt_cv_deplibs_check_method=pass_all
4985 lt_cv_deplibs_check_method=pass_all
4988 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4989 lt_cv_deplibs_check_method=pass_all
4993 case $host_vendor in
4995 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]'
4996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4999 lt_cv_deplibs_check_method=pass_all
5002 lt_cv_file_magic_cmd='/bin/file'
5003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5006 lt_cv_file_magic_cmd='/bin/file'
5007 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5008 lt_cv_file_magic_test_file=/lib/libc.so
5011 lt_cv_deplibs_check_method=pass_all
5014 lt_cv_deplibs_check_method=pass_all
5020 lt_cv_deplibs_check_method=pass_all
5025 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5026 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5027 file_magic_cmd=$lt_cv_file_magic_cmd
5028 deplibs_check_method=$lt_cv_deplibs_check_method
5029 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5042 if test -n "$ac_tool_prefix"; then
5043 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5044 set dummy ${ac_tool_prefix}ar; ac_word=$2
5045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5047 if test "${ac_cv_prog_AR+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 if test -n "$AR"; then
5051 ac_cv_prog_AR="$AR" # Let the user override the test.
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5060 ac_cv_prog_AR="${ac_tool_prefix}ar"
5061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 if test -n "$AR"; then
5072 { echo "$as_me:$LINENO: result: $AR" >&5
5073 echo "${ECHO_T}$AR" >&6; }
5075 { echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6; }
5081 if test -z "$ac_cv_prog_AR"; then
5083 # Extract the first word of "ar", so it can be a program name with args.
5084 set dummy ar; ac_word=$2
5085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5087 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 if test -n "$ac_ct_AR"; then
5091 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100 ac_cv_prog_ac_ct_AR="ar"
5101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5111 if test -n "$ac_ct_AR"; then
5112 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5113 echo "${ECHO_T}$ac_ct_AR" >&6; }
5115 { echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6; }
5119 if test "x$ac_ct_AR" = x; then
5122 case $cross_compiling:$ac_tool_warned in
5124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5125 whose name does not start with the host triplet. If you think this
5126 configuration is useful to you, please write to autoconf@gnu.org." >&5
5127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5128 whose name does not start with the host triplet. If you think this
5129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5130 ac_tool_warned=yes ;;
5138 test -z "$AR" && AR=ar
5139 test -z "$AR_FLAGS" && AR_FLAGS=cru
5151 if test -n "$ac_tool_prefix"; then
5152 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5153 set dummy ${ac_tool_prefix}strip; ac_word=$2
5154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5156 if test "${ac_cv_prog_STRIP+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 if test -n "$STRIP"; then
5160 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5169 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 STRIP=$ac_cv_prog_STRIP
5180 if test -n "$STRIP"; then
5181 { echo "$as_me:$LINENO: result: $STRIP" >&5
5182 echo "${ECHO_T}$STRIP" >&6; }
5184 { echo "$as_me:$LINENO: result: no" >&5
5185 echo "${ECHO_T}no" >&6; }
5190 if test -z "$ac_cv_prog_STRIP"; then
5192 # Extract the first word of "strip", so it can be a program name with args.
5193 set dummy strip; ac_word=$2
5194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5196 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 if test -n "$ac_ct_STRIP"; then
5200 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir=.
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209 ac_cv_prog_ac_ct_STRIP="strip"
5210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5220 if test -n "$ac_ct_STRIP"; then
5221 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5222 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5224 { echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6; }
5228 if test "x$ac_ct_STRIP" = x; then
5231 case $cross_compiling:$ac_tool_warned in
5233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5234 whose name does not start with the host triplet. If you think this
5235 configuration is useful to you, please write to autoconf@gnu.org." >&5
5236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5237 whose name does not start with the host triplet. If you think this
5238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5239 ac_tool_warned=yes ;;
5244 STRIP="$ac_cv_prog_STRIP"
5247 test -z "$STRIP" && STRIP=:
5254 if test -n "$ac_tool_prefix"; then
5255 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5256 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5259 if test "${ac_cv_prog_RANLIB+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 if test -n "$RANLIB"; then
5263 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 RANLIB=$ac_cv_prog_RANLIB
5283 if test -n "$RANLIB"; then
5284 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5285 echo "${ECHO_T}$RANLIB" >&6; }
5287 { echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6; }
5293 if test -z "$ac_cv_prog_RANLIB"; then
5294 ac_ct_RANLIB=$RANLIB
5295 # Extract the first word of "ranlib", so it can be a program name with args.
5296 set dummy ranlib; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 if test -n "$ac_ct_RANLIB"; then
5303 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_ac_ct_RANLIB="ranlib"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5323 if test -n "$ac_ct_RANLIB"; then
5324 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5325 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5331 if test "x$ac_ct_RANLIB" = x; then
5334 case $cross_compiling:$ac_tool_warned in
5336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5337 whose name does not start with the host triplet. If you think this
5338 configuration is useful to you, please write to autoconf@gnu.org." >&5
5339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5340 whose name does not start with the host triplet. If you think this
5341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5342 ac_tool_warned=yes ;;
5344 RANLIB=$ac_ct_RANLIB
5347 RANLIB="$ac_cv_prog_RANLIB"
5350 test -z "$RANLIB" && RANLIB=:
5357 # Determine commands to create old-style static archives.
5358 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5359 old_postinstall_cmds='chmod 644 $oldlib'
5360 old_postuninstall_cmds=
5362 if test -n "$RANLIB"; then
5365 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5368 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5371 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5407 # If no C compiler was specified, use CC.
5410 # If no C compiler flags were specified, use CFLAGS.
5411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5413 # Allow CC to be a program name with arguments.
5417 # Check for command to grab the raw symbol name followed by C symbol from nm.
5418 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5419 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5420 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 # These are sane defaults that work on at least a few old systems.
5425 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5427 # Character class describing NM global symbol codes.
5428 symcode='[BCDEGRST]'
5430 # Regexp to match symbols that can be accessed directly from C.
5431 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5433 # Define system-specific variables.
5438 cygwin* | mingw* | pw32*)
5439 symcode='[ABCDGISTW]'
5442 if test "$host_cpu" = ia64; then
5443 symcode='[ABCDEGRST]'
5447 symcode='[BCDEGRST]'
5450 symcode='[BCDEGQRST]'
5461 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5469 # If we're using GNU nm, then use its standard symbol codes.
5470 case `$NM -V 2>&1` in
5471 *GNU* | *'with BFD'*)
5472 symcode='[ABCDGIRSTW]' ;;
5475 # Transform an extracted symbol line into a proper C declaration.
5476 # Some systems (esp. on ia64) link data and code symbols differently,
5477 # so use this general approach.
5478 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5480 # Transform an extracted symbol line into symbol name and symbol address
5481 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5482 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'"
5484 # Handle CRLF in mingw tool chain
5488 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5492 # Try without a prefix underscore, then with it.
5493 for ac_symprfx in "" "_"; do
5495 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5496 symxfrm="\\1 $ac_symprfx\\2 \\2"
5498 # Write the raw and C identifiers.
5499 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5500 # Fake it for dumpbin and say T for any non-static function
5501 # and D for any global variable.
5502 # Also find C++ and __fastcall symbols from MSVC++,
5503 # which start with @ or ?.
5504 lt_cv_sys_global_symbol_pipe="$AWK '"\
5505 " {last_section=section; section=\$ 3};"\
5506 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5507 " \$ 0!~/External *\|/{next};"\
5508 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5509 " {if(hide[section]) next};"\
5510 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5511 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5512 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5513 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5514 " ' prfx=^$ac_symprfx"
5516 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5519 # Check to see that the pipe works correctly.
5523 cat > conftest.$ac_ext <<_LT_EOF
5528 void nm_test_func(void);
5529 void nm_test_func(void){}
5533 int main(){nm_test_var='a';nm_test_func();return(0);}
5536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5537 (eval $ac_compile) 2>&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; then
5541 # Now try to grab the symbols.
5543 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5544 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } && test -s "$nlist"; then
5548 # Try sorting and uniquifying the output.
5549 if sort "$nlist" | uniq > "$nlist"T; then
5550 mv -f "$nlist"T "$nlist"
5555 # Make sure that we snagged all the symbols we need.
5556 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5557 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5558 cat <<_LT_EOF > conftest.$ac_ext
5564 # Now generate the symbol file.
5565 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5567 cat <<_LT_EOF >> conftest.$ac_ext
5569 /* The mapping between symbol names and symbols. */
5574 lt__PROGRAM__LTX_preloaded_symbols[] =
5576 { "@PROGRAM@", (void *) 0 },
5578 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5579 cat <<\_LT_EOF >> conftest.$ac_ext
5583 /* This works around a problem in FreeBSD linker */
5584 #ifdef FREEBSD_WORKAROUND
5585 static const void *lt_preloaded_setup() {
5586 return lt__PROGRAM__LTX_preloaded_symbols;
5594 # Now try linking the two files.
5595 mv conftest.$ac_objext conftstm.$ac_objext
5596 lt_save_LIBS="$LIBS"
5597 lt_save_CFLAGS="$CFLAGS"
5598 LIBS="conftstm.$ac_objext"
5599 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5601 (eval $ac_link) 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5607 LIBS="$lt_save_LIBS"
5608 CFLAGS="$lt_save_CFLAGS"
5610 echo "cannot find nm_test_func in $nlist" >&5
5613 echo "cannot find nm_test_var in $nlist" >&5
5616 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5619 echo "$progname: failed program was:" >&5
5620 cat conftest.$ac_ext >&5
5622 rm -rf conftest* conftst*
5624 # Do not use the global_symbol_pipe unless it works.
5625 if test "$pipe_works" = yes; then
5628 lt_cv_sys_global_symbol_pipe=
5634 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5635 lt_cv_sys_global_symbol_to_cdecl=
5637 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5638 { echo "$as_me:$LINENO: result: failed" >&5
5639 echo "${ECHO_T}failed" >&6; }
5641 { echo "$as_me:$LINENO: result: ok" >&5
5642 echo "${ECHO_T}ok" >&6; }
5667 # Check whether --enable-libtool-lock was given.
5668 if test "${enable_libtool_lock+set}" = set; then
5669 enableval=$enable_libtool_lock;
5672 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5674 # Some flags need to be propagated to the compiler or linker for good
5678 # Find out which ABI we are using.
5679 echo 'int i;' > conftest.$ac_ext
5680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; then
5685 case `/usr/bin/file conftest.$ac_objext` in
5697 # Find out which ABI we are using.
5698 echo '#line 5698 "configure"' > conftest.$ac_ext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 (eval $ac_compile) 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; then
5704 if test "$lt_cv_prog_gnu_ld" = yes; then
5705 case `/usr/bin/file conftest.$ac_objext` in
5707 LD="${LD-ld} -melf32bsmip"
5710 LD="${LD-ld} -melf32bmipn32"
5713 LD="${LD-ld} -melf64bmip"
5717 case `/usr/bin/file conftest.$ac_objext` in
5733 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5734 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5735 # Find out which ABI we are using.
5736 echo 'int i;' > conftest.$ac_ext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738 (eval $ac_compile) 2>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; then
5742 case `/usr/bin/file conftest.o` in
5745 x86_64-*kfreebsd*-gnu)
5746 LD="${LD-ld} -m elf_i386_fbsd"
5749 LD="${LD-ld} -m elf_i386"
5751 ppc64-*linux*|powerpc64-*linux*)
5752 LD="${LD-ld} -m elf32ppclinux"
5755 LD="${LD-ld} -m elf_s390"
5758 LD="${LD-ld} -m elf32_sparc"
5764 x86_64-*kfreebsd*-gnu)
5765 LD="${LD-ld} -m elf_x86_64_fbsd"
5768 LD="${LD-ld} -m elf_x86_64"
5770 ppc*-*linux*|powerpc*-*linux*)
5771 LD="${LD-ld} -m elf64ppc"
5773 s390*-*linux*|s390*-*tpf*)
5774 LD="${LD-ld} -m elf64_s390"
5777 LD="${LD-ld} -m elf64_sparc"
5787 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5788 SAVE_CFLAGS="$CFLAGS"
5789 CFLAGS="$CFLAGS -belf"
5790 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5791 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5792 if test "${lt_cv_cc_needs_belf+set}" = set; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 cat >conftest.$ac_ext <<_ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5816 rm -f conftest.$ac_objext conftest$ac_exeext
5817 if { (ac_try="$ac_link"
5819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5820 *) ac_try_echo=$ac_try;;
5822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5823 (eval "$ac_link") 2>conftest.er1
5825 grep -v '^ *+' conftest.er1 >conftest.err
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } && {
5830 test -z "$ac_c_werror_flag" ||
5831 test ! -s conftest.err
5832 } && test -s conftest$ac_exeext &&
5833 $as_test_x conftest$ac_exeext; then
5834 lt_cv_cc_needs_belf=yes
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5839 lt_cv_cc_needs_belf=no
5842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5843 conftest$ac_exeext conftest.$ac_ext
5845 ac_cpp='$CPP $CPPFLAGS'
5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5851 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5852 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5853 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5854 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5855 CFLAGS="$SAVE_CFLAGS"
5859 # Find out which ABI we are using.
5860 echo 'int i;' > conftest.$ac_ext
5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5862 (eval $ac_compile) 2>&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; then
5866 case `/usr/bin/file conftest.o` in
5868 case $lt_cv_prog_gnu_ld in
5869 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5871 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5883 need_locks="$enable_libtool_lock"
5887 rhapsody* | darwin*)
5888 if test -n "$ac_tool_prefix"; then
5889 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5890 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 if test -n "$DSYMUTIL"; then
5897 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5906 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5917 if test -n "$DSYMUTIL"; then
5918 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5919 echo "${ECHO_T}$DSYMUTIL" >&6; }
5921 { echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6; }
5927 if test -z "$ac_cv_prog_DSYMUTIL"; then
5928 ac_ct_DSYMUTIL=$DSYMUTIL
5929 # Extract the first word of "dsymutil", so it can be a program name with args.
5930 set dummy dsymutil; ac_word=$2
5931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5933 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 if test -n "$ac_ct_DSYMUTIL"; then
5937 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5946 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5957 if test -n "$ac_ct_DSYMUTIL"; then
5958 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5959 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5961 { echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6; }
5965 if test "x$ac_ct_DSYMUTIL" = x; then
5968 case $cross_compiling:$ac_tool_warned in
5970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5971 whose name does not start with the host triplet. If you think this
5972 configuration is useful to you, please write to autoconf@gnu.org." >&5
5973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5974 whose name does not start with the host triplet. If you think this
5975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5976 ac_tool_warned=yes ;;
5978 DSYMUTIL=$ac_ct_DSYMUTIL
5981 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5984 if test -n "$ac_tool_prefix"; then
5985 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5986 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5989 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 if test -n "$NMEDIT"; then
5993 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 NMEDIT=$ac_cv_prog_NMEDIT
6013 if test -n "$NMEDIT"; then
6014 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6015 echo "${ECHO_T}$NMEDIT" >&6; }
6017 { echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6; }
6023 if test -z "$ac_cv_prog_NMEDIT"; then
6024 ac_ct_NMEDIT=$NMEDIT
6025 # Extract the first word of "nmedit", so it can be a program name with args.
6026 set dummy nmedit; ac_word=$2
6027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6029 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 if test -n "$ac_ct_NMEDIT"; then
6033 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6053 if test -n "$ac_ct_NMEDIT"; then
6054 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6055 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6057 { echo "$as_me:$LINENO: result: no" >&5
6058 echo "${ECHO_T}no" >&6; }
6061 if test "x$ac_ct_NMEDIT" = x; then
6064 case $cross_compiling:$ac_tool_warned in
6066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6067 whose name does not start with the host triplet. If you think this
6068 configuration is useful to you, please write to autoconf@gnu.org." >&5
6069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6070 whose name does not start with the host triplet. If you think this
6071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6072 ac_tool_warned=yes ;;
6074 NMEDIT=$ac_ct_NMEDIT
6077 NMEDIT="$ac_cv_prog_NMEDIT"
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6085 if test "${ac_cv_prog_LIPO+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 if test -n "$LIPO"; then
6089 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 LIPO=$ac_cv_prog_LIPO
6109 if test -n "$LIPO"; then
6110 { echo "$as_me:$LINENO: result: $LIPO" >&5
6111 echo "${ECHO_T}$LIPO" >&6; }
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6119 if test -z "$ac_cv_prog_LIPO"; then
6121 # Extract the first word of "lipo", so it can be a program name with args.
6122 set dummy lipo; ac_word=$2
6123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6125 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6128 if test -n "$ac_ct_LIPO"; then
6129 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_ac_ct_LIPO="lipo"
6139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6149 if test -n "$ac_ct_LIPO"; then
6150 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6151 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6157 if test "x$ac_ct_LIPO" = x; then
6160 case $cross_compiling:$ac_tool_warned in
6162 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6163 whose name does not start with the host triplet. If you think this
6164 configuration is useful to you, please write to autoconf@gnu.org." >&5
6165 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6166 whose name does not start with the host triplet. If you think this
6167 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6168 ac_tool_warned=yes ;;
6173 LIPO="$ac_cv_prog_LIPO"
6176 if test -n "$ac_tool_prefix"; then
6177 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6178 set dummy ${ac_tool_prefix}otool; ac_word=$2
6179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6181 if test "${ac_cv_prog_OTOOL+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 if test -n "$OTOOL"; then
6185 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 OTOOL=$ac_cv_prog_OTOOL
6205 if test -n "$OTOOL"; then
6206 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6207 echo "${ECHO_T}$OTOOL" >&6; }
6209 { echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6; }
6215 if test -z "$ac_cv_prog_OTOOL"; then
6217 # Extract the first word of "otool", so it can be a program name with args.
6218 set dummy otool; ac_word=$2
6219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6221 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 if test -n "$ac_ct_OTOOL"; then
6225 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234 ac_cv_prog_ac_ct_OTOOL="otool"
6235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6245 if test -n "$ac_ct_OTOOL"; then
6246 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6247 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6249 { echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6; }
6253 if test "x$ac_ct_OTOOL" = x; then
6256 case $cross_compiling:$ac_tool_warned in
6258 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6259 whose name does not start with the host triplet. If you think this
6260 configuration is useful to you, please write to autoconf@gnu.org." >&5
6261 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6262 whose name does not start with the host triplet. If you think this
6263 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6264 ac_tool_warned=yes ;;
6269 OTOOL="$ac_cv_prog_OTOOL"
6272 if test -n "$ac_tool_prefix"; then
6273 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6274 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 if test -n "$OTOOL64"; then
6281 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 OTOOL64=$ac_cv_prog_OTOOL64
6301 if test -n "$OTOOL64"; then
6302 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6303 echo "${ECHO_T}$OTOOL64" >&6; }
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6311 if test -z "$ac_cv_prog_OTOOL64"; then
6312 ac_ct_OTOOL64=$OTOOL64
6313 # Extract the first word of "otool64", so it can be a program name with args.
6314 set dummy otool64; ac_word=$2
6315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6317 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 if test -n "$ac_ct_OTOOL64"; then
6321 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_ac_ct_OTOOL64="otool64"
6331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6341 if test -n "$ac_ct_OTOOL64"; then
6342 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6343 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6345 { echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6; }
6349 if test "x$ac_ct_OTOOL64" = x; then
6352 case $cross_compiling:$ac_tool_warned in
6354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6355 whose name does not start with the host triplet. If you think this
6356 configuration is useful to you, please write to autoconf@gnu.org." >&5
6357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6358 whose name does not start with the host triplet. If you think this
6359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6360 ac_tool_warned=yes ;;
6362 OTOOL64=$ac_ct_OTOOL64
6365 OTOOL64="$ac_cv_prog_OTOOL64"
6394 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6395 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6396 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 lt_cv_apple_cc_single_mod=no
6400 if test -z "${LT_MULTI_MODULE}"; then
6401 # By default we will add the -single_module flag. You can override
6402 # by either setting the environment variable LT_MULTI_MODULE
6403 # non-empty at configure time, or by adding -multi_module to the
6405 rm -rf libconftest.dylib*
6406 echo "int foo(void){return 1;}" > conftest.c
6407 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6408 -dynamiclib -Wl,-single_module conftest.c" >&5
6409 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6410 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6412 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6413 lt_cv_apple_cc_single_mod=yes
6415 cat conftest.err >&5
6417 rm -rf libconftest.dylib*
6421 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6422 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6423 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6424 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6425 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 lt_cv_ld_exported_symbols_list=no
6429 save_LDFLAGS=$LDFLAGS
6430 echo "_main" > conftest.sym
6431 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6432 cat >conftest.$ac_ext <<_ACEOF
6435 cat confdefs.h >>conftest.$ac_ext
6436 cat >>conftest.$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6447 rm -f conftest.$ac_objext conftest$ac_exeext
6448 if { (ac_try="$ac_link"
6450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6451 *) ac_try_echo=$ac_try;;
6453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6454 (eval "$ac_link") 2>conftest.er1
6456 grep -v '^ *+' conftest.er1 >conftest.err
6458 cat conftest.err >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } && {
6461 test -z "$ac_c_werror_flag" ||
6462 test ! -s conftest.err
6463 } && test -s conftest$ac_exeext &&
6464 $as_test_x conftest$ac_exeext; then
6465 lt_cv_ld_exported_symbols_list=yes
6467 echo "$as_me: failed program was:" >&5
6468 sed 's/^/| /' conftest.$ac_ext >&5
6470 lt_cv_ld_exported_symbols_list=no
6473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6474 conftest$ac_exeext conftest.$ac_ext
6475 LDFLAGS="$save_LDFLAGS"
6478 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6479 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6481 rhapsody* | darwin1.[012])
6482 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6484 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6485 darwin*) # darwin 5.x on
6486 # if running on 10.5 or later, the deployment target defaults
6487 # to the OS version, if on x86, and 10.4, the deployment
6488 # target defaults to 10.4. Don't you love it?
6489 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6490 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6491 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6493 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6495 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6499 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6500 _lt_dar_single_mod='$single_module'
6502 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6503 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6505 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6507 if test "$DSYMUTIL" != ":"; then
6508 _lt_dsymutil='~$DSYMUTIL $lib || :'
6516 ac_cpp='$CPP $CPPFLAGS'
6517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6520 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6521 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6522 # On Suns, sometimes $CPP names a directory.
6523 if test -n "$CPP" && test -d "$CPP"; then
6526 if test -z "$CPP"; then
6527 if test "${ac_cv_prog_CPP+set}" = set; then
6528 echo $ECHO_N "(cached) $ECHO_C" >&6
6530 # Double quotes because CPP needs to be expanded
6531 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6534 for ac_c_preproc_warn_flag in '' yes
6536 # Use a header file that comes with gcc, so configuring glibc
6537 # with a fresh cross-compiler works.
6538 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6539 # <limits.h> exists even on freestanding compilers.
6540 # On the NeXT, cc -E runs the code through the compiler's parser,
6541 # not just through cpp. "Syntax error" is here to catch this case.
6542 cat >conftest.$ac_ext <<_ACEOF
6545 cat confdefs.h >>conftest.$ac_ext
6546 cat >>conftest.$ac_ext <<_ACEOF
6547 /* end confdefs.h. */
6549 # include <limits.h>
6551 # include <assert.h>
6555 if { (ac_try="$ac_cpp conftest.$ac_ext"
6557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6558 *) ac_try_echo=$ac_try;;
6560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6563 grep -v '^ *+' conftest.er1 >conftest.err
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } >/dev/null && {
6568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6569 test ! -s conftest.err
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 # Broken: fails on valid input.
6580 rm -f conftest.err conftest.$ac_ext
6582 # OK, works on sane cases. Now check whether nonexistent headers
6583 # can be detected and how.
6584 cat >conftest.$ac_ext <<_ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 #include <ac_nonexistent.h>
6592 if { (ac_try="$ac_cpp conftest.$ac_ext"
6594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6595 *) ac_try_echo=$ac_try;;
6597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6600 grep -v '^ *+' conftest.er1 >conftest.err
6602 cat conftest.err >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } >/dev/null && {
6605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6606 test ! -s conftest.err
6608 # Broken: success on invalid input.
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6614 # Passes both tests.
6619 rm -f conftest.err conftest.$ac_ext
6622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6623 rm -f conftest.err conftest.$ac_ext
6624 if $ac_preproc_ok; then
6636 { echo "$as_me:$LINENO: result: $CPP" >&5
6637 echo "${ECHO_T}$CPP" >&6; }
6639 for ac_c_preproc_warn_flag in '' yes
6641 # Use a header file that comes with gcc, so configuring glibc
6642 # with a fresh cross-compiler works.
6643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6644 # <limits.h> exists even on freestanding compilers.
6645 # On the NeXT, cc -E runs the code through the compiler's parser,
6646 # not just through cpp. "Syntax error" is here to catch this case.
6647 cat >conftest.$ac_ext <<_ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6654 # include <limits.h>
6656 # include <assert.h>
6660 if { (ac_try="$ac_cpp conftest.$ac_ext"
6662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6663 *) ac_try_echo=$ac_try;;
6665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6668 grep -v '^ *+' conftest.er1 >conftest.err
6670 cat conftest.err >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } >/dev/null && {
6673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6674 test ! -s conftest.err
6678 echo "$as_me: failed program was:" >&5
6679 sed 's/^/| /' conftest.$ac_ext >&5
6681 # Broken: fails on valid input.
6685 rm -f conftest.err conftest.$ac_ext
6687 # OK, works on sane cases. Now check whether nonexistent headers
6688 # can be detected and how.
6689 cat >conftest.$ac_ext <<_ACEOF
6692 cat confdefs.h >>conftest.$ac_ext
6693 cat >>conftest.$ac_ext <<_ACEOF
6694 /* end confdefs.h. */
6695 #include <ac_nonexistent.h>
6697 if { (ac_try="$ac_cpp conftest.$ac_ext"
6699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6700 *) ac_try_echo=$ac_try;;
6702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6705 grep -v '^ *+' conftest.er1 >conftest.err
6707 cat conftest.err >&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); } >/dev/null && {
6710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6711 test ! -s conftest.err
6713 # Broken: success on invalid input.
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.$ac_ext >&5
6719 # Passes both tests.
6724 rm -f conftest.err conftest.$ac_ext
6727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6728 rm -f conftest.err conftest.$ac_ext
6729 if $ac_preproc_ok; then
6732 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6733 See \`config.log' for more details." >&5
6734 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6735 See \`config.log' for more details." >&2;}
6736 { (exit 1); exit 1; }; }
6740 ac_cpp='$CPP $CPPFLAGS'
6741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6746 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6747 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6748 if test "${ac_cv_header_stdc+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 cat >conftest.$ac_ext <<_ACEOF
6754 cat confdefs.h >>conftest.$ac_ext
6755 cat >>conftest.$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6770 rm -f conftest.$ac_objext
6771 if { (ac_try="$ac_compile"
6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6774 *) ac_try_echo=$ac_try;;
6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6777 (eval "$ac_compile") 2>conftest.er1
6779 grep -v '^ *+' conftest.er1 >conftest.err
6781 cat conftest.err >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); } && {
6784 test -z "$ac_c_werror_flag" ||
6785 test ! -s conftest.err
6786 } && test -s conftest.$ac_objext; then
6787 ac_cv_header_stdc=yes
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 ac_cv_header_stdc=no
6795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6797 if test $ac_cv_header_stdc = yes; then
6798 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6799 cat >conftest.$ac_ext <<_ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6809 $EGREP "memchr" >/dev/null 2>&1; then
6812 ac_cv_header_stdc=no
6818 if test $ac_cv_header_stdc = yes; then
6819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6820 cat >conftest.$ac_ext <<_ACEOF
6823 cat confdefs.h >>conftest.$ac_ext
6824 cat >>conftest.$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6830 $EGREP "free" >/dev/null 2>&1; then
6833 ac_cv_header_stdc=no
6839 if test $ac_cv_header_stdc = yes; then
6840 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6841 if test "$cross_compiling" = yes; then
6844 cat >conftest.$ac_ext <<_ACEOF
6847 cat confdefs.h >>conftest.$ac_ext
6848 cat >>conftest.$ac_ext <<_ACEOF
6849 /* end confdefs.h. */
6852 #if ((' ' & 0x0FF) == 0x020)
6853 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6854 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6856 # define ISLOWER(c) \
6857 (('a' <= (c) && (c) <= 'i') \
6858 || ('j' <= (c) && (c) <= 'r') \
6859 || ('s' <= (c) && (c) <= 'z'))
6860 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6863 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6868 for (i = 0; i < 256; i++)
6869 if (XOR (islower (i), ISLOWER (i))
6870 || toupper (i) != TOUPPER (i))
6875 rm -f conftest$ac_exeext
6876 if { (ac_try="$ac_link"
6878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6879 *) ac_try_echo=$ac_try;;
6881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6882 (eval "$ac_link") 2>&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6886 { (case "(($ac_try" in
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_try") 2>&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6897 echo "$as_me: program exited with status $ac_status" >&5
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.$ac_ext >&5
6902 ac_cv_header_stdc=no
6904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6910 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6911 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6912 if test $ac_cv_header_stdc = yes; then
6914 cat >>confdefs.h <<\_ACEOF
6915 #define STDC_HEADERS 1
6920 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6930 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6931 inttypes.h stdint.h unistd.h
6933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6934 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6939 cat >conftest.$ac_ext <<_ACEOF
6942 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6945 $ac_includes_default
6947 #include <$ac_header>
6949 rm -f conftest.$ac_objext
6950 if { (ac_try="$ac_compile"
6952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6953 *) ac_try_echo=$ac_try;;
6955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956 (eval "$ac_compile") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1 >conftest.err
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } && {
6963 test -z "$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6965 } && test -s conftest.$ac_objext; then
6966 eval "$as_ac_Header=yes"
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 eval "$as_ac_Header=no"
6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976 ac_res=`eval echo '${'$as_ac_Header'}'`
6977 { echo "$as_me:$LINENO: result: $ac_res" >&5
6978 echo "${ECHO_T}$ac_res" >&6; }
6979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6980 cat >>confdefs.h <<_ACEOF
6981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 for ac_header in dlfcn.h
6992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 cat >conftest.$ac_ext <<_ACEOF
7001 cat confdefs.h >>conftest.$ac_ext
7002 cat >>conftest.$ac_ext <<_ACEOF
7003 /* end confdefs.h. */
7004 $ac_includes_default
7006 #include <$ac_header>
7008 rm -f conftest.$ac_objext
7009 if { (ac_try="$ac_compile"
7011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7012 *) ac_try_echo=$ac_try;;
7014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7015 (eval "$ac_compile") 2>conftest.er1
7017 grep -v '^ *+' conftest.er1 >conftest.err
7019 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && {
7022 test -z "$ac_c_werror_flag" ||
7023 test ! -s conftest.err
7024 } && test -s conftest.$ac_objext; then
7025 eval "$as_ac_Header=yes"
7027 echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7030 eval "$as_ac_Header=no"
7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7035 ac_res=`eval echo '${'$as_ac_Header'}'`
7036 { echo "$as_me:$LINENO: result: $ac_res" >&5
7037 echo "${ECHO_T}$ac_res" >&6; }
7038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7039 cat >>confdefs.h <<_ACEOF
7040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7059 # Check whether --enable-shared was given.
7060 if test "${enable_shared+set}" = set; then
7061 enableval=$enable_shared; p=${PACKAGE-default}
7063 yes) enable_shared=yes ;;
7064 no) enable_shared=no ;;
7067 # Look at the argument we got. We use all the common list separators.
7068 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7069 for pkg in $enableval; do
7071 if test "X$pkg" = "X$p"; then
7090 # Check whether --enable-static was given.
7091 if test "${enable_static+set}" = set; then
7092 enableval=$enable_static; p=${PACKAGE-default}
7094 yes) enable_static=yes ;;
7095 no) enable_static=no ;;
7098 # Look at the argument we got. We use all the common list separators.
7099 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7100 for pkg in $enableval; do
7102 if test "X$pkg" = "X$p"; then
7122 # Check whether --with-pic was given.
7123 if test "${with_pic+set}" = set; then
7124 withval=$with_pic; pic_mode="$withval"
7130 test -z "$pic_mode" && pic_mode=default
7138 # Check whether --enable-fast-install was given.
7139 if test "${enable_fast_install+set}" = set; then
7140 enableval=$enable_fast_install; p=${PACKAGE-default}
7142 yes) enable_fast_install=yes ;;
7143 no) enable_fast_install=no ;;
7145 enable_fast_install=no
7146 # Look at the argument we got. We use all the common list separators.
7147 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7148 for pkg in $enableval; do
7150 if test "X$pkg" = "X$p"; then
7151 enable_fast_install=yes
7158 enable_fast_install=yes
7171 # This can be used to rebuild libtool when needed
7172 LIBTOOL_DEPS="$ltmain"
7174 # Always use our own libtool.
7175 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7201 test -z "$LN_S" && LN_S="ln -s"
7216 if test -n "${ZSH_VERSION+set}" ; then
7217 setopt NO_GLOB_SUBST
7220 { echo "$as_me:$LINENO: checking for objdir" >&5
7221 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7222 if test "${lt_cv_objdir+set}" = set; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 rm -f .libs 2>/dev/null
7226 mkdir .libs 2>/dev/null
7227 if test -d .libs; then
7230 # MS-DOS does not allow filenames that begin with a dot.
7233 rmdir .libs 2>/dev/null
7235 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7236 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7237 objdir=$lt_cv_objdir
7243 cat >>confdefs.h <<_ACEOF
7244 #define LT_OBJDIR "$lt_cv_objdir/"
7265 # AIX sometimes has problems with the GCC collect2 program. For some
7266 # reason, if we set the COLLECT_NAMES environment variable, the problems
7267 # vanish in a puff of smoke.
7268 if test "X${COLLECT_NAMES+set}" != Xset; then
7270 export COLLECT_NAMES
7275 # Sed substitution that helps us do robust quoting. It backslashifies
7276 # metacharacters that are still active within double-quoted strings.
7277 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7279 # Same as above, but do not quote variable references.
7280 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7282 # Sed substitution to delay expansion of an escaped shell variable in a
7283 # double_quote_subst'ed string.
7284 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7286 # Sed substitution to delay expansion of an escaped single quote.
7287 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7289 # Sed substitution to avoid accidental globbing in evaled expressions
7290 no_glob_subst='s/\*/\\\*/g'
7294 can_build_shared=yes
7296 # All known linkers require a `.a' archive for static linking (except MSVC,
7297 # which needs '.lib').
7300 with_gnu_ld="$lt_cv_prog_gnu_ld"
7303 old_CFLAGS="$CFLAGS"
7305 # Set sane defaults for various variables
7306 test -z "$CC" && CC=cc
7307 test -z "$LTCC" && LTCC=$CC
7308 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7309 test -z "$LD" && LD=ld
7310 test -z "$ac_objext" && ac_objext=o
7312 for cc_temp in $compiler""; do
7314 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7315 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7320 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7323 # Only perform the check for file, if the check method requires it
7324 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7325 case $deplibs_check_method in
7327 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7328 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7329 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7330 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7338 lt_save_MAGIC_CMD="$MAGIC_CMD"
7339 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7340 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7341 for ac_dir in $ac_dummy; do
7343 test -z "$ac_dir" && ac_dir=.
7344 if test -f $ac_dir/${ac_tool_prefix}file; then
7345 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7346 if test -n "$file_magic_test_file"; then
7347 case $deplibs_check_method in
7349 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7350 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7351 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7352 $EGREP "$file_magic_regex" > /dev/null; then
7357 *** Warning: the command libtool uses to detect shared libraries,
7358 *** $file_magic_cmd, produces output that libtool cannot recognize.
7359 *** The result is that libtool may fail to recognize shared libraries
7360 *** as such. This will affect the creation of libtool libraries that
7361 *** depend on shared libraries, but programs linked with such libtool
7362 *** libraries will work regardless of this problem. Nevertheless, you
7363 *** may want to report the problem to your system manager and/or to
7364 *** bug-libtool@gnu.org
7374 MAGIC_CMD="$lt_save_MAGIC_CMD"
7379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7380 if test -n "$MAGIC_CMD"; then
7381 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7382 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7384 { echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6; }
7392 if test -z "$lt_cv_path_MAGIC_CMD"; then
7393 if test -n "$ac_tool_prefix"; then
7394 { echo "$as_me:$LINENO: checking for file" >&5
7395 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7396 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7404 lt_save_MAGIC_CMD="$MAGIC_CMD"
7405 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7406 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7407 for ac_dir in $ac_dummy; do
7409 test -z "$ac_dir" && ac_dir=.
7410 if test -f $ac_dir/file; then
7411 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7412 if test -n "$file_magic_test_file"; then
7413 case $deplibs_check_method in
7415 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7416 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7417 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7418 $EGREP "$file_magic_regex" > /dev/null; then
7423 *** Warning: the command libtool uses to detect shared libraries,
7424 *** $file_magic_cmd, produces output that libtool cannot recognize.
7425 *** The result is that libtool may fail to recognize shared libraries
7426 *** as such. This will affect the creation of libtool libraries that
7427 *** depend on shared libraries, but programs linked with such libtool
7428 *** libraries will work regardless of this problem. Nevertheless, you
7429 *** may want to report the problem to your system manager and/or to
7430 *** bug-libtool@gnu.org
7440 MAGIC_CMD="$lt_save_MAGIC_CMD"
7445 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7446 if test -n "$MAGIC_CMD"; then
7447 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7448 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7450 { echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6; }
7464 # Use C for the default configuration in the libtool script
7468 ac_cpp='$CPP $CPPFLAGS'
7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7474 # Source file extension for C test sources.
7477 # Object file extension for compiled C test sources.
7481 # Code to be used in simple compile tests
7482 lt_simple_compile_test_code="int some_variable = 0;"
7484 # Code to be used in simple link tests
7485 lt_simple_link_test_code='int main(){return(0);}'
7493 # If no C compiler was specified, use CC.
7496 # If no C compiler flags were specified, use CFLAGS.
7497 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7499 # Allow CC to be a program name with arguments.
7502 # Save the default compiler, since it gets overwritten when the other
7503 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7504 compiler_DEFAULT=$CC
7506 # save warnings/boilerplate of simple test code
7507 ac_outfile=conftest.$ac_objext
7508 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7509 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7510 _lt_compiler_boilerplate=`cat conftest.err`
7513 ac_outfile=conftest.$ac_objext
7514 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7515 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7516 _lt_linker_boilerplate=`cat conftest.err`
7520 if test -n "$compiler"; then
7522 lt_prog_compiler_no_builtin_flag=
7524 if test "$GCC" = yes; then
7525 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7527 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7528 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7529 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6
7532 lt_cv_prog_compiler_rtti_exceptions=no
7533 ac_outfile=conftest.$ac_objext
7534 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7535 lt_compiler_flag="-fno-rtti -fno-exceptions"
7536 # Insert the option either (1) after the last *FLAGS variable, or
7537 # (2) before a word containing "conftest.", or (3) at the end.
7538 # Note that $ac_compile itself does not contain backslashes and begins
7539 # with a dollar sign (not a hyphen), so the echo should work correctly.
7540 # The option is referenced via a variable to avoid confusing sed.
7541 lt_compile=`echo "$ac_compile" | $SED \
7542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7544 -e 's:$: $lt_compiler_flag:'`
7545 (eval echo "\"\$as_me:7545: $lt_compile\"" >&5)
7546 (eval "$lt_compile" 2>conftest.err)
7548 cat conftest.err >&5
7549 echo "$as_me:7549: \$? = $ac_status" >&5
7550 if (exit $ac_status) && test -s "$ac_outfile"; then
7551 # The compiler can only warn and ignore the option if not recognized
7552 # So say no if there are warnings other than the usual output.
7553 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7554 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7555 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7556 lt_cv_prog_compiler_rtti_exceptions=yes
7562 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7563 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7565 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7566 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7578 lt_prog_compiler_wl=
7579 lt_prog_compiler_pic=
7580 lt_prog_compiler_static=
7582 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7583 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7585 if test "$GCC" = yes; then
7586 lt_prog_compiler_wl='-Wl,'
7587 lt_prog_compiler_static='-static'
7591 # All AIX code is PIC.
7592 if test "$host_cpu" = ia64; then
7593 # AIX 5 now supports IA64 processor
7594 lt_prog_compiler_static='-Bstatic'
7601 # see comment about AmigaOS4 .so support
7602 lt_prog_compiler_pic='-fPIC'
7605 # FIXME: we need at least 68020 code to build shared libraries, but
7606 # adding the `-m68020' flag to GCC prevents building anything better,
7608 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7613 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7614 # PIC is the default for these OSes.
7617 mingw* | cygwin* | pw32* | os2*)
7618 # This hack is so that the source file can tell whether it is being
7619 # built for inclusion in a dll (and should export symbols for example).
7620 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7621 # (--disable-auto-import) libraries
7622 lt_prog_compiler_pic='-DDLL_EXPORT'
7625 darwin* | rhapsody*)
7626 # PIC is the default on this platform
7627 # Common symbols not allowed in MH_DYLIB files
7628 lt_prog_compiler_pic='-fno-common'
7632 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7639 lt_prog_compiler_pic='-fPIC'
7645 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7646 # Instead, we relocate shared libraries at runtime.
7650 # Just because we use GCC doesn't mean we suddenly get shared libraries
7651 # on systems that don't support them.
7652 lt_prog_compiler_can_build_shared=no
7657 # QNX uses GNU C++, but need to define -shared option too, otherwise
7659 lt_prog_compiler_pic='-fPIC -shared'
7663 if test -d /usr/nec; then
7664 lt_prog_compiler_pic=-Kconform_pic
7669 lt_prog_compiler_pic='-fPIC'
7673 # PORTME Check for flag to pass linker flags through the system compiler.
7676 lt_prog_compiler_wl='-Wl,'
7677 if test "$host_cpu" = ia64; then
7678 # AIX 5 now supports IA64 processor
7679 lt_prog_compiler_static='-Bstatic'
7681 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7685 mingw* | cygwin* | pw32* | os2*)
7686 # This hack is so that the source file can tell whether it is being
7687 # built for inclusion in a dll (and should export symbols for example).
7688 lt_prog_compiler_pic='-DDLL_EXPORT'
7691 hpux9* | hpux10* | hpux11*)
7692 lt_prog_compiler_wl='-Wl,'
7693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7700 lt_prog_compiler_pic='+Z'
7703 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7704 lt_prog_compiler_static='${wl}-a ${wl}archive'
7707 irix5* | irix6* | nonstopux*)
7708 lt_prog_compiler_wl='-Wl,'
7709 # PIC (with -KPIC) is the default.
7710 lt_prog_compiler_static='-non_shared'
7713 linux* | k*bsd*-gnu)
7714 case $cc_basename in
7715 icc* | ecc* | ifort*)
7716 lt_prog_compiler_wl='-Wl,'
7717 lt_prog_compiler_pic='-KPIC'
7718 lt_prog_compiler_static='-static'
7720 pgcc* | pgf77* | pgf90* | pgf95*)
7721 # Portland Group compilers (*not* the Pentium gcc compiler,
7722 # which looks to be a dead project)
7723 lt_prog_compiler_wl='-Wl,'
7724 lt_prog_compiler_pic='-fpic'
7725 lt_prog_compiler_static='-Bstatic'
7728 lt_prog_compiler_wl='-Wl,'
7729 # All Alpha code is PIC.
7730 lt_prog_compiler_static='-non_shared'
7733 # IBM XL C 8.0/Fortran 10.1 on PPC
7734 lt_prog_compiler_wl='-Wl,'
7735 lt_prog_compiler_pic='-qpic'
7736 lt_prog_compiler_static='-qstaticlink'
7739 case `$CC -V 2>&1 | sed 5q` in
7742 lt_prog_compiler_pic='-KPIC'
7743 lt_prog_compiler_static='-Bstatic'
7744 lt_prog_compiler_wl='-Wl,'
7747 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7748 lt_prog_compiler_pic='-KPIC'
7749 lt_prog_compiler_static='-Bstatic'
7750 lt_prog_compiler_wl=''
7758 lt_prog_compiler_pic='-KPIC'
7759 lt_prog_compiler_static='-Bstatic'
7763 # QNX uses GNU C++, but need to define -shared option too, otherwise
7765 lt_prog_compiler_pic='-fPIC -shared'
7768 osf3* | osf4* | osf5*)
7769 lt_prog_compiler_wl='-Wl,'
7770 # All OSF/1 code is PIC.
7771 lt_prog_compiler_static='-non_shared'
7775 lt_prog_compiler_static='-non_shared'
7779 lt_prog_compiler_pic='-KPIC'
7780 lt_prog_compiler_static='-Bstatic'
7781 case $cc_basename in
7783 lt_prog_compiler_wl='-Qoption ld ';;
7785 lt_prog_compiler_wl='-Wl,';;
7790 lt_prog_compiler_wl='-Qoption ld '
7791 lt_prog_compiler_pic='-PIC'
7792 lt_prog_compiler_static='-Bstatic'
7795 sysv4 | sysv4.2uw2* | sysv4.3*)
7796 lt_prog_compiler_wl='-Wl,'
7797 lt_prog_compiler_pic='-KPIC'
7798 lt_prog_compiler_static='-Bstatic'
7802 if test -d /usr/nec ;then
7803 lt_prog_compiler_pic='-Kconform_pic'
7804 lt_prog_compiler_static='-Bstatic'
7808 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7809 lt_prog_compiler_wl='-Wl,'
7810 lt_prog_compiler_pic='-KPIC'
7811 lt_prog_compiler_static='-Bstatic'
7815 lt_prog_compiler_wl='-Wl,'
7816 lt_prog_compiler_can_build_shared=no
7820 lt_prog_compiler_pic='-pic'
7821 lt_prog_compiler_static='-Bstatic'
7825 lt_prog_compiler_can_build_shared=no
7831 # For platforms which do not support PIC, -DPIC is meaningless:
7833 lt_prog_compiler_pic=
7836 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7839 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7840 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7848 # Check to make sure the PIC flag actually works.
7850 if test -n "$lt_prog_compiler_pic"; then
7851 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7852 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7853 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7854 echo $ECHO_N "(cached) $ECHO_C" >&6
7856 lt_cv_prog_compiler_pic_works=no
7857 ac_outfile=conftest.$ac_objext
7858 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7859 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7860 # Insert the option either (1) after the last *FLAGS variable, or
7861 # (2) before a word containing "conftest.", or (3) at the end.
7862 # Note that $ac_compile itself does not contain backslashes and begins
7863 # with a dollar sign (not a hyphen), so the echo should work correctly.
7864 # The option is referenced via a variable to avoid confusing sed.
7865 lt_compile=`echo "$ac_compile" | $SED \
7866 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7868 -e 's:$: $lt_compiler_flag:'`
7869 (eval echo "\"\$as_me:7869: $lt_compile\"" >&5)
7870 (eval "$lt_compile" 2>conftest.err)
7872 cat conftest.err >&5
7873 echo "$as_me:7873: \$? = $ac_status" >&5
7874 if (exit $ac_status) && test -s "$ac_outfile"; then
7875 # The compiler can only warn and ignore the option if not recognized
7876 # So say no if there are warnings other than the usual output.
7877 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7878 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7879 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7880 lt_cv_prog_compiler_pic_works=yes
7886 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7887 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7889 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7890 case $lt_prog_compiler_pic in
7892 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7895 lt_prog_compiler_pic=
7896 lt_prog_compiler_can_build_shared=no
7907 # Check to make sure the static flag actually works.
7909 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7910 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7911 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7912 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 lt_cv_prog_compiler_static_works=no
7916 save_LDFLAGS="$LDFLAGS"
7917 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7918 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7919 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7920 # The linker can only warn and ignore the option if not recognized
7921 # So say no if there are warnings
7922 if test -s conftest.err; then
7923 # Append any errors to the config.log.
7924 cat conftest.err 1>&5
7925 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7926 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7927 if diff conftest.exp conftest.er2 >/dev/null; then
7928 lt_cv_prog_compiler_static_works=yes
7931 lt_cv_prog_compiler_static_works=yes
7935 LDFLAGS="$save_LDFLAGS"
7938 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7939 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7941 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7944 lt_prog_compiler_static=
7953 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7954 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7955 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 lt_cv_prog_compiler_c_o=no
7959 $RM -r conftest 2>/dev/null
7963 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7965 lt_compiler_flag="-o out/conftest2.$ac_objext"
7966 # Insert the option either (1) after the last *FLAGS variable, or
7967 # (2) before a word containing "conftest.", or (3) at the end.
7968 # Note that $ac_compile itself does not contain backslashes and begins
7969 # with a dollar sign (not a hyphen), so the echo should work correctly.
7970 lt_compile=`echo "$ac_compile" | $SED \
7971 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7972 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7973 -e 's:$: $lt_compiler_flag:'`
7974 (eval echo "\"\$as_me:7974: $lt_compile\"" >&5)
7975 (eval "$lt_compile" 2>out/conftest.err)
7977 cat out/conftest.err >&5
7978 echo "$as_me:7978: \$? = $ac_status" >&5
7979 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7981 # The compiler can only warn and ignore the option if not recognized
7982 # So say no if there are warnings
7983 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7984 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7985 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7986 lt_cv_prog_compiler_c_o=yes
7991 # SGI C++ compiler will create directory out/ii_files/ for
7992 # template instantiation
7993 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7994 $RM out/* && rmdir out
8000 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8001 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8008 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8009 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8010 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 lt_cv_prog_compiler_c_o=no
8014 $RM -r conftest 2>/dev/null
8018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8020 lt_compiler_flag="-o out/conftest2.$ac_objext"
8021 # Insert the option either (1) after the last *FLAGS variable, or
8022 # (2) before a word containing "conftest.", or (3) at the end.
8023 # Note that $ac_compile itself does not contain backslashes and begins
8024 # with a dollar sign (not a hyphen), so the echo should work correctly.
8025 lt_compile=`echo "$ac_compile" | $SED \
8026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8028 -e 's:$: $lt_compiler_flag:'`
8029 (eval echo "\"\$as_me:8029: $lt_compile\"" >&5)
8030 (eval "$lt_compile" 2>out/conftest.err)
8032 cat out/conftest.err >&5
8033 echo "$as_me:8033: \$? = $ac_status" >&5
8034 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8036 # The compiler can only warn and ignore the option if not recognized
8037 # So say no if there are warnings
8038 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8039 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8040 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8041 lt_cv_prog_compiler_c_o=yes
8046 # SGI C++ compiler will create directory out/ii_files/ for
8047 # template instantiation
8048 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8049 $RM out/* && rmdir out
8055 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8056 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8061 hard_links="nottested"
8062 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8063 # do not overwrite the value of need_locks provided by the user
8064 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8065 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8068 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8070 ln conftest.a conftest.b 2>&5 || hard_links=no
8071 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8072 { echo "$as_me:$LINENO: result: $hard_links" >&5
8073 echo "${ECHO_T}$hard_links" >&6; }
8074 if test "$hard_links" = no; then
8075 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8076 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8088 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8089 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8092 allow_undefined_flag=
8093 always_export_symbols=no
8095 archive_expsym_cmds=
8096 compiler_needs_object=no
8097 enable_shared_with_static_runtimes=no
8098 export_dynamic_flag_spec=
8099 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8100 hardcode_automatic=no
8102 hardcode_direct_absolute=no
8103 hardcode_libdir_flag_spec=
8104 hardcode_libdir_flag_spec_ld=
8105 hardcode_libdir_separator=
8107 hardcode_shlibpath_var=unsupported
8109 link_all_deplibs=unknown
8112 old_archive_from_new_cmds=
8113 old_archive_from_expsyms_cmds=
8114 thread_safe_flag_spec=
8115 whole_archive_flag_spec=
8116 # include_expsyms should be a list of space-separated symbols to be *always*
8117 # included in the symbol list
8119 # exclude_expsyms can be an extended regexp of symbols to exclude
8120 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8121 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8122 # as well as any symbol that contains `d'.
8123 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8124 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8125 # platforms (ab)use it in PIC code, but their linkers get confused if
8126 # the symbol is explicitly referenced. Since portable code cannot
8127 # rely on this symbol name, it's probably fine to never include it in
8128 # preloaded symbol tables.
8129 # Exclude shared library initialization/finalization symbols.
8130 extract_expsyms_cmds=
8133 cygwin* | mingw* | pw32*)
8134 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8135 # When not using gcc, we currently assume that we are using
8136 # Microsoft Visual C++.
8137 if test "$GCC" != yes; then
8142 # we just hope/assume this is gcc and not c89 (= MSVC++)
8151 if test "$with_gnu_ld" = yes; then
8152 # If archive_cmds runs LD, not CC, wlarc should be empty
8155 # Set some defaults for GNU ld with shared library support. These
8156 # are reset later if shared libraries are not supported. Putting them
8157 # here allows them to be overridden if necessary.
8158 runpath_var=LD_RUN_PATH
8159 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8160 export_dynamic_flag_spec='${wl}--export-dynamic'
8161 # ancient GNU ld didn't support --whole-archive et. al.
8162 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8163 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8165 whole_archive_flag_spec=
8167 supports_anon_versioning=no
8168 case `$LD -v 2>&1` in
8169 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8170 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8171 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8172 *\ 2.11.*) ;; # other 2.11 versions
8173 *) supports_anon_versioning=yes ;;
8176 # See if GNU ld supports shared libraries.
8179 # On AIX/PPC, the GNU linker is very broken
8180 if test "$host_cpu" != ia64; then
8184 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8185 *** to be unable to reliably create shared libraries on AIX.
8186 *** Therefore, libtool is disabling shared libraries support. If you
8187 *** really care for shared libraries, you may want to modify your PATH
8188 *** so that a non-GNU linker is found, and then restart.
8197 # see comment about AmigaOS4 .so support
8198 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8199 archive_expsym_cmds=''
8202 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)'
8203 hardcode_libdir_flag_spec='-L$libdir'
8204 hardcode_minus_L=yes
8210 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8211 allow_undefined_flag=unsupported
8212 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8213 # support --undefined. This deserves some investigation. FIXME
8214 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8220 cygwin* | mingw* | pw32*)
8221 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8222 # as there is no search path for DLLs.
8223 hardcode_libdir_flag_spec='-L$libdir'
8224 allow_undefined_flag=unsupported
8225 always_export_symbols=no
8226 enable_shared_with_static_runtimes=yes
8227 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8229 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8231 # If the export-symbols file already is a .def file (1st line
8232 # is EXPORTS), use it as is; otherwise, prepend...
8233 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8234 cp $export_symbols $output_objdir/$soname.def;
8236 echo EXPORTS > $output_objdir/$soname.def;
8237 cat $export_symbols >> $output_objdir/$soname.def;
8239 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8247 hardcode_shlibpath_var=no
8248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8249 export_dynamic_flag_spec='${wl}-E'
8250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8251 # Instead, shared libraries are loaded at an image base (0x10000000 by
8252 # default) and relocated if they conflict, which is a slow very memory
8253 # consuming and fragmenting process. To avoid this, we pick a random,
8254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8257 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'
8260 gnu* | linux* | tpf* | k*bsd*-gnu)
8262 if test "$host_os" = linux-dietlibc; then
8263 case $cc_basename in
8264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8268 && test "$tmp_diet" = no
8271 tmp_sharedflag='-shared'
8272 case $cc_basename,$host_cpu in
8273 pgcc*) # Portland Group C compiler
8274 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'
8275 tmp_addflag=' $pic_flag'
8277 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8278 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'
8279 tmp_addflag=' $pic_flag -Mnomain' ;;
8280 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8281 tmp_addflag=' -i_dynamic' ;;
8282 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8283 tmp_addflag=' -i_dynamic -nofor_main' ;;
8284 ifc* | ifort*) # Intel Fortran compiler
8285 tmp_addflag=' -nofor_main' ;;
8286 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8287 tmp_sharedflag='-qmkshrobj'
8290 case `$CC -V 2>&1 | sed 5q` in
8291 *Sun\ C*) # Sun C 5.9
8292 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'
8293 compiler_needs_object=yes
8294 tmp_sharedflag='-G' ;;
8295 *Sun\ F*) # Sun Fortran 8.3
8296 tmp_sharedflag='-G' ;;
8298 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 if test "x$supports_anon_versioning" = xyes; then
8301 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8303 echo "local: *; };" >> $output_objdir/$libname.ver~
8304 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8307 case $cc_basename in
8309 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8310 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8311 hardcode_libdir_flag_spec=
8312 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8313 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8314 if test "x$supports_anon_versioning" = xyes; then
8315 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8316 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8317 echo "local: *; };" >> $output_objdir/$libname.ver~
8318 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8328 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8329 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8333 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8338 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8342 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8343 *** create shared libraries on Solaris systems. Therefore, libtool
8344 *** is disabling shared libraries support. We urge you to upgrade GNU
8345 *** binutils to release 2.9.1 or newer. Another option is to modify
8346 *** your PATH or compiler configuration so that the native linker is
8347 *** used, and then restart.
8350 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8351 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8352 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8359 case `$LD -v 2>&1` in
8360 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8364 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8365 *** reliably create shared libraries on SCO systems. Therefore, libtool
8366 *** is disabling shared libraries support. We urge you to upgrade GNU
8367 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8368 *** your PATH or compiler configuration so that the native linker is
8369 *** used, and then restart.
8374 # For security reasons, it is highly recommended that you always
8375 # use absolute paths for naming shared libraries, and exclude the
8376 # DT_RUNPATH tag from executables and libraries. But doing so
8377 # requires that you compile everything twice, which is a pain.
8378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8380 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8381 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8390 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8393 hardcode_shlibpath_var=no
8397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8406 if test "$ld_shlibs" = no; then
8408 hardcode_libdir_flag_spec=
8409 export_dynamic_flag_spec=
8410 whole_archive_flag_spec=
8413 # PORTME fill in a description of your system's linker (not GNU ld)
8416 allow_undefined_flag=unsupported
8417 always_export_symbols=yes
8418 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'
8419 # Note: this linker hardcodes the directories in LIBPATH if there
8420 # are no directories specified by -L.
8421 hardcode_minus_L=yes
8422 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8423 # Neither direct hardcoding nor static linking is supported with a
8425 hardcode_direct=unsupported
8430 if test "$host_cpu" = ia64; then
8431 # On IA64, the linker does run time linking by default, so we don't
8432 # have to do anything special.
8433 aix_use_runtimelinking=no
8434 exp_sym_flag='-Bexport'
8437 # If we're using GNU nm, then we don't want the "-C" option.
8438 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8439 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8440 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'
8442 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'
8444 aix_use_runtimelinking=no
8446 # Test if we are trying to use run time linking or normal
8447 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8448 # need to do runtime linking.
8449 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8450 for ld_flag in $LDFLAGS; do
8451 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8452 aix_use_runtimelinking=yes
8459 exp_sym_flag='-bexport'
8460 no_entry_flag='-bnoentry'
8463 # When large executables or shared objects are built, AIX ld can
8464 # have problems creating the table of contents. If linking a library
8465 # or program results in "error TOC overflow" add -mminimal-toc to
8466 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8467 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8471 hardcode_direct_absolute=yes
8472 hardcode_libdir_separator=':'
8473 link_all_deplibs=yes
8474 file_list_spec='${wl}-f,'
8476 if test "$GCC" = yes; then
8477 case $host_os in aix4.[012]|aix4.[012].*)
8478 # We only want to do this on AIX 4.2 and lower, the check
8479 # below for broken collect2 doesn't work under 4.3+
8480 collect2name=`${CC} -print-prog-name=collect2`
8481 if test -f "$collect2name" &&
8482 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8484 # We have reworked collect2
8487 # We have old collect2
8488 hardcode_direct=unsupported
8489 # It fails to find uninstalled libraries when the uninstalled
8490 # path is not listed in the libpath. Setting hardcode_minus_L
8491 # to unsupported forces relinking
8492 hardcode_minus_L=yes
8493 hardcode_libdir_flag_spec='-L$libdir'
8494 hardcode_libdir_separator=
8498 shared_flag='-shared'
8499 if test "$aix_use_runtimelinking" = yes; then
8500 shared_flag="$shared_flag "'${wl}-G'
8504 if test "$host_cpu" = ia64; then
8505 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8506 # chokes on -Wl,-G. The following line is correct:
8509 if test "$aix_use_runtimelinking" = yes; then
8510 shared_flag='${wl}-G'
8512 shared_flag='${wl}-bM:SRE'
8517 # It seems that -bexpall does not export symbols beginning with
8518 # underscore (_), so it is better to generate a list of symbols to export.
8519 always_export_symbols=yes
8520 if test "$aix_use_runtimelinking" = yes; then
8521 # Warning - without using the other runtime loading flags (-brtl),
8522 # -berok will link without error, but may produce a broken library.
8523 allow_undefined_flag='-berok'
8524 # Determine the default libpath from the value encoded in an
8526 cat >conftest.$ac_ext <<_ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8541 rm -f conftest.$ac_objext conftest$ac_exeext
8542 if { (ac_try="$ac_link"
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_link") 2>conftest.er1
8550 grep -v '^ *+' conftest.er1 >conftest.err
8552 cat conftest.err >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } && {
8555 test -z "$ac_c_werror_flag" ||
8556 test ! -s conftest.err
8557 } && test -s conftest$ac_exeext &&
8558 $as_test_x conftest$ac_exeext; then
8560 lt_aix_libpath_sed='
8561 /Import File Strings/,/^$/ {
8567 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8568 # Check for a 64-bit object if we didn't find anything.
8569 if test -z "$aix_libpath"; then
8570 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.$ac_ext >&5
8579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8580 conftest$ac_exeext conftest.$ac_ext
8581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8583 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8584 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"
8586 if test "$host_cpu" = ia64; then
8587 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8588 allow_undefined_flag="-z nodefs"
8589 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"
8591 # Determine the default libpath from the value encoded in an
8593 cat >conftest.$ac_ext <<_ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8608 rm -f conftest.$ac_objext conftest$ac_exeext
8609 if { (ac_try="$ac_link"
8611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612 *) ac_try_echo=$ac_try;;
8614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 (eval "$ac_link") 2>conftest.er1
8617 grep -v '^ *+' conftest.er1 >conftest.err
8619 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } && {
8622 test -z "$ac_c_werror_flag" ||
8623 test ! -s conftest.err
8624 } && test -s conftest$ac_exeext &&
8625 $as_test_x conftest$ac_exeext; then
8627 lt_aix_libpath_sed='
8628 /Import File Strings/,/^$/ {
8634 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8635 # Check for a 64-bit object if we didn't find anything.
8636 if test -z "$aix_libpath"; then
8637 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8650 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8651 # Warning - without using the other run time loading flags,
8652 # -berok will link without error, but may produce a broken library.
8653 no_undefined_flag=' ${wl}-bernotok'
8654 allow_undefined_flag=' ${wl}-berok'
8655 # Exported symbols can be pulled into shared objects from archives
8656 whole_archive_flag_spec='$convenience'
8657 archive_cmds_need_lc=yes
8658 # This is similar to how AIX traditionally builds its shared libraries.
8659 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'
8667 # see comment about AmigaOS4 .so support
8668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669 archive_expsym_cmds=''
8672 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)'
8673 hardcode_libdir_flag_spec='-L$libdir'
8674 hardcode_minus_L=yes
8680 export_dynamic_flag_spec=-rdynamic
8683 cygwin* | mingw* | pw32*)
8684 # When not using gcc, we currently assume that we are using
8685 # Microsoft Visual C++.
8686 # hardcode_libdir_flag_spec is actually meaningless, as there is
8687 # no search path for DLLs.
8688 hardcode_libdir_flag_spec=' '
8689 allow_undefined_flag=unsupported
8690 # Tell ltmain to make .lib files, not .a files.
8692 # Tell ltmain to make .dll files, not .so files.
8694 # FIXME: Setting linknames here is a bad hack.
8695 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8696 # The linker will automatically build a .lib file if we build a DLL.
8697 old_archive_from_new_cmds='true'
8698 # FIXME: Should let the user specify the lib program.
8699 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8700 fix_srcfile_path='`cygpath -w "$srcfile"`'
8701 enable_shared_with_static_runtimes=yes
8704 darwin* | rhapsody*)
8707 archive_cmds_need_lc=no
8709 hardcode_automatic=yes
8710 hardcode_shlibpath_var=unsupported
8711 whole_archive_flag_spec=''
8712 link_all_deplibs=yes
8713 allow_undefined_flag="$_lt_dar_allow_undefined"
8714 if test "$GCC" = "yes"; then
8715 output_verbose_link_cmd=echo
8716 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8717 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8718 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}"
8719 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}"
8728 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8729 hardcode_libdir_flag_spec='-L$libdir'
8730 hardcode_shlibpath_var=no
8737 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8738 # support. Future versions do this automatically, but an explicit c++rt0.o
8739 # does not break anything, and helps significantly (at the cost of a little
8742 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8743 hardcode_libdir_flag_spec='-R$libdir'
8745 hardcode_shlibpath_var=no
8748 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8752 hardcode_minus_L=yes
8753 hardcode_shlibpath_var=no
8756 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8757 freebsd* | dragonfly*)
8758 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8759 hardcode_libdir_flag_spec='-R$libdir'
8761 hardcode_shlibpath_var=no
8765 if test "$GCC" = yes; then
8766 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'
8768 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'
8770 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8771 hardcode_libdir_separator=:
8774 # hardcode_minus_L: Not really in the search PATH,
8775 # but as the default location of the library.
8776 hardcode_minus_L=yes
8777 export_dynamic_flag_spec='${wl}-E'
8781 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8782 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8786 if test "$with_gnu_ld" = no; then
8787 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8788 hardcode_libdir_flag_spec_ld='+b $libdir'
8789 hardcode_libdir_separator=:
8791 hardcode_direct_absolute=yes
8792 export_dynamic_flag_spec='${wl}-E'
8793 # hardcode_minus_L: Not really in the search PATH,
8794 # but as the default location of the library.
8795 hardcode_minus_L=yes
8800 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8803 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8806 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8818 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8821 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8825 if test "$with_gnu_ld" = no; then
8826 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8827 hardcode_libdir_separator=:
8832 hardcode_shlibpath_var=no
8836 hardcode_direct_absolute=yes
8837 export_dynamic_flag_spec='${wl}-E'
8839 # hardcode_minus_L: Not really in the search PATH,
8840 # but as the default location of the library.
8841 hardcode_minus_L=yes
8847 irix5* | irix6* | nonstopux*)
8848 if test "$GCC" = yes; then
8849 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'
8850 # Try to use the -exported_symbol ld option, if it does not
8851 # work, assume that -exports_file does not work either and
8852 # implicitly export all symbols.
8853 save_LDFLAGS="$LDFLAGS"
8854 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8855 cat >conftest.$ac_ext <<_ACEOF
8858 rm -f conftest.$ac_objext conftest$ac_exeext
8859 if { (ac_try="$ac_link"
8861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8862 *) ac_try_echo=$ac_try;;
8864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865 (eval "$ac_link") 2>conftest.er1
8867 grep -v '^ *+' conftest.er1 >conftest.err
8869 cat conftest.err >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && {
8872 test -z "$ac_c_werror_flag" ||
8873 test ! -s conftest.err
8874 } && test -s conftest$ac_exeext &&
8875 $as_test_x conftest$ac_exeext; then
8876 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'
8879 echo "$as_me: failed program was:" >&5
8880 sed 's/^/| /' conftest.$ac_ext >&5
8885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8886 conftest$ac_exeext conftest.$ac_ext
8887 LDFLAGS="$save_LDFLAGS"
8889 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'
8890 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'
8892 archive_cmds_need_lc='no'
8893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8894 hardcode_libdir_separator=:
8896 link_all_deplibs=yes
8900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8903 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8905 hardcode_libdir_flag_spec='-R$libdir'
8907 hardcode_shlibpath_var=no
8911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8913 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8914 hardcode_libdir_separator=:
8915 hardcode_shlibpath_var=no
8922 if test -f /usr/libexec/ld.so; then
8924 hardcode_shlibpath_var=no
8925 hardcode_direct_absolute=yes
8926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8928 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8930 export_dynamic_flag_spec='${wl}-E'
8933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8935 hardcode_libdir_flag_spec='-R$libdir'
8938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8949 hardcode_libdir_flag_spec='-L$libdir'
8950 hardcode_minus_L=yes
8951 allow_undefined_flag=unsupported
8952 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'
8953 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8957 if test "$GCC" = yes; then
8958 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8959 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'
8961 allow_undefined_flag=' -expect_unresolved \*'
8962 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'
8964 archive_cmds_need_lc='no'
8965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8966 hardcode_libdir_separator=:
8969 osf4* | osf5*) # as osf3* with the addition of -msym flag
8970 if test "$GCC" = yes; then
8971 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8972 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'
8973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8975 allow_undefined_flag=' -expect_unresolved \*'
8976 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'
8977 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~
8978 $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'
8980 # Both c and cxx compiler support -rpath directly
8981 hardcode_libdir_flag_spec='-rpath $libdir'
8983 archive_cmds_need_lc='no'
8984 hardcode_libdir_separator=:
8988 no_undefined_flag=' -z defs'
8989 if test "$GCC" = yes; then
8991 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8993 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8995 case `$CC -V 2>&1` in
8998 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9000 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9004 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9006 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9010 hardcode_libdir_flag_spec='-R$libdir'
9011 hardcode_shlibpath_var=no
9013 solaris2.[0-5] | solaris2.[0-5].*) ;;
9015 # The compiler driver will combine and reorder linker options,
9016 # but understands `-z linker_flag'. GCC discards it without `$wl',
9017 # but is careful enough not to reorder.
9018 # Supported since Solaris 2.6 (maybe 2.5.1?)
9019 if test "$GCC" = yes; then
9020 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9022 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9026 link_all_deplibs=yes
9030 if test "x$host_vendor" = xsequent; then
9031 # Use $CC to link under sequent, because it throws in some extra .o
9032 # files that make .init and .fini sections work.
9033 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9035 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9037 hardcode_libdir_flag_spec='-L$libdir'
9039 hardcode_minus_L=yes
9040 hardcode_shlibpath_var=no
9044 case $host_vendor in
9046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9047 hardcode_direct=yes # is this really true???
9050 ## LD is ld it makes a PLAMLIB
9051 ## CC just makes a GrossModule.
9052 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9053 reload_cmds='$CC -r -o $output$reload_objs'
9057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9058 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9061 runpath_var='LD_RUN_PATH'
9062 hardcode_shlibpath_var=no
9066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9067 hardcode_shlibpath_var=no
9068 export_dynamic_flag_spec='-Bexport'
9072 if test -d /usr/nec; then
9073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9074 hardcode_shlibpath_var=no
9075 runpath_var=LD_RUN_PATH
9076 hardcode_runpath_var=yes
9081 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9082 no_undefined_flag='${wl}-z,text'
9083 archive_cmds_need_lc=no
9084 hardcode_shlibpath_var=no
9085 runpath_var='LD_RUN_PATH'
9087 if test "$GCC" = yes; then
9088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9096 sysv5* | sco3.2v5* | sco5v6*)
9097 # Note: We can NOT use -z defs as we might desire, because we do not
9098 # link with -lc, and that would cause any symbols used from libc to
9099 # always be unresolved, which means just about no library would
9100 # ever link correctly. If we're not using GNU ld we use -z text
9101 # though, which does catch some bad symbols but isn't as heavy-handed
9103 no_undefined_flag='${wl}-z,text'
9104 allow_undefined_flag='${wl}-z,nodefs'
9105 archive_cmds_need_lc=no
9106 hardcode_shlibpath_var=no
9107 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9108 hardcode_libdir_separator=':'
9109 link_all_deplibs=yes
9110 export_dynamic_flag_spec='${wl}-Bexport'
9111 runpath_var='LD_RUN_PATH'
9113 if test "$GCC" = yes; then
9114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9124 hardcode_libdir_flag_spec='-L$libdir'
9125 hardcode_shlibpath_var=no
9133 if test x$host_vendor = xsni; then
9135 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9136 export_dynamic_flag_spec='${wl}-Blargedynsym'
9142 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9143 echo "${ECHO_T}$ld_shlibs" >&6; }
9144 test "$ld_shlibs" = no && can_build_shared=no
9146 with_gnu_ld=$with_gnu_ld
9163 # Do we need to explicitly link libc?
9165 case "x$archive_cmds_need_lc" in
9167 # Assume -lc should be added
9168 archive_cmds_need_lc=yes
9170 if test "$enable_shared" = yes && test "$GCC" = yes; then
9171 case $archive_cmds in
9173 # FIXME: we may have to deal with multi-command sequences.
9176 # Test whether the compiler implicitly links with -lc since on some
9177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9178 # to ld, don't add -lc before -lgcc.
9179 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9180 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9185 (eval $ac_compile) 2>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } 2>conftest.err; then
9191 libobjs=conftest.$ac_objext
9193 wl=$lt_prog_compiler_wl
9194 pic_flag=$lt_prog_compiler_pic
9200 lt_save_allow_undefined_flag=$allow_undefined_flag
9201 allow_undefined_flag=
9202 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9203 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }
9208 archive_cmds_need_lc=no
9210 archive_cmds_need_lc=yes
9212 allow_undefined_flag=$lt_save_allow_undefined_flag
9214 cat conftest.err 1>&5
9217 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9218 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9381 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9382 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9384 if test "$GCC" = yes; then
9386 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9387 *) lt_awk_arg="/^libraries:/" ;;
9389 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9390 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9391 # if the path contains ";" then we assume it to be the separator
9392 # otherwise default to the standard path separator (i.e. ":") - it is
9393 # assumed that no part of a normal pathname contains ";" but that should
9394 # okay in the real world where ";" in dirpaths is itself problematic.
9395 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9397 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9399 # Ok, now we have the path, separated by spaces, we can step through it
9400 # and add multilib dir if necessary.
9401 lt_tmp_lt_search_path_spec=
9402 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9403 for lt_sys_path in $lt_search_path_spec; do
9404 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9405 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9407 test -d "$lt_sys_path" && \
9408 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9411 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9412 BEGIN {RS=" "; FS="/|\n";} {
9415 for (lt_i = NF; lt_i > 0; lt_i--) {
9416 if ($lt_i != "" && $lt_i != ".") {
9417 if ($lt_i == "..") {
9420 if (lt_count == 0) {
9421 lt_foo="/" $lt_i lt_foo;
9428 if (lt_foo != "") { lt_freq[lt_foo]++; }
9429 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9431 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9433 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9436 libname_spec='lib$name'
9444 shlibpath_overrides_runpath=unknown
9446 dynamic_linker="$host_os ld.so"
9447 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9448 need_lib_prefix=unknown
9449 hardcode_into_libs=no
9451 # when you set need_version to no, make sure it does not cause -set_version
9452 # flags to be left without arguments
9453 need_version=unknown
9458 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9459 shlibpath_var=LIBPATH
9461 # AIX 3 has no versioning support, so we append a major version to the name.
9462 soname_spec='${libname}${release}${shared_ext}$major'
9469 hardcode_into_libs=yes
9470 if test "$host_cpu" = ia64; then
9471 # AIX 5 supports IA64
9472 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9473 shlibpath_var=LD_LIBRARY_PATH
9475 # With GCC up to 2.95.x, collect2 would create an import file
9476 # for dependence libraries. The import file would start with
9477 # the line `#! .'. This would cause the generated library to
9478 # depend on `.', always an invalid library. This was fixed in
9479 # development snapshots of GCC prior to 3.0.
9481 aix4 | aix4.[01] | aix4.[01].*)
9482 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9484 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9491 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9492 # soname into executable. Probably we can add versioning support to
9493 # collect2, so additional links can be useful in future.
9494 if test "$aix_use_runtimelinking" = yes; then
9495 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9496 # instead of lib<name>.a to let people know that these are not
9497 # typical AIX shared libraries.
9498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 # We preserve .a as extension for shared libraries through AIX4.2
9501 # and later when we are not doing run time linking.
9502 library_names_spec='${libname}${release}.a $libname.a'
9503 soname_spec='${libname}${release}${shared_ext}$major'
9505 shlibpath_var=LIBPATH
9512 # Since July 2007 AmigaOS4 officially supports .so libraries.
9513 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9517 library_names_spec='$libname.ixlibrary $libname.a'
9518 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9519 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'
9525 library_names_spec='${libname}${shared_ext}'
9526 dynamic_linker="$host_os ld.so"
9527 shlibpath_var=LIBRARY_PATH
9533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534 soname_spec='${libname}${release}${shared_ext}$major'
9535 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9536 shlibpath_var=LD_LIBRARY_PATH
9537 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9538 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9539 # the default ld.so.conf also contains /usr/contrib/lib and
9540 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9541 # libtool to hard-code these into programs
9544 cygwin* | mingw* | pw32*)
9545 version_type=windows
9550 case $GCC,$host_os in
9551 yes,cygwin* | yes,mingw* | yes,pw32*)
9552 library_names_spec='$libname.dll.a'
9553 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9554 postinstall_cmds='base_file=`basename \${file}`~
9555 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9556 dldir=$destdir/`dirname \$dlpath`~
9557 test -d \$dldir || mkdir -p \$dldir~
9558 $install_prog $dir/$dlname \$dldir/$dlname~
9559 chmod a+x \$dldir/$dlname~
9560 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9561 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9563 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9564 dlpath=$dir/\$dldll~
9566 shlibpath_overrides_runpath=yes
9570 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9571 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9572 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9575 # MinGW DLLs use traditional 'lib' prefix
9576 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9577 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9578 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9579 # It is most probably a Windows format PATH printed by
9580 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9581 # path with ; separators, and with drive letters. We can handle the
9582 # drive letters (cygwin fileutils understands them), so leave them,
9583 # especially as we might pass files found there to a mingw objdump,
9584 # which wouldn't understand a cygwinified path. Ahh.
9585 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9587 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9591 # pw32 DLLs use 'pw' prefix rather than 'lib'
9592 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9601 dynamic_linker='Win32 ld.exe'
9602 # FIXME: first we should search . and the directory the executable is in
9606 darwin* | rhapsody*)
9607 dynamic_linker="$host_os dyld"
9611 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9612 soname_spec='${libname}${release}${major}$shared_ext'
9613 shlibpath_overrides_runpath=yes
9614 shlibpath_var=DYLD_LIBRARY_PATH
9615 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9618 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9626 soname_spec='${libname}${release}${shared_ext}$major'
9627 shlibpath_var=LD_LIBRARY_PATH
9634 freebsd* | dragonfly*)
9635 # DragonFly does not have aout. When/if they implement a new
9636 # versioning mechanism, adjust this.
9637 if test -x /usr/bin/objformat; then
9638 objformat=`/usr/bin/objformat`
9641 freebsd[123]*) objformat=aout ;;
9645 version_type=freebsd-$objformat
9646 case $version_type in
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9657 shlibpath_var=LD_LIBRARY_PATH
9660 shlibpath_overrides_runpath=yes
9662 freebsd3.[01]* | freebsdelf3.[01]*)
9663 shlibpath_overrides_runpath=yes
9664 hardcode_into_libs=yes
9666 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9667 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9668 shlibpath_overrides_runpath=no
9669 hardcode_into_libs=yes
9671 *) # from 4.6 on, and DragonFly
9672 shlibpath_overrides_runpath=yes
9673 hardcode_into_libs=yes
9682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9683 soname_spec='${libname}${release}${shared_ext}$major'
9684 shlibpath_var=LD_LIBRARY_PATH
9685 hardcode_into_libs=yes
9688 hpux9* | hpux10* | hpux11*)
9689 # Give a soname corresponding to the major version so that dld.sl refuses to
9690 # link against other versions.
9697 hardcode_into_libs=yes
9698 dynamic_linker="$host_os dld.so"
9699 shlibpath_var=LD_LIBRARY_PATH
9700 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 soname_spec='${libname}${release}${shared_ext}$major'
9703 if test "X$HPUX_IA64_MODE" = X32; then
9704 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9706 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9708 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9712 hardcode_into_libs=yes
9713 dynamic_linker="$host_os dld.sl"
9714 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9715 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9717 soname_spec='${libname}${release}${shared_ext}$major'
9718 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9719 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9723 dynamic_linker="$host_os dld.sl"
9724 shlibpath_var=SHLIB_PATH
9725 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec='${libname}${release}${shared_ext}$major'
9730 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9731 postinstall_cmds='chmod 555 $lib'
9738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9739 soname_spec='${libname}${release}${shared_ext}$major'
9740 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9741 shlibpath_var=LD_LIBRARY_PATH
9742 shlibpath_overrides_runpath=no
9743 hardcode_into_libs=yes
9746 irix5* | irix6* | nonstopux*)
9748 nonstopux*) version_type=nonstopux ;;
9750 if test "$lt_cv_prog_gnu_ld" = yes; then
9758 soname_spec='${libname}${release}${shared_ext}$major'
9759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9761 irix5* | nonstopux*)
9765 case $LD in # libtool.m4 will add one of these switches to LD
9766 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9767 libsuff= shlibsuff= libmagic=32-bit;;
9768 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9769 libsuff=32 shlibsuff=N32 libmagic=N32;;
9770 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9771 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9772 *) libsuff= shlibsuff= libmagic=never-match;;
9776 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9777 shlibpath_overrides_runpath=no
9778 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9779 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9780 hardcode_into_libs=yes
9783 # No shared lib support for Linux oldld, aout, or coff.
9784 linux*oldld* | linux*aout* | linux*coff*)
9788 # This must be Linux ELF.
9789 linux* | k*bsd*-gnu)
9793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec='${libname}${release}${shared_ext}$major'
9795 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9796 shlibpath_var=LD_LIBRARY_PATH
9797 shlibpath_overrides_runpath=no
9798 # Some binutils ld are patched to set DT_RUNPATH
9799 save_LDFLAGS=$LDFLAGS
9801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9803 cat >conftest.$ac_ext <<_ACEOF
9806 cat confdefs.h >>conftest.$ac_ext
9807 cat >>conftest.$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (ac_try="$ac_link"
9821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9822 *) ac_try_echo=$ac_try;;
9824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9825 (eval "$ac_link") 2>conftest.er1
9827 grep -v '^ *+' conftest.er1 >conftest.err
9829 cat conftest.err >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } && {
9832 test -z "$ac_c_werror_flag" ||
9833 test ! -s conftest.err
9834 } && test -s conftest$ac_exeext &&
9835 $as_test_x conftest$ac_exeext; then
9836 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9837 shlibpath_overrides_runpath=yes
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9848 conftest$ac_exeext conftest.$ac_ext
9849 LDFLAGS=$save_LDFLAGS
9852 # This implies no fast_install, which is unacceptable.
9853 # Some rework will be needed to allow for fast_install
9854 # before this can be enabled.
9855 hardcode_into_libs=yes
9857 # Append ld.so.conf contents to the search path
9858 if test -f /etc/ld.so.conf; then
9859 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' ' '`
9860 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9863 # We used to test for /lib/ld.so.1 and disable shared libraries on
9864 # powerpc, because MkLinux only supported shared libraries with the
9865 # GNU dynamic linker. Since this was broken with cross compilers,
9866 # most powerpc-linux boxes support dynamic linking these days and
9867 # people can always --disable-shared, the test was removed, and we
9868 # assume the GNU/Linux dynamic linker is in use.
9869 dynamic_linker='GNU/Linux ld.so'
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9878 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9879 dynamic_linker='NetBSD (a.out) ld.so'
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9882 soname_spec='${libname}${release}${shared_ext}$major'
9883 dynamic_linker='NetBSD ld.elf_so'
9885 shlibpath_var=LD_LIBRARY_PATH
9886 shlibpath_overrides_runpath=yes
9887 hardcode_into_libs=yes
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9893 shlibpath_var=LD_LIBRARY_PATH
9894 shlibpath_overrides_runpath=yes
9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9902 soname_spec='${libname}${release}${shared_ext}$major'
9903 shlibpath_var=LD_LIBRARY_PATH
9904 shlibpath_overrides_runpath=no
9905 hardcode_into_libs=yes
9906 dynamic_linker='ldqnx.so'
9911 sys_lib_dlsearch_path_spec="/usr/lib"
9913 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9915 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9916 *) need_version=no ;;
9918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9919 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9923 openbsd2.[89] | openbsd2.[89].*)
9924 shlibpath_overrides_runpath=no
9927 shlibpath_overrides_runpath=yes
9931 shlibpath_overrides_runpath=yes
9936 libname_spec='$name'
9939 library_names_spec='$libname${shared_ext} $libname.a'
9940 dynamic_linker='OS/2 ld.exe'
9941 shlibpath_var=LIBPATH
9944 osf3* | osf4* | osf5*)
9948 soname_spec='${libname}${release}${shared_ext}$major'
9949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9950 shlibpath_var=LD_LIBRARY_PATH
9951 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9952 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9964 soname_spec='${libname}${release}${shared_ext}$major'
9965 shlibpath_var=LD_LIBRARY_PATH
9966 shlibpath_overrides_runpath=yes
9967 hardcode_into_libs=yes
9968 # ldd complains unless libraries are executable
9969 postinstall_cmds='chmod +x $lib'
9974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9975 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9976 shlibpath_var=LD_LIBRARY_PATH
9977 shlibpath_overrides_runpath=yes
9978 if test "$with_gnu_ld" = yes; then
9986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9987 soname_spec='${libname}${release}${shared_ext}$major'
9988 shlibpath_var=LD_LIBRARY_PATH
9989 case $host_vendor in
9991 shlibpath_overrides_runpath=no
9993 runpath_var=LD_RUN_PATH
10001 shlibpath_overrides_runpath=no
10002 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10008 if test -d /usr/nec ;then
10010 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10011 soname_spec='$libname${shared_ext}.$major'
10012 shlibpath_var=LD_LIBRARY_PATH
10016 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10017 version_type=freebsd-elf
10020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10021 soname_spec='${libname}${release}${shared_ext}$major'
10022 shlibpath_var=LD_LIBRARY_PATH
10023 shlibpath_overrides_runpath=yes
10024 hardcode_into_libs=yes
10025 if test "$with_gnu_ld" = yes; then
10026 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10028 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10031 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10035 sys_lib_dlsearch_path_spec='/usr/lib'
10039 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10043 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044 shlibpath_var=LD_LIBRARY_PATH
10045 shlibpath_overrides_runpath=no
10046 hardcode_into_libs=yes
10051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052 soname_spec='${libname}${release}${shared_ext}$major'
10053 shlibpath_var=LD_LIBRARY_PATH
10060 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10061 echo "${ECHO_T}$dynamic_linker" >&6; }
10062 test "$dynamic_linker" = no && can_build_shared=no
10064 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10065 if test "$GCC" = yes; then
10066 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10069 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10070 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10072 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10073 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10162 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10163 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10165 if test -n "$hardcode_libdir_flag_spec" ||
10166 test -n "$runpath_var" ||
10167 test "X$hardcode_automatic" = "Xyes" ; then
10169 # We can hardcode non-existent directories.
10170 if test "$hardcode_direct" != no &&
10171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10172 # have to relink, otherwise we might link with an installed library
10173 # when we should be linking with a yet-to-be-installed one
10174 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10175 test "$hardcode_minus_L" != no; then
10176 # Linking always hardcodes the temporary library directory.
10177 hardcode_action=relink
10179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10180 hardcode_action=immediate
10183 # We cannot hardcode anything, or else we can only hardcode existing
10185 hardcode_action=unsupported
10187 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10188 echo "${ECHO_T}$hardcode_action" >&6; }
10190 if test "$hardcode_action" = relink ||
10191 test "$inherit_rpath" = yes; then
10192 # Fast installation is not supported
10193 enable_fast_install=no
10194 elif test "$shlibpath_overrides_runpath" = yes ||
10195 test "$enable_shared" = no; then
10196 # Fast installation is not necessary
10197 enable_fast_install=needless
10205 if test "x$enable_dlopen" != xyes; then
10206 enable_dlopen=unknown
10207 enable_dlopen_self=unknown
10208 enable_dlopen_self_static=unknown
10215 lt_cv_dlopen="load_add_on"
10217 lt_cv_dlopen_self=yes
10221 lt_cv_dlopen="LoadLibrary"
10226 lt_cv_dlopen="dlopen"
10231 # if libdl is installed we need to link against it
10232 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10233 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 ac_check_lib_save_LIBS=$LIBS
10239 cat >conftest.$ac_ext <<_ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10261 rm -f conftest.$ac_objext conftest$ac_exeext
10262 if { (ac_try="$ac_link"
10263 case "(($ac_try" in
10264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10265 *) ac_try_echo=$ac_try;;
10267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268 (eval "$ac_link") 2>conftest.er1
10270 grep -v '^ *+' conftest.er1 >conftest.err
10272 cat conftest.err >&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest$ac_exeext &&
10278 $as_test_x conftest$ac_exeext; then
10279 ac_cv_lib_dl_dlopen=yes
10281 echo "$as_me: failed program was:" >&5
10282 sed 's/^/| /' conftest.$ac_ext >&5
10284 ac_cv_lib_dl_dlopen=no
10287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_lib_save_LIBS
10291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10292 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10293 if test $ac_cv_lib_dl_dlopen = yes; then
10294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10297 lt_cv_dlopen="dyld"
10299 lt_cv_dlopen_self=yes
10306 { echo "$as_me:$LINENO: checking for shl_load" >&5
10307 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10308 if test "${ac_cv_func_shl_load+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.$ac_ext <<_ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10319 #define shl_load innocuous_shl_load
10321 /* System header to define __stub macros and hopefully few prototypes,
10322 which can conflict with char shl_load (); below.
10323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10324 <limits.h> exists even on freestanding compilers. */
10327 # include <limits.h>
10329 # include <assert.h>
10334 /* Override any GCC internal prototype to avoid an error.
10335 Use char because int might match the return type of a GCC
10336 builtin and then its argument prototype would still apply. */
10341 /* The GNU C library defines this for functions which it implements
10342 to always fail with ENOSYS. Some functions are actually named
10343 something starting with __ and the normal name is an alias. */
10344 #if defined __stub_shl_load || defined __stub___shl_load
10351 return shl_load ();
10356 rm -f conftest.$ac_objext conftest$ac_exeext
10357 if { (ac_try="$ac_link"
10358 case "(($ac_try" in
10359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10360 *) ac_try_echo=$ac_try;;
10362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363 (eval "$ac_link") 2>conftest.er1
10365 grep -v '^ *+' conftest.er1 >conftest.err
10367 cat conftest.err >&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); } && {
10370 test -z "$ac_c_werror_flag" ||
10371 test ! -s conftest.err
10372 } && test -s conftest$ac_exeext &&
10373 $as_test_x conftest$ac_exeext; then
10374 ac_cv_func_shl_load=yes
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 ac_cv_func_shl_load=no
10382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10383 conftest$ac_exeext conftest.$ac_ext
10385 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10386 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10387 if test $ac_cv_func_shl_load = yes; then
10388 lt_cv_dlopen="shl_load"
10390 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10391 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10392 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10395 ac_check_lib_save_LIBS=$LIBS
10397 cat >conftest.$ac_ext <<_ACEOF
10400 cat confdefs.h >>conftest.$ac_ext
10401 cat >>conftest.$ac_ext <<_ACEOF
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10414 return shl_load ();
10419 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (ac_try="$ac_link"
10421 case "(($ac_try" in
10422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10423 *) ac_try_echo=$ac_try;;
10425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10426 (eval "$ac_link") 2>conftest.er1
10428 grep -v '^ *+' conftest.er1 >conftest.err
10430 cat conftest.err >&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } && {
10433 test -z "$ac_c_werror_flag" ||
10434 test ! -s conftest.err
10435 } && test -s conftest$ac_exeext &&
10436 $as_test_x conftest$ac_exeext; then
10437 ac_cv_lib_dld_shl_load=yes
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10442 ac_cv_lib_dld_shl_load=no
10445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_lib_save_LIBS
10449 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10450 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10451 if test $ac_cv_lib_dld_shl_load = yes; then
10452 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10454 { echo "$as_me:$LINENO: checking for dlopen" >&5
10455 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10456 if test "${ac_cv_func_dlopen+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 cat >conftest.$ac_ext <<_ACEOF
10462 cat confdefs.h >>conftest.$ac_ext
10463 cat >>conftest.$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10465 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10467 #define dlopen innocuous_dlopen
10469 /* System header to define __stub macros and hopefully few prototypes,
10470 which can conflict with char dlopen (); below.
10471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10472 <limits.h> exists even on freestanding compilers. */
10475 # include <limits.h>
10477 # include <assert.h>
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10489 /* The GNU C library defines this for functions which it implements
10490 to always fail with ENOSYS. Some functions are actually named
10491 something starting with __ and the normal name is an alias. */
10492 #if defined __stub_dlopen || defined __stub___dlopen
10504 rm -f conftest.$ac_objext conftest$ac_exeext
10505 if { (ac_try="$ac_link"
10506 case "(($ac_try" in
10507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10508 *) ac_try_echo=$ac_try;;
10510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10511 (eval "$ac_link") 2>conftest.er1
10513 grep -v '^ *+' conftest.er1 >conftest.err
10515 cat conftest.err >&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } && {
10518 test -z "$ac_c_werror_flag" ||
10519 test ! -s conftest.err
10520 } && test -s conftest$ac_exeext &&
10521 $as_test_x conftest$ac_exeext; then
10522 ac_cv_func_dlopen=yes
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.$ac_ext >&5
10527 ac_cv_func_dlopen=no
10530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10531 conftest$ac_exeext conftest.$ac_ext
10533 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10534 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10535 if test $ac_cv_func_dlopen = yes; then
10536 lt_cv_dlopen="dlopen"
10538 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10539 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10540 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10541 echo $ECHO_N "(cached) $ECHO_C" >&6
10543 ac_check_lib_save_LIBS=$LIBS
10545 cat >conftest.$ac_ext <<_ACEOF
10548 cat confdefs.h >>conftest.$ac_ext
10549 cat >>conftest.$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10567 rm -f conftest.$ac_objext conftest$ac_exeext
10568 if { (ac_try="$ac_link"
10569 case "(($ac_try" in
10570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10571 *) ac_try_echo=$ac_try;;
10573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10574 (eval "$ac_link") 2>conftest.er1
10576 grep -v '^ *+' conftest.er1 >conftest.err
10578 cat conftest.err >&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } && {
10581 test -z "$ac_c_werror_flag" ||
10582 test ! -s conftest.err
10583 } && test -s conftest$ac_exeext &&
10584 $as_test_x conftest$ac_exeext; then
10585 ac_cv_lib_dl_dlopen=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10590 ac_cv_lib_dl_dlopen=no
10593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10594 conftest$ac_exeext conftest.$ac_ext
10595 LIBS=$ac_check_lib_save_LIBS
10597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10598 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10599 if test $ac_cv_lib_dl_dlopen = yes; then
10600 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10602 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10603 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10604 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 ac_check_lib_save_LIBS=$LIBS
10608 LIBS="-lsvld $LIBS"
10609 cat >conftest.$ac_ext <<_ACEOF
10612 cat confdefs.h >>conftest.$ac_ext
10613 cat >>conftest.$ac_ext <<_ACEOF
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10631 rm -f conftest.$ac_objext conftest$ac_exeext
10632 if { (ac_try="$ac_link"
10633 case "(($ac_try" in
10634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10635 *) ac_try_echo=$ac_try;;
10637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10638 (eval "$ac_link") 2>conftest.er1
10640 grep -v '^ *+' conftest.er1 >conftest.err
10642 cat conftest.err >&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_c_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest$ac_exeext &&
10648 $as_test_x conftest$ac_exeext; then
10649 ac_cv_lib_svld_dlopen=yes
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.$ac_ext >&5
10654 ac_cv_lib_svld_dlopen=no
10657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_lib_save_LIBS
10661 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10662 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10663 if test $ac_cv_lib_svld_dlopen = yes; then
10664 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10666 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10667 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10668 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 ac_check_lib_save_LIBS=$LIBS
10673 cat >conftest.$ac_ext <<_ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10690 return dld_link ();
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (ac_try="$ac_link"
10697 case "(($ac_try" in
10698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10699 *) ac_try_echo=$ac_try;;
10701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10702 (eval "$ac_link") 2>conftest.er1
10704 grep -v '^ *+' conftest.er1 >conftest.err
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } && {
10709 test -z "$ac_c_werror_flag" ||
10710 test ! -s conftest.err
10711 } && test -s conftest$ac_exeext &&
10712 $as_test_x conftest$ac_exeext; then
10713 ac_cv_lib_dld_dld_link=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ac_cv_lib_dld_dld_link=no
10721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10722 conftest$ac_exeext conftest.$ac_ext
10723 LIBS=$ac_check_lib_save_LIBS
10725 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10726 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10727 if test $ac_cv_lib_dld_dld_link = yes; then
10728 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10749 if test "x$lt_cv_dlopen" != xno; then
10755 case $lt_cv_dlopen in
10757 save_CPPFLAGS="$CPPFLAGS"
10758 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10760 save_LDFLAGS="$LDFLAGS"
10761 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10764 LIBS="$lt_cv_dlopen_libs $LIBS"
10766 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10767 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10768 if test "${lt_cv_dlopen_self+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 if test "$cross_compiling" = yes; then :
10772 lt_cv_dlopen_self=cross
10774 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10775 lt_status=$lt_dlunknown
10776 cat > conftest.$ac_ext <<_LT_EOF
10777 #line 10777 "configure"
10778 #include "confdefs.h"
10787 # define LT_DLGLOBAL RTLD_GLOBAL
10790 # define LT_DLGLOBAL DL_GLOBAL
10792 # define LT_DLGLOBAL 0
10796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10797 find out it does not work in some platform. */
10798 #ifndef LT_DLLAZY_OR_NOW
10800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10803 # define LT_DLLAZY_OR_NOW DL_LAZY
10806 # define LT_DLLAZY_OR_NOW RTLD_NOW
10809 # define LT_DLLAZY_OR_NOW DL_NOW
10811 # define LT_DLLAZY_OR_NOW 0
10819 extern "C" void exit (int);
10822 void fnord() { int i=42;}
10825 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10826 int status = $lt_dlunknown;
10830 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10831 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10832 /* dlclose (self); */
10840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10841 (eval $ac_link) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10845 (./conftest; exit; ) >&5 2>/dev/null
10847 case x$lt_status in
10848 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10849 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10850 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10853 # compilation failed
10854 lt_cv_dlopen_self=no
10861 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10862 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10864 if test "x$lt_cv_dlopen_self" = xyes; then
10865 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10866 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10867 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10868 if test "${lt_cv_dlopen_self_static+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 if test "$cross_compiling" = yes; then :
10872 lt_cv_dlopen_self_static=cross
10874 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10875 lt_status=$lt_dlunknown
10876 cat > conftest.$ac_ext <<_LT_EOF
10877 #line 10877 "configure"
10878 #include "confdefs.h"
10887 # define LT_DLGLOBAL RTLD_GLOBAL
10890 # define LT_DLGLOBAL DL_GLOBAL
10892 # define LT_DLGLOBAL 0
10896 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10897 find out it does not work in some platform. */
10898 #ifndef LT_DLLAZY_OR_NOW
10900 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10903 # define LT_DLLAZY_OR_NOW DL_LAZY
10906 # define LT_DLLAZY_OR_NOW RTLD_NOW
10909 # define LT_DLLAZY_OR_NOW DL_NOW
10911 # define LT_DLLAZY_OR_NOW 0
10919 extern "C" void exit (int);
10922 void fnord() { int i=42;}
10925 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10926 int status = $lt_dlunknown;
10930 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10931 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10932 /* dlclose (self); */
10940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10941 (eval $ac_link) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10945 (./conftest; exit; ) >&5 2>/dev/null
10947 case x$lt_status in
10948 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10949 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10950 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10953 # compilation failed
10954 lt_cv_dlopen_self_static=no
10961 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10962 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10965 CPPFLAGS="$save_CPPFLAGS"
10966 LDFLAGS="$save_LDFLAGS"
10971 case $lt_cv_dlopen_self in
10972 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10973 *) enable_dlopen_self=unknown ;;
10976 case $lt_cv_dlopen_self_static in
10977 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10978 *) enable_dlopen_self_static=unknown ;;
11000 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11001 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11002 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11003 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11004 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11005 { echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6; }
11008 # FIXME - insert some real tests, host_os isn't really good enough
11011 if test -n "$STRIP" ; then
11012 striplib="$STRIP -x"
11013 old_striplib="$STRIP -S"
11014 { echo "$as_me:$LINENO: result: yes" >&5
11015 echo "${ECHO_T}yes" >&6; }
11017 { echo "$as_me:$LINENO: result: no" >&5
11018 echo "${ECHO_T}no" >&6; }
11022 { echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6; }
11039 # Report which library types will actually be built
11040 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11041 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11042 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11043 echo "${ECHO_T}$can_build_shared" >&6; }
11045 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11046 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11047 test "$can_build_shared" = "no" && enable_shared=no
11049 # On AIX, shared libraries and static libraries use the same namespace, and
11050 # are all built from PIC.
11053 test "$enable_shared" = yes && enable_static=no
11054 if test -n "$RANLIB"; then
11055 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11056 postinstall_cmds='$RANLIB $lib'
11061 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11062 test "$enable_shared" = yes && enable_static=no
11066 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11067 echo "${ECHO_T}$enable_shared" >&6; }
11069 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11070 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11071 # Make sure either enable_shared or enable_static is yes.
11072 test "$enable_shared" = yes || enable_static=yes
11073 { echo "$as_me:$LINENO: result: $enable_static" >&5
11074 echo "${ECHO_T}$enable_static" >&6; }
11081 ac_cpp='$CPP $CPPFLAGS'
11082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11100 ac_config_commands="$ac_config_commands libtool"
11105 # Only expand once:
11109 # Checks for libraries.
11112 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11113 if test -n "$ac_tool_prefix"; then
11114 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11115 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 case $PKG_CONFIG in
11123 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11127 for as_dir in $PATH
11130 test -z "$as_dir" && as_dir=.
11131 for ac_exec_ext in '' $ac_executable_extensions; do
11132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11133 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11144 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11145 if test -n "$PKG_CONFIG"; then
11146 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11147 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11149 { echo "$as_me:$LINENO: result: no" >&5
11150 echo "${ECHO_T}no" >&6; }
11155 if test -z "$ac_cv_path_PKG_CONFIG"; then
11156 ac_pt_PKG_CONFIG=$PKG_CONFIG
11157 # Extract the first word of "pkg-config", so it can be a program name with args.
11158 set dummy pkg-config; ac_word=$2
11159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11161 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 case $ac_pt_PKG_CONFIG in
11166 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11170 for as_dir in $PATH
11173 test -z "$as_dir" && as_dir=.
11174 for ac_exec_ext in '' $ac_executable_extensions; do
11175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11176 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11187 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11188 if test -n "$ac_pt_PKG_CONFIG"; then
11189 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11190 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
11192 { echo "$as_me:$LINENO: result: no" >&5
11193 echo "${ECHO_T}no" >&6; }
11196 if test "x$ac_pt_PKG_CONFIG" = x; then
11199 case $cross_compiling:$ac_tool_warned in
11201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11202 whose name does not start with the host triplet. If you think this
11203 configuration is useful to you, please write to autoconf@gnu.org." >&5
11204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11205 whose name does not start with the host triplet. If you think this
11206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11207 ac_tool_warned=yes ;;
11209 PKG_CONFIG=$ac_pt_PKG_CONFIG
11212 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11216 if test -n "$PKG_CONFIG"; then
11217 _pkg_min_version=0.9.0
11218 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11219 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
11220 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11221 { echo "$as_me:$LINENO: result: yes" >&5
11222 echo "${ECHO_T}yes" >&6; }
11224 { echo "$as_me:$LINENO: result: no" >&5
11225 echo "${ECHO_T}no" >&6; }
11232 { echo "$as_me:$LINENO: checking for AUDIOSESSIONMGR" >&5
11233 echo $ECHO_N "checking for AUDIOSESSIONMGR... $ECHO_C" >&6; }
11235 if test -n "$PKG_CONFIG"; then
11236 if test -n "$AUDIOSESSIONMGR_CFLAGS"; then
11237 pkg_cv_AUDIOSESSIONMGR_CFLAGS="$AUDIOSESSIONMGR_CFLAGS"
11239 if test -n "$PKG_CONFIG" && \
11240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audio-session-mgr\"") >&5
11241 ($PKG_CONFIG --exists --print-errors "audio-session-mgr") 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; then
11245 pkg_cv_AUDIOSESSIONMGR_CFLAGS=`$PKG_CONFIG --cflags "audio-session-mgr" 2>/dev/null`
11253 if test -n "$PKG_CONFIG"; then
11254 if test -n "$AUDIOSESSIONMGR_LIBS"; then
11255 pkg_cv_AUDIOSESSIONMGR_LIBS="$AUDIOSESSIONMGR_LIBS"
11257 if test -n "$PKG_CONFIG" && \
11258 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audio-session-mgr\"") >&5
11259 ($PKG_CONFIG --exists --print-errors "audio-session-mgr") 2>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; then
11263 pkg_cv_AUDIOSESSIONMGR_LIBS=`$PKG_CONFIG --libs "audio-session-mgr" 2>/dev/null`
11274 if test $pkg_failed = yes; then
11276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11277 _pkg_short_errors_supported=yes
11279 _pkg_short_errors_supported=no
11281 if test $_pkg_short_errors_supported = yes; then
11282 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "audio-session-mgr"`
11284 AUDIOSESSIONMGR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "audio-session-mgr"`
11286 # Put the nasty error message in config.log where it belongs
11287 echo "$AUDIOSESSIONMGR_PKG_ERRORS" >&5
11289 { { echo "$as_me:$LINENO: error: Package requirements (audio-session-mgr) were not met:
11291 $AUDIOSESSIONMGR_PKG_ERRORS
11293 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11294 installed software in a non-standard prefix.
11296 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11297 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11298 See the pkg-config man page for more details.
11300 echo "$as_me: error: Package requirements (audio-session-mgr) were not met:
11302 $AUDIOSESSIONMGR_PKG_ERRORS
11304 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11305 installed software in a non-standard prefix.
11307 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11308 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11309 See the pkg-config man page for more details.
11311 { (exit 1); exit 1; }; }
11312 elif test $pkg_failed = untried; then
11313 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11314 is in your PATH or set the PKG_CONFIG environment variable to the full
11315 path to pkg-config.
11317 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11318 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11319 See the pkg-config man page for more details.
11321 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11322 See \`config.log' for more details." >&5
11323 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11324 is in your PATH or set the PKG_CONFIG environment variable to the full
11325 path to pkg-config.
11327 Alternatively, you may set the environment variables AUDIOSESSIONMGR_CFLAGS
11328 and AUDIOSESSIONMGR_LIBS to avoid the need to call pkg-config.
11329 See the pkg-config man page for more details.
11331 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11332 See \`config.log' for more details." >&2;}
11333 { (exit 1); exit 1; }; }
11335 AUDIOSESSIONMGR_CFLAGS=$pkg_cv_AUDIOSESSIONMGR_CFLAGS
11336 AUDIOSESSIONMGR_LIBS=$pkg_cv_AUDIOSESSIONMGR_LIBS
11337 { echo "$as_me:$LINENO: result: yes" >&5
11338 echo "${ECHO_T}yes" >&6; }
11346 { echo "$as_me:$LINENO: checking for MMCOMMON" >&5
11347 echo $ECHO_N "checking for MMCOMMON... $ECHO_C" >&6; }
11349 if test -n "$PKG_CONFIG"; then
11350 if test -n "$MMCOMMON_CFLAGS"; then
11351 pkg_cv_MMCOMMON_CFLAGS="$MMCOMMON_CFLAGS"
11353 if test -n "$PKG_CONFIG" && \
11354 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mm-common\"") >&5
11355 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; then
11359 pkg_cv_MMCOMMON_CFLAGS=`$PKG_CONFIG --cflags "mm-common" 2>/dev/null`
11367 if test -n "$PKG_CONFIG"; then
11368 if test -n "$MMCOMMON_LIBS"; then
11369 pkg_cv_MMCOMMON_LIBS="$MMCOMMON_LIBS"
11371 if test -n "$PKG_CONFIG" && \
11372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mm-common\"") >&5
11373 ($PKG_CONFIG --exists --print-errors "mm-common") 2>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; then
11377 pkg_cv_MMCOMMON_LIBS=`$PKG_CONFIG --libs "mm-common" 2>/dev/null`
11388 if test $pkg_failed = yes; then
11390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11391 _pkg_short_errors_supported=yes
11393 _pkg_short_errors_supported=no
11395 if test $_pkg_short_errors_supported = yes; then
11396 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mm-common"`
11398 MMCOMMON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mm-common"`
11400 # Put the nasty error message in config.log where it belongs
11401 echo "$MMCOMMON_PKG_ERRORS" >&5
11403 { { echo "$as_me:$LINENO: error: Package requirements (mm-common) were not met:
11405 $MMCOMMON_PKG_ERRORS
11407 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11408 installed software in a non-standard prefix.
11410 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11411 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11412 See the pkg-config man page for more details.
11414 echo "$as_me: error: Package requirements (mm-common) were not met:
11416 $MMCOMMON_PKG_ERRORS
11418 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11419 installed software in a non-standard prefix.
11421 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11422 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11423 See the pkg-config man page for more details.
11425 { (exit 1); exit 1; }; }
11426 elif test $pkg_failed = untried; then
11427 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11428 is in your PATH or set the PKG_CONFIG environment variable to the full
11429 path to pkg-config.
11431 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11432 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11433 See the pkg-config man page for more details.
11435 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11436 See \`config.log' for more details." >&5
11437 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11438 is in your PATH or set the PKG_CONFIG environment variable to the full
11439 path to pkg-config.
11441 Alternatively, you may set the environment variables MMCOMMON_CFLAGS
11442 and MMCOMMON_LIBS to avoid the need to call pkg-config.
11443 See the pkg-config man page for more details.
11445 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
11446 See \`config.log' for more details." >&2;}
11447 { (exit 1); exit 1; }; }
11449 MMCOMMON_CFLAGS=$pkg_cv_MMCOMMON_CFLAGS
11450 MMCOMMON_LIBS=$pkg_cv_MMCOMMON_LIBS
11451 { echo "$as_me:$LINENO: result: yes" >&5
11452 echo "${ECHO_T}yes" >&6; }
11458 # Checks for header files.
11459 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
11461 if test "${ac_cv_header_stdc+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 cat >conftest.$ac_ext <<_ACEOF
11467 cat confdefs.h >>conftest.$ac_ext
11468 cat >>conftest.$ac_ext <<_ACEOF
11469 /* end confdefs.h. */
11470 #include <stdlib.h>
11471 #include <stdarg.h>
11472 #include <string.h>
11483 rm -f conftest.$ac_objext
11484 if { (ac_try="$ac_compile"
11485 case "(($ac_try" in
11486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11487 *) ac_try_echo=$ac_try;;
11489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11490 (eval "$ac_compile") 2>conftest.er1
11492 grep -v '^ *+' conftest.er1 >conftest.err
11494 cat conftest.err >&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } && {
11497 test -z "$ac_c_werror_flag" ||
11498 test ! -s conftest.err
11499 } && test -s conftest.$ac_objext; then
11500 ac_cv_header_stdc=yes
11502 echo "$as_me: failed program was:" >&5
11503 sed 's/^/| /' conftest.$ac_ext >&5
11505 ac_cv_header_stdc=no
11508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11510 if test $ac_cv_header_stdc = yes; then
11511 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11512 cat >conftest.$ac_ext <<_ACEOF
11515 cat confdefs.h >>conftest.$ac_ext
11516 cat >>conftest.$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11518 #include <string.h>
11521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11522 $EGREP "memchr" >/dev/null 2>&1; then
11525 ac_cv_header_stdc=no
11531 if test $ac_cv_header_stdc = yes; then
11532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11533 cat >conftest.$ac_ext <<_ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <stdlib.h>
11542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11543 $EGREP "free" >/dev/null 2>&1; then
11546 ac_cv_header_stdc=no
11552 if test $ac_cv_header_stdc = yes; then
11553 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11554 if test "$cross_compiling" = yes; then
11557 cat >conftest.$ac_ext <<_ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11564 #include <stdlib.h>
11565 #if ((' ' & 0x0FF) == 0x020)
11566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11569 # define ISLOWER(c) \
11570 (('a' <= (c) && (c) <= 'i') \
11571 || ('j' <= (c) && (c) <= 'r') \
11572 || ('s' <= (c) && (c) <= 'z'))
11573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11581 for (i = 0; i < 256; i++)
11582 if (XOR (islower (i), ISLOWER (i))
11583 || toupper (i) != TOUPPER (i))
11588 rm -f conftest$ac_exeext
11589 if { (ac_try="$ac_link"
11590 case "(($ac_try" in
11591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11592 *) ac_try_echo=$ac_try;;
11594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11595 (eval "$ac_link") 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11599 { (case "(($ac_try" in
11600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11601 *) ac_try_echo=$ac_try;;
11603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11604 (eval "$ac_try") 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; }; then
11610 echo "$as_me: program exited with status $ac_status" >&5
11611 echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11614 ( exit $ac_status )
11615 ac_cv_header_stdc=no
11617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11623 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11624 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
11625 if test $ac_cv_header_stdc = yes; then
11627 cat >>confdefs.h <<\_ACEOF
11628 #define STDC_HEADERS 1
11637 for ac_header in sys/types.h sys/stat.h fcntl.h unistd.h
11639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11641 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 ac_res=`eval echo '${'$as_ac_Header'}'`
11647 { echo "$as_me:$LINENO: result: $ac_res" >&5
11648 echo "${ECHO_T}$ac_res" >&6; }
11650 # Is the header compilable?
11651 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11653 cat >conftest.$ac_ext <<_ACEOF
11656 cat confdefs.h >>conftest.$ac_ext
11657 cat >>conftest.$ac_ext <<_ACEOF
11658 /* end confdefs.h. */
11659 $ac_includes_default
11660 #include <$ac_header>
11662 rm -f conftest.$ac_objext
11663 if { (ac_try="$ac_compile"
11664 case "(($ac_try" in
11665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666 *) ac_try_echo=$ac_try;;
11668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11669 (eval "$ac_compile") 2>conftest.er1
11671 grep -v '^ *+' conftest.er1 >conftest.err
11673 cat conftest.err >&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); } && {
11676 test -z "$ac_c_werror_flag" ||
11677 test ! -s conftest.err
11678 } && test -s conftest.$ac_objext; then
11679 ac_header_compiler=yes
11681 echo "$as_me: failed program was:" >&5
11682 sed 's/^/| /' conftest.$ac_ext >&5
11684 ac_header_compiler=no
11687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11688 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11689 echo "${ECHO_T}$ac_header_compiler" >&6; }
11691 # Is the header present?
11692 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11694 cat >conftest.$ac_ext <<_ACEOF
11697 cat confdefs.h >>conftest.$ac_ext
11698 cat >>conftest.$ac_ext <<_ACEOF
11699 /* end confdefs.h. */
11700 #include <$ac_header>
11702 if { (ac_try="$ac_cpp conftest.$ac_ext"
11703 case "(($ac_try" in
11704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705 *) ac_try_echo=$ac_try;;
11707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11710 grep -v '^ *+' conftest.er1 >conftest.err
11712 cat conftest.err >&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); } >/dev/null && {
11715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11716 test ! -s conftest.err
11718 ac_header_preproc=yes
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.$ac_ext >&5
11723 ac_header_preproc=no
11726 rm -f conftest.err conftest.$ac_ext
11727 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11728 echo "${ECHO_T}$ac_header_preproc" >&6; }
11730 # So? What about this header?
11731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11737 ac_header_preproc=yes
11740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11753 ## --------------------------------- ##
11754 ## Report this to BUG-REPORT-ADDRESS ##
11755 ## --------------------------------- ##
11757 ) | sed "s/^/$as_me: WARNING: /" >&2
11760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 eval "$as_ac_Header=\$ac_header_preproc"
11767 ac_res=`eval echo '${'$as_ac_Header'}'`
11768 { echo "$as_me:$LINENO: result: $ac_res" >&5
11769 echo "${ECHO_T}$ac_res" >&6; }
11772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11773 cat >>confdefs.h <<_ACEOF
11774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11782 # Checks for typedefs, structures, and compiler characteristics.
11783 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
11784 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
11785 if test "${ac_cv_header_stdbool_h+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 cat >conftest.$ac_ext <<_ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11795 #include <stdbool.h>
11797 "error: bool is not defined"
11800 "error: false is not defined"
11803 "error: false is not 0"
11806 "error: true is not defined"
11809 "error: true is not 1"
11811 #ifndef __bool_true_false_are_defined
11812 "error: __bool_true_false_are_defined is not defined"
11815 struct s { _Bool s: 1; _Bool t; } s;
11817 char a[true == 1 ? 1 : -1];
11818 char b[false == 0 ? 1 : -1];
11819 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
11820 char d[(bool) 0.5 == true ? 1 : -1];
11822 char f[(_Bool) 0.0 == false ? 1 : -1];
11824 char h[sizeof (_Bool)];
11825 char i[sizeof s.t];
11826 enum { j = false, k = true, l = false * true, m = true * 256 };
11828 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
11829 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
11830 # if defined __xlc__ || defined __GNUC__
11831 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
11832 reported by James Lemley on 2005-10-05; see
11833 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
11834 This test is not quite right, since xlc is allowed to
11835 reject this program, as the initializer for xlcbug is
11836 not one of the forms that C requires support for.
11837 However, doing the test right would require a runtime
11838 test, and that would make cross-compilation harder.
11839 Let us hope that IBM fixes the xlc bug, and also adds
11840 support for this kind of constant expression. In the
11841 meantime, this test will reject xlc, which is OK, since
11842 our stdbool.h substitute should suffice. We also test
11843 this with GCC, where it should work, to detect more
11844 quickly whether someone messes up the test in the
11846 char digs[] = "0123456789";
11847 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
11849 /* Catch a bug in an HP-UX C compiler. See
11850 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
11851 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
11862 /* Refer to every declared value, to avoid compiler optimizations. */
11863 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
11864 + !m + !n + !o + !p + !q + !pq);
11870 rm -f conftest.$ac_objext
11871 if { (ac_try="$ac_compile"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 (eval "$ac_compile") 2>conftest.er1
11879 grep -v '^ *+' conftest.er1 >conftest.err
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } && {
11884 test -z "$ac_c_werror_flag" ||
11885 test ! -s conftest.err
11886 } && test -s conftest.$ac_objext; then
11887 ac_cv_header_stdbool_h=yes
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 ac_cv_header_stdbool_h=no
11895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11897 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
11898 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
11899 { echo "$as_me:$LINENO: checking for _Bool" >&5
11900 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
11901 if test "${ac_cv_type__Bool+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 cat >conftest.$ac_ext <<_ACEOF
11907 cat confdefs.h >>conftest.$ac_ext
11908 cat >>conftest.$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 $ac_includes_default
11911 typedef _Bool ac__type_new_;
11915 if ((ac__type_new_ *) 0)
11917 if (sizeof (ac__type_new_))
11923 rm -f conftest.$ac_objext
11924 if { (ac_try="$ac_compile"
11925 case "(($ac_try" in
11926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11927 *) ac_try_echo=$ac_try;;
11929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11930 (eval "$ac_compile") 2>conftest.er1
11932 grep -v '^ *+' conftest.er1 >conftest.err
11934 cat conftest.err >&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } && {
11937 test -z "$ac_c_werror_flag" ||
11938 test ! -s conftest.err
11939 } && test -s conftest.$ac_objext; then
11940 ac_cv_type__Bool=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11945 ac_cv_type__Bool=no
11948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11950 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
11951 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
11952 if test $ac_cv_type__Bool = yes; then
11954 cat >>confdefs.h <<_ACEOF
11955 #define HAVE__BOOL 1
11961 if test $ac_cv_header_stdbool_h = yes; then
11963 cat >>confdefs.h <<\_ACEOF
11964 #define HAVE_STDBOOL_H 1
11969 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11970 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
11971 if test "${ac_cv_c_const+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 cat >conftest.$ac_ext <<_ACEOF
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11984 /* FIXME: Include the comments suggested by Paul. */
11985 #ifndef __cplusplus
11986 /* Ultrix mips cc rejects this. */
11987 typedef int charset[2];
11989 /* SunOS 4.1.1 cc rejects this. */
11990 char const *const *pcpcc;
11992 /* NEC SVR4.0.2 mips cc rejects this. */
11993 struct point {int x, y;};
11994 static struct point const zero = {0,0};
11995 /* AIX XL C 1.02.0.0 rejects this.
11996 It does not let you subtract one const X* pointer from another in
11997 an arm of an if-expression whose if-part is not a constant
11999 const char *g = "string";
12000 pcpcc = &g + (g ? g-g : 0);
12001 /* HPUX 7.0 cc rejects these. */
12003 ppc = (char**) pcpcc;
12004 pcpcc = (char const *const *) ppc;
12005 { /* SCO 3.2v4 cc rejects this. */
12007 char const *s = 0 ? (char *) 0 : (char const *) 0;
12012 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12013 int x[] = {25, 17};
12014 const int *foo = &x[0];
12017 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12018 typedef const int *iptr;
12022 { /* AIX XL C 1.02.0.0 rejects this saying
12023 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12024 struct s { int j; const int *ap[3]; };
12025 struct s *b; b->j = 5;
12027 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12028 const int foo = 10;
12029 if (!foo) return 0;
12031 return !cs[0] && !zero.x;
12038 rm -f conftest.$ac_objext
12039 if { (ac_try="$ac_compile"
12040 case "(($ac_try" in
12041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12042 *) ac_try_echo=$ac_try;;
12044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12045 (eval "$ac_compile") 2>conftest.er1
12047 grep -v '^ *+' conftest.er1 >conftest.err
12049 cat conftest.err >&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } && {
12052 test -z "$ac_c_werror_flag" ||
12053 test ! -s conftest.err
12054 } && test -s conftest.$ac_objext; then
12057 echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.$ac_ext >&5
12063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12065 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12066 echo "${ECHO_T}$ac_cv_c_const" >&6; }
12067 if test $ac_cv_c_const = no; then
12069 cat >>confdefs.h <<\_ACEOF
12075 { echo "$as_me:$LINENO: checking for mode_t" >&5
12076 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
12077 if test "${ac_cv_type_mode_t+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 cat >conftest.$ac_ext <<_ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12086 $ac_includes_default
12087 typedef mode_t ac__type_new_;
12091 if ((ac__type_new_ *) 0)
12093 if (sizeof (ac__type_new_))
12099 rm -f conftest.$ac_objext
12100 if { (ac_try="$ac_compile"
12101 case "(($ac_try" in
12102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_compile") 2>conftest.er1
12108 grep -v '^ *+' conftest.er1 >conftest.err
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest.$ac_objext; then
12116 ac_cv_type_mode_t=yes
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 ac_cv_type_mode_t=no
12124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12126 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12127 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
12128 if test $ac_cv_type_mode_t = yes; then
12132 cat >>confdefs.h <<_ACEOF
12139 # Checks for library functions.
12141 #AC_CHECK_FUNCS([memset])
12143 ac_config_files="$ac_config_files Makefile mm-session.pc"
12145 cat >confcache <<\_ACEOF
12146 # This file is a shell script that caches the results of configure
12147 # tests run on this system so they can be shared between configure
12148 # scripts and configure runs, see configure's option --config-cache.
12149 # It is not useful on other systems. If it contains results you don't
12150 # want to keep, you may remove or edit it.
12152 # config.status only pays attention to the cache file if you give it
12153 # the --recheck option to rerun configure.
12155 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12156 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12157 # following values.
12161 # The following way of writing the cache mishandles newlines in values,
12162 # but we know of no workaround that is simple, portable, and efficient.
12163 # So, we kill variables containing newlines.
12164 # Ultrix sh set writes to stderr and can't be redirected directly,
12165 # and sets the high bit in the cache file unless we assign to the vars.
12167 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12168 eval ac_val=\$$ac_var
12172 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12173 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12176 _ | IFS | as_nl) ;; #(
12177 *) $as_unset $ac_var ;;
12183 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12184 *${as_nl}ac_space=\ *)
12185 # `set' does not quote correctly, so add quotes (double-quote
12186 # substitution turns \\\\ into \\, and sed turns \\ into \).
12189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12192 # `set' quotes correctly as required by POSIX, so do not add quotes.
12193 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12202 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12204 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12206 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12207 if test -w "$cache_file"; then
12208 test "x$cache_file" != "x/dev/null" &&
12209 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12210 echo "$as_me: updating cache $cache_file" >&6;}
12211 cat confcache >$cache_file
12213 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12214 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12219 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12220 # Let make expand exec_prefix.
12221 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12223 DEFS=-DHAVE_CONFIG_H
12227 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12228 # 1. Remove the extension, and $U if already installed.
12229 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12230 ac_i=`echo "$ac_i" | sed "$ac_script"`
12231 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12232 # will be set to the directory where LIBOBJS objects are built.
12233 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12234 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12236 LIBOBJS=$ac_libobjs
12238 LTLIBOBJS=$ac_ltlibobjs
12241 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12242 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12243 Usually this means the macro was only invoked conditionally." >&5
12244 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12245 Usually this means the macro was only invoked conditionally." >&2;}
12246 { (exit 1); exit 1; }; }
12248 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12249 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12250 Usually this means the macro was only invoked conditionally." >&5
12251 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12252 Usually this means the macro was only invoked conditionally." >&2;}
12253 { (exit 1); exit 1; }; }
12256 : ${CONFIG_STATUS=./config.status}
12257 ac_clean_files_save=$ac_clean_files
12258 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12259 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12260 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12261 cat >$CONFIG_STATUS <<_ACEOF
12263 # Generated by $as_me.
12264 # Run this file to recreate the current configuration.
12265 # Compiler output produced by configure, useful for debugging
12266 # configure, is in config.log if it exists.
12269 ac_cs_recheck=false
12271 SHELL=\${CONFIG_SHELL-$SHELL}
12274 cat >>$CONFIG_STATUS <<\_ACEOF
12275 ## --------------------- ##
12276 ## M4sh Initialization. ##
12277 ## --------------------- ##
12279 # Be more Bourne compatible
12280 DUALCASE=1; export DUALCASE # for MKS sh
12281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12284 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12285 # is contrary to our usage. Disable this feature.
12286 alias -g '${1+"$@"}'='"$@"'
12287 setopt NO_GLOB_SUBST
12289 case `(set -o) 2>/dev/null` in
12290 *posix*) set -o posix ;;
12299 # Avoid depending upon Character Ranges.
12300 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12301 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12302 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12303 as_cr_digits='0123456789'
12304 as_cr_alnum=$as_cr_Letters$as_cr_digits
12306 # The user is always right.
12307 if test "${PATH_SEPARATOR+set}" != set; then
12308 echo "#! /bin/sh" >conf$$.sh
12309 echo "exit 0" >>conf$$.sh
12311 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12319 # Support unset when possible.
12320 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12328 # We need space, tab and new line, in precisely that order. Quoting is
12329 # there to prevent editors from complaining about space-tab.
12330 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12331 # splitting by setting IFS to empty value.)
12336 # Find who we are. Look in the path if we contain no directory separator.
12338 *[\\/]* ) as_myself=$0 ;;
12339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12343 test -z "$as_dir" && as_dir=.
12344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12350 # We did not find ourselves, most probably we were run as `sh COMMAND'
12351 # in which case we are not to be found in the path.
12352 if test "x$as_myself" = x; then
12355 if test ! -f "$as_myself"; then
12356 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12357 { (exit 1); exit 1; }
12360 # Work around bugs in pre-3.0 UWIN ksh.
12361 for as_var in ENV MAIL MAILPATH
12362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12370 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12371 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12372 LC_TELEPHONE LC_TIME
12374 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12375 eval $as_var=C; export $as_var
12377 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12381 # Required to use basename.
12382 if expr a : '\(a\)' >/dev/null 2>&1 &&
12383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12390 as_basename=basename
12396 # Name of the executable.
12397 as_me=`$as_basename -- "$0" ||
12398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12399 X"$0" : 'X\(//\)$' \| \
12400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12402 sed '/^.*\/\([^/][^/]*\)\/*$/{
12421 as_lineno_1=$LINENO
12422 as_lineno_2=$LINENO
12423 test "x$as_lineno_1" != "x$as_lineno_2" &&
12424 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12427 # uniformly replaced by the line number. The first 'sed' inserts a
12428 # line-number line after each line using $LINENO; the second 'sed'
12429 # does the real work. The second script uses 'N' to pair each
12430 # line-number line with the line containing $LINENO, and appends
12431 # trailing '-' during substitution so that $LINENO is not a special
12432 # case at line end.
12433 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12434 # scripts with optimization help from Paolo Bonzini. Blame Lee
12435 # E. McMahon (1931-1989) for sed's syntax. :-)
12447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12450 ' >$as_me.lineno &&
12451 chmod +x "$as_me.lineno" ||
12452 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12453 { (exit 1); exit 1; }; }
12455 # Don't try to exec as it changes $[0], causing all sort of problems
12456 # (the dirname of $[0] is not the place where we might find the
12457 # original and so on. Autoconf is especially sensitive to this).
12458 . "./$as_me.lineno"
12459 # Exit status is that of the last command.
12464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12470 ECHO_C= ECHO_N= ECHO_T=
12471 case `echo -n x` in
12473 case `echo 'x\c'` in
12474 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12481 if expr a : '\(a\)' >/dev/null 2>&1 &&
12482 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12488 rm -f conf$$ conf$$.exe conf$$.file
12489 if test -d conf$$.dir; then
12490 rm -f conf$$.dir/conf$$.file
12496 if ln -s conf$$.file conf$$ 2>/dev/null; then
12498 # ... but there are two gotchas:
12499 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12500 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12501 # In both cases, we have to default to `cp -p'.
12502 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12504 elif ln conf$$.file conf$$ 2>/dev/null; then
12509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12510 rmdir conf$$.dir 2>/dev/null
12512 if mkdir -p . 2>/dev/null; then
12515 test -d ./-p && rmdir ./-p
12519 if test -x / >/dev/null 2>&1; then
12520 as_test_x='test -x'
12522 if ls -dL / >/dev/null 2>&1; then
12529 if test -d "$1"; then
12535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12536 ???[sx]*):;;*)false;;esac;fi
12540 as_executable_p=$as_test_x
12542 # Sed expression to map a string onto a valid CPP name.
12543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12545 # Sed expression to map a string onto a valid variable name.
12546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12551 # Save the log message, to keep $[0] and so on meaningful, and to
12552 # report actual input values of CONFIG_FILES etc. instead of their
12553 # values after options handling.
12555 This file was extended by MMSESSION $as_me 1.0, which was
12556 generated by GNU Autoconf 2.61. Invocation command line was
12558 CONFIG_FILES = $CONFIG_FILES
12559 CONFIG_HEADERS = $CONFIG_HEADERS
12560 CONFIG_LINKS = $CONFIG_LINKS
12561 CONFIG_COMMANDS = $CONFIG_COMMANDS
12564 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12569 cat >>$CONFIG_STATUS <<_ACEOF
12570 # Files that config.status was made for.
12571 config_files="$ac_config_files"
12572 config_headers="$ac_config_headers"
12573 config_commands="$ac_config_commands"
12577 cat >>$CONFIG_STATUS <<\_ACEOF
12579 \`$as_me' instantiates files from templates according to the
12580 current configuration.
12582 Usage: $0 [OPTIONS] [FILE]...
12584 -h, --help print this help, then exit
12585 -V, --version print version number and configuration settings, then exit
12586 -q, --quiet do not print progress messages
12587 -d, --debug don't remove temporary files
12588 --recheck update $as_me by reconfiguring in the same conditions
12589 --file=FILE[:TEMPLATE]
12590 instantiate the configuration file FILE
12591 --header=FILE[:TEMPLATE]
12592 instantiate the configuration header FILE
12594 Configuration files:
12597 Configuration headers:
12600 Configuration commands:
12603 Report bugs to <bug-autoconf@gnu.org>."
12606 cat >>$CONFIG_STATUS <<_ACEOF
12608 MMSESSION config.status 1.0
12609 configured by $0, generated by GNU Autoconf 2.61,
12610 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12612 Copyright (C) 2006 Free Software Foundation, Inc.
12613 This config.status script is free software; the Free Software Foundation
12614 gives unlimited permission to copy, distribute and modify it."
12622 cat >>$CONFIG_STATUS <<\_ACEOF
12623 # If no file are specified by the user, then we need to provide default
12624 # value. By we need to know if files were specified by the user.
12630 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12631 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12642 # Handling of the options.
12643 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12645 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12646 echo "$ac_cs_version"; exit ;;
12647 --debug | --debu | --deb | --de | --d | -d )
12649 --file | --fil | --fi | --f )
12651 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12652 ac_need_defaults=false;;
12653 --header | --heade | --head | --hea )
12655 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12656 ac_need_defaults=false;;
12658 # Conflict between --help and --header
12659 { echo "$as_me: error: ambiguous option: $1
12660 Try \`$0 --help' for more information." >&2
12661 { (exit 1); exit 1; }; };;
12662 --help | --hel | -h )
12663 echo "$ac_cs_usage"; exit ;;
12664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12665 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12668 # This is an error.
12669 -*) { echo "$as_me: error: unrecognized option: $1
12670 Try \`$0 --help' for more information." >&2
12671 { (exit 1); exit 1; }; } ;;
12673 *) ac_config_targets="$ac_config_targets $1"
12674 ac_need_defaults=false ;;
12680 ac_configure_extra_args=
12682 if $ac_cs_silent; then
12684 ac_configure_extra_args="$ac_configure_extra_args --silent"
12688 cat >>$CONFIG_STATUS <<_ACEOF
12689 if \$ac_cs_recheck; then
12690 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12691 CONFIG_SHELL=$SHELL
12692 export CONFIG_SHELL
12693 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12697 cat >>$CONFIG_STATUS <<\_ACEOF
12701 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12702 ## Running $as_me. ##
12708 cat >>$CONFIG_STATUS <<_ACEOF
12712 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12715 # The HP-UX ksh and POSIX shell print the target directory to stdout
12716 # if CDPATH is set.
12717 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12719 sed_quote_subst='$sed_quote_subst'
12720 double_quote_subst='$double_quote_subst'
12721 delay_variable_subst='$delay_variable_subst'
12722 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12723 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12724 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12725 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12726 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12727 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12728 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12729 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12730 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12731 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12732 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12733 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12734 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12735 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12736 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12737 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12738 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12739 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12740 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12741 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12742 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12743 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12744 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12745 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12746 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12747 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12748 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12749 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12750 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12751 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12752 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12753 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12754 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12755 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12756 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12757 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12758 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12759 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12760 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12761 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12762 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12763 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12764 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12765 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"`'
12766 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"`'
12767 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12768 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12769 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12770 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12771 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12772 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12773 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12774 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12775 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12776 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12777 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12778 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12779 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12780 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12781 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12782 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12783 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12784 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12785 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12786 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12787 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12788 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12789 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12790 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12791 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12792 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12793 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12794 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12795 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12796 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12797 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12798 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12799 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12800 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12801 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12802 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12803 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12804 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12805 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12806 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12807 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12808 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12809 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12810 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12811 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12812 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12813 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12814 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12815 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12816 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12817 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12818 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12819 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12820 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12821 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12822 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12823 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12824 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12825 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12826 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12827 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12828 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12829 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12830 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12831 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12832 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12833 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12834 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12835 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12836 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12837 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12838 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12841 LTCFLAGS='$LTCFLAGS'
12842 compiler='$compiler_DEFAULT'
12844 # Quote evaled strings.
12855 deplibs_check_method \
12864 lt_cv_sys_global_symbol_pipe \
12865 lt_cv_sys_global_symbol_to_cdecl \
12866 lt_cv_sys_global_symbol_to_c_name_address \
12867 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12870 lt_prog_compiler_no_builtin_flag \
12871 lt_prog_compiler_wl \
12872 lt_prog_compiler_pic \
12873 lt_prog_compiler_static \
12874 lt_cv_prog_compiler_c_o \
12882 export_dynamic_flag_spec \
12883 whole_archive_flag_spec \
12884 compiler_needs_object \
12886 allow_undefined_flag \
12887 no_undefined_flag \
12888 hardcode_libdir_flag_spec \
12889 hardcode_libdir_flag_spec_ld \
12890 hardcode_libdir_separator \
12895 variables_saved_for_relink \
12897 library_names_spec \
12902 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12903 *[\\\\\\\`\\"\\\$]*)
12904 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12907 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12912 # Double-quote double-evaled strings.
12913 for var in reload_cmds \
12914 old_postinstall_cmds \
12915 old_postuninstall_cmds \
12917 extract_expsyms_cmds \
12918 old_archive_from_new_cmds \
12919 old_archive_from_expsyms_cmds \
12921 archive_expsym_cmds \
12923 module_expsym_cmds \
12924 export_symbols_cmds \
12927 postuninstall_cmds \
12929 sys_lib_search_path_spec \
12930 sys_lib_dlsearch_path_spec; do
12931 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12932 *[\\\\\\\`\\"\\\$]*)
12933 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12936 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12941 # Fix-up fallback echo if it was mangled by the above quoting rules.
12943 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12947 ac_aux_dir='$ac_aux_dir'
12948 xsi_shell='$xsi_shell'
12949 lt_shell_append='$lt_shell_append'
12951 # See if we are running on zsh, and set the options which allow our
12952 # commands through without removal of \ escapes INIT.
12953 if test -n "\${ZSH_VERSION+set}" ; then
12954 setopt NO_GLOB_SUBST
12960 TIMESTAMP='$TIMESTAMP'
12969 cat >>$CONFIG_STATUS <<\_ACEOF
12971 # Handling of arguments.
12972 for ac_config_target in $ac_config_targets
12974 case $ac_config_target in
12975 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12976 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12977 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12978 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12979 "mm-session.pc") CONFIG_FILES="$CONFIG_FILES mm-session.pc" ;;
12981 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12982 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12983 { (exit 1); exit 1; }; };;
12988 # If the user did not use the arguments to specify the items to instantiate,
12989 # then the envvar interface is used. Set only those that are not.
12990 # We use the long form for the default assignment because of an extremely
12991 # bizarre bug on SunOS 4.1.3.
12992 if $ac_need_defaults; then
12993 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12994 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12995 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12998 # Have a temporary directory for convenience. Make it in the build tree
12999 # simply because there is no reason against having it here, and in addition,
13000 # creating and moving files from /tmp can sometimes cause problems.
13001 # Hook for its removal unless debugging.
13002 # Note that there is a small window in which the directory will not be cleaned:
13003 # after its creation but before its name has been assigned to `$tmp'.
13007 trap 'exit_status=$?
13008 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13010 trap '{ (exit 1); exit 1; }' 1 2 13 15
13012 # Create a (secure) tmp directory for tmp files.
13015 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13016 test -n "$tmp" && test -d "$tmp"
13019 tmp=./conf$$-$RANDOM
13020 (umask 077 && mkdir "$tmp")
13023 echo "$me: cannot create a temporary directory in ." >&2
13024 { (exit 1); exit 1; }
13028 # Set up the sed scripts for CONFIG_FILES section.
13031 # No need to generate the scripts if there are no CONFIG_FILES.
13032 # This happens for instance when ./config.status config.h
13033 if test -n "$CONFIG_FILES"; then
13040 for ac_last_try in false false false false false :; do
13041 cat >conf$$subs.sed <<_ACEOF
13042 SHELL!$SHELL$ac_delim
13043 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13044 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13045 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13046 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13047 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13048 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13049 exec_prefix!$exec_prefix$ac_delim
13050 prefix!$prefix$ac_delim
13051 program_transform_name!$program_transform_name$ac_delim
13052 bindir!$bindir$ac_delim
13053 sbindir!$sbindir$ac_delim
13054 libexecdir!$libexecdir$ac_delim
13055 datarootdir!$datarootdir$ac_delim
13056 datadir!$datadir$ac_delim
13057 sysconfdir!$sysconfdir$ac_delim
13058 sharedstatedir!$sharedstatedir$ac_delim
13059 localstatedir!$localstatedir$ac_delim
13060 includedir!$includedir$ac_delim
13061 oldincludedir!$oldincludedir$ac_delim
13062 docdir!$docdir$ac_delim
13063 infodir!$infodir$ac_delim
13064 htmldir!$htmldir$ac_delim
13065 dvidir!$dvidir$ac_delim
13066 pdfdir!$pdfdir$ac_delim
13067 psdir!$psdir$ac_delim
13068 libdir!$libdir$ac_delim
13069 localedir!$localedir$ac_delim
13070 mandir!$mandir$ac_delim
13071 DEFS!$DEFS$ac_delim
13072 ECHO_C!$ECHO_C$ac_delim
13073 ECHO_N!$ECHO_N$ac_delim
13074 ECHO_T!$ECHO_T$ac_delim
13075 LIBS!$LIBS$ac_delim
13076 build_alias!$build_alias$ac_delim
13077 host_alias!$host_alias$ac_delim
13078 target_alias!$target_alias$ac_delim
13079 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13080 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13081 INSTALL_DATA!$INSTALL_DATA$ac_delim
13082 am__isrc!$am__isrc$ac_delim
13083 CYGPATH_W!$CYGPATH_W$ac_delim
13084 PACKAGE!$PACKAGE$ac_delim
13085 VERSION!$VERSION$ac_delim
13086 ACLOCAL!$ACLOCAL$ac_delim
13087 AUTOCONF!$AUTOCONF$ac_delim
13088 AUTOMAKE!$AUTOMAKE$ac_delim
13089 AUTOHEADER!$AUTOHEADER$ac_delim
13090 MAKEINFO!$MAKEINFO$ac_delim
13091 install_sh!$install_sh$ac_delim
13092 STRIP!$STRIP$ac_delim
13093 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13094 mkdir_p!$mkdir_p$ac_delim
13096 SET_MAKE!$SET_MAKE$ac_delim
13097 am__leading_dot!$am__leading_dot$ac_delim
13098 AMTAR!$AMTAR$ac_delim
13099 am__tar!$am__tar$ac_delim
13100 am__untar!$am__untar$ac_delim
13102 CFLAGS!$CFLAGS$ac_delim
13103 LDFLAGS!$LDFLAGS$ac_delim
13104 CPPFLAGS!$CPPFLAGS$ac_delim
13105 ac_ct_CC!$ac_ct_CC$ac_delim
13106 EXEEXT!$EXEEXT$ac_delim
13107 OBJEXT!$OBJEXT$ac_delim
13108 DEPDIR!$DEPDIR$ac_delim
13109 am__include!$am__include$ac_delim
13110 am__quote!$am__quote$ac_delim
13111 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13112 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13113 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13114 CCDEPMODE!$CCDEPMODE$ac_delim
13115 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13116 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13117 LIBTOOL!$LIBTOOL$ac_delim
13118 build!$build$ac_delim
13119 build_cpu!$build_cpu$ac_delim
13120 build_vendor!$build_vendor$ac_delim
13121 build_os!$build_os$ac_delim
13122 host!$host$ac_delim
13123 host_cpu!$host_cpu$ac_delim
13124 host_vendor!$host_vendor$ac_delim
13125 host_os!$host_os$ac_delim
13127 GREP!$GREP$ac_delim
13128 EGREP!$EGREP$ac_delim
13129 FGREP!$FGREP$ac_delim
13131 DUMPBIN!$DUMPBIN$ac_delim
13132 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13134 LN_S!$LN_S$ac_delim
13136 RANLIB!$RANLIB$ac_delim
13137 lt_ECHO!$lt_ECHO$ac_delim
13138 DSYMUTIL!$DSYMUTIL$ac_delim
13141 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13143 elif $ac_last_try; then
13144 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13145 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13146 { (exit 1); exit 1; }; }
13148 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13152 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13153 if test -n "$ac_eof"; then
13154 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13155 ac_eof=`expr $ac_eof + 1`
13158 cat >>$CONFIG_STATUS <<_ACEOF
13159 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13160 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13163 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13164 s/^/s,@/; s/!/@,|#_!!_#|/
13167 s/'"$ac_delim"'$/,g/; t
13169 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13170 ' >>$CONFIG_STATUS <conf$$subs.sed
13171 rm -f conf$$subs.sed
13172 cat >>$CONFIG_STATUS <<_ACEOF
13178 for ac_last_try in false false false false false :; do
13179 cat >conf$$subs.sed <<_ACEOF
13180 NMEDIT!$NMEDIT$ac_delim
13181 LIPO!$LIPO$ac_delim
13182 OTOOL!$OTOOL$ac_delim
13183 OTOOL64!$OTOOL64$ac_delim
13185 PKG_CONFIG!$PKG_CONFIG$ac_delim
13186 AUDIOSESSIONMGR_CFLAGS!$AUDIOSESSIONMGR_CFLAGS$ac_delim
13187 AUDIOSESSIONMGR_LIBS!$AUDIOSESSIONMGR_LIBS$ac_delim
13188 MMCOMMON_CFLAGS!$MMCOMMON_CFLAGS$ac_delim
13189 MMCOMMON_LIBS!$MMCOMMON_LIBS$ac_delim
13190 LIBOBJS!$LIBOBJS$ac_delim
13191 LTLIBOBJS!$LTLIBOBJS$ac_delim
13194 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
13196 elif $ac_last_try; then
13197 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13198 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13199 { (exit 1); exit 1; }; }
13201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13205 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13206 if test -n "$ac_eof"; then
13207 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13208 ac_eof=`expr $ac_eof + 1`
13211 cat >>$CONFIG_STATUS <<_ACEOF
13212 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13216 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13217 s/^/s,@/; s/!/@,|#_!!_#|/
13220 s/'"$ac_delim"'$/,g/; t
13222 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13223 ' >>$CONFIG_STATUS <conf$$subs.sed
13224 rm -f conf$$subs.sed
13225 cat >>$CONFIG_STATUS <<_ACEOF
13232 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13233 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13234 # trailing colons and then remove the whole line if VPATH becomes empty
13235 # (actually we leave an empty line to preserve line numbers).
13236 if test "x$srcdir" = x.; then
13237 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13238 s/:*\$(srcdir):*/:/
13239 s/:*\${srcdir}:*/:/
13241 s/^\([^=]*=[ ]*\):*/\1/
13247 cat >>$CONFIG_STATUS <<\_ACEOF
13248 fi # test -n "$CONFIG_FILES"
13251 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13254 :[FHLC]) ac_mode=$ac_tag; continue;;
13256 case $ac_mode$ac_tag in
13258 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13259 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13260 { (exit 1); exit 1; }; };;
13261 :[FH]-) ac_tag=-:-;;
13262 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13279 -) ac_f="$tmp/stdin";;
13280 *) # Look for the file first in the build tree, then in the source tree
13281 # (if the path is not absolute). The absolute path cannot be DOS-style,
13282 # because $ac_f cannot contain `:'.
13286 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13288 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13289 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13290 { (exit 1); exit 1; }; };;
13292 ac_file_inputs="$ac_file_inputs $ac_f"
13295 # Let's still pretend it is `configure' which instantiates (i.e., don't
13296 # use $as_me), people would be surprised to read:
13297 # /* config.h. Generated by config.status. */
13298 configure_input="Generated from "`IFS=:
13299 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13300 if test x"$ac_file" != x-; then
13301 configure_input="$ac_file. $configure_input"
13302 { echo "$as_me:$LINENO: creating $ac_file" >&5
13303 echo "$as_me: creating $ac_file" >&6;}
13307 *:-:* | *:-) cat >"$tmp/stdin";;
13312 ac_dir=`$as_dirname -- "$ac_file" ||
13313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13314 X"$ac_file" : 'X\(//\)[^/]' \| \
13315 X"$ac_file" : 'X\(//\)$' \| \
13316 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13322 /^X\(\/\/\)[^/].*/{
13337 -*) as_dir=./$as_dir;;
13339 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13343 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13344 *) as_qdir=$as_dir;;
13346 as_dirs="'$as_qdir' $as_dirs"
13347 as_dir=`$as_dirname -- "$as_dir" ||
13348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13349 X"$as_dir" : 'X\(//\)[^/]' \| \
13350 X"$as_dir" : 'X\(//\)$' \| \
13351 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13357 /^X\(\/\/\)[^/].*/{
13370 test -d "$as_dir" && break
13372 test -z "$as_dirs" || eval "mkdir $as_dirs"
13373 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13374 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13375 { (exit 1); exit 1; }; }; }
13379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13381 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13382 # A ".." for each directory in $ac_dir_suffix.
13383 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13384 case $ac_top_builddir_sub in
13385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13389 ac_abs_top_builddir=$ac_pwd
13390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13391 # for backward compatibility:
13392 ac_top_builddir=$ac_top_build_prefix
13395 .) # We are building in place.
13397 ac_top_srcdir=$ac_top_builddir_sub
13398 ac_abs_top_srcdir=$ac_pwd ;;
13399 [\\/]* | ?:[\\/]* ) # Absolute name.
13400 ac_srcdir=$srcdir$ac_dir_suffix;
13401 ac_top_srcdir=$srcdir
13402 ac_abs_top_srcdir=$srcdir ;;
13403 *) # Relative name.
13404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13405 ac_top_srcdir=$ac_top_build_prefix$srcdir
13406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13418 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13419 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13421 ac_MKDIR_P=$MKDIR_P
13423 [\\/$]* | ?:[\\/]* ) ;;
13424 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13428 cat >>$CONFIG_STATUS <<\_ACEOF
13429 # If the template does not know about datarootdir, expand it.
13430 # FIXME: This hack should be removed a few years after 2.60.
13431 ac_datarootdir_hack=; ac_datarootdir_seen=
13433 case `sed -n '/datarootdir/ {
13442 ' $ac_file_inputs` in
13443 *datarootdir*) ac_datarootdir_seen=yes;;
13444 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13445 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13446 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13448 cat >>$CONFIG_STATUS <<_ACEOF
13449 ac_datarootdir_hack='
13450 s&@datadir@&$datadir&g
13451 s&@docdir@&$docdir&g
13452 s&@infodir@&$infodir&g
13453 s&@localedir@&$localedir&g
13454 s&@mandir@&$mandir&g
13455 s&\\\${datarootdir}&$datarootdir&g' ;;
13459 # Neutralize VPATH when `$srcdir' = `.'.
13460 # Shell code in configure.ac might set extrasub.
13461 # FIXME: do we really want to maintain this feature?
13462 cat >>$CONFIG_STATUS <<_ACEOF
13466 cat >>$CONFIG_STATUS <<\_ACEOF
13468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13469 s&@configure_input@&$configure_input&;t t
13470 s&@top_builddir@&$ac_top_builddir_sub&;t t
13471 s&@srcdir@&$ac_srcdir&;t t
13472 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13473 s&@top_srcdir@&$ac_top_srcdir&;t t
13474 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13475 s&@builddir@&$ac_builddir&;t t
13476 s&@abs_builddir@&$ac_abs_builddir&;t t
13477 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13478 s&@INSTALL@&$ac_INSTALL&;t t
13479 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13480 $ac_datarootdir_hack
13481 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
13483 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13484 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13485 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13486 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13487 which seems to be undefined. Please make sure it is defined." >&5
13488 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13489 which seems to be undefined. Please make sure it is defined." >&2;}
13493 -) cat "$tmp/out"; rm -f "$tmp/out";;
13494 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13503 # Transform confdefs.h into a sed script `conftest.defines', that
13504 # substitutes the proper values into config.h.in to produce config.h.
13505 rm -f conftest.defines conftest.tail
13506 # First, append a space to every undef/define line, to ease matching.
13507 echo 's/$/ /' >conftest.defines
13508 # Then, protect against being on the right side of a sed subst, or in
13509 # an unquoted here document, in config.status. If some macros were
13510 # called several times there might be several #defines for the same
13511 # symbol, which is useless. But do not sort them, since the last
13512 # AC_DEFINE must be honored.
13513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13514 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13515 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13516 # PARAMS is the parameter list in the macro definition--in most cases, it's
13517 # just an empty string.
13518 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13519 ac_dB='\\)[ (].*,\\1define\\2'
13527 s/^[ ]*#[ ]*define[ ][ ]*//
13532 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13533 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13534 ' >>conftest.defines
13536 # Remove the space that was appended to ease matching.
13537 # Then replace #undef with comments. This is necessary, for
13538 # example, in the case of _POSIX_SOURCE, which is predefined and required
13539 # on some systems where configure will not decide to define it.
13540 # (The regexp can be short, since the line contains either #define or #undef.)
13542 s,^[ #]*u.*,/* & */,' >>conftest.defines
13544 # Break up conftest.defines:
13545 ac_max_sed_lines=50
13547 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13548 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13549 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13551 ac_in='$ac_file_inputs'
13552 ac_out='"$tmp/out1"'
13553 ac_nxt='"$tmp/out2"'
13557 # Write a here document:
13558 cat >>$CONFIG_STATUS <<_ACEOF
13559 # First, check the format of the line:
13560 cat >"\$tmp/defines.sed" <<\\CEOF
13561 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13562 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13566 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
13568 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13569 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
13570 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
13571 grep . conftest.tail >/dev/null || break
13572 rm -f conftest.defines
13573 mv conftest.tail conftest.defines
13575 rm -f conftest.defines conftest.tail
13577 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13578 cat >>$CONFIG_STATUS <<\_ACEOF
13579 if test x"$ac_file" != x-; then
13580 echo "/* $configure_input */" >"$tmp/config.h"
13581 cat "$ac_result" >>"$tmp/config.h"
13582 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
13583 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13584 echo "$as_me: $ac_file is unchanged" >&6;}
13587 mv "$tmp/config.h" $ac_file
13590 echo "/* $configure_input */"
13594 # Compute $ac_file's index in $config_headers.
13597 for _am_header in $config_headers :; do
13598 case $_am_header in
13599 $_am_arg | $_am_arg:* )
13602 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13605 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13606 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13607 X"$_am_arg" : 'X\(//\)[^/]' \| \
13608 X"$_am_arg" : 'X\(//\)$' \| \
13609 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13615 /^X\(\/\/\)[^/].*/{
13627 s/.*/./; q'`/stamp-h$_am_stamp_count
13630 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13631 echo "$as_me: executing $ac_file commands" >&6;}
13636 case $ac_file$ac_mode in
13637 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
13638 # are listed without --file. Let's play safe and only enable the eval
13639 # if we detect the quoting.
13640 case $CONFIG_FILES in
13641 *\'*) eval set x "$CONFIG_FILES" ;;
13642 *) set x $CONFIG_FILES ;;
13647 # Strip MF so we end up with the name of the file.
13648 mf=`echo "$mf" | sed -e 's/:.*$//'`
13649 # Check whether this is an Automake generated Makefile or not.
13650 # We used to match only the files named `Makefile.in', but
13651 # some people rename them; so instead we look at the file content.
13652 # Grep'ing the first line is not enough: some people post-process
13653 # each Makefile.in and add a new line on top of each file to say so.
13654 # Grep'ing the whole file is not good either: AIX grep has a line
13655 # limit of 2048, but all sed's we know have understand at least 4000.
13656 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13657 dirpart=`$as_dirname -- "$mf" ||
13658 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13659 X"$mf" : 'X\(//\)[^/]' \| \
13660 X"$mf" : 'X\(//\)$' \| \
13661 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13667 /^X\(\/\/\)[^/].*/{
13683 # Extract the definition of DEPDIR, am__include, and am__quote
13684 # from the Makefile without running `make'.
13685 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13686 test -z "$DEPDIR" && continue
13687 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13688 test -z "am__include" && continue
13689 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13690 # When using ansi2knr, U may be empty or an underscore; expand it
13691 U=`sed -n 's/^U = //p' < "$mf"`
13692 # Find all dependency output files, they are included files with
13693 # $(DEPDIR) in their names. We invoke sed twice because it is the
13694 # simplest approach to changing $(DEPDIR) to its actual value in the
13696 for file in `sed -n "
13697 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13698 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13699 # Make sure the directory exists.
13700 test -f "$dirpart/$file" && continue
13701 fdir=`$as_dirname -- "$file" ||
13702 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13703 X"$file" : 'X\(//\)[^/]' \| \
13704 X"$file" : 'X\(//\)$' \| \
13705 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13711 /^X\(\/\/\)[^/].*/{
13724 { as_dir=$dirpart/$fdir
13726 -*) as_dir=./$as_dir;;
13728 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13732 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13733 *) as_qdir=$as_dir;;
13735 as_dirs="'$as_qdir' $as_dirs"
13736 as_dir=`$as_dirname -- "$as_dir" ||
13737 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13738 X"$as_dir" : 'X\(//\)[^/]' \| \
13739 X"$as_dir" : 'X\(//\)$' \| \
13740 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13746 /^X\(\/\/\)[^/].*/{
13759 test -d "$as_dir" && break
13761 test -z "$as_dirs" || eval "mkdir $as_dirs"
13762 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13763 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13764 { (exit 1); exit 1; }; }; }
13765 # echo "creating $dirpart/$file"
13766 echo '# dummy' > "$dirpart/$file"
13772 # See if we are running on zsh, and set the options which allow our
13773 # commands through without removal of \ escapes.
13774 if test -n "${ZSH_VERSION+set}" ; then
13775 setopt NO_GLOB_SUBST
13778 cfgfile="${ofile}T"
13779 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13782 cat <<_LT_EOF >> "$cfgfile"
13785 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13786 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13787 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13788 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13790 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13791 # 2006, 2007, 2008 Free Software Foundation, Inc.
13792 # Written by Gordon Matzigkeit, 1996
13794 # This file is part of GNU Libtool.
13796 # GNU Libtool is free software; you can redistribute it and/or
13797 # modify it under the terms of the GNU General Public License as
13798 # published by the Free Software Foundation; either version 2 of
13799 # the License, or (at your option) any later version.
13801 # As a special exception to the GNU General Public License,
13802 # if you distribute this file as part of a program or library that
13803 # is built using GNU Libtool, you may include this file under the
13804 # same distribution terms that you use for the rest of that program.
13806 # GNU Libtool is distributed in the hope that it will be useful,
13807 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13808 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13809 # GNU General Public License for more details.
13811 # You should have received a copy of the GNU General Public License
13812 # along with GNU Libtool; see the file COPYING. If not, a copy
13813 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13814 # obtained by writing to the Free Software Foundation, Inc.,
13815 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13818 # The names of the tagged configurations supported by this script.
13821 # ### BEGIN LIBTOOL CONFIG
13823 # Which release of libtool.m4 was used?
13824 macro_version=$macro_version
13825 macro_revision=$macro_revision
13827 # Whether or not to build shared libraries.
13828 build_libtool_libs=$enable_shared
13830 # Whether or not to build static libraries.
13831 build_old_libs=$enable_static
13833 # What type of objects to build.
13836 # Whether or not to optimize for fast installation.
13837 fast_install=$enable_fast_install
13840 host_alias=$host_alias
13844 # The build system.
13845 build_alias=$build_alias
13849 # A sed program that does not truncate output.
13852 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13853 Xsed="\$SED -e 1s/^X//"
13855 # A grep program that handles long lines.
13861 # A literal string matcher.
13864 # A BSD- or MS-compatible name lister.
13867 # Whether we need soft or hard links.
13870 # What is the maximum length of a command?
13871 max_cmd_len=$max_cmd_len
13873 # Object file suffix (normally "o").
13876 # Executable file suffix (normally "").
13879 # whether the shell understands "unset".
13882 # turn spaces into newlines.
13885 # turn newlines into spaces.
13888 # How to create reloadable object files.
13889 reload_flag=$lt_reload_flag
13890 reload_cmds=$lt_reload_cmds
13892 # Method to check whether dependent libraries are shared objects.
13893 deplibs_check_method=$lt_deplibs_check_method
13895 # Command to use when deplibs_check_method == "file_magic".
13896 file_magic_cmd=$lt_file_magic_cmd
13900 AR_FLAGS=$lt_AR_FLAGS
13902 # A symbol stripping program.
13905 # Commands used to install an old-style archive.
13907 old_postinstall_cmds=$lt_old_postinstall_cmds
13908 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13913 # LTCC compiler flags.
13914 LTCFLAGS=$lt_CFLAGS
13916 # Take the output of nm and produce a listing of raw symbols and C names.
13917 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13919 # Transform the output of nm in a proper C declaration.
13920 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13922 # Transform the output of nm in a C name address pair.
13923 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13925 # Transform the output of nm in a C name address pair when lib prefix is needed.
13926 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13928 # The name of the directory that contains temporary libtool files.
13931 # Shell to use when invoking shell scripts.
13934 # An echo program that does not interpret backslashes.
13937 # Used to examine libraries when file_magic_cmd begins with "file".
13938 MAGIC_CMD=$MAGIC_CMD
13940 # Must we lock files when doing compilation?
13941 need_locks=$lt_need_locks
13943 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13944 DSYMUTIL=$lt_DSYMUTIL
13946 # Tool to change global to local symbols on Mac OS X.
13949 # Tool to manipulate fat objects and archives on Mac OS X.
13952 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13955 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13956 OTOOL64=$lt_OTOOL64
13958 # Old archive suffix (normally "a").
13961 # Shared library suffix (normally ".so").
13962 shrext_cmds=$lt_shrext_cmds
13964 # The commands to extract the exported symbol list from a shared archive.
13965 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13967 # Variables whose values should be saved in libtool wrapper scripts and
13968 # restored at link time.
13969 variables_saved_for_relink=$lt_variables_saved_for_relink
13971 # Do we need the "lib" prefix for modules?
13972 need_lib_prefix=$need_lib_prefix
13974 # Do we need a version for libraries?
13975 need_version=$need_version
13977 # Library versioning type.
13978 version_type=$version_type
13980 # Shared library runtime path variable.
13981 runpath_var=$runpath_var
13983 # Shared library path variable.
13984 shlibpath_var=$shlibpath_var
13986 # Is shlibpath searched before the hard-coded library search path?
13987 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13989 # Format of library name prefix.
13990 libname_spec=$lt_libname_spec
13992 # List of archive names. First name is the real one, the rest are links.
13993 # The last name is the one that the linker finds with -lNAME
13994 library_names_spec=$lt_library_names_spec
13996 # The coded name of the library, if different from the real name.
13997 soname_spec=$lt_soname_spec
13999 # Command to use after installation of a shared archive.
14000 postinstall_cmds=$lt_postinstall_cmds
14002 # Command to use after uninstallation of a shared archive.
14003 postuninstall_cmds=$lt_postuninstall_cmds
14005 # Commands used to finish a libtool library installation in a directory.
14006 finish_cmds=$lt_finish_cmds
14008 # As "finish_cmds", except a single script fragment to be evaled but
14010 finish_eval=$lt_finish_eval
14012 # Whether we should hardcode library paths into libraries.
14013 hardcode_into_libs=$hardcode_into_libs
14015 # Compile-time system search path for libraries.
14016 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14018 # Run-time system search path for libraries.
14019 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14021 # Whether dlopen is supported.
14022 dlopen_support=$enable_dlopen
14024 # Whether dlopen of programs is supported.
14025 dlopen_self=$enable_dlopen_self
14027 # Whether dlopen of statically linked programs is supported.
14028 dlopen_self_static=$enable_dlopen_self_static
14030 # Commands to strip libraries.
14031 old_striplib=$lt_old_striplib
14032 striplib=$lt_striplib
14035 # The linker used to build libraries.
14038 # Commands used to build an old-style archive.
14039 old_archive_cmds=$lt_old_archive_cmds
14041 # A language specific compiler.
14044 # Is the compiler the GNU compiler?
14047 # Compiler flag to turn off builtin functions.
14048 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14050 # How to pass a linker flag through the compiler.
14051 wl=$lt_lt_prog_compiler_wl
14053 # Additional compiler flags for building library objects.
14054 pic_flag=$lt_lt_prog_compiler_pic
14056 # Compiler flag to prevent dynamic linking.
14057 link_static_flag=$lt_lt_prog_compiler_static
14059 # Does compiler simultaneously support -c and -o options?
14060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14062 # Whether or not to add -lc for building shared libraries.
14063 build_libtool_need_lc=$archive_cmds_need_lc
14065 # Whether or not to disallow shared libs when runtime libs are static.
14066 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14068 # Compiler flag to allow reflexive dlopens.
14069 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14071 # Compiler flag to generate shared objects directly from archives.
14072 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14074 # Whether the compiler copes with passing no objects directly.
14075 compiler_needs_object=$lt_compiler_needs_object
14077 # Create an old-style archive from a shared archive.
14078 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14080 # Create a temporary old-style archive to link instead of a shared archive.
14081 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14083 # Commands used to build a shared archive.
14084 archive_cmds=$lt_archive_cmds
14085 archive_expsym_cmds=$lt_archive_expsym_cmds
14087 # Commands used to build a loadable module if different from building
14088 # a shared archive.
14089 module_cmds=$lt_module_cmds
14090 module_expsym_cmds=$lt_module_expsym_cmds
14092 # Whether we are building with GNU ld or not.
14093 with_gnu_ld=$lt_with_gnu_ld
14095 # Flag that allows shared libraries with undefined symbols to be built.
14096 allow_undefined_flag=$lt_allow_undefined_flag
14098 # Flag that enforces no undefined symbols.
14099 no_undefined_flag=$lt_no_undefined_flag
14101 # Flag to hardcode \$libdir into a binary during linking.
14102 # This must work even if \$libdir does not exist
14103 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14105 # If ld is used when linking, flag to hardcode \$libdir into a binary
14106 # during linking. This must work even if \$libdir does not exist.
14107 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14109 # Whether we need a single "-rpath" flag with a separated argument.
14110 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14113 # DIR into the resulting binary.
14114 hardcode_direct=$hardcode_direct
14116 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14117 # DIR into the resulting binary and the resulting library dependency is
14118 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14119 # library is relocated.
14120 hardcode_direct_absolute=$hardcode_direct_absolute
14122 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14123 # into the resulting binary.
14124 hardcode_minus_L=$hardcode_minus_L
14126 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14127 # into the resulting binary.
14128 hardcode_shlibpath_var=$hardcode_shlibpath_var
14130 # Set to "yes" if building a shared library automatically hardcodes DIR
14131 # into the library and all subsequent libraries and executables linked
14133 hardcode_automatic=$hardcode_automatic
14135 # Set to yes if linker adds runtime paths of dependent libraries
14136 # to runtime path list.
14137 inherit_rpath=$inherit_rpath
14139 # Whether libtool must link a program against all its dependency libraries.
14140 link_all_deplibs=$link_all_deplibs
14142 # Fix the shell variable \$srcfile for the compiler.
14143 fix_srcfile_path=$lt_fix_srcfile_path
14145 # Set to "yes" if exported symbols are required.
14146 always_export_symbols=$always_export_symbols
14148 # The commands to list exported symbols.
14149 export_symbols_cmds=$lt_export_symbols_cmds
14151 # Symbols that should not be listed in the preloaded symbols.
14152 exclude_expsyms=$lt_exclude_expsyms
14154 # Symbols that must always be exported.
14155 include_expsyms=$lt_include_expsyms
14157 # Commands necessary for linking programs (against libraries) with templates.
14158 prelink_cmds=$lt_prelink_cmds
14160 # Specify filename containing input files.
14161 file_list_spec=$lt_file_list_spec
14163 # How to hardcode a shared library path into an executable.
14164 hardcode_action=$hardcode_action
14166 # ### END LIBTOOL CONFIG
14172 cat <<\_LT_EOF >> "$cfgfile"
14173 # AIX sometimes has problems with the GCC collect2 program. For some
14174 # reason, if we set the COLLECT_NAMES environment variable, the problems
14175 # vanish in a puff of smoke.
14176 if test "X${COLLECT_NAMES+set}" != Xset; then
14178 export COLLECT_NAMES
14185 ltmain="$ac_aux_dir/ltmain.sh"
14188 # We use sed instead of cat because bash on DJGPP gets confused if
14189 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14190 # text mode, it properly converts lines to CR/LF. This bash problem
14191 # is reportedly fixed, but why not run on old versions too?
14192 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14193 || (rm -f "$cfgfile"; exit 1)
14197 cat << \_LT_EOF >> "$cfgfile"
14199 # func_dirname file append nondir_replacement
14200 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14201 # otherwise set result to NONDIR_REPLACEMENT.
14205 */*) func_dirname_result="${1%/*}${2}" ;;
14206 * ) func_dirname_result="${3}" ;;
14210 # func_basename file
14213 func_basename_result="${1##*/}"
14216 # func_dirname_and_basename file append nondir_replacement
14217 # perform func_basename and func_dirname in a single function
14219 # dirname: Compute the dirname of FILE. If nonempty,
14220 # add APPEND to the result, otherwise set result
14221 # to NONDIR_REPLACEMENT.
14222 # value returned in "$func_dirname_result"
14223 # basename: Compute filename of FILE.
14224 # value retuned in "$func_basename_result"
14225 # Implementation must be kept synchronized with func_dirname
14226 # and func_basename. For efficiency, we do not delegate to
14227 # those functions but instead duplicate the functionality here.
14228 func_dirname_and_basename ()
14231 */*) func_dirname_result="${1%/*}${2}" ;;
14232 * ) func_dirname_result="${3}" ;;
14234 func_basename_result="${1##*/}"
14237 # func_stripname prefix suffix name
14238 # strip PREFIX and SUFFIX off of NAME.
14239 # PREFIX and SUFFIX must not contain globbing or regex special
14240 # characters, hashes, percent signs, but SUFFIX may contain a leading
14241 # dot (in which case that matches only a dot).
14244 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14245 # positional parameters, so assign one to ordinary parameter first.
14246 func_stripname_result=${3}
14247 func_stripname_result=${func_stripname_result#"${1}"}
14248 func_stripname_result=${func_stripname_result%"${2}"}
14254 func_opt_split_opt=${1%%=*}
14255 func_opt_split_arg=${1#*=}
14262 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14263 *) func_lo2o_result=${1} ;;
14267 # func_xform libobj-or-source
14270 func_xform_result=${1%.*}.lo
14273 # func_arith arithmetic-term...
14276 func_arith_result=$(( $* ))
14280 # STRING may not start with a hyphen.
14283 func_len_result=${#1}
14288 *) # Bourne compatible functions.
14289 cat << \_LT_EOF >> "$cfgfile"
14291 # func_dirname file append nondir_replacement
14292 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14293 # otherwise set result to NONDIR_REPLACEMENT.
14296 # Extract subdirectory from the argument.
14297 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14298 if test "X$func_dirname_result" = "X${1}"; then
14299 func_dirname_result="${3}"
14301 func_dirname_result="$func_dirname_result${2}"
14305 # func_basename file
14308 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14312 # func_stripname prefix suffix name
14313 # strip PREFIX and SUFFIX off of NAME.
14314 # PREFIX and SUFFIX must not contain globbing or regex special
14315 # characters, hashes, percent signs, but SUFFIX may contain a leading
14316 # dot (in which case that matches only a dot).
14317 # func_strip_suffix prefix name
14321 .*) func_stripname_result=`$ECHO "X${3}" \
14322 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14323 *) func_stripname_result=`$ECHO "X${3}" \
14324 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14329 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14330 my_sed_long_arg='1s/^-[^=]*=//'
14335 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14336 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14342 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14345 # func_xform libobj-or-source
14348 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14351 # func_arith arithmetic-term...
14354 func_arith_result=`expr "$@"`
14358 # STRING may not start with a hyphen.
14361 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14367 case $lt_shell_append in
14369 cat << \_LT_EOF >> "$cfgfile"
14371 # func_append var value
14372 # Append VALUE to the end of shell variable VAR.
14380 cat << \_LT_EOF >> "$cfgfile"
14382 # func_append var value
14383 # Append VALUE to the end of shell variable VAR.
14394 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14395 || (rm -f "$cfgfile"; exit 1)
14397 mv -f "$cfgfile" "$ofile" ||
14398 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14407 { (exit 0); exit 0; }
14409 chmod +x $CONFIG_STATUS
14410 ac_clean_files=$ac_clean_files_save
14413 # configure is writing to config.log, and then calls config.status.
14414 # config.status does its own redirection, appending to config.log.
14415 # Unfortunately, on DOS this fails, as config.log is still kept open
14416 # by configure, so config.status won't be able to write to it; its
14417 # output is simply discarded. So we exec the FD to /dev/null,
14418 # effectively closing config.log, so it can be properly (re)opened and
14419 # appended to by config.status. When coming back to configure, we
14420 # need to make the FD available again.
14421 if test "$no_create" != yes; then
14423 ac_config_status_args=
14424 test "$silent" = yes &&
14425 ac_config_status_args="$ac_config_status_args --quiet"
14427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14430 # would make configure fail if this is the last instruction.
14431 $ac_cs_success || { (exit 1); exit 1; }