2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libmm-ta 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix=/usr/local
713 ac_config_libobj_dir=.
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
722 PACKAGE_NAME='libmm-ta'
723 PACKAGE_TARNAME='libmm-ta'
724 PACKAGE_VERSION='0.1'
725 PACKAGE_STRING='libmm-ta 0.1'
728 ac_unique_file="src/mm_ta.h"
729 # Factoring default headers for most tests.
730 ac_includes_default="\
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
742 # ifdef HAVE_STDLIB_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
774 program_transform_name
816 INSTALL_STRIP_PROGRAM
877 ac_precious_vars='build_alias
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 libmm-ta 0.1 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/libmm-ta]
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 libmm-ta 0.1:";;
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --disable-dependency-tracking speeds up one-time build
1470 --enable-dependency-tracking do not reject slow dependency extractors
1471 --enable-shared[=PKGS] build shared libraries [default=yes]
1472 --enable-static[=PKGS] build static libraries [default=yes]
1473 --enable-fast-install[=PKGS]
1474 optimize for fast installation [default=yes]
1475 --disable-libtool-lock avoid locking (might break parallel builds)
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-pic try to use only PIC/non-PIC objects [default=use
1482 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1484 Some influential environment variables:
1485 CXX C++ compiler command
1486 CXXFLAGS C++ compiler flags
1487 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1488 nonstandard directory <lib dir>
1489 LIBS libraries to pass to the linker, e.g. -l<library>
1490 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1491 you have headers in a nonstandard directory <include dir>
1492 CC C compiler command
1493 CFLAGS C compiler flags
1495 CXXCPP C++ preprocessor
1497 Use these variables to override the choices made by `configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1504 if test "$ac_init_help" = "recursive"; then
1505 # If there are subdirs, report their specific --help.
1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1507 test -d "$ac_dir" || continue
1511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1514 # A ".." for each directory in $ac_dir_suffix.
1515 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1516 case $ac_top_builddir_sub in
1517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1521 ac_abs_top_builddir=$ac_pwd
1522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523 # for backward compatibility:
1524 ac_top_builddir=$ac_top_build_prefix
1527 .) # We are building in place.
1529 ac_top_srcdir=$ac_top_builddir_sub
1530 ac_abs_top_srcdir=$ac_pwd ;;
1531 [\\/]* | ?:[\\/]* ) # Absolute name.
1532 ac_srcdir=$srcdir$ac_dir_suffix;
1533 ac_top_srcdir=$srcdir
1534 ac_abs_top_srcdir=$srcdir ;;
1536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537 ac_top_srcdir=$ac_top_build_prefix$srcdir
1538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1542 cd "$ac_dir" || { ac_status=$?; continue; }
1543 # Check for guested configure.
1544 if test -f "$ac_srcdir/configure.gnu"; then
1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547 elif test -f "$ac_srcdir/configure"; then
1549 $SHELL "$ac_srcdir/configure" --help=recursive
1551 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1553 cd "$ac_pwd" || { ac_status=$?; break; }
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1560 libmm-ta configure 0.1
1561 generated by GNU Autoconf 2.61
1563 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1564 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1565 This configure script is free software; the Free Software Foundation
1566 gives unlimited permission to copy, distribute and modify it.
1570 cat >config.log <<_ACEOF
1571 This file contains any messages produced by compilers while
1572 running configure, to aid debugging if configure makes a mistake.
1574 It was created by libmm-ta $as_me 0.1, which was
1575 generated by GNU Autoconf 2.61. Invocation command line was
1587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1594 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1596 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1597 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1599 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1600 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1601 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1602 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 echo "PATH: $as_dir"
1627 # Keep a trace of the command line.
1628 # Strip out --no-create and --no-recursion so they do not pile up.
1629 # Strip out --silent because we don't want to record it for future runs.
1630 # Also quote any args containing shell meta-characters.
1631 # Make two passes to allow for proper duplicate-argument suppression.
1635 ac_must_keep_next=false
1641 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1643 | -silent | --silent | --silen | --sile | --sil)
1646 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1651 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1652 if test $ac_must_keep_next = true; then
1653 ac_must_keep_next=false # Got value, back to normal.
1656 *=* | --config-cache | -C | -disable-* | --disable-* \
1657 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1658 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1659 | -with-* | --with-* | -without-* | --without-* | --x)
1660 case "$ac_configure_args0 " in
1661 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1664 -* ) ac_must_keep_next=true ;;
1667 ac_configure_args="$ac_configure_args '$ac_arg'"
1672 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1673 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1675 # When interrupted or exit'd, cleanup temporary files, and complete
1676 # config.log. We remove comments because anyway the quotes in there
1677 # would cause problems or look ugly.
1678 # WARNING: Use '\'' to represent an apostrophe within the trap.
1679 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1680 trap 'exit_status=$?
1681 # Save into config.log some information that might help in debugging.
1686 ## ---------------- ##
1687 ## Cache variables. ##
1688 ## ---------------- ##
1691 # The following way of writing the cache mishandles newlines in values,
1693 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1694 eval ac_val=\$$ac_var
1698 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1702 _ | IFS | as_nl) ;; #(
1703 *) $as_unset $ac_var ;;
1708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1709 *${as_nl}ac_space=\ *)
1711 "s/'\''/'\''\\\\'\'''\''/g;
1712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1723 ## ----------------- ##
1724 ## Output variables. ##
1725 ## ----------------- ##
1728 for ac_var in $ac_subst_vars
1730 eval ac_val=\$$ac_var
1732 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1734 echo "$ac_var='\''$ac_val'\''"
1738 if test -n "$ac_subst_files"; then
1740 ## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##
1745 for ac_var in $ac_subst_files
1747 eval ac_val=\$$ac_var
1749 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751 echo "$ac_var='\''$ac_val'\''"
1756 if test -s confdefs.h; then
1766 test "$ac_signal" != 0 &&
1767 echo "$as_me: caught signal $ac_signal"
1768 echo "$as_me: exit $exit_status"
1770 rm -f core *.core core.conftest.* &&
1771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1774 for ac_signal in 1 2 13 15; do
1775 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1780 rm -f -r conftest* confdefs.h
1782 # Predefined preprocessor variables.
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer explicitly selected file to automatically selected ones.
1811 if test -n "$CONFIG_SITE"; then
1812 set x "$CONFIG_SITE"
1813 elif test "x$prefix" != xNONE; then
1814 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1816 set x "$ac_default_prefix/share/config.site" \
1817 "$ac_default_prefix/etc/config.site"
1822 if test -r "$ac_site_file"; then
1823 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1824 echo "$as_me: loading site script $ac_site_file" >&6;}
1825 sed 's/^/| /' "$ac_site_file" >&5
1830 if test -r "$cache_file"; then
1831 # Some versions of bash will fail to source /dev/null (special
1832 # files actually), so we avoid doing that.
1833 if test -f "$cache_file"; then
1834 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1835 echo "$as_me: loading cache $cache_file" >&6;}
1837 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1838 *) . "./$cache_file";;
1842 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1843 echo "$as_me: creating cache $cache_file" >&6;}
1847 # Check that the precious variables saved in the cache have kept the same
1849 ac_cache_corrupted=false
1850 for ac_var in $ac_precious_vars; do
1851 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1852 eval ac_new_set=\$ac_env_${ac_var}_set
1853 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1854 eval ac_new_val=\$ac_env_${ac_var}_value
1855 case $ac_old_set,$ac_new_set in
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1859 ac_cache_corrupted=: ;;
1861 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1862 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1863 ac_cache_corrupted=: ;;
1866 if test "x$ac_old_val" != "x$ac_new_val"; then
1867 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1868 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1869 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1870 echo "$as_me: former value: $ac_old_val" >&2;}
1871 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1872 echo "$as_me: current value: $ac_new_val" >&2;}
1873 ac_cache_corrupted=:
1876 # Pass precious variables to config.status.
1877 if test "$ac_new_set" = set; then
1879 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1880 *) ac_arg=$ac_var=$ac_new_val ;;
1882 case " $ac_configure_args " in
1883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1884 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1888 if $ac_cache_corrupted; then
1889 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1890 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1892 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1893 { (exit 1); exit 1; }; }
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927 am__api_version='1.10'
1930 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1931 if test -f "$ac_dir/install-sh"; then
1933 ac_install_sh="$ac_aux_dir/install-sh -c"
1935 elif test -f "$ac_dir/install.sh"; then
1937 ac_install_sh="$ac_aux_dir/install.sh -c"
1939 elif test -f "$ac_dir/shtool"; then
1941 ac_install_sh="$ac_aux_dir/shtool install -c"
1945 if test -z "$ac_aux_dir"; then
1946 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1947 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1948 { (exit 1); exit 1; }; }
1951 # These three variables are undocumented and unsupported,
1952 # and are intended to be withdrawn in a future Autoconf release.
1953 # They can cause serious problems if a builder's source tree is in a directory
1954 # whose full name contains unusual characters.
1955 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1956 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1957 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1960 # Find a good install program. We prefer a C program (faster),
1961 # so one script is as good as another. But avoid the broken or
1962 # incompatible versions:
1963 # SysV /etc/install, /usr/sbin/install
1964 # SunOS /usr/etc/install
1965 # IRIX /sbin/install
1967 # AmigaOS /C/install, which installs bootblocks on floppy discs
1968 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1969 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1970 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1971 # OS/2's system install, which has a completely different semantic
1972 # ./install, which can be erroneously created by make from ./install.sh.
1973 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1974 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1975 if test -z "$INSTALL"; then
1976 if test "${ac_cv_path_install+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir=.
1984 # Account for people who put trailing slashes in PATH elements.
1986 ./ | .// | /cC/* | \
1987 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1988 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1991 # OSF1 and SCO ODT 3.0 have their own names for install.
1992 # Don't use installbsd from OSF since it installs stuff as root
1994 for ac_prog in ginstall scoinst install; do
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1997 if test $ac_prog = install &&
1998 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1999 # AIX install. It has an incompatible calling convention.
2001 elif test $ac_prog = install &&
2002 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003 # program-specific install script used by HP pwplus--don't use.
2006 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2019 if test "${ac_cv_path_install+set}" = set; then
2020 INSTALL=$ac_cv_path_install
2022 # As a last resort, use the slow shell script. Don't cache a
2023 # value for INSTALL within a source directory, because that will
2024 # break other packages using the cache if that directory is
2025 # removed, or if the value is a relative name.
2026 INSTALL=$ac_install_sh
2029 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2030 echo "${ECHO_T}$INSTALL" >&6; }
2032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2033 # It thinks the first close brace ends the variable substitution.
2034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2040 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2041 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2044 echo timestamp > conftest.file
2045 # Do `set' in a subshell so we don't clobber the current shell's
2046 # arguments. Must try -L first in case configure is actually a
2047 # symlink; some systems play weird games with the mod time of symlinks
2048 # (eg FreeBSD returns the mod time of the symlink's containing
2051 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2052 if test "$*" = "X"; then
2054 set X `ls -t $srcdir/configure conftest.file`
2057 if test "$*" != "X $srcdir/configure conftest.file" \
2058 && test "$*" != "X conftest.file $srcdir/configure"; then
2060 # If neither matched, then we have a broken ls. This can happen
2061 # if, for instance, CONFIG_SHELL is bash and it inherits a
2062 # broken ls alias from the environment. This has actually
2063 # happened. Such a system could not be considered "sane".
2064 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2065 alias in your environment" >&5
2066 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2067 alias in your environment" >&2;}
2068 { (exit 1); exit 1; }; }
2071 test "$2" = conftest.file
2077 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2078 Check your system clock" >&5
2079 echo "$as_me: error: newly created file is older than distributed files!
2080 Check your system clock" >&2;}
2081 { (exit 1); exit 1; }; }
2083 { echo "$as_me:$LINENO: result: yes" >&5
2084 echo "${ECHO_T}yes" >&6; }
2085 test "$program_prefix" != NONE &&
2086 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2087 # Use a double $ so make ignores it.
2088 test "$program_suffix" != NONE &&
2089 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2090 # Double any \ or $. echo might interpret backslashes.
2091 # By default was `s,x,x', remove it if useless.
2092 cat <<\_ACEOF >conftest.sed
2093 s/[\\$]/&&/g;s/;s,x,x,$//
2095 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2098 # expand $ac_aux_dir to an absolute path
2099 am_aux_dir=`cd $ac_aux_dir && pwd`
2101 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2102 # Use eval to expand $SHELL
2103 if eval "$MISSING --run true"; then
2104 am_missing_run="$MISSING --run "
2107 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2108 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2111 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2112 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2113 if test -z "$MKDIR_P"; then
2114 if test "${ac_cv_path_mkdir+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2121 test -z "$as_dir" && as_dir=.
2122 for ac_prog in mkdir gmkdir; do
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2125 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2126 'mkdir (GNU coreutils) '* | \
2127 'mkdir (coreutils) '* | \
2128 'mkdir (fileutils) '4.1*)
2129 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2139 if test "${ac_cv_path_mkdir+set}" = set; then
2140 MKDIR_P="$ac_cv_path_mkdir -p"
2142 # As a last resort, use the slow shell script. Don't cache a
2143 # value for MKDIR_P within a source directory, because that will
2144 # break other packages using the cache if that directory is
2145 # removed, or if the value is a relative name.
2146 test -d ./--version && rmdir ./--version
2147 MKDIR_P="$ac_install_sh -d"
2150 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2151 echo "${ECHO_T}$MKDIR_P" >&6; }
2155 [\\/$]* | ?:[\\/]*) ;;
2156 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2159 for ac_prog in gawk mawk nawk awk
2161 # Extract the first word of "$ac_prog", so it can be a program name with args.
2162 set dummy $ac_prog; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_AWK+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$AWK"; then
2169 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_AWK="$ac_prog"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 if test -n "$AWK"; then
2190 { echo "$as_me:$LINENO: result: $AWK" >&5
2191 echo "${ECHO_T}$AWK" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2198 test -n "$AWK" && break
2201 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2202 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2203 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2204 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 cat >conftest.make <<\_ACEOF
2210 @echo '@@@%%%=$(MAKE)=@@@%%%'
2212 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2213 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2215 eval ac_cv_prog_make_${ac_make}_set=yes;;
2217 eval ac_cv_prog_make_${ac_make}_set=no;;
2221 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2222 { echo "$as_me:$LINENO: result: yes" >&5
2223 echo "${ECHO_T}yes" >&6; }
2226 { echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6; }
2228 SET_MAKE="MAKE=${MAKE-make}"
2231 rm -rf .tst 2>/dev/null
2232 mkdir .tst 2>/dev/null
2233 if test -d .tst; then
2238 rmdir .tst 2>/dev/null
2240 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2241 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2242 # is not polluted with repeated "-I."
2243 am__isrc=' -I$(srcdir)'
2244 # test to see if srcdir already configured
2245 if test -f $srcdir/config.status; then
2246 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2247 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2248 { (exit 1); exit 1; }; }
2252 # test whether we have cygpath
2253 if test -z "$CYGPATH_W"; then
2254 if (cygpath --version) >/dev/null 2>/dev/null; then
2255 CYGPATH_W='cygpath -w'
2262 # Define the identity of the package.
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE "$PACKAGE"
2272 cat >>confdefs.h <<_ACEOF
2273 #define VERSION "$VERSION"
2276 # Some tools Automake needs.
2278 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2281 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2284 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2287 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2290 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2292 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2294 # Installed binaries are usually stripped using `strip' when the user
2295 # run `make install-strip'. However `strip' might not be the right
2296 # tool to use in cross-compilation environments, therefore Automake
2297 # will honor the `STRIP' environment variable to overrule this program.
2298 if test "$cross_compiling" != no; then
2299 if test -n "$ac_tool_prefix"; then
2300 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2301 set dummy ${ac_tool_prefix}strip; ac_word=$2
2302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2304 if test "${ac_cv_prog_STRIP+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 if test -n "$STRIP"; then
2308 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 STRIP=$ac_cv_prog_STRIP
2328 if test -n "$STRIP"; then
2329 { echo "$as_me:$LINENO: result: $STRIP" >&5
2330 echo "${ECHO_T}$STRIP" >&6; }
2332 { echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6; }
2338 if test -z "$ac_cv_prog_STRIP"; then
2340 # Extract the first word of "strip", so it can be a program name with args.
2341 set dummy strip; ac_word=$2
2342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2344 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 if test -n "$ac_ct_STRIP"; then
2348 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 ac_cv_prog_ac_ct_STRIP="strip"
2358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2368 if test -n "$ac_ct_STRIP"; then
2369 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2370 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2372 { echo "$as_me:$LINENO: result: no" >&5
2373 echo "${ECHO_T}no" >&6; }
2376 if test "x$ac_ct_STRIP" = x; then
2379 case $cross_compiling:$ac_tool_warned in
2381 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2382 whose name does not start with the host triplet. If you think this
2383 configuration is useful to you, please write to autoconf@gnu.org." >&5
2384 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2387 ac_tool_warned=yes ;;
2392 STRIP="$ac_cv_prog_STRIP"
2396 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2398 # We need awk for the "check" target. The system "awk" is bad on
2400 # Always define AMTAR for backward compatibility.
2402 AMTAR=${AMTAR-"${am_missing_run}tar"}
2404 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2411 ac_config_headers="$ac_config_headers config.h"
2416 # Checks for programs.
2418 ac_cpp='$CXXCPP $CPPFLAGS'
2419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2422 if test -z "$CXX"; then
2423 if test -n "$CCC"; then
2426 if test -n "$ac_tool_prefix"; then
2427 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CXX+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CXX"; then
2437 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir=.
2444 for ac_exec_ext in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test -n "$CXX"; then
2458 { echo "$as_me:$LINENO: result: $CXX" >&5
2459 echo "${ECHO_T}$CXX" >&6; }
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2466 test -n "$CXX" && break
2469 if test -z "$CXX"; then
2471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2473 # Extract the first word of "$ac_prog", so it can be a program name with args.
2474 set dummy $ac_prog; ac_word=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$ac_ct_CXX"; then
2481 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_CXX="$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2501 if test -n "$ac_ct_CXX"; then
2502 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2503 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2510 test -n "$ac_ct_CXX" && break
2513 if test "x$ac_ct_CXX" = x; then
2516 case $cross_compiling:$ac_tool_warned in
2518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&5
2521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2522 whose name does not start with the host triplet. If you think this
2523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2524 ac_tool_warned=yes ;;
2532 # Provide some information about the compiler.
2533 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2534 ac_compiler=`set X $ac_compile; echo $2`
2535 { (ac_try="$ac_compiler --version >&5"
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_compiler --version >&5") 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }
2545 { (ac_try="$ac_compiler -v >&5"
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_compiler -v >&5") 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (ac_try="$ac_compiler -V >&5"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_compiler -V >&5") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }
2566 cat >conftest.$ac_ext <<_ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2581 ac_clean_files_save=$ac_clean_files
2582 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2583 # Try to create an executable without -o first, disregard a.out.
2584 # It will help us diagnose broken compilers, and finding out an intuition
2586 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2587 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2588 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2590 # List of possible output files, starting from the most likely.
2591 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2592 # only as a last resort. b.out is created by i960 compilers.
2593 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2595 # The IRIX 6 linker writes into existing files which may not be
2596 # executable, retaining their permissions. Remove them first so a
2597 # subsequent execution test works.
2599 for ac_file in $ac_files
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2603 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2608 if { (ac_try="$ac_link_default"
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_link_default") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; then
2618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2619 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2620 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2621 # so that the user can short-circuit this test for compilers unknown to
2623 for ac_file in $ac_files ''
2625 test -f "$ac_file" || continue
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2630 # We found the default executable, but exeext='' is most
2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2638 # We set ac_cv_exeext here because the later test for it is not
2639 # safe: cross compilers may not add the suffix if given an `-o'
2640 # argument, so we may need to know it at that point already.
2641 # Even if this section looks crufty: it has the advantage of
2648 test "$ac_cv_exeext" = no && ac_cv_exeext=
2654 { echo "$as_me:$LINENO: result: $ac_file" >&5
2655 echo "${ECHO_T}$ac_file" >&6; }
2656 if test -z "$ac_file"; then
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.$ac_ext >&5
2660 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2661 See \`config.log' for more details." >&5
2662 echo "$as_me: error: C++ compiler cannot create executables
2663 See \`config.log' for more details." >&2;}
2664 { (exit 77); exit 77; }; }
2667 ac_exeext=$ac_cv_exeext
2669 # Check that the compiler produces executables we can run. If not, either
2670 # the compiler is broken, or we cross compile.
2671 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2672 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2673 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2674 # If not cross compiling, check that we can run a simple program.
2675 if test "$cross_compiling" != yes; then
2676 if { ac_try='./$ac_file'
2677 { (case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_try") 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2688 if test "$cross_compiling" = maybe; then
2691 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2692 If you meant to cross compile, use \`--host'.
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: cannot run C++ compiled programs.
2695 If you meant to cross compile, use \`--host'.
2696 See \`config.log' for more details." >&2;}
2697 { (exit 1); exit 1; }; }
2701 { echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6; }
2704 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2705 ac_clean_files=$ac_clean_files_save
2706 # Check that the compiler produces executables we can run. If not, either
2707 # the compiler is broken, or we cross compile.
2708 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2709 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2710 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2711 echo "${ECHO_T}$cross_compiling" >&6; }
2713 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2714 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2715 if { (ac_try="$ac_link"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_link") 2>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; then
2725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2727 # work properly (i.e., refer to `conftest.exe'), while it won't with
2729 for ac_file in conftest.exe conftest conftest.*; do
2730 test -f "$ac_file" || continue
2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2733 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2739 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2740 See \`config.log' for more details." >&5
2741 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2742 See \`config.log' for more details." >&2;}
2743 { (exit 1); exit 1; }; }
2746 rm -f conftest$ac_cv_exeext
2747 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2748 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2750 rm -f conftest.$ac_ext
2751 EXEEXT=$ac_cv_exeext
2753 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2754 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2755 if test "${ac_cv_objext+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 cat >conftest.$ac_ext <<_ACEOF
2761 cat confdefs.h >>conftest.$ac_ext
2762 cat >>conftest.$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2773 rm -f conftest.o conftest.obj
2774 if { (ac_try="$ac_compile"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_compile") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 for ac_file in conftest.o conftest.obj conftest.*; do
2785 test -f "$ac_file" || continue;
2787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2788 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2793 echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2799 See \`config.log' for more details." >&2;}
2800 { (exit 1); exit 1; }; }
2803 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2805 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2806 echo "${ECHO_T}$ac_cv_objext" >&6; }
2807 OBJEXT=$ac_cv_objext
2809 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2810 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2811 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 cat >conftest.$ac_ext <<_ACEOF
2817 cat confdefs.h >>conftest.$ac_ext
2818 cat >>conftest.$ac_ext <<_ACEOF
2819 /* end confdefs.h. */
2832 rm -f conftest.$ac_objext
2833 if { (ac_try="$ac_compile"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>conftest.er1
2841 grep -v '^ *+' conftest.er1 >conftest.err
2843 cat conftest.err >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } && {
2846 test -z "$ac_cxx_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest.$ac_objext; then
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.$ac_ext >&5
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2861 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2862 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2863 GXX=`test $ac_compiler_gnu = yes && echo yes`
2864 ac_test_CXXFLAGS=${CXXFLAGS+set}
2865 ac_save_CXXFLAGS=$CXXFLAGS
2866 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2867 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2868 if test "${ac_cv_prog_cxx_g+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2872 ac_cxx_werror_flag=yes
2875 cat >conftest.$ac_ext <<_ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2890 rm -f conftest.$ac_objext
2891 if { (ac_try="$ac_compile"
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compile") 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } && {
2904 test -z "$ac_cxx_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.$ac_objext; then
2907 ac_cv_prog_cxx_g=yes
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2913 cat >conftest.$ac_ext <<_ACEOF
2916 cat confdefs.h >>conftest.$ac_ext
2917 cat >>conftest.$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2928 rm -f conftest.$ac_objext
2929 if { (ac_try="$ac_compile"
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_cxx_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest.$ac_objext; then
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_compile") 2>conftest.er1
2976 grep -v '^ *+' conftest.er1 >conftest.err
2978 cat conftest.err >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } && {
2981 test -z "$ac_cxx_werror_flag" ||
2982 test ! -s conftest.err
2983 } && test -s conftest.$ac_objext; then
2984 ac_cv_prog_cxx_g=yes
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.$ac_ext >&5
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3001 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3002 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3003 if test "$ac_test_CXXFLAGS" = set; then
3004 CXXFLAGS=$ac_save_CXXFLAGS
3005 elif test $ac_cv_prog_cxx_g = yes; then
3006 if test "$GXX" = yes; then
3012 if test "$GXX" = yes; then
3019 ac_cpp='$CPP $CPPFLAGS'
3020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3023 DEPDIR="${am__leading_dot}deps"
3025 ac_config_commands="$ac_config_commands depfiles"
3028 am_make=${MAKE-make}
3029 cat > confinc << 'END'
3034 # If we don't find an include directive, just comment out the code.
3035 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3036 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3040 # First try GNU make style include.
3041 echo "include confinc" > confmf
3042 # We grep out `Entering directory' and `Leaving directory'
3043 # messages which can occur if `w' ends up in MAKEFLAGS.
3044 # In particular we don't look at `^make:' because GNU make might
3045 # be invoked under some other name (usually "gmake"), in which
3046 # case it prints its new name instead of `make'.
3047 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3052 # Now try BSD make style include.
3053 if test "$am__include" = "#"; then
3054 echo '.include "confinc"' > confmf
3055 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3056 am__include=.include
3063 { echo "$as_me:$LINENO: result: $_am_result" >&5
3064 echo "${ECHO_T}$_am_result" >&6; }
3065 rm -f confinc confmf
3067 # Check whether --enable-dependency-tracking was given.
3068 if test "${enable_dependency_tracking+set}" = set; then
3069 enableval=$enable_dependency_tracking;
3072 if test "x$enable_dependency_tracking" != xno; then
3073 am_depcomp="$ac_aux_dir/depcomp"
3076 if test "x$enable_dependency_tracking" != xno; then
3086 depcc="$CXX" am_compiler_list=
3088 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3089 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3090 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3094 # We make a subdir and do the tests there. Otherwise we can end up
3095 # making bogus files that we don't know about and never remove. For
3096 # instance it was reported that on HP-UX the gcc test will end up
3097 # making a dummy file named `D' -- because `-MD' means `put the output
3100 # Copy depcomp to subdir because otherwise we won't find it if we're
3101 # using a relative directory.
3102 cp "$am_depcomp" conftest.dir
3104 # We will build objects and dependencies in a subdirectory because
3105 # it helps to detect inapplicable dependency modes. For instance
3106 # both Tru64's cc and ICC support -MD to output dependencies as a
3107 # side effect of compilation, but ICC will put the dependencies in
3108 # the current directory while Tru64 will put them in the object
3112 am_cv_CXX_dependencies_compiler_type=none
3113 if test "$am_compiler_list" = ""; then
3114 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3116 for depmode in $am_compiler_list; do
3117 # Setup a source with many dependencies, because some compilers
3118 # like to wrap large dependency lists on column 80 (with \), and
3119 # we should not choose a depcomp mode which is confused by this.
3121 # We need to recreate these files for each test, as the compiler may
3122 # overwrite some of them when testing with obscure command lines.
3123 # This happens at least with the AIX C compiler.
3125 for i in 1 2 3 4 5 6; do
3126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3127 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3128 # Solaris 8's {/usr,}/bin/sh.
3129 touch sub/conftst$i.h
3131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3135 # after this tag, mechanisms are not by side-effect, so they'll
3136 # only be used when explicitly requested
3137 if test "x$enable_dependency_tracking" = xyes; then
3145 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3146 # mode. It turns out that the SunPro C++ compiler does not properly
3147 # handle `-M -o', and we need to detect this.
3148 if depmode=$depmode \
3149 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3151 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3152 >/dev/null 2>conftest.err &&
3153 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3154 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3155 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3156 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3157 # icc doesn't choke on unknown options, it will just issue warnings
3158 # or remarks (even with -Werror). So we grep stderr for any message
3159 # that says an option was ignored or not supported.
3160 # When given -MP, icc 7.0 and 7.1 complain thusly:
3161 # icc: Command line warning: ignoring option '-M'; no argument required
3162 # The diagnosis changed in icc 8.0:
3163 # icc: Command line remark: option '-MP' not supported
3164 if (grep 'ignoring option' conftest.err ||
3165 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3166 am_cv_CXX_dependencies_compiler_type=$depmode
3175 am_cv_CXX_dependencies_compiler_type=none
3179 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3180 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3181 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3186 am__fastdepCXX_TRUE=
3187 am__fastdepCXX_FALSE='#'
3189 am__fastdepCXX_TRUE='#'
3190 am__fastdepCXX_FALSE=
3194 for ac_prog in gawk mawk nawk awk
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy $ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_AWK+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$AWK"; then
3204 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_AWK="$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$AWK"; then
3225 { echo "$as_me:$LINENO: result: $AWK" >&5
3226 echo "${ECHO_T}$AWK" >&6; }
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$AWK" && break
3237 ac_cpp='$CPP $CPPFLAGS'
3238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3241 if test -n "$ac_tool_prefix"; then
3242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3246 if test "${ac_cv_prog_CC+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 if test -n "$CC"; then
3250 ac_cv_prog_CC="$CC" # Let the user override the test.
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 if test -n "$CC"; then
3271 { echo "$as_me:$LINENO: result: $CC" >&5
3272 echo "${ECHO_T}$CC" >&6; }
3274 { echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6; }
3280 if test -z "$ac_cv_prog_CC"; then
3282 # Extract the first word of "gcc", so it can be a program name with args.
3283 set dummy gcc; ac_word=$2
3284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 if test -n "$ac_ct_CC"; then
3290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299 ac_cv_prog_ac_ct_CC="gcc"
3300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3310 if test -n "$ac_ct_CC"; then
3311 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3312 echo "${ECHO_T}$ac_ct_CC" >&6; }
3314 { echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6; }
3318 if test "x$ac_ct_CC" = x; then
3321 case $cross_compiling:$ac_tool_warned in
3323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3324 whose name does not start with the host triplet. If you think this
3325 configuration is useful to you, please write to autoconf@gnu.org." >&5
3326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3327 whose name does not start with the host triplet. If you think this
3328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3329 ac_tool_warned=yes ;;
3337 if test -z "$CC"; then
3338 if test -n "$ac_tool_prefix"; then
3339 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3340 set dummy ${ac_tool_prefix}cc; ac_word=$2
3341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3343 if test "${ac_cv_prog_CC+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 if test -n "$CC"; then
3347 ac_cv_prog_CC="$CC" # Let the user override the test.
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir=.
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3356 ac_cv_prog_CC="${ac_tool_prefix}cc"
3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 if test -n "$CC"; then
3368 { echo "$as_me:$LINENO: result: $CC" >&5
3369 echo "${ECHO_T}$CC" >&6; }
3371 { echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6; }
3378 if test -z "$CC"; then
3379 # Extract the first word of "cc", so it can be a program name with args.
3380 set dummy cc; ac_word=$2
3381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3383 if test "${ac_cv_prog_CC+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if test -n "$CC"; then
3387 ac_cv_prog_CC="$CC" # Let the user override the test.
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3398 ac_prog_rejected=yes
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 if test $ac_prog_rejected = yes; then
3410 # We found a bogon in the path, so make sure we never use it.
3411 set dummy $ac_cv_prog_CC
3413 if test $# != 0; then
3414 # We chose a different compiler from the bogus one.
3415 # However, it has the same basename, so the bogon will be chosen
3416 # first if we set CC to just the basename; use the full file name.
3418 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3424 if test -n "$CC"; then
3425 { echo "$as_me:$LINENO: result: $CC" >&5
3426 echo "${ECHO_T}$CC" >&6; }
3428 { echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6; }
3434 if test -z "$CC"; then
3435 if test -n "$ac_tool_prefix"; then
3436 for ac_prog in cl.exe
3438 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3439 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3442 if test "${ac_cv_prog_CC+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 if test -n "$CC"; then
3446 ac_cv_prog_CC="$CC" # Let the user override the test.
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3455 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test -n "$CC"; then
3467 { echo "$as_me:$LINENO: result: $CC" >&5
3468 echo "${ECHO_T}$CC" >&6; }
3470 { echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6; }
3475 test -n "$CC" && break
3478 if test -z "$CC"; then
3480 for ac_prog in cl.exe
3482 # Extract the first word of "$ac_prog", so it can be a program name with args.
3483 set dummy $ac_prog; ac_word=$2
3484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3486 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 if test -n "$ac_ct_CC"; then
3490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir=.
3497 for ac_exec_ext in '' $ac_executable_extensions; do
3498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3499 ac_cv_prog_ac_ct_CC="$ac_prog"
3500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3510 if test -n "$ac_ct_CC"; then
3511 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3512 echo "${ECHO_T}$ac_ct_CC" >&6; }
3514 { echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6; }
3519 test -n "$ac_ct_CC" && break
3522 if test "x$ac_ct_CC" = x; then
3525 case $cross_compiling:$ac_tool_warned in
3527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3528 whose name does not start with the host triplet. If you think this
3529 configuration is useful to you, please write to autoconf@gnu.org." >&5
3530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3531 whose name does not start with the host triplet. If you think this
3532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3533 ac_tool_warned=yes ;;
3542 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3543 See \`config.log' for more details." >&5
3544 echo "$as_me: error: no acceptable C compiler found in \$PATH
3545 See \`config.log' for more details." >&2;}
3546 { (exit 1); exit 1; }; }
3548 # Provide some information about the compiler.
3549 echo "$as_me:$LINENO: checking for C compiler version" >&5
3550 ac_compiler=`set X $ac_compile; echo $2`
3551 { (ac_try="$ac_compiler --version >&5"
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3557 (eval "$ac_compiler --version >&5") 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }
3561 { (ac_try="$ac_compiler -v >&5"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3567 (eval "$ac_compiler -v >&5") 2>&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }
3571 { (ac_try="$ac_compiler -V >&5"
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577 (eval "$ac_compiler -V >&5") 2>&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }
3582 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3583 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3584 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3605 rm -f conftest.$ac_objext
3606 if { (ac_try="$ac_compile"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_compile") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } && {
3619 test -z "$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3621 } && test -s conftest.$ac_objext; then
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3634 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3635 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3636 GCC=`test $ac_compiler_gnu = yes && echo yes`
3637 ac_test_CFLAGS=${CFLAGS+set}
3638 ac_save_CFLAGS=$CFLAGS
3639 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3641 if test "${ac_cv_prog_cc_g+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 ac_save_c_werror_flag=$ac_c_werror_flag
3645 ac_c_werror_flag=yes
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3663 rm -f conftest.$ac_objext
3664 if { (ac_try="$ac_compile"
3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670 (eval "$ac_compile") 2>conftest.er1
3672 grep -v '^ *+' conftest.er1 >conftest.err
3674 cat conftest.err >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } && {
3677 test -z "$ac_c_werror_flag" ||
3678 test ! -s conftest.err
3679 } && test -s conftest.$ac_objext; then
3682 echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.$ac_ext >&5
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_compile") 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } && {
3715 test -z "$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3717 } && test -s conftest.$ac_objext; then
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3723 ac_c_werror_flag=$ac_save_c_werror_flag
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3740 rm -f conftest.$ac_objext
3741 if { (ac_try="$ac_compile"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3747 (eval "$ac_compile") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } && {
3754 test -z "$ac_c_werror_flag" ||
3755 test ! -s conftest.err
3756 } && test -s conftest.$ac_objext; then
3759 echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_c_werror_flag=$ac_save_c_werror_flag
3774 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3776 if test "$ac_test_CFLAGS" = set; then
3777 CFLAGS=$ac_save_CFLAGS
3778 elif test $ac_cv_prog_cc_g = yes; then
3779 if test "$GCC" = yes; then
3785 if test "$GCC" = yes; then
3791 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3792 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3793 if test "${ac_cv_prog_cc_c89+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 ac_cv_prog_cc_c89=no
3798 cat >conftest.$ac_ext <<_ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3806 #include <sys/types.h>
3807 #include <sys/stat.h>
3808 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3809 struct buf { int x; };
3810 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3811 static char *e (p, i)
3817 static char *f (char * (*g) (char **, int), char **p, ...)
3822 s = g (p, va_arg (v,int));
3827 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3828 function prototypes and stuff, but not '\xHH' hex character constants.
3829 These don't provoke an error unfortunately, instead are silently treated
3830 as 'x'. The following induces an error, until -std is added to get
3831 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3832 array size at least. It's necessary to write '\x00'==0 to get something
3833 that's true only with -std. */
3834 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3836 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3837 inside strings and character constants. */
3839 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3841 int test (int i, double x);
3842 struct s1 {int (*f) (int a);};
3843 struct s2 {int (*f) (double a);};
3844 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3850 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3855 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3856 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3858 CC="$ac_save_CC $ac_arg"
3859 rm -f conftest.$ac_objext
3860 if { (ac_try="$ac_compile"
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866 (eval "$ac_compile") 2>conftest.er1
3868 grep -v '^ *+' conftest.er1 >conftest.err
3870 cat conftest.err >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } && {
3873 test -z "$ac_c_werror_flag" ||
3874 test ! -s conftest.err
3875 } && test -s conftest.$ac_objext; then
3876 ac_cv_prog_cc_c89=$ac_arg
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3884 rm -f core conftest.err conftest.$ac_objext
3885 test "x$ac_cv_prog_cc_c89" != "xno" && break
3887 rm -f conftest.$ac_ext
3892 case "x$ac_cv_prog_cc_c89" in
3894 { echo "$as_me:$LINENO: result: none needed" >&5
3895 echo "${ECHO_T}none needed" >&6; } ;;
3897 { echo "$as_me:$LINENO: result: unsupported" >&5
3898 echo "${ECHO_T}unsupported" >&6; } ;;
3900 CC="$CC $ac_cv_prog_cc_c89"
3901 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3902 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912 depcc="$CC" am_compiler_list=
3914 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3915 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3916 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3920 # We make a subdir and do the tests there. Otherwise we can end up
3921 # making bogus files that we don't know about and never remove. For
3922 # instance it was reported that on HP-UX the gcc test will end up
3923 # making a dummy file named `D' -- because `-MD' means `put the output
3926 # Copy depcomp to subdir because otherwise we won't find it if we're
3927 # using a relative directory.
3928 cp "$am_depcomp" conftest.dir
3930 # We will build objects and dependencies in a subdirectory because
3931 # it helps to detect inapplicable dependency modes. For instance
3932 # both Tru64's cc and ICC support -MD to output dependencies as a
3933 # side effect of compilation, but ICC will put the dependencies in
3934 # the current directory while Tru64 will put them in the object
3938 am_cv_CC_dependencies_compiler_type=none
3939 if test "$am_compiler_list" = ""; then
3940 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3942 for depmode in $am_compiler_list; do
3943 # Setup a source with many dependencies, because some compilers
3944 # like to wrap large dependency lists on column 80 (with \), and
3945 # we should not choose a depcomp mode which is confused by this.
3947 # We need to recreate these files for each test, as the compiler may
3948 # overwrite some of them when testing with obscure command lines.
3949 # This happens at least with the AIX C compiler.
3951 for i in 1 2 3 4 5 6; do
3952 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3953 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3954 # Solaris 8's {/usr,}/bin/sh.
3955 touch sub/conftst$i.h
3957 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961 # after this tag, mechanisms are not by side-effect, so they'll
3962 # only be used when explicitly requested
3963 if test "x$enable_dependency_tracking" = xyes; then
3971 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3972 # mode. It turns out that the SunPro C++ compiler does not properly
3973 # handle `-M -o', and we need to detect this.
3974 if depmode=$depmode \
3975 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3976 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3977 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3978 >/dev/null 2>conftest.err &&
3979 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3980 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3981 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3982 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3983 # icc doesn't choke on unknown options, it will just issue warnings
3984 # or remarks (even with -Werror). So we grep stderr for any message
3985 # that says an option was ignored or not supported.
3986 # When given -MP, icc 7.0 and 7.1 complain thusly:
3987 # icc: Command line warning: ignoring option '-M'; no argument required
3988 # The diagnosis changed in icc 8.0:
3989 # icc: Command line remark: option '-MP' not supported
3990 if (grep 'ignoring option' conftest.err ||
3991 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3992 am_cv_CC_dependencies_compiler_type=$depmode
4001 am_cv_CC_dependencies_compiler_type=none
4005 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4006 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4007 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4010 test "x$enable_dependency_tracking" != xno \
4011 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4013 am__fastdepCC_FALSE='#'
4015 am__fastdepCC_TRUE='#'
4016 am__fastdepCC_FALSE=
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4026 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4027 # On Suns, sometimes $CPP names a directory.
4028 if test -n "$CPP" && test -d "$CPP"; then
4031 if test -z "$CPP"; then
4032 if test "${ac_cv_prog_CPP+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 # Double quotes because CPP needs to be expanded
4036 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4039 for ac_c_preproc_warn_flag in '' yes
4041 # Use a header file that comes with gcc, so configuring glibc
4042 # with a fresh cross-compiler works.
4043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4044 # <limits.h> exists even on freestanding compilers.
4045 # On the NeXT, cc -E runs the code through the compiler's parser,
4046 # not just through cpp. "Syntax error" is here to catch this case.
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 # include <limits.h>
4056 # include <assert.h>
4060 if { (ac_try="$ac_cpp conftest.$ac_ext"
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev/null && {
4073 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4074 test ! -s conftest.err
4078 echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 # Broken: fails on valid input.
4085 rm -f conftest.err conftest.$ac_ext
4087 # OK, works on sane cases. Now check whether nonexistent headers
4088 # can be detected and how.
4089 cat >conftest.$ac_ext <<_ACEOF
4092 cat confdefs.h >>conftest.$ac_ext
4093 cat >>conftest.$ac_ext <<_ACEOF
4094 /* end confdefs.h. */
4095 #include <ac_nonexistent.h>
4097 if { (ac_try="$ac_cpp conftest.$ac_ext"
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4105 grep -v '^ *+' conftest.er1 >conftest.err
4107 cat conftest.err >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } >/dev/null && {
4110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4111 test ! -s conftest.err
4113 # Broken: success on invalid input.
4116 echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4119 # Passes both tests.
4124 rm -f conftest.err conftest.$ac_ext
4127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4128 rm -f conftest.err conftest.$ac_ext
4129 if $ac_preproc_ok; then
4141 { echo "$as_me:$LINENO: result: $CPP" >&5
4142 echo "${ECHO_T}$CPP" >&6; }
4144 for ac_c_preproc_warn_flag in '' yes
4146 # Use a header file that comes with gcc, so configuring glibc
4147 # with a fresh cross-compiler works.
4148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4149 # <limits.h> exists even on freestanding compilers.
4150 # On the NeXT, cc -E runs the code through the compiler's parser,
4151 # not just through cpp. "Syntax error" is here to catch this case.
4152 cat >conftest.$ac_ext <<_ACEOF
4155 cat confdefs.h >>conftest.$ac_ext
4156 cat >>conftest.$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4159 # include <limits.h>
4161 # include <assert.h>
4165 if { (ac_try="$ac_cpp conftest.$ac_ext"
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4173 grep -v '^ *+' conftest.er1 >conftest.err
4175 cat conftest.err >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } >/dev/null && {
4178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4179 test ! -s conftest.err
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4186 # Broken: fails on valid input.
4190 rm -f conftest.err conftest.$ac_ext
4192 # OK, works on sane cases. Now check whether nonexistent headers
4193 # can be detected and how.
4194 cat >conftest.$ac_ext <<_ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4200 #include <ac_nonexistent.h>
4202 if { (ac_try="$ac_cpp conftest.$ac_ext"
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } >/dev/null && {
4215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4218 # Broken: success on invalid input.
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4224 # Passes both tests.
4229 rm -f conftest.err conftest.$ac_ext
4232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4233 rm -f conftest.err conftest.$ac_ext
4234 if $ac_preproc_ok; then
4237 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4238 See \`config.log' for more details." >&5
4239 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4240 See \`config.log' for more details." >&2;}
4241 { (exit 1); exit 1; }; }
4245 ac_cpp='$CPP $CPPFLAGS'
4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4250 # Find a good install program. We prefer a C program (faster),
4251 # so one script is as good as another. But avoid the broken or
4252 # incompatible versions:
4253 # SysV /etc/install, /usr/sbin/install
4254 # SunOS /usr/etc/install
4255 # IRIX /sbin/install
4257 # AmigaOS /C/install, which installs bootblocks on floppy discs
4258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4261 # OS/2's system install, which has a completely different semantic
4262 # ./install, which can be erroneously created by make from ./install.sh.
4263 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4264 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4265 if test -z "$INSTALL"; then
4266 if test "${ac_cv_path_install+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir=.
4274 # Account for people who put trailing slashes in PATH elements.
4276 ./ | .// | /cC/* | \
4277 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4278 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4281 # OSF1 and SCO ODT 3.0 have their own names for install.
4282 # Don't use installbsd from OSF since it installs stuff as root
4284 for ac_prog in ginstall scoinst install; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4287 if test $ac_prog = install &&
4288 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4289 # AIX install. It has an incompatible calling convention.
4291 elif test $ac_prog = install &&
4292 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4293 # program-specific install script used by HP pwplus--don't use.
4296 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4309 if test "${ac_cv_path_install+set}" = set; then
4310 INSTALL=$ac_cv_path_install
4312 # As a last resort, use the slow shell script. Don't cache a
4313 # value for INSTALL within a source directory, because that will
4314 # break other packages using the cache if that directory is
4315 # removed, or if the value is a relative name.
4316 INSTALL=$ac_install_sh
4319 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4320 echo "${ECHO_T}$INSTALL" >&6; }
4322 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4323 # It thinks the first close brace ends the variable substitution.
4324 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4326 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4328 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4330 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4331 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4333 if test "$LN_S" = "ln -s"; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4337 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4338 echo "${ECHO_T}no, using $LN_S" >&6; }
4341 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4342 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4343 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4344 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 cat >conftest.make <<\_ACEOF
4350 @echo '@@@%%%=$(MAKE)=@@@%%%'
4352 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4355 eval ac_cv_prog_make_${ac_make}_set=yes;;
4357 eval ac_cv_prog_make_${ac_make}_set=no;;
4361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4362 { echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6; }
4366 { echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6; }
4368 SET_MAKE="MAKE=${MAKE-make}"
4373 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4374 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4379 macro_version='2.2.4'
4380 macro_revision='1.2976'
4394 ltmain="$ac_aux_dir/ltmain.sh"
4396 # Make sure we can run config.sub.
4397 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4398 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4399 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4400 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking build system type" >&5
4403 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4404 if test "${ac_cv_build+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 ac_build_alias=$build_alias
4408 test "x$ac_build_alias" = x &&
4409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4410 test "x$ac_build_alias" = x &&
4411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4413 { (exit 1); exit 1; }; }
4414 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4415 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4416 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4417 { (exit 1); exit 1; }; }
4420 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4421 echo "${ECHO_T}$ac_cv_build" >&6; }
4422 case $ac_cv_build in
4424 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4425 echo "$as_me: error: invalid value of canonical build" >&2;}
4426 { (exit 1); exit 1; }; };;
4429 ac_save_IFS=$IFS; IFS='-'
4435 # Remember, the first character of IFS is used to create $*,
4436 # except with old shells:
4439 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4442 { echo "$as_me:$LINENO: checking host system type" >&5
4443 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4444 if test "${ac_cv_host+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 if test "x$host_alias" = x; then
4448 ac_cv_host=$ac_cv_build
4450 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4453 { (exit 1); exit 1; }; }
4457 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4458 echo "${ECHO_T}$ac_cv_host" >&6; }
4461 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4462 echo "$as_me: error: invalid value of canonical host" >&2;}
4463 { (exit 1); exit 1; }; };;
4466 ac_save_IFS=$IFS; IFS='-'
4472 # Remember, the first character of IFS is used to create $*,
4473 # except with old shells:
4476 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4479 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4480 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4481 if test "${ac_cv_path_SED+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4485 for ac_i in 1 2 3 4 5 6 7; do
4486 ac_script="$ac_script$as_nl$ac_script"
4488 echo "$ac_script" | sed 99q >conftest.sed
4489 $as_unset ac_script || ac_script=
4490 # Extract the first word of "sed gsed" to use in msg output
4491 if test -z "$SED"; then
4492 set dummy sed gsed; ac_prog_name=$2
4493 if test "${ac_cv_path_SED+set}" = set; then
4494 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 ac_path_SED_found=false
4497 # Loop through the user's path and test for each of PROGNAME-LIST
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir=.
4503 for ac_prog in sed gsed; do
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4506 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4507 # Check for GNU ac_path_SED and select it if it is found.
4508 # Check for GNU $ac_path_SED
4509 case `"$ac_path_SED" --version 2>&1` in
4511 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4514 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4517 cat "conftest.in" "conftest.in" >"conftest.tmp"
4518 mv "conftest.tmp" "conftest.in"
4519 cp "conftest.in" "conftest.nl"
4520 echo '' >> "conftest.nl"
4521 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4522 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4523 ac_count=`expr $ac_count + 1`
4524 if test $ac_count -gt ${ac_path_SED_max-0}; then
4525 # Best one so far, save it but keep looking for a better one
4526 ac_cv_path_SED="$ac_path_SED"
4527 ac_path_SED_max=$ac_count
4529 # 10*(2^10) chars as input seems more than enough
4530 test $ac_count -gt 10 && break
4532 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4536 $ac_path_SED_found && break 3
4546 SED="$ac_cv_path_SED"
4547 if test -z "$SED"; then
4548 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4549 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4550 { (exit 1); exit 1; }; }
4558 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4559 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4560 SED="$ac_cv_path_SED"
4563 test -z "$SED" && SED=sed
4564 Xsed="$SED -e 1s/^X//"
4576 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4577 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4578 if test "${ac_cv_path_GREP+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 # Extract the first word of "grep ggrep" to use in msg output
4582 if test -z "$GREP"; then
4583 set dummy grep ggrep; ac_prog_name=$2
4584 if test "${ac_cv_path_GREP+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 ac_path_GREP_found=false
4588 # Loop through the user's path and test for each of PROGNAME-LIST
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4593 test -z "$as_dir" && as_dir=.
4594 for ac_prog in grep ggrep; do
4595 for ac_exec_ext in '' $ac_executable_extensions; do
4596 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4597 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4598 # Check for GNU ac_path_GREP and select it if it is found.
4599 # Check for GNU $ac_path_GREP
4600 case `"$ac_path_GREP" --version 2>&1` in
4602 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4605 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4608 cat "conftest.in" "conftest.in" >"conftest.tmp"
4609 mv "conftest.tmp" "conftest.in"
4610 cp "conftest.in" "conftest.nl"
4611 echo 'GREP' >> "conftest.nl"
4612 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4613 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4614 ac_count=`expr $ac_count + 1`
4615 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4616 # Best one so far, save it but keep looking for a better one
4617 ac_cv_path_GREP="$ac_path_GREP"
4618 ac_path_GREP_max=$ac_count
4620 # 10*(2^10) chars as input seems more than enough
4621 test $ac_count -gt 10 && break
4623 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 $ac_path_GREP_found && break 3
4637 GREP="$ac_cv_path_GREP"
4638 if test -z "$GREP"; then
4639 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4640 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4641 { (exit 1); exit 1; }; }
4645 ac_cv_path_GREP=$GREP
4650 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4651 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4652 GREP="$ac_cv_path_GREP"
4655 { echo "$as_me:$LINENO: checking for egrep" >&5
4656 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4657 if test "${ac_cv_path_EGREP+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4661 then ac_cv_path_EGREP="$GREP -E"
4663 # Extract the first word of "egrep" to use in msg output
4664 if test -z "$EGREP"; then
4665 set dummy egrep; ac_prog_name=$2
4666 if test "${ac_cv_path_EGREP+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 ac_path_EGREP_found=false
4670 # Loop through the user's path and test for each of PROGNAME-LIST
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4675 test -z "$as_dir" && as_dir=.
4676 for ac_prog in egrep; do
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4679 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4680 # Check for GNU ac_path_EGREP and select it if it is found.
4681 # Check for GNU $ac_path_EGREP
4682 case `"$ac_path_EGREP" --version 2>&1` in
4684 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4687 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4690 cat "conftest.in" "conftest.in" >"conftest.tmp"
4691 mv "conftest.tmp" "conftest.in"
4692 cp "conftest.in" "conftest.nl"
4693 echo 'EGREP' >> "conftest.nl"
4694 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4695 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4696 ac_count=`expr $ac_count + 1`
4697 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4698 # Best one so far, save it but keep looking for a better one
4699 ac_cv_path_EGREP="$ac_path_EGREP"
4700 ac_path_EGREP_max=$ac_count
4702 # 10*(2^10) chars as input seems more than enough
4703 test $ac_count -gt 10 && break
4705 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4709 $ac_path_EGREP_found && break 3
4719 EGREP="$ac_cv_path_EGREP"
4720 if test -z "$EGREP"; then
4721 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4722 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4723 { (exit 1); exit 1; }; }
4727 ac_cv_path_EGREP=$EGREP
4733 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4734 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4735 EGREP="$ac_cv_path_EGREP"
4738 { echo "$as_me:$LINENO: checking for fgrep" >&5
4739 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4740 if test "${ac_cv_path_FGREP+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4744 then ac_cv_path_FGREP="$GREP -F"
4746 # Extract the first word of "fgrep" to use in msg output
4747 if test -z "$FGREP"; then
4748 set dummy fgrep; ac_prog_name=$2
4749 if test "${ac_cv_path_FGREP+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 ac_path_FGREP_found=false
4753 # Loop through the user's path and test for each of PROGNAME-LIST
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4758 test -z "$as_dir" && as_dir=.
4759 for ac_prog in fgrep; do
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4762 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4763 # Check for GNU ac_path_FGREP and select it if it is found.
4764 # Check for GNU $ac_path_FGREP
4765 case `"$ac_path_FGREP" --version 2>&1` in
4767 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4770 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4773 cat "conftest.in" "conftest.in" >"conftest.tmp"
4774 mv "conftest.tmp" "conftest.in"
4775 cp "conftest.in" "conftest.nl"
4776 echo 'FGREP' >> "conftest.nl"
4777 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779 ac_count=`expr $ac_count + 1`
4780 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4781 # Best one so far, save it but keep looking for a better one
4782 ac_cv_path_FGREP="$ac_path_FGREP"
4783 ac_path_FGREP_max=$ac_count
4785 # 10*(2^10) chars as input seems more than enough
4786 test $ac_count -gt 10 && break
4788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4792 $ac_path_FGREP_found && break 3
4802 FGREP="$ac_cv_path_FGREP"
4803 if test -z "$FGREP"; then
4804 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4805 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4806 { (exit 1); exit 1; }; }
4810 ac_cv_path_FGREP=$FGREP
4816 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4817 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4818 FGREP="$ac_cv_path_FGREP"
4821 test -z "$GREP" && GREP=grep
4841 # Check whether --with-gnu-ld was given.
4842 if test "${with_gnu_ld+set}" = set; then
4843 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4849 if test "$GCC" = yes; then
4850 # Check if gcc -print-prog-name=ld gives a path.
4851 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4852 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4855 # gcc leaves a trailing carriage return which upsets mingw
4856 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4858 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4861 # Accept absolute paths.
4863 re_direlt='/[^/][^/]*/\.\./'
4864 # Canonicalize the pathname of ld
4865 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4866 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4867 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4869 test -z "$LD" && LD="$ac_prog"
4872 # If it fails, then pretend we aren't using GCC.
4876 # If it is relative, then search for the first ld in PATH.
4880 elif test "$with_gnu_ld" = yes; then
4881 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4882 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4884 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4885 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4887 if test "${lt_cv_path_LD+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 if test -z "$LD"; then
4891 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4892 for ac_dir in $PATH; do
4894 test -z "$ac_dir" && ac_dir=.
4895 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4896 lt_cv_path_LD="$ac_dir/$ac_prog"
4897 # Check to see if the program is GNU ld. I'd rather use --version,
4898 # but apparently some variants of GNU ld only accept -v.
4899 # Break only if it was the GNU/non-GNU ld that we prefer.
4900 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4901 *GNU* | *'with BFD'*)
4902 test "$with_gnu_ld" != no && break
4905 test "$with_gnu_ld" != yes && break
4912 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4917 if test -n "$LD"; then
4918 { echo "$as_me:$LINENO: result: $LD" >&5
4919 echo "${ECHO_T}$LD" >&6; }
4921 { echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6; }
4924 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4925 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4926 { (exit 1); exit 1; }; }
4927 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4928 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4929 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4933 case `$LD -v 2>&1 </dev/null` in
4934 *GNU* | *'with BFD'*)
4935 lt_cv_prog_gnu_ld=yes
4938 lt_cv_prog_gnu_ld=no
4942 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4943 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4944 with_gnu_ld=$lt_cv_prog_gnu_ld
4954 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4955 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4956 if test "${lt_cv_path_NM+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -n "$NM"; then
4960 # Let the user override the test.
4963 lt_nm_to_check="${ac_tool_prefix}nm"
4964 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4965 lt_nm_to_check="$lt_nm_to_check nm"
4967 for lt_tmp_nm in $lt_nm_to_check; do
4968 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4969 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4971 test -z "$ac_dir" && ac_dir=.
4972 tmp_nm="$ac_dir/$lt_tmp_nm"
4973 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4974 # Check to see if the nm accepts a BSD-compat flag.
4975 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4976 # nm: unknown option "B" ignored
4977 # Tru64's nm complains that /dev/null is an invalid object file
4978 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4979 */dev/null* | *'Invalid file or object type'*)
4980 lt_cv_path_NM="$tmp_nm -B"
4984 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4986 lt_cv_path_NM="$tmp_nm -p"
4990 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4991 continue # so that we can try to find one that supports BSD flags
5000 : ${lt_cv_path_NM=no}
5003 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5004 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5005 if test "$lt_cv_path_NM" != "no"; then
5008 # Didn't find any BSD compatible name lister, look for dumpbin.
5009 if test -n "$ac_tool_prefix"; then
5010 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5016 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5017 echo $ECHO_N "(cached) $ECHO_C" >&6
5019 if test -n "$DUMPBIN"; then
5020 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 DUMPBIN=$ac_cv_prog_DUMPBIN
5040 if test -n "$DUMPBIN"; then
5041 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5042 echo "${ECHO_T}$DUMPBIN" >&6; }
5044 { echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6; }
5049 test -n "$DUMPBIN" && break
5052 if test -z "$DUMPBIN"; then
5053 ac_ct_DUMPBIN=$DUMPBIN
5054 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy $ac_prog; ac_word=$2
5058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5060 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 if test -n "$ac_ct_DUMPBIN"; then
5064 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5084 if test -n "$ac_ct_DUMPBIN"; then
5085 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5086 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
5088 { echo "$as_me:$LINENO: result: no" >&5
5089 echo "${ECHO_T}no" >&6; }
5093 test -n "$ac_ct_DUMPBIN" && break
5096 if test "x$ac_ct_DUMPBIN" = x; then
5099 case $cross_compiling:$ac_tool_warned in
5101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5102 whose name does not start with the host triplet. If you think this
5103 configuration is useful to you, please write to autoconf@gnu.org." >&5
5104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5105 whose name does not start with the host triplet. If you think this
5106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5107 ac_tool_warned=yes ;;
5109 DUMPBIN=$ac_ct_DUMPBIN
5114 if test "$DUMPBIN" != ":"; then
5118 test -z "$NM" && NM=nm
5125 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5126 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5127 if test "${lt_cv_nm_interface+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 lt_cv_nm_interface="BSD nm"
5131 echo "int some_variable = 0;" > conftest.$ac_ext
5132 (eval echo "\"\$as_me:5132: $ac_compile\"" >&5)
5133 (eval "$ac_compile" 2>conftest.err)
5134 cat conftest.err >&5
5135 (eval echo "\"\$as_me:5135: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5136 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5137 cat conftest.err >&5
5138 (eval echo "\"\$as_me:5138: output\"" >&5)
5139 cat conftest.out >&5
5140 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5141 lt_cv_nm_interface="MS dumpbin"
5145 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5146 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5148 # find the maximum length of command line arguments
5149 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5150 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5151 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 # On DJGPP, this test can blow up pretty badly due to problems in libc
5160 # (any single argument exceeding 2000 bytes causes a buffer overrun
5161 # during glob expansion). Even if it were fixed, the result of this
5162 # check would be larger than it should be.
5163 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5167 # Under GNU Hurd, this test is not required because there is
5168 # no limit to the length of command line arguments.
5169 # Libtool will interpret -1 as no limit whatsoever
5170 lt_cv_sys_max_cmd_len=-1;
5174 # On Win9x/ME, this test blows up -- it succeeds, but takes
5175 # about 5 minutes as the teststring grows exponentially.
5176 # Worse, since 9x/ME are not pre-emptively multitasking,
5177 # you end up with a "frozen" computer, even though with patience
5178 # the test eventually succeeds (with a max line length of 256k).
5179 # Instead, let's just punt: use the minimum linelength reported by
5180 # all of the supported platforms: 8192 (on NT/2K/XP).
5181 lt_cv_sys_max_cmd_len=8192;
5185 # On AmigaOS with pdksh, this test takes hours, literally.
5186 # So we just punt and use a minimum line length of 8192.
5187 lt_cv_sys_max_cmd_len=8192;
5190 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5191 # This has been around since 386BSD, at least. Likely further.
5192 if test -x /sbin/sysctl; then
5193 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5194 elif test -x /usr/sbin/sysctl; then
5195 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5197 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5199 # And add a safety zone
5200 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5201 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5205 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5206 lt_cv_sys_max_cmd_len=196608
5210 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5211 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5212 # nice to cause kernel panics so lets avoid the loop below.
5213 # First set a reasonable default.
5214 lt_cv_sys_max_cmd_len=16384
5216 if test -x /sbin/sysconfig; then
5217 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5218 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5223 lt_cv_sys_max_cmd_len=102400
5225 sysv5* | sco5v6* | sysv4.2uw2*)
5226 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5227 if test -n "$kargmax"; then
5228 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5230 lt_cv_sys_max_cmd_len=32768
5234 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5235 if test -n "$lt_cv_sys_max_cmd_len"; then
5236 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5237 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5239 # Make teststring a little bigger before we do anything with it.
5240 # a 1K string should be a reasonable start.
5241 for i in 1 2 3 4 5 6 7 8 ; do
5242 teststring=$teststring$teststring
5244 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5245 # If test is not a shell built-in, we'll probably end up computing a
5246 # maximum length that is only half of the actual maximum length, but
5248 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5249 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5250 test $i != 17 # 1/2 MB should be enough
5253 teststring=$teststring$teststring
5255 # Only check the string length outside the loop.
5256 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5258 # Add a significant safety factor because C++ compilers can tack on
5259 # massive amounts of additional arguments before passing them to the
5260 # linker. It appears as though 1/2 is a usable value.
5261 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5268 if test -n $lt_cv_sys_max_cmd_len ; then
5269 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5270 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5272 { echo "$as_me:$LINENO: result: none" >&5
5273 echo "${ECHO_T}none" >&6; }
5275 max_cmd_len=$lt_cv_sys_max_cmd_len
5286 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5287 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5288 # Try some XSI features
5291 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5293 && eval 'test $(( 1 + 1 )) -eq 2 \
5294 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5296 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
5297 echo "${ECHO_T}$xsi_shell" >&6; }
5300 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5301 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5303 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5305 && lt_shell_append=yes
5306 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5307 echo "${ECHO_T}$lt_shell_append" >&6; }
5310 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5320 # test EBCDIC or ASCII
5321 case `echo X|tr X '\101'` in
5322 A) # ASCII based system
5323 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5324 lt_SP2NL='tr \040 \012'
5325 lt_NL2SP='tr \015\012 \040\040'
5327 *) # EBCDIC based system
5328 lt_SP2NL='tr \100 \n'
5329 lt_NL2SP='tr \r\n \100\100'
5341 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5342 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5343 if test "${lt_cv_ld_reload_flag+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 lt_cv_ld_reload_flag='-r'
5348 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5349 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5350 reload_flag=$lt_cv_ld_reload_flag
5351 case $reload_flag in
5353 *) reload_flag=" $reload_flag" ;;
5355 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5358 if test "$GCC" = yes; then
5359 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5361 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5375 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5376 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5377 if test "${lt_cv_deplibs_check_method+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 lt_cv_file_magic_cmd='$MAGIC_CMD'
5381 lt_cv_file_magic_test_file=
5382 lt_cv_deplibs_check_method='unknown'
5383 # Need to set the preceding variable on all platforms that support
5384 # interlibrary dependencies.
5385 # 'none' -- dependencies not supported.
5386 # `unknown' -- same as none, but documents that we really don't know.
5387 # 'pass_all' -- all dependencies passed with no checks.
5388 # 'test_compile' -- check by making test program.
5389 # 'file_magic [[regex]]' -- check by looking for files in library path
5390 # which responds to the $file_magic_cmd with a given extended regex.
5391 # If you have `file' or equivalent on your system and you're not sure
5392 # whether `pass_all' will *always* work, you probably want this one.
5396 lt_cv_deplibs_check_method=pass_all
5400 lt_cv_deplibs_check_method=pass_all
5404 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5405 lt_cv_file_magic_cmd='/usr/bin/file -L'
5406 lt_cv_file_magic_test_file=/shlib/libc.so
5410 # func_win32_libid is a shell function defined in ltmain.sh
5411 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5412 lt_cv_file_magic_cmd='func_win32_libid'
5416 # Base MSYS/MinGW do not provide the 'file' command needed by
5417 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5418 # unless we find 'file', for example because we are cross-compiling.
5419 if ( file / ) >/dev/null 2>&1; then
5420 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5421 lt_cv_file_magic_cmd='func_win32_libid'
5423 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5424 lt_cv_file_magic_cmd='$OBJDUMP -f'
5428 darwin* | rhapsody*)
5429 lt_cv_deplibs_check_method=pass_all
5432 freebsd* | dragonfly*)
5433 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5436 # Not sure whether the presence of OpenBSD here was a mistake.
5437 # Let's accept both of them until this is cleared up.
5438 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5439 lt_cv_file_magic_cmd=/usr/bin/file
5440 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5444 lt_cv_deplibs_check_method=pass_all
5449 lt_cv_deplibs_check_method=pass_all
5452 hpux10.20* | hpux11*)
5453 lt_cv_file_magic_cmd=/usr/bin/file
5456 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5457 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5460 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]'
5461 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5464 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5465 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5471 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5472 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5475 irix5* | irix6* | nonstopux*)
5477 *-32|*"-32 ") libmagic=32-bit;;
5478 *-n32|*"-n32 ") libmagic=N32;;
5479 *-64|*"-64 ") libmagic=64-bit;;
5480 *) libmagic=never-match;;
5482 lt_cv_deplibs_check_method=pass_all
5485 # This must be Linux ELF.
5486 linux* | k*bsd*-gnu)
5487 lt_cv_deplibs_check_method=pass_all
5491 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5492 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5499 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5500 lt_cv_file_magic_cmd=/usr/bin/file
5501 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5505 lt_cv_deplibs_check_method=pass_all
5509 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5510 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5512 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5516 osf3* | osf4* | osf5*)
5517 lt_cv_deplibs_check_method=pass_all
5521 lt_cv_deplibs_check_method=pass_all
5525 lt_cv_deplibs_check_method=pass_all
5528 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5529 lt_cv_deplibs_check_method=pass_all
5533 case $host_vendor in
5535 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]'
5536 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5539 lt_cv_deplibs_check_method=pass_all
5542 lt_cv_file_magic_cmd='/bin/file'
5543 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5546 lt_cv_file_magic_cmd='/bin/file'
5547 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5548 lt_cv_file_magic_test_file=/lib/libc.so
5551 lt_cv_deplibs_check_method=pass_all
5554 lt_cv_deplibs_check_method=pass_all
5560 lt_cv_deplibs_check_method=pass_all
5565 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5566 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5567 file_magic_cmd=$lt_cv_file_magic_cmd
5568 deplibs_check_method=$lt_cv_deplibs_check_method
5569 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}ar; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 if test -n "$AR"; then
5591 ac_cv_prog_AR="$AR" # Let the user override the test.
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_AR="${ac_tool_prefix}ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 if test -n "$AR"; then
5612 { echo "$as_me:$LINENO: result: $AR" >&5
5613 echo "${ECHO_T}$AR" >&6; }
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_AR"; then
5623 # Extract the first word of "ar", so it can be a program name with args.
5624 set dummy ar; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 if test -n "$ac_ct_AR"; then
5631 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_AR="ar"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5651 if test -n "$ac_ct_AR"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5653 echo "${ECHO_T}$ac_ct_AR" >&6; }
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_AR" = x; then
5662 case $cross_compiling:$ac_tool_warned in
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5678 test -z "$AR" && AR=ar
5679 test -z "$AR_FLAGS" && AR_FLAGS=cru
5691 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5693 set dummy ${ac_tool_prefix}strip; ac_word=$2
5694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5696 if test "${ac_cv_prog_STRIP+set}" = set; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 if test -n "$STRIP"; then
5700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5709 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 STRIP=$ac_cv_prog_STRIP
5720 if test -n "$STRIP"; then
5721 { echo "$as_me:$LINENO: result: $STRIP" >&5
5722 echo "${ECHO_T}$STRIP" >&6; }
5724 { echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6; }
5730 if test -z "$ac_cv_prog_STRIP"; then
5732 # Extract the first word of "strip", so it can be a program name with args.
5733 set dummy strip; ac_word=$2
5734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5736 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 if test -n "$ac_ct_STRIP"; then
5740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_ac_ct_STRIP="strip"
5750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5760 if test -n "$ac_ct_STRIP"; then
5761 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5762 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5768 if test "x$ac_ct_STRIP" = x; then
5771 case $cross_compiling:$ac_tool_warned in
5773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5774 whose name does not start with the host triplet. If you think this
5775 configuration is useful to you, please write to autoconf@gnu.org." >&5
5776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5777 whose name does not start with the host triplet. If you think this
5778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5779 ac_tool_warned=yes ;;
5784 STRIP="$ac_cv_prog_STRIP"
5787 test -z "$STRIP" && STRIP=:
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_RANLIB+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 if test -n "$RANLIB"; then
5803 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5825 echo "${ECHO_T}$RANLIB" >&6; }
5827 { echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6; }
5833 if test -z "$ac_cv_prog_RANLIB"; then
5834 ac_ct_RANLIB=$RANLIB
5835 # Extract the first word of "ranlib", so it can be a program name with args.
5836 set dummy ranlib; ac_word=$2
5837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5839 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 if test -n "$ac_ct_RANLIB"; then
5843 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_RANLIB="ranlib"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5863 if test -n "$ac_ct_RANLIB"; then
5864 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5865 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5867 { echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6; }
5871 if test "x$ac_ct_RANLIB" = x; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5877 whose name does not start with the host triplet. If you think this
5878 configuration is useful to you, please write to autoconf@gnu.org." >&5
5879 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5880 whose name does not start with the host triplet. If you think this
5881 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5882 ac_tool_warned=yes ;;
5884 RANLIB=$ac_ct_RANLIB
5887 RANLIB="$ac_cv_prog_RANLIB"
5890 test -z "$RANLIB" && RANLIB=:
5897 # Determine commands to create old-style static archives.
5898 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5899 old_postinstall_cmds='chmod 644 $oldlib'
5900 old_postuninstall_cmds=
5902 if test -n "$RANLIB"; then
5905 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5908 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5911 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5947 # If no C compiler was specified, use CC.
5950 # If no C compiler flags were specified, use CFLAGS.
5951 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5953 # Allow CC to be a program name with arguments.
5957 # Check for command to grab the raw symbol name followed by C symbol from nm.
5958 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5959 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5960 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 # These are sane defaults that work on at least a few old systems.
5965 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5967 # Character class describing NM global symbol codes.
5968 symcode='[BCDEGRST]'
5970 # Regexp to match symbols that can be accessed directly from C.
5971 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5973 # Define system-specific variables.
5978 cygwin* | mingw* | pw32*)
5979 symcode='[ABCDGISTW]'
5982 if test "$host_cpu" = ia64; then
5983 symcode='[ABCDEGRST]'
5987 symcode='[BCDEGRST]'
5990 symcode='[BCDEGQRST]'
6001 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6009 # If we're using GNU nm, then use its standard symbol codes.
6010 case `$NM -V 2>&1` in
6011 *GNU* | *'with BFD'*)
6012 symcode='[ABCDGIRSTW]' ;;
6015 # Transform an extracted symbol line into a proper C declaration.
6016 # Some systems (esp. on ia64) link data and code symbols differently,
6017 # so use this general approach.
6018 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6020 # Transform an extracted symbol line into symbol name and symbol address
6021 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6022 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'"
6024 # Handle CRLF in mingw tool chain
6028 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6032 # Try without a prefix underscore, then with it.
6033 for ac_symprfx in "" "_"; do
6035 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6036 symxfrm="\\1 $ac_symprfx\\2 \\2"
6038 # Write the raw and C identifiers.
6039 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6040 # Fake it for dumpbin and say T for any non-static function
6041 # and D for any global variable.
6042 # Also find C++ and __fastcall symbols from MSVC++,
6043 # which start with @ or ?.
6044 lt_cv_sys_global_symbol_pipe="$AWK '"\
6045 " {last_section=section; section=\$ 3};"\
6046 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6047 " \$ 0!~/External *\|/{next};"\
6048 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6049 " {if(hide[section]) next};"\
6050 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6051 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6052 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6053 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6054 " ' prfx=^$ac_symprfx"
6056 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6059 # Check to see that the pipe works correctly.
6063 cat > conftest.$ac_ext <<_LT_EOF
6068 void nm_test_func(void);
6069 void nm_test_func(void){}
6073 int main(){nm_test_var='a';nm_test_func();return(0);}
6076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6077 (eval $ac_compile) 2>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; then
6081 # Now try to grab the symbols.
6083 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6084 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } && test -s "$nlist"; then
6088 # Try sorting and uniquifying the output.
6089 if sort "$nlist" | uniq > "$nlist"T; then
6090 mv -f "$nlist"T "$nlist"
6095 # Make sure that we snagged all the symbols we need.
6096 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6097 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6098 cat <<_LT_EOF > conftest.$ac_ext
6104 # Now generate the symbol file.
6105 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6107 cat <<_LT_EOF >> conftest.$ac_ext
6109 /* The mapping between symbol names and symbols. */
6114 lt__PROGRAM__LTX_preloaded_symbols[] =
6116 { "@PROGRAM@", (void *) 0 },
6118 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6119 cat <<\_LT_EOF >> conftest.$ac_ext
6123 /* This works around a problem in FreeBSD linker */
6124 #ifdef FREEBSD_WORKAROUND
6125 static const void *lt_preloaded_setup() {
6126 return lt__PROGRAM__LTX_preloaded_symbols;
6134 # Now try linking the two files.
6135 mv conftest.$ac_objext conftstm.$ac_objext
6136 lt_save_LIBS="$LIBS"
6137 lt_save_CFLAGS="$CFLAGS"
6138 LIBS="conftstm.$ac_objext"
6139 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6141 (eval $ac_link) 2>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6147 LIBS="$lt_save_LIBS"
6148 CFLAGS="$lt_save_CFLAGS"
6150 echo "cannot find nm_test_func in $nlist" >&5
6153 echo "cannot find nm_test_var in $nlist" >&5
6156 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6159 echo "$progname: failed program was:" >&5
6160 cat conftest.$ac_ext >&5
6162 rm -rf conftest* conftst*
6164 # Do not use the global_symbol_pipe unless it works.
6165 if test "$pipe_works" = yes; then
6168 lt_cv_sys_global_symbol_pipe=
6174 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6175 lt_cv_sys_global_symbol_to_cdecl=
6177 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6178 { echo "$as_me:$LINENO: result: failed" >&5
6179 echo "${ECHO_T}failed" >&6; }
6181 { echo "$as_me:$LINENO: result: ok" >&5
6182 echo "${ECHO_T}ok" >&6; }
6207 # Check whether --enable-libtool-lock was given.
6208 if test "${enable_libtool_lock+set}" = set; then
6209 enableval=$enable_libtool_lock;
6212 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6214 # Some flags need to be propagated to the compiler or linker for good
6218 # Find out which ABI we are using.
6219 echo 'int i;' > conftest.$ac_ext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221 (eval $ac_compile) 2>&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }; then
6225 case `/usr/bin/file conftest.$ac_objext` in
6237 # Find out which ABI we are using.
6238 echo '#line 6238 "configure"' > conftest.$ac_ext
6239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6240 (eval $ac_compile) 2>&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; then
6244 if test "$lt_cv_prog_gnu_ld" = yes; then
6245 case `/usr/bin/file conftest.$ac_objext` in
6247 LD="${LD-ld} -melf32bsmip"
6250 LD="${LD-ld} -melf32bmipn32"
6253 LD="${LD-ld} -melf64bmip"
6257 case `/usr/bin/file conftest.$ac_objext` in
6273 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6274 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6275 # Find out which ABI we are using.
6276 echo 'int i;' > conftest.$ac_ext
6277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6278 (eval $ac_compile) 2>&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; then
6282 case `/usr/bin/file conftest.o` in
6285 x86_64-*kfreebsd*-gnu)
6286 LD="${LD-ld} -m elf_i386_fbsd"
6289 LD="${LD-ld} -m elf_i386"
6291 ppc64-*linux*|powerpc64-*linux*)
6292 LD="${LD-ld} -m elf32ppclinux"
6295 LD="${LD-ld} -m elf_s390"
6298 LD="${LD-ld} -m elf32_sparc"
6304 x86_64-*kfreebsd*-gnu)
6305 LD="${LD-ld} -m elf_x86_64_fbsd"
6308 LD="${LD-ld} -m elf_x86_64"
6310 ppc*-*linux*|powerpc*-*linux*)
6311 LD="${LD-ld} -m elf64ppc"
6313 s390*-*linux*|s390*-*tpf*)
6314 LD="${LD-ld} -m elf64_s390"
6317 LD="${LD-ld} -m elf64_sparc"
6327 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6328 SAVE_CFLAGS="$CFLAGS"
6329 CFLAGS="$CFLAGS -belf"
6330 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6331 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6332 if test "${lt_cv_cc_needs_belf+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 ac_cpp='$CPP $CPPFLAGS'
6337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6341 cat >conftest.$ac_ext <<_ACEOF
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6356 rm -f conftest.$ac_objext conftest$ac_exeext
6357 if { (ac_try="$ac_link"
6359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6360 *) ac_try_echo=$ac_try;;
6362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6363 (eval "$ac_link") 2>conftest.er1
6365 grep -v '^ *+' conftest.er1 >conftest.err
6367 cat conftest.err >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } && {
6370 test -z "$ac_c_werror_flag" ||
6371 test ! -s conftest.err
6372 } && test -s conftest$ac_exeext &&
6373 $as_test_x conftest$ac_exeext; then
6374 lt_cv_cc_needs_belf=yes
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.$ac_ext >&5
6379 lt_cv_cc_needs_belf=no
6382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6383 conftest$ac_exeext conftest.$ac_ext
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6391 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6392 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6393 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6394 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6395 CFLAGS="$SAVE_CFLAGS"
6399 # Find out which ABI we are using.
6400 echo 'int i;' > conftest.$ac_ext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; then
6406 case `/usr/bin/file conftest.o` in
6408 case $lt_cv_prog_gnu_ld in
6409 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6411 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6423 need_locks="$enable_libtool_lock"
6427 rhapsody* | darwin*)
6428 if test -n "$ac_tool_prefix"; then
6429 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6430 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6433 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6434 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 if test -n "$DSYMUTIL"; then
6437 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6457 if test -n "$DSYMUTIL"; then
6458 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6459 echo "${ECHO_T}$DSYMUTIL" >&6; }
6461 { echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6; }
6467 if test -z "$ac_cv_prog_DSYMUTIL"; then
6468 ac_ct_DSYMUTIL=$DSYMUTIL
6469 # Extract the first word of "dsymutil", so it can be a program name with args.
6470 set dummy dsymutil; ac_word=$2
6471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6473 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 if test -n "$ac_ct_DSYMUTIL"; then
6477 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6497 if test -n "$ac_ct_DSYMUTIL"; then
6498 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6499 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6501 { echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6; }
6505 if test "x$ac_ct_DSYMUTIL" = x; then
6508 case $cross_compiling:$ac_tool_warned in
6510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6511 whose name does not start with the host triplet. If you think this
6512 configuration is useful to you, please write to autoconf@gnu.org." >&5
6513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6514 whose name does not start with the host triplet. If you think this
6515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6516 ac_tool_warned=yes ;;
6518 DSYMUTIL=$ac_ct_DSYMUTIL
6521 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6524 if test -n "$ac_tool_prefix"; then
6525 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6529 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 if test -n "$NMEDIT"; then
6533 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 test -z "$as_dir" && as_dir=.
6540 for ac_exec_ext in '' $ac_executable_extensions; do
6541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 NMEDIT=$ac_cv_prog_NMEDIT
6553 if test -n "$NMEDIT"; then
6554 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6555 echo "${ECHO_T}$NMEDIT" >&6; }
6557 { echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6; }
6563 if test -z "$ac_cv_prog_NMEDIT"; then
6564 ac_ct_NMEDIT=$NMEDIT
6565 # Extract the first word of "nmedit", so it can be a program name with args.
6566 set dummy nmedit; ac_word=$2
6567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6569 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6572 if test -n "$ac_ct_NMEDIT"; then
6573 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6593 if test -n "$ac_ct_NMEDIT"; then
6594 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6595 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6597 { echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6; }
6601 if test "x$ac_ct_NMEDIT" = x; then
6604 case $cross_compiling:$ac_tool_warned in
6606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6607 whose name does not start with the host triplet. If you think this
6608 configuration is useful to you, please write to autoconf@gnu.org." >&5
6609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6610 whose name does not start with the host triplet. If you think this
6611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6612 ac_tool_warned=yes ;;
6614 NMEDIT=$ac_ct_NMEDIT
6617 NMEDIT="$ac_cv_prog_NMEDIT"
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6625 if test "${ac_cv_prog_LIPO+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 if test -n "$LIPO"; then
6629 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 LIPO=$ac_cv_prog_LIPO
6649 if test -n "$LIPO"; then
6650 { echo "$as_me:$LINENO: result: $LIPO" >&5
6651 echo "${ECHO_T}$LIPO" >&6; }
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6659 if test -z "$ac_cv_prog_LIPO"; then
6661 # Extract the first word of "lipo", so it can be a program name with args.
6662 set dummy lipo; ac_word=$2
6663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6665 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6666 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 if test -n "$ac_ct_LIPO"; then
6669 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_LIPO="lipo"
6679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6689 if test -n "$ac_ct_LIPO"; then
6690 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6691 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6693 { echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6; }
6697 if test "x$ac_ct_LIPO" = x; then
6700 case $cross_compiling:$ac_tool_warned in
6702 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6703 whose name does not start with the host triplet. If you think this
6704 configuration is useful to you, please write to autoconf@gnu.org." >&5
6705 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6706 whose name does not start with the host triplet. If you think this
6707 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6708 ac_tool_warned=yes ;;
6713 LIPO="$ac_cv_prog_LIPO"
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}otool; ac_word=$2
6719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6721 if test "${ac_cv_prog_OTOOL+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 if test -n "$OTOOL"; then
6725 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 OTOOL=$ac_cv_prog_OTOOL
6745 if test -n "$OTOOL"; then
6746 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6747 echo "${ECHO_T}$OTOOL" >&6; }
6749 { echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6; }
6755 if test -z "$ac_cv_prog_OTOOL"; then
6757 # Extract the first word of "otool", so it can be a program name with args.
6758 set dummy otool; ac_word=$2
6759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6761 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6
6764 if test -n "$ac_ct_OTOOL"; then
6765 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_OTOOL="otool"
6775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6785 if test -n "$ac_ct_OTOOL"; then
6786 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6787 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6789 { echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6; }
6793 if test "x$ac_ct_OTOOL" = x; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6799 whose name does not start with the host triplet. If you think this
6800 configuration is useful to you, please write to autoconf@gnu.org." >&5
6801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6802 whose name does not start with the host triplet. If you think this
6803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6804 ac_tool_warned=yes ;;
6809 OTOOL="$ac_cv_prog_OTOOL"
6812 if test -n "$ac_tool_prefix"; then
6813 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6814 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6817 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 if test -n "$OTOOL64"; then
6821 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir=.
6828 for ac_exec_ext in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 OTOOL64=$ac_cv_prog_OTOOL64
6841 if test -n "$OTOOL64"; then
6842 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6843 echo "${ECHO_T}$OTOOL64" >&6; }
6845 { echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6; }
6851 if test -z "$ac_cv_prog_OTOOL64"; then
6852 ac_ct_OTOOL64=$OTOOL64
6853 # Extract the first word of "otool64", so it can be a program name with args.
6854 set dummy otool64; ac_word=$2
6855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6857 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 if test -n "$ac_ct_OTOOL64"; then
6861 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 test -z "$as_dir" && as_dir=.
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6870 ac_cv_prog_ac_ct_OTOOL64="otool64"
6871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6881 if test -n "$ac_ct_OTOOL64"; then
6882 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6883 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6885 { echo "$as_me:$LINENO: result: no" >&5
6886 echo "${ECHO_T}no" >&6; }
6889 if test "x$ac_ct_OTOOL64" = x; then
6892 case $cross_compiling:$ac_tool_warned in
6894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6895 whose name does not start with the host triplet. If you think this
6896 configuration is useful to you, please write to autoconf@gnu.org." >&5
6897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6898 whose name does not start with the host triplet. If you think this
6899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6900 ac_tool_warned=yes ;;
6902 OTOOL64=$ac_ct_OTOOL64
6905 OTOOL64="$ac_cv_prog_OTOOL64"
6934 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6935 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6936 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6937 echo $ECHO_N "(cached) $ECHO_C" >&6
6939 lt_cv_apple_cc_single_mod=no
6940 if test -z "${LT_MULTI_MODULE}"; then
6941 # By default we will add the -single_module flag. You can override
6942 # by either setting the environment variable LT_MULTI_MODULE
6943 # non-empty at configure time, or by adding -multi_module to the
6945 rm -rf libconftest.dylib*
6946 echo "int foo(void){return 1;}" > conftest.c
6947 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6948 -dynamiclib -Wl,-single_module conftest.c" >&5
6949 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6950 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6952 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6953 lt_cv_apple_cc_single_mod=yes
6955 cat conftest.err >&5
6957 rm -rf libconftest.dylib*
6961 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6962 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6963 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6964 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6965 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 lt_cv_ld_exported_symbols_list=no
6969 save_LDFLAGS=$LDFLAGS
6970 echo "_main" > conftest.sym
6971 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6972 cat >conftest.$ac_ext <<_ACEOF
6975 cat confdefs.h >>conftest.$ac_ext
6976 cat >>conftest.$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6987 rm -f conftest.$ac_objext conftest$ac_exeext
6988 if { (ac_try="$ac_link"
6990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6991 *) ac_try_echo=$ac_try;;
6993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6994 (eval "$ac_link") 2>conftest.er1
6996 grep -v '^ *+' conftest.er1 >conftest.err
6998 cat conftest.err >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } && {
7001 test -z "$ac_c_werror_flag" ||
7002 test ! -s conftest.err
7003 } && test -s conftest$ac_exeext &&
7004 $as_test_x conftest$ac_exeext; then
7005 lt_cv_ld_exported_symbols_list=yes
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7010 lt_cv_ld_exported_symbols_list=no
7013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7014 conftest$ac_exeext conftest.$ac_ext
7015 LDFLAGS="$save_LDFLAGS"
7018 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7019 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7021 rhapsody* | darwin1.[012])
7022 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7024 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7025 darwin*) # darwin 5.x on
7026 # if running on 10.5 or later, the deployment target defaults
7027 # to the OS version, if on x86, and 10.4, the deployment
7028 # target defaults to 10.4. Don't you love it?
7029 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7030 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7031 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7033 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7035 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7039 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7040 _lt_dar_single_mod='$single_module'
7042 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7043 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7045 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7047 if test "$DSYMUTIL" != ":"; then
7048 _lt_dsymutil='~$DSYMUTIL $lib || :'
7056 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7057 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7058 if test "${ac_cv_header_stdc+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 cat >conftest.$ac_ext <<_ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7080 rm -f conftest.$ac_objext
7081 if { (ac_try="$ac_compile"
7083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7084 *) ac_try_echo=$ac_try;;
7086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7087 (eval "$ac_compile") 2>conftest.er1
7089 grep -v '^ *+' conftest.er1 >conftest.err
7091 cat conftest.err >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); } && {
7094 test -z "$ac_c_werror_flag" ||
7095 test ! -s conftest.err
7096 } && test -s conftest.$ac_objext; then
7097 ac_cv_header_stdc=yes
7099 echo "$as_me: failed program was:" >&5
7100 sed 's/^/| /' conftest.$ac_ext >&5
7102 ac_cv_header_stdc=no
7105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7107 if test $ac_cv_header_stdc = yes; then
7108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7119 $EGREP "memchr" >/dev/null 2>&1; then
7122 ac_cv_header_stdc=no
7128 if test $ac_cv_header_stdc = yes; then
7129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7130 cat >conftest.$ac_ext <<_ACEOF
7133 cat confdefs.h >>conftest.$ac_ext
7134 cat >>conftest.$ac_ext <<_ACEOF
7135 /* end confdefs.h. */
7139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7140 $EGREP "free" >/dev/null 2>&1; then
7143 ac_cv_header_stdc=no
7149 if test $ac_cv_header_stdc = yes; then
7150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7151 if test "$cross_compiling" = yes; then
7154 cat >conftest.$ac_ext <<_ACEOF
7157 cat confdefs.h >>conftest.$ac_ext
7158 cat >>conftest.$ac_ext <<_ACEOF
7159 /* end confdefs.h. */
7162 #if ((' ' & 0x0FF) == 0x020)
7163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7166 # define ISLOWER(c) \
7167 (('a' <= (c) && (c) <= 'i') \
7168 || ('j' <= (c) && (c) <= 'r') \
7169 || ('s' <= (c) && (c) <= 'z'))
7170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7178 for (i = 0; i < 256; i++)
7179 if (XOR (islower (i), ISLOWER (i))
7180 || toupper (i) != TOUPPER (i))
7185 rm -f conftest$ac_exeext
7186 if { (ac_try="$ac_link"
7188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7189 *) ac_try_echo=$ac_try;;
7191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7192 (eval "$ac_link") 2>&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7196 { (case "(($ac_try" in
7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198 *) ac_try_echo=$ac_try;;
7200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7201 (eval "$ac_try") 2>&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7207 echo "$as_me: program exited with status $ac_status" >&5
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.$ac_ext >&5
7212 ac_cv_header_stdc=no
7214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7220 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7221 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7222 if test $ac_cv_header_stdc = yes; then
7224 cat >>confdefs.h <<\_ACEOF
7225 #define STDC_HEADERS 1
7230 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7240 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7241 inttypes.h stdint.h unistd.h
7243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 $ac_includes_default
7257 #include <$ac_header>
7259 rm -f conftest.$ac_objext
7260 if { (ac_try="$ac_compile"
7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7276 eval "$as_ac_Header=yes"
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 eval "$as_ac_Header=no"
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7286 ac_res=`eval echo '${'$as_ac_Header'}'`
7287 { echo "$as_me:$LINENO: result: $ac_res" >&5
7288 echo "${ECHO_T}$ac_res" >&6; }
7289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7290 cat >>confdefs.h <<_ACEOF
7291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7300 for ac_header in dlfcn.h
7302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 cat >conftest.$ac_ext <<_ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 $ac_includes_default
7316 #include <$ac_header>
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 eval "$as_ac_Header=yes"
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 eval "$as_ac_Header=no"
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_res=`eval echo '${'$as_ac_Header'}'`
7346 { echo "$as_me:$LINENO: result: $ac_res" >&5
7347 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 ac_cpp='$CXXCPP $CPPFLAGS'
7361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7364 if test -z "$CXX"; then
7365 if test -n "$CCC"; then
7368 if test -n "$ac_tool_prefix"; then
7369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7375 if test "${ac_cv_prog_CXX+set}" = set; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 if test -n "$CXX"; then
7379 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 if test -n "$CXX"; then
7400 { echo "$as_me:$LINENO: result: $CXX" >&5
7401 echo "${ECHO_T}$CXX" >&6; }
7403 { echo "$as_me:$LINENO: result: no" >&5
7404 echo "${ECHO_T}no" >&6; }
7408 test -n "$CXX" && break
7411 if test -z "$CXX"; then
7413 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7415 # Extract the first word of "$ac_prog", so it can be a program name with args.
7416 set dummy $ac_prog; ac_word=$2
7417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7419 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 if test -n "$ac_ct_CXX"; then
7423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_ac_ct_CXX="$ac_prog"
7433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7443 if test -n "$ac_ct_CXX"; then
7444 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7445 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7447 { echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6; }
7452 test -n "$ac_ct_CXX" && break
7455 if test "x$ac_ct_CXX" = x; then
7458 case $cross_compiling:$ac_tool_warned in
7460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7461 whose name does not start with the host triplet. If you think this
7462 configuration is useful to you, please write to autoconf@gnu.org." >&5
7463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7464 whose name does not start with the host triplet. If you think this
7465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7466 ac_tool_warned=yes ;;
7474 # Provide some information about the compiler.
7475 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7476 ac_compiler=`set X $ac_compile; echo $2`
7477 { (ac_try="$ac_compiler --version >&5"
7479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7480 *) ac_try_echo=$ac_try;;
7482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7483 (eval "$ac_compiler --version >&5") 2>&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }
7487 { (ac_try="$ac_compiler -v >&5"
7489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7490 *) ac_try_echo=$ac_try;;
7492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7493 (eval "$ac_compiler -v >&5") 2>&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); }
7497 { (ac_try="$ac_compiler -V >&5"
7499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7500 *) ac_try_echo=$ac_try;;
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7503 (eval "$ac_compiler -V >&5") 2>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }
7508 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7509 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7510 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 cat >conftest.$ac_ext <<_ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7531 rm -f conftest.$ac_objext
7532 if { (ac_try="$ac_compile"
7534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7535 *) ac_try_echo=$ac_try;;
7537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7538 (eval "$ac_compile") 2>conftest.er1
7540 grep -v '^ *+' conftest.er1 >conftest.err
7542 cat conftest.err >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); } && {
7545 test -z "$ac_cxx_werror_flag" ||
7546 test ! -s conftest.err
7547 } && test -s conftest.$ac_objext; then
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.$ac_ext >&5
7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7560 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7561 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7562 GXX=`test $ac_compiler_gnu = yes && echo yes`
7563 ac_test_CXXFLAGS=${CXXFLAGS+set}
7564 ac_save_CXXFLAGS=$CXXFLAGS
7565 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7566 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7567 if test "${ac_cv_prog_cxx_g+set}" = set; then
7568 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7571 ac_cxx_werror_flag=yes
7574 cat >conftest.$ac_ext <<_ACEOF
7577 cat confdefs.h >>conftest.$ac_ext
7578 cat >>conftest.$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7589 rm -f conftest.$ac_objext
7590 if { (ac_try="$ac_compile"
7592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7593 *) ac_try_echo=$ac_try;;
7595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7596 (eval "$ac_compile") 2>conftest.er1
7598 grep -v '^ *+' conftest.er1 >conftest.err
7600 cat conftest.err >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } && {
7603 test -z "$ac_cxx_werror_flag" ||
7604 test ! -s conftest.err
7605 } && test -s conftest.$ac_objext; then
7606 ac_cv_prog_cxx_g=yes
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7612 cat >conftest.$ac_ext <<_ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7627 rm -f conftest.$ac_objext
7628 if { (ac_try="$ac_compile"
7630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 (eval "$ac_compile") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1 >conftest.err
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_cxx_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest.$ac_objext; then
7646 echo "$as_me: failed program was:" >&5
7647 sed 's/^/| /' conftest.$ac_ext >&5
7649 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7651 cat >conftest.$ac_ext <<_ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7666 rm -f conftest.$ac_objext
7667 if { (ac_try="$ac_compile"
7669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7670 *) ac_try_echo=$ac_try;;
7672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7673 (eval "$ac_compile") 2>conftest.er1
7675 grep -v '^ *+' conftest.er1 >conftest.err
7677 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && {
7680 test -z "$ac_cxx_werror_flag" ||
7681 test ! -s conftest.err
7682 } && test -s conftest.$ac_objext; then
7683 ac_cv_prog_cxx_g=yes
7685 echo "$as_me: failed program was:" >&5
7686 sed 's/^/| /' conftest.$ac_ext >&5
7691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7698 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7700 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7701 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7702 if test "$ac_test_CXXFLAGS" = set; then
7703 CXXFLAGS=$ac_save_CXXFLAGS
7704 elif test $ac_cv_prog_cxx_g = yes; then
7705 if test "$GXX" = yes; then
7711 if test "$GXX" = yes; then
7718 ac_cpp='$CPP $CPPFLAGS'
7719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7723 depcc="$CXX" am_compiler_list=
7725 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7726 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7727 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7731 # We make a subdir and do the tests there. Otherwise we can end up
7732 # making bogus files that we don't know about and never remove. For
7733 # instance it was reported that on HP-UX the gcc test will end up
7734 # making a dummy file named `D' -- because `-MD' means `put the output
7737 # Copy depcomp to subdir because otherwise we won't find it if we're
7738 # using a relative directory.
7739 cp "$am_depcomp" conftest.dir
7741 # We will build objects and dependencies in a subdirectory because
7742 # it helps to detect inapplicable dependency modes. For instance
7743 # both Tru64's cc and ICC support -MD to output dependencies as a
7744 # side effect of compilation, but ICC will put the dependencies in
7745 # the current directory while Tru64 will put them in the object
7749 am_cv_CXX_dependencies_compiler_type=none
7750 if test "$am_compiler_list" = ""; then
7751 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7753 for depmode in $am_compiler_list; do
7754 # Setup a source with many dependencies, because some compilers
7755 # like to wrap large dependency lists on column 80 (with \), and
7756 # we should not choose a depcomp mode which is confused by this.
7758 # We need to recreate these files for each test, as the compiler may
7759 # overwrite some of them when testing with obscure command lines.
7760 # This happens at least with the AIX C compiler.
7762 for i in 1 2 3 4 5 6; do
7763 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7764 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7765 # Solaris 8's {/usr,}/bin/sh.
7766 touch sub/conftst$i.h
7768 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7772 # after this tag, mechanisms are not by side-effect, so they'll
7773 # only be used when explicitly requested
7774 if test "x$enable_dependency_tracking" = xyes; then
7782 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7783 # mode. It turns out that the SunPro C++ compiler does not properly
7784 # handle `-M -o', and we need to detect this.
7785 if depmode=$depmode \
7786 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7788 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7789 >/dev/null 2>conftest.err &&
7790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7792 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7794 # icc doesn't choke on unknown options, it will just issue warnings
7795 # or remarks (even with -Werror). So we grep stderr for any message
7796 # that says an option was ignored or not supported.
7797 # When given -MP, icc 7.0 and 7.1 complain thusly:
7798 # icc: Command line warning: ignoring option '-M'; no argument required
7799 # The diagnosis changed in icc 8.0:
7800 # icc: Command line remark: option '-MP' not supported
7801 if (grep 'ignoring option' conftest.err ||
7802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7803 am_cv_CXX_dependencies_compiler_type=$depmode
7812 am_cv_CXX_dependencies_compiler_type=none
7816 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7817 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7818 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7821 test "x$enable_dependency_tracking" != xno \
7822 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7823 am__fastdepCXX_TRUE=
7824 am__fastdepCXX_FALSE='#'
7826 am__fastdepCXX_TRUE='#'
7827 am__fastdepCXX_FALSE=
7831 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7832 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7833 (test "X$CXX" != "Xg++"))) ; then
7835 ac_cpp='$CXXCPP $CPPFLAGS'
7836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7839 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7840 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7841 if test -z "$CXXCPP"; then
7842 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 # Double quotes because CXXCPP needs to be expanded
7846 for CXXCPP in "$CXX -E" "/lib/cpp"
7849 for ac_cxx_preproc_warn_flag in '' yes
7851 # Use a header file that comes with gcc, so configuring glibc
7852 # with a fresh cross-compiler works.
7853 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7854 # <limits.h> exists even on freestanding compilers.
7855 # On the NeXT, cc -E runs the code through the compiler's parser,
7856 # not just through cpp. "Syntax error" is here to catch this case.
7857 cat >conftest.$ac_ext <<_ACEOF
7860 cat confdefs.h >>conftest.$ac_ext
7861 cat >>conftest.$ac_ext <<_ACEOF
7862 /* end confdefs.h. */
7864 # include <limits.h>
7866 # include <assert.h>
7870 if { (ac_try="$ac_cpp conftest.$ac_ext"
7872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7873 *) ac_try_echo=$ac_try;;
7875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7878 grep -v '^ *+' conftest.er1 >conftest.err
7880 cat conftest.err >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } >/dev/null && {
7883 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7884 test ! -s conftest.err
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.$ac_ext >&5
7891 # Broken: fails on valid input.
7895 rm -f conftest.err conftest.$ac_ext
7897 # OK, works on sane cases. Now check whether nonexistent headers
7898 # can be detected and how.
7899 cat >conftest.$ac_ext <<_ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7904 /* end confdefs.h. */
7905 #include <ac_nonexistent.h>
7907 if { (ac_try="$ac_cpp conftest.$ac_ext"
7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7915 grep -v '^ *+' conftest.er1 >conftest.err
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } >/dev/null && {
7920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7921 test ! -s conftest.err
7923 # Broken: success on invalid input.
7926 echo "$as_me: failed program was:" >&5
7927 sed 's/^/| /' conftest.$ac_ext >&5
7929 # Passes both tests.
7934 rm -f conftest.err conftest.$ac_ext
7937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7938 rm -f conftest.err conftest.$ac_ext
7939 if $ac_preproc_ok; then
7944 ac_cv_prog_CXXCPP=$CXXCPP
7947 CXXCPP=$ac_cv_prog_CXXCPP
7949 ac_cv_prog_CXXCPP=$CXXCPP
7951 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7952 echo "${ECHO_T}$CXXCPP" >&6; }
7954 for ac_cxx_preproc_warn_flag in '' yes
7956 # Use a header file that comes with gcc, so configuring glibc
7957 # with a fresh cross-compiler works.
7958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7959 # <limits.h> exists even on freestanding compilers.
7960 # On the NeXT, cc -E runs the code through the compiler's parser,
7961 # not just through cpp. "Syntax error" is here to catch this case.
7962 cat >conftest.$ac_ext <<_ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7969 # include <limits.h>
7971 # include <assert.h>
7975 if { (ac_try="$ac_cpp conftest.$ac_ext"
7977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7978 *) ac_try_echo=$ac_try;;
7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7983 grep -v '^ *+' conftest.er1 >conftest.err
7985 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } >/dev/null && {
7988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7989 test ! -s conftest.err
7993 echo "$as_me: failed program was:" >&5
7994 sed 's/^/| /' conftest.$ac_ext >&5
7996 # Broken: fails on valid input.
8000 rm -f conftest.err conftest.$ac_ext
8002 # OK, works on sane cases. Now check whether nonexistent headers
8003 # can be detected and how.
8004 cat >conftest.$ac_ext <<_ACEOF
8007 cat confdefs.h >>conftest.$ac_ext
8008 cat >>conftest.$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8010 #include <ac_nonexistent.h>
8012 if { (ac_try="$ac_cpp conftest.$ac_ext"
8014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8015 *) ac_try_echo=$ac_try;;
8017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8020 grep -v '^ *+' conftest.er1 >conftest.err
8022 cat conftest.err >&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } >/dev/null && {
8025 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8026 test ! -s conftest.err
8028 # Broken: success on invalid input.
8031 echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.$ac_ext >&5
8034 # Passes both tests.
8039 rm -f conftest.err conftest.$ac_ext
8042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8043 rm -f conftest.err conftest.$ac_ext
8044 if $ac_preproc_ok; then
8047 _lt_caught_CXX_error=yes
8051 ac_cpp='$CPP $CPPFLAGS'
8052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8057 _lt_caught_CXX_error=yes
8074 # Check whether --enable-shared was given.
8075 if test "${enable_shared+set}" = set; then
8076 enableval=$enable_shared; p=${PACKAGE-default}
8078 yes) enable_shared=yes ;;
8079 no) enable_shared=no ;;
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8086 if test "X$pkg" = "X$p"; then
8105 # Check whether --enable-static was given.
8106 if test "${enable_static+set}" = set; then
8107 enableval=$enable_static; p=${PACKAGE-default}
8109 yes) enable_static=yes ;;
8110 no) enable_static=no ;;
8113 # Look at the argument we got. We use all the common list separators.
8114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115 for pkg in $enableval; do
8117 if test "X$pkg" = "X$p"; then
8137 # Check whether --with-pic was given.
8138 if test "${with_pic+set}" = set; then
8139 withval=$with_pic; pic_mode="$withval"
8145 test -z "$pic_mode" && pic_mode=default
8153 # Check whether --enable-fast-install was given.
8154 if test "${enable_fast_install+set}" = set; then
8155 enableval=$enable_fast_install; p=${PACKAGE-default}
8157 yes) enable_fast_install=yes ;;
8158 no) enable_fast_install=no ;;
8160 enable_fast_install=no
8161 # Look at the argument we got. We use all the common list separators.
8162 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8163 for pkg in $enableval; do
8165 if test "X$pkg" = "X$p"; then
8166 enable_fast_install=yes
8173 enable_fast_install=yes
8186 # This can be used to rebuild libtool when needed
8187 LIBTOOL_DEPS="$ltmain"
8189 # Always use our own libtool.
8190 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8216 test -z "$LN_S" && LN_S="ln -s"
8231 if test -n "${ZSH_VERSION+set}" ; then
8232 setopt NO_GLOB_SUBST
8235 { echo "$as_me:$LINENO: checking for objdir" >&5
8236 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8237 if test "${lt_cv_objdir+set}" = set; then
8238 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 rm -f .libs 2>/dev/null
8241 mkdir .libs 2>/dev/null
8242 if test -d .libs; then
8245 # MS-DOS does not allow filenames that begin with a dot.
8248 rmdir .libs 2>/dev/null
8250 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8251 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8252 objdir=$lt_cv_objdir
8258 cat >>confdefs.h <<_ACEOF
8259 #define LT_OBJDIR "$lt_cv_objdir/"
8280 # AIX sometimes has problems with the GCC collect2 program. For some
8281 # reason, if we set the COLLECT_NAMES environment variable, the problems
8282 # vanish in a puff of smoke.
8283 if test "X${COLLECT_NAMES+set}" != Xset; then
8285 export COLLECT_NAMES
8290 # Sed substitution that helps us do robust quoting. It backslashifies
8291 # metacharacters that are still active within double-quoted strings.
8292 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8294 # Same as above, but do not quote variable references.
8295 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8297 # Sed substitution to delay expansion of an escaped shell variable in a
8298 # double_quote_subst'ed string.
8299 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8301 # Sed substitution to delay expansion of an escaped single quote.
8302 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8304 # Sed substitution to avoid accidental globbing in evaled expressions
8305 no_glob_subst='s/\*/\\\*/g'
8309 can_build_shared=yes
8311 # All known linkers require a `.a' archive for static linking (except MSVC,
8312 # which needs '.lib').
8315 with_gnu_ld="$lt_cv_prog_gnu_ld"
8318 old_CFLAGS="$CFLAGS"
8320 # Set sane defaults for various variables
8321 test -z "$CC" && CC=cc
8322 test -z "$LTCC" && LTCC=$CC
8323 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8324 test -z "$LD" && LD=ld
8325 test -z "$ac_objext" && ac_objext=o
8327 for cc_temp in $compiler""; do
8329 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8330 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8335 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8338 # Only perform the check for file, if the check method requires it
8339 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8340 case $deplibs_check_method in
8342 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8343 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8344 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8345 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8353 lt_save_MAGIC_CMD="$MAGIC_CMD"
8354 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8355 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8356 for ac_dir in $ac_dummy; do
8358 test -z "$ac_dir" && ac_dir=.
8359 if test -f $ac_dir/${ac_tool_prefix}file; then
8360 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8361 if test -n "$file_magic_test_file"; then
8362 case $deplibs_check_method in
8364 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8366 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8367 $EGREP "$file_magic_regex" > /dev/null; then
8372 *** Warning: the command libtool uses to detect shared libraries,
8373 *** $file_magic_cmd, produces output that libtool cannot recognize.
8374 *** The result is that libtool may fail to recognize shared libraries
8375 *** as such. This will affect the creation of libtool libraries that
8376 *** depend on shared libraries, but programs linked with such libtool
8377 *** libraries will work regardless of this problem. Nevertheless, you
8378 *** may want to report the problem to your system manager and/or to
8379 *** bug-libtool@gnu.org
8389 MAGIC_CMD="$lt_save_MAGIC_CMD"
8394 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8395 if test -n "$MAGIC_CMD"; then
8396 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8397 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8399 { echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6; }
8407 if test -z "$lt_cv_path_MAGIC_CMD"; then
8408 if test -n "$ac_tool_prefix"; then
8409 { echo "$as_me:$LINENO: checking for file" >&5
8410 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8411 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8419 lt_save_MAGIC_CMD="$MAGIC_CMD"
8420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8421 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8422 for ac_dir in $ac_dummy; do
8424 test -z "$ac_dir" && ac_dir=.
8425 if test -f $ac_dir/file; then
8426 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8427 if test -n "$file_magic_test_file"; then
8428 case $deplibs_check_method in
8430 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8433 $EGREP "$file_magic_regex" > /dev/null; then
8438 *** Warning: the command libtool uses to detect shared libraries,
8439 *** $file_magic_cmd, produces output that libtool cannot recognize.
8440 *** The result is that libtool may fail to recognize shared libraries
8441 *** as such. This will affect the creation of libtool libraries that
8442 *** depend on shared libraries, but programs linked with such libtool
8443 *** libraries will work regardless of this problem. Nevertheless, you
8444 *** may want to report the problem to your system manager and/or to
8445 *** bug-libtool@gnu.org
8455 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8461 if test -n "$MAGIC_CMD"; then
8462 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8463 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8465 { echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6; }
8479 # Use C for the default configuration in the libtool script
8483 ac_cpp='$CPP $CPPFLAGS'
8484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8489 # Source file extension for C test sources.
8492 # Object file extension for compiled C test sources.
8496 # Code to be used in simple compile tests
8497 lt_simple_compile_test_code="int some_variable = 0;"
8499 # Code to be used in simple link tests
8500 lt_simple_link_test_code='int main(){return(0);}'
8508 # If no C compiler was specified, use CC.
8511 # If no C compiler flags were specified, use CFLAGS.
8512 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8514 # Allow CC to be a program name with arguments.
8517 # Save the default compiler, since it gets overwritten when the other
8518 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8519 compiler_DEFAULT=$CC
8521 # save warnings/boilerplate of simple test code
8522 ac_outfile=conftest.$ac_objext
8523 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8524 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8525 _lt_compiler_boilerplate=`cat conftest.err`
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8530 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531 _lt_linker_boilerplate=`cat conftest.err`
8535 if test -n "$compiler"; then
8537 lt_prog_compiler_no_builtin_flag=
8539 if test "$GCC" = yes; then
8540 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8542 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8543 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8544 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8545 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 lt_cv_prog_compiler_rtti_exceptions=no
8548 ac_outfile=conftest.$ac_objext
8549 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8550 lt_compiler_flag="-fno-rtti -fno-exceptions"
8551 # Insert the option either (1) after the last *FLAGS variable, or
8552 # (2) before a word containing "conftest.", or (3) at the end.
8553 # Note that $ac_compile itself does not contain backslashes and begins
8554 # with a dollar sign (not a hyphen), so the echo should work correctly.
8555 # The option is referenced via a variable to avoid confusing sed.
8556 lt_compile=`echo "$ac_compile" | $SED \
8557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8559 -e 's:$: $lt_compiler_flag:'`
8560 (eval echo "\"\$as_me:8560: $lt_compile\"" >&5)
8561 (eval "$lt_compile" 2>conftest.err)
8563 cat conftest.err >&5
8564 echo "$as_me:8564: \$? = $ac_status" >&5
8565 if (exit $ac_status) && test -s "$ac_outfile"; then
8566 # The compiler can only warn and ignore the option if not recognized
8567 # So say no if there are warnings other than the usual output.
8568 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8569 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8570 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8571 lt_cv_prog_compiler_rtti_exceptions=yes
8577 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8578 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8580 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8581 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8593 lt_prog_compiler_wl=
8594 lt_prog_compiler_pic=
8595 lt_prog_compiler_static=
8597 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8598 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8600 if test "$GCC" = yes; then
8601 lt_prog_compiler_wl='-Wl,'
8602 lt_prog_compiler_static='-static'
8606 # All AIX code is PIC.
8607 if test "$host_cpu" = ia64; then
8608 # AIX 5 now supports IA64 processor
8609 lt_prog_compiler_static='-Bstatic'
8616 # see comment about AmigaOS4 .so support
8617 lt_prog_compiler_pic='-fPIC'
8620 # FIXME: we need at least 68020 code to build shared libraries, but
8621 # adding the `-m68020' flag to GCC prevents building anything better,
8623 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8628 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8629 # PIC is the default for these OSes.
8632 mingw* | cygwin* | pw32* | os2*)
8633 # This hack is so that the source file can tell whether it is being
8634 # built for inclusion in a dll (and should export symbols for example).
8635 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8636 # (--disable-auto-import) libraries
8637 lt_prog_compiler_pic='-DDLL_EXPORT'
8640 darwin* | rhapsody*)
8641 # PIC is the default on this platform
8642 # Common symbols not allowed in MH_DYLIB files
8643 lt_prog_compiler_pic='-fno-common'
8647 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8654 lt_prog_compiler_pic='-fPIC'
8660 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8661 # Instead, we relocate shared libraries at runtime.
8665 # Just because we use GCC doesn't mean we suddenly get shared libraries
8666 # on systems that don't support them.
8667 lt_prog_compiler_can_build_shared=no
8672 # QNX uses GNU C++, but need to define -shared option too, otherwise
8674 lt_prog_compiler_pic='-fPIC -shared'
8678 if test -d /usr/nec; then
8679 lt_prog_compiler_pic=-Kconform_pic
8684 lt_prog_compiler_pic='-fPIC'
8688 # PORTME Check for flag to pass linker flags through the system compiler.
8691 lt_prog_compiler_wl='-Wl,'
8692 if test "$host_cpu" = ia64; then
8693 # AIX 5 now supports IA64 processor
8694 lt_prog_compiler_static='-Bstatic'
8696 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8700 mingw* | cygwin* | pw32* | os2*)
8701 # This hack is so that the source file can tell whether it is being
8702 # built for inclusion in a dll (and should export symbols for example).
8703 lt_prog_compiler_pic='-DDLL_EXPORT'
8706 hpux9* | hpux10* | hpux11*)
8707 lt_prog_compiler_wl='-Wl,'
8708 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8715 lt_prog_compiler_pic='+Z'
8718 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8719 lt_prog_compiler_static='${wl}-a ${wl}archive'
8722 irix5* | irix6* | nonstopux*)
8723 lt_prog_compiler_wl='-Wl,'
8724 # PIC (with -KPIC) is the default.
8725 lt_prog_compiler_static='-non_shared'
8728 linux* | k*bsd*-gnu)
8729 case $cc_basename in
8730 icc* | ecc* | ifort*)
8731 lt_prog_compiler_wl='-Wl,'
8732 lt_prog_compiler_pic='-KPIC'
8733 lt_prog_compiler_static='-static'
8735 pgcc* | pgf77* | pgf90* | pgf95*)
8736 # Portland Group compilers (*not* the Pentium gcc compiler,
8737 # which looks to be a dead project)
8738 lt_prog_compiler_wl='-Wl,'
8739 lt_prog_compiler_pic='-fpic'
8740 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8744 # All Alpha code is PIC.
8745 lt_prog_compiler_static='-non_shared'
8748 # IBM XL C 8.0/Fortran 10.1 on PPC
8749 lt_prog_compiler_wl='-Wl,'
8750 lt_prog_compiler_pic='-qpic'
8751 lt_prog_compiler_static='-qstaticlink'
8754 case `$CC -V 2>&1 | sed 5q` in
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8759 lt_prog_compiler_wl='-Wl,'
8762 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-Bstatic'
8765 lt_prog_compiler_wl=''
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-Bstatic'
8778 # QNX uses GNU C++, but need to define -shared option too, otherwise
8780 lt_prog_compiler_pic='-fPIC -shared'
8783 osf3* | osf4* | osf5*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All OSF/1 code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8790 lt_prog_compiler_static='-non_shared'
8794 lt_prog_compiler_pic='-KPIC'
8795 lt_prog_compiler_static='-Bstatic'
8796 case $cc_basename in
8798 lt_prog_compiler_wl='-Qoption ld ';;
8800 lt_prog_compiler_wl='-Wl,';;
8805 lt_prog_compiler_wl='-Qoption ld '
8806 lt_prog_compiler_pic='-PIC'
8807 lt_prog_compiler_static='-Bstatic'
8810 sysv4 | sysv4.2uw2* | sysv4.3*)
8811 lt_prog_compiler_wl='-Wl,'
8812 lt_prog_compiler_pic='-KPIC'
8813 lt_prog_compiler_static='-Bstatic'
8817 if test -d /usr/nec ;then
8818 lt_prog_compiler_pic='-Kconform_pic'
8819 lt_prog_compiler_static='-Bstatic'
8823 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8824 lt_prog_compiler_wl='-Wl,'
8825 lt_prog_compiler_pic='-KPIC'
8826 lt_prog_compiler_static='-Bstatic'
8830 lt_prog_compiler_wl='-Wl,'
8831 lt_prog_compiler_can_build_shared=no
8835 lt_prog_compiler_pic='-pic'
8836 lt_prog_compiler_static='-Bstatic'
8840 lt_prog_compiler_can_build_shared=no
8846 # For platforms which do not support PIC, -DPIC is meaningless:
8848 lt_prog_compiler_pic=
8851 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8854 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8855 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8863 # Check to make sure the PIC flag actually works.
8865 if test -n "$lt_prog_compiler_pic"; then
8866 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8867 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8868 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 lt_cv_prog_compiler_pic_works=no
8872 ac_outfile=conftest.$ac_objext
8873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8874 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8875 # Insert the option either (1) after the last *FLAGS variable, or
8876 # (2) before a word containing "conftest.", or (3) at the end.
8877 # Note that $ac_compile itself does not contain backslashes and begins
8878 # with a dollar sign (not a hyphen), so the echo should work correctly.
8879 # The option is referenced via a variable to avoid confusing sed.
8880 lt_compile=`echo "$ac_compile" | $SED \
8881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8883 -e 's:$: $lt_compiler_flag:'`
8884 (eval echo "\"\$as_me:8884: $lt_compile\"" >&5)
8885 (eval "$lt_compile" 2>conftest.err)
8887 cat conftest.err >&5
8888 echo "$as_me:8888: \$? = $ac_status" >&5
8889 if (exit $ac_status) && test -s "$ac_outfile"; then
8890 # The compiler can only warn and ignore the option if not recognized
8891 # So say no if there are warnings other than the usual output.
8892 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8893 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8894 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8895 lt_cv_prog_compiler_pic_works=yes
8901 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8902 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8904 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8905 case $lt_prog_compiler_pic in
8907 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8910 lt_prog_compiler_pic=
8911 lt_prog_compiler_can_build_shared=no
8922 # Check to make sure the static flag actually works.
8924 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8925 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8926 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8927 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 lt_cv_prog_compiler_static_works=no
8931 save_LDFLAGS="$LDFLAGS"
8932 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8933 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8934 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8935 # The linker can only warn and ignore the option if not recognized
8936 # So say no if there are warnings
8937 if test -s conftest.err; then
8938 # Append any errors to the config.log.
8939 cat conftest.err 1>&5
8940 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8941 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8942 if diff conftest.exp conftest.er2 >/dev/null; then
8943 lt_cv_prog_compiler_static_works=yes
8946 lt_cv_prog_compiler_static_works=yes
8950 LDFLAGS="$save_LDFLAGS"
8953 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8954 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8956 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8959 lt_prog_compiler_static=
8968 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8969 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8970 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 lt_cv_prog_compiler_c_o=no
8974 $RM -r conftest 2>/dev/null
8978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8980 lt_compiler_flag="-o out/conftest2.$ac_objext"
8981 # Insert the option either (1) after the last *FLAGS variable, or
8982 # (2) before a word containing "conftest.", or (3) at the end.
8983 # Note that $ac_compile itself does not contain backslashes and begins
8984 # with a dollar sign (not a hyphen), so the echo should work correctly.
8985 lt_compile=`echo "$ac_compile" | $SED \
8986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8988 -e 's:$: $lt_compiler_flag:'`
8989 (eval echo "\"\$as_me:8989: $lt_compile\"" >&5)
8990 (eval "$lt_compile" 2>out/conftest.err)
8992 cat out/conftest.err >&5
8993 echo "$as_me:8993: \$? = $ac_status" >&5
8994 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8996 # The compiler can only warn and ignore the option if not recognized
8997 # So say no if there are warnings
8998 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8999 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9000 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9001 lt_cv_prog_compiler_c_o=yes
9006 # SGI C++ compiler will create directory out/ii_files/ for
9007 # template instantiation
9008 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9009 $RM out/* && rmdir out
9015 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9016 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9023 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9024 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9025 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9028 lt_cv_prog_compiler_c_o=no
9029 $RM -r conftest 2>/dev/null
9033 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9035 lt_compiler_flag="-o out/conftest2.$ac_objext"
9036 # Insert the option either (1) after the last *FLAGS variable, or
9037 # (2) before a word containing "conftest.", or (3) at the end.
9038 # Note that $ac_compile itself does not contain backslashes and begins
9039 # with a dollar sign (not a hyphen), so the echo should work correctly.
9040 lt_compile=`echo "$ac_compile" | $SED \
9041 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9043 -e 's:$: $lt_compiler_flag:'`
9044 (eval echo "\"\$as_me:9044: $lt_compile\"" >&5)
9045 (eval "$lt_compile" 2>out/conftest.err)
9047 cat out/conftest.err >&5
9048 echo "$as_me:9048: \$? = $ac_status" >&5
9049 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9051 # The compiler can only warn and ignore the option if not recognized
9052 # So say no if there are warnings
9053 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9054 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9055 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9056 lt_cv_prog_compiler_c_o=yes
9061 # SGI C++ compiler will create directory out/ii_files/ for
9062 # template instantiation
9063 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9064 $RM out/* && rmdir out
9070 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9071 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9076 hard_links="nottested"
9077 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9078 # do not overwrite the value of need_locks provided by the user
9079 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9080 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9083 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9085 ln conftest.a conftest.b 2>&5 || hard_links=no
9086 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9087 { echo "$as_me:$LINENO: result: $hard_links" >&5
9088 echo "${ECHO_T}$hard_links" >&6; }
9089 if test "$hard_links" = no; then
9090 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9091 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9103 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9104 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9107 allow_undefined_flag=
9108 always_export_symbols=no
9110 archive_expsym_cmds=
9111 compiler_needs_object=no
9112 enable_shared_with_static_runtimes=no
9113 export_dynamic_flag_spec=
9114 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9115 hardcode_automatic=no
9117 hardcode_direct_absolute=no
9118 hardcode_libdir_flag_spec=
9119 hardcode_libdir_flag_spec_ld=
9120 hardcode_libdir_separator=
9122 hardcode_shlibpath_var=unsupported
9124 link_all_deplibs=unknown
9127 old_archive_from_new_cmds=
9128 old_archive_from_expsyms_cmds=
9129 thread_safe_flag_spec=
9130 whole_archive_flag_spec=
9131 # include_expsyms should be a list of space-separated symbols to be *always*
9132 # included in the symbol list
9134 # exclude_expsyms can be an extended regexp of symbols to exclude
9135 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9136 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9137 # as well as any symbol that contains `d'.
9138 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9139 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9140 # platforms (ab)use it in PIC code, but their linkers get confused if
9141 # the symbol is explicitly referenced. Since portable code cannot
9142 # rely on this symbol name, it's probably fine to never include it in
9143 # preloaded symbol tables.
9144 # Exclude shared library initialization/finalization symbols.
9145 extract_expsyms_cmds=
9148 cygwin* | mingw* | pw32*)
9149 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9150 # When not using gcc, we currently assume that we are using
9151 # Microsoft Visual C++.
9152 if test "$GCC" != yes; then
9157 # we just hope/assume this is gcc and not c89 (= MSVC++)
9166 if test "$with_gnu_ld" = yes; then
9167 # If archive_cmds runs LD, not CC, wlarc should be empty
9170 # Set some defaults for GNU ld with shared library support. These
9171 # are reset later if shared libraries are not supported. Putting them
9172 # here allows them to be overridden if necessary.
9173 runpath_var=LD_RUN_PATH
9174 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9175 export_dynamic_flag_spec='${wl}--export-dynamic'
9176 # ancient GNU ld didn't support --whole-archive et. al.
9177 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9178 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9180 whole_archive_flag_spec=
9182 supports_anon_versioning=no
9183 case `$LD -v 2>&1` in
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9191 # See if GNU ld supports shared libraries.
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9199 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to modify your PATH
9203 *** so that a non-GNU linker is found, and then restart.
9212 # see comment about AmigaOS4 .so support
9213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9214 archive_expsym_cmds=''
9217 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)'
9218 hardcode_libdir_flag_spec='-L$libdir'
9219 hardcode_minus_L=yes
9225 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9226 allow_undefined_flag=unsupported
9227 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9228 # support --undefined. This deserves some investigation. FIXME
9229 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 cygwin* | mingw* | pw32*)
9236 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9237 # as there is no search path for DLLs.
9238 hardcode_libdir_flag_spec='-L$libdir'
9239 allow_undefined_flag=unsupported
9240 always_export_symbols=no
9241 enable_shared_with_static_runtimes=yes
9242 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9244 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9245 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9246 # If the export-symbols file already is a .def file (1st line
9247 # is EXPORTS), use it as is; otherwise, prepend...
9248 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9249 cp $export_symbols $output_objdir/$soname.def;
9251 echo EXPORTS > $output_objdir/$soname.def;
9252 cat $export_symbols >> $output_objdir/$soname.def;
9254 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 hardcode_shlibpath_var=no
9263 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9264 export_dynamic_flag_spec='${wl}-E'
9265 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9266 # Instead, shared libraries are loaded at an image base (0x10000000 by
9267 # default) and relocated if they conflict, which is a slow very memory
9268 # consuming and fragmenting process. To avoid this, we pick a random,
9269 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9270 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9271 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9272 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'
9275 gnu* | linux* | tpf* | k*bsd*-gnu)
9277 if test "$host_os" = linux-dietlibc; then
9278 case $cc_basename in
9279 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9282 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9283 && test "$tmp_diet" = no
9286 tmp_sharedflag='-shared'
9287 case $cc_basename,$host_cpu in
9288 pgcc*) # Portland Group C compiler
9289 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'
9290 tmp_addflag=' $pic_flag'
9292 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9293 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'
9294 tmp_addflag=' $pic_flag -Mnomain' ;;
9295 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9296 tmp_addflag=' -i_dynamic' ;;
9297 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9298 tmp_addflag=' -i_dynamic -nofor_main' ;;
9299 ifc* | ifort*) # Intel Fortran compiler
9300 tmp_addflag=' -nofor_main' ;;
9301 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9302 tmp_sharedflag='-qmkshrobj'
9305 case `$CC -V 2>&1 | sed 5q` in
9306 *Sun\ C*) # Sun C 5.9
9307 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'
9308 compiler_needs_object=yes
9309 tmp_sharedflag='-G' ;;
9310 *Sun\ F*) # Sun Fortran 8.3
9311 tmp_sharedflag='-G' ;;
9313 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 if test "x$supports_anon_versioning" = xyes; then
9316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318 echo "local: *; };" >> $output_objdir/$libname.ver~
9319 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322 case $cc_basename in
9324 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9325 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9326 hardcode_libdir_flag_spec=
9327 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9328 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9329 if test "x$supports_anon_versioning" = xyes; then
9330 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9331 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9332 echo "local: *; };" >> $output_objdir/$libname.ver~
9333 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9343 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9344 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9353 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9357 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9358 *** create shared libraries on Solaris systems. Therefore, libtool
9359 *** is disabling shared libraries support. We urge you to upgrade GNU
9360 *** binutils to release 2.9.1 or newer. Another option is to modify
9361 *** your PATH or compiler configuration so that the native linker is
9362 *** used, and then restart.
9365 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9366 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9374 case `$LD -v 2>&1` in
9375 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9379 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9380 *** reliably create shared libraries on SCO systems. Therefore, libtool
9381 *** is disabling shared libraries support. We urge you to upgrade GNU
9382 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9383 *** your PATH or compiler configuration so that the native linker is
9384 *** used, and then restart.
9389 # For security reasons, it is highly recommended that you always
9390 # use absolute paths for naming shared libraries, and exclude the
9391 # DT_RUNPATH tag from executables and libraries. But doing so
9392 # requires that you compile everything twice, which is a pain.
9393 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9395 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9396 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9405 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 hardcode_shlibpath_var=no
9412 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9413 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9414 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9421 if test "$ld_shlibs" = no; then
9423 hardcode_libdir_flag_spec=
9424 export_dynamic_flag_spec=
9425 whole_archive_flag_spec=
9428 # PORTME fill in a description of your system's linker (not GNU ld)
9431 allow_undefined_flag=unsupported
9432 always_export_symbols=yes
9433 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'
9434 # Note: this linker hardcodes the directories in LIBPATH if there
9435 # are no directories specified by -L.
9436 hardcode_minus_L=yes
9437 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9438 # Neither direct hardcoding nor static linking is supported with a
9440 hardcode_direct=unsupported
9445 if test "$host_cpu" = ia64; then
9446 # On IA64, the linker does run time linking by default, so we don't
9447 # have to do anything special.
9448 aix_use_runtimelinking=no
9449 exp_sym_flag='-Bexport'
9452 # If we're using GNU nm, then we don't want the "-C" option.
9453 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9454 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9455 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'
9457 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'
9459 aix_use_runtimelinking=no
9461 # Test if we are trying to use run time linking or normal
9462 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9463 # need to do runtime linking.
9464 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9465 for ld_flag in $LDFLAGS; do
9466 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9467 aix_use_runtimelinking=yes
9474 exp_sym_flag='-bexport'
9475 no_entry_flag='-bnoentry'
9478 # When large executables or shared objects are built, AIX ld can
9479 # have problems creating the table of contents. If linking a library
9480 # or program results in "error TOC overflow" add -mminimal-toc to
9481 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9482 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9486 hardcode_direct_absolute=yes
9487 hardcode_libdir_separator=':'
9488 link_all_deplibs=yes
9489 file_list_spec='${wl}-f,'
9491 if test "$GCC" = yes; then
9492 case $host_os in aix4.[012]|aix4.[012].*)
9493 # We only want to do this on AIX 4.2 and lower, the check
9494 # below for broken collect2 doesn't work under 4.3+
9495 collect2name=`${CC} -print-prog-name=collect2`
9496 if test -f "$collect2name" &&
9497 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9499 # We have reworked collect2
9502 # We have old collect2
9503 hardcode_direct=unsupported
9504 # It fails to find uninstalled libraries when the uninstalled
9505 # path is not listed in the libpath. Setting hardcode_minus_L
9506 # to unsupported forces relinking
9507 hardcode_minus_L=yes
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_libdir_separator=
9513 shared_flag='-shared'
9514 if test "$aix_use_runtimelinking" = yes; then
9515 shared_flag="$shared_flag "'${wl}-G'
9519 if test "$host_cpu" = ia64; then
9520 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9521 # chokes on -Wl,-G. The following line is correct:
9524 if test "$aix_use_runtimelinking" = yes; then
9525 shared_flag='${wl}-G'
9527 shared_flag='${wl}-bM:SRE'
9532 # It seems that -bexpall does not export symbols beginning with
9533 # underscore (_), so it is better to generate a list of symbols to export.
9534 always_export_symbols=yes
9535 if test "$aix_use_runtimelinking" = yes; then
9536 # Warning - without using the other runtime loading flags (-brtl),
9537 # -berok will link without error, but may produce a broken library.
9538 allow_undefined_flag='-berok'
9539 # Determine the default libpath from the value encoded in an
9541 cat >conftest.$ac_ext <<_ACEOF
9544 cat confdefs.h >>conftest.$ac_ext
9545 cat >>conftest.$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9556 rm -f conftest.$ac_objext conftest$ac_exeext
9557 if { (ac_try="$ac_link"
9559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9560 *) ac_try_echo=$ac_try;;
9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9563 (eval "$ac_link") 2>conftest.er1
9565 grep -v '^ *+' conftest.er1 >conftest.err
9567 cat conftest.err >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } && {
9570 test -z "$ac_c_werror_flag" ||
9571 test ! -s conftest.err
9572 } && test -s conftest$ac_exeext &&
9573 $as_test_x conftest$ac_exeext; then
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.$ac_ext >&5
9594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9598 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9599 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"
9601 if test "$host_cpu" = ia64; then
9602 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9603 allow_undefined_flag="-z nodefs"
9604 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"
9606 # Determine the default libpath from the value encoded in an
9608 cat >conftest.$ac_ext <<_ACEOF
9611 cat confdefs.h >>conftest.$ac_ext
9612 cat >>conftest.$ac_ext <<_ACEOF
9613 /* end confdefs.h. */
9623 rm -f conftest.$ac_objext conftest$ac_exeext
9624 if { (ac_try="$ac_link"
9626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9627 *) ac_try_echo=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1 >conftest.err
9634 cat conftest.err >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } && {
9637 test -z "$ac_c_werror_flag" ||
9638 test ! -s conftest.err
9639 } && test -s conftest$ac_exeext &&
9640 $as_test_x conftest$ac_exeext; then
9642 lt_aix_libpath_sed='
9643 /Import File Strings/,/^$/ {
9649 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 # Check for a 64-bit object if we didn't find anything.
9651 if test -z "$aix_libpath"; then
9652 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9662 conftest$ac_exeext conftest.$ac_ext
9663 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9665 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9666 # Warning - without using the other run time loading flags,
9667 # -berok will link without error, but may produce a broken library.
9668 no_undefined_flag=' ${wl}-bernotok'
9669 allow_undefined_flag=' ${wl}-berok'
9670 # Exported symbols can be pulled into shared objects from archives
9671 whole_archive_flag_spec='$convenience'
9672 archive_cmds_need_lc=yes
9673 # This is similar to how AIX traditionally builds its shared libraries.
9674 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'
9682 # see comment about AmigaOS4 .so support
9683 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9684 archive_expsym_cmds=''
9687 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)'
9688 hardcode_libdir_flag_spec='-L$libdir'
9689 hardcode_minus_L=yes
9695 export_dynamic_flag_spec=-rdynamic
9698 cygwin* | mingw* | pw32*)
9699 # When not using gcc, we currently assume that we are using
9700 # Microsoft Visual C++.
9701 # hardcode_libdir_flag_spec is actually meaningless, as there is
9702 # no search path for DLLs.
9703 hardcode_libdir_flag_spec=' '
9704 allow_undefined_flag=unsupported
9705 # Tell ltmain to make .lib files, not .a files.
9707 # Tell ltmain to make .dll files, not .so files.
9709 # FIXME: Setting linknames here is a bad hack.
9710 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9711 # The linker will automatically build a .lib file if we build a DLL.
9712 old_archive_from_new_cmds='true'
9713 # FIXME: Should let the user specify the lib program.
9714 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9715 fix_srcfile_path='`cygpath -w "$srcfile"`'
9716 enable_shared_with_static_runtimes=yes
9719 darwin* | rhapsody*)
9722 archive_cmds_need_lc=no
9724 hardcode_automatic=yes
9725 hardcode_shlibpath_var=unsupported
9726 whole_archive_flag_spec=''
9727 link_all_deplibs=yes
9728 allow_undefined_flag="$_lt_dar_allow_undefined"
9729 if test "$GCC" = "yes"; then
9730 output_verbose_link_cmd=echo
9731 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9732 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9733 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}"
9734 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}"
9743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_shlibpath_var=no
9752 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9753 # support. Future versions do this automatically, but an explicit c++rt0.o
9754 # does not break anything, and helps significantly (at the cost of a little
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9758 hardcode_libdir_flag_spec='-R$libdir'
9760 hardcode_shlibpath_var=no
9763 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9765 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9767 hardcode_minus_L=yes
9768 hardcode_shlibpath_var=no
9771 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9772 freebsd* | dragonfly*)
9773 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9774 hardcode_libdir_flag_spec='-R$libdir'
9776 hardcode_shlibpath_var=no
9780 if test "$GCC" = yes; then
9781 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'
9783 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'
9785 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9786 hardcode_libdir_separator=:
9789 # hardcode_minus_L: Not really in the search PATH,
9790 # but as the default location of the library.
9791 hardcode_minus_L=yes
9792 export_dynamic_flag_spec='${wl}-E'
9796 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9797 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9801 if test "$with_gnu_ld" = no; then
9802 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9803 hardcode_libdir_flag_spec_ld='+b $libdir'
9804 hardcode_libdir_separator=:
9806 hardcode_direct_absolute=yes
9807 export_dynamic_flag_spec='${wl}-E'
9808 # hardcode_minus_L: Not really in the search PATH,
9809 # but as the default location of the library.
9810 hardcode_minus_L=yes
9815 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9818 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9821 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9840 if test "$with_gnu_ld" = no; then
9841 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9842 hardcode_libdir_separator=:
9847 hardcode_shlibpath_var=no
9851 hardcode_direct_absolute=yes
9852 export_dynamic_flag_spec='${wl}-E'
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L=yes
9862 irix5* | irix6* | nonstopux*)
9863 if test "$GCC" = yes; then
9864 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'
9865 # Try to use the -exported_symbol ld option, if it does not
9866 # work, assume that -exports_file does not work either and
9867 # implicitly export all symbols.
9868 save_LDFLAGS="$LDFLAGS"
9869 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9870 cat >conftest.$ac_ext <<_ACEOF
9873 rm -f conftest.$ac_objext conftest$ac_exeext
9874 if { (ac_try="$ac_link"
9876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9877 *) ac_try_echo=$ac_try;;
9879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9880 (eval "$ac_link") 2>conftest.er1
9882 grep -v '^ *+' conftest.er1 >conftest.err
9884 cat conftest.err >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } && {
9887 test -z "$ac_c_werror_flag" ||
9888 test ! -s conftest.err
9889 } && test -s conftest$ac_exeext &&
9890 $as_test_x conftest$ac_exeext; then
9891 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'
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LDFLAGS="$save_LDFLAGS"
9904 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'
9905 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'
9907 archive_cmds_need_lc='no'
9908 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9909 hardcode_libdir_separator=:
9911 link_all_deplibs=yes
9915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9916 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9918 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9920 hardcode_libdir_flag_spec='-R$libdir'
9922 hardcode_shlibpath_var=no
9926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9929 hardcode_libdir_separator=:
9930 hardcode_shlibpath_var=no
9937 if test -f /usr/libexec/ld.so; then
9939 hardcode_shlibpath_var=no
9940 hardcode_direct_absolute=yes
9941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9942 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9944 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9945 export_dynamic_flag_spec='${wl}-E'
9948 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9950 hardcode_libdir_flag_spec='-R$libdir'
9953 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9964 hardcode_libdir_flag_spec='-L$libdir'
9965 hardcode_minus_L=yes
9966 allow_undefined_flag=unsupported
9967 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'
9968 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9972 if test "$GCC" = yes; then
9973 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9974 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'
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9979 archive_cmds_need_lc='no'
9980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9981 hardcode_libdir_separator=:
9984 osf4* | osf5*) # as osf3* with the addition of -msym flag
9985 if test "$GCC" = yes; then
9986 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9987 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'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9990 allow_undefined_flag=' -expect_unresolved \*'
9991 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'
9992 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~
9993 $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'
9995 # Both c and cxx compiler support -rpath directly
9996 hardcode_libdir_flag_spec='-rpath $libdir'
9998 archive_cmds_need_lc='no'
9999 hardcode_libdir_separator=:
10003 no_undefined_flag=' -z defs'
10004 if test "$GCC" = yes; then
10006 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10008 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10010 case `$CC -V 2>&1` in
10013 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10014 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10015 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10019 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10020 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10021 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10025 hardcode_libdir_flag_spec='-R$libdir'
10026 hardcode_shlibpath_var=no
10028 solaris2.[0-5] | solaris2.[0-5].*) ;;
10030 # The compiler driver will combine and reorder linker options,
10031 # but understands `-z linker_flag'. GCC discards it without `$wl',
10032 # but is careful enough not to reorder.
10033 # Supported since Solaris 2.6 (maybe 2.5.1?)
10034 if test "$GCC" = yes; then
10035 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10037 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10041 link_all_deplibs=yes
10045 if test "x$host_vendor" = xsequent; then
10046 # Use $CC to link under sequent, because it throws in some extra .o
10047 # files that make .init and .fini sections work.
10048 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10050 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10052 hardcode_libdir_flag_spec='-L$libdir'
10053 hardcode_direct=yes
10054 hardcode_minus_L=yes
10055 hardcode_shlibpath_var=no
10059 case $host_vendor in
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_direct=yes # is this really true???
10065 ## LD is ld it makes a PLAMLIB
10066 ## CC just makes a GrossModule.
10067 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10068 reload_cmds='$CC -r -o $output$reload_objs'
10072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10076 runpath_var='LD_RUN_PATH'
10077 hardcode_shlibpath_var=no
10081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_shlibpath_var=no
10083 export_dynamic_flag_spec='-Bexport'
10087 if test -d /usr/nec; then
10088 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10089 hardcode_shlibpath_var=no
10090 runpath_var=LD_RUN_PATH
10091 hardcode_runpath_var=yes
10096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10097 no_undefined_flag='${wl}-z,text'
10098 archive_cmds_need_lc=no
10099 hardcode_shlibpath_var=no
10100 runpath_var='LD_RUN_PATH'
10102 if test "$GCC" = yes; then
10103 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 sysv5* | sco3.2v5* | sco5v6*)
10112 # Note: We can NOT use -z defs as we might desire, because we do not
10113 # link with -lc, and that would cause any symbols used from libc to
10114 # always be unresolved, which means just about no library would
10115 # ever link correctly. If we're not using GNU ld we use -z text
10116 # though, which does catch some bad symbols but isn't as heavy-handed
10118 no_undefined_flag='${wl}-z,text'
10119 allow_undefined_flag='${wl}-z,nodefs'
10120 archive_cmds_need_lc=no
10121 hardcode_shlibpath_var=no
10122 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10123 hardcode_libdir_separator=':'
10124 link_all_deplibs=yes
10125 export_dynamic_flag_spec='${wl}-Bexport'
10126 runpath_var='LD_RUN_PATH'
10128 if test "$GCC" = yes; then
10129 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_libdir_flag_spec='-L$libdir'
10140 hardcode_shlibpath_var=no
10148 if test x$host_vendor = xsni; then
10150 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10151 export_dynamic_flag_spec='${wl}-Blargedynsym'
10157 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10158 echo "${ECHO_T}$ld_shlibs" >&6; }
10159 test "$ld_shlibs" = no && can_build_shared=no
10161 with_gnu_ld=$with_gnu_ld
10178 # Do we need to explicitly link libc?
10180 case "x$archive_cmds_need_lc" in
10182 # Assume -lc should be added
10183 archive_cmds_need_lc=yes
10185 if test "$enable_shared" = yes && test "$GCC" = yes; then
10186 case $archive_cmds in
10188 # FIXME: we may have to deal with multi-command sequences.
10191 # Test whether the compiler implicitly links with -lc since on some
10192 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10193 # to ld, don't add -lc before -lgcc.
10194 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10195 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10200 (eval $ac_compile) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } 2>conftest.err; then
10206 libobjs=conftest.$ac_objext
10208 wl=$lt_prog_compiler_wl
10209 pic_flag=$lt_prog_compiler_pic
10215 lt_save_allow_undefined_flag=$allow_undefined_flag
10216 allow_undefined_flag=
10217 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10218 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }
10223 archive_cmds_need_lc=no
10225 archive_cmds_need_lc=yes
10227 allow_undefined_flag=$lt_save_allow_undefined_flag
10229 cat conftest.err 1>&5
10232 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10233 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10396 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10397 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10399 if test "$GCC" = yes; then
10401 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10402 *) lt_awk_arg="/^libraries:/" ;;
10404 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10405 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10406 # if the path contains ";" then we assume it to be the separator
10407 # otherwise default to the standard path separator (i.e. ":") - it is
10408 # assumed that no part of a normal pathname contains ";" but that should
10409 # okay in the real world where ";" in dirpaths is itself problematic.
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10412 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10414 # Ok, now we have the path, separated by spaces, we can step through it
10415 # and add multilib dir if necessary.
10416 lt_tmp_lt_search_path_spec=
10417 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10418 for lt_sys_path in $lt_search_path_spec; do
10419 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10420 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10422 test -d "$lt_sys_path" && \
10423 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10426 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10427 BEGIN {RS=" "; FS="/|\n";} {
10430 for (lt_i = NF; lt_i > 0; lt_i--) {
10431 if ($lt_i != "" && $lt_i != ".") {
10432 if ($lt_i == "..") {
10435 if (lt_count == 0) {
10436 lt_foo="/" $lt_i lt_foo;
10443 if (lt_foo != "") { lt_freq[lt_foo]++; }
10444 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10446 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10448 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10450 library_names_spec=
10451 libname_spec='lib$name'
10455 postuninstall_cmds=
10459 shlibpath_overrides_runpath=unknown
10461 dynamic_linker="$host_os ld.so"
10462 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10463 need_lib_prefix=unknown
10464 hardcode_into_libs=no
10466 # when you set need_version to no, make sure it does not cause -set_version
10467 # flags to be left without arguments
10468 need_version=unknown
10473 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10474 shlibpath_var=LIBPATH
10476 # AIX 3 has no versioning support, so we append a major version to the name.
10477 soname_spec='${libname}${release}${shared_ext}$major'
10484 hardcode_into_libs=yes
10485 if test "$host_cpu" = ia64; then
10486 # AIX 5 supports IA64
10487 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10488 shlibpath_var=LD_LIBRARY_PATH
10490 # With GCC up to 2.95.x, collect2 would create an import file
10491 # for dependence libraries. The import file would start with
10492 # the line `#! .'. This would cause the generated library to
10493 # depend on `.', always an invalid library. This was fixed in
10494 # development snapshots of GCC prior to 3.0.
10496 aix4 | aix4.[01] | aix4.[01].*)
10497 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10499 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10502 can_build_shared=no
10506 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10507 # soname into executable. Probably we can add versioning support to
10508 # collect2, so additional links can be useful in future.
10509 if test "$aix_use_runtimelinking" = yes; then
10510 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10511 # instead of lib<name>.a to let people know that these are not
10512 # typical AIX shared libraries.
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 # We preserve .a as extension for shared libraries through AIX4.2
10516 # and later when we are not doing run time linking.
10517 library_names_spec='${libname}${release}.a $libname.a'
10518 soname_spec='${libname}${release}${shared_ext}$major'
10520 shlibpath_var=LIBPATH
10527 # Since July 2007 AmigaOS4 officially supports .so libraries.
10528 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 library_names_spec='$libname.ixlibrary $libname.a'
10533 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10534 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'
10540 library_names_spec='${libname}${shared_ext}'
10541 dynamic_linker="$host_os ld.so"
10542 shlibpath_var=LIBRARY_PATH
10548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 soname_spec='${libname}${release}${shared_ext}$major'
10550 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10551 shlibpath_var=LD_LIBRARY_PATH
10552 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10553 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10554 # the default ld.so.conf also contains /usr/contrib/lib and
10555 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10556 # libtool to hard-code these into programs
10559 cygwin* | mingw* | pw32*)
10560 version_type=windows
10565 case $GCC,$host_os in
10566 yes,cygwin* | yes,mingw* | yes,pw32*)
10567 library_names_spec='$libname.dll.a'
10568 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10569 postinstall_cmds='base_file=`basename \${file}`~
10570 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10571 dldir=$destdir/`dirname \$dlpath`~
10572 test -d \$dldir || mkdir -p \$dldir~
10573 $install_prog $dir/$dlname \$dldir/$dlname~
10574 chmod a+x \$dldir/$dlname~
10575 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10576 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10578 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10579 dlpath=$dir/\$dldll~
10581 shlibpath_overrides_runpath=yes
10585 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10586 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10587 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10590 # MinGW DLLs use traditional 'lib' prefix
10591 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10593 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10594 # It is most probably a Windows format PATH printed by
10595 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10596 # path with ; separators, and with drive letters. We can handle the
10597 # drive letters (cygwin fileutils understands them), so leave them,
10598 # especially as we might pass files found there to a mingw objdump,
10599 # which wouldn't understand a cygwinified path. Ahh.
10600 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10606 # pw32 DLLs use 'pw' prefix rather than 'lib'
10607 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10613 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10616 dynamic_linker='Win32 ld.exe'
10617 # FIXME: first we should search . and the directory the executable is in
10621 darwin* | rhapsody*)
10622 dynamic_linker="$host_os dyld"
10623 version_type=darwin
10626 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10627 soname_spec='${libname}${release}${major}$shared_ext'
10628 shlibpath_overrides_runpath=yes
10629 shlibpath_var=DYLD_LIBRARY_PATH
10630 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10632 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10633 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 shlibpath_var=LD_LIBRARY_PATH
10649 freebsd* | dragonfly*)
10650 # DragonFly does not have aout. When/if they implement a new
10651 # versioning mechanism, adjust this.
10652 if test -x /usr/bin/objformat; then
10653 objformat=`/usr/bin/objformat`
10656 freebsd[123]*) objformat=aout ;;
10657 *) objformat=elf ;;
10660 version_type=freebsd-$objformat
10661 case $version_type in
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=yes
10677 freebsd3.[01]* | freebsdelf3.[01]*)
10678 shlibpath_overrides_runpath=yes
10679 hardcode_into_libs=yes
10681 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10682 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10683 shlibpath_overrides_runpath=no
10684 hardcode_into_libs=yes
10686 *) # from 4.6 on, and DragonFly
10687 shlibpath_overrides_runpath=yes
10688 hardcode_into_libs=yes
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 shlibpath_var=LD_LIBRARY_PATH
10700 hardcode_into_libs=yes
10703 hpux9* | hpux10* | hpux11*)
10704 # Give a soname corresponding to the major version so that dld.sl refuses to
10705 # link against other versions.
10712 hardcode_into_libs=yes
10713 dynamic_linker="$host_os dld.so"
10714 shlibpath_var=LD_LIBRARY_PATH
10715 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 if test "X$HPUX_IA64_MODE" = X32; then
10719 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10721 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10723 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 hardcode_into_libs=yes
10728 dynamic_linker="$host_os dld.sl"
10729 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10730 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10734 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 dynamic_linker="$host_os dld.sl"
10739 shlibpath_var=SHLIB_PATH
10740 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 soname_spec='${libname}${release}${shared_ext}$major'
10745 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10746 postinstall_cmds='chmod 555 $lib'
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10754 soname_spec='${libname}${release}${shared_ext}$major'
10755 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10756 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10761 irix5* | irix6* | nonstopux*)
10763 nonstopux*) version_type=nonstopux ;;
10765 if test "$lt_cv_prog_gnu_ld" = yes; then
10773 soname_spec='${libname}${release}${shared_ext}$major'
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10776 irix5* | nonstopux*)
10777 libsuff= shlibsuff=
10780 case $LD in # libtool.m4 will add one of these switches to LD
10781 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10782 libsuff= shlibsuff= libmagic=32-bit;;
10783 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10784 libsuff=32 shlibsuff=N32 libmagic=N32;;
10785 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10786 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10787 *) libsuff= shlibsuff= libmagic=never-match;;
10791 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10792 shlibpath_overrides_runpath=no
10793 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10794 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10795 hardcode_into_libs=yes
10798 # No shared lib support for Linux oldld, aout, or coff.
10799 linux*oldld* | linux*aout* | linux*coff*)
10803 # This must be Linux ELF.
10804 linux* | k*bsd*-gnu)
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec='${libname}${release}${shared_ext}$major'
10810 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=no
10813 # Some binutils ld are patched to set DT_RUNPATH
10814 save_LDFLAGS=$LDFLAGS
10815 save_libdir=$libdir
10816 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10817 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10818 cat >conftest.$ac_ext <<_ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (ac_try="$ac_link"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_link") 2>conftest.er1
10842 grep -v '^ *+' conftest.er1 >conftest.err
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest$ac_exeext &&
10850 $as_test_x conftest$ac_exeext; then
10851 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10852 shlibpath_overrides_runpath=yes
10856 echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LDFLAGS=$save_LDFLAGS
10865 libdir=$save_libdir
10867 # This implies no fast_install, which is unacceptable.
10868 # Some rework will be needed to allow for fast_install
10869 # before this can be enabled.
10870 hardcode_into_libs=yes
10872 # Append ld.so.conf contents to the search path
10873 if test -f /etc/ld.so.conf; then
10874 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' ' '`
10875 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10878 # We used to test for /lib/ld.so.1 and disable shared libraries on
10879 # powerpc, because MkLinux only supported shared libraries with the
10880 # GNU dynamic linker. Since this was broken with cross compilers,
10881 # most powerpc-linux boxes support dynamic linking these days and
10882 # people can always --disable-shared, the test was removed, and we
10883 # assume the GNU/Linux dynamic linker is in use.
10884 dynamic_linker='GNU/Linux ld.so'
10891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10894 dynamic_linker='NetBSD (a.out) ld.so'
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 dynamic_linker='NetBSD ld.elf_so'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=yes
10902 hardcode_into_libs=yes
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=yes
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 soname_spec='${libname}${release}${shared_ext}$major'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 shlibpath_overrides_runpath=no
10920 hardcode_into_libs=yes
10921 dynamic_linker='ldqnx.so'
10926 sys_lib_dlsearch_path_spec="/usr/lib"
10928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10930 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10931 *) need_version=no ;;
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10938 openbsd2.[89] | openbsd2.[89].*)
10939 shlibpath_overrides_runpath=no
10942 shlibpath_overrides_runpath=yes
10946 shlibpath_overrides_runpath=yes
10951 libname_spec='$name'
10954 library_names_spec='$libname${shared_ext} $libname.a'
10955 dynamic_linker='OS/2 ld.exe'
10956 shlibpath_var=LIBPATH
10959 osf3* | osf4* | osf5*)
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 shlibpath_var=LD_LIBRARY_PATH
10966 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10967 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 hardcode_into_libs=yes
10983 # ldd complains unless libraries are executable
10984 postinstall_cmds='chmod +x $lib'
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10990 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10993 if test "$with_gnu_ld" = yes; then
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 shlibpath_var=LD_LIBRARY_PATH
11004 case $host_vendor in
11006 shlibpath_overrides_runpath=no
11008 runpath_var=LD_RUN_PATH
11016 shlibpath_overrides_runpath=no
11017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11023 if test -d /usr/nec ;then
11025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11026 soname_spec='$libname${shared_ext}.$major'
11027 shlibpath_var=LD_LIBRARY_PATH
11031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11032 version_type=freebsd-elf
11035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath=yes
11039 hardcode_into_libs=yes
11040 if test "$with_gnu_ld" = yes; then
11041 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11043 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 sys_lib_dlsearch_path_spec='/usr/lib'
11054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11058 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059 shlibpath_var=LD_LIBRARY_PATH
11060 shlibpath_overrides_runpath=no
11061 hardcode_into_libs=yes
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 shlibpath_var=LD_LIBRARY_PATH
11075 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11076 echo "${ECHO_T}$dynamic_linker" >&6; }
11077 test "$dynamic_linker" = no && can_build_shared=no
11079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11080 if test "$GCC" = yes; then
11081 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11085 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11088 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11177 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11178 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11180 if test -n "$hardcode_libdir_flag_spec" ||
11181 test -n "$runpath_var" ||
11182 test "X$hardcode_automatic" = "Xyes" ; then
11184 # We can hardcode non-existent directories.
11185 if test "$hardcode_direct" != no &&
11186 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11187 # have to relink, otherwise we might link with an installed library
11188 # when we should be linking with a yet-to-be-installed one
11189 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11190 test "$hardcode_minus_L" != no; then
11191 # Linking always hardcodes the temporary library directory.
11192 hardcode_action=relink
11194 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11195 hardcode_action=immediate
11198 # We cannot hardcode anything, or else we can only hardcode existing
11200 hardcode_action=unsupported
11202 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11203 echo "${ECHO_T}$hardcode_action" >&6; }
11205 if test "$hardcode_action" = relink ||
11206 test "$inherit_rpath" = yes; then
11207 # Fast installation is not supported
11208 enable_fast_install=no
11209 elif test "$shlibpath_overrides_runpath" = yes ||
11210 test "$enable_shared" = no; then
11211 # Fast installation is not necessary
11212 enable_fast_install=needless
11220 if test "x$enable_dlopen" != xyes; then
11221 enable_dlopen=unknown
11222 enable_dlopen_self=unknown
11223 enable_dlopen_self_static=unknown
11230 lt_cv_dlopen="load_add_on"
11232 lt_cv_dlopen_self=yes
11236 lt_cv_dlopen="LoadLibrary"
11241 lt_cv_dlopen="dlopen"
11246 # if libdl is installed we need to link against it
11247 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11248 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 ac_check_lib_save_LIBS=$LIBS
11254 cat >conftest.$ac_ext <<_ACEOF
11257 cat confdefs.h >>conftest.$ac_ext
11258 cat >>conftest.$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11276 rm -f conftest.$ac_objext conftest$ac_exeext
11277 if { (ac_try="$ac_link"
11278 case "(($ac_try" in
11279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11280 *) ac_try_echo=$ac_try;;
11282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11283 (eval "$ac_link") 2>conftest.er1
11285 grep -v '^ *+' conftest.er1 >conftest.err
11287 cat conftest.err >&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); } && {
11290 test -z "$ac_c_werror_flag" ||
11291 test ! -s conftest.err
11292 } && test -s conftest$ac_exeext &&
11293 $as_test_x conftest$ac_exeext; then
11294 ac_cv_lib_dl_dlopen=yes
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.$ac_ext >&5
11299 ac_cv_lib_dl_dlopen=no
11302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11307 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11308 if test $ac_cv_lib_dl_dlopen = yes; then
11309 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11312 lt_cv_dlopen="dyld"
11314 lt_cv_dlopen_self=yes
11321 { echo "$as_me:$LINENO: checking for shl_load" >&5
11322 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11323 if test "${ac_cv_func_shl_load+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 cat >conftest.$ac_ext <<_ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11334 #define shl_load innocuous_shl_load
11336 /* System header to define __stub macros and hopefully few prototypes,
11337 which can conflict with char shl_load (); below.
11338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11339 <limits.h> exists even on freestanding compilers. */
11342 # include <limits.h>
11344 # include <assert.h>
11349 /* Override any GCC internal prototype to avoid an error.
11350 Use char because int might match the return type of a GCC
11351 builtin and then its argument prototype would still apply. */
11356 /* The GNU C library defines this for functions which it implements
11357 to always fail with ENOSYS. Some functions are actually named
11358 something starting with __ and the normal name is an alias. */
11359 #if defined __stub_shl_load || defined __stub___shl_load
11366 return shl_load ();
11371 rm -f conftest.$ac_objext conftest$ac_exeext
11372 if { (ac_try="$ac_link"
11373 case "(($ac_try" in
11374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11375 *) ac_try_echo=$ac_try;;
11377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11378 (eval "$ac_link") 2>conftest.er1
11380 grep -v '^ *+' conftest.er1 >conftest.err
11382 cat conftest.err >&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); } && {
11385 test -z "$ac_c_werror_flag" ||
11386 test ! -s conftest.err
11387 } && test -s conftest$ac_exeext &&
11388 $as_test_x conftest$ac_exeext; then
11389 ac_cv_func_shl_load=yes
11391 echo "$as_me: failed program was:" >&5
11392 sed 's/^/| /' conftest.$ac_ext >&5
11394 ac_cv_func_shl_load=no
11397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11398 conftest$ac_exeext conftest.$ac_ext
11400 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11401 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11402 if test $ac_cv_func_shl_load = yes; then
11403 lt_cv_dlopen="shl_load"
11405 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11406 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11407 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 ac_check_lib_save_LIBS=$LIBS
11412 cat >conftest.$ac_ext <<_ACEOF
11415 cat confdefs.h >>conftest.$ac_ext
11416 cat >>conftest.$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11429 return shl_load ();
11434 rm -f conftest.$ac_objext conftest$ac_exeext
11435 if { (ac_try="$ac_link"
11436 case "(($ac_try" in
11437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11438 *) ac_try_echo=$ac_try;;
11440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11441 (eval "$ac_link") 2>conftest.er1
11443 grep -v '^ *+' conftest.er1 >conftest.err
11445 cat conftest.err >&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } && {
11448 test -z "$ac_c_werror_flag" ||
11449 test ! -s conftest.err
11450 } && test -s conftest$ac_exeext &&
11451 $as_test_x conftest$ac_exeext; then
11452 ac_cv_lib_dld_shl_load=yes
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11457 ac_cv_lib_dld_shl_load=no
11460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11465 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11466 if test $ac_cv_lib_dld_shl_load = yes; then
11467 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11469 { echo "$as_me:$LINENO: checking for dlopen" >&5
11470 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11471 if test "${ac_cv_func_dlopen+set}" = set; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11474 cat >conftest.$ac_ext <<_ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11480 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11482 #define dlopen innocuous_dlopen
11484 /* System header to define __stub macros and hopefully few prototypes,
11485 which can conflict with char dlopen (); below.
11486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11487 <limits.h> exists even on freestanding compilers. */
11490 # include <limits.h>
11492 # include <assert.h>
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11504 /* The GNU C library defines this for functions which it implements
11505 to always fail with ENOSYS. Some functions are actually named
11506 something starting with __ and the normal name is an alias. */
11507 #if defined __stub_dlopen || defined __stub___dlopen
11519 rm -f conftest.$ac_objext conftest$ac_exeext
11520 if { (ac_try="$ac_link"
11521 case "(($ac_try" in
11522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523 *) ac_try_echo=$ac_try;;
11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_link") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1 >conftest.err
11530 cat conftest.err >&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest$ac_exeext &&
11536 $as_test_x conftest$ac_exeext; then
11537 ac_cv_func_dlopen=yes
11539 echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.$ac_ext >&5
11542 ac_cv_func_dlopen=no
11545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11546 conftest$ac_exeext conftest.$ac_ext
11548 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11549 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11550 if test $ac_cv_func_dlopen = yes; then
11551 lt_cv_dlopen="dlopen"
11553 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11554 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11555 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 ac_check_lib_save_LIBS=$LIBS
11560 cat >conftest.$ac_ext <<_ACEOF
11563 cat confdefs.h >>conftest.$ac_ext
11564 cat >>conftest.$ac_ext <<_ACEOF
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11582 rm -f conftest.$ac_objext conftest$ac_exeext
11583 if { (ac_try="$ac_link"
11584 case "(($ac_try" in
11585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586 *) ac_try_echo=$ac_try;;
11588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11589 (eval "$ac_link") 2>conftest.er1
11591 grep -v '^ *+' conftest.er1 >conftest.err
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } && {
11596 test -z "$ac_c_werror_flag" ||
11597 test ! -s conftest.err
11598 } && test -s conftest$ac_exeext &&
11599 $as_test_x conftest$ac_exeext; then
11600 ac_cv_lib_dl_dlopen=yes
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.$ac_ext >&5
11605 ac_cv_lib_dl_dlopen=no
11608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11609 conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_lib_save_LIBS
11612 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11614 if test $ac_cv_lib_dl_dlopen = yes; then
11615 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11617 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11618 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11619 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 ac_check_lib_save_LIBS=$LIBS
11623 LIBS="-lsvld $LIBS"
11624 cat >conftest.$ac_ext <<_ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11646 rm -f conftest.$ac_objext conftest$ac_exeext
11647 if { (ac_try="$ac_link"
11648 case "(($ac_try" in
11649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11653 (eval "$ac_link") 2>conftest.er1
11655 grep -v '^ *+' conftest.er1 >conftest.err
11657 cat conftest.err >&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } && {
11660 test -z "$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11662 } && test -s conftest$ac_exeext &&
11663 $as_test_x conftest$ac_exeext; then
11664 ac_cv_lib_svld_dlopen=yes
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.$ac_ext >&5
11669 ac_cv_lib_svld_dlopen=no
11672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11673 conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_lib_save_LIBS
11676 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11677 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11678 if test $ac_cv_lib_svld_dlopen = yes; then
11679 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11681 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11682 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11683 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 ac_check_lib_save_LIBS=$LIBS
11688 cat >conftest.$ac_ext <<_ACEOF
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11705 return dld_link ();
11710 rm -f conftest.$ac_objext conftest$ac_exeext
11711 if { (ac_try="$ac_link"
11712 case "(($ac_try" in
11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>conftest.er1
11719 grep -v '^ *+' conftest.er1 >conftest.err
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } && {
11724 test -z "$ac_c_werror_flag" ||
11725 test ! -s conftest.err
11726 } && test -s conftest$ac_exeext &&
11727 $as_test_x conftest$ac_exeext; then
11728 ac_cv_lib_dld_dld_link=yes
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 ac_cv_lib_dld_dld_link=no
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11741 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11742 if test $ac_cv_lib_dld_dld_link = yes; then
11743 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11764 if test "x$lt_cv_dlopen" != xno; then
11770 case $lt_cv_dlopen in
11772 save_CPPFLAGS="$CPPFLAGS"
11773 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11775 save_LDFLAGS="$LDFLAGS"
11776 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11779 LIBS="$lt_cv_dlopen_libs $LIBS"
11781 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11782 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11783 if test "${lt_cv_dlopen_self+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 if test "$cross_compiling" = yes; then :
11787 lt_cv_dlopen_self=cross
11789 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11790 lt_status=$lt_dlunknown
11791 cat > conftest.$ac_ext <<_LT_EOF
11792 #line 11792 "configure"
11793 #include "confdefs.h"
11802 # define LT_DLGLOBAL RTLD_GLOBAL
11805 # define LT_DLGLOBAL DL_GLOBAL
11807 # define LT_DLGLOBAL 0
11811 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11812 find out it does not work in some platform. */
11813 #ifndef LT_DLLAZY_OR_NOW
11815 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11818 # define LT_DLLAZY_OR_NOW DL_LAZY
11821 # define LT_DLLAZY_OR_NOW RTLD_NOW
11824 # define LT_DLLAZY_OR_NOW DL_NOW
11826 # define LT_DLLAZY_OR_NOW 0
11834 extern "C" void exit (int);
11837 void fnord() { int i=42;}
11840 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11841 int status = $lt_dlunknown;
11845 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11846 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11847 /* dlclose (self); */
11855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11856 (eval $ac_link) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11860 (./conftest; exit; ) >&5 2>/dev/null
11862 case x$lt_status in
11863 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11864 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11865 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11868 # compilation failed
11869 lt_cv_dlopen_self=no
11876 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11877 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11879 if test "x$lt_cv_dlopen_self" = xyes; then
11880 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11881 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11882 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11883 if test "${lt_cv_dlopen_self_static+set}" = set; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 if test "$cross_compiling" = yes; then :
11887 lt_cv_dlopen_self_static=cross
11889 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11890 lt_status=$lt_dlunknown
11891 cat > conftest.$ac_ext <<_LT_EOF
11892 #line 11892 "configure"
11893 #include "confdefs.h"
11902 # define LT_DLGLOBAL RTLD_GLOBAL
11905 # define LT_DLGLOBAL DL_GLOBAL
11907 # define LT_DLGLOBAL 0
11911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11912 find out it does not work in some platform. */
11913 #ifndef LT_DLLAZY_OR_NOW
11915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11918 # define LT_DLLAZY_OR_NOW DL_LAZY
11921 # define LT_DLLAZY_OR_NOW RTLD_NOW
11924 # define LT_DLLAZY_OR_NOW DL_NOW
11926 # define LT_DLLAZY_OR_NOW 0
11934 extern "C" void exit (int);
11937 void fnord() { int i=42;}
11940 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11941 int status = $lt_dlunknown;
11945 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11946 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11947 /* dlclose (self); */
11955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11956 (eval $ac_link) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11960 (./conftest; exit; ) >&5 2>/dev/null
11962 case x$lt_status in
11963 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11964 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11965 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11968 # compilation failed
11969 lt_cv_dlopen_self_static=no
11976 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11977 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11980 CPPFLAGS="$save_CPPFLAGS"
11981 LDFLAGS="$save_LDFLAGS"
11986 case $lt_cv_dlopen_self in
11987 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11988 *) enable_dlopen_self=unknown ;;
11991 case $lt_cv_dlopen_self_static in
11992 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11993 *) enable_dlopen_self_static=unknown ;;
12015 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12016 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12017 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12018 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12019 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12020 { echo "$as_me:$LINENO: result: yes" >&5
12021 echo "${ECHO_T}yes" >&6; }
12023 # FIXME - insert some real tests, host_os isn't really good enough
12026 if test -n "$STRIP" ; then
12027 striplib="$STRIP -x"
12028 old_striplib="$STRIP -S"
12029 { echo "$as_me:$LINENO: result: yes" >&5
12030 echo "${ECHO_T}yes" >&6; }
12032 { echo "$as_me:$LINENO: result: no" >&5
12033 echo "${ECHO_T}no" >&6; }
12037 { echo "$as_me:$LINENO: result: no" >&5
12038 echo "${ECHO_T}no" >&6; }
12054 # Report which library types will actually be built
12055 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12056 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12057 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12058 echo "${ECHO_T}$can_build_shared" >&6; }
12060 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12061 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12062 test "$can_build_shared" = "no" && enable_shared=no
12064 # On AIX, shared libraries and static libraries use the same namespace, and
12065 # are all built from PIC.
12068 test "$enable_shared" = yes && enable_static=no
12069 if test -n "$RANLIB"; then
12070 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12071 postinstall_cmds='$RANLIB $lib'
12076 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12077 test "$enable_shared" = yes && enable_static=no
12081 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12082 echo "${ECHO_T}$enable_shared" >&6; }
12084 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12085 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12086 # Make sure either enable_shared or enable_static is yes.
12087 test "$enable_shared" = yes || enable_static=yes
12088 { echo "$as_me:$LINENO: result: $enable_static" >&5
12089 echo "${ECHO_T}$enable_static" >&6; }
12096 ac_cpp='$CPP $CPPFLAGS'
12097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12105 ac_cpp='$CXXCPP $CPPFLAGS'
12106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12110 archive_cmds_need_lc_CXX=no
12111 allow_undefined_flag_CXX=
12112 always_export_symbols_CXX=no
12113 archive_expsym_cmds_CXX=
12114 compiler_needs_object_CXX=no
12115 export_dynamic_flag_spec_CXX=
12116 hardcode_direct_CXX=no
12117 hardcode_direct_absolute_CXX=no
12118 hardcode_libdir_flag_spec_CXX=
12119 hardcode_libdir_flag_spec_ld_CXX=
12120 hardcode_libdir_separator_CXX=
12121 hardcode_minus_L_CXX=no
12122 hardcode_shlibpath_var_CXX=unsupported
12123 hardcode_automatic_CXX=no
12124 inherit_rpath_CXX=no
12126 module_expsym_cmds_CXX=
12127 link_all_deplibs_CXX=unknown
12128 old_archive_cmds_CXX=$old_archive_cmds
12129 no_undefined_flag_CXX=
12130 whole_archive_flag_spec_CXX=
12131 enable_shared_with_static_runtimes_CXX=no
12133 # Source file extension for C++ test sources.
12136 # Object file extension for compiled C++ test sources.
12140 # No sense in running all these tests if we already determined that
12141 # the CXX compiler isn't working. Some variables (like enable_shared)
12142 # are currently assumed to apply to all compilers on this platform,
12143 # and will be corrupted by setting them based on a non-working compiler.
12144 if test "$_lt_caught_CXX_error" != yes; then
12145 # Code to be used in simple compile tests
12146 lt_simple_compile_test_code="int some_variable = 0;"
12148 # Code to be used in simple link tests
12149 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12151 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12158 # If no C compiler was specified, use CC.
12161 # If no C compiler flags were specified, use CFLAGS.
12162 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12164 # Allow CC to be a program name with arguments.
12168 # save warnings/boilerplate of simple test code
12169 ac_outfile=conftest.$ac_objext
12170 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12171 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12172 _lt_compiler_boilerplate=`cat conftest.err`
12175 ac_outfile=conftest.$ac_objext
12176 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12177 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12178 _lt_linker_boilerplate=`cat conftest.err`
12182 # Allow CC to be a program name with arguments.
12187 lt_save_with_gnu_ld=$with_gnu_ld
12188 lt_save_path_LD=$lt_cv_path_LD
12189 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12190 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12192 $as_unset lt_cv_prog_gnu_ld
12194 if test -n "${lt_cv_path_LDCXX+set}"; then
12195 lt_cv_path_LD=$lt_cv_path_LDCXX
12197 $as_unset lt_cv_path_LD
12199 test -z "${LDCXX+set}" || LD=$LDCXX
12203 for cc_temp in $compiler""; do
12205 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12206 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12211 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12214 if test -n "$compiler"; then
12215 # We don't want -fno-exception when compiling C++ code, so set the
12216 # no_builtin_flag separately
12217 if test "$GXX" = yes; then
12218 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12220 lt_prog_compiler_no_builtin_flag_CXX=
12223 if test "$GXX" = yes; then
12224 # Set up default GNU C++ configuration
12228 # Check whether --with-gnu-ld was given.
12229 if test "${with_gnu_ld+set}" = set; then
12230 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12236 if test "$GCC" = yes; then
12237 # Check if gcc -print-prog-name=ld gives a path.
12238 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12239 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12242 # gcc leaves a trailing carriage return which upsets mingw
12243 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12245 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12248 # Accept absolute paths.
12250 re_direlt='/[^/][^/]*/\.\./'
12251 # Canonicalize the pathname of ld
12252 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12253 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12254 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12256 test -z "$LD" && LD="$ac_prog"
12259 # If it fails, then pretend we aren't using GCC.
12263 # If it is relative, then search for the first ld in PATH.
12264 with_gnu_ld=unknown
12267 elif test "$with_gnu_ld" = yes; then
12268 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12269 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12271 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12272 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12274 if test "${lt_cv_path_LD+set}" = set; then
12275 echo $ECHO_N "(cached) $ECHO_C" >&6
12277 if test -z "$LD"; then
12278 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12279 for ac_dir in $PATH; do
12281 test -z "$ac_dir" && ac_dir=.
12282 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12283 lt_cv_path_LD="$ac_dir/$ac_prog"
12284 # Check to see if the program is GNU ld. I'd rather use --version,
12285 # but apparently some variants of GNU ld only accept -v.
12286 # Break only if it was the GNU/non-GNU ld that we prefer.
12287 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12288 *GNU* | *'with BFD'*)
12289 test "$with_gnu_ld" != no && break
12292 test "$with_gnu_ld" != yes && break
12299 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12303 LD="$lt_cv_path_LD"
12304 if test -n "$LD"; then
12305 { echo "$as_me:$LINENO: result: $LD" >&5
12306 echo "${ECHO_T}$LD" >&6; }
12308 { echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6; }
12311 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12312 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12313 { (exit 1); exit 1; }; }
12314 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12315 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12316 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12320 case `$LD -v 2>&1 </dev/null` in
12321 *GNU* | *'with BFD'*)
12322 lt_cv_prog_gnu_ld=yes
12325 lt_cv_prog_gnu_ld=no
12329 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12330 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12331 with_gnu_ld=$lt_cv_prog_gnu_ld
12339 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12340 # archiving commands below assume that GNU ld is being used.
12341 if test "$with_gnu_ld" = yes; then
12342 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12343 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12345 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12346 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12348 # If archive_cmds runs LD, not CC, wlarc should be empty
12349 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12350 # investigate it a little bit more. (MM)
12353 # ancient GNU ld didn't support --whole-archive et. al.
12354 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12355 $GREP 'no-whole-archive' > /dev/null; then
12356 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12358 whole_archive_flag_spec_CXX=
12364 # A generic and very simple default shared library creation
12365 # command for GNU C++ for the case where it uses the native
12366 # linker, instead of GNU ld. If possible, this setting should
12367 # overridden to take advantage of the native linker features on
12368 # the platform it is being used on.
12369 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12372 # Commands to make compiler produce verbose output that lists
12373 # what "hidden" libraries, object files and flags are used when
12374 # linking a shared library.
12375 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12383 # PORTME: fill in a description of your system's C++ link characteristics
12384 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12385 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12389 # FIXME: insert proper C++ library support
12393 if test "$host_cpu" = ia64; then
12394 # On IA64, the linker does run time linking by default, so we don't
12395 # have to do anything special.
12396 aix_use_runtimelinking=no
12397 exp_sym_flag='-Bexport'
12400 aix_use_runtimelinking=no
12402 # Test if we are trying to use run time linking or normal
12403 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12404 # need to do runtime linking.
12405 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12406 for ld_flag in $LDFLAGS; do
12409 aix_use_runtimelinking=yes
12417 exp_sym_flag='-bexport'
12418 no_entry_flag='-bnoentry'
12421 # When large executables or shared objects are built, AIX ld can
12422 # have problems creating the table of contents. If linking a library
12423 # or program results in "error TOC overflow" add -mminimal-toc to
12424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12427 archive_cmds_CXX=''
12428 hardcode_direct_CXX=yes
12429 hardcode_direct_absolute_CXX=yes
12430 hardcode_libdir_separator_CXX=':'
12431 link_all_deplibs_CXX=yes
12432 file_list_spec_CXX='${wl}-f,'
12434 if test "$GXX" = yes; then
12435 case $host_os in aix4.[012]|aix4.[012].*)
12436 # We only want to do this on AIX 4.2 and lower, the check
12437 # below for broken collect2 doesn't work under 4.3+
12438 collect2name=`${CC} -print-prog-name=collect2`
12439 if test -f "$collect2name" &&
12440 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12442 # We have reworked collect2
12445 # We have old collect2
12446 hardcode_direct_CXX=unsupported
12447 # It fails to find uninstalled libraries when the uninstalled
12448 # path is not listed in the libpath. Setting hardcode_minus_L
12449 # to unsupported forces relinking
12450 hardcode_minus_L_CXX=yes
12451 hardcode_libdir_flag_spec_CXX='-L$libdir'
12452 hardcode_libdir_separator_CXX=
12455 shared_flag='-shared'
12456 if test "$aix_use_runtimelinking" = yes; then
12457 shared_flag="$shared_flag "'${wl}-G'
12461 if test "$host_cpu" = ia64; then
12462 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12463 # chokes on -Wl,-G. The following line is correct:
12466 if test "$aix_use_runtimelinking" = yes; then
12467 shared_flag='${wl}-G'
12469 shared_flag='${wl}-bM:SRE'
12474 # It seems that -bexpall does not export symbols beginning with
12475 # underscore (_), so it is better to generate a list of symbols to
12477 always_export_symbols_CXX=yes
12478 if test "$aix_use_runtimelinking" = yes; then
12479 # Warning - without using the other runtime loading flags (-brtl),
12480 # -berok will link without error, but may produce a broken library.
12481 allow_undefined_flag_CXX='-berok'
12482 # Determine the default libpath from the value encoded in an empty
12484 cat >conftest.$ac_ext <<_ACEOF
12487 cat confdefs.h >>conftest.$ac_ext
12488 cat >>conftest.$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12499 rm -f conftest.$ac_objext conftest$ac_exeext
12500 if { (ac_try="$ac_link"
12501 case "(($ac_try" in
12502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12503 *) ac_try_echo=$ac_try;;
12505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12506 (eval "$ac_link") 2>conftest.er1
12508 grep -v '^ *+' conftest.er1 >conftest.err
12510 cat conftest.err >&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); } && {
12513 test -z "$ac_cxx_werror_flag" ||
12514 test ! -s conftest.err
12515 } && test -s conftest$ac_exeext &&
12516 $as_test_x conftest$ac_exeext; then
12518 lt_aix_libpath_sed='
12519 /Import File Strings/,/^$/ {
12525 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12526 # Check for a 64-bit object if we didn't find anything.
12527 if test -z "$aix_libpath"; then
12528 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12538 conftest$ac_exeext conftest.$ac_ext
12539 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12541 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12543 archive_expsym_cmds_CXX='$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"
12545 if test "$host_cpu" = ia64; then
12546 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12547 allow_undefined_flag_CXX="-z nodefs"
12548 archive_expsym_cmds_CXX="\$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"
12550 # Determine the default libpath from the value encoded in an
12551 # empty executable.
12552 cat >conftest.$ac_ext <<_ACEOF
12555 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12567 rm -f conftest.$ac_objext conftest$ac_exeext
12568 if { (ac_try="$ac_link"
12569 case "(($ac_try" in
12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 *) ac_try_echo=$ac_try;;
12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 (eval "$ac_link") 2>conftest.er1
12576 grep -v '^ *+' conftest.er1 >conftest.err
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } && {
12581 test -z "$ac_cxx_werror_flag" ||
12582 test ! -s conftest.err
12583 } && test -s conftest$ac_exeext &&
12584 $as_test_x conftest$ac_exeext; then
12586 lt_aix_libpath_sed='
12587 /Import File Strings/,/^$/ {
12593 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12594 # Check for a 64-bit object if we didn't find anything.
12595 if test -z "$aix_libpath"; then
12596 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12606 conftest$ac_exeext conftest.$ac_ext
12607 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12609 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12610 # Warning - without using the other run time loading flags,
12611 # -berok will link without error, but may produce a broken library.
12612 no_undefined_flag_CXX=' ${wl}-bernotok'
12613 allow_undefined_flag_CXX=' ${wl}-berok'
12614 # Exported symbols can be pulled into shared objects from archives
12615 whole_archive_flag_spec_CXX='$convenience'
12616 archive_cmds_need_lc_CXX=yes
12617 # This is similar to how AIX traditionally builds its shared
12619 archive_expsym_cmds_CXX="\$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'
12625 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12626 allow_undefined_flag_CXX=unsupported
12627 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12628 # support --undefined. This deserves some investigation. FIXME
12629 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12636 case $cc_basename in
12638 # FIXME: insert proper C++ library support
12644 cygwin* | mingw* | pw32*)
12645 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12646 # as there is no search path for DLLs.
12647 hardcode_libdir_flag_spec_CXX='-L$libdir'
12648 allow_undefined_flag_CXX=unsupported
12649 always_export_symbols_CXX=no
12650 enable_shared_with_static_runtimes_CXX=yes
12652 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12653 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12654 # If the export-symbols file already is a .def file (1st line
12655 # is EXPORTS), use it as is; otherwise, prepend...
12656 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12657 cp $export_symbols $output_objdir/$soname.def;
12659 echo EXPORTS > $output_objdir/$soname.def;
12660 cat $export_symbols >> $output_objdir/$soname.def;
12662 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12667 darwin* | rhapsody*)
12670 archive_cmds_need_lc_CXX=no
12671 hardcode_direct_CXX=no
12672 hardcode_automatic_CXX=yes
12673 hardcode_shlibpath_var_CXX=unsupported
12674 whole_archive_flag_spec_CXX=''
12675 link_all_deplibs_CXX=yes
12676 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12677 if test "$GCC" = "yes"; then
12678 output_verbose_link_cmd=echo
12679 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12680 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12681 archive_expsym_cmds_CXX="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}"
12682 module_expsym_cmds_CXX="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}"
12683 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12684 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12685 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12695 case $cc_basename in
12697 # FIXME: insert proper C++ library support
12701 # Green Hills C++ Compiler
12702 # FIXME: insert proper C++ library support
12706 # FIXME: insert proper C++ library support
12713 # C++ shared libraries reported to be fairly broken before
12719 archive_cmds_need_lc_CXX=no
12722 freebsd* | dragonfly*)
12723 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12732 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12733 hardcode_libdir_separator_CXX=:
12734 export_dynamic_flag_spec_CXX='${wl}-E'
12735 hardcode_direct_CXX=yes
12736 hardcode_minus_L_CXX=yes # Not in the search PATH,
12737 # but as the default
12738 # location of the library.
12740 case $cc_basename in
12742 # FIXME: insert proper C++ library support
12746 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12747 # Commands to make compiler produce verbose output that lists
12748 # what "hidden" libraries, object files and flags are used when
12749 # linking a shared library.
12751 # There doesn't appear to be a way to prevent this compiler from
12752 # explicitly linking system object files so we need to strip them
12753 # from the output so that they don't get included in the library
12755 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12758 if test "$GXX" = yes; then
12759 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12761 # FIXME: insert proper C++ library support
12769 if test $with_gnu_ld = no; then
12770 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12771 hardcode_libdir_separator_CXX=:
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12783 hardcode_direct_CXX=no
12784 hardcode_shlibpath_var_CXX=no
12787 hardcode_direct_CXX=yes
12788 hardcode_direct_absolute_CXX=yes
12789 hardcode_minus_L_CXX=yes # Not in the search PATH,
12790 # but as the default
12791 # location of the library.
12795 case $cc_basename in
12797 # FIXME: insert proper C++ library support
12803 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12806 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12809 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12812 # Commands to make compiler produce verbose output that lists
12813 # what "hidden" libraries, object files and flags are used when
12814 # linking a shared library.
12816 # There doesn't appear to be a way to prevent this compiler from
12817 # explicitly linking system object files so we need to strip them
12818 # from the output so that they don't get included in the library
12820 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12823 if test "$GXX" = yes; then
12824 if test $with_gnu_ld = no; then
12827 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12833 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12838 # FIXME: insert proper C++ library support
12846 hardcode_direct_CXX=no
12847 hardcode_shlibpath_var_CXX=no
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}-E'
12850 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12851 # Instead, shared libraries are loaded at an image base (0x10000000 by
12852 # default) and relocated if they conflict, which is a slow very memory
12853 # consuming and fragmenting process. To avoid this, we pick a random,
12854 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12855 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12856 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12857 archive_expsym_cmds_CXX='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'
12860 case $cc_basename in
12863 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12865 # Archives containing C++ object files must be created using
12866 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12869 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12872 if test "$GXX" = yes; then
12873 if test "$with_gnu_ld" = no; then
12874 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12876 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12879 link_all_deplibs_CXX=yes
12882 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12883 hardcode_libdir_separator_CXX=:
12884 inherit_rpath_CXX=yes
12887 linux* | k*bsd*-gnu)
12888 case $cc_basename in
12890 # Kuck and Associates, Inc. (KAI) C++ Compiler
12892 # KCC will only create a shared library if the output file
12893 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12894 # to its proper name (with version) after linking.
12895 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12896 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12897 # Commands to make compiler produce verbose output that lists
12898 # what "hidden" libraries, object files and flags are used when
12899 # linking a shared library.
12901 # There doesn't appear to be a way to prevent this compiler from
12902 # explicitly linking system object files so we need to strip them
12903 # from the output so that they don't get included in the library
12905 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12907 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12908 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 # Archives containing C++ object files must be created using
12911 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12912 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12917 # version 8.0 and above of icpc choke on multiply defined symbols
12918 # if we add $predep_objects and $postdep_objects, however 7.1 and
12919 # earlier do not add the objects themselves.
12920 case `$CC -V 2>&1` in
12922 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12925 *) # Version 8.0 or newer
12928 ia64*) tmp_idyn=' -i_dynamic';;
12930 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12931 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12934 archive_cmds_need_lc_CXX=no
12935 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12936 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12937 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12940 # Portland Group C++ compiler
12942 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12943 prelink_cmds_CXX='tpldir=Template.dir~
12945 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12946 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12947 old_archive_cmds_CXX='tpldir=Template.dir~
12949 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12950 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12952 archive_cmds_CXX='tpldir=Template.dir~
12954 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12955 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12956 archive_expsym_cmds_CXX='tpldir=Template.dir~
12958 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12959 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12961 *) # Version 6 will use weak symbols
12962 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12963 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12967 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12968 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12969 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12973 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12974 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12976 runpath_var=LD_RUN_PATH
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 hardcode_libdir_separator_CXX=:
12980 # Commands to make compiler produce verbose output that lists
12981 # what "hidden" libraries, object files and flags are used when
12982 # linking a shared library.
12984 # There doesn't appear to be a way to prevent this compiler from
12985 # explicitly linking system object files so we need to strip them
12986 # from the output so that they don't get included in the library
12988 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12991 # IBM XL 8.0 on PPC, with GNU ld
12992 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12993 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12994 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12995 if test "x$supports_anon_versioning" = xyes; then
12996 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12998 echo "local: *; };" >> $output_objdir/$libname.ver~
12999 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13003 case `$CC -V 2>&1 | sed 5q` in
13006 no_undefined_flag_CXX=' -zdefs'
13007 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13008 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13009 hardcode_libdir_flag_spec_CXX='-R$libdir'
13010 whole_archive_flag_spec_CXX='${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'
13011 compiler_needs_object_CXX=yes
13013 # Not sure whether something based on
13014 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13016 output_verbose_link_cmd='echo'
13018 # Archives containing C++ object files must be created using
13019 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13020 # necessary to make sure instantiated templates are included
13022 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13030 # FIXME: insert proper C++ library support
13035 # FIXME: insert proper C++ library support
13040 case $cc_basename in
13042 # FIXME: insert proper C++ library support
13046 # FIXME: insert proper C++ library support
13053 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13054 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13056 hardcode_libdir_flag_spec_CXX='-R$libdir'
13057 hardcode_direct_CXX=yes
13058 hardcode_shlibpath_var_CXX=no
13060 # Workaround some broken pre-1.5 toolchains
13061 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13069 # C++ shared libraries are fairly broken
13074 if test -f /usr/libexec/ld.so; then
13075 hardcode_direct_CXX=yes
13076 hardcode_shlibpath_var_CXX=no
13077 hardcode_direct_absolute_CXX=yes
13078 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13079 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13080 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13081 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13082 export_dynamic_flag_spec_CXX='${wl}-E'
13083 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13085 output_verbose_link_cmd=echo
13091 osf3* | osf4* | osf5*)
13092 case $cc_basename in
13094 # Kuck and Associates, Inc. (KAI) C++ Compiler
13096 # KCC will only create a shared library if the output file
13097 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13098 # to its proper name (with version) after linking.
13099 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13101 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13102 hardcode_libdir_separator_CXX=:
13104 # Archives containing C++ object files must be created using
13105 # the KAI C++ compiler.
13107 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13108 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13112 # Rational C++ 2.4.1
13113 # FIXME: insert proper C++ library support
13119 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13120 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13121 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13124 allow_undefined_flag_CXX=' -expect_unresolved \*'
13125 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13126 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13127 echo "-hidden">> $lib.exp~
13128 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13130 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13134 hardcode_libdir_separator_CXX=:
13136 # Commands to make compiler produce verbose output that lists
13137 # what "hidden" libraries, object files and flags are used when
13138 # linking a shared library.
13140 # There doesn't appear to be a way to prevent this compiler from
13141 # explicitly linking system object files so we need to strip them
13142 # from the output so that they don't get included in the library
13144 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13147 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13148 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13151 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13154 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13158 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13159 hardcode_libdir_separator_CXX=:
13161 # Commands to make compiler produce verbose output that lists
13162 # what "hidden" libraries, object files and flags are used when
13163 # linking a shared library.
13164 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13167 # FIXME: insert proper C++ library support
13175 # FIXME: insert proper C++ library support
13180 case $cc_basename in
13183 # FIXME: insert proper C++ library support
13188 # FIXME: insert proper C++ library support
13192 # FIXME: insert proper C++ library support
13199 case $cc_basename in
13201 # Sun C++ 4.2, 5.x and Centerline C++
13202 archive_cmds_need_lc_CXX=yes
13203 no_undefined_flag_CXX=' -zdefs'
13204 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13205 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13206 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13208 hardcode_libdir_flag_spec_CXX='-R$libdir'
13209 hardcode_shlibpath_var_CXX=no
13211 solaris2.[0-5] | solaris2.[0-5].*) ;;
13213 # The compiler driver will combine and reorder linker options,
13214 # but understands `-z linker_flag'.
13215 # Supported since Solaris 2.6 (maybe 2.5.1?)
13216 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13219 link_all_deplibs_CXX=yes
13221 output_verbose_link_cmd='echo'
13223 # Archives containing C++ object files must be created using
13224 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13225 # necessary to make sure instantiated templates are included
13227 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13230 # Green Hills C++ Compiler
13231 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13233 # The C++ compiler must be used to create the archive.
13234 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13237 # GNU C++ compiler with Solaris linker
13238 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13239 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13240 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13241 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13242 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13243 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13245 # Commands to make compiler produce verbose output that lists
13246 # what "hidden" libraries, object files and flags are used when
13247 # linking a shared library.
13248 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13250 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13252 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13253 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13254 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13256 # Commands to make compiler produce verbose output that lists
13257 # what "hidden" libraries, object files and flags are used when
13258 # linking a shared library.
13259 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13262 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13264 solaris2.[0-5] | solaris2.[0-5].*) ;;
13266 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13274 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13275 no_undefined_flag_CXX='${wl}-z,text'
13276 archive_cmds_need_lc_CXX=no
13277 hardcode_shlibpath_var_CXX=no
13278 runpath_var='LD_RUN_PATH'
13280 case $cc_basename in
13282 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13283 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13286 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13287 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13292 sysv5* | sco3.2v5* | sco5v6*)
13293 # Note: We can NOT use -z defs as we might desire, because we do not
13294 # link with -lc, and that would cause any symbols used from libc to
13295 # always be unresolved, which means just about no library would
13296 # ever link correctly. If we're not using GNU ld we use -z text
13297 # though, which does catch some bad symbols but isn't as heavy-handed
13299 no_undefined_flag_CXX='${wl}-z,text'
13300 allow_undefined_flag_CXX='${wl}-z,nodefs'
13301 archive_cmds_need_lc_CXX=no
13302 hardcode_shlibpath_var_CXX=no
13303 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13304 hardcode_libdir_separator_CXX=':'
13305 link_all_deplibs_CXX=yes
13306 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13307 runpath_var='LD_RUN_PATH'
13309 case $cc_basename in
13311 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13312 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13315 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13316 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13322 case $cc_basename in
13324 # NonStop-UX NCC 3.20
13325 # FIXME: insert proper C++ library support
13329 # FIXME: insert proper C++ library support
13336 # FIXME: insert proper C++ library support
13341 # FIXME: insert proper C++ library support
13346 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13347 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13348 test "$ld_shlibs_CXX" = no && can_build_shared=no
13354 ## There is no encapsulation within the following macros, do not change
13355 ## the running order or otherwise move them around unless you know exactly
13356 ## what you are doing...
13357 # Dependencies to place before and after the object being linked:
13358 predep_objects_CXX=
13359 postdep_objects_CXX=
13362 compiler_lib_search_path_CXX=
13364 cat > conftest.$ac_ext <<_LT_EOF
13368 Foo (void) { a = 0; }
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; then
13379 # Parse the compiler output and extract the necessary
13380 # objects, libraries and library flags.
13382 # Sentinel used to keep track of whether or not we are before
13383 # the conftest object file.
13384 pre_test_object_deps_done=no
13386 for p in `eval "$output_verbose_link_cmd"`; do
13390 # Some compilers place space between "-{L,R}" and the path.
13391 # Remove the space.
13392 if test $p = "-L" ||
13393 test $p = "-R"; then
13400 if test "$pre_test_object_deps_done" = no; then
13403 # Internal compiler library paths should come after those
13404 # provided the user. The postdeps already come after the
13405 # user supplied libs so there is no need to process them.
13406 if test -z "$compiler_lib_search_path_CXX"; then
13407 compiler_lib_search_path_CXX="${prev}${p}"
13409 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13412 # The "-l" case would never come before the object being
13413 # linked, so don't bother handling this case.
13416 if test -z "$postdeps_CXX"; then
13417 postdeps_CXX="${prev}${p}"
13419 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13425 # This assumes that the test object file only shows up
13426 # once in the compiler output.
13427 if test "$p" = "conftest.$objext"; then
13428 pre_test_object_deps_done=yes
13432 if test "$pre_test_object_deps_done" = no; then
13433 if test -z "$predep_objects_CXX"; then
13434 predep_objects_CXX="$p"
13436 predep_objects_CXX="$predep_objects_CXX $p"
13439 if test -z "$postdep_objects_CXX"; then
13440 postdep_objects_CXX="$p"
13442 postdep_objects_CXX="$postdep_objects_CXX $p"
13447 *) ;; # Ignore the rest.
13455 echo "libtool.m4: error: problem compiling CXX test program"
13458 $RM -f confest.$objext
13460 # PORTME: override above test on systems where it is broken
13463 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13464 # hack all around it, let's just trust "g++" to DTRT.
13465 predep_objects_CXX=
13466 postdep_objects_CXX=
13471 case `$CC -V 2>&1 | sed 5q` in
13475 # The more standards-conforming stlport4 library is
13476 # incompatible with the Cstd library. Avoid specifying
13477 # it if it's in CXXFLAGS. Ignore libCrun as
13478 # -library=stlport4 depends on it.
13479 case " $CXX $CXXFLAGS " in
13480 *" -library=stlport4 "*)
13481 solaris_use_stlport4=yes
13485 if test "$solaris_use_stlport4" != yes; then
13486 postdeps_CXX='-library=Cstd -library=Crun'
13493 case $cc_basename in
13495 # The more standards-conforming stlport4 library is
13496 # incompatible with the Cstd library. Avoid specifying
13497 # it if it's in CXXFLAGS. Ignore libCrun as
13498 # -library=stlport4 depends on it.
13499 case " $CXX $CXXFLAGS " in
13500 *" -library=stlport4 "*)
13501 solaris_use_stlport4=yes
13505 # Adding this requires a known-good setup of shared libraries for
13506 # Sun compiler versions before 5.6, else PIC objects from an old
13507 # archive will be linked into the output, leading to subtle bugs.
13508 if test "$solaris_use_stlport4" != yes; then
13509 postdeps_CXX='-library=Cstd -library=Crun'
13517 case " $postdeps_CXX " in
13518 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13520 compiler_lib_search_dirs_CXX=
13521 if test -n "${compiler_lib_search_path_CXX}"; then
13522 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13555 lt_prog_compiler_wl_CXX=
13556 lt_prog_compiler_pic_CXX=
13557 lt_prog_compiler_static_CXX=
13559 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13560 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13562 # C++ specific cases for pic, static, wl, etc.
13563 if test "$GXX" = yes; then
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-static'
13569 # All AIX code is PIC.
13570 if test "$host_cpu" = ia64; then
13571 # AIX 5 now supports IA64 processor
13572 lt_prog_compiler_static_CXX='-Bstatic'
13579 # see comment about AmigaOS4 .so support
13580 lt_prog_compiler_pic_CXX='-fPIC'
13583 # FIXME: we need at least 68020 code to build shared libraries, but
13584 # adding the `-m68020' flag to GCC prevents building anything better,
13586 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13591 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13592 # PIC is the default for these OSes.
13594 mingw* | cygwin* | os2* | pw32*)
13595 # This hack is so that the source file can tell whether it is being
13596 # built for inclusion in a dll (and should export symbols for example).
13597 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13598 # (--disable-auto-import) libraries
13599 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13601 darwin* | rhapsody*)
13602 # PIC is the default on this platform
13603 # Common symbols not allowed in MH_DYLIB files
13604 lt_prog_compiler_pic_CXX='-fno-common'
13607 # DJGPP does not support shared libraries at all
13608 lt_prog_compiler_pic_CXX=
13611 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13612 # Instead, we relocate shared libraries at runtime.
13615 if test -d /usr/nec; then
13616 lt_prog_compiler_pic_CXX=-Kconform_pic
13620 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13621 # not for PA HP-UX.
13626 lt_prog_compiler_pic_CXX='-fPIC'
13631 # QNX uses GNU C++, but need to define -shared option too, otherwise
13632 # it will coredump.
13633 lt_prog_compiler_pic_CXX='-fPIC -shared'
13636 lt_prog_compiler_pic_CXX='-fPIC'
13642 # All AIX code is PIC.
13643 if test "$host_cpu" = ia64; then
13644 # AIX 5 now supports IA64 processor
13645 lt_prog_compiler_static_CXX='-Bstatic'
13647 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13651 case $cc_basename in
13653 # Green Hills C++ Compiler
13654 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13659 case $cc_basename in
13661 lt_prog_compiler_pic_CXX='-KPIC'
13664 # Green Hills C++ Compiler
13665 lt_prog_compiler_pic_CXX='-pic'
13671 freebsd* | dragonfly*)
13672 # FreeBSD uses GNU C++
13674 hpux9* | hpux10* | hpux11*)
13675 case $cc_basename in
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13679 if test "$host_cpu" != ia64; then
13680 lt_prog_compiler_pic_CXX='+Z'
13684 lt_prog_compiler_wl_CXX='-Wl,'
13685 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13691 lt_prog_compiler_pic_CXX='+Z'
13700 # This is c89, which is MS Visual C++ (no shared libs)
13701 # Anyone wants to do a port?
13703 irix5* | irix6* | nonstopux*)
13704 case $cc_basename in
13706 lt_prog_compiler_wl_CXX='-Wl,'
13707 lt_prog_compiler_static_CXX='-non_shared'
13708 # CC pic flag -KPIC is the default.
13714 linux* | k*bsd*-gnu)
13715 case $cc_basename in
13718 lt_prog_compiler_wl_CXX='--backend -Wl,'
13719 lt_prog_compiler_pic_CXX='-fPIC'
13723 lt_prog_compiler_wl_CXX='-Wl,'
13724 lt_prog_compiler_pic_CXX='-KPIC'
13725 lt_prog_compiler_static_CXX='-static'
13728 # Portland Group C++ compiler
13729 lt_prog_compiler_wl_CXX='-Wl,'
13730 lt_prog_compiler_pic_CXX='-fpic'
13731 lt_prog_compiler_static_CXX='-Bstatic'
13735 # Make sure the PIC flag is empty. It appears that all Alpha
13736 # Linux and Compaq Tru64 Unix objects are PIC.
13737 lt_prog_compiler_pic_CXX=
13738 lt_prog_compiler_static_CXX='-non_shared'
13741 # IBM XL 8.0 on PPC
13742 lt_prog_compiler_wl_CXX='-Wl,'
13743 lt_prog_compiler_pic_CXX='-qpic'
13744 lt_prog_compiler_static_CXX='-qstaticlink'
13747 case `$CC -V 2>&1 | sed 5q` in
13750 lt_prog_compiler_pic_CXX='-KPIC'
13751 lt_prog_compiler_static_CXX='-Bstatic'
13752 lt_prog_compiler_wl_CXX='-Qoption ld '
13763 case $cc_basename in
13765 lt_prog_compiler_pic_CXX='-W c,exportall'
13774 # QNX uses GNU C++, but need to define -shared option too, otherwise
13775 # it will coredump.
13776 lt_prog_compiler_pic_CXX='-fPIC -shared'
13778 osf3* | osf4* | osf5*)
13779 case $cc_basename in
13781 lt_prog_compiler_wl_CXX='--backend -Wl,'
13784 # Rational C++ 2.4.1
13785 lt_prog_compiler_pic_CXX='-pic'
13788 # Digital/Compaq C++
13789 lt_prog_compiler_wl_CXX='-Wl,'
13790 # Make sure the PIC flag is empty. It appears that all Alpha
13791 # Linux and Compaq Tru64 Unix objects are PIC.
13792 lt_prog_compiler_pic_CXX=
13793 lt_prog_compiler_static_CXX='-non_shared'
13802 case $cc_basename in
13804 # Sun C++ 4.2, 5.x and Centerline C++
13805 lt_prog_compiler_pic_CXX='-KPIC'
13806 lt_prog_compiler_static_CXX='-Bstatic'
13807 lt_prog_compiler_wl_CXX='-Qoption ld '
13810 # Green Hills C++ Compiler
13811 lt_prog_compiler_pic_CXX='-PIC'
13818 case $cc_basename in
13821 lt_prog_compiler_pic_CXX='-pic'
13822 lt_prog_compiler_static_CXX='-Bstatic'
13826 lt_prog_compiler_pic_CXX='-pic'
13832 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13833 case $cc_basename in
13835 lt_prog_compiler_wl_CXX='-Wl,'
13836 lt_prog_compiler_pic_CXX='-KPIC'
13837 lt_prog_compiler_static_CXX='-Bstatic'
13842 case $cc_basename in
13844 # NonStop-UX NCC 3.20
13845 lt_prog_compiler_pic_CXX='-KPIC'
13854 lt_prog_compiler_can_build_shared_CXX=no
13860 # For platforms which do not support PIC, -DPIC is meaningless:
13862 lt_prog_compiler_pic_CXX=
13865 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13868 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13869 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13874 # Check to make sure the PIC flag actually works.
13876 if test -n "$lt_prog_compiler_pic_CXX"; then
13877 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13878 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13879 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 lt_cv_prog_compiler_pic_works_CXX=no
13883 ac_outfile=conftest.$ac_objext
13884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13885 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13886 # Insert the option either (1) after the last *FLAGS variable, or
13887 # (2) before a word containing "conftest.", or (3) at the end.
13888 # Note that $ac_compile itself does not contain backslashes and begins
13889 # with a dollar sign (not a hyphen), so the echo should work correctly.
13890 # The option is referenced via a variable to avoid confusing sed.
13891 lt_compile=`echo "$ac_compile" | $SED \
13892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13894 -e 's:$: $lt_compiler_flag:'`
13895 (eval echo "\"\$as_me:13895: $lt_compile\"" >&5)
13896 (eval "$lt_compile" 2>conftest.err)
13898 cat conftest.err >&5
13899 echo "$as_me:13899: \$? = $ac_status" >&5
13900 if (exit $ac_status) && test -s "$ac_outfile"; then
13901 # The compiler can only warn and ignore the option if not recognized
13902 # So say no if there are warnings other than the usual output.
13903 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13905 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13906 lt_cv_prog_compiler_pic_works_CXX=yes
13912 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13913 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13915 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13916 case $lt_prog_compiler_pic_CXX in
13918 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13921 lt_prog_compiler_pic_CXX=
13922 lt_prog_compiler_can_build_shared_CXX=no
13930 # Check to make sure the static flag actually works.
13932 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13933 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13934 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13935 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 lt_cv_prog_compiler_static_works_CXX=no
13939 save_LDFLAGS="$LDFLAGS"
13940 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13941 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13942 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13943 # The linker can only warn and ignore the option if not recognized
13944 # So say no if there are warnings
13945 if test -s conftest.err; then
13946 # Append any errors to the config.log.
13947 cat conftest.err 1>&5
13948 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13949 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13950 if diff conftest.exp conftest.er2 >/dev/null; then
13951 lt_cv_prog_compiler_static_works_CXX=yes
13954 lt_cv_prog_compiler_static_works_CXX=yes
13958 LDFLAGS="$save_LDFLAGS"
13961 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13962 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13964 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13967 lt_prog_compiler_static_CXX=
13973 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:13994: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13997 cat out/conftest.err >&5
13998 echo "$as_me:13998: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14020 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14025 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14026 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14027 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 lt_cv_prog_compiler_c_o_CXX=no
14031 $RM -r conftest 2>/dev/null
14035 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14037 lt_compiler_flag="-o out/conftest2.$ac_objext"
14038 # Insert the option either (1) after the last *FLAGS variable, or
14039 # (2) before a word containing "conftest.", or (3) at the end.
14040 # Note that $ac_compile itself does not contain backslashes and begins
14041 # with a dollar sign (not a hyphen), so the echo should work correctly.
14042 lt_compile=`echo "$ac_compile" | $SED \
14043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14045 -e 's:$: $lt_compiler_flag:'`
14046 (eval echo "\"\$as_me:14046: $lt_compile\"" >&5)
14047 (eval "$lt_compile" 2>out/conftest.err)
14049 cat out/conftest.err >&5
14050 echo "$as_me:14050: \$? = $ac_status" >&5
14051 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14053 # The compiler can only warn and ignore the option if not recognized
14054 # So say no if there are warnings
14055 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14056 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14057 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14058 lt_cv_prog_compiler_c_o_CXX=yes
14063 # SGI C++ compiler will create directory out/ii_files/ for
14064 # template instantiation
14065 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14066 $RM out/* && rmdir out
14072 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14073 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14078 hard_links="nottested"
14079 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14080 # do not overwrite the value of need_locks provided by the user
14081 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14082 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14085 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14087 ln conftest.a conftest.b 2>&5 || hard_links=no
14088 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14089 { echo "$as_me:$LINENO: result: $hard_links" >&5
14090 echo "${ECHO_T}$hard_links" >&6; }
14091 if test "$hard_links" = no; then
14092 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14093 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14102 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14103 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14105 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14108 # If we're using GNU nm, then we don't want the "-C" option.
14109 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14110 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14111 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14113 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14117 export_symbols_cmds_CXX="$ltdll_cmds"
14120 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14123 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14126 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14128 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14129 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14130 test "$ld_shlibs_CXX" = no && can_build_shared=no
14132 with_gnu_ld_CXX=$with_gnu_ld
14140 # Do we need to explicitly link libc?
14142 case "x$archive_cmds_need_lc_CXX" in
14144 # Assume -lc should be added
14145 archive_cmds_need_lc_CXX=yes
14147 if test "$enable_shared" = yes && test "$GCC" = yes; then
14148 case $archive_cmds_CXX in
14150 # FIXME: we may have to deal with multi-command sequences.
14153 # Test whether the compiler implicitly links with -lc since on some
14154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14155 # to ld, don't add -lc before -lgcc.
14156 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14157 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14162 (eval $ac_compile) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } 2>conftest.err; then
14168 libobjs=conftest.$ac_objext
14170 wl=$lt_prog_compiler_wl_CXX
14171 pic_flag=$lt_prog_compiler_pic_CXX
14177 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14178 allow_undefined_flag_CXX=
14179 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14180 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }
14185 archive_cmds_need_lc_CXX=no
14187 archive_cmds_need_lc_CXX=yes
14189 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14191 cat conftest.err 1>&5
14194 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14195 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14265 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14266 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14268 library_names_spec=
14269 libname_spec='lib$name'
14273 postuninstall_cmds=
14277 shlibpath_overrides_runpath=unknown
14279 dynamic_linker="$host_os ld.so"
14280 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14281 need_lib_prefix=unknown
14282 hardcode_into_libs=no
14284 # when you set need_version to no, make sure it does not cause -set_version
14285 # flags to be left without arguments
14286 need_version=unknown
14291 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14292 shlibpath_var=LIBPATH
14294 # AIX 3 has no versioning support, so we append a major version to the name.
14295 soname_spec='${libname}${release}${shared_ext}$major'
14302 hardcode_into_libs=yes
14303 if test "$host_cpu" = ia64; then
14304 # AIX 5 supports IA64
14305 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14306 shlibpath_var=LD_LIBRARY_PATH
14308 # With GCC up to 2.95.x, collect2 would create an import file
14309 # for dependence libraries. The import file would start with
14310 # the line `#! .'. This would cause the generated library to
14311 # depend on `.', always an invalid library. This was fixed in
14312 # development snapshots of GCC prior to 3.0.
14314 aix4 | aix4.[01] | aix4.[01].*)
14315 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14317 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14320 can_build_shared=no
14324 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14325 # soname into executable. Probably we can add versioning support to
14326 # collect2, so additional links can be useful in future.
14327 if test "$aix_use_runtimelinking" = yes; then
14328 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14329 # instead of lib<name>.a to let people know that these are not
14330 # typical AIX shared libraries.
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 # We preserve .a as extension for shared libraries through AIX4.2
14334 # and later when we are not doing run time linking.
14335 library_names_spec='${libname}${release}.a $libname.a'
14336 soname_spec='${libname}${release}${shared_ext}$major'
14338 shlibpath_var=LIBPATH
14345 # Since July 2007 AmigaOS4 officially supports .so libraries.
14346 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14350 library_names_spec='$libname.ixlibrary $libname.a'
14351 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14352 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'
14358 library_names_spec='${libname}${shared_ext}'
14359 dynamic_linker="$host_os ld.so"
14360 shlibpath_var=LIBRARY_PATH
14366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14367 soname_spec='${libname}${release}${shared_ext}$major'
14368 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14369 shlibpath_var=LD_LIBRARY_PATH
14370 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14371 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14372 # the default ld.so.conf also contains /usr/contrib/lib and
14373 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14374 # libtool to hard-code these into programs
14377 cygwin* | mingw* | pw32*)
14378 version_type=windows
14383 case $GCC,$host_os in
14384 yes,cygwin* | yes,mingw* | yes,pw32*)
14385 library_names_spec='$libname.dll.a'
14386 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14387 postinstall_cmds='base_file=`basename \${file}`~
14388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14389 dldir=$destdir/`dirname \$dlpath`~
14390 test -d \$dldir || mkdir -p \$dldir~
14391 $install_prog $dir/$dlname \$dldir/$dlname~
14392 chmod a+x \$dldir/$dlname~
14393 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14394 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14396 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14397 dlpath=$dir/\$dldll~
14399 shlibpath_overrides_runpath=yes
14403 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14404 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14405 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14408 # MinGW DLLs use traditional 'lib' prefix
14409 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14410 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14411 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14412 # It is most probably a Windows format PATH printed by
14413 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14414 # path with ; separators, and with drive letters. We can handle the
14415 # drive letters (cygwin fileutils understands them), so leave them,
14416 # especially as we might pass files found there to a mingw objdump,
14417 # which wouldn't understand a cygwinified path. Ahh.
14418 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14420 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14424 # pw32 DLLs use 'pw' prefix rather than 'lib'
14425 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14431 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14434 dynamic_linker='Win32 ld.exe'
14435 # FIXME: first we should search . and the directory the executable is in
14439 darwin* | rhapsody*)
14440 dynamic_linker="$host_os dyld"
14441 version_type=darwin
14444 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14445 soname_spec='${libname}${release}${major}$shared_ext'
14446 shlibpath_overrides_runpath=yes
14447 shlibpath_var=DYLD_LIBRARY_PATH
14448 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14450 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14459 shlibpath_var=LD_LIBRARY_PATH
14466 freebsd* | dragonfly*)
14467 # DragonFly does not have aout. When/if they implement a new
14468 # versioning mechanism, adjust this.
14469 if test -x /usr/bin/objformat; then
14470 objformat=`/usr/bin/objformat`
14473 freebsd[123]*) objformat=aout ;;
14474 *) objformat=elf ;;
14477 version_type=freebsd-$objformat
14478 case $version_type in
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14489 shlibpath_var=LD_LIBRARY_PATH
14492 shlibpath_overrides_runpath=yes
14494 freebsd3.[01]* | freebsdelf3.[01]*)
14495 shlibpath_overrides_runpath=yes
14496 hardcode_into_libs=yes
14498 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14499 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14500 shlibpath_overrides_runpath=no
14501 hardcode_into_libs=yes
14503 *) # from 4.6 on, and DragonFly
14504 shlibpath_overrides_runpath=yes
14505 hardcode_into_libs=yes
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14515 soname_spec='${libname}${release}${shared_ext}$major'
14516 shlibpath_var=LD_LIBRARY_PATH
14517 hardcode_into_libs=yes
14520 hpux9* | hpux10* | hpux11*)
14521 # Give a soname corresponding to the major version so that dld.sl refuses to
14522 # link against other versions.
14529 hardcode_into_libs=yes
14530 dynamic_linker="$host_os dld.so"
14531 shlibpath_var=LD_LIBRARY_PATH
14532 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14534 soname_spec='${libname}${release}${shared_ext}$major'
14535 if test "X$HPUX_IA64_MODE" = X32; then
14536 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14538 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14540 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14544 hardcode_into_libs=yes
14545 dynamic_linker="$host_os dld.sl"
14546 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14547 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 soname_spec='${libname}${release}${shared_ext}$major'
14550 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14551 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14555 dynamic_linker="$host_os dld.sl"
14556 shlibpath_var=SHLIB_PATH
14557 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559 soname_spec='${libname}${release}${shared_ext}$major'
14562 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14563 postinstall_cmds='chmod 555 $lib'
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=no
14575 hardcode_into_libs=yes
14578 irix5* | irix6* | nonstopux*)
14580 nonstopux*) version_type=nonstopux ;;
14582 if test "$lt_cv_prog_gnu_ld" = yes; then
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14593 irix5* | nonstopux*)
14594 libsuff= shlibsuff=
14597 case $LD in # libtool.m4 will add one of these switches to LD
14598 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14599 libsuff= shlibsuff= libmagic=32-bit;;
14600 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14601 libsuff=32 shlibsuff=N32 libmagic=N32;;
14602 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14603 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14604 *) libsuff= shlibsuff= libmagic=never-match;;
14608 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14609 shlibpath_overrides_runpath=no
14610 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14611 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14612 hardcode_into_libs=yes
14615 # No shared lib support for Linux oldld, aout, or coff.
14616 linux*oldld* | linux*aout* | linux*coff*)
14620 # This must be Linux ELF.
14621 linux* | k*bsd*-gnu)
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 shlibpath_overrides_runpath=no
14630 # Some binutils ld are patched to set DT_RUNPATH
14631 save_LDFLAGS=$LDFLAGS
14632 save_libdir=$libdir
14633 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14634 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14635 cat >conftest.$ac_ext <<_ACEOF
14638 cat confdefs.h >>conftest.$ac_ext
14639 cat >>conftest.$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14650 rm -f conftest.$ac_objext conftest$ac_exeext
14651 if { (ac_try="$ac_link"
14652 case "(($ac_try" in
14653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_link") 2>conftest.er1
14659 grep -v '^ *+' conftest.er1 >conftest.err
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } && {
14664 test -z "$ac_cxx_werror_flag" ||
14665 test ! -s conftest.err
14666 } && test -s conftest$ac_exeext &&
14667 $as_test_x conftest$ac_exeext; then
14668 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14669 shlibpath_overrides_runpath=yes
14673 echo "$as_me: failed program was:" >&5
14674 sed 's/^/| /' conftest.$ac_ext >&5
14679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LDFLAGS=$save_LDFLAGS
14682 libdir=$save_libdir
14684 # This implies no fast_install, which is unacceptable.
14685 # Some rework will be needed to allow for fast_install
14686 # before this can be enabled.
14687 hardcode_into_libs=yes
14689 # Append ld.so.conf contents to the search path
14690 if test -f /etc/ld.so.conf; then
14691 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' ' '`
14692 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14695 # We used to test for /lib/ld.so.1 and disable shared libraries on
14696 # powerpc, because MkLinux only supported shared libraries with the
14697 # GNU dynamic linker. Since this was broken with cross compilers,
14698 # most powerpc-linux boxes support dynamic linking these days and
14699 # people can always --disable-shared, the test was removed, and we
14700 # assume the GNU/Linux dynamic linker is in use.
14701 dynamic_linker='GNU/Linux ld.so'
14708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14711 dynamic_linker='NetBSD (a.out) ld.so'
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 dynamic_linker='NetBSD ld.elf_so'
14717 shlibpath_var=LD_LIBRARY_PATH
14718 shlibpath_overrides_runpath=yes
14719 hardcode_into_libs=yes
14724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14725 shlibpath_var=LD_LIBRARY_PATH
14726 shlibpath_overrides_runpath=yes
14733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14734 soname_spec='${libname}${release}${shared_ext}$major'
14735 shlibpath_var=LD_LIBRARY_PATH
14736 shlibpath_overrides_runpath=no
14737 hardcode_into_libs=yes
14738 dynamic_linker='ldqnx.so'
14743 sys_lib_dlsearch_path_spec="/usr/lib"
14745 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14747 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14748 *) need_version=no ;;
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14751 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14752 shlibpath_var=LD_LIBRARY_PATH
14753 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14755 openbsd2.[89] | openbsd2.[89].*)
14756 shlibpath_overrides_runpath=no
14759 shlibpath_overrides_runpath=yes
14763 shlibpath_overrides_runpath=yes
14768 libname_spec='$name'
14771 library_names_spec='$libname${shared_ext} $libname.a'
14772 dynamic_linker='OS/2 ld.exe'
14773 shlibpath_var=LIBPATH
14776 osf3* | osf4* | osf5*)
14780 soname_spec='${libname}${release}${shared_ext}$major'
14781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14782 shlibpath_var=LD_LIBRARY_PATH
14783 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14784 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14796 soname_spec='${libname}${release}${shared_ext}$major'
14797 shlibpath_var=LD_LIBRARY_PATH
14798 shlibpath_overrides_runpath=yes
14799 hardcode_into_libs=yes
14800 # ldd complains unless libraries are executable
14801 postinstall_cmds='chmod +x $lib'
14806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14807 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14808 shlibpath_var=LD_LIBRARY_PATH
14809 shlibpath_overrides_runpath=yes
14810 if test "$with_gnu_ld" = yes; then
14818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14819 soname_spec='${libname}${release}${shared_ext}$major'
14820 shlibpath_var=LD_LIBRARY_PATH
14821 case $host_vendor in
14823 shlibpath_overrides_runpath=no
14825 runpath_var=LD_RUN_PATH
14833 shlibpath_overrides_runpath=no
14834 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14840 if test -d /usr/nec ;then
14842 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14843 soname_spec='$libname${shared_ext}.$major'
14844 shlibpath_var=LD_LIBRARY_PATH
14848 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14849 version_type=freebsd-elf
14852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14853 soname_spec='${libname}${release}${shared_ext}$major'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 shlibpath_overrides_runpath=yes
14856 hardcode_into_libs=yes
14857 if test "$with_gnu_ld" = yes; then
14858 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14860 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14863 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14867 sys_lib_dlsearch_path_spec='/usr/lib'
14871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14875 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14876 shlibpath_var=LD_LIBRARY_PATH
14877 shlibpath_overrides_runpath=no
14878 hardcode_into_libs=yes
14883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884 soname_spec='${libname}${release}${shared_ext}$major'
14885 shlibpath_var=LD_LIBRARY_PATH
14892 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14893 echo "${ECHO_T}$dynamic_linker" >&6; }
14894 test "$dynamic_linker" = no && can_build_shared=no
14896 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14897 if test "$GCC" = yes; then
14898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14901 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14902 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14904 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14905 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14943 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14944 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14945 hardcode_action_CXX=
14946 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14947 test -n "$runpath_var_CXX" ||
14948 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14950 # We can hardcode non-existent directories.
14951 if test "$hardcode_direct_CXX" != no &&
14952 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14953 # have to relink, otherwise we might link with an installed library
14954 # when we should be linking with a yet-to-be-installed one
14955 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14956 test "$hardcode_minus_L_CXX" != no; then
14957 # Linking always hardcodes the temporary library directory.
14958 hardcode_action_CXX=relink
14960 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14961 hardcode_action_CXX=immediate
14964 # We cannot hardcode anything, or else we can only hardcode existing
14966 hardcode_action_CXX=unsupported
14968 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14969 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14971 if test "$hardcode_action_CXX" = relink ||
14972 test "$inherit_rpath_CXX" = yes; then
14973 # Fast installation is not supported
14974 enable_fast_install=no
14975 elif test "$shlibpath_overrides_runpath" = yes ||
14976 test "$enable_shared" = no; then
14977 # Fast installation is not necessary
14978 enable_fast_install=needless
14987 fi # test -n "$compiler"
14993 with_gnu_ld=$lt_save_with_gnu_ld
14994 lt_cv_path_LDCXX=$lt_cv_path_LD
14995 lt_cv_path_LD=$lt_save_path_LD
14996 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14997 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14998 fi # test "$_lt_caught_CXX_error" != yes
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018 ac_config_commands="$ac_config_commands libtool"
15023 # Only expand once:
15027 # Checks for libraries.
15029 # Checks for header files.
15030 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15032 if test "${ac_cv_header_stdc+set}" = set; then
15033 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 cat >conftest.$ac_ext <<_ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15041 #include <stdlib.h>
15042 #include <stdarg.h>
15043 #include <string.h>
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15063 grep -v '^ *+' conftest.er1 >conftest.err
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15071 ac_cv_header_stdc=yes
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15076 ac_cv_header_stdc=no
15079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 if test $ac_cv_header_stdc = yes; then
15082 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15083 cat >conftest.$ac_ext <<_ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 #include <string.h>
15092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15093 $EGREP "memchr" >/dev/null 2>&1; then
15096 ac_cv_header_stdc=no
15102 if test $ac_cv_header_stdc = yes; then
15103 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15104 cat >conftest.$ac_ext <<_ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 #include <stdlib.h>
15113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15114 $EGREP "free" >/dev/null 2>&1; then
15117 ac_cv_header_stdc=no
15123 if test $ac_cv_header_stdc = yes; then
15124 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15125 if test "$cross_compiling" = yes; then
15128 cat >conftest.$ac_ext <<_ACEOF
15131 cat confdefs.h >>conftest.$ac_ext
15132 cat >>conftest.$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15135 #include <stdlib.h>
15136 #if ((' ' & 0x0FF) == 0x020)
15137 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15138 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15140 # define ISLOWER(c) \
15141 (('a' <= (c) && (c) <= 'i') \
15142 || ('j' <= (c) && (c) <= 'r') \
15143 || ('s' <= (c) && (c) <= 'z'))
15144 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15147 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15152 for (i = 0; i < 256; i++)
15153 if (XOR (islower (i), ISLOWER (i))
15154 || toupper (i) != TOUPPER (i))
15159 rm -f conftest$ac_exeext
15160 if { (ac_try="$ac_link"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_link") 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15170 { (case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_try") 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15181 echo "$as_me: program exited with status $ac_status" >&5
15182 echo "$as_me: failed program was:" >&5
15183 sed 's/^/| /' conftest.$ac_ext >&5
15185 ( exit $ac_status )
15186 ac_cv_header_stdc=no
15188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15194 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15195 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
15196 if test $ac_cv_header_stdc = yes; then
15198 cat >>confdefs.h <<\_ACEOF
15199 #define STDC_HEADERS 1
15208 for ac_header in malloc.h string.h sys/time.h unistd.h
15210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 ac_res=`eval echo '${'$as_ac_Header'}'`
15218 { echo "$as_me:$LINENO: result: $ac_res" >&5
15219 echo "${ECHO_T}$ac_res" >&6; }
15221 # Is the header compilable?
15222 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15224 cat >conftest.$ac_ext <<_ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 $ac_includes_default
15231 #include <$ac_header>
15233 rm -f conftest.$ac_objext
15234 if { (ac_try="$ac_compile"
15235 case "(($ac_try" in
15236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15237 *) ac_try_echo=$ac_try;;
15239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15240 (eval "$ac_compile") 2>conftest.er1
15242 grep -v '^ *+' conftest.er1 >conftest.err
15244 cat conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } && {
15247 test -z "$ac_c_werror_flag" ||
15248 test ! -s conftest.err
15249 } && test -s conftest.$ac_objext; then
15250 ac_header_compiler=yes
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.$ac_ext >&5
15255 ac_header_compiler=no
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15260 echo "${ECHO_T}$ac_header_compiler" >&6; }
15262 # Is the header present?
15263 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15265 cat >conftest.$ac_ext <<_ACEOF
15268 cat confdefs.h >>conftest.$ac_ext
15269 cat >>conftest.$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 #include <$ac_header>
15273 if { (ac_try="$ac_cpp conftest.$ac_ext"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15281 grep -v '^ *+' conftest.er1 >conftest.err
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } >/dev/null && {
15286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15289 ac_header_preproc=yes
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_header_preproc=no
15297 rm -f conftest.err conftest.$ac_ext
15298 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15299 echo "${ECHO_T}$ac_header_preproc" >&6; }
15301 # So? What about this header?
15302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15308 ac_header_preproc=yes
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15326 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15329 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 eval "$as_ac_Header=\$ac_header_preproc"
15333 ac_res=`eval echo '${'$as_ac_Header'}'`
15334 { echo "$as_me:$LINENO: result: $ac_res" >&5
15335 echo "${ECHO_T}$ac_res" >&6; }
15338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15339 cat >>confdefs.h <<_ACEOF
15340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15348 # Checks for typedefs, structures, and compiler characteristics.
15349 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15350 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
15351 if test "${ac_cv_c_const+set}" = set; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 cat >conftest.$ac_ext <<_ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15364 /* FIXME: Include the comments suggested by Paul. */
15365 #ifndef __cplusplus
15366 /* Ultrix mips cc rejects this. */
15367 typedef int charset[2];
15369 /* SunOS 4.1.1 cc rejects this. */
15370 char const *const *pcpcc;
15372 /* NEC SVR4.0.2 mips cc rejects this. */
15373 struct point {int x, y;};
15374 static struct point const zero = {0,0};
15375 /* AIX XL C 1.02.0.0 rejects this.
15376 It does not let you subtract one const X* pointer from another in
15377 an arm of an if-expression whose if-part is not a constant
15379 const char *g = "string";
15380 pcpcc = &g + (g ? g-g : 0);
15381 /* HPUX 7.0 cc rejects these. */
15383 ppc = (char**) pcpcc;
15384 pcpcc = (char const *const *) ppc;
15385 { /* SCO 3.2v4 cc rejects this. */
15387 char const *s = 0 ? (char *) 0 : (char const *) 0;
15392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15393 int x[] = {25, 17};
15394 const int *foo = &x[0];
15397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15398 typedef const int *iptr;
15402 { /* AIX XL C 1.02.0.0 rejects this saying
15403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15404 struct s { int j; const int *ap[3]; };
15405 struct s *b; b->j = 5;
15407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15408 const int foo = 10;
15409 if (!foo) return 0;
15411 return !cs[0] && !zero.x;
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15427 grep -v '^ *+' conftest.er1 >conftest.err
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15445 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15446 echo "${ECHO_T}$ac_cv_c_const" >&6; }
15447 if test $ac_cv_c_const = no; then
15449 cat >>confdefs.h <<\_ACEOF
15455 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15456 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
15457 if test "${ac_cv_header_time+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 cat >conftest.$ac_ext <<_ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 #include <sys/types.h>
15467 #include <sys/time.h>
15473 if ((struct tm *) 0)
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15488 grep -v '^ *+' conftest.er1 >conftest.err
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 ac_cv_header_time=yes
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15501 ac_cv_header_time=no
15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15506 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15507 echo "${ECHO_T}$ac_cv_header_time" >&6; }
15508 if test $ac_cv_header_time = yes; then
15510 cat >>confdefs.h <<\_ACEOF
15511 #define TIME_WITH_SYS_TIME 1
15517 # Checks for library functions.
15519 for ac_header in stdlib.h
15521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15526 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 ac_res=`eval echo '${'$as_ac_Header'}'`
15529 { echo "$as_me:$LINENO: result: $ac_res" >&5
15530 echo "${ECHO_T}$ac_res" >&6; }
15532 # Is the header compilable?
15533 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15535 cat >conftest.$ac_ext <<_ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541 $ac_includes_default
15542 #include <$ac_header>
15544 rm -f conftest.$ac_objext
15545 if { (ac_try="$ac_compile"
15546 case "(($ac_try" in
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_compile") 2>conftest.er1
15553 grep -v '^ *+' conftest.er1 >conftest.err
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } && {
15558 test -z "$ac_c_werror_flag" ||
15559 test ! -s conftest.err
15560 } && test -s conftest.$ac_objext; then
15561 ac_header_compiler=yes
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15566 ac_header_compiler=no
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15570 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15571 echo "${ECHO_T}$ac_header_compiler" >&6; }
15573 # Is the header present?
15574 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15576 cat >conftest.$ac_ext <<_ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 #include <$ac_header>
15584 if { (ac_try="$ac_cpp conftest.$ac_ext"
15585 case "(($ac_try" in
15586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15587 *) ac_try_echo=$ac_try;;
15589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15592 grep -v '^ *+' conftest.er1 >conftest.err
15594 cat conftest.err >&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } >/dev/null && {
15597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15598 test ! -s conftest.err
15600 ac_header_preproc=yes
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_header_preproc=no
15608 rm -f conftest.err conftest.$ac_ext
15609 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15610 echo "${ECHO_T}$ac_header_preproc" >&6; }
15612 # So? What about this header?
15613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15619 ac_header_preproc=yes
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15640 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 eval "$as_ac_Header=\$ac_header_preproc"
15644 ac_res=`eval echo '${'$as_ac_Header'}'`
15645 { echo "$as_me:$LINENO: result: $ac_res" >&5
15646 echo "${ECHO_T}$ac_res" >&6; }
15649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15650 cat >>confdefs.h <<_ACEOF
15651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15658 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
15659 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
15660 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 if test "$cross_compiling" = yes; then
15664 ac_cv_func_malloc_0_nonnull=no
15666 cat >conftest.$ac_ext <<_ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
15673 # include <stdlib.h>
15681 return ! malloc (0);
15686 rm -f conftest$ac_exeext
15687 if { (ac_try="$ac_link"
15688 case "(($ac_try" in
15689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15690 *) ac_try_echo=$ac_try;;
15692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15693 (eval "$ac_link") 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15697 { (case "(($ac_try" in
15698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15699 *) ac_try_echo=$ac_try;;
15701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15702 (eval "$ac_try") 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15706 ac_cv_func_malloc_0_nonnull=yes
15708 echo "$as_me: program exited with status $ac_status" >&5
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15712 ( exit $ac_status )
15713 ac_cv_func_malloc_0_nonnull=no
15715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15720 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
15721 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
15722 if test $ac_cv_func_malloc_0_nonnull = yes; then
15724 cat >>confdefs.h <<\_ACEOF
15725 #define HAVE_MALLOC 1
15729 cat >>confdefs.h <<\_ACEOF
15730 #define HAVE_MALLOC 0
15733 case " $LIBOBJS " in
15734 *" malloc.$ac_objext "* ) ;;
15735 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
15740 cat >>confdefs.h <<\_ACEOF
15741 #define malloc rpl_malloc
15752 for ac_func in gethostname gettimeofday memset uname
15754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15758 echo $ECHO_N "(cached) $ECHO_C" >&6
15760 cat >conftest.$ac_ext <<_ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15768 #define $ac_func innocuous_$ac_func
15770 /* System header to define __stub macros and hopefully few prototypes,
15771 which can conflict with char $ac_func (); below.
15772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15773 <limits.h> exists even on freestanding compilers. */
15776 # include <limits.h>
15778 # include <assert.h>
15783 /* Override any GCC internal prototype to avoid an error.
15784 Use char because int might match the return type of a GCC
15785 builtin and then its argument prototype would still apply. */
15790 /* The GNU C library defines this for functions which it implements
15791 to always fail with ENOSYS. Some functions are actually named
15792 something starting with __ and the normal name is an alias. */
15793 #if defined __stub_$ac_func || defined __stub___$ac_func
15800 return $ac_func ();
15805 rm -f conftest.$ac_objext conftest$ac_exeext
15806 if { (ac_try="$ac_link"
15807 case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_link") 2>conftest.er1
15814 grep -v '^ *+' conftest.er1 >conftest.err
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } && {
15819 test -z "$ac_c_werror_flag" ||
15820 test ! -s conftest.err
15821 } && test -s conftest$ac_exeext &&
15822 $as_test_x conftest$ac_exeext; then
15823 eval "$as_ac_var=yes"
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15828 eval "$as_ac_var=no"
15831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15832 conftest$ac_exeext conftest.$ac_ext
15834 ac_res=`eval echo '${'$as_ac_var'}'`
15835 { echo "$as_me:$LINENO: result: $ac_res" >&5
15836 echo "${ECHO_T}$ac_res" >&6; }
15837 if test `eval echo '${'$as_ac_var'}'` = yes; then
15838 cat >>confdefs.h <<_ACEOF
15839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15846 #AM_CONDITIONAL([ISPROTECTOR_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xprotector"])
15848 ac_config_files="$ac_config_files Makefile src/Makefile mm-ta.pc"
15850 cat >confcache <<\_ACEOF
15851 # This file is a shell script that caches the results of configure
15852 # tests run on this system so they can be shared between configure
15853 # scripts and configure runs, see configure's option --config-cache.
15854 # It is not useful on other systems. If it contains results you don't
15855 # want to keep, you may remove or edit it.
15857 # config.status only pays attention to the cache file if you give it
15858 # the --recheck option to rerun configure.
15860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15862 # following values.
15866 # The following way of writing the cache mishandles newlines in values,
15867 # but we know of no workaround that is simple, portable, and efficient.
15868 # So, we kill variables containing newlines.
15869 # Ultrix sh set writes to stderr and can't be redirected directly,
15870 # and sets the high bit in the cache file unless we assign to the vars.
15872 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15873 eval ac_val=\$$ac_var
15877 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15878 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15881 _ | IFS | as_nl) ;; #(
15882 *) $as_unset $ac_var ;;
15888 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15889 *${as_nl}ac_space=\ *)
15890 # `set' does not quote correctly, so add quotes (double-quote
15891 # substitution turns \\\\ into \\, and sed turns \\ into \).
15894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15897 # `set' quotes correctly as required by POSIX, so do not add quotes.
15898 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15907 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15909 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15911 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15912 if test -w "$cache_file"; then
15913 test "x$cache_file" != "x/dev/null" &&
15914 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15915 echo "$as_me: updating cache $cache_file" >&6;}
15916 cat confcache >$cache_file
15918 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15919 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15924 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15925 # Let make expand exec_prefix.
15926 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15928 DEFS=-DHAVE_CONFIG_H
15932 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15933 # 1. Remove the extension, and $U if already installed.
15934 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15935 ac_i=`echo "$ac_i" | sed "$ac_script"`
15936 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15937 # will be set to the directory where LIBOBJS objects are built.
15938 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15939 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15941 LIBOBJS=$ac_libobjs
15943 LTLIBOBJS=$ac_ltlibobjs
15946 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15947 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15948 Usually this means the macro was only invoked conditionally." >&5
15949 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15950 Usually this means the macro was only invoked conditionally." >&2;}
15951 { (exit 1); exit 1; }; }
15953 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15954 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15955 Usually this means the macro was only invoked conditionally." >&5
15956 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15957 Usually this means the macro was only invoked conditionally." >&2;}
15958 { (exit 1); exit 1; }; }
15960 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15961 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15962 Usually this means the macro was only invoked conditionally." >&5
15963 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15964 Usually this means the macro was only invoked conditionally." >&2;}
15965 { (exit 1); exit 1; }; }
15967 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15968 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15969 Usually this means the macro was only invoked conditionally." >&5
15970 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15971 Usually this means the macro was only invoked conditionally." >&2;}
15972 { (exit 1); exit 1; }; }
15975 : ${CONFIG_STATUS=./config.status}
15976 ac_clean_files_save=$ac_clean_files
15977 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15978 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15979 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15980 cat >$CONFIG_STATUS <<_ACEOF
15982 # Generated by $as_me.
15983 # Run this file to recreate the current configuration.
15984 # Compiler output produced by configure, useful for debugging
15985 # configure, is in config.log if it exists.
15988 ac_cs_recheck=false
15990 SHELL=\${CONFIG_SHELL-$SHELL}
15993 cat >>$CONFIG_STATUS <<\_ACEOF
15994 ## --------------------- ##
15995 ## M4sh Initialization. ##
15996 ## --------------------- ##
15998 # Be more Bourne compatible
15999 DUALCASE=1; export DUALCASE # for MKS sh
16000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16004 # is contrary to our usage. Disable this feature.
16005 alias -g '${1+"$@"}'='"$@"'
16006 setopt NO_GLOB_SUBST
16008 case `(set -o) 2>/dev/null` in
16009 *posix*) set -o posix ;;
16018 # Avoid depending upon Character Ranges.
16019 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16020 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16021 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16022 as_cr_digits='0123456789'
16023 as_cr_alnum=$as_cr_Letters$as_cr_digits
16025 # The user is always right.
16026 if test "${PATH_SEPARATOR+set}" != set; then
16027 echo "#! /bin/sh" >conf$$.sh
16028 echo "exit 0" >>conf$$.sh
16030 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16038 # Support unset when possible.
16039 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16047 # We need space, tab and new line, in precisely that order. Quoting is
16048 # there to prevent editors from complaining about space-tab.
16049 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16050 # splitting by setting IFS to empty value.)
16055 # Find who we are. Look in the path if we contain no directory separator.
16057 *[\\/]* ) as_myself=$0 ;;
16058 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16059 for as_dir in $PATH
16062 test -z "$as_dir" && as_dir=.
16063 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16069 # We did not find ourselves, most probably we were run as `sh COMMAND'
16070 # in which case we are not to be found in the path.
16071 if test "x$as_myself" = x; then
16074 if test ! -f "$as_myself"; then
16075 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16076 { (exit 1); exit 1; }
16079 # Work around bugs in pre-3.0 UWIN ksh.
16080 for as_var in ENV MAIL MAILPATH
16081 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16089 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16090 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16091 LC_TELEPHONE LC_TIME
16093 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16094 eval $as_var=C; export $as_var
16096 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16100 # Required to use basename.
16101 if expr a : '\(a\)' >/dev/null 2>&1 &&
16102 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16108 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16109 as_basename=basename
16115 # Name of the executable.
16116 as_me=`$as_basename -- "$0" ||
16117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16118 X"$0" : 'X\(//\)$' \| \
16119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16121 sed '/^.*\/\([^/][^/]*\)\/*$/{
16140 as_lineno_1=$LINENO
16141 as_lineno_2=$LINENO
16142 test "x$as_lineno_1" != "x$as_lineno_2" &&
16143 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16146 # uniformly replaced by the line number. The first 'sed' inserts a
16147 # line-number line after each line using $LINENO; the second 'sed'
16148 # does the real work. The second script uses 'N' to pair each
16149 # line-number line with the line containing $LINENO, and appends
16150 # trailing '-' during substitution so that $LINENO is not a special
16151 # case at line end.
16152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16153 # scripts with optimization help from Paolo Bonzini. Blame Lee
16154 # E. McMahon (1931-1989) for sed's syntax. :-)
16166 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16169 ' >$as_me.lineno &&
16170 chmod +x "$as_me.lineno" ||
16171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16172 { (exit 1); exit 1; }; }
16174 # Don't try to exec as it changes $[0], causing all sort of problems
16175 # (the dirname of $[0] is not the place where we might find the
16176 # original and so on. Autoconf is especially sensitive to this).
16177 . "./$as_me.lineno"
16178 # Exit status is that of the last command.
16183 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16189 ECHO_C= ECHO_N= ECHO_T=
16190 case `echo -n x` in
16192 case `echo 'x\c'` in
16193 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16200 if expr a : '\(a\)' >/dev/null 2>&1 &&
16201 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16207 rm -f conf$$ conf$$.exe conf$$.file
16208 if test -d conf$$.dir; then
16209 rm -f conf$$.dir/conf$$.file
16215 if ln -s conf$$.file conf$$ 2>/dev/null; then
16217 # ... but there are two gotchas:
16218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16220 # In both cases, we have to default to `cp -p'.
16221 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16223 elif ln conf$$.file conf$$ 2>/dev/null; then
16228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16229 rmdir conf$$.dir 2>/dev/null
16231 if mkdir -p . 2>/dev/null; then
16234 test -d ./-p && rmdir ./-p
16238 if test -x / >/dev/null 2>&1; then
16239 as_test_x='test -x'
16241 if ls -dL / >/dev/null 2>&1; then
16248 if test -d "$1"; then
16254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16255 ???[sx]*):;;*)false;;esac;fi
16259 as_executable_p=$as_test_x
16261 # Sed expression to map a string onto a valid CPP name.
16262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16264 # Sed expression to map a string onto a valid variable name.
16265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16270 # Save the log message, to keep $[0] and so on meaningful, and to
16271 # report actual input values of CONFIG_FILES etc. instead of their
16272 # values after options handling.
16274 This file was extended by libmm-ta $as_me 0.1, which was
16275 generated by GNU Autoconf 2.61. Invocation command line was
16277 CONFIG_FILES = $CONFIG_FILES
16278 CONFIG_HEADERS = $CONFIG_HEADERS
16279 CONFIG_LINKS = $CONFIG_LINKS
16280 CONFIG_COMMANDS = $CONFIG_COMMANDS
16283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16288 cat >>$CONFIG_STATUS <<_ACEOF
16289 # Files that config.status was made for.
16290 config_files="$ac_config_files"
16291 config_headers="$ac_config_headers"
16292 config_commands="$ac_config_commands"
16296 cat >>$CONFIG_STATUS <<\_ACEOF
16298 \`$as_me' instantiates files from templates according to the
16299 current configuration.
16301 Usage: $0 [OPTIONS] [FILE]...
16303 -h, --help print this help, then exit
16304 -V, --version print version number and configuration settings, then exit
16305 -q, --quiet do not print progress messages
16306 -d, --debug don't remove temporary files
16307 --recheck update $as_me by reconfiguring in the same conditions
16308 --file=FILE[:TEMPLATE]
16309 instantiate the configuration file FILE
16310 --header=FILE[:TEMPLATE]
16311 instantiate the configuration header FILE
16313 Configuration files:
16316 Configuration headers:
16319 Configuration commands:
16322 Report bugs to <bug-autoconf@gnu.org>."
16325 cat >>$CONFIG_STATUS <<_ACEOF
16327 libmm-ta config.status 0.1
16328 configured by $0, generated by GNU Autoconf 2.61,
16329 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16331 Copyright (C) 2006 Free Software Foundation, Inc.
16332 This config.status script is free software; the Free Software Foundation
16333 gives unlimited permission to copy, distribute and modify it."
16341 cat >>$CONFIG_STATUS <<\_ACEOF
16342 # If no file are specified by the user, then we need to provide default
16343 # value. By we need to know if files were specified by the user.
16349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16350 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16361 # Handling of the options.
16362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16365 echo "$ac_cs_version"; exit ;;
16366 --debug | --debu | --deb | --de | --d | -d )
16368 --file | --fil | --fi | --f )
16370 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16371 ac_need_defaults=false;;
16372 --header | --heade | --head | --hea )
16374 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16375 ac_need_defaults=false;;
16377 # Conflict between --help and --header
16378 { echo "$as_me: error: ambiguous option: $1
16379 Try \`$0 --help' for more information." >&2
16380 { (exit 1); exit 1; }; };;
16381 --help | --hel | -h )
16382 echo "$ac_cs_usage"; exit ;;
16383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16384 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16387 # This is an error.
16388 -*) { echo "$as_me: error: unrecognized option: $1
16389 Try \`$0 --help' for more information." >&2
16390 { (exit 1); exit 1; }; } ;;
16392 *) ac_config_targets="$ac_config_targets $1"
16393 ac_need_defaults=false ;;
16399 ac_configure_extra_args=
16401 if $ac_cs_silent; then
16403 ac_configure_extra_args="$ac_configure_extra_args --silent"
16407 cat >>$CONFIG_STATUS <<_ACEOF
16408 if \$ac_cs_recheck; then
16409 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16410 CONFIG_SHELL=$SHELL
16411 export CONFIG_SHELL
16412 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16416 cat >>$CONFIG_STATUS <<\_ACEOF
16420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16421 ## Running $as_me. ##
16427 cat >>$CONFIG_STATUS <<_ACEOF
16431 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16434 # The HP-UX ksh and POSIX shell print the target directory to stdout
16435 # if CDPATH is set.
16436 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16438 sed_quote_subst='$sed_quote_subst'
16439 double_quote_subst='$double_quote_subst'
16440 delay_variable_subst='$delay_variable_subst'
16441 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16442 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16443 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16444 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16445 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16446 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16447 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16448 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16449 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16450 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16451 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16452 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16453 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16454 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16455 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16456 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16457 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16458 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16459 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16460 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16461 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16462 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16463 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16464 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16465 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16466 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16467 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16468 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16469 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16470 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16471 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16472 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16473 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16474 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16475 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16476 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16477 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16478 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16479 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16480 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16481 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16482 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16483 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16484 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"`'
16485 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"`'
16486 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16487 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16488 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16489 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16490 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16491 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16492 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16493 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16494 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16495 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16496 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16497 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16498 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16499 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16500 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16501 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16502 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16503 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16504 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16505 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16506 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16507 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16508 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16509 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16510 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16511 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16512 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16513 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16514 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16515 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16516 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16517 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16518 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16519 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16520 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16521 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16522 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16523 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16524 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16525 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16526 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16527 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16528 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16529 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16530 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16531 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16532 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16533 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16534 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16535 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16536 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16537 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16538 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16539 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16540 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16541 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16542 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16543 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16544 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16545 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16546 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16547 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16548 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16549 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16550 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16551 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16552 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16553 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16554 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16555 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16556 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16557 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16558 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16559 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16560 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16561 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16562 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16563 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16564 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16565 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16566 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16567 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16568 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16569 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16570 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16571 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16572 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16573 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16574 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16575 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16576 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16577 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16578 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16579 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16580 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16581 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16582 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16583 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16584 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16585 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16586 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16587 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16588 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16589 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16590 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16591 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16592 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16593 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16594 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16595 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16596 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16597 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16598 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16599 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16600 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16601 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16602 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16603 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16604 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16605 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16606 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16607 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16608 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16609 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16610 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16613 LTCFLAGS='$LTCFLAGS'
16614 compiler='$compiler_DEFAULT'
16616 # Quote evaled strings.
16627 deplibs_check_method \
16636 lt_cv_sys_global_symbol_pipe \
16637 lt_cv_sys_global_symbol_to_cdecl \
16638 lt_cv_sys_global_symbol_to_c_name_address \
16639 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16642 lt_prog_compiler_no_builtin_flag \
16643 lt_prog_compiler_wl \
16644 lt_prog_compiler_pic \
16645 lt_prog_compiler_static \
16646 lt_cv_prog_compiler_c_o \
16654 export_dynamic_flag_spec \
16655 whole_archive_flag_spec \
16656 compiler_needs_object \
16658 allow_undefined_flag \
16659 no_undefined_flag \
16660 hardcode_libdir_flag_spec \
16661 hardcode_libdir_flag_spec_ld \
16662 hardcode_libdir_separator \
16667 variables_saved_for_relink \
16669 library_names_spec \
16674 compiler_lib_search_dirs \
16679 compiler_lib_search_path \
16682 lt_prog_compiler_no_builtin_flag_CXX \
16683 lt_prog_compiler_wl_CXX \
16684 lt_prog_compiler_pic_CXX \
16685 lt_prog_compiler_static_CXX \
16686 lt_cv_prog_compiler_c_o_CXX \
16687 export_dynamic_flag_spec_CXX \
16688 whole_archive_flag_spec_CXX \
16689 compiler_needs_object_CXX \
16691 allow_undefined_flag_CXX \
16692 no_undefined_flag_CXX \
16693 hardcode_libdir_flag_spec_CXX \
16694 hardcode_libdir_flag_spec_ld_CXX \
16695 hardcode_libdir_separator_CXX \
16696 fix_srcfile_path_CXX \
16697 exclude_expsyms_CXX \
16698 include_expsyms_CXX \
16699 file_list_spec_CXX \
16700 compiler_lib_search_dirs_CXX \
16701 predep_objects_CXX \
16702 postdep_objects_CXX \
16705 compiler_lib_search_path_CXX; do
16706 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16707 *[\\\\\\\`\\"\\\$]*)
16708 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16711 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16716 # Double-quote double-evaled strings.
16717 for var in reload_cmds \
16718 old_postinstall_cmds \
16719 old_postuninstall_cmds \
16721 extract_expsyms_cmds \
16722 old_archive_from_new_cmds \
16723 old_archive_from_expsyms_cmds \
16725 archive_expsym_cmds \
16727 module_expsym_cmds \
16728 export_symbols_cmds \
16731 postuninstall_cmds \
16733 sys_lib_search_path_spec \
16734 sys_lib_dlsearch_path_spec \
16735 old_archive_cmds_CXX \
16736 old_archive_from_new_cmds_CXX \
16737 old_archive_from_expsyms_cmds_CXX \
16739 archive_expsym_cmds_CXX \
16741 module_expsym_cmds_CXX \
16742 export_symbols_cmds_CXX \
16743 prelink_cmds_CXX; do
16744 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16745 *[\\\\\\\`\\"\\\$]*)
16746 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16749 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16754 # Fix-up fallback echo if it was mangled by the above quoting rules.
16756 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16760 ac_aux_dir='$ac_aux_dir'
16761 xsi_shell='$xsi_shell'
16762 lt_shell_append='$lt_shell_append'
16764 # See if we are running on zsh, and set the options which allow our
16765 # commands through without removal of \ escapes INIT.
16766 if test -n "\${ZSH_VERSION+set}" ; then
16767 setopt NO_GLOB_SUBST
16773 TIMESTAMP='$TIMESTAMP'
16784 cat >>$CONFIG_STATUS <<\_ACEOF
16786 # Handling of arguments.
16787 for ac_config_target in $ac_config_targets
16789 case $ac_config_target in
16790 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16791 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16792 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16793 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16794 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16795 "mm-ta.pc") CONFIG_FILES="$CONFIG_FILES mm-ta.pc" ;;
16797 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16798 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16799 { (exit 1); exit 1; }; };;
16804 # If the user did not use the arguments to specify the items to instantiate,
16805 # then the envvar interface is used. Set only those that are not.
16806 # We use the long form for the default assignment because of an extremely
16807 # bizarre bug on SunOS 4.1.3.
16808 if $ac_need_defaults; then
16809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16814 # Have a temporary directory for convenience. Make it in the build tree
16815 # simply because there is no reason against having it here, and in addition,
16816 # creating and moving files from /tmp can sometimes cause problems.
16817 # Hook for its removal unless debugging.
16818 # Note that there is a small window in which the directory will not be cleaned:
16819 # after its creation but before its name has been assigned to `$tmp'.
16823 trap 'exit_status=$?
16824 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16826 trap '{ (exit 1); exit 1; }' 1 2 13 15
16828 # Create a (secure) tmp directory for tmp files.
16831 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16832 test -n "$tmp" && test -d "$tmp"
16835 tmp=./conf$$-$RANDOM
16836 (umask 077 && mkdir "$tmp")
16839 echo "$me: cannot create a temporary directory in ." >&2
16840 { (exit 1); exit 1; }
16844 # Set up the sed scripts for CONFIG_FILES section.
16847 # No need to generate the scripts if there are no CONFIG_FILES.
16848 # This happens for instance when ./config.status config.h
16849 if test -n "$CONFIG_FILES"; then
16856 for ac_last_try in false false false false false :; do
16857 cat >conf$$subs.sed <<_ACEOF
16858 SHELL!$SHELL$ac_delim
16859 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16860 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16861 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16862 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16863 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16864 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16865 exec_prefix!$exec_prefix$ac_delim
16866 prefix!$prefix$ac_delim
16867 program_transform_name!$program_transform_name$ac_delim
16868 bindir!$bindir$ac_delim
16869 sbindir!$sbindir$ac_delim
16870 libexecdir!$libexecdir$ac_delim
16871 datarootdir!$datarootdir$ac_delim
16872 datadir!$datadir$ac_delim
16873 sysconfdir!$sysconfdir$ac_delim
16874 sharedstatedir!$sharedstatedir$ac_delim
16875 localstatedir!$localstatedir$ac_delim
16876 includedir!$includedir$ac_delim
16877 oldincludedir!$oldincludedir$ac_delim
16878 docdir!$docdir$ac_delim
16879 infodir!$infodir$ac_delim
16880 htmldir!$htmldir$ac_delim
16881 dvidir!$dvidir$ac_delim
16882 pdfdir!$pdfdir$ac_delim
16883 psdir!$psdir$ac_delim
16884 libdir!$libdir$ac_delim
16885 localedir!$localedir$ac_delim
16886 mandir!$mandir$ac_delim
16887 DEFS!$DEFS$ac_delim
16888 ECHO_C!$ECHO_C$ac_delim
16889 ECHO_N!$ECHO_N$ac_delim
16890 ECHO_T!$ECHO_T$ac_delim
16891 LIBS!$LIBS$ac_delim
16892 build_alias!$build_alias$ac_delim
16893 host_alias!$host_alias$ac_delim
16894 target_alias!$target_alias$ac_delim
16895 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16896 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16897 INSTALL_DATA!$INSTALL_DATA$ac_delim
16898 am__isrc!$am__isrc$ac_delim
16899 CYGPATH_W!$CYGPATH_W$ac_delim
16900 PACKAGE!$PACKAGE$ac_delim
16901 VERSION!$VERSION$ac_delim
16902 ACLOCAL!$ACLOCAL$ac_delim
16903 AUTOCONF!$AUTOCONF$ac_delim
16904 AUTOMAKE!$AUTOMAKE$ac_delim
16905 AUTOHEADER!$AUTOHEADER$ac_delim
16906 MAKEINFO!$MAKEINFO$ac_delim
16907 install_sh!$install_sh$ac_delim
16908 STRIP!$STRIP$ac_delim
16909 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
16910 mkdir_p!$mkdir_p$ac_delim
16912 SET_MAKE!$SET_MAKE$ac_delim
16913 am__leading_dot!$am__leading_dot$ac_delim
16914 AMTAR!$AMTAR$ac_delim
16915 am__tar!$am__tar$ac_delim
16916 am__untar!$am__untar$ac_delim
16918 CXXFLAGS!$CXXFLAGS$ac_delim
16919 LDFLAGS!$LDFLAGS$ac_delim
16920 CPPFLAGS!$CPPFLAGS$ac_delim
16921 ac_ct_CXX!$ac_ct_CXX$ac_delim
16922 EXEEXT!$EXEEXT$ac_delim
16923 OBJEXT!$OBJEXT$ac_delim
16924 DEPDIR!$DEPDIR$ac_delim
16925 am__include!$am__include$ac_delim
16926 am__quote!$am__quote$ac_delim
16927 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
16928 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
16929 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
16930 CXXDEPMODE!$CXXDEPMODE$ac_delim
16931 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
16932 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
16934 CFLAGS!$CFLAGS$ac_delim
16935 ac_ct_CC!$ac_ct_CC$ac_delim
16936 CCDEPMODE!$CCDEPMODE$ac_delim
16937 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
16938 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
16940 LN_S!$LN_S$ac_delim
16941 LIBTOOL!$LIBTOOL$ac_delim
16942 build!$build$ac_delim
16943 build_cpu!$build_cpu$ac_delim
16944 build_vendor!$build_vendor$ac_delim
16945 build_os!$build_os$ac_delim
16946 host!$host$ac_delim
16947 host_cpu!$host_cpu$ac_delim
16948 host_vendor!$host_vendor$ac_delim
16949 host_os!$host_os$ac_delim
16951 GREP!$GREP$ac_delim
16952 EGREP!$EGREP$ac_delim
16953 FGREP!$FGREP$ac_delim
16957 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
16959 elif $ac_last_try; then
16960 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16961 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16962 { (exit 1); exit 1; }; }
16964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16968 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16969 if test -n "$ac_eof"; then
16970 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16971 ac_eof=`expr $ac_eof + 1`
16974 cat >>$CONFIG_STATUS <<_ACEOF
16975 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16979 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16980 s/^/s,@/; s/!/@,|#_!!_#|/
16983 s/'"$ac_delim"'$/,g/; t
16985 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16986 ' >>$CONFIG_STATUS <conf$$subs.sed
16987 rm -f conf$$subs.sed
16988 cat >>$CONFIG_STATUS <<_ACEOF
16994 for ac_last_try in false false false false false :; do
16995 cat >conf$$subs.sed <<_ACEOF
16996 DUMPBIN!$DUMPBIN$ac_delim
16997 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
17000 RANLIB!$RANLIB$ac_delim
17001 lt_ECHO!$lt_ECHO$ac_delim
17002 DSYMUTIL!$DSYMUTIL$ac_delim
17003 NMEDIT!$NMEDIT$ac_delim
17004 LIPO!$LIPO$ac_delim
17005 OTOOL!$OTOOL$ac_delim
17006 OTOOL64!$OTOOL64$ac_delim
17007 CXXCPP!$CXXCPP$ac_delim
17008 LIBOBJS!$LIBOBJS$ac_delim
17009 LTLIBOBJS!$LTLIBOBJS$ac_delim
17012 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
17014 elif $ac_last_try; then
17015 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17016 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17017 { (exit 1); exit 1; }; }
17019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17023 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17024 if test -n "$ac_eof"; then
17025 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17026 ac_eof=`expr $ac_eof + 1`
17029 cat >>$CONFIG_STATUS <<_ACEOF
17030 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
17031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
17034 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17035 s/^/s,@/; s/!/@,|#_!!_#|/
17038 s/'"$ac_delim"'$/,g/; t
17040 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17041 ' >>$CONFIG_STATUS <conf$$subs.sed
17042 rm -f conf$$subs.sed
17043 cat >>$CONFIG_STATUS <<_ACEOF
17050 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17051 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17052 # trailing colons and then remove the whole line if VPATH becomes empty
17053 # (actually we leave an empty line to preserve line numbers).
17054 if test "x$srcdir" = x.; then
17055 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17056 s/:*\$(srcdir):*/:/
17057 s/:*\${srcdir}:*/:/
17059 s/^\([^=]*=[ ]*\):*/\1/
17065 cat >>$CONFIG_STATUS <<\_ACEOF
17066 fi # test -n "$CONFIG_FILES"
17069 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
17072 :[FHLC]) ac_mode=$ac_tag; continue;;
17074 case $ac_mode$ac_tag in
17076 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
17077 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
17078 { (exit 1); exit 1; }; };;
17079 :[FH]-) ac_tag=-:-;;
17080 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17097 -) ac_f="$tmp/stdin";;
17098 *) # Look for the file first in the build tree, then in the source tree
17099 # (if the path is not absolute). The absolute path cannot be DOS-style,
17100 # because $ac_f cannot contain `:'.
17104 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17106 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17107 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17108 { (exit 1); exit 1; }; };;
17110 ac_file_inputs="$ac_file_inputs $ac_f"
17113 # Let's still pretend it is `configure' which instantiates (i.e., don't
17114 # use $as_me), people would be surprised to read:
17115 # /* config.h. Generated by config.status. */
17116 configure_input="Generated from "`IFS=:
17117 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
17118 if test x"$ac_file" != x-; then
17119 configure_input="$ac_file. $configure_input"
17120 { echo "$as_me:$LINENO: creating $ac_file" >&5
17121 echo "$as_me: creating $ac_file" >&6;}
17125 *:-:* | *:-) cat >"$tmp/stdin";;
17130 ac_dir=`$as_dirname -- "$ac_file" ||
17131 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17132 X"$ac_file" : 'X\(//\)[^/]' \| \
17133 X"$ac_file" : 'X\(//\)$' \| \
17134 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17140 /^X\(\/\/\)[^/].*/{
17155 -*) as_dir=./$as_dir;;
17157 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17161 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17162 *) as_qdir=$as_dir;;
17164 as_dirs="'$as_qdir' $as_dirs"
17165 as_dir=`$as_dirname -- "$as_dir" ||
17166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17167 X"$as_dir" : 'X\(//\)[^/]' \| \
17168 X"$as_dir" : 'X\(//\)$' \| \
17169 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17175 /^X\(\/\/\)[^/].*/{
17188 test -d "$as_dir" && break
17190 test -z "$as_dirs" || eval "mkdir $as_dirs"
17191 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17192 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17193 { (exit 1); exit 1; }; }; }
17197 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17199 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17200 # A ".." for each directory in $ac_dir_suffix.
17201 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
17202 case $ac_top_builddir_sub in
17203 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17204 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17207 ac_abs_top_builddir=$ac_pwd
17208 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17209 # for backward compatibility:
17210 ac_top_builddir=$ac_top_build_prefix
17213 .) # We are building in place.
17215 ac_top_srcdir=$ac_top_builddir_sub
17216 ac_abs_top_srcdir=$ac_pwd ;;
17217 [\\/]* | ?:[\\/]* ) # Absolute name.
17218 ac_srcdir=$srcdir$ac_dir_suffix;
17219 ac_top_srcdir=$srcdir
17220 ac_abs_top_srcdir=$srcdir ;;
17221 *) # Relative name.
17222 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17223 ac_top_srcdir=$ac_top_build_prefix$srcdir
17224 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17226 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17236 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17237 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17239 ac_MKDIR_P=$MKDIR_P
17241 [\\/$]* | ?:[\\/]* ) ;;
17242 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17246 cat >>$CONFIG_STATUS <<\_ACEOF
17247 # If the template does not know about datarootdir, expand it.
17248 # FIXME: This hack should be removed a few years after 2.60.
17249 ac_datarootdir_hack=; ac_datarootdir_seen=
17251 case `sed -n '/datarootdir/ {
17260 ' $ac_file_inputs` in
17261 *datarootdir*) ac_datarootdir_seen=yes;;
17262 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17263 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17264 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17266 cat >>$CONFIG_STATUS <<_ACEOF
17267 ac_datarootdir_hack='
17268 s&@datadir@&$datadir&g
17269 s&@docdir@&$docdir&g
17270 s&@infodir@&$infodir&g
17271 s&@localedir@&$localedir&g
17272 s&@mandir@&$mandir&g
17273 s&\\\${datarootdir}&$datarootdir&g' ;;
17277 # Neutralize VPATH when `$srcdir' = `.'.
17278 # Shell code in configure.ac might set extrasub.
17279 # FIXME: do we really want to maintain this feature?
17280 cat >>$CONFIG_STATUS <<_ACEOF
17284 cat >>$CONFIG_STATUS <<\_ACEOF
17286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17287 s&@configure_input@&$configure_input&;t t
17288 s&@top_builddir@&$ac_top_builddir_sub&;t t
17289 s&@srcdir@&$ac_srcdir&;t t
17290 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17291 s&@top_srcdir@&$ac_top_srcdir&;t t
17292 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17293 s&@builddir@&$ac_builddir&;t t
17294 s&@abs_builddir@&$ac_abs_builddir&;t t
17295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17296 s&@INSTALL@&$ac_INSTALL&;t t
17297 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17298 $ac_datarootdir_hack
17299 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
17301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17304 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17305 which seems to be undefined. Please make sure it is defined." >&5
17306 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17307 which seems to be undefined. Please make sure it is defined." >&2;}
17311 -) cat "$tmp/out"; rm -f "$tmp/out";;
17312 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
17321 # Transform confdefs.h into a sed script `conftest.defines', that
17322 # substitutes the proper values into config.h.in to produce config.h.
17323 rm -f conftest.defines conftest.tail
17324 # First, append a space to every undef/define line, to ease matching.
17325 echo 's/$/ /' >conftest.defines
17326 # Then, protect against being on the right side of a sed subst, or in
17327 # an unquoted here document, in config.status. If some macros were
17328 # called several times there might be several #defines for the same
17329 # symbol, which is useless. But do not sort them, since the last
17330 # AC_DEFINE must be honored.
17331 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17332 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
17333 # NAME is the cpp macro being defined, VALUE is the value it is being given.
17334 # PARAMS is the parameter list in the macro definition--in most cases, it's
17335 # just an empty string.
17336 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
17337 ac_dB='\\)[ (].*,\\1define\\2'
17345 s/^[ ]*#[ ]*define[ ][ ]*//
17350 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
17351 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
17352 ' >>conftest.defines
17354 # Remove the space that was appended to ease matching.
17355 # Then replace #undef with comments. This is necessary, for
17356 # example, in the case of _POSIX_SOURCE, which is predefined and required
17357 # on some systems where configure will not decide to define it.
17358 # (The regexp can be short, since the line contains either #define or #undef.)
17360 s,^[ #]*u.*,/* & */,' >>conftest.defines
17362 # Break up conftest.defines:
17363 ac_max_sed_lines=50
17365 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
17366 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
17367 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
17369 ac_in='$ac_file_inputs'
17370 ac_out='"$tmp/out1"'
17371 ac_nxt='"$tmp/out2"'
17375 # Write a here document:
17376 cat >>$CONFIG_STATUS <<_ACEOF
17377 # First, check the format of the line:
17378 cat >"\$tmp/defines.sed" <<\\CEOF
17379 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
17380 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
17384 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
17386 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
17387 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
17388 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
17389 grep . conftest.tail >/dev/null || break
17390 rm -f conftest.defines
17391 mv conftest.tail conftest.defines
17393 rm -f conftest.defines conftest.tail
17395 echo "ac_result=$ac_in" >>$CONFIG_STATUS
17396 cat >>$CONFIG_STATUS <<\_ACEOF
17397 if test x"$ac_file" != x-; then
17398 echo "/* $configure_input */" >"$tmp/config.h"
17399 cat "$ac_result" >>"$tmp/config.h"
17400 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
17401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17402 echo "$as_me: $ac_file is unchanged" >&6;}
17405 mv "$tmp/config.h" $ac_file
17408 echo "/* $configure_input */"
17412 # Compute $ac_file's index in $config_headers.
17415 for _am_header in $config_headers :; do
17416 case $_am_header in
17417 $_am_arg | $_am_arg:* )
17420 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17423 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17424 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17425 X"$_am_arg" : 'X\(//\)[^/]' \| \
17426 X"$_am_arg" : 'X\(//\)$' \| \
17427 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17433 /^X\(\/\/\)[^/].*/{
17445 s/.*/./; q'`/stamp-h$_am_stamp_count
17448 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17449 echo "$as_me: executing $ac_file commands" >&6;}
17454 case $ac_file$ac_mode in
17455 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
17456 # are listed without --file. Let's play safe and only enable the eval
17457 # if we detect the quoting.
17458 case $CONFIG_FILES in
17459 *\'*) eval set x "$CONFIG_FILES" ;;
17460 *) set x $CONFIG_FILES ;;
17465 # Strip MF so we end up with the name of the file.
17466 mf=`echo "$mf" | sed -e 's/:.*$//'`
17467 # Check whether this is an Automake generated Makefile or not.
17468 # We used to match only the files named `Makefile.in', but
17469 # some people rename them; so instead we look at the file content.
17470 # Grep'ing the first line is not enough: some people post-process
17471 # each Makefile.in and add a new line on top of each file to say so.
17472 # Grep'ing the whole file is not good either: AIX grep has a line
17473 # limit of 2048, but all sed's we know have understand at least 4000.
17474 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17475 dirpart=`$as_dirname -- "$mf" ||
17476 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17477 X"$mf" : 'X\(//\)[^/]' \| \
17478 X"$mf" : 'X\(//\)$' \| \
17479 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17485 /^X\(\/\/\)[^/].*/{
17501 # Extract the definition of DEPDIR, am__include, and am__quote
17502 # from the Makefile without running `make'.
17503 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17504 test -z "$DEPDIR" && continue
17505 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17506 test -z "am__include" && continue
17507 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17508 # When using ansi2knr, U may be empty or an underscore; expand it
17509 U=`sed -n 's/^U = //p' < "$mf"`
17510 # Find all dependency output files, they are included files with
17511 # $(DEPDIR) in their names. We invoke sed twice because it is the
17512 # simplest approach to changing $(DEPDIR) to its actual value in the
17514 for file in `sed -n "
17515 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17516 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17517 # Make sure the directory exists.
17518 test -f "$dirpart/$file" && continue
17519 fdir=`$as_dirname -- "$file" ||
17520 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17521 X"$file" : 'X\(//\)[^/]' \| \
17522 X"$file" : 'X\(//\)$' \| \
17523 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17529 /^X\(\/\/\)[^/].*/{
17542 { as_dir=$dirpart/$fdir
17544 -*) as_dir=./$as_dir;;
17546 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17550 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17551 *) as_qdir=$as_dir;;
17553 as_dirs="'$as_qdir' $as_dirs"
17554 as_dir=`$as_dirname -- "$as_dir" ||
17555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17556 X"$as_dir" : 'X\(//\)[^/]' \| \
17557 X"$as_dir" : 'X\(//\)$' \| \
17558 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17564 /^X\(\/\/\)[^/].*/{
17577 test -d "$as_dir" && break
17579 test -z "$as_dirs" || eval "mkdir $as_dirs"
17580 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17581 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17582 { (exit 1); exit 1; }; }; }
17583 # echo "creating $dirpart/$file"
17584 echo '# dummy' > "$dirpart/$file"
17590 # See if we are running on zsh, and set the options which allow our
17591 # commands through without removal of \ escapes.
17592 if test -n "${ZSH_VERSION+set}" ; then
17593 setopt NO_GLOB_SUBST
17596 cfgfile="${ofile}T"
17597 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17600 cat <<_LT_EOF >> "$cfgfile"
17603 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17604 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17605 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17606 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17608 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17609 # 2006, 2007, 2008 Free Software Foundation, Inc.
17610 # Written by Gordon Matzigkeit, 1996
17612 # This file is part of GNU Libtool.
17614 # GNU Libtool is free software; you can redistribute it and/or
17615 # modify it under the terms of the GNU General Public License as
17616 # published by the Free Software Foundation; either version 2 of
17617 # the License, or (at your option) any later version.
17619 # As a special exception to the GNU General Public License,
17620 # if you distribute this file as part of a program or library that
17621 # is built using GNU Libtool, you may include this file under the
17622 # same distribution terms that you use for the rest of that program.
17624 # GNU Libtool is distributed in the hope that it will be useful,
17625 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17626 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17627 # GNU General Public License for more details.
17629 # You should have received a copy of the GNU General Public License
17630 # along with GNU Libtool; see the file COPYING. If not, a copy
17631 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17632 # obtained by writing to the Free Software Foundation, Inc.,
17633 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17636 # The names of the tagged configurations supported by this script.
17637 available_tags="CXX "
17639 # ### BEGIN LIBTOOL CONFIG
17641 # Which release of libtool.m4 was used?
17642 macro_version=$macro_version
17643 macro_revision=$macro_revision
17645 # Whether or not to build shared libraries.
17646 build_libtool_libs=$enable_shared
17648 # Whether or not to build static libraries.
17649 build_old_libs=$enable_static
17651 # What type of objects to build.
17654 # Whether or not to optimize for fast installation.
17655 fast_install=$enable_fast_install
17658 host_alias=$host_alias
17662 # The build system.
17663 build_alias=$build_alias
17667 # A sed program that does not truncate output.
17670 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17671 Xsed="\$SED -e 1s/^X//"
17673 # A grep program that handles long lines.
17679 # A literal string matcher.
17682 # A BSD- or MS-compatible name lister.
17685 # Whether we need soft or hard links.
17688 # What is the maximum length of a command?
17689 max_cmd_len=$max_cmd_len
17691 # Object file suffix (normally "o").
17694 # Executable file suffix (normally "").
17697 # whether the shell understands "unset".
17700 # turn spaces into newlines.
17703 # turn newlines into spaces.
17706 # How to create reloadable object files.
17707 reload_flag=$lt_reload_flag
17708 reload_cmds=$lt_reload_cmds
17710 # Method to check whether dependent libraries are shared objects.
17711 deplibs_check_method=$lt_deplibs_check_method
17713 # Command to use when deplibs_check_method == "file_magic".
17714 file_magic_cmd=$lt_file_magic_cmd
17718 AR_FLAGS=$lt_AR_FLAGS
17720 # A symbol stripping program.
17723 # Commands used to install an old-style archive.
17725 old_postinstall_cmds=$lt_old_postinstall_cmds
17726 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17731 # LTCC compiler flags.
17732 LTCFLAGS=$lt_CFLAGS
17734 # Take the output of nm and produce a listing of raw symbols and C names.
17735 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17737 # Transform the output of nm in a proper C declaration.
17738 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17740 # Transform the output of nm in a C name address pair.
17741 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17743 # Transform the output of nm in a C name address pair when lib prefix is needed.
17744 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17746 # The name of the directory that contains temporary libtool files.
17749 # Shell to use when invoking shell scripts.
17752 # An echo program that does not interpret backslashes.
17755 # Used to examine libraries when file_magic_cmd begins with "file".
17756 MAGIC_CMD=$MAGIC_CMD
17758 # Must we lock files when doing compilation?
17759 need_locks=$lt_need_locks
17761 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17762 DSYMUTIL=$lt_DSYMUTIL
17764 # Tool to change global to local symbols on Mac OS X.
17767 # Tool to manipulate fat objects and archives on Mac OS X.
17770 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17773 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17774 OTOOL64=$lt_OTOOL64
17776 # Old archive suffix (normally "a").
17779 # Shared library suffix (normally ".so").
17780 shrext_cmds=$lt_shrext_cmds
17782 # The commands to extract the exported symbol list from a shared archive.
17783 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17785 # Variables whose values should be saved in libtool wrapper scripts and
17786 # restored at link time.
17787 variables_saved_for_relink=$lt_variables_saved_for_relink
17789 # Do we need the "lib" prefix for modules?
17790 need_lib_prefix=$need_lib_prefix
17792 # Do we need a version for libraries?
17793 need_version=$need_version
17795 # Library versioning type.
17796 version_type=$version_type
17798 # Shared library runtime path variable.
17799 runpath_var=$runpath_var
17801 # Shared library path variable.
17802 shlibpath_var=$shlibpath_var
17804 # Is shlibpath searched before the hard-coded library search path?
17805 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17807 # Format of library name prefix.
17808 libname_spec=$lt_libname_spec
17810 # List of archive names. First name is the real one, the rest are links.
17811 # The last name is the one that the linker finds with -lNAME
17812 library_names_spec=$lt_library_names_spec
17814 # The coded name of the library, if different from the real name.
17815 soname_spec=$lt_soname_spec
17817 # Command to use after installation of a shared archive.
17818 postinstall_cmds=$lt_postinstall_cmds
17820 # Command to use after uninstallation of a shared archive.
17821 postuninstall_cmds=$lt_postuninstall_cmds
17823 # Commands used to finish a libtool library installation in a directory.
17824 finish_cmds=$lt_finish_cmds
17826 # As "finish_cmds", except a single script fragment to be evaled but
17828 finish_eval=$lt_finish_eval
17830 # Whether we should hardcode library paths into libraries.
17831 hardcode_into_libs=$hardcode_into_libs
17833 # Compile-time system search path for libraries.
17834 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17836 # Run-time system search path for libraries.
17837 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17839 # Whether dlopen is supported.
17840 dlopen_support=$enable_dlopen
17842 # Whether dlopen of programs is supported.
17843 dlopen_self=$enable_dlopen_self
17845 # Whether dlopen of statically linked programs is supported.
17846 dlopen_self_static=$enable_dlopen_self_static
17848 # Commands to strip libraries.
17849 old_striplib=$lt_old_striplib
17850 striplib=$lt_striplib
17853 # The linker used to build libraries.
17856 # Commands used to build an old-style archive.
17857 old_archive_cmds=$lt_old_archive_cmds
17859 # A language specific compiler.
17862 # Is the compiler the GNU compiler?
17865 # Compiler flag to turn off builtin functions.
17866 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17868 # How to pass a linker flag through the compiler.
17869 wl=$lt_lt_prog_compiler_wl
17871 # Additional compiler flags for building library objects.
17872 pic_flag=$lt_lt_prog_compiler_pic
17874 # Compiler flag to prevent dynamic linking.
17875 link_static_flag=$lt_lt_prog_compiler_static
17877 # Does compiler simultaneously support -c and -o options?
17878 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17880 # Whether or not to add -lc for building shared libraries.
17881 build_libtool_need_lc=$archive_cmds_need_lc
17883 # Whether or not to disallow shared libs when runtime libs are static.
17884 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17886 # Compiler flag to allow reflexive dlopens.
17887 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17889 # Compiler flag to generate shared objects directly from archives.
17890 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17892 # Whether the compiler copes with passing no objects directly.
17893 compiler_needs_object=$lt_compiler_needs_object
17895 # Create an old-style archive from a shared archive.
17896 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17898 # Create a temporary old-style archive to link instead of a shared archive.
17899 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17901 # Commands used to build a shared archive.
17902 archive_cmds=$lt_archive_cmds
17903 archive_expsym_cmds=$lt_archive_expsym_cmds
17905 # Commands used to build a loadable module if different from building
17906 # a shared archive.
17907 module_cmds=$lt_module_cmds
17908 module_expsym_cmds=$lt_module_expsym_cmds
17910 # Whether we are building with GNU ld or not.
17911 with_gnu_ld=$lt_with_gnu_ld
17913 # Flag that allows shared libraries with undefined symbols to be built.
17914 allow_undefined_flag=$lt_allow_undefined_flag
17916 # Flag that enforces no undefined symbols.
17917 no_undefined_flag=$lt_no_undefined_flag
17919 # Flag to hardcode \$libdir into a binary during linking.
17920 # This must work even if \$libdir does not exist
17921 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17923 # If ld is used when linking, flag to hardcode \$libdir into a binary
17924 # during linking. This must work even if \$libdir does not exist.
17925 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17927 # Whether we need a single "-rpath" flag with a separated argument.
17928 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17931 # DIR into the resulting binary.
17932 hardcode_direct=$hardcode_direct
17934 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17935 # DIR into the resulting binary and the resulting library dependency is
17936 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17937 # library is relocated.
17938 hardcode_direct_absolute=$hardcode_direct_absolute
17940 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17941 # into the resulting binary.
17942 hardcode_minus_L=$hardcode_minus_L
17944 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17945 # into the resulting binary.
17946 hardcode_shlibpath_var=$hardcode_shlibpath_var
17948 # Set to "yes" if building a shared library automatically hardcodes DIR
17949 # into the library and all subsequent libraries and executables linked
17951 hardcode_automatic=$hardcode_automatic
17953 # Set to yes if linker adds runtime paths of dependent libraries
17954 # to runtime path list.
17955 inherit_rpath=$inherit_rpath
17957 # Whether libtool must link a program against all its dependency libraries.
17958 link_all_deplibs=$link_all_deplibs
17960 # Fix the shell variable \$srcfile for the compiler.
17961 fix_srcfile_path=$lt_fix_srcfile_path
17963 # Set to "yes" if exported symbols are required.
17964 always_export_symbols=$always_export_symbols
17966 # The commands to list exported symbols.
17967 export_symbols_cmds=$lt_export_symbols_cmds
17969 # Symbols that should not be listed in the preloaded symbols.
17970 exclude_expsyms=$lt_exclude_expsyms
17972 # Symbols that must always be exported.
17973 include_expsyms=$lt_include_expsyms
17975 # Commands necessary for linking programs (against libraries) with templates.
17976 prelink_cmds=$lt_prelink_cmds
17978 # Specify filename containing input files.
17979 file_list_spec=$lt_file_list_spec
17981 # How to hardcode a shared library path into an executable.
17982 hardcode_action=$hardcode_action
17984 # The directories searched by this compiler when creating a shared library.
17985 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17987 # Dependencies to place before and after the objects being linked to
17988 # create a shared library.
17989 predep_objects=$lt_predep_objects
17990 postdep_objects=$lt_postdep_objects
17991 predeps=$lt_predeps
17992 postdeps=$lt_postdeps
17994 # The library search path used internally by the compiler when linking
17995 # a shared library.
17996 compiler_lib_search_path=$lt_compiler_lib_search_path
17998 # ### END LIBTOOL CONFIG
18004 cat <<\_LT_EOF >> "$cfgfile"
18005 # AIX sometimes has problems with the GCC collect2 program. For some
18006 # reason, if we set the COLLECT_NAMES environment variable, the problems
18007 # vanish in a puff of smoke.
18008 if test "X${COLLECT_NAMES+set}" != Xset; then
18010 export COLLECT_NAMES
18017 ltmain="$ac_aux_dir/ltmain.sh"
18020 # We use sed instead of cat because bash on DJGPP gets confused if
18021 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18022 # text mode, it properly converts lines to CR/LF. This bash problem
18023 # is reportedly fixed, but why not run on old versions too?
18024 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18025 || (rm -f "$cfgfile"; exit 1)
18029 cat << \_LT_EOF >> "$cfgfile"
18031 # func_dirname file append nondir_replacement
18032 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18033 # otherwise set result to NONDIR_REPLACEMENT.
18037 */*) func_dirname_result="${1%/*}${2}" ;;
18038 * ) func_dirname_result="${3}" ;;
18042 # func_basename file
18045 func_basename_result="${1##*/}"
18048 # func_dirname_and_basename file append nondir_replacement
18049 # perform func_basename and func_dirname in a single function
18051 # dirname: Compute the dirname of FILE. If nonempty,
18052 # add APPEND to the result, otherwise set result
18053 # to NONDIR_REPLACEMENT.
18054 # value returned in "$func_dirname_result"
18055 # basename: Compute filename of FILE.
18056 # value retuned in "$func_basename_result"
18057 # Implementation must be kept synchronized with func_dirname
18058 # and func_basename. For efficiency, we do not delegate to
18059 # those functions but instead duplicate the functionality here.
18060 func_dirname_and_basename ()
18063 */*) func_dirname_result="${1%/*}${2}" ;;
18064 * ) func_dirname_result="${3}" ;;
18066 func_basename_result="${1##*/}"
18069 # func_stripname prefix suffix name
18070 # strip PREFIX and SUFFIX off of NAME.
18071 # PREFIX and SUFFIX must not contain globbing or regex special
18072 # characters, hashes, percent signs, but SUFFIX may contain a leading
18073 # dot (in which case that matches only a dot).
18076 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18077 # positional parameters, so assign one to ordinary parameter first.
18078 func_stripname_result=${3}
18079 func_stripname_result=${func_stripname_result#"${1}"}
18080 func_stripname_result=${func_stripname_result%"${2}"}
18086 func_opt_split_opt=${1%%=*}
18087 func_opt_split_arg=${1#*=}
18094 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18095 *) func_lo2o_result=${1} ;;
18099 # func_xform libobj-or-source
18102 func_xform_result=${1%.*}.lo
18105 # func_arith arithmetic-term...
18108 func_arith_result=$(( $* ))
18112 # STRING may not start with a hyphen.
18115 func_len_result=${#1}
18120 *) # Bourne compatible functions.
18121 cat << \_LT_EOF >> "$cfgfile"
18123 # func_dirname file append nondir_replacement
18124 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18125 # otherwise set result to NONDIR_REPLACEMENT.
18128 # Extract subdirectory from the argument.
18129 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18130 if test "X$func_dirname_result" = "X${1}"; then
18131 func_dirname_result="${3}"
18133 func_dirname_result="$func_dirname_result${2}"
18137 # func_basename file
18140 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18144 # func_stripname prefix suffix name
18145 # strip PREFIX and SUFFIX off of NAME.
18146 # PREFIX and SUFFIX must not contain globbing or regex special
18147 # characters, hashes, percent signs, but SUFFIX may contain a leading
18148 # dot (in which case that matches only a dot).
18149 # func_strip_suffix prefix name
18153 .*) func_stripname_result=`$ECHO "X${3}" \
18154 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18155 *) func_stripname_result=`$ECHO "X${3}" \
18156 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18161 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18162 my_sed_long_arg='1s/^-[^=]*=//'
18167 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18168 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18174 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18177 # func_xform libobj-or-source
18180 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18183 # func_arith arithmetic-term...
18186 func_arith_result=`expr "$@"`
18190 # STRING may not start with a hyphen.
18193 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18199 case $lt_shell_append in
18201 cat << \_LT_EOF >> "$cfgfile"
18203 # func_append var value
18204 # Append VALUE to the end of shell variable VAR.
18212 cat << \_LT_EOF >> "$cfgfile"
18214 # func_append var value
18215 # Append VALUE to the end of shell variable VAR.
18226 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18227 || (rm -f "$cfgfile"; exit 1)
18229 mv -f "$cfgfile" "$ofile" ||
18230 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18234 cat <<_LT_EOF >> "$ofile"
18236 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18238 # The linker used to build libraries.
18241 # Commands used to build an old-style archive.
18242 old_archive_cmds=$lt_old_archive_cmds_CXX
18244 # A language specific compiler.
18245 CC=$lt_compiler_CXX
18247 # Is the compiler the GNU compiler?
18250 # Compiler flag to turn off builtin functions.
18251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18253 # How to pass a linker flag through the compiler.
18254 wl=$lt_lt_prog_compiler_wl_CXX
18256 # Additional compiler flags for building library objects.
18257 pic_flag=$lt_lt_prog_compiler_pic_CXX
18259 # Compiler flag to prevent dynamic linking.
18260 link_static_flag=$lt_lt_prog_compiler_static_CXX
18262 # Does compiler simultaneously support -c and -o options?
18263 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18265 # Whether or not to add -lc for building shared libraries.
18266 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18268 # Whether or not to disallow shared libs when runtime libs are static.
18269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18271 # Compiler flag to allow reflexive dlopens.
18272 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18274 # Compiler flag to generate shared objects directly from archives.
18275 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18277 # Whether the compiler copes with passing no objects directly.
18278 compiler_needs_object=$lt_compiler_needs_object_CXX
18280 # Create an old-style archive from a shared archive.
18281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18283 # Create a temporary old-style archive to link instead of a shared archive.
18284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18286 # Commands used to build a shared archive.
18287 archive_cmds=$lt_archive_cmds_CXX
18288 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18290 # Commands used to build a loadable module if different from building
18291 # a shared archive.
18292 module_cmds=$lt_module_cmds_CXX
18293 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18295 # Whether we are building with GNU ld or not.
18296 with_gnu_ld=$lt_with_gnu_ld_CXX
18298 # Flag that allows shared libraries with undefined symbols to be built.
18299 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18301 # Flag that enforces no undefined symbols.
18302 no_undefined_flag=$lt_no_undefined_flag_CXX
18304 # Flag to hardcode \$libdir into a binary during linking.
18305 # This must work even if \$libdir does not exist
18306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18308 # If ld is used when linking, flag to hardcode \$libdir into a binary
18309 # during linking. This must work even if \$libdir does not exist.
18310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18312 # Whether we need a single "-rpath" flag with a separated argument.
18313 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18316 # DIR into the resulting binary.
18317 hardcode_direct=$hardcode_direct_CXX
18319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18320 # DIR into the resulting binary and the resulting library dependency is
18321 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18322 # library is relocated.
18323 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18326 # into the resulting binary.
18327 hardcode_minus_L=$hardcode_minus_L_CXX
18329 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18330 # into the resulting binary.
18331 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18333 # Set to "yes" if building a shared library automatically hardcodes DIR
18334 # into the library and all subsequent libraries and executables linked
18336 hardcode_automatic=$hardcode_automatic_CXX
18338 # Set to yes if linker adds runtime paths of dependent libraries
18339 # to runtime path list.
18340 inherit_rpath=$inherit_rpath_CXX
18342 # Whether libtool must link a program against all its dependency libraries.
18343 link_all_deplibs=$link_all_deplibs_CXX
18345 # Fix the shell variable \$srcfile for the compiler.
18346 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18348 # Set to "yes" if exported symbols are required.
18349 always_export_symbols=$always_export_symbols_CXX
18351 # The commands to list exported symbols.
18352 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18354 # Symbols that should not be listed in the preloaded symbols.
18355 exclude_expsyms=$lt_exclude_expsyms_CXX
18357 # Symbols that must always be exported.
18358 include_expsyms=$lt_include_expsyms_CXX
18360 # Commands necessary for linking programs (against libraries) with templates.
18361 prelink_cmds=$lt_prelink_cmds_CXX
18363 # Specify filename containing input files.
18364 file_list_spec=$lt_file_list_spec_CXX
18366 # How to hardcode a shared library path into an executable.
18367 hardcode_action=$hardcode_action_CXX
18369 # The directories searched by this compiler when creating a shared library.
18370 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18372 # Dependencies to place before and after the objects being linked to
18373 # create a shared library.
18374 predep_objects=$lt_predep_objects_CXX
18375 postdep_objects=$lt_postdep_objects_CXX
18376 predeps=$lt_predeps_CXX
18377 postdeps=$lt_postdeps_CXX
18379 # The library search path used internally by the compiler when linking
18380 # a shared library.
18381 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18383 # ### END LIBTOOL TAG CONFIG: CXX
18392 { (exit 0); exit 0; }
18394 chmod +x $CONFIG_STATUS
18395 ac_clean_files=$ac_clean_files_save
18398 # configure is writing to config.log, and then calls config.status.
18399 # config.status does its own redirection, appending to config.log.
18400 # Unfortunately, on DOS this fails, as config.log is still kept open
18401 # by configure, so config.status won't be able to write to it; its
18402 # output is simply discarded. So we exec the FD to /dev/null,
18403 # effectively closing config.log, so it can be properly (re)opened and
18404 # appended to by config.status. When coming back to configure, we
18405 # need to make the FD available again.
18406 if test "$no_create" != yes; then
18408 ac_config_status_args=
18409 test "$silent" = yes &&
18410 ac_config_status_args="$ac_config_status_args --quiet"
18412 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18414 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18415 # would make configure fail if this is the last instruction.
18416 $ac_cs_success || { (exit 1); exit 1; }